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

Bug#984267: omnievents: ftbfs with GCC-11



Package: src:omnievents
Version: 1:2.6.2-5.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/omnievents_2.6.2-5.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.

[...]
                 from ProxyPushConsumer.cc:25:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
g++ -c -I../idl -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC  ProxyPushSupplier.cc
In file included from ProxyPushSupplier.h:38,
                 from ProxyPushSupplier.cc:24:
EventQueue.h:93:3: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   93 |   auto_ptr<Filter> _filter;
      |   ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from EventQueue.h:34,
                 from ProxyPushSupplier.h:38,
                 from ProxyPushSupplier.cc:24:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ProxyPushSupplier.h:38,
                 from ProxyPushSupplier.cc:24:
EventQueue.h: In member function ‘void OmniEvents::EventQueue::setFilter(OmniEvents::Filter*)’:
EventQueue.h:74:5: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
   74 |     auto_ptr<Filter> f(filter);
      |     ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
                 from EventQueue.h:34,
                 from ProxyPushSupplier.h:38,
                 from ProxyPushSupplier.cc:24:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
g++ -c -I../idl -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC  Servant.cc
g++ -c -I../idl -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC  SupplierAdmin.cc
g++ -c -I../idl -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC  omniEventsLog.cc
g++ -c -I../idl -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC  version.cc
g++ -c -I../idl -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC  getopt.cc
g++ -c -I../idl -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC  main.cc
In file included from main.cc:60:
/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[2]: *** [../config.mk:185: main.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:26: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: