Ticket #2200 (new defect)
mokomakefile/org.openmoko.asu.stable: No such file or directory: '.../libusbpp.list'
| Reported by: | lindi | Owned by: | openmoko-devel |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | unknown | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | no | PatchReviewResult: | |
| Reproducible: |
Description
Steps to reproduce:
1) wget http://www.rwhitby.net/files/openmoko/Makefile
2) make setup
3) make setup-machine-om-gta02
4) sudo sysctl -w vm.mmap_min_addr=0
5) cat >> build/conf/local.conf <<EOF
PARALLEL_MAKE = "-j6"
BB_NUMBER_THREADS = "6"
GLIBC_GENERATE_LOCALES = "en_US.UTF-8 fi_FI.UTF-8 nl_NL.UTF-8"
EOF
6) script -c 'make image' ../build1.log
Expected results:
6) Stable distro builds from source (Om2008.8, org.openmoko.asu.stable, openmoko-asu-image)
Actual results:
6) Build fails with
NOTE: package libusb-0.1.12-r3: task do_populate_staging: completed
NOTE: package libusb-0.1.12: completed
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.IOError'> Message:[Errno 2] No such file or directory: '/local/lindi/openmoko/mokomakefile/build/tmp/staging/armv4t-angstrom-linux-gnueabi/shlibs/libusbpp.list'
ERROR: Printing the environment of the function
ERROR: 0107: for file in os.listdir(dir):
ERROR: 0108: m = list_re.match(file)
ERROR: 0109: if m:
ERROR: 0110: dep_pkg = m.group(1)
ERROR: 0111: fd = open(os.path.join(dir, file))
ERROR: 0112: lines = fd.readlines()
ERROR: 0113: fd.close()
ERROR: 0114: ver_file = os.path.join(dir, dep_pkg + '.ver')
ERROR: 0115: lib_ver = None
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.IOError'> Message:[Errno 2] No such file or directory: '/local/lindi/openmoko/mokomakefile/build/tmp/staging/armv4t-angstrom-linux-gnueabi/shlibs/libusbpp.list'
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.IOError'> Message:[Errno 2] No such file or directory: '/local/lindi/openmoko/mokomakefile/build/tmp/staging/armv4t-angstrom-linux-gnueabi/shlibs/libusbpp.list'
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:<type 'exceptions.IOError'> Message:[Errno 2] No such file or directory: '/local/lindi/openmoko/mokomakefile/build/tmp/staging/armv4t-angstrom-linux-gnueabi/shlibs/libusbpp.list'
ERROR: Printing the environment of the function
ERROR: Build of /home/lindi/l/openmoko/mokomakefile/openembedded/packages/libusb/libusb_0.1.12.bb do_package failed
Traceback (most recent call last):
File "/home/lindi/l/openmoko/mokomakefile/bitbake/bin/bitbake", line 189, in <module>
main()
File "/home/lindi/l/openmoko/mokomakefile/bitbake/bin/bitbake", line 186, in main
cooker.cook()
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/cooker.py", line 636, in cook
return self.buildTargets(pkgs_to_build)
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/cooker.py", line 547, in buildTargets
failures = rq.execute_runqueue()
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/runqueue.py", line 842, in execute_runqueue
self.execute_runqueue_internal()
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/runqueue.py", line 951, in execute_runqueue_internal
self.cooker.tryBuild(fn)
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/cooker.py", line 133, in tryBuild
return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/cooker.py", line 107, in tryBuildPackage
bb.build.exec_task('do_%s' % task, the_data)
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 278, in exec_task
exec_func(task, localdata)
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 136, in exec_func_python
utils.better_exec(comp, g, tmp, bbfile)
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/utils.py", line 144, in better_exec
exec code in context
File "do_package", line 4, in <module>
File "do_package", line 2, in do_package
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 113, in exec_func
exec_func_python(func, d)
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 136, in exec_func_python
utils.better_exec(comp, g, tmp, bbfile)
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/utils.py", line 144, in better_exec
exec code in context
File "insane_do_package", line 4, in <module>
File "insane_do_package", line 2, in insane_do_package
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 113, in exec_func
exec_func_python(func, d)
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 136, in exec_func_python
utils.better_exec(comp, g, tmp, bbfile)
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/utils.py", line 144, in better_exec
exec code in context
File "package_do_package", line 11, in <module>
File "package_do_package", line 8, in package_do_package
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 113, in exec_func
exec_func_python(func, d)
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 136, in exec_func_python
utils.better_exec(comp, g, tmp, bbfile)
File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/utils.py", line 144, in better_exec
exec code in context
File "package_do_shlibs", line 167, in <module>
File "package_do_shlibs", line 111, in package_do_shlibs
IOError: [Errno 2] No such file or directory: '/local/lindi/openmoko/mokomakefile/build/tmp/staging/armv4t-angstrom-linux-gnueabi/shlibs/libusbpp.list'
...
NOTE: Checking Package: gst-plugin-subparse-dev
NOTE: DONE with PACKAGE QA
NOTE: package gst-plugins-base-0.10.17-r3: task do_package: completed
NOTE: package gst-plugins-base-0.10.17: completed
NOTE: Tasks Summary: Attempted 4269 tasks of which 0 didn't need to be rerun and 1 failed.
ERROR: '/home/lindi/l/openmoko/mokomakefile/openembedded/packages/libusb/libusb_0.1.12.bb' failed
NOTE: build 200901051400: completed
make: * [openmoko-asu-image] Error 1
}}}
Change History
comment:2 Changed 4 years ago by lindi
If I omit
PARALLEL_MAKE = "-j6" BB_NUMBER_THREADS = "6"
I get
-rw-r--r-- 1 lindi kurp 69337088 Jan 7 04:14 ./build/tmp/deploy/glibc/images/om-gta02/openmoko-openmoko-asu-image-glibc-opk--20090106-om-gta02.rootfs.jffs2
Thanks a lot for the tip. However, shouldn't this bug report be kept open until also parallel builds work? I'd like to exploit all four cores of the machine.

PARALLEL_MAKE = "-j6"
BB_NUMBER_THREADS = "6"
Are you able to reproduce with these set to 1?