poky:bdca49274173153b1b0a72887de6321b4756b684 TOOLCHAIN:http://autobuilder.yoctoproject.org/pub/nightly/20130327-1/toolchain/x86_64/poky-eglibc-x86_64-x86_64-toolchain-gmae-1.3+snapshot-20130327.sh STEPS TO REPRODUCE: 1. Download the above toolchain and try to install it like the following: [tester@yocto-asus tmp2]$ bash poky-eglibc-x86_64-x86_64-toolchain-gmae-1.3+snapshot-20130327.sh Enter target directory for SDK (default: /opt/poky/1.3+snapshot): ./abilder You are about to install the SDK to "/home/tester/tmp2/abilder". Proceed[Y/n]?y Extracting SDK...done Setting it up...Traceback (most recent call last): File "/home/tester/tmp2/abilder/relocate_sdk.py", line 208, in <module> arch = get_arch() File "/home/tester/tmp2/abilder/relocate_sdk.py", line 39, in get_arch ei_mag0,ei_mag1_3,ei_class = struct.unpack("<B3sB11x", e_ident) struct.error: unpack requires a string argument of length 16 SDK could not be set up. Relocate script failed. Abort! [tester@yocto-asus tmp2]$ EXPECTED RESULTS: The toolchain is installed successfully ACTUAL RESULTS: The installation is stopped by some errors.
I've tested this on Fedora 17 64bit and UBuntu 12.10 64bit
*** Bug 4133 has been marked as a duplicate of this bug. ***
Patch sent on the ML.
The patch has been merged: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=688c4e84623369199baaf821430373ce28ecb66a
Verified.