Bug 236

Summary: linux-libc-headers do_install task failed.
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Dongxiao Xu <dongxiao.xu>
Component: meta-yoctoAssignee: Dexuan Cui <dexuan.cui>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Low CC: dexuan.cui, kevin.tian, mark.hatle, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 1.0 M1   
Hardware: Netbook   
OS: x86   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Dongxiao Xu 2010-08-26 02:49:45 UTC
While building poky-image-sato-live against the poky master, the following error will be shown. It reports OSError: [Errno 38] of linux-libc-headers do_install task. 

However if manually executes: "bitbake linux-libc-headers -c clean && bitbake linux-libc-headers && bitbake poky-image-sato-live", the linux-libc-headers build is successful and the other builds can go forward. 

I met this issue while compilinig qemux86 and netbook target. 

ERROR: Build of do_install failed
ERROR: Traceback (most recent call last):
  File "/osel/yocto-2/poky/scripts/..//bitbake/lib/bb/build.py", line 300, in exec_task
    exec_func(task, localdata)
  File "/osel/yocto-2/poky/scripts/..//bitbake/lib/bb/build.py", line 171, in exec_func
    exec_func_shell(func, d, runfile, logfile, flags)
  File "/osel/yocto-2/poky/scripts/..//bitbake/lib/bb/build.py", line 254, in exec_func_shell
    os.chmod(runfile, 0775)
OSError: [Errno 38] Function not implemented: '/osel/yocto-2/poky/build-netbook/tmp/work/core2-poky-linux/linux-libc-headers-2.6.34-r0/temp/run.do_install.6935'

NOTE: package linux-libc-headers-2.6.34-r0: task do_install: Failed
ERROR: Task 363 (/osel/yocto-2/poky/meta/packages/linux-libc-headers/linux-libc-headers_2.6.34.bb, do_install) failed with 1
Waiting for 4 active tasks to finish:
1: libxkbfile-native-1_1.0.6-r0 do_configure (pid 4448)
2: libsm-native-1_1.1.1-r0 do_configure (pid 10499)
3: gcc-cross-initial-4.5.0-r6 do_compile (pid 16301)
4: python-native-2.6.5-ml8.3 do_compile (pid 2449)
Waiting for 5 active tasks to finish:
1: libxkbfile-native-1_1.0.6-r0 do_configure (pid 4448)
2: libsm-native-1_1.1.1-r0 do_configure (pid 10499)
3: mkfontscale-native-1.0.7-r0 do_qa_configure (pid 15498)
4: gcc-cross-initial-4.5.0-r6 do_compile (pid 16301)
5: python-native-2.6.5-ml8.3 do_compile (pid 2449)
NOTE: package mkfontscale-native-1.0.7-r0: task do_qa_configure: Started
NOTE: Checking autotools environment for common misconfiguration
NOTE: md5 checksum matched for file://COPYING;md5=8ecbbbc1259a329e96ccc4dd86ad2ca2
Waiting for 4 active tasks to finish:
1: libxkbfile-native-1_1.0.6-r0 do_configure (pid 4448)
2: libsm-native-1_1.1.1-r0 do_configure (pid 10499)
3: gcc-cross-initial-4.5.0-r6 do_compile (pid 16301)
4: python-native-2.6.5-ml8.3 do_compile (pid 2449)
NOTE: package mkfontscale-native-1.0.7-r0: task do_qa_configure: Succeeded
Waiting for 5 active tasks to finish:
1: libxkbfile-native-1_1.0.6-r0 do_configure (pid 4448)
2: elfutils-0.148-r1 do_fetch (pid 16226)
3: libsm-native-1_1.1.1-r0 do_configure (pid 10499)
4: gcc-cross-initial-4.5.0-r6 do_compile (pid 16301)
5: python-native-2.6.5-ml8.3 do_compile (pid 2449)
NOTE: package elfutils-0.148-r1: task do_fetch: Started
Waiting for 6 active tasks to finish:
1: libxkbfile-native-1_1.0.6-r0 do_configure (pid 4448)
2: elfutils-0.148-r1 do_fetch (pid 16226)
3: libsm-native-1_1.1.1-r0 do_configure (pid 10499)
4: gcc-cross-initial-4.5.0-r6 do_compile (pid 16301)
5: python-native-2.6.5-ml8.3 do_compile (pid 2449)
6: libxres-1_1.0.4-r0 do_setscene (pid 16476)
NOTE: package libxres-1_1.0.4-r0: task do_setscene: Started
Waiting for 5 active tasks to finish:
1: libxkbfile-native-1_1.0.6-r0 do_configure (pid 4448)
2: elfutils-0.148-r1 do_fetch (pid 16226)
3: libsm-native-1_1.1.1-r0 do_configure (pid 10499)
4: gcc-cross-initial-4.5.0-r6 do_compile (pid 16301)
5: python-native-2.6.5-ml8.3 do_compile (pid 2449)
NOTE: package libxres-1_1.0.4-r0: task do_setscene: Succeeded
NOTE: elfutils-0.148: https://fedorahosted.org/releases/e/l/elfutils/elfutils-0.148.tar.bz2 has no entry in conf/checksums.ini, not checking URI
Waiting for 4 active tasks to finish:
1: libxkbfile-native-1_1.0.6-r0 do_configure (pid 4448)
2: libsm-native-1_1.1.1-r0 do_configure (pid 10499)
3: gcc-cross-initial-4.5.0-r6 do_compile (pid 16301)
4: python-native-2.6.5-ml8.3 do_compile (pid 2449)
NOTE: package elfutils-0.148-r1: task do_fetch: Succeeded
Waiting for 3 active tasks to finish:
1: libsm-native-1_1.1.1-r0 do_configure (pid 10499)
2: gcc-cross-initial-4.5.0-r6 do_compile (pid 16301)
3: python-native-2.6.5-ml8.3 do_compile (pid 2449)
NOTE: package libxkbfile-native-1_1.0.6-r0: task do_configure: Succeeded
Waiting for 2 active tasks to finish:
1: gcc-cross-initial-4.5.0-r6 do_compile (pid 16301)
2: python-native-2.6.5-ml8.3 do_compile (pid 2449)
NOTE: package libsm-native-1_1.1.1-r0: task do_configure: Succeeded
Waiting for 1 active tasks to finish:
1: gcc-cross-initial-4.5.0-r6 do_compile (pid 16301)
NOTE: package python-native-2.6.5-ml8.3: task do_compile: Succeeded
NOTE: package gcc-cross-initial-4.5.0-r6: task do_compile: Succeeded
ERROR: '/osel/yocto-2/poky/meta/packages/linux-libc-headers/linux-libc-headers_2.6.34.bb' failed
Comment 1 Saul Wold 2010-08-26 08:35:32 UTC
This looks like another case of the pseudo bug, since the call to os.chmod is failing and that is not likely a core problem.
Comment 2 Dexuan Cui 2010-12-08 22:17:00 UTC
(In reply to comment #1)
> This looks like another case of the pseudo bug, since the call to os.chmod is
> failing and that is not likely a core problem.

Just now I talked with Dongxiao: he can't reproduce the issue any longer recently.
I suppose these pseudo related fixes should fix the issue.
So let me mark the bug as WONTFIX.