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.
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.
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(+)