the case of untracked base shlibs

Sulev-Madis Silber <[email protected]>
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <[email protected]>
unsure how this could be solved in pkgbase. altho it might not be relevant as by the time that's the issue, pkg already tracks shlibs from base

but, still?

anyway, i was upgrading 13 to 14, from src, and with portupgrade, and wanted to skip too many rebuilds to conserve time

anyway, to find all the ports that needed rebuilt due base shlibs, i used:


make -C /usr/src/ check-old-libs | sed 's|.*/||' > old-libs

find /usr/local/ -type f | xargs file -F ' ' | grep 'ELF.*dynamically' | cut -d ' '
-f 1 | xargs ldd -f '%A %o\n' | fgrep -f old-libs | cut -d ' ' -f 1 | xargs pkg which -q | sort | uniq | tee -a shlib-upg

xargs -n 1 pkg query '%q %n-%v' < shlib-upg | fgrep -v FreeBSD:14:amd64 | cut -d ' ' -f 2


i hope that was a helpful unsupported upgrade idea. hackers, after all...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.