Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708396 - sci-astronomy/montage-5.0 : fails to build with -fno-common or gcc-10
Summary: sci-astronomy/montage-5.0 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Astronomy project
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-05 19:27 UTC by Toralf Förster
Modified: 2021-02-27 04:42 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.19 KB, text/plain)
2020-02-05 19:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,113.41 KB, text/plain)
2020-02-05 19:27 UTC, Toralf Förster
Details
environment (environment,76.89 KB, text/plain)
2020-02-05 19:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.39 KB, application/x-bzip)
2020-02-05 19:27 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.40 KB, application/x-bzip)
2020-02-05 19:27 UTC, Toralf Förster
Details
sci-astronomy:montage-5.0:20200205-191802.log (sci-astronomy:montage-5.0:20200205-191802.log,19.06 KB, text/plain)
2020-02-05 19:27 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.26 KB, application/x-bzip)
2020-02-05 19:27 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-02-05 19:27:12 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/wcs  -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99  -c  checkHdr.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I/usr/include/wcs  -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99  -c  checkWCS.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o mAdd mAdd.o filePath.o debugCheck.o checkHdr.o \
	checkWCS.o -L../lib -lwcstools  -lcfitsio -lm -lbz2 -lz  -lcoord -lmtbl -lsvc -lwww -lboundaries -lpixbounds -ltwoplane  -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: debugCheck.o:(.bss+0x0): multiple definition of `fstatus'; mAdd.o:(.bss+0x3e0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: checkHdr.o:(.bss+0x880): multiple definition of `fstatus'; mAdd.o:(.bss+0x3e0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-libressl-20200203-131554

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

  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)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 05 Feb 2020 18:52:51 +0000

emerge -qpvO sci-astronomy/montage
[ebuild  N    ] sci-astronomy/montage-5.0  USE="-doc -mpi"
Comment 1 Toralf Förster gentoo-dev 2020-02-05 19:27:15 UTC
Created attachment 611986 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-05 19:27:18 UTC
Created attachment 611988 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-05 19:27:20 UTC
Created attachment 611990 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-05 19:27:23 UTC
Created attachment 611992 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-05 19:27:26 UTC
Created attachment 611994 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-05 19:27:30 UTC
Created attachment 611996 [details]
sci-astronomy:montage-5.0:20200205-191802.log
Comment 7 Toralf Förster gentoo-dev 2020-02-05 19:27:32 UTC
Created attachment 611998 [details]
temp.tbz2
Comment 8 Ștefan Talpalaru 2020-07-26 20:28:43 UTC
A working montage-5.0-r1 is available in my overlay: https://github.com/stefantalpalaru/gentoo-overlay
Comment 9 Larry the Git Cow gentoo-dev 2021-02-27 04:42:01 UTC
The bug has been closed via the following commit(s):

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

commit e8c2408f77fc7284593b0260a62b8998438afb51
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-02-27 04:20:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-27 04:20:19 +0000

    sci-astronomy/montage: fix gcc 10 (-fno-common) build
    
    Closes: https://bugs.gentoo.org/708396
    Package-Manager: Portage-3.0.15, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-astronomy/montage/montage-5.0.ebuild | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)