Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719198 - 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
Summary: media-libs/gegl-0.3.34 CFLAGS=-fno-common - ld: gcut-util.o:.../work/gegl-0.3...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-04-24 07:51 UTC by Jeroen Roovers (RETIRED)
Modified: 2020-06-25 08:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gegl-0.3.34-fno-common.patch (gegl-0.3.34-fno-common.patch,184 bytes, patch)
2020-04-24 07:51 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)