[Debian-astro-maintainers] Bug#957558: montage: ftbfs with GCC-10
Matthias Klose
doko at debian.org
Fri Apr 17 12:06:28 BST 2020
Package: src:montage
Version: 6.0+dfsg-6
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/montage_6.0+dfsg-6_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
[...]
cp www.h ../../include
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib/src/www'
(cd two_plane_v1.1 && make && make install)
make[4]: Entering directory '/<<PKGBUILDDIR>>/lib/src/two_plane_v1.1'
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -ansi -I. -I../../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/wcstools -I/usr/include/freetype2 -c -o two_plane.o two_plane.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -ansi -I. -I../../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/wcstools -I/usr/include/freetype2 -c -o distort.o distort.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -ansi -I. -I../../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/wcstools -I/usr/include/freetype2 -c -o initdistdata.o initdistdata.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -ansi -I. -I../../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/wcstools -I/usr/include/freetype2 -c -o undistort.o undistort.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -ansi -I. -I../../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/wcstools -I/usr/include/freetype2 -c -o redefine_pointing.o redefine_pointing.c
In file included from /usr/include/string.h:495,
from redefine_pointing.c:3:
In function ‘strncpy’,
inlined from ‘replace_keyword’ at redefine_pointing.c:307:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
redefine_pointing.c: In function ‘replace_keyword’:
redefine_pointing.c:306:18: note: length computed here
306 | total_length = strlen(char_value);
| ^~~~~~~~~~~~~~~~~~
ar rv libtwoplane.a two_plane.o distort.o initdistdata.o \
undistort.o redefine_pointing.o
ar: creating libtwoplane.a
a - two_plane.o
a - distort.o
a - initdistdata.o
a - undistort.o
a - redefine_pointing.o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib/src/two_plane_v1.1'
make[4]: Entering directory '/<<PKGBUILDDIR>>/lib/src/two_plane_v1.1'
cp libtwoplane.a ../..
cp two_plane.h distort.h ../../include
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib/src/two_plane_v1.1'
(cd lodepng_20140823 && make && make install)
make[4]: Entering directory '/<<PKGBUILDDIR>>/lib/src/lodepng_20140823'
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -ansi -I. -I../../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/wcstools -I/usr/include/freetype2 -c -o lodepng.o lodepng.c
ar rv liblodepng.a lodepng.o
ar: creating liblodepng.a
a - lodepng.o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib/src/lodepng_20140823'
make[4]: Entering directory '/<<PKGBUILDDIR>>/lib/src/lodepng_20140823'
cp liblodepng.a ../..
cp lodepng.h ../../include
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib/src/lodepng_20140823'
(cd .. && ranlib *.a)
chmod 644 ../include/*.h
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib/src'
test -d Montage && (cd Montage && ./Configure.sh && make && make install)
OS: Linux
make[3]: Entering directory '/<<PKGBUILDDIR>>/Montage'
make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/wcstools -I/usr/include/freetype2 -c mConvert.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/wcstools -I/usr/include/freetype2 -c debugCheck.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/wcstools -I/usr/include/freetype2 -c checkHdr.c
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I. -I../lib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/wcstools -I/usr/include/freetype2 -c checkWCS.c
gcc -o mConvert mConvert.o debugCheck.o checkHdr.o \
checkWCS.o -Wl,-z,relro -L../lib -lwcstools -lcfitsio -lcoord -lmtbl -lsvc -lwww -lboundaries -lpixbounds -ltwoplane -lm
/usr/bin/ld: debugCheck.o:./Montage/montage.h:2: multiple definition of `fstatus'; mConvert.o:./Montage/montage.h:2: first defined here
/usr/bin/ld: checkHdr.o:./Montage/montage.h:2: multiple definition of `fstatus'; mConvert.o:./Montage/montage.h:2: first defined here
/usr/bin/ld: checkWCS.o:./Montage/montage.h:2: multiple definition of `fstatus'; mConvert.o:./Montage/montage.h:2: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:114: mConvert] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Montage'
make[2]: *** [Makefile:8: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Debian-astro-maintainers
mailing list