[oe-issues] [Bug 2017] apt-0.6.46.2 does not build

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Tue Jun 12 12:28:48 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=2017





--- Comment #4 from Sergey 'Jin' Bostandzhyan <jin at mediatomb.org>  2007-06-12 05:28:48 ---
Same problem for me.

I tracked it down to oe_libinstall(), which incorrectly sets the library name:

original name given to oe_libinstall: libapt-inst-libc6.5-6 
so, value of libname is libapt-inst-libc6.5-6

now, this piece of code changes it:

    # If such file doesn't exist, try to cut version suffix
    if [ ! -f "$lafile" ]; then
        libname=`echo "$libname" | sed 's/-[0-9.]*$//'`
        lafile=$libname.la
    fi

the name after the above code: libapt-inst-libc6.5
so -6 got stripped away, and libname was set to the new name; however, libname
is bein used to install the library, and since the name is now wrong it fails.

fix that worked for me:
    # If such file doesn't exist, try to cut version suffix
    if [ ! -f "$lafile" ]; then
        lalibname=`echo "$libname" | sed 's/-[0-9.]*$//'`
        lafile=$lalibname.la
    fi


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list