From sanvila at debian.org Mon Dec 16 17:52:37 2024 From: sanvila at debian.org (Santiago Vila) Date: Mon, 16 Dec 2024 17:52:37 +0000 Subject: [Tts-project] Bug#1090291: rhvoice: FTBFS: error: 'uint32_t' is not a member of 'utf8' Message-ID: Package: src:rhvoice Version: 1.8.0+dfsg-4 Severity: serious Tags: ftbfs Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary dh binary dh_update_autotools_config dh_autoreconf debian/rules override_dh_auto_configure make[1]: Entering directory '/<>' : make[1]: Leaving directory '/<>' debian/rules override_dh_auto_build make[1]: Entering directory '/<>' scons prefix="/usr" sysconfdir="/etc" libdir="/usr/lib/x86_64-linux-gnu" \ CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" \ CC="cc" \ CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" \ CXX="g++" \ CXXFLAGS="-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" \ LINKFLAGS="-Wl,-z,relro" \ enable_sonic=True scons: Reading SConscript files ... Mkdir("build/linux") Georgian language is skipped because of non-free license Checking whether the C compiler works... yes Checking whether the C++ compiler works... yes Checking for pkg-config... yes Checking for libpulse-simple... yes Checking for ao... yes Checking for portaudio-2.0... yes Checking Speech Dispatcher version ... 0.11.5 Checking for giomm-2.4... yes Checking for sonicCreateStream(0, 0) in C library sonic... yes Configuring /<>/src/core/config.h.in into /<>/src/core/config.h ... Configuring /<>/src/include/core/config.h.in into /<>/src/include/core/config.h ... scons: done reading SConscript files. scons: Building targets ... g++ -o build/linux/audio/audio.os -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11 -O2 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DRHVOICE=1 -DPACKAGE=\"RHVoice\" -DWITH_LIBAO=1 -DWITH_PULSE=1 -D_REENTRANT -DWITH_PORTAUDIO=1 -Ibuild/linux/include -Isrc/include -Ibuild/linux/audio -Isrc/audio -Isrc/include -Iusr/include/boost -Isrc/third-party/mage -Isrc/third-party/hts_engine src/audio/audio.cpp g++ -o build/linux/audio/file_playback_stream_impl.os -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11 -O2 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DRHVOICE=1 -DPACKAGE=\"RHVoice\" -DWITH_LIBAO=1 -DWITH_PULSE=1 -D_REENTRANT -DWITH_PORTAUDIO=1 -Ibuild/linux/include -Isrc/include -Ibuild/linux/audio -Isrc/audio -Isrc/include -Iusr/include/boost -Isrc/third-party/mage -Isrc/third-party/hts_engine src/audio/file_playback_stream_impl.cpp In file included from src/audio/file_playback_stream_impl.cpp:18: src/include/core/io.hpp:97:40: warning: 'template struct std::binary_function' is deprecated [-Wdeprecated-declarations] 97 | struct integer_reader: public std::binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/string:49, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from src/audio/file_playback_stream_impl.cpp:16: /usr/include/c++/14/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ g++ -o build/linux/audio/playback_stream.os -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11 -O2 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DRHVOICE=1 -DPACKAGE=\"RHVoice\" -DWITH_LIBAO=1 -DWITH_PULSE=1 -D_REENTRANT -DWITH_PORTAUDIO=1 -Ibuild/linux/include -Isrc/include -Ibuild/linux/audio -Isrc/audio -Isrc/include -Iusr/include/boost -Isrc/third-party/mage -Isrc/third-party/hts_engine src/audio/playback_stream.cpp g++ -o build/linux/audio/libao.os -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11 -O2 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DRHVOICE=1 -DPACKAGE=\"RHVoice\" -DWITH_LIBAO=1 -DWITH_PULSE=1 -D_REENTRANT -DWITH_PORTAUDIO=1 -Ibuild/linux/include -Isrc/include -Ibuild/linux/audio -Isrc/audio -Isrc/include -Iusr/include/boost -Isrc/third-party/mage -Isrc/third-party/hts_engine src/audio/libao.cpp g++ -o build/linux/audio/pulse.os -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11 -O2 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DRHVOICE=1 -DPACKAGE=\"RHVoice\" -DWITH_LIBAO=1 -DWITH_PULSE=1 -D_REENTRANT -DWITH_PORTAUDIO=1 -Ibuild/linux/include -Isrc/include -Ibuild/linux/audio -Isrc/audio -Isrc/include -Iusr/include/boost -Isrc/third-party/mage -Isrc/third-party/hts_engine src/audio/pulse.cpp g++ -o build/linux/audio/portaudio.os -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11 -O2 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DRHVOICE=1 -DPACKAGE=\"RHVoice\" -DWITH_LIBAO=1 -DWITH_PULSE=1 -D_REENTRANT -DWITH_PORTAUDIO=1 -Ibuild/linux/include -Isrc/include -Ibuild/linux/audio -Isrc/audio -Isrc/include -Iusr/include/boost -Isrc/third-party/mage -Isrc/third-party/hts_engine src/audio/portaudio.cpp g++ -o build/linux/core/unicode.os -c -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++11 -O2 -pthread -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -DRHVOICE=1 -DPACKAGE=\"RHVoice\" -Ibuild/linux/include -Isrc/include -Ibuild/linux/core -Isrc/core -Isrc/include -Iusr/include/boost -Isrc/third-party/mage -Isrc/third-party/hts_engine -Iexternal/libs/sonic src/core/unicode.cpp In file included from src/core/unicode.cpp:17: src/include/core/unicode.hpp:70:31: error: 'uint32_t' is not a member of 'utf8' 70 | category_t category(utf8::uint32_t c); | ^~~~~~~~ src/include/core/unicode.hpp:72:11: error: 'uint32_t' in namespace 'utf8' does not name a type 72 | utf8::uint32_t toupper(utf8::uint32_t c); | ^~~~~~~~ src/include/core/unicode.hpp:73:11: error: 'uint32_t' in namespace 'utf8' does not name a type 73 | utf8::uint32_t tolower(utf8::uint32_t c); | ^~~~~~~~ src/include/core/unicode.hpp:87:35: error: 'uint32_t' is not a member of 'utf8' 87 | unsigned int properties(utf8::uint32_t c); | ^~~~~~~~ src/core/unicode.cpp:27:15: error: 'uint32_t' in namespace 'utf8' does not name a type 27 | utf8::uint32_t code; | ^~~~~~~~ src/core/unicode.cpp:29:15: error: 'uint32_t' in namespace 'utf8' does not name a type 29 | utf8::uint32_t upper,lower; | ^~~~~~~~ In file included from src/core/unicode.cpp:33: src/core/unidata.cpp:23698:38: error: too many initializers for 'const RHVoice::unicode::{anonymous}::record' 23698 | {1114109,{'C','o'},1114109,1114109,0}}; | ^ src/core/unicode.cpp:38:56: error: too many initializers for 'const RHVoice::unicode::{anonymous}::record' 38 | const record empty_record={0,empty_category,0,0,0}; | ^ src/core/unicode.cpp: In function 'bool RHVoice::unicode::{anonymous}::compare(const record&, const record&)': src/core/unicode.cpp:42:20: error: 'const struct RHVoice::unicode::{anonymous}::record' has no member named 'code' 42 | return (r1.code>' make: *** [debian/rules:8: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202412/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.