[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 08:54:22 PDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140603/cc6ab3b4/attachment.html>


More information about the yocto mailing list