Bug#1037690: hfst-ospell: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:25:31 BST 2023


Package: src:hfst-ospell
Version: 0.5.3-1
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13

[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-13/g++-13, but succeeds to build with gcc-12/g++-12. 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/2023/05/22/logs/hfst-ospell_0.5.3-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.

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

[...]
      | ^~~~~~~~~~~~
hfst-ol.cc:926:1: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’?
  926 | TransitionTableIndex
      | ^~~~~~~~~~~~~~~~~~~~
      | TransitionTable
hfst-ol.cc:939:1: error: ‘bool hfst_ospell::IndexTable::final’ is not a static data member of ‘class hfst_ospell::IndexTable’
  939 | IndexTable::final(TransitionTableIndex i) const
      | ^~~~~~~~~~
hfst-ol.cc:939:19: error: ‘TransitionTableIndex’ was not declared in this scope; did you mean ‘TransitionTable’?
  939 | IndexTable::final(TransitionTableIndex i) const
      |                   ^~~~~~~~~~~~~~~~~~~~
      |                   TransitionTable
hfst-ol.cc:945:1: error: ‘hfst_ospell::Weight hfst_ospell::IndexTable::final_weight’ is not a static data member of ‘class hfst_ospell::IndexTable’
  945 | IndexTable::final_weight(TransitionTableIndex i) const
      | ^~~~~~~~~~
hfst-ol.cc:945:26: error: ‘TransitionTableIndex’ was not declared in this scope; did you mean ‘TransitionTable’?
  945 | IndexTable::final_weight(TransitionTableIndex i) const
      |                          ^~~~~~~~~~~~~~~~~~~~
      |                          TransitionTable
hfst-ol.cc:957:34: error: ‘TransitionTableIndex’ has not been declared
  957 |                                  TransitionTableIndex transition_count):
      |                                  ^~~~~~~~~~~~~~~~~~~~
hfst-ol.cc: In constructor ‘hfst_ospell::TransitionTable::TransitionTable(FILE*, int)’:
hfst-ol.cc:959:5: error: class ‘hfst_ospell::TransitionTable’ does not have any field named ‘size’
  959 |     size(transition_count)
      |     ^~~~
hfst-ol.cc: At global scope:
hfst-ol.cc:965:34: error: ‘TransitionTableIndex’ has not been declared
  965 |                                  TransitionTableIndex transition_count):
      |                                  ^~~~~~~~~~~~~~~~~~~~
hfst-ol.cc: In constructor ‘hfst_ospell::TransitionTable::TransitionTable(char**, int)’:
hfst-ol.cc:967:5: error: class ‘hfst_ospell::TransitionTable’ does not have any field named ‘size’
  967 |     size(transition_count)
      |     ^~~~
hfst-ol.cc: At global scope:
hfst-ol.cc:979:1: error: ‘SymbolNumber’ does not name a type
  979 | SymbolNumber
      | ^~~~~~~~~~~~
hfst-ol.cc:990:1: error: ‘SymbolNumber’ does not name a type
  990 | SymbolNumber
      | ^~~~~~~~~~~~
hfst-ol.cc:1002:1: error: ‘TransitionTableIndex’ does not name a type; did you mean ‘TransitionTable’?
 1002 | TransitionTableIndex
      | ^~~~~~~~~~~~~~~~~~~~
      | TransitionTable
hfst-ol.cc:1015:1: error: ‘hfst_ospell::Weight hfst_ospell::TransitionTable::weight’ is not a static data member of ‘class hfst_ospell::TransitionTable’
 1015 | TransitionTable::weight(TransitionTableIndex i) const
      | ^~~~~~~~~~~~~~~
hfst-ol.cc:1015:25: error: ‘TransitionTableIndex’ was not declared in this scope; did you mean ‘TransitionTable’?
 1015 | TransitionTable::weight(TransitionTableIndex i) const
      |                         ^~~~~~~~~~~~~~~~~~~~
      |                         TransitionTable
hfst-ol.cc:1028:1: error: ‘bool hfst_ospell::TransitionTable::final’ is not a static data member of ‘class hfst_ospell::TransitionTable’
 1028 | TransitionTable::final(TransitionTableIndex i) const
      | ^~~~~~~~~~~~~~~
hfst-ol.cc:1028:24: error: ‘TransitionTableIndex’ was not declared in this scope; did you mean ‘TransitionTable’?
 1028 | TransitionTable::final(TransitionTableIndex i) const
      |                        ^~~~~~~~~~~~~~~~~~~~
      |                        TransitionTable
hfst-ol.cc:1035:1: error: ‘SymbolNumber’ does not name a type
 1035 | SymbolNumber Encoder::find_key(char ** p)
      | ^~~~~~~~~~~~
make[2]: *** [Makefile:1014: libhfstospell_la-hfst-ol.lo] Error 1
make[2]: *** [Makefile:1021: libhfstospell_la-ospell.lo] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:789: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list