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

Bug 707842

Summary: sci-biology/seaview-4.6 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Biology related packages <sci-biology>
Status: RESOLVED FIXED    
Severity: normal    
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
sci-biology:seaview-4.6:20200201-230151.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-02 04:11:41 UTC
csrc/phyml_util.c:47:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
   47 |  fscanf(stdin,"%c",&c);
      |  ^~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-g++ -o seaview  -Wl,-O1 -Wl,--as-needed seaview.o custom.o use_mase_files.o regions.o load_seq.o align.o xfmatpt.o comlines.o resource.o nexus.o viewasprots.o racnuc_fetch.o concatenate.o statistics.o trees.o treedraw.o addbootstrap.o least_squares_brl.o pseudoterminal.o unrooted.o pdf_or_ps.o svg.o threads.o Fl_Native_File_Chooser_FLTK.o raa_acnuc.o parser.o md5.o zsockr.o misc_acnuc.o dnapars.o protpars.o seq.o phylip.o lwl.o bionj.o phyml_util.o  `fltk-config --use-images --ldflags` -ldl -lpthread -lz 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dnapars.o:(.bss+0x0): multiple definition of `progname'; seaview.o:(.data.rel.local+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: protpars.o:(.bss+0x2420): multiple definition of `chars'; dnapars.o:(.bss+0x20d0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20200126-104546

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

  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.7
  [3]   python3.6
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK JRE 8.242_p08 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 01 Feb 2020 21:29:19 +0000

emerge -qpvO sci-biology/seaview
[ebuild  N    ] sci-biology/seaview-4.6  USE="xft"
Comment 1 Toralf Förster gentoo-dev 2020-02-02 04:11:44 UTC
Created attachment 610754 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-02 04:11:47 UTC
Created attachment 610756 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-02 04:11:50 UTC
Created attachment 610758 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-02 04:11:53 UTC
Created attachment 610760 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-02 04:11:56 UTC
Created attachment 610762 [details]
sci-biology:seaview-4.6:20200201-230151.log
Comment 6 Toralf Förster gentoo-dev 2020-02-02 04:12:00 UTC
Created attachment 610764 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-11-01 18:36:47 UTC
The bug has been closed via the following commit(s):

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

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

    sci-biology/seaview: Port to EAPI 7
    
    * Fix building against GCC 10 / -fno-common
    * Fix building against Clang
    
    Closes: https://bugs.gentoo.org/707842
    Closes: https://bugs.gentoo.org/741198
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...eaview-4.6-Wreserved-user-defined-literal.patch |  76 ++++++++++++++
 .../seaview/files/seaview-4.6-fno-common.patch     | 110 +++++++++++++++++++++
 .../{seaview-4.6.ebuild => seaview-4.6-r1.ebuild}  |  29 +++---
 3 files changed, 203 insertions(+), 12 deletions(-)