Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699716 - media-gfx/librecad-2.1.3-r5 stabilisation (was: multiple definition of `_ZGRN12_GLOBAL__N_110enTypeListE_')
Summary: media-gfx/librecad-2.1.3-r5 stabilisation (was: multiple definition of `_ZGRN...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: CC-ARCHES
Depends on:
Blocks: CVE-2018-21035
  Show dependency tree
 
Reported: 2019-11-10 08:06 UTC by Erik
Modified: 2020-06-04 06:38 UTC (History)
3 users (show)

See Also:
Package list:
media-gfx/librecad-2.1.3-r5
Runtime testing required: ---
nattka: sanity-check+


Attachments
/var/tmp/portage/media-gfx/librecad-2.1.3-r4/temp/build.log (build.log.lzma,27.86 KB, application/x-lzma)
2019-11-10 08:10 UTC, Erik
no flags Details
emerge --info '=media-gfx/librecad-2.1.3-r4::gentoo' (emerge --info,7.43 KB, text/plain)
2019-11-10 08:11 UTC, Erik
no flags Details
emerge -pqv '=media-gfx/librecad-2.1.3-r4::gentoo' (emerge -pqv,74 bytes, text/plain)
2019-11-10 08:11 UTC, Erik
no flags Details
/var/tmp/portage/media-gfx/librecad-2.1.3-r4/temp/environment (environment,65.09 KB, text/plain)
2019-11-10 08:12 UTC, Erik
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik 2019-11-10 08:06:43 UTC
/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
Comment 1 Erik 2019-11-10 08:10:58 UTC
Created attachment 595606 [details]
/var/tmp/portage/media-gfx/librecad-2.1.3-r4/temp/build.log
Comment 2 Erik 2019-11-10 08:11:37 UTC
Created attachment 595608 [details]
emerge --info '=media-gfx/librecad-2.1.3-r4::gentoo'
Comment 3 Erik 2019-11-10 08:11:58 UTC
Created attachment 595610 [details]
emerge -pqv '=media-gfx/librecad-2.1.3-r4::gentoo'
Comment 4 Erik 2019-11-10 08:12:29 UTC
Created attachment 595612 [details]
/var/tmp/portage/media-gfx/librecad-2.1.3-r4/temp/environment
Comment 5 Bob Johnson 2019-11-13 00:48:19 UTC
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
Comment 6 Gordon Pritchard 2020-01-17 17:27:22 UTC
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
Comment 7 John Blbec 2020-01-17 23:47:34 UTC
can't compile- the same error as above
Comment 8 Graham Young 2020-01-18 16:53:12 UTC
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
Comment 9 Jordi PM 2020-01-18 22:30:46 UTC
Patched in -r5, see bug 685906
Comment 10 onkobu 2020-01-19 16:35:16 UTC
Same error with -r4 for me, tried -r5, works. Thanks for fixing it that fast.
Comment 11 Larry the Git Cow gentoo-dev 2020-05-20 12:25:09 UTC
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(+)
Comment 12 Agostino Sarubbo gentoo-dev 2020-05-29 07:39:22 UTC
amd64 stable
Comment 13 Agostino Sarubbo gentoo-dev 2020-06-04 06:38:39 UTC
x86 stable. Closing.