Bug 2828

Summary: MUT: rpmresolve-native-1.0-r0: task do_compile: Failed
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Nitin Kamble <nitin.a.kamble>
Component: devtools / tool chainAssignee: Paul Eggleton <bluelightning>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: laurentiu.serban, meta.mr.watcher, meta.watcher, sgw
Version: unspecified   
Target Milestone: 1.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: (autobuilder)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Nitin Kamble 2012-07-25 03:51:27 UTC
Log data follows:
| DEBUG: Executing shell function do_compile
| rpmresolve.c:29:19: fatal error: rpmdb.h: No such file or directory
| compilation terminated.
| ERROR: Function failed: do_compile (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-tiny/build/build/tmp/work/x86_64-linux/rpmresolve-native-1.0-r0/temp/log.do_compile.814 for further information)
NOTE: package rpmresolve-native-1.0-r0: task do_compile: Failed



Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky-tiny"
DISTRO_VERSION    = "1.2+snapshot-20120725"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              
meta-yocto        = "stage/master_under_test:83fc722841653d24b23647f8f05a9798e571258d"
meta-qt3          = "master:f8475d5c5935695d4d1dfff1d7be30f49e162094"


Autobuilder log: 
  http://autobuilder.yoctoproject.org:8010/builders/nightly-tiny/builds/154/steps/shell_34/logs/stdio
Comment 1 Nitin Kamble 2012-07-25 03:55:15 UTC
This happens with non-tiny (poky) distro also:
autobuilder log: http://autobuilder.yoctoproject.org:8010/builders/nightly-multilib/builds/173/steps/shell_23/logs/stdio

Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "x86_64"
TARGET_OS         = "linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2+snapshot-20120725"
TUNE_FEATURES     = "m64"
TARGET_FPU        = ""
meta              
meta-yocto        = "stage/master_under_test:83fc722841653d24b23647f8f05a9798e571258d"
meta-qt3          = "master:f8475d5c5935695d4d1dfff1d7be30f49e162094"
Comment 2 Paul Eggleton 2012-07-25 08:22:53 UTC
Whoops, the recipe actually has no DEPENDS on rpm (!) Fix on the way.
Comment 3 Paul Eggleton 2012-07-25 08:41:06 UTC
New paule/rootfs2 branch pushed to openembedded-core-contrib with the fix in it.
Comment 4 Paul Eggleton 2012-07-30 13:02:17 UTC
Updated commit with the dependency added was merged in commit a73c25d2ded3a72159f2ce527e7307808c734686.

Note to avoid any confusion - since this was detected in MUT, the broken commit never hit master.
Comment 5 Laurentiu Serban 2012-08-18 22:07:27 UTC
verified in 8b8748c8f963900b83dc0fdd7757556f917fe4fd
Comment 6 Laurentiu Serban 2012-08-18 22:07:50 UTC
The verification was done on the master branch