Bug 3803

Summary: [AUtobuilder] multiple build failures due to errors in kernel-side packaging
Product: [Yocto Project Subprojects] Kernel Reporter: Bogdan Marinescu <bogdan.a.marinescu>
Component: kernel-toolingAssignee: Saul Wold <sgw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: bluelightning, richard.purdie, sgw, yp.kernel.watcher, yp.watcher
Version: unspecified   
Target Milestone: 1.4 M4   
Hardware: Other   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Bogdan Marinescu 2013-01-29 07:43:29 UTC
| 1265:Installing lttng-modules.. ######################################## [ 42%]
| Output from lttng-modules-lic-2.1.0-r0@sugarbay:
| ERROR: could not open directory /srv/home/pokybuild/yocto-autobuilder/yocto-slave/sugarbay/build/build/tmp/work/sugarbay-poky-linux/core-image-lsb-sdk/1.0-r0/rootfs/lib/modules/3.4.26-yocto-standard: No such file or directory
| FATAL: could not search modules: No such file or directory

More details:

http://autobuilder.yoctoproject.org:8010/builders/sys940x-noemgd/builds/119/steps/shell_60/logs/stdio
http://autobuilder.yoctoproject.org:8010/builders/sys940x/builds/120/steps/shell_60/logs/stdio
http://autobuilder.yoctoproject.org:8010/builders/crownbay-noemgd/builds/263/steps/shell_60/logs/stdio
Comment 1 Saul Wold 2013-01-29 20:41:25 UTC
So this is an intermittent failure, I can get it to reproduce sing core-image-minimal with lttng-modules in the EXTRA_CORE_IMAGE_INSTALL_append

It seems to be failing in the smart code under translate_oe_to_smart

It works with sstate, so I can rm my tmp dir and due a rebuild and get the failure fairly quickly (if it happens) sometimes I have to rinse and repeat!
Comment 2 Saul Wold 2013-01-30 21:52:53 UTC
This commit is a temp patch for the current situation

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=27c8af1e3a9092caa19bd813c4dd0747de766dc5

A better fix will be to use MODULES_PACKAGES to say which packages contain modules and need the pkg_postinst and the correct RDEPENDS and FILES_ list.

I am investigating this now.