Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719612 - =dev-libs/gf2x-1.2: fails to build with -fno-common or gcc-10
Summary: =dev-libs/gf2x-1.2: fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-04-26 13:40 UTC by Michael Orlitzky
Modified: 2020-04-26 18:18 UTC (History)
0 users

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


Attachments
0001-src-tunetoom.c-delete-duplicate-definition-of-rp.patch (0001-src-tunetoom.c-delete-duplicate-definition-of-rp.patch,1.14 KB, patch)
2020-04-26 14:16 UTC, Michael Orlitzky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2020-04-26 13:40:58 UTC
The usual stuff:

/.libs/libgf2x.so -lm -Wl,-rpath -Wl,/var/tmp/portage/dev-libs/gf2x-1.2/work/gf2x-1.2/.libs
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: tuning-common.o: multiple definition of 'rp'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: tunetoom.o: previous definition here

There's also a gf2x-1.3 out that should be looked into.
Comment 1 Michael Orlitzky gentoo-dev 2020-04-26 14:16:38 UTC
Created attachment 634692 [details, diff]
0001-src-tunetoom.c-delete-duplicate-definition-of-rp.patch

This patch does the trick against git HEAD. I sent it upstream; if it's ACKed then I'll update to v1.3 and apply it.
Comment 2 Larry the Git Cow gentoo-dev 2020-04-26 18:18:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e663bd0db9b0cc1bdc6136bc392230f759a4d48

commit 2e663bd0db9b0cc1bdc6136bc392230f759a4d48
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2020-04-26 18:08:58 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2020-04-26 18:18:09 +0000

    dev-libs/gf2x: new version 1.3.0.
    
    Standard version bump along with some ebuild improvements:
    
      * EAPI=7.
      * Dropped the unused eutils and replaced the ltprune eclasses.
      * Added the new Gitlab instance to HOMEPAGE.
      * Added a GCC-10.x compatibility patch already merged upstream.
      * Updated the subslot to match the major soname component.
    
    Closes: https://bugs.gentoo.org/719612
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 dev-libs/gf2x/Manifest               |  1 +
 dev-libs/gf2x/files/fno-common.patch | 37 +++++++++++++++++++++++
 dev-libs/gf2x/gf2x-1.3.0.ebuild      | 57 ++++++++++++++++++++++++++++++++++++
 3 files changed, 95 insertions(+)