Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 755539

Summary: [science overlay] sci-biology/subread-1.4.6 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: sci-biology
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sci-biology:subread-1.4.6:20201119-104739.log

Description Toralf Förster gentoo-dev 2020-11-19 13:10:49 UTC
      |               ^~~~~~
readSummary.c:2707:7: warning: variable ‘curchr’ set but not used [-Wunused-but-set-variable]
 2707 |  long curchr, curpos;
      |       ^~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: core.o:/var/tmp/portage/sci-biology/subread-1.4.6/work/subread-1.4.6-source/src/gene-algorithms.h:63: multiple definition of `replica_index'; /var/tmp/portage/sci-biology/subread-1.4.6/temp/ccHgWVyy.o:/var/tmp/portage/sci-biology/subread-1.4.6/work/subread-1.4.6-source/src/gene-algorithms.h:63: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: core-junction.o:/var/tmp/portage/sci-biology/subread-1.4.6/work/subread-1.4.6-source/src/gene-algorithms.h:63: multiple definition of `replica_index'; /var/tmp/portage/sci-biology/subread-1.4.6/temp/ccHgWVyy.o:/var/tmp/portage/sci-biology/subread-1.4.6/work/subread-1.4.6-source/src/gene-algorithms.h:63: 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

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Nov 19 10:05:40 AM UTC 2020
/var/db/repos/libressl	Sat Nov  7 03:06:11 PM UTC 2020

emerge -qpvO sci-biology/subread
[ebuild  N    ] sci-biology/subread-1.4.6
Comment 1 Toralf Förster gentoo-dev 2020-11-19 13:10:51 UTC
Created attachment 673084 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-11-19 13:10:52 UTC
Created attachment 673087 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-11-19 13:10:54 UTC
Created attachment 673090 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-11-19 13:10:55 UTC
Created attachment 673093 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-11-19 13:10:57 UTC
Created attachment 673096 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-11-19 13:10:58 UTC
Created attachment 673099 [details]
sci-biology:subread-1.4.6:20201119-104739.log
Comment 7 Larry the Git Cow gentoo-dev 2021-02-20 23:26:12 UTC
The bug has been closed via the following commit(s):

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

commit c2bedc8fe20d87568f4a7503474e355006693c1e
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-20 21:08:45 +0000
Commit:     Jakov Smolic <jakov.smolic@sartura.hr>
CommitDate: 2021-02-20 21:57:41 +0000

    sci-biology/subread: Fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/755539
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>

 sci-biology/subread/files/subread-2.0.1-fno-common.patch | 11 +++++++++++
 sci-biology/subread/subread-2.0.1.ebuild                 | 13 ++++---------
 2 files changed, 15 insertions(+), 9 deletions(-)