[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#984269: omniorb-dfsg: ftbfs with GCC-11



Package: src:omniorb-dfsg
Version: 4.2.2-1
Severity: normal
Tags: sid bookworm
User: debian-gcc@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/omniorb-dfsg_4.2.2-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.

[...]
g++ -M -MD -MG -p static/ -p shared/ -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../../../../../src/lib/omniORB/orbcore/.. -I../../../../include/omniORB4/internal -I../../../../../include/omniORB4/internal -D_REENTRANT -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -DOMNIORB_VERSION_STRING="4.2.2" -DOMNIORB_VERSION_HEX=0x040202F1 -DCONFIG_DEFAULT_LOCATION="/etc/omniORB.cfg" -DCONFIG_ENV="OMNIORB_CONFIG" -DUnixArchitecture -I. -I../../../../../src/lib/omniORB/orbcore -I../../../../include -I../../../../../include -D__OSVERSION__=2 -D__linux__ -D__x86_64__ ../../../../../src/lib/omniORB/orbcore/unix/unixActive.cc ../../../../../src/lib/omniORB/orbcore/unix/unixAddress.cc ../../../../../src/lib/omniORB/orbcore/unix/unixEndpoint.cc ../../../../../src/lib/omniORB/orbcore/unix/unixConnection.cc ../../../../../src/lib/omniORB/orbcore/unix/unixTransportImpl.cc ../../../../../src/lib/omniORB/orbcore/tcp/tcpActive.cc ../../../../../src/lib/omniORB/orbcore/tcp/tcpAddress.cc ../../../../../src/lib/omniOR
 B/orbcore/tcp/tcpEndpoint.cc ../../../../../src/lib/omniORB/orbcore/tcp/tcpConnection.cc ../../../../../src/lib/omniORB/orbcore/tcp/tcpTransportImpl.cc ../../../../../src/lib/omniORB/orbcore/tcpSocket.cc ../../../../../src/lib/omniORB/orbcore/Namingstub.cc ../../../../../src/lib/omniORB/orbcore/poastubs.cc ../../../../../src/lib/omniORB/orbcore/objectStub.cc ../../../../../src/lib/omniORB/orbcore/bootstrapstub.cc ../../../../../src/lib/omniORB/orbcore/cs-UTF-16.cc ../../../../../src/lib/omniORB/orbcore/cs-UTF-8.cc ../../../../../src/lib/omniORB/orbcore/cs-8859-1.cc ../../../../../src/lib/omniORB/orbcore/cs-16bit.cc ../../../../../src/lib/omniORB/orbcore/cs-8bit.cc ../../../../../src/lib/omniORB/orbcore/codeSets.cc ../../../../../src/lib/omniORB/orbcore/SocketCollection.cc ../../../../../src/lib/omniORB/orbcore/giopMonitor.cc ../../../../../src/lib/omniORB/orbcore/giopBiDir.cc ../../../../../src/lib/omniORB/orbcore/giopImpl12.cc ../../../../../src/lib/omniORB/orbcore/giopImpl11.cc ..
 /../../../../src/lib/omniORB/orbcore/giopImpl10.cc ../../../../../src/lib/omniORB/orbcore/giopStreamImpl.cc ../../../../../src/lib/omniORB/orbcore/GIOP_S.cc ../../../../../src/lib/omniORB/orbcore/GIOP_C.cc ../../../../../src/lib/omniORB/orbcore/giopRendezvouser.cc ../../../../../src/lib/omniORB/orbcore/giopWorker.cc ../../../../../src/lib/omniORB/orbcore/giopServer.cc ../../../../../src/lib/omniORB/orbcore/giopStream.cc ../../../../../src/lib/omniORB/orbcore/giopStrand.cc ../../../../../src/lib/omniORB/orbcore/giopRope.cc ../../../../../src/lib/omniORB/orbcore/giopEndpoint.cc ../../../../../src/lib/omniORB/orbcore/cdrValueChunkStream.cc ../../../../../src/lib/omniORB/orbcore/cdrMemoryStream.cc ../../../../../src/lib/omniORB/orbcore/cdrStreamAdapter.cc ../../../../../src/lib/omniORB/orbcore/cdrStream.cc ../../../../../src/lib/omniORB/orbcore/omniTransport.cc ../../../../../src/lib/omniORB/orbcore/omniPolicy.cc ../../../../../src/lib/omniORB/orbcore/uri.cc ../../../../../src/lib/omniO
 RB/orbcore/rmutex.cc ../../../../../src/lib/omniORB/orbcore/transportRules.cc ../../../../../src/lib/omniORB/orbcore/tracedthread.cc ../../../../../src/lib/omniORB/orbcore/callHandle.cc ../../../../../src/lib/omniORB/orbcore/shutdownIdentity.cc ../../../../../src/lib/omniORB/orbcore/inProcessIdentity.cc ../../../../../src/lib/omniORB/orbcore/remoteIdentity.cc ../../../../../src/lib/omniORB/orbcore/proxyFactory.cc ../../../../../src/lib/omniORB/orbcore/portableserver.cc ../../../../../src/lib/omniORB/orbcore/policy.cc ../../../../../src/lib/omniORB/orbcore/poamanager.cc ../../../../../src/lib/omniORB/orbcore/poa.cc ../../../../../src/lib/omniORB/orbcore/orbOptionsFile.cc ../../../../../src/lib/omniORB/orbcore/orbOptions.cc ../../../../../src/lib/omniORB/orbcore/omniServant.cc ../../../../../src/lib/omniORB/orbcore/omniORB.cc ../../../../../src/lib/omniORB/orbcore/omniObjRef.cc ../../../../../src/lib/omniORB/orbcore/omniIOR.cc ../../../../../src/lib/omniORB/orbcore/omniInternal.cc ../
 ../../../../src/lib/omniORB/orbcore/objectAdapter.cc ../../../../../src/lib/omniORB/orbcore/minorCode.cc ../../../../../src/lib/omniORB/orbcore/logIOstream.cc ../../../../../src/lib/omniORB/orbcore/localObject.cc ../../../../../src/lib/omniORB/orbcore/localIdentity.cc ../../../../../src/lib/omniORB/orbcore/omniIdentity.cc ../../../../../src/lib/omniORB/orbcore/libcWrapper.cc ../../../../../src/lib/omniORB/orbcore/ior.cc ../../../../../src/lib/omniORB/orbcore/invoker.cc ../../../../../src/lib/omniORB/orbcore/interceptors.cc ../../../../../src/lib/omniORB/orbcore/initRefs.cc ../../../../../src/lib/omniORB/orbcore/exceptn.cc ../../../../../src/lib/omniORB/orbcore/exception.cc ../../../../../src/lib/omniORB/orbcore/dynamicLib.cc ../../../../../src/lib/omniORB/orbcore/current.cc ../../../../../src/lib/omniORB/orbcore/corbaWString.cc ../../../../../src/lib/omniORB/orbcore/corbaString.cc ../../../../../src/lib/omniORB/orbcore/corbaFixed.cc ../../../../../src/lib/omniORB/orbcore/corbaOrb.cc
  ../../../../../src/lib/omniORB/orbcore/corbaBoa.cc ../../../../../src/lib/omniORB/orbcore/corbaObject.cc ../../../../../src/lib/omniORB/orbcore/constants.cc ../../../../../src/lib/omniORB/orbcore/callDescriptor.cc ../../../../../src/lib/omniORB/orbcore/anonObject.cc
g++: warning: static/: linker input file unused because linking not done
g++: error: static/: linker input file not found: No such file or directory
g++: warning: shared/: linker input file unused because linking not done
g++: error: shared/: linker input file not found: No such file or directory
+ mkdir -p static
g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-unused -fexceptions  -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../../../../../src/lib/omniORB/orbcore/.. -I../../../../include/omniORB4/internal -I../../../../../include/omniORB4/internal -D_REENTRANT -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -DOMNIORB_VERSION_STRING='"4.2.2"' -DOMNIORB_VERSION_HEX='0x040202F1' -DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -DCONFIG_ENV='"OMNIORB_CONFIG"' -DUnixArchitecture -I. -I../../../../../src/lib/omniORB/orbcore -I../../../../include -I../../../../../include -D__OSVERSION__=2 -D__linux__ -D__x86_64__ -o static/anonObject.o ../../../../../src/lib/omniORB/orbcore/anonObject.cc
g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-unused -fexceptions  -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../../../../../src/lib/omniORB/orbcore/.. -I../../../../include/omniORB4/internal -I../../../../../include/omniORB4/internal -D_REENTRANT -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -DOMNIORB_VERSION_STRING='"4.2.2"' -DOMNIORB_VERSION_HEX='0x040202F1' -DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -DCONFIG_ENV='"OMNIORB_CONFIG"' -DUnixArchitecture -I. -I../../../../../src/lib/omniORB/orbcore -I../../../../include -I../../../../../include -D__OSVERSION__=2 -D__linux__ -D__x86_64__ -o static/callDescriptor.o ../../../../../src/lib/omniORB/orbcore/callDescriptor.cc
g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-unused -fexceptions  -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../../../../../src/lib/omniORB/orbcore/.. -I../../../../include/omniORB4/internal -I../../../../../include/omniORB4/internal -D_REENTRANT -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -DOMNIORB_VERSION_STRING='"4.2.2"' -DOMNIORB_VERSION_HEX='0x040202F1' -DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -DCONFIG_ENV='"OMNIORB_CONFIG"' -DUnixArchitecture -I. -I../../../../../src/lib/omniORB/orbcore -I../../../../include -I../../../../../include -D__OSVERSION__=2 -D__linux__ -D__x86_64__ -o static/constants.o ../../../../../src/lib/omniORB/orbcore/constants.cc
g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-unused -fexceptions  -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../../../../../src/lib/omniORB/orbcore/.. -I../../../../include/omniORB4/internal -I../../../../../include/omniORB4/internal -D_REENTRANT -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -DOMNIORB_VERSION_STRING='"4.2.2"' -DOMNIORB_VERSION_HEX='0x040202F1' -DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -DCONFIG_ENV='"OMNIORB_CONFIG"' -DUnixArchitecture -I. -I../../../../../src/lib/omniORB/orbcore -I../../../../include -I../../../../../include -D__OSVERSION__=2 -D__linux__ -D__x86_64__ -o static/corbaObject.o ../../../../../src/lib/omniORB/orbcore/corbaObject.cc
g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-unused -fexceptions  -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../../../../../src/lib/omniORB/orbcore/.. -I../../../../include/omniORB4/internal -I../../../../../include/omniORB4/internal -D_REENTRANT -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -DOMNIORB_VERSION_STRING='"4.2.2"' -DOMNIORB_VERSION_HEX='0x040202F1' -DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -DCONFIG_ENV='"OMNIORB_CONFIG"' -DUnixArchitecture -I. -I../../../../../src/lib/omniORB/orbcore -I../../../../include -I../../../../../include -D__OSVERSION__=2 -D__linux__ -D__x86_64__ -o static/corbaBoa.o ../../../../../src/lib/omniORB/orbcore/corbaBoa.cc
g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-unused -fexceptions  -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../../../../../src/lib/omniORB/orbcore/.. -I../../../../include/omniORB4/internal -I../../../../../include/omniORB4/internal -D_REENTRANT -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -DOMNIORB_VERSION_STRING='"4.2.2"' -DOMNIORB_VERSION_HEX='0x040202F1' -DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -DCONFIG_ENV='"OMNIORB_CONFIG"' -DUnixArchitecture -I. -I../../../../../src/lib/omniORB/orbcore -I../../../../include -I../../../../../include -D__OSVERSION__=2 -D__linux__ -D__x86_64__ -o static/corbaOrb.o ../../../../../src/lib/omniORB/orbcore/corbaOrb.cc
In file included from ../../../../../src/lib/omniORB/orbcore/corbaOrb.cc:48:
../../../../../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;
      |                                                         ^~~~~
../../../../../include/omniORB4/internal/orbOptions.h:147:16: error: ISO C++17 does not allow dynamic exception specifications
  147 |   void visit() throw(BadParam);
      |                ^~~~~
../../../../../include/omniORB4/internal/orbOptions.h:157:46: error: ISO C++17 does not allow dynamic exception specifications
  157 |                  Source source=fromInternal) throw (Unknown,BadParam);
      |                                              ^~~~~
../../../../../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);
      |                                             ^~~~~
../../../../../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);
      |                                                   ^~~~~
../../../../../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);
      |                                             ^~~~~
../../../../../include/omniORB4/internal/orbOptions.h:194:5: error: ISO C++17 does not allow dynamic exception specifications
  194 |     throw (Unknown,BadParam);
      |     ^~~~~
../../../../../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);
      |                                                       ^~~~~
../../../../../include/omniORB4/internal/orbOptions.h:211:24: error: ISO C++17 does not allow dynamic exception specifications
  211 |   void importFromEnv() throw (Unknown,BadParam);
      |                        ^~~~~
../../../../../src/lib/omniORB/orbcore/corbaOrb.cc:918:46: error: ISO C++17 does not allow dynamic exception specifications
  918 |   void visit(const char*,orbOptions::Source) throw (orbOptions::BadParam) {
      |                                              ^~~~~
../../../../../src/lib/omniORB/orbcore/corbaOrb.cc:948:52: error: ISO C++17 does not allow dynamic exception specifications
  948 |   void visit(const char* value,orbOptions::Source) throw (orbOptions::BadParam) {
      |                                                    ^~~~~
../../../../../src/lib/omniORB/orbcore/corbaOrb.cc:980:52: error: ISO C++17 does not allow dynamic exception specifications
  980 |   void visit(const char* value,orbOptions::Source) throw (orbOptions::BadParam) {
      |                                                    ^~~~~
../../../../../src/lib/omniORB/orbcore/corbaOrb.cc:1009:52: error: ISO C++17 does not allow dynamic exception specifications
 1009 |   void visit(const char* value,orbOptions::Source) throw (orbOptions::BadParam) {
      |                                                    ^~~~~
../../../../../src/lib/omniORB/orbcore/corbaOrb.cc:1039:52: error: ISO C++17 does not allow dynamic exception specifications
 1039 |   void visit(const char* value,orbOptions::Source) throw (orbOptions::BadParam) {
      |                                                    ^~~~~
../../../../../src/lib/omniORB/orbcore/corbaOrb.cc:1074:52: error: ISO C++17 does not allow dynamic exception specifications
 1074 |   void visit(const char* value,orbOptions::Source) throw (orbOptions::BadParam) {
      |                                                    ^~~~~
make[5]: *** [../../../../mk/beforeauto.mk:671: static/corbaOrb.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/src/lib/omniORB/orbcore'
make[4]: *** [../../../../src/lib/omniORB/dir.mk:77: export] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/src/lib/omniORB'
make[3]: *** [../../../src/lib/dir.mk:7: export] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/src/lib'
make[2]: *** [../../src/dir.mk:26: export] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build/src'
make[1]: *** [GNUmakefile:11: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
make: *** [debian/rules:43: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: