Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 755311 - [science overlay] sci-biology/grappa-2.0 : fails to build with -fno-common or gcc-10
Summary: [science overlay] sci-biology/grappa-2.0 : fails to build with -fno-common or...
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 Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-11-18 17:03 UTC by Toralf Förster
Modified: 2021-02-20 23:26 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.78 KB, text/plain)
2020-11-18 17:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,22.43 KB, text/plain)
2020-11-18 17:03 UTC, Toralf Förster
Details
environment (environment,9.79 KB, text/plain)
2020-11-18 17:03 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.52 KB, application/x-bzip)
2020-11-18 17:03 UTC, Toralf Förster
Details
sci-biology:grappa-2.0:20201118-001535.log (sci-biology:grappa-2.0:20201118-001535.log,66.50 KB, text/plain)
2020-11-18 17:03 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,9.42 KB, application/x-bzip)
2020-11-18 17:03 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-11-18 17:03:12 UTC
      |                                  ^
gcc   -O3 -Wall -DGCC -DLinux -O2 -pipe -march=native -fno-diagnostics-color    -DINIT   -o grappa  convert.o labeltree.o main.o binencode.o gen_tree.o inittree.o circ_order.o lk_main.o bbtsp.o condense.o const_tree.o greedy_median.o invdist.o uf.o neighborj.o condense3.o getopt3.o randomBSD.o cheaptsp.o specialtsp.o specialinit.o read_input.o circular_ordering.o correction.o inversion_median.o inversion_median_alberto.o priority_stack.o hashtable.o med_util.o simpleio.o vertex_factory.o growTree.o bitvector.o lists.o sorting_reversal_median.o mythread_rwlock.o all_sorting_reversals.o   -lm -lc -lpthread 
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0x28): multiple definition of `id'; labeltree.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0x30): multiple definition of `genupd'; labeltree.o:(.bss+0x8): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl_science-20201116-220441

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm


  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Nov 18 12:06:23 AM UTC 2020
/var/db/repos/libressl	Sat Nov  7 03:06:11 PM UTC 2020

emerge -qpvO sci-biology/grappa
[ebuild  N    ] sci-biology/grappa-2.0
Comment 1 Toralf Förster gentoo-dev 2020-11-18 17:03:13 UTC
Created attachment 672268 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-11-18 17:03:15 UTC
Created attachment 672271 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-11-18 17:03:16 UTC
Created attachment 672274 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-11-18 17:03:17 UTC
Created attachment 672277 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-11-18 17:03:19 UTC
Created attachment 672280 [details]
sci-biology:grappa-2.0:20201118-001535.log
Comment 6 Toralf Förster gentoo-dev 2020-11-18 17:03:20 UTC
Created attachment 672283 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2021-02-20 23:26:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/sci.git/commit/?id=9abaa3304eb07a14b179b925cffd428a8ffd4681

commit 9abaa3304eb07a14b179b925cffd428a8ffd4681
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-20 20:52:34 +0000
Commit:     Jakov Smolic <jakov.smolic@sartura.hr>
CommitDate: 2021-02-20 21:57:41 +0000

    sci-biology/grappa: Apply gcc-10 workaround
    
    Closes: https://bugs.gentoo.org/755311
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>

 sci-biology/grappa/files/grappa-2.0-inline.patch | 18 ++++++++++++++++++
 sci-biology/grappa/grappa-2.0.ebuild             |  9 +++++++++
 2 files changed, 27 insertions(+)