-pipe -Wall -lm ./diag.o: In function `find_all_diags': diag.c:(.text+0x102c): undefined reference to `find_diags_dialign' ./diag.o: In function `old_find_all_diags': diag.c:(.text+0x1856): undefined reference to `find_diags_dialign' collect2: error: ld returned 1 exit status ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-plasma_20171130-223509 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.2.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python3.5 (fallback) [4] python2.7 (fallback) [5] pypy (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv sci-biology/dialign-tx [ebuild N ] sci-biology/dialign-tx-1.0.2-r1
Created attachment 508658 [details] emerge-info.txt
Created attachment 508660 [details] emerge-history.txt
Created attachment 508662 [details] environment
Created attachment 508664 [details] etc.portage.tbz2
Created attachment 508666 [details] sci-biology:dialign-tx-1.0.2-r1:20171207-002530.log
Created attachment 508668 [details] temp.tbz2
If I remove the "inline" from diag.c line 961 (just where find_diags_dialign is defined), then this links fine. This may have some relation to using a newer c as a standard, but I have not found compiler flags to get it to compile.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=470054f8e4bca944eff4bed8b471a088d2927a00 commit 470054f8e4bca944eff4bed8b471a088d2927a00 Author: David Seifert <soap@gentoo.org> AuthorDate: 2017-12-24 21:09:33 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2017-12-24 21:23:36 +0000 sci-biology/dialign-tx: Fix C99 inline semantics * Also port to EAPI 6 Closes: https://bugs.gentoo.org/640188 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sci-biology/dialign-tx/dialign-tx-1.0.2-r2.ebuild | 45 ++++++++++++++++++++++ .../files/dialign-tx-1.0.2-fix-build-system.patch | 24 ++++++++++++ .../files/dialign-tx-1.0.2-gnu89-inline.patch | 11 ++++++ .../files/dialign-tx-1.0.2-implicits.patch | 4 +- 4 files changed, 82 insertions(+), 2 deletions(-)