https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-apps/likwid-5.2.1 fails to compile. Discovered on: amd64 (internal ref: ci)
Created attachment 782447 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llikwid-hwloc: No such file or directory /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llikwid-lua: No such file or directory /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llikwid: No such file or directory collect2: error: ld returned 1 exit status
I reproduced the same issue, the problem is that dependencies are not properly stated in Makefiles, since the sequential build successfully finishes. The workaround is, therefore, to use MAKEOPTS="-j1".
ci has reproduced this issue with version 5.2.2 - Updating summary.