Package: src:hfst Version: 3.16.0-5 Severity: important Tags: sid trixie User: debian-...@lists.debian.org Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The severity of this report will be raised before the trixie release. The full build log can be found at: http://qa-logs.debian.net/2024/07/01/hfst_3.16.0-5_unstable_gccexp.log The last lines of the build log are at the end of this report. To build with GCC 14, either set CC=gcc-14 CXX=g++-14 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-14/porting_to.html [...] In file included from /usr/include/fst/disambiguate.h:22, from /usr/include/fst/fstlib.h:47: /usr/include/fst/project.h:19:30: note: declared here 19 | static constexpr ProjectType PROJECT_INPUT = ProjectType::INPUT; | ^~~~~~~~~~~~~ TropicalWeightTransducer.cc: In static member function ‘static fst::StdVectorFst* hfst::implementations::TropicalWeightTransducer::extract_output_language(fst::StdVectorFst*)’: TropicalWeightTransducer.cc:2054:50: warning: ‘fst::PROJECT_OUTPUT’ is deprecated: Use `ProjectType::OUTPUT` instead. [-Wdeprecated-declarations] 2054 | (*t,PROJECT_OUTPUT)); | ^~~~~~~~~~~~~~ /usr/include/fst/project.h:21:30: note: declared here 21 | static constexpr ProjectType PROJECT_OUTPUT = ProjectType::OUTPUT; | ^~~~~~~~~~~~~~ LogWeightTransducer.cc: In static member function ‘static hfst::implementations::LogFst* hfst::implementations::LogWeightTransducer::extract_input_language(hfst::implementations::LogFst*)’: LogWeightTransducer.cc:1495:57: warning: ‘fst::PROJECT_INPUT’ is deprecated: Use `ProjectType::INPUT` instead. [-Wdeprecated-declarations] 1495 | { LogFst * retval = new LogFst(ProjectFst<LogArc>(*t,PROJECT_INPUT)); | ^~~~~~~~~~~~~ In file included from /usr/include/fst/disambiguate.h:22, from /usr/include/fst/fstlib.h:47: /usr/include/fst/project.h:19:30: note: declared here 19 | static constexpr ProjectType PROJECT_INPUT = ProjectType::INPUT; | ^~~~~~~~~~~~~ LogWeightTransducer.cc: In static member function ‘static hfst::implementations::LogFst* hfst::implementations::LogWeightTransducer::extract_output_language(hfst::implementations::LogFst*)’: LogWeightTransducer.cc:1501:56: warning: ‘fst::PROJECT_OUTPUT’ is deprecated: Use `ProjectType::OUTPUT` instead. [-Wdeprecated-declarations] 1501 | { LogFst * retval = new LogFst(ProjectFst<LogArc>(*t,PROJECT_OUTPUT)); | ^~~~~~~~~~~~~~ /usr/include/fst/project.h:21:30: note: declared here 21 | static constexpr ProjectType PROJECT_OUTPUT = ProjectType::OUTPUT; | ^~~~~~~~~~~~~~ TropicalWeightTransducer.cc: In static member function ‘static hfst::FdTable<long int>* hfst::implementations::TropicalWeightTransducer::get_flag_diacritics(fst::StdVectorFst*)’: TropicalWeightTransducer.cc:3074:34: warning: ‘SymbolTableIterator’ is deprecated: Use SymbolTable::iterator, a C++ compliant iterator, instead [-Wdeprecated-declarations] 3074 | for(fst::SymbolTableIterator it=fst::SymbolTableIterator(*symbols); | ^~ /usr/include/fst/symbol-table.h:545:5: note: declared here 545 | SymbolTableIterator { | ^~~~~~~~~~~~~~~~~~~ TropicalWeightTransducer.cc:3074:70: warning: ‘SymbolTableIterator’ is deprecated: Use SymbolTable::iterator, a C++ compliant iterator, instead [-Wdeprecated-declarations] 3074 | for(fst::SymbolTableIterator it=fst::SymbolTableIterator(*symbols); | ^ /usr/include/fst/symbol-table.h:545:5: note: declared here 545 | SymbolTableIterator { | ^~~~~~~~~~~~~~~~~~~ LogWeightTransducer.cc: In static member function ‘static hfst::FdTable<long int>* hfst::implementations::LogWeightTransducer::get_flag_diacritics(hfst::implementations::LogFst*)’: LogWeightTransducer.cc:2256:34: warning: ‘SymbolTableIterator’ is deprecated: Use SymbolTable::iterator, a C++ compliant iterator, instead [-Wdeprecated-declarations] 2256 | for(fst::SymbolTableIterator it=fst::SymbolTableIterator(*symbols); | ^~ /usr/include/fst/symbol-table.h:545:5: note: declared here 545 | SymbolTableIterator { | ^~~~~~~~~~~~~~~~~~~ LogWeightTransducer.cc:2256:70: warning: ‘SymbolTableIterator’ is deprecated: Use SymbolTable::iterator, a C++ compliant iterator, instead [-Wdeprecated-declarations] 2256 | for(fst::SymbolTableIterator it=fst::SymbolTableIterator(*symbols); | ^ /usr/include/fst/symbol-table.h:545:5: note: declared here 545 | SymbolTableIterator { | ^~~~~~~~~~~~~~~~~~~ make[6]: *** [Makefile:1362: LogWeightTransducer.lo] Error 1 make[6]: *** [Makefile:1362: TropicalWeightTransducer.lo] Error 1 make[6]: Leaving directory '/<<PKGBUILDDIR>>/libhfst/src/implementations' make[5]: *** [Makefile:1217: all-recursive] Error 1 make[5]: Leaving directory '/<<PKGBUILDDIR>>/libhfst/src' make[4]: *** [Makefile:845: all] Error 2 make[4]: Leaving directory '/<<PKGBUILDDIR>>/libhfst/src' make[3]: *** [Makefile:452: all-recursive] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/libhfst' make[2]: *** [Makefile:499: all-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [Makefile:410: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:12: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -- debian-science-maintainers mailing list debian-science-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers