[OE-core] [PATCH 12/20] zlib: Upgrade 1.2.5 -> 1.2.6

Khem Raj raj.khem at gmail.com
Sat Feb 11 08:19:17 UTC 2012


On Sat, Feb 11, 2012 at 12:15 AM, Khem Raj <raj.khem at gmail.com> wrote:
> On Fri, Feb 10, 2012 at 9:09 PM, Koen Kooi <koen at dominion.thruhere.net> wrote:
>>
>> Op 11 feb. 2012, om 06:05 heeft Steve Sakoman het volgende geschreven:
>>
>>> On Tue, Feb 7, 2012 at 6:06 PM, Khem Raj <raj.khem at gmail.com> wrote:
>>>> On Tue, Feb 7, 2012 at 4:19 PM, Saul Wold <sgw at linux.intel.com> wrote:
>>>>>
>>>>> Can you verify if you have a .la file in you sysroot?
>>>>
>>>>
>>>> No its not there and thats the point we probably should learn to live
>>>> with out it
>>>> actually one of radical ideas I have is to get rid of all .la files in
>>>> OE completely
>>>> right now python modules e.g.  have them and thats wrong since they never use it
>>>> and there are other packages like that.
>>>
>>> FWIW, after a pull of oe-core today that included the zlib update I am
>>> getting similar failures on meta/recipes-gnome/gtk+/gtk+_2.24.8.bb:
>>>
>>> | /bin/grep: /media/Work/yocto/tmp/sysroots/omap3-multi/usr/lib/libz.la:
>>> No such file or directory
>>> | /bin/sed: can't read
>>> /media/Work/yocto/tmp/sysroots/omap3-multi/usr/lib/libz.la: No such
>>> file or directory
>>> | arm-poky-linux-gnueabi-libtool: link:
>>> `/media/Work/yocto/tmp/sysroots/omap3-multi/usr/lib/libz.la' is not a
>>> valid libtool archive
>>> | make[4]: *** [libgdk-x11-2.0.la] Error 1
>>
>>
>> It works if you -c cleansstate on a bunch of recipes, pango, cairo, fontconfig, gtk+, etc
>
> yeah libtool is very hard to get rid of see how many of files in your
> sysroot has zlib.la added to other .la files. You need to clean all
> those
>
> I wrote a small script which grepped oe-core for occurrence of all
> zlib.la in *.la files in sysroot
> and then dumps the ipks content to figure out which package provided
> that .la then bumped PRs of those recipes which were providing those
> ipks.
> unfortunately this script was in tmdir and got deleted.

ah screen saved a snapshot here is the script

sysroot=/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemux86
deploy="/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/deploy/ipk/i586
/home/kraj/work/angstrom/sources/
openembedded-core/build/tmp-eglibc/deploy/ipk/qemux86"

las=$(find $sysroot -name *.la|xargs grep -Hns libz.la | cut -d':' -f 1)
for f in $las
do
    ff=`basename $f`
        for fff in $(find $deploy -name '*.ipk')
        do
            dpkg-deb -c $fff | grep $ff >& /dev/null
            if [ $? = 0 ]
            then
                ls $fff
                break
            fi
        done
done




More information about the Openembedded-core mailing list