Bug 5902

Summary: createrepo fails during do_rootfs without an error message
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: coreAssignee: Laurentiu Palcu <laurentiu.palcu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: hongxu.jia, meta.mr.watcher, meta.watcher, otavio
Version: 1.6   
Target Milestone: 1.6   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Paul Eggleton 2014-03-03 14:23:47 UTC
From: http://autobuilder.yoctoproject.org/main/builders/nightly-fsl-arm/builds/64/steps/BuildImages_2/logs/stdio

It seems createrepo can fail and not produce a proper error message:

------------ snip ------------
ERROR: Index creation command '/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-fsl-arm/build/build/tmp/sysroots/x86_64-linux/usr/bin/createrepo --update -q /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-fsl-arm/build/build/tmp/deploy/rpm/all' failed with return code -6:

ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-fsl-arm/build/build/tmp/work/imx28evk-poky-linux-gnueabi/core-image-sato/1.0-r0/temp/log.do_rootfs.16007
NOTE: recipe core-image-sato-1.0-r0: task do_rootfs: Failed
------------ snip ------------

I'm not sure whether createrepo isn't reporting the error properly or whether we're just not capturing it, but we ought to be able to see why it failed.
Comment 1 Laurentiu Palcu 2014-03-05 12:44:58 UTC
Patch fixing the error reporting is on the ML.