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