/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../dxmods/user.o: in function `_dxf_user_modules': user.c:(.text+0x5d): undefined reference to `m_AmbientLight' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: user.c:(.text+0x19f): undefined reference to `m_Append' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: user.c:(.text+0x20c): undefined reference to `m_Arrange' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: user.c:(.text+0x252): undefined reference to `m_Attribute' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-20210315-143628 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 11.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.1.0 Python 3.8.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) * Available Rust versions: [1] rust-1.50.0 * The following VMs are available for generation-2: 1) IcedTea JDK 3.17.1 [icedtea-8] 2) IcedTea JDK 3.16.0 [icedtea-bin-8] 3) JamVM JDK 2.0.0 [jamvm] 4) OpenJDK 8.282_p08 [openjdk-8] *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] icedtea-8 [2] icedtea-bin-8 [3] jamvm [4] openjdk-8 [5] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Mon Mar 29 20:20:33 UTC 2021 emerge -qpvO sci-visualization/opendx [ebuild N ] sci-visualization/opendx-4.4.4-r7 USE="tiff -cdf -hdf -imagemagick -netcdf -smp -szip"
Created attachment 696102 [details] emerge-info.txt
Created attachment 696105 [details] emerge-history.txt
Created attachment 696108 [details] environment
Created attachment 696111 [details] etc.portage.tar.bz2
Created attachment 696114 [details] logs.tar.bz2
Created attachment 696117 [details] sci-visualization:opendx-4.4.4-r7:20210329-205519.log
Created attachment 696120 [details] temp.tar.bz2
Created attachment 698295 [details, diff] Patch to fix the undefined references. Upstream seems inactive, but this patch fixes the undefined references. Several of the internal dependencies are being linked in the wrong place and with the wrong files which leads to fragile linking order issues. I cleaned it up a little and made it more robust in the attached patch. I also added -no-undefined for some extra assurance.
Created attachment 698298 [details, diff] Patch to fix the undefined references. Fixed commit message.
Created attachment 698301 [details, diff] Patch to fix the undefined references. Add fixed typo...
Created attachment 698304 [details, diff] Patch to fix the undefined references.
Created attachment 698307 [details, diff] Patch to fix the undefined references.
Created attachment 698310 [details, diff] Patch to fix the undefined references.
*** Bug 794976 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60c4e1235300e9bba9f1d86512a09257f60fe640 commit 60c4e1235300e9bba9f1d86512a09257f60fe640 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-09-08 04:39:02 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-09-08 04:41:10 +0000 sci-visualization/opendx: fix build with slibtool, gcc 11 Closes: https://bugs.gentoo.org/786627 Closes: https://bugs.gentoo.org/779160 Thanks-to: orbea <orbea@riseup.net> Signed-off-by: Sam James <sam@gentoo.org> .../opendx/files/opendx-4.4.4-slibtool.patch | 40 ++++++++++++++++++++++ sci-visualization/opendx/opendx-4.4.4-r7.ebuild | 6 +++- 2 files changed, 45 insertions(+), 1 deletion(-)