[Debian-astro-maintainers] Bug#957778: scamp: ftbfs with GCC-10
Matthias Klose
doko at debian.org
Fri Apr 17 12:10:25 BST 2020
Package: src:scamp
Version: 2.0.4+dfsg-1
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/scamp_2.0.4+dfsg-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.
To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html
[...]
/usr/bin/ld: merge.o:./src/fits/fitscat.h:336: multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: misc.o:./src/globals.h:32: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: mosaic.o:./src/prefs.h:246: multiple definition of `prefs'; astrefcat.o:./src/prefs.h:246: first defined here
/usr/bin/ld: mosaic.o:./src/globals.h:32: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: mosaic.o:./src/mosaic.c:69: multiple definition of `pthread_startgate'; astrsolve.o:./src/astrsolve.c:79: first defined here
/usr/bin/ld: mosaic.o:./src/mosaic.c:72: multiple definition of `pthread_endflag'; astrsolve.o:./src/astrsolve.c:84: first defined here
/usr/bin/ld: mosaic.o:./src/mosaic.c:73: multiple definition of `pthread_sindex'; astrsolve.o:./src/astrsolve.c:85: first defined here
/usr/bin/ld: mosaic.o:./src/mosaic.c:72: multiple definition of `pthread_nfield'; field.o:./src/field.c:59: first defined here
/usr/bin/ld: mosaic.o:./src/mosaic.c:70: multiple definition of `pthread_fields'; field.o:./src/field.c:57: first defined here
/usr/bin/ld: mosaic.o:./src/mosaic.c:69: multiple definition of `pthread_stopgate'; astrsolve.o:./src/astrsolve.c:79: first defined here
/usr/bin/ld: mosaic.o:./src/threads.h:132: multiple definition of `nproc'; astrsolve.o:./src/threads.h:132: first defined here
/usr/bin/ld: mosaic.o:./src/mosaic.c:67: multiple definition of `thread'; astrsolve.o:./src/astrsolve.c:76: first defined here
/usr/bin/ld: mosaic.o:./src/fits/fitscat.h:336: multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: photsolve.o:./src/prefs.h:246: multiple definition of `prefs'; astrefcat.o:./src/prefs.h:246: first defined here
/usr/bin/ld: photsolve.o:./src/globals.h:32: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: photsolve.o:./src/fits/fitscat.h:336: multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: prefs.o:./src/globals.h:32: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: prefs.o:./src/prefs.h:246: multiple definition of `prefs'; astrefcat.o:./src/prefs.h:246: first defined here
/usr/bin/ld: prefs.o:./src/fits/fitscat.h:336: multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: proper.o:./src/prefs.h:246: multiple definition of `prefs'; astrefcat.o:./src/prefs.h:246: first defined here
/usr/bin/ld: proper.o:./src/globals.h:32: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: proper.o:./src/threads.h:132: multiple definition of `nproc'; astrsolve.o:./src/threads.h:132: first defined here
/usr/bin/ld: proper.o:./src/fits/fitscat.h:336: multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: samples.o:./src/samples.c:60: multiple definition of `sort_coord'; match.o:./src/match.c:85: first defined here
/usr/bin/ld: samples.o:./src/globals.h:32: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: samples.o:./src/prefs.h:246: multiple definition of `prefs'; astrefcat.o:./src/prefs.h:246: first defined here
/usr/bin/ld: samples.o:./src/threads.h:132: multiple definition of `nproc'; astrsolve.o:./src/threads.h:132: first defined here
/usr/bin/ld: samples.o:./src/fits/fitscat.h:336: multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: threads.o:./src/globals.h:32: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: threads.o:./src/fits/fitscat.h:336: multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: threads.o:./src/threads.h:132: multiple definition of `nproc'; astrsolve.o:./src/threads.h:132: first defined here
/usr/bin/ld: xml.o:./src/prefs.h:246: multiple definition of `prefs'; astrefcat.o:./src/prefs.h:246: first defined here
/usr/bin/ld: xml.o:./src/globals.h:32: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: xml.o:./src/fits/fitscat.h:336: multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: ./fits/libfits.a(fitscat.o):./src/fits/fitscat_defs.h:89: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: ./fits/libfits.a(fitscat.o):(.bss+0x0): multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: ./fits/libfits.a(fitsconv.o):./src/fits/fitscat_defs.h:89: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: ./fits/libfits.a(fitsconv.o):(.bss+0x0): multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: ./fits/libfits.a(fitshead.o):./src/fits/fitscat_defs.h:89: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: ./fits/libfits.a(fitshead.o):(.bss+0x0): multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: ./fits/libfits.a(fitskey.o):./src/fits/fitscat_defs.h:89: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: ./fits/libfits.a(fitskey.o):(.bss+0x0): multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: ./fits/libfits.a(fitsmisc.o):(.bss+0x0): multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: ./fits/libfits.a(fitsmisc.o):./src/fits/fitscat_defs.h:89: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: ./fits/libfits.a(fitsread.o):./src/fits/fitscat_defs.h:89: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: ./fits/libfits.a(fitsread.o):(.bss+0xb40): multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: ./fits/libfits.a(fitstab.o):./src/fits/fitscat_defs.h:89: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: ./fits/libfits.a(fitstab.o):(.bss+0x0): multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: ./fits/libfits.a(fitsutil.o):(.bss+0x0): multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: ./fits/libfits.a(fitsutil.o):./src/fits/fitscat_defs.h:89: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: ./fits/libfits.a(fitswrite.o):(.bss+0x0): multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: ./fits/libfits.a(fitswrite.o):./src/fits/fitscat_defs.h:89: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: ./fits/libfits.a(fitsbody.o):(.bss+0x20): multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: ./fits/libfits.a(fitsbody.o):./src/fits/fitscat_defs.h:89: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: ./fits/libfits.a(fitscheck.o):(.bss+0x0): multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
/usr/bin/ld: ./fits/libfits.a(fitscheck.o):./src/fits/fitscat_defs.h:89: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: ./fits/libfits.a(fitscleanup.o):./src/fits/fitscat_defs.h:89: multiple definition of `gstr'; astrefcat.o:./src/globals.h:32: first defined here
/usr/bin/ld: ./fits/libfits.a(fitscleanup.o):(.bss+0x18): multiple definition of `bswapflag'; astrefcat.o:./src/fits/fitscat.h:336: first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:523: scamp] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:599: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:521: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:430: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:5: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Debian-astro-maintainers
mailing list