Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708534 - sci-biology/newick-utils-1.6 : fails to build with -fno-common or gcc-10
Summary: sci-biology/newick-utils-1.6 : 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 Biology related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-06 22:25 UTC by Toralf Förster
Modified: 2020-11-01 18:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.02 KB, text/plain)
2020-02-06 22:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,127.43 KB, text/plain)
2020-02-06 22:25 UTC, Toralf Förster
Details
environment (environment,14.58 KB, text/plain)
2020-02-06 22:25 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.21 KB, application/x-bzip)
2020-02-06 22:25 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,19.38 KB, application/x-bzip)
2020-02-06 22:26 UTC, Toralf Förster
Details
sci-biology:newick-utils-1.6:20200206-084750.log (sci-biology:newick-utils-1.6:20200206-084750.log,25.17 KB, text/plain)
2020-02-06 22:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.75 KB, application/x-bzip)
2020-02-06 22:26 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-06 22:25:46 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/include/libxml2    -O2 -pipe -march=native -fno-common -c tree_editor.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/include/libxml2    -O2 -pipe -march=native -fno-common -c enode.c
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o nw_ed address_scanner.o address_parser.o tree_editor.o enode.o -lm libnw.la -llua -lxml2 -lm 
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o .libs/nw_ed address_scanner.o address_parser.o tree_editor.o enode.o  ./.libs/libnw.so /usr/lib64//liblua.so -ldl -lxml2 -lm -Wl,-rpath -Wl,/usr/lib64/
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tree_editor.o:(.bss+0x8): multiple definition of `address_parser_status'; address_parser.o:(.bss+0x18): first defined here
collect2: error: ld returned 1 exit status

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-abi32+64-20200203-051815

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 06 Feb 2020 07:48:50 +0000

emerge -qpvO sci-biology/newick-utils
[ebuild  N    ] sci-biology/newick-utils-1.6
Comment 1 Toralf Förster gentoo-dev 2020-02-06 22:25:50 UTC
Created attachment 612286 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-06 22:25:53 UTC
Created attachment 612288 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-06 22:25:55 UTC
Created attachment 612290 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-06 22:25:58 UTC
Created attachment 612292 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-06 22:26:01 UTC
Created attachment 612294 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-06 22:26:04 UTC
Created attachment 612296 [details]
sci-biology:newick-utils-1.6:20200206-084750.log
Comment 7 Toralf Förster gentoo-dev 2020-02-06 22:26:07 UTC
Created attachment 612298 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-01 18:36:59 UTC
The bug has been closed via the following commit(s):

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

commit f812704e44f3d927dd47f3901c59ee7716adefd0
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-01 18:36:11 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-01 18:36:11 +0000

    sci-biology/newick-utils: Port to EAPI 7
    
    * Don't build static libraries by default
    * Fix GCC 10 / -fno-common
    * Disable automagic guile and lua
    
    Closes: https://bugs.gentoo.org/708534
    Closes: https://bugs.gentoo.org/712312
    Closes: https://bugs.gentoo.org/727986
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/newick-utils-1.6-deduplicate-libnw.patch | 153 +++++++++++++++++++++
 .../files/newick-utils-1.6-fno-common.patch        |  41 ++++++
 sci-biology/newick-utils/metadata.xml              |  11 +-
 .../newick-utils/newick-utils-1.6-r1.ebuild        |  44 ++++++
 sci-biology/newick-utils/newick-utils-1.6.ebuild   |  20 ---
 5 files changed, 245 insertions(+), 24 deletions(-)