On Mon, Feb 23, 2009 at 2:53 PM, Allan McRae <[email protected]> wrote: > Aaron Griffin wrote: >> >> So bash 4.0 is out, and there's lots of neat little changes, but this >> also requires readline 6.0, which is a big old nasty soname change. >> >> Unless anyone has any objections, I'd like to do these upgrades >> tonight and put everything in testing if it all goes as plans. >> >> Any problems with that? >> >> Packages affected, according to the web interface: >> * abook >> * afterstep >> * archboot >> * bash >> * bc >> * cdcd >> * clisp >> * device-mapper >> * freeciv >> * fvwm >> * fvwm-devel >> * gftp >> * gnuchess >> * gnutls >> * gphoto2 >> * gutenprint >> * hugs98 >> * inetutils >> * jack-audio-connection-kit >> * lftp >> * libxml2 >> * lua >> * maxima >> * mysql-clients >> * ntp >> * pal >> * php >> * pilot-link >> * postgresql-libs >> * python24 >> * r >> * ratpoison >> * rosegarden >> * ruby >> * socat >> * sqlite3 >> * sqlite3 (testing) >> * swi-prolog >> * tunepimp >> * uml_utilities >> * unixodbc >> * wvstreams >> > > I thought there will be more than that, maybe covered by dependency chains. > I have been using the attached script to find needed rebuilds and it works > but is slow (takes under two hours to scan my entire cache being all [core] > and [extra] plus part of [community]). > > Allan > > > #! /bin/bash > > # Run in minimal chroot to avoid false positives due to dependancies. > # Chroot can be built with: > # sudo mkarchroot <chrootdir>/root glibc coreutils findutils grep tar gzip > > # Copy script to <chrootdir>/root/tmp and packages to > <chrootdir>/root/tmp/pkg > > # Usage: > # ./rebuildlist <library> > # <library> does not contain ".so" > > > library=$1 > if [ "x$library" == "x" ]; then > echo "Usage $0 <library>" > exit > fi > > for pkg in $(ls pkg); do > echo $pkg > mkdir tmp > cp pkg/$pkg tmp > cd tmp > tar -xf $pkg > rm $pkg > found=$(ldd $(find .) 2>/dev/null | grep "${library}.so" | wc -l) > if [ $found -ne 0 ]; then > echo $pkg >> ../rebuildlist.txt > fi > cd .. > rm -rf tmp > done
Hmm, is this intensive? Would it be bad to run it on gerolde? I don't have all of the packages cached, and don't have enough space on my x86_64 machine (slicehost slice) to run it from that side

