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

Bug 755770

Summary: [science overlay] sci-biology/rnaplex-0.2 : 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:rnaplex-0.2:20201120-032223.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-11-20 15:54:51 UTC
RNAplex.c:1412:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1412 |     fread(access[count],sizeof(int),(end-beg)+1,fp); //read the needed number of accessibility values
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-diagnostics-color   -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o RNAplex RNAplex.o ../lib/libRNAplex.a -lm 
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/libRNAplex.a(libRNAplex_a-subopt.o):(.bss+0x0): multiple definition of `FcM'; ../lib/libRNAplex.a(libRNAplex_a-fold.o):(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/libRNAplex.a(libRNAplex_a-subopt.o):(.bss+0x4): multiple definition of `FcI'; ../lib/libRNAplex.a(libRNAplex_a-fold.o):(.bss+0x4): 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	Fri Nov 20 02:35:36 AM UTC 2020
/var/db/repos/libressl	Sat Nov  7 03:06:11 PM UTC 2020

emerge -qpvO sci-biology/rnaplex
[ebuild  N    ] sci-biology/rnaplex-0.2
Comment 1 Toralf Förster gentoo-dev 2020-11-20 15:54:53 UTC
Created attachment 673612 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-11-20 15:54:54 UTC
Created attachment 673615 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-11-20 15:54:55 UTC
Created attachment 673618 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-11-20 15:54:57 UTC
Created attachment 673621 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-11-20 15:54:58 UTC
Created attachment 673624 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-11-20 15:54:59 UTC
Created attachment 673627 [details]
sci-biology:rnaplex-0.2:20201120-032223.log
Comment 7 Toralf Förster gentoo-dev 2020-11-20 15:55:00 UTC
Created attachment 673630 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-02-20 23:26:10 UTC
The bug has been closed via the following commit(s):

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

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

    sci-biology/rnaplex: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/755770
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>

 sci-biology/rnaplex/files/rnaplex-0.2-inline.patch | 14 ++++++++++++++
 sci-biology/rnaplex/rnaplex-0.2.ebuild             | 17 ++++++++++++-----
 2 files changed, 26 insertions(+), 5 deletions(-)