/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../generated/librecad/obj/rs_actiondrawcircletan2_1p.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110enTypeListE_'; ../../generated/librecad/obj/rs_actiondrawcircletan1_2p.o:(.rodata+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../generated/librecad/obj/rs_actiondrawcircletan2.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110enTypeListE_'; ../../generated/librecad/obj/rs_actiondrawcircletan1_2p.o:(.rodata+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../generated/librecad/obj/rs_actiondrawcircletan3.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110enTypeListE_'; ../../generated/librecad/obj/rs_actiondrawcircletan1_2p.o:(.rodata+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../generated/librecad/obj/rs_actiondrawlinerelangle.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110enTypeListE_'; ../../generated/librecad/obj/rs_actiondrawcircletan1_2p.o:(.rodata+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../generated/librecad/obj/rs_actiondrawlinetangent2.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110circleTypeE_'; ../../generated/librecad/obj/rs_actiondrawlinetangent1.o:(.rodata+0x0): first defined here collect2: error: ld returned 1 exit status Reproducible: Always
Created attachment 595606 [details] /var/tmp/portage/media-gfx/librecad-2.1.3-r4/temp/build.log
Created attachment 595608 [details] emerge --info '=media-gfx/librecad-2.1.3-r4::gentoo'
Created attachment 595610 [details] emerge -pqv '=media-gfx/librecad-2.1.3-r4::gentoo'
Created attachment 595612 [details] /var/tmp/portage/media-gfx/librecad-2.1.3-r4/temp/environment
media-gfx/librecad-2.1.3-r5 should be stabilized. It seems to work on my stable system. Shouldn't this bug be list on the GCC-9 tracker? https://bugs.gentoo.org/show_bug.cgi?id=gcc-9
An update to a supporting component (boost?) triggers a re-compile of the stable media-gfx/librecad-2.1.3-r4 today (Jan 17, 2020). It fails, per the Original Poster: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../generated/librecad/obj/rs_actiondrawcircletan2_1p.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110enTypeListE_'; ../../generated/librecad/obj/rs_actiondrawcircletan1_2p.o:(.rodata+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../generated/librecad/obj/rs_actiondrawcircletan2.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110enTypeListE_'; ../../generated/librecad/obj/rs_actiondrawcircletan1_2p.o:(.rodata+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../generated/librecad/obj/rs_actiondrawcircletan3.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110enTypeListE_'; ../../generated/librecad/obj/rs_actiondrawcircletan1_2p.o:(.rodata+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../generated/librecad/obj/rs_actiondrawlinerelangle.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110enTypeListE_'; ../../generated/librecad/obj/rs_actiondrawcircletan1_2p.o:(.rodata+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../generated/librecad/obj/rs_actiondrawlinetangent2.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110circleTypeE_'; ../../generated/librecad/obj/rs_actiondrawlinetangent1.o:(.rodata+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:2041: ../../unix/librecad] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-gfx/librecad-2.1.3-r4/work/LibreCAD-2.1.3/librecad/src' make[1]: *** [Makefile:47: sub-src-make_first] Error 2 make[1]: Leaving directory '/var/tmp/portage/media-gfx/librecad-2.1.3-r4/work/LibreCAD-2.1.3/librecad' make: *** [Makefile:93: sub-librecad-make_first-ordered] Error 2
can't compile- the same error as above
Same as previous. Compilation ends as folows: collect2: error: ld returned 1 exit status make[2]: *** [Makefile:2054: ../../unix/librecad] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-gfx/librecad-2.1.3-r4/work/LibreCAD-2.1.3/librecad/src' make[1]: *** [Makefile:47: sub-src-make_first] Error 2 make[1]: Leaving directory '/var/tmp/portage/media-gfx/librecad-2.1.3-r4/work/LibreCAD-2.1.3/librecad' make: *** [Makefile:93: sub-librecad-make_first-ordered] Error 2 * ERROR: media-gfx/librecad-2.1.3-r4::gentoo failed (compile phase): * emake failed
Patched in -r5, see bug 685906
Same error with -r4 for me, tried -r5, works. Thanks for fixing it that fast.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=778c32d5d85ee0f3240c3c77da0a1ba95fdb74f2 commit 778c32d5d85ee0f3240c3c77da0a1ba95fdb74f2 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-05-20 12:22:22 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-05-20 12:24:52 +0000 media-gfx/librecad: Fix build with Qt 5.15 Bug: https://bugs.gentoo.org/699716 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../librecad/files/librecad-2.1.3-qt-5.15.patch | 37 ++++++++++++++++++++++ media-gfx/librecad/librecad-2.1.3-r5.ebuild | 1 + 2 files changed, 38 insertions(+)
amd64 stable
x86 stable. Closing.