This package fails to build on an unstable system. Attached relevant logs and emerge --info
Created attachment 749967 [details] emerge_info emerge --info
Created attachment 749970 [details] opendx-4.4.4-r7:20211110-000030.log build log
From build.log, line 3152: libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Os [...] -D_GNU_SOURCE -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -o libDPEXEC.la dpattribute.lo [...] ddx.lo ../dxmods/libuser.la -lnsl [...] -lpthread and then line 3176: libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Os [...] -D_GNU_SOURCE -version-info 4:44:0 -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -o libDX.la -rpath /usr/lib64/dx/lib_linux dxexec/libDXEXEC.la dxmods/libDXMODS.la dxmods/libuser.la dxmods/libDXMODSN.la libdx/libLIBDX.la libdx/libmem.la dpexec/libDPEXEC.la hwrender/libHW.la hwrender/opengl/libOPENGL.la -lnsl [...] -lpthread The archive dxmods/libuser seems to be virtually included twice; once directly and the other time indirectly from dpexec/libDPEXEC. This seems to be caused by files/opendx-4.4.4-slibtool.patch: +libDPEXEC_la_LIBADD = ../dxmods/libuser.la A workaround would be to specify "-Wl,-z,muldefs" for LDFLAGS.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83798c8feddddf8c131b33c2958754fbccbf68db commit 83798c8feddddf8c131b33c2958754fbccbf68db Author: David Seifert <soap@gentoo.org> AuthorDate: 2022-07-14 09:02:10 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2022-07-14 09:02:10 +0000 profiles: last-rite sci-visualization/opendx Bug: https://bugs.gentoo.org/822762 Bug: https://bugs.gentoo.org/831874 Signed-off-by: David Seifert <soap@gentoo.org> profiles/package.mask | 7 +++++++ 1 file changed, 7 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9421065d5d1021074f8bb96e351dfc135f846c78 commit 9421065d5d1021074f8bb96e351dfc135f846c78 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-08-16 08:07:39 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-08-16 08:07:39 +0000 sci-visualization/opendx: treeclean Closes: https://bugs.gentoo.org/831874 Closes: https://bugs.gentoo.org/822762 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> profiles/package.mask | 6 - sci-visualization/opendx/Manifest | 2 - .../opendx/files/opendx-4.3.2-sys.h.patch | 23 -- .../files/opendx-4.4.4-concurrent-make-fix.patch | 66 ----- .../opendx/files/opendx-4.4.4-dx-errno.patch | 11 - .../opendx/files/opendx-4.4.4-gcc43.patch | 315 -------------------- .../opendx/files/opendx-4.4.4-installpaths.patch | 330 --------------------- .../files/opendx-4.4.4-invalid-conversion.patch | 13 - .../opendx/files/opendx-4.4.4-libtool.patch | 11 - .../opendx/files/opendx-4.4.4-null.patch | 14 - .../opendx/files/opendx-4.4.4-open.patch | 34 --- .../opendx/files/opendx-4.4.4-slibtool.patch | 40 --- .../opendx/files/opendx-4.4.4-szip.patch | 55 ---- .../opendx/files/opendx-4.4.4-xdg.patch | 26 -- sci-visualization/opendx/metadata.xml | 26 -- sci-visualization/opendx/opendx-4.4.4-r8.ebuild | 92 ------ 16 files changed, 1064 deletions(-)