Skip to contentSkip to conversation

glibc_2.9: task `package` fails with `"WORKDIR not defined, unable to package"`

DISCUSSION Paul Menzel 1 participant 1 message Jan 17, 2011

lore
Share & tools
lore
#0 lore raw

Dear OE folks,

task package failed with the following error running bitbake -k glibc with angstrom-2008.1 for MACHINE = "beagleboard".

Packaged contents of glibc-charmap-ibm868 into /oe/build/angstrom-dev/deploy/glibc/ipk/armv7a/glibc-charmap-ibm868_2.9-r37.4.6_armv7a.ipk
ERROR: Error in executing python function in: /oe/openembedded/recipes/glibc/glibc_2.9.bb
ERROR: Exception:<type 'exceptions.ValueError'> Message:need more than 1 value to unpack
ERROR: Printing the environment of the function
ERROR: 0001:def do_package_ipk(d):
ERROR: 0002: import re, copy
ERROR: 0003:
ERROR: 0004: workdir = bb.data.getVar('WORKDIR', d, 1)
ERROR: 0005: if not workdir:
ERROR: 0006: bb.error("WORKDIR not defined, unable to package")
ERROR: Function do_package_ipk failed

I recently activated

        PARALLEL_MAKE = "-j4"

in conf/local.conf.

I could not reproduce this problem running bitbake -k glibc a second time.

Thanks,

Paul