Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 849434

Summary: sys-apps/likwid-5.2.2 fails to compile: ld: cannot find -llikwid: No such file or directory
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: CONFIRMED ---    
Severity: normal CC: dan, tamiko
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-06-03 05:53:27 UTC

Issue: sys-apps/likwid-5.2.1 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-03 05:53:30 UTC
Created attachment 782447 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-06-03 05:53:31 UTC
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
Comment 3 Libor Bukata 2023-03-05 17:47:20 UTC
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".
Comment 4 Agostino Sarubbo gentoo-dev 2023-07-02 06:55:14 UTC
ci has reproduced this issue with version 5.2.2 - Updating summary.