Bug 924

Summary: build failure - poky-image-lsb-sdk-beagleboard
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Berger <pokylinux>
Component: coreAssignee: Saul Wold <sgw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, meta.mr.watcher, meta.watcher, richard.purdie
Version: 0.9   
Target Milestone: 1.1   
Hardware: Beagleboard   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Robert Berger 2011-03-22 16:22:48 UTC
rootfs image does not build.

Collected errors:
 * resolve_conffiles: Existing conffile
/work/rber/poky-bernard-5.0-build-bb/tmp/work/beagleboard-poky-linux-gnueabi/poky-image-lsb-sdk-1.0-r0/rootfs/etc/sysctl.conf
is different from the conffile in the new package. The new conffile will
be placed at
/work/rber/poky-bernard-5.0-build-bb/tmp/work/beagleboard-poky-linux-gnueabi/poky-image-lsb-sdk-1.0-r0/rootfs/etc/sysctl.conf-opkg.

And yes, indeed those files are different: http://pastebin.com/kXpCS2uC

I think it boils down to the fact, that

meta/recipes-core/base-files/base-files/sysctl.conf
meta/recipes-extended/procps/procps-3.2.8/sysctl.conf

are different and both should end up at the rootfs.
Comment 1 Robert Berger 2011-03-22 16:37:02 UTC
Please note that that's the changes in my local.conf file:

MACHINE ?= "beagleboard"
PACKAGE_CLASSES ?= "package_ipk"

If you build with "package_rpm" you might not see the problem.
Comment 2 Robert Berger 2011-03-23 06:52:56 UTC
Just for completeness after building for something like 12 hours ;)

http://autobuilder.yoctoproject.org:8010/builders/nightly-external-lsb/builds/4/steps/shell_11/logs/stdio/text

which builds on the autobuilder (with rpm packages I guess) does not build with ipkg as well. 

ollected errors:
 * resolve_conffiles: Existing conffile /work/rber/poky-bernard-82af8b9fb6d6d1439943fd15b8a75c0e663e4a45-build-bb/tmp/work/beagleboard-poky-linux-gnueabi/poky-image-lsb-sdk-1.0-r0/rootfs/etc/sysctl.conf is different from the conffile in the new package. The new conffile will be placed at /work/rber/poky-bernard-82af8b9fb6d6d1439943fd15b8a75c0e663e4a45-build-bb/tmp/work/beagleboard-poky-linux-gnueabi/poky-image-lsb-sdk-1.0-r0/rootfs/etc/sysctl.conf-opkg.
+ '[' '!' -z '' ']'
+ export D=/work/rber/poky-bernard-82af8b9fb6d6d1439943fd15b8a75c0e663e4a45-build-bb/tmp/work/beagleboard-poky-linux-gnueabi/poky-image-lsb-sdk-1.0-r0/rootfs
+ D=/work/rber/poky-bernard-82af8b9fb6d6d1439943fd15b8a75c0e663e4a45-build-bb/tmp/work/beagleboard-poky-linux-gnueabi/poky-image-lsb-sdk-1.0-r0/rootfs
+ export OFFLINE_ROOT=/work/rber/poky-bernard-82af8b9fb6d6d1439943fd15b8a75c0e663e4a45-build-bb/tmp/work/beagleboard-poky-linux-gnueabi/poky-image-lsb-sdk-1.0-r0/rootfs
+ echo ''

+ do_exit=1
+ for keyword_die in '"exit 1"' '"Collected errors"' ERR Fail
+ for keyword_die in '"exit 1"' '"Collected errors"' ERR Fail
+ test 1 = 1
+ exit 1
ERROR: Function 'do_rootfs' failed (see /work/rber/poky-bernard-82af8b9fb6d6d1439943fd15b8a75c0e663e4a45-build-bb/tmp/work/beagleboard-poky-linux-gnueabi/poky-image-lsb-sdk-1.0-r0/temp/log.do_rootfs.3221 for further information)
Comment 3 Richard Purdie 2011-03-24 06:06:57 UTC
Resolved in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=f8539239bc473279cc475b07c22e1e96514c6d2f

(The base-files version is horribly outdated, so we remove it)