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

Bug#984077: kasumi: ftbfs with GCC-11



Package: src:kasumi
Version: 2.5-9
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/kasumi_2.5-9_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.

[...]
      |     ^~~~~
KasumiWord.cxx:205:5: error: ISO C++17 does not allow dynamic exception specifications
  205 |     throw(KasumiException){
      |     ^~~~~
KasumiDic.cxx:50:3: error: ISO C++17 does not allow dynamic exception specifications
   50 |   throw(KasumiException){
      |   ^~~~~
KasumiDic.cxx:72:5: error: ISO C++17 does not allow dynamic exception specifications
   72 |     throw(KasumiException){
      |     ^~~~~
KasumiDic.cxx:189:5: error: ISO C++17 does not allow dynamic exception specifications
  189 |     throw(KasumiException)
      |     ^~~~~
make[3]: *** [Makefile:602: KasumiWord.o] Error 1
make[3]: *** [Makefile:602: KasumiDic.o] Error 1
In file included from KasumiWord.hxx:36,
                 from KasumiDic.hxx:36,
                 from main.cxx:37:
KasumiConfiguration.hxx:41:32: error: ISO C++17 does not allow dynamic exception specifications
   41 |   void loadDefaultProperties() throw(KasumiException);
      |                                ^~~~~
KasumiConfiguration.hxx:42:32: error: ISO C++17 does not allow dynamic exception specifications
   42 |   void loadConfigurationFile() throw (KasumiException);
      |                                ^~~~~
KasumiConfiguration.hxx:44:5: error: ISO C++17 does not allow dynamic exception specifications
   44 |     throw(KasumiException);
      |     ^~~~~
KasumiConfiguration.hxx:45:28: error: ISO C++17 does not allow dynamic exception specifications
   45 |   void saveConfiguration() throw (KasumiException);
      |                            ^~~~~
KasumiConfiguration.hxx:48:24: error: ISO C++17 does not allow dynamic exception specifications
   48 |   void checkValidity() throw(KasumiException);
      |                        ^~~~~
KasumiConfiguration.hxx:50:47: error: ISO C++17 does not allow dynamic exception specifications
   50 |   KasumiConfiguration(int argc, char *argv[]) throw (KasumiException);
      |                                               ^~~~~
In file included from KasumiDic.hxx:36,
                 from main.cxx:37:
KasumiWord.hxx:73:7: error: ISO C++17 does not allow dynamic exception specifications
   73 |       throw(KasumiException);
      |       ^~~~~
KasumiWord.hxx:75:7: error: ISO C++17 does not allow dynamic exception specifications
   75 |       throw(KasumiException);
      |       ^~~~~
In file included from main.cxx:37:
KasumiDic.hxx:52:40: error: ISO C++17 does not allow dynamic exception specifications
   52 |   void load(KasumiConfiguration *conf) throw (KasumiException);
      |                                        ^~~~~
KasumiDic.hxx:55:9: error: ISO C++17 does not allow dynamic exception specifications
   55 |         throw(KasumiException);
      |         ^~~~~
KasumiDic.hxx:57:18: error: ISO C++17 does not allow dynamic exception specifications
   57 |     void store() throw(KasumiException);
      |                  ^~~~~
main.cxx:89:10: warning: ISO C++ forbids converting a string constant to ‘gchar*’ {aka ‘char*’} [-Wwrite-strings]
   89 |         {"STRING", 0, TARGET_STRING},
      |          ^~~~~~~~
main.cxx: In function ‘void cb_selection_get(GtkWidget*, GtkSelectionData*, guint, guint, GtkWidget*)’:
main.cxx:106:12: warning: ISO C++ forbids converting a string constant to ‘gchar*’ {aka ‘char*’} [-Wwrite-strings]
  106 |     text = "Kasumi Selection";
      |            ^~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:602: main.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:703: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:457: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: