Bug 5902 - createrepo fails during do_rootfs without an error message
Summary: createrepo fails during do_rootfs without an error message
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.6
Hardware: All Multiple
: Medium normal
Target Milestone: 1.6
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-03 14:23 UTC by Paul Eggleton
Modified: 2014-03-10 06:28 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.