On 09/03/2020 08:19, Nikos Chantziaras wrote:
emerge -auDN --changed-deps --with-bdeps=y @world
followed by:
revdep-rebuild.sh -i -- -a
revdep-rebuild is pretty useless when it comes to Qt because everything
appears to be consistent. The error (the error about mixing Qt versions)
only shows up at runtime.
When testing live versions of Qt I came up with this monstrosity to find
all packages dependent on Qt symbols (feedback welcome, this is awful...):
REVDEPS="$(find /bin /sbin /usr/bin /usr/sbin /lib /lib64 /usr/lib
/usr/lib64 -type f -executable -print | parallel 'if !
symbols="$(readelf --symbols {} 2> /dev/null | grep -q qt_version)";
then exit 0; fi;q belongs -q {}' | grep -v -E '^dev-qt' | sort -u | grep
-v -E '^plib_registry:')"
Then I can just do `emerge -v1 --keep-going ${REVDEPS}`