[yocto] Can't build util-linux

Scott Garman scott.a.garman at intel.com
Thu Jan 5 08:54:22 PST 2012


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.

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center



More information about the yocto mailing list