Bug 805 - opkg in adt-installer can not handle long link name in ipk file
Summary: opkg in adt-installer can not handle long link name in ipk file
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: Medium major
Target Milestone: 1.0 M4
Assignee: liping Ke
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-03-04 01:07 UTC by Lianhao Lu
Modified: 2011-03-12 17:06 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lianhao Lu 2011-03-04 01:07:17 UTC
The opkg included in the adt-installer is version 0.1.8, which has a bug of can not corrected handle the long link name of tar header when install a ipk file. This cause the corrupted installation of binutils-cross-canadian-arm.

opkg upstream had such fixing in SVN trunk, the adt-installer should use the SVN tip version instead of the version 0.1.8.
Comment 1 liping Ke 2011-03-04 01:34:50 UTC
I need some time to make the SRC_URL = svn trunk works.

After update the opkg, the problem like below should be gone.



Configuring binutils-cross-canadian-arm.
Collected errors:
* extract_archive: Cannot link from ./opt/poky/0.9+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-ld to './opt/poky/0.9+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-li':Installing gcc for arm ...
Installing gcc-cross-canadian-arm (4.5.1-r3) to root...
Downloading http://adtrepo.yoctoproject.org/1.0/adt-ipk/x86_64-nativesdk/gcc-cross-canadian-arm_4.5.1-r3_x86_64-nativesdk.ipk.
Installing elfutils-nativesdk (0.148-r1) to root...
Downloading http://adtrepo.yoctoproject.org/1.0/adt-ipk/x86_64-nativesdk/elfutils-nativesdk_0.148-r1_x86_64-nativesdk.ipk.
Installing libmpfr4 (3.0.0-r0) to root...
Comment 2 liping Ke 2011-03-07 17:23:03 UTC
The fix patch is already in upstream distro/bernard in poky-contrib.git

http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/commit/?h=distro/bernard&id=d746600f563e02955a9e43ccbc11e73bf1611b21
Comment 3 Jessica 2011-03-12 17:06:28 UTC
verified against latest bernard branch