https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-misc/g15stats-1.9.7-r1 fails to compile. Discovered on: amd64 (internal ref: tinderbox)
Created attachment 680515 [details] build.log build log and emerge --info
Possible context of error(s): /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libXau.so.6, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libgtop-2.0.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libgtop-2.0.so: undefined reference to `XauGetAuthByAddr' collect2: error: ld returned 1 exit status
It looks like some kind of automagic dependency in libgtop, but I cannot reproduce it.
Is it possible that portage did not preserve libs back then as it does today? I am able to reproduce it when I install libXau, than libgtop-2.40.0, which automagically links with libXau. emerge x11-libs/libXau emerge =gnome-base/libgtop-2.40* After that I uninstall libXau but I have to remove libXau.so* by hand because emerge preserves it emerge -C x11-libs/libXau rm /usr/lib64/libXau.so.6* And now I am able to reproduce it. Anyway, it is indirect app-misc/g15stats issue. See this https://gitlab.gnome.org/GNOME/libgtop/-/blob/2.40.0/configure.ac?ref_type=tags#L243