Bug 3820

Summary: missing dependency on libudev.ro while building with pam enabled and systemd
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Radu Moisan <radu.moisan>
Component: coreAssignee: Bogdan Marinescu <bogdan.a.marinescu>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, sgw
Version: 1.4   
Target Milestone: 1.4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Radu Moisan 2013-01-31 13:38:03 UTC
Build Configuration:
BB_VERSION        = "1.17.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20130131"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              
meta-yocto        
meta-yocto-bsp    = "master:9a26b9c69c47c87ce71a06f76682c187767e7897"

conf/local.conf add:

DISTRO_FEATURES_INITMAN = "systemd"
DISTRO_FEATURES_append = " pam"

The build crashes at rootfs time:

| Note: configuring RPM cross-install scriptlet_wrapper
| 
| Updating cache...               ######################################## [100%]
| 
| Saving cache...
| 
| Note: adding Smart RPM DB channel
| 
| Note: to be installed:  packagegroup-core-ssh-dropbear@all packagegroup-core-x11-sato-games@qemux86 packagegroup-core-x11-base@all smartpm@i586 psplash@i586 packagegroup-core-boot@qemux86 packagegroup-base-extended@qemux86 rpm@i586 packagegroup-core-x11-sato@qemux86 locale-base-da-dk@i586
| Loading cache...
| Updating cache...               ######################################## [100%]
| 
| Computing transaction...error: Can't install xserver-xorg-2:1.13.1-r8.0@i586: no package provides libudev.so.0
| 
| Saving cache...
| 
| ERROR: Function failed: do_rootfs (see /home/radu/Documents/Development/yocto/build/tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/temp/log.do_rootfs.21599 for further information)
ERROR: Task 7 (/home/radu/Documents/Development/yocto/poky/meta/recipes-sato/images/core-image-sato.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5880 tasks of which 4978 didn't need to be rerun and 1 failed.
No currently running tasks (5879 of 5881)
Comment 1 Bogdan Marinescu 2013-04-02 12:38:20 UTC
I'm unable to reproduce this on a recent master (92aeb31341b28b193d616ab5cf38af1b9673e37d):

-------------------------------------------

14:40:03 /poky/buildnew [] $ bitbake core-image-sato
Parsing recipes: 100% |#############################################################################################################################################################################| Time: 00:00:18
Parsing of 813 .bb files complete (0 cached, 813 parsed). 1122 targets, 27 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = "1.17.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.10"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20130402"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              
meta-yocto        
meta-yocto-bsp    = "b3820:92aeb31341b28b193d616ab5cf38af1b9673e37d"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 5602 tasks of which 1839 didn't need to be rerun and all succeeded.

-------------------------------------------

(core-image-sato was suggested by the original bug submitter).