[yocto] Can't build util-linux

Chris Larson clarson at kergoth.com
Thu Jan 5 09:52:44 PST 2012


On Thu, Jan 5, 2012 at 9:54 AM, Scott Garman <scott.a.garman at intel.com> wrote:
> On 01/05/2012 04:49 AM, Gary Thomas wrote:
>>
>> Using a freshly updated master
>>
>> OE Build Configuration:
>> BB_VERSION = "1.15.0"
>> TARGET_ARCH = "arm"
>> TARGET_OS = "linux-gnueabi"
>> MACHINE = "beagleboard"
>> DISTRO = "poky"
>> DISTRO_VERSION = "1.1+snapshot-20120105"
>> TUNE_FEATURES = "armv7a vfp neon cortexa8"
>> TARGET_FPU = "vfp-neon"
>> meta
>> meta-yocto = "master:5aabdbaff7b8be319a86c5e33cc2eb8c2e4aa2ef"
>>
>> | NOTE: DO PACKAGE QA
>> | NOTE: Checking Package: util-linux-agetty
>> | ERROR: Error executing a python function in
>> /tmp/poky-multi/meta/recipes-core/util-linux/util-linux_2.20.1.bb:
>> | AttributeError: 'module' object has no attribute 'check_output'
>
>
> Bah, sorry about this. Apparently the check_output method of the subprocess
> module is new in Python v2.7 (I'm 99% certain you must be using an older
> Python than that). I'm in the process of refactoring this to work with a
> more compatible API. In the meantime, please use Mark's suggested fix.

Afaik, bitbake master still only requires 2.6. You can use bb.process
(which wraps subprocess.Popen) for now.
-- 
Christopher Larson



More information about the yocto mailing list