[Debian-astro-maintainers] Bug#957177: eso-midas: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 11:59:37 BST 2020


Package: src:eso-midas
Version: 19.02pl1.1-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/eso-midas_19.02pl1.1-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

[...]
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
callback.c: In function ‘MainStandardCallback’:
callback.c:136:23: warning: ‘%s’ directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=]
  136 |     sprintf(s, "%s %s %s", C_COPY_IMA, object, ref);
      |                       ^~                       ~~~
In file included from /usr/include/stdio.h:867,
                 from callback.c:39:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 11 or more bytes (assuming 138) into a destination of size 128
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
callback.c: In function ‘MainObjectCallback’:
callback.c:168:23: warning: ‘%s’ directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=]
  168 |     sprintf(s, "%s %s %s", C_COPY_IMA, object, ref);
      |                       ^~                       ~~~
In file included from /usr/include/stdio.h:867,
                 from callback.c:39:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 11 or more bytes (assuming 138) into a destination of size 128
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -Wl,-z,relro XIrspec.o MainShell.o CalibShell.o file_list.o FluxShell.o SessionShell.o ExtractShell.o HelpShell.o StandardShell.o MergeShell.o FluxTableShell.o  midasutil.o cb_list.o help.o file.o callback.o   -L../../lib -luimx -lcom -L/<<PKGBUILDDIR>>/19FEB/lib -lxcon -lmidas     -lXm -lXt -lX11  -lm -Wl,-rpath,/usr/lib/eso-midas/19FEB/lib -o ../../exec/irspec.exe
/usr/bin/ld: /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(xcc.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:37: multiple definition of `BKMIDAS'; /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(xcx.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:37: first defined here
/usr/bin/ld: /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(xcc.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:50: multiple definition of `XCONNECT'; /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(xcx.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:50: first defined here
/usr/bin/ld: /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(consubs.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:37: multiple definition of `BKMIDAS'; /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(xcx.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:37: first defined here
/usr/bin/ld: /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(consubs.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:50: multiple definition of `XCONNECT'; /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(xcx.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:50: first defined here
/usr/bin/ld: /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(consubsa.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:50: multiple definition of `XCONNECT'; /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(xcx.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:50: first defined here
/usr/bin/ld: /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(consubsa.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:37: multiple definition of `BKMIDAS'; /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(xcx.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:37: first defined here
/usr/bin/ld: /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(client.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:50: multiple definition of `XCONNECT'; /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(xcx.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:50: first defined here
/usr/bin/ld: /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(client.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:37: multiple definition of `BKMIDAS'; /<<PKGBUILDDIR>>/19FEB/lib/libxcon.a(xcx.o):./19FEB/libsrc/xcon/./19FEB/incl/xconndef.h:37: first defined here
collect2: error: ld returned 1 exit status
make[2]: [makefile:73: ../../exec/irspec.exe] Error 1 (ignored)
echo ../../exec/irspec.exe
../../exec/irspec.exe
done
make[2]: Leaving directory '/<<PKGBUILDDIR>>/19FEB/gui/XIrspec/src'

**********************************************
****** INSTALLING IN ./gui/XIrspec/proc
**********************************************
make[2]: Entering directory '/<<PKGBUILDDIR>>/19FEB/gui/XIrspec/proc'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/19FEB/gui/XIrspec/proc'

*********************************************************************
******************** END INSTALLATION PROCEDURE *********************
*********************************************************************
********** END DATE:  Wed Feb 26 12:14:38 UTC 2020
********** SYSTEM: 
test -x /<<PKGBUILDDIR>>/19FEB/monit/midasgo.exe
(cd /<<PKGBUILDDIR>>/19FEB/monit ; make syskeys.unix )
make[2]: Entering directory '/<<PKGBUILDDIR>>/19FEB/monit'
make[2]: 'syskeys.unix' is up to date.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/19FEB/monit'
/<<PKGBUILDDIR>>/19FEB/system/unix//inmidas -m /<<PKGBUILDDIR>>/midwork -j "@ compile.all"
/<<PKGBUILDDIR>>/19FEB/system/unix//inmidas: 465: /<<PKGBUILDDIR>>/19FEB/monit/prepa.exe: not found
/<<PKGBUILDDIR>>/19FEB/system/unix//inmidas -m /<<PKGBUILDDIR>>/midwork -j "@ ascii_bin no ; bye"
/<<PKGBUILDDIR>>/19FEB/system/unix//inmidas: 465: /<<PKGBUILDDIR>>/19FEB/monit/prepa.exe: not found
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p /<<PKGBUILDDIR>>/test_tmp
( cd /<<PKGBUILDDIR>>/test_tmp ; /<<PKGBUILDDIR>>/19FEB/system/unix//inmidas -m /<<PKGBUILDDIR>>/midwork -j "@ vericopy ; @@ veriall -nodisplay ; bye" )
/<<PKGBUILDDIR>>/19FEB/system/unix//inmidas: 465: /<<PKGBUILDDIR>>/19FEB/monit/prepa.exe: not found
test -f /<<PKGBUILDDIR>>/midwork/veriall_*
make[1]: *** [debian/rules:85: override_dh_auto_test-arch] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:25: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debian-astro-maintainers mailing list