[yocto] external-linaro-sdk-toolchain.bb, do_package_write_rpm) failed with exit code '1'

Anooj Gopi Anooj.Gopi at alpine.de
Tue Jun 3 09:00:40 PDT 2014


Please note that the same sources when built in Ubuntu 12.04 passes 
without issue. Is this anything related to python version?
Note: The yocto project I am using is not the latest.




From:   Anooj Gopi <Anooj.Gopi at alpine.de>
To:     yocto at yoctoproject.org, 
Date:   03.06.2014 17:55
Subject:        [yocto] external-linaro-sdk-toolchain.bb, 
do_package_write_rpm) failed with exit code '1'
Sent by:        yocto-bounces at yoctoproject.org



When try to build in Ubuntu 14.04 x86_64 machine following failure occurs. 


| error: line 24: invalid tag value("^[A-Za-z0-9+._]+$") Version: Version: 
'libpseudo.so' 
| error: Package has no %description: 
binutils-cross-canadian-arm.x86_64_nativesdk 

I doubt following part of the bitbake fails due to some unknown issue 

inherit cross-canadian 

# ensure variable exists to avoid build error without external toolchain 
TOOLCHAIN_PATH ?= "" 

def elt_get_bfd_version(d): 
        import subprocess,os,bb 
        if os.path.exists(d.getVar('TOOLCHAIN_PATH', d, 
1)+'/bin/'+d.getVar('TARGET_PREFIX', d, 1)+'as'): 
                return subprocess.Popen([d.getVar('TOOLCHAIN_PATH', d, 
1)+'/bin/'+d.getVar('TARGET_PREFIX', d, 1)+'as', '-v', '--version'], 
stderr=subprocess.STDOUT,stdout=subprocess.PIPE).communicate()[0].splitlines()[0].split()[3] 


ELT_VER_BFD := "${@elt_get_bfd_version(d)}" 

Is any one face this issue in the past? 
Alpine Electronics R&D Europe GmbH, Vor dem Lauch 14, 70567 Stuttgart,
Registergericht Stuttgart, HRB 25265
Geschaeftsfuehrer: Satoshi Soma, Shuji Taguchi 
Working office: Vor dem Lauch 14, 70567 Stuttgart-- 
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto




Alpine Electronics R&D Europe GmbH, Vor dem Lauch 14, 70567 Stuttgart,
Registergericht Stuttgart, HRB 25265
Geschaeftsfuehrer: Satoshi Soma, Shuji Taguchi 
Working office: Vor dem Lauch 14, 70567 Stuttgart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140603/8110c5e5/attachment.html>


More information about the yocto mailing list