[yocto] package-index error

Gary Thomas gary at mlbassoc.com
Wed Feb 4 08:20:22 PST 2015


As part of developing a new package for my system,
I've been doing a number of repeated builds like this:
   $ bitbake some-package && bitbake package-index

Over the past two days, I probably ran this command sequence
50 times (lots of iterative development).  On two occasions,
it failed with an error like this:
==============================================================
Build Configuration:
BB_VERSION        = "1.25.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-13.10"
TARGET_SYS        = "arm-amltd-linux-gnueabi"
MACHINE           = "teton-p0381"
DISTRO            = "amltd"
DISTRO_VERSION    = "1.7+snapshot-20150204"
TUNE_FEATURES     = "arm armv7a vfp neon callconvention-hard cortexa7"
TARGET_FPU        = "vfp-neon"
meta              = "master:22c38e2d8a058619e3d05534b5e830b750aa4241"
meta-oe           = "cutting-edge:3e0992a4ff1cabb30c2ab416bdfc82cf0b7745e3"
meta-amltd        = "cutting-edge:180686ee3a8d1d94dd368af05a025b0efbba07ba"
meta-fsl-arm      = "master:2d9b23e7ca473eaf33b8a96839686a331339e43a"
meta-fsl-arm-extra = "master:6054ad663ae2067607b1bb207dace45a447a0a74"
meta-teton-ls1-p0381 = "cutting-edge:ab89731bb0fed2f9fac53f499644b3522016f4b1"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Index creation command '/local/p0381-cutting-edge_2014-11-12/tmp/sysroots/x86_64-linux/usr/bin/opkg-make-index -r 
/local/p0381-cutting-edge_2014-11-12/tmp/deploy/ipk/all/Packages -p /local/p0381-cutting-edge_2014-11-12/tmp/deploy/ipk/all/Packages -m 
/local/p0381-cutting-edge_2014-11-12/tmp/deploy/ipk/all' failed with return code 1:
Traceback (most recent call last):
   File "/local/p0381-cutting-edge_2014-11-12/tmp/sysroots/x86_64-linux/usr/bin/opkg-make-index", line 87, in <module>
     s, f = l.split(" ", 1)
ValueError: need more than 1 value to unpack

ERROR: Function failed: do_package_index
ERROR: Logfile of failure stored in: /local/p0381-cutting-edge_2014-11-12/tmp/work/cortexa7hf-vfp-neon-amltd-linux-gnueabi/package-index/1.0-r0/temp/log.do_package_index.31738
ERROR: Task 7 (/local/poky-cutting-edge/meta/recipes-core/meta/package-index.bb, do_package_index) failed with exit code '1'
NOTE: Tasks Summary: Attempted 118 tasks of which 117 didn't need to be rerun and 1 failed.
No currently running tasks (117 of 119)
==============================================================

I've no idea what the error means, nor how I might track it
down.  As mentioned, it's very sporadic and certainly not
stochastically repeatable.  If I immediately rerun the
'bitbake package-index' it works just fine.

Any ideas what this might be?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list