[Debian-astro-maintainers] Bug#957105: cpl-plugin-visir: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 11:58:15 BST 2020


Package: src:cpl-plugin-visir
Version: 4.3.8+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/cpl-plugin-visir_4.3.8+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: header.o:./swarp/src/prefs.h:168: multiple definition of `prefs'; back.o:./swarp/src/prefs.h:168: first defined here
/usr/bin/ld: header.o:./swarp/src/fits/fitscat.h:348: multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: interpolate.o:./swarp/src/globals.h:32: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: interpolate.o:./swarp/src/fits/fitscat.h:348: multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: main.o:./swarp/src/prefs.h:168: multiple definition of `prefs'; back.o:./swarp/src/prefs.h:168: first defined here
/usr/bin/ld: main.o:./swarp/src/globals.h:32: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: main.o:./swarp/src/fits/fitscat.h:348: multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: makeit.o:./swarp/src/prefs.h:168: multiple definition of `prefs'; back.o:./swarp/src/prefs.h:168: first defined here
/usr/bin/ld: makeit.o:./swarp/src/globals.h:32: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: makeit.o:./swarp/src/fits/fitscat.h:348: multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: misc.o:./swarp/src/globals.h:32: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: prefs.o:./swarp/src/globals.h:32: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: prefs.o:./swarp/src/prefs.h:168: multiple definition of `prefs'; back.o:./swarp/src/prefs.h:168: first defined here
/usr/bin/ld: prefs.o:./swarp/src/fits/fitscat.h:348: multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: projapprox.o:./swarp/src/globals.h:32: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: projapprox.o:./swarp/src/fits/fitscat.h:348: multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: resample.o:./swarp/src/prefs.h:168: multiple definition of `prefs'; back.o:./swarp/src/prefs.h:168: first defined here
/usr/bin/ld: resample.o:./swarp/src/resample.c:84: multiple definition of `iflag'; coadd.o:./swarp/src/coadd.c:80: first defined here
/usr/bin/ld: resample.o:./swarp/src/resample.c:81: multiple definition of `outibuf'; coadd.o:./swarp/src/coadd.c:76: first defined here
/usr/bin/ld: resample.o:./swarp/src/resample.c:81: multiple definition of `outwibuf'; coadd.o:./swarp/src/coadd.c:76: first defined here
/usr/bin/ld: resample.o:./swarp/src/resample.c:80: multiple definition of `outbuf'; coadd.o:./swarp/src/coadd.c:77: first defined here
/usr/bin/ld: resample.o:./swarp/src/resample.c:80: multiple definition of `outwbuf'; coadd.o:./swarp/src/coadd.c:77: first defined here
/usr/bin/ld: resample.o:./swarp/src/globals.h:32: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: resample.o:./swarp/src/resample.c:85: multiple definition of `padbuf'; coadd.o:./swarp/src/coadd.c:81: first defined here
/usr/bin/ld: resample.o:./swarp/src/fits/fitscat.h:348: multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: threads.o:./swarp/src/fits/fitscat.h:348: multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: threads.o:./swarp/src/globals.h:32: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: weight.o:./swarp/src/prefs.h:168: multiple definition of `prefs'; back.o:./swarp/src/prefs.h:168: first defined here
/usr/bin/ld: weight.o:./swarp/src/globals.h:32: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: weight.o:./swarp/src/fits/fitscat.h:348: multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: xml.o:./swarp/src/globals.h:32: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: xml.o:./swarp/src/prefs.h:168: multiple definition of `prefs'; back.o:./swarp/src/prefs.h:168: first defined here
/usr/bin/ld: xml.o:./swarp/src/fits/fitscat.h:348: multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitsbody.o):(.bss+0x20): multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitsbody.o):./swarp/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitscat.o):./swarp/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitscat.o):(.bss+0x0): multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitscleanup.o):./swarp/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitscleanup.o):(.bss+0x18): multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitshead.o):./swarp/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitshead.o):(.bss+0x0): multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitsmisc.o):(.bss+0x0): multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitsmisc.o):./swarp/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitsread.o):./swarp/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitsread.o):(.bss+0xb40): multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitsread.o):./swarp/src/fits/fitsread.c:41: multiple definition of `padbuf'; coadd.o:./swarp/src/coadd.c:81: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitstab.o):./swarp/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitstab.o):(.bss+0x0): multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitsutil.o):(.bss+0x0): multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitsutil.o):./swarp/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitscheck.o):(.bss+0x0): multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitscheck.o):./swarp/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitskey.o):./swarp/src/fits/fitscat_defs.h:89: multiple definition of `gstr'; back.o:./swarp/src/globals.h:32: first defined here
/usr/bin/ld: ../src/fits/libfits.a(fitskey.o):(.bss+0x0): multiple definition of `bswapflag'; back.o:./swarp/src/fits/fitscat.h:348: first defined here
collect2: error: ld returned 1 exit status
make[6]: *** [Makefile:450: swarp] Error 1
make[6]: Leaving directory '/<<PKGBUILDDIR>>/swarp/src'
make[5]: *** [Makefile:502: all-recursive] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/swarp/src'
make[4]: *** [Makefile:478: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/swarp'
make[3]: *** [Makefile:396: all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/swarp'
make[2]: *** [Makefile:525: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:433: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:14: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debian-astro-maintainers mailing list