Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 685906

Summary: media-gfx/librecad-2.1.3-r4 - 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 h
Product: Gentoo Linux Reporter: lekto
Component: Current packagesAssignee: SÅ‚awek Lis (RETIRED) <slis>
Status: RESOLVED FIXED    
Severity: normal CC: ab4bd, kkrizka, M4rkusXXL
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/LibreCAD/LibreCAD/pull/1125
See Also: https://bugs.gentoo.org/show_bug.cgi?id=699716
https://bugs.gentoo.org/show_bug.cgi?id=685044
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log.bz2

Description lekto 2019-05-13 20:59:52 UTC
Created attachment 576512 [details]
emerge --info

>/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.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.1.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.1.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.1.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.1.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
Comment 1 lekto 2019-05-13 21:02:06 UTC
Created attachment 576514 [details]
build.log.bz2
Comment 2 Michael 'veremitz' Everitt 2019-06-30 13:36:12 UTC
WIP at https://github.com/LibreCAD/LibreCAD/pull/1125 .
Comment 3 Larry the Git Cow gentoo-dev 2019-08-15 19:47:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=431e3685b3b65d0660a958fbee48dd2b42196b75

commit 431e3685b3b65d0660a958fbee48dd2b42196b75
Author:     Slawomir Lis <slis@gentoo.org>
AuthorDate: 2019-08-15 19:38:16 +0000
Commit:     Slawomir Lis <slis@gentoo.org>
CommitDate: 2019-08-15 19:38:16 +0000

    media-gfx/librecad: Patch for compilation errors with gcc-9
    
    Merged commit d0a0ef284b7fcc5c0d65b92c30855f62b637653f from librecad repo
    
    Closes: https://bugs.gentoo.org/685906
    Package-Manager: Portage-2.3.71, Repoman-2.3.16
    Signed-off-by: Slawek Lis <slis@gentoo.org>

 .../librecad/files/librecad-2.1.3-gcc-9.patch      | 209 +++++++++++++++++++++
 media-gfx/librecad/librecad-2.1.3-r5.ebuild        |  51 +++++
 2 files changed, 260 insertions(+)