[arch-dev-public] bash 4.0 / readline 6.0 rebuilds

Eric Bélanger snowmaniscool at gmail.com
Fri Mar 27 19:34:22 EDT 2009


On Mon, Mar 2, 2009 at 2:43 AM, Allan McRae <allan at archlinux.org> wrote:
> Thomas Bächler wrote:
>>
>> Allan McRae schrieb:
>>>
>>> This is the point of this comment:
>>> # Run in minimal chroot to avoid false positives due to dependencies. #
>>> Chroot can be built with:
>>> # sudo mkarchroot <chrootdir>/root glibc coreutils findutils grep tar
>>> gzip
>>>
>>> So, in your example, if you are testing if libA needs a rebuild due to
>>> libC, you only extract libA in your chroot, not libB.  The ldd can not chain
>>> its way to libC.  So ti ends up doing the same thing as readelf.
>>
>> Now I understand it.
>>
>> Still, if you use readelf it does not matter what the environment is, you
>> could run it on any system which is not even Arch, or is the wrong
>> architecture or anything.
>>
>
> Well, if that did not convince me, this does.  I just noticed that "readelf
> --dynamic" appears to be a lot faster than "ldd".  On my /usr/bin/*, readelf
> takes ~0.2sec while ldd takes ~12sec.  I will test this out with an actual
> run of the script tomorrow.
>
> Allan
>
>
>

Status update on the rebuild?


More information about the arch-dev-public mailing list