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

Bug 707528

Summary: sci-astronomy/missfits-2.8.0 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Astronomy project <sci-astronomy>
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
logs.tbz2
sci-astronomy:missfits-2.8.0:20200130-202252.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-30 21:27:43 UTC
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -O2 -pipe -march=native -fno-common -c process.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..     -O2 -pipe -march=native -fno-common -c xml.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o missfits custom.o file.o fitswcs.o main.o makeit.o prefs.o process.o xml.o ../src/fits/libfits.a ../src/wcs/libwcs_c.a -lm 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: file.o:(.bss+0x0): multiple definition of `prefs'; custom.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: file.o:(.bss+0x510a0): multiple definition of `gstr'; custom.o:(.bss+0x510a0): first defined here

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

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

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

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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 30 Jan 2020 19:46:24 +0000

emerge -qpvO sci-astronomy/missfits
[ebuild  N    ] sci-astronomy/missfits-2.8.0  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2020-01-30 21:27:46 UTC
Created attachment 609416 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 21:27:49 UTC
Created attachment 609418 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 21:27:52 UTC
Created attachment 609420 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 21:27:54 UTC
Created attachment 609422 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 21:27:58 UTC
Created attachment 609424 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 21:28:00 UTC
Created attachment 609426 [details]
sci-astronomy:missfits-2.8.0:20200130-202252.log
Comment 7 Toralf Förster gentoo-dev 2020-01-30 21:28:03 UTC
Created attachment 609428 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-10-04 13:23:42 UTC
The bug has been closed via the following commit(s):

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

commit 889e3d4327c8d5e88412da05ad2f9bb73164aec6
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-10-04 13:21:22 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-04 13:21:22 +0000

    sci-astronomy/missfits: Fix -fno-common
    
    Closes: https://bugs.gentoo.org/707528
    Closes: https://bugs.gentoo.org/725298
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../missfits/files/missfits-2.8.0-fno-common.patch | 65 ++++++++++++++++++++++
 .../files/missfits-2.8.0-run-AM_PROG_AR.patch      | 10 ++++
 sci-astronomy/missfits/missfits-2.8.0.ebuild       | 20 +++++--
 3 files changed, 89 insertions(+), 6 deletions(-)