Bug#984360: tango: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:17:50 GMT 2021


Package: src:tango
Version: 9.3.4+dfsg1-1
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/tango_9.3.4+dfsg1-1_unstable_gcc11.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c -o pollcmds.lo pollcmds.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c pollcmds.cpp  -fPIC -DPIC -o .libs/pollcmds.o
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c -o pollobj.lo pollobj.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c pollobj.cpp  -fPIC -DPIC -o .libs/pollobj.o
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c -o pollring.lo pollring.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c pollring.cpp  -fPIC -DPIC -o .libs/pollring.o
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c -o pollthread.lo pollthread.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c pollthread.cpp  -fPIC -DPIC -o .libs/pollthread.o
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c -o rootattreg.lo rootattreg.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c rootattreg.cpp  -fPIC -DPIC -o .libs/rootattreg.o
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c -o seqvec.lo seqvec.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c seqvec.cpp  -fPIC -DPIC -o .libs/seqvec.o
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c -o subdev_diag.lo subdev_diag.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c subdev_diag.cpp  -fPIC -DPIC -o .libs/subdev_diag.o
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c -o tangoappender.lo tangoappender.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c tangoappender.cpp  -fPIC -DPIC -o .libs/tangoappender.o
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c -o tangorollingfileappender.lo tangorollingfileappender.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c tangorollingfileappender.cpp  -fPIC -DPIC -o .libs/tangorollingfileappender.o
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c -o templ_inst.lo templ_inst.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c templ_inst.cpp  -fPIC -DPIC -o .libs/templ_inst.o
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c -o thsig.lo thsig.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c thsig.cpp  -fPIC -DPIC -o .libs/thsig.o
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c -o utils.lo utils.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c utils.cpp  -fPIC -DPIC -o .libs/utils.o
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include  -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security   -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c -o utils_polling.lo utils_polling.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/cpp/client -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/log4tango/include -I../../../lib/cpp/server -I/usr/include -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -D_TANGO_LIB -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -DOMNI_UNLOADABLE_STUBS -c utils_polling.cpp  -fPIC -DPIC -o .libs/utils_polling.o
In file included from utils.cpp:39:
/usr/include/omniORB4/internal/orbOptions.h:95:57: error: ISO C++17 does not allow dynamic exception specifications
   95 |     virtual void visit(const char* value,Source source) throw (BadParam) = 0;
      |                                                         ^~~~~
/usr/include/omniORB4/internal/orbOptions.h:147:16: error: ISO C++17 does not allow dynamic exception specifications
  147 |   void visit() throw(BadParam);
      |                ^~~~~
/usr/include/omniORB4/internal/orbOptions.h:157:46: error: ISO C++17 does not allow dynamic exception specifications
  157 |                  Source source=fromInternal) throw (Unknown,BadParam);
      |                                              ^~~~~
/usr/include/omniORB4/internal/orbOptions.h:165:45: error: ISO C++17 does not allow dynamic exception specifications
  165 |   void addOptions(const char* options[][2]) throw (Unknown,BadParam);
      |                                             ^~~~~
/usr/include/omniORB4/internal/orbOptions.h:174:51: error: ISO C++17 does not allow dynamic exception specifications
  174 |   void extractInitOptions(int& argc, char** argv) throw (Unknown,BadParam);
      |                                                   ^~~~~
/usr/include/omniORB4/internal/orbOptions.h:183:45: error: ISO C++17 does not allow dynamic exception specifications
  183 |   void getTraceLevel(int argc, char** argv) throw (Unknown,BadParam);
      |                                             ^~~~~
/usr/include/omniORB4/internal/orbOptions.h:194:5: error: ISO C++17 does not allow dynamic exception specifications
  194 |     throw (Unknown,BadParam);
      |     ^~~~~
/usr/include/omniORB4/internal/orbOptions.h:203:55: error: ISO C++17 does not allow dynamic exception specifications
  203 |   CORBA::Boolean importFromFile(const char* filename) throw (Unknown,BadParam);
      |                                                       ^~~~~
/usr/include/omniORB4/internal/orbOptions.h:211:24: error: ISO C++17 does not allow dynamic exception specifications
  211 |   void importFromEnv() throw (Unknown,BadParam);
      |                        ^~~~~
make[6]: *** [Makefile:786: utils.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: Leaving directory '/<<PKGBUILDDIR>>/lib/cpp/server'
make[5]: *** [Makefile:822: all-recursive] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/lib/cpp/server'
make[4]: *** [Makefile:495: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib/cpp'
make[3]: *** [Makefile:442: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[2]: *** [Makefile:530: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:462: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list