Created attachment 572134 [details] dev-perl:OpenGL-0.700.0:20190407-063514.log I am using GCC 7.4 and running on a 17.1 profile. I have trouble installing =dev-perl/OpenGL-0.700.0 w/ and w/o LTO enabled. /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../lib64/libGL.so /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../lib64/libGLU.so /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../lib64/libglut.so /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../lib64/libglut.so /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../lib64/libXext.so /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: cannot open /usr/lib/libXmu.so: No such file or directory /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../lib64/libXi.so /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../lib64/libICE.so /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../lib64/libX11.so /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libstdc++.so /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: skipping incompatible /usr/lib/libm.so while searching for m /lib64/libm.so.6 /lib64/libmvec.so.1 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libgcc_s.so.1 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: skipping incompatible /usr/lib/libc.so while searching for c /lib64/libc.so.6 /lib64/ld-linux-x86-64.so.2 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/libgcc_s.so.1 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../lib64/crtn.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: initial tasks run time: (user: 0.010000 sys: 0.000000 wall: 0.020000) /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: middle tasks run time: (user: 0.010000 sys: 0.000000 wall: 0.000000) /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: final tasks run time: (user: 0.000000 sys: 0.000000 wall: 0.000000) /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: total run time: (user: 0.020000 sys: 0.000000 wall: 0.020000) /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: total space allocated by malloc: 6365184 bytes /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: total bytes mapped for read: 53075360 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: maximum bytes mapped for read at one time: 52242648 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: archive libraries: 6 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: total archive members: 896 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: loaded archive members: 0 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: lib groups: 0 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: total lib groups members: 0 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: loaded lib groups members: 0 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: output file size: 9520 bytes /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: symbol table entries: 21216; buckets: 38873 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: symbol table stringpool entries: 12489; buckets: 38873 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: symbol table stringpool Stringdata structures: 381 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: section name pool entries: 28; buckets: 37 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: section name pool Stringdata structures: 1 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: output symbol name pool entries: 41; buckets: 761 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: output symbol name pool Stringdata structures: 1 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: dynamic name pool entries: 12; buckets: 761 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: dynamic name pool Stringdata structures: 1 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: .comment merged strings input bytes: 792 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: .comment merged strings input strings: 18 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: .comment merged strings entries: 2; buckets: 3 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: .comment merged strings Stringdata structures: 1 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: .GCC.command.line merged strings input bytes: 20559 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: .GCC.command.line merged strings input strings: 1504 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: .GCC.command.line merged strings entries: 108; buckets: 167 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: .GCC.command.line merged strings Stringdata structures: 2 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: total free lists: 0 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: total free list nodes: 0 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: calls to Free_list::remove: 0 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: nodes visited: 0 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: calls to Free_list::allocate: 0 /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: nodes visited: 0 collect2: error: ld returned 1 exit status make: *** [Makefile:556: blib/arch/auto/OpenGL/OpenGL.so] Error 1 * ERROR: dev-perl/OpenGL-0.700.0::gentoo failed (compile phase): * emake failed
Created attachment 572136 [details] emerge --info emerge --info
It kinda looks like you've got a broken x11-libs/libXmu If you can still reproduce this, can you please provide the contents of: cat /var/db/pkg/x11-libs/libXmu-*/CONTENTS Reopen the bug when this is provided, thanks. Note: "/usr/lib/" should probably not be mentioned on a 17.1 profile, so maybe something more-wrong is going on here. It should be either "/usr/lib32" or "/usr/lib64", I think.
Created attachment 583166 [details] /var/db/pkg/x11-libs/libXmu-*/CONTENTS libXmu correctly installs it's libraries to /usr/lib64/ dir /usr/lib64 sym /usr/lib64/libXmu.so.6 -> libXmu.so.6.2.0 1556042957 sym /usr/lib64/libXmu.so -> libXmu.so.6.2.0 1556042957 sym /usr/lib64/libXmuu.so.1 -> libXmuu.so.1.0.0 1556042957 sym /usr/lib64/libXmuu.so -> libXmuu.so.1.0.0 1556042957 dir /usr/lib64/pkgconfig So, is it a bug in dev-perl/OpenGL's build system that is looking in the wrong directory?
Hmm, it *might* be possible to get a better idea of what OpenGL is doing by hacking the ebuild and putting the following stanza in it: > myconf="verbose" As per: https://metacpan.org/source/CHM/OpenGL-0.70/Makefile.PL#L40-41 There is logic in its build script that tests hardcoded paths, which is suspicious: https://metacpan.org/source/CHM/OpenGL-0.70/Makefile.PL#L124-135 As to why it works for me and not for you is the curious question. Though on my system, /usr/lib exists and is a symlink to /usr/lib64 , and that's probably adequate. ( Hmm, seems I only *thought* I was running 17.1, turns out I migrated a different box and I'm still running 17.0 ... ) What is /usr/lib on your system?
(In reply to Kent Fredric (IRC: kent\n) from comment #4) > What is /usr/lib on your system? file /usr/lib /usr/lib: directory ls -l /usr/lib total 239544 drwxr-xr-x 1 root root 74 Apr 7 2018 ADM_plugins6 drwxr-xr-x 1 root root 10 Dec 22 2014 allegro drwxr-xr-x 1 root root 92 Aug 21 2014 alliance drwxr-xr-x 1 root root 0 Jul 29 2018 alsa-lib drwxr-xr-x 1 root root 12 Apr 11 2015 alsaplayer drwxr-xr-x 1 root root 18 Aug 9 2014 ao drwxr-xr-x 1 root root 2 Sep 9 2014 atril drwxr-xr-x 1 root root 28 Apr 22 22:27 audit drwxr-xr-x 1 root root 622 Aug 23 2014 autofs drwxr-xr-x 1 root root 6 Aug 9 2014 Bashburn drwxr-xr-x 1 root root 32 Nov 8 2016 beecrypt drwxr-xr-x 1 root root 76 May 11 2017 bfd-plugins drwxr-xr-x 1 root root 34 Aug 7 2014 binutils drwxr-xr-x 1 root root 14 Aug 7 2014 bluetooth drwxr-xr-x 1 root root 0 Nov 8 2016 brltty drwxr-xr-x 1 root root 924 Nov 17 2014 bwidget-1.9.0 drwxr-xr-x 1 root root 58 Mar 30 2017 calibre drwxr-xr-x 1 root root 24 Nov 6 2015 cantata drwxr-xr-x 1 root root 6 Jun 27 2016 ccache drwxr-xr-x 1 root root 88 Mar 6 2018 cfg-update drwxr-xr-x 1 root root 70 Mar 7 19:36 clang drwxr-xr-x 1 root root 614 Apr 23 22:55 clc drwxr-xr-x 1 root root 214 Dec 25 2018 cmake drwxr-xr-x 1 root root 8 Jul 29 2018 connman drwxr-xr-x 1 root root 0 Apr 18 2018 conserver lrwxrwxrwx 1 root root 19 Oct 27 2018 consolekit -> /usr/lib/ConsoleKit drwxr-xr-x 1 root root 238 Oct 27 2018 ConsoleKit drwxr-xr-x 1 root root 270 Mar 3 2015 coq -rw-r--r-- 1 root root 1024 Apr 20 12:48 cracklib_dict.hwm -rw-r--r-- 1 root root 245161 Apr 20 12:48 cracklib_dict.pwd -rw-r--r-- 1 root root 12896 Apr 20 12:48 cracklib_dict.pwi drwxr-xr-x 1 root root 28 Apr 22 22:28 crda -rw-r--r-- 1 root root 1496 Apr 22 22:27 crt1.o -rw-r--r-- 1 root root 1060 Apr 22 22:27 crti.o -rw-r--r-- 1 root root 440 Apr 22 22:27 crtn.o drwxr-xr-x 1 root root 32 Apr 18 2018 dbd drwxr-xr-x 1 root root 6 Dec 29 2018 debug .... etc I will post again after I hack the ebuild.
> .... etc > > I will post again after I hack the ebuild.