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

Bug 719198

Summary: media-libs/gegl-0.3.34 CFLAGS=-fno-common - ld: gcut-util.o:.../work/gegl-0.3.34/gcut/gcut.h:237: multiple definition of `_GeglEDL'; gcut.o:.../work/gegl-0.3.34/gcut/gcut.h:237: first defined here
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Sergey Torokhov <torokhov-s-a>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/15958
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: gegl-0.3.34-fno-common.patch

Description Jeroen Roovers (RETIRED) gentoo-dev 2020-04-24 07:51:51 UTC
Created attachment 634338 [details, diff]
gegl-0.3.34-fno-common.patch

/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: gcut-util.o:/home/jer/portage/media-libs/gegl-0.3.34/work/gegl-0.3.34/gcut/gcut.h:237: multiple definition of `_GeglEDL'; gcut.o:/home/jer/portage/media-libs/gegl-0.3.34/work/gegl-0.3.34/gcut/gcut.h:237: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: clip.o:/home/jer/portage/media-libs/gegl-0.3.34/work/gegl-0.3.34/gcut/gcut.h:237: multiple definition of `_GeglEDL'; gcut.o:/home/jer/portage/media-libs/gegl-0.3.34/work/gegl-0.3.34/gcut/gcut.h:237: first defined here
collect2: error: ld returned 1 exit status

0.4 and up do not need a patch.
Comment 1 Sergey Torokhov 2020-05-25 00:22:05 UTC
Thank you for the patch!
Comment 2 Larry the Git Cow gentoo-dev 2020-06-25 08:07:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=326f8fd1dfe00a5b424bf2e4b13f02441894a5a5

commit 326f8fd1dfe00a5b424bf2e4b13f02441894a5a5
Author:     Sergey Torokhov <torokhov-s-a@yandex.ru>
AuthorDate: 2020-05-25 00:33:53 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-06-25 08:07:41 +0000

    media-libs/gegl: 0.3.34, add gegl-0.3.34-fno-common.patch
    
    Closes: https://bugs.gentoo.org/719198
    
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-libs/gegl/files/gegl-0.3.34-fno-common.patch | 11 +++++++++++
 media-libs/gegl/gegl-0.3.34-r1.ebuild              |  1 +
 2 files changed, 12 insertions(+)