Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707468 - sci-astronomy/sextractor-2.19.5-r1 : fails to build with -fno-common or gcc-10
Summary: sci-astronomy/sextractor-2.19.5-r1 : 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:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-30 19:24 UTC by Toralf Förster
Modified: 2020-10-04 13:23 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.35 KB, text/plain)
2020-01-30 19:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,222.62 KB, text/plain)
2020-01-30 19:24 UTC, Toralf Förster
Details
environment (environment,59.38 KB, text/plain)
2020-01-30 19:24 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.16 KB, application/x-bzip)
2020-01-30 19:24 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.38 KB, application/x-bzip)
2020-01-30 19:24 UTC, Toralf Förster
Details
sci-astronomy:sextractor-2.19.5-r1:20200130-120513.log (sci-astronomy:sextractor-2.19.5-r1:20200130-120513.log,239.50 KB, text/plain)
2020-01-30 19:24 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.40 KB, application/x-bzip)
2020-01-30 19:24 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-01-30 19:24:04 UTC
  180 |      sprintf(gstr, #ptr " (" #nel "=%lld elements) " \
      |                     ^~~
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o sex analyse.o assoc.o astrom.o back.o bpro.o catout.o check.o clean.o extract.o  field.o filter.o fitswcs.o flag.o graph.o growth.o header.o image.o interpolate.o main.o makeit.o manobjlist.o misc.o neurro.o  pc.o photom.o plist.o prefs.o  psf.o readimage.o refine.o retina.o scan.o som.o weight.o winpos.o xml.o ./fits/libfits.a ./wcs/libwcs_c.a   -lm 
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o sex analyse.o assoc.o astrom.o back.o bpro.o catout.o check.o clean.o extract.o field.o filter.o fitswcs.o flag.o graph.o growth.o header.o image.o interpolate.o main.o makeit.o manobjlist.o misc.o neurro.o pc.o photom.o plist.o prefs.o psf.o readimage.o refine.o retina.o scan.o som.o weight.o winpos.o xml.o  ./fits/libfits.a ./wcs/libwcs_c.a -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: assoc.o:(.bss+0x20e0): multiple definition of `gstr'; analyse.o:(.bss+0x2180): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: assoc.o:(.bss+0x0): multiple definition of `prefs'; analyse.o:(.bss+0xa0): first defined here

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

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

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

  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.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

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

emerge -qpvO sci-astronomy/sextractor
[ebuild  N    ] sci-astronomy/sextractor-2.19.5-r1  USE="-doc -modelfit -test -threads"
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:24:07 UTC
Created attachment 609118 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:24:10 UTC
Created attachment 609120 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:24:12 UTC
Created attachment 609122 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:24:16 UTC
Created attachment 609124 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:24:19 UTC
Created attachment 609126 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:24:22 UTC
Created attachment 609128 [details]
sci-astronomy:sextractor-2.19.5-r1:20200130-120513.log
Comment 7 Toralf Förster gentoo-dev 2020-01-30 19:24:25 UTC
Created attachment 609130 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-10-04 13:23:43 UTC
The bug has been closed via the following commit(s):

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

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

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

 .../files/sextractor-2.19.5-fno-common.patch       | 277 +++++++++++++++++++++
 .../sextractor/sextractor-2.19.5-r1.ebuild         |  64 ++---
 2 files changed, 311 insertions(+), 30 deletions(-)