[Tts-project] Bug#1114346: rhvoice: FTBFS: src/audio/playback_stream_impl.hpp:32:25: error: 'uint32_t' has not been declared

Santiago Vila sanvila at debian.org
Fri Sep 5 19:25:15 BST 2025


Package: src:rhvoice
Version: 1.14.0-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

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 add an affects on src:rhvoice, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
scons -c
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.12.1
Checking for giomm-2.4... yes
Checking for sonicCreateStream(0, 0) in C library sonic... yes
Configuring  /<<PKGBUILDDIR>>/src/core/config.h.in into /<<PKGBUILDDIR>>/src/core/config.h ...
Configuring  /<<PKGBUILDDIR>>/src/include/core/config.h.in into /<<PKGBUILDDIR>>/src/include/core/config.h ...
scons: done reading SConscript files.
scons: Cleaning targets ...
scons: done cleaning targets.
rm -fr /<<PKGBUILDDIR>>/build
py3clean .
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
:
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
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=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" \
	CXX="g++" \
	CXXFLAGS="-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -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.12.1
Checking for giomm-2.4... yes
Checking for sonicCreateStream(0, 0) in C library sonic... yes
Configuring  /<<PKGBUILDDIR>>/src/core/config.h.in into /<<PKGBUILDDIR>>/src/core/config.h ...
Configuring  /<<PKGBUILDDIR>>/src/include/core/config.h.in into /<<PKGBUILDDIR>>/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=/<<PKGBUILDDIR>>=. -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 src/audio/audio.cpp
In file included from src/audio/audio.cpp:19:
src/audio/playback_stream_impl.hpp:32:25: error: 'uint32_t' has not been declared
   32 |       virtual void open(uint32_t sample_rate) =0;
      |                         ^~~~~~~~
src/audio/playback_stream_impl.hpp:1:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
  +++ |+#include <cstdint>
    1 | /* Copyright (C) 2012  Olga Yakovleva <yakovleva.o.v at gmail.com> */
In file included from src/audio/audio.cpp:30:
src/audio/file_playback_stream_impl.hpp:32:17: error: 'uint32_t' has not been declared
   32 |       void open(uint32_t sample_rate);
      |                 ^~~~~~~~
src/audio/file_playback_stream_impl.hpp:21:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   20 | #include <fstream>
  +++ |+#include <cstdint>
   21 | #include "playback_stream_impl.hpp"
scons: *** [build/linux/audio/audio.os] Error 1
scons: building terminated because of errors.
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Tts-project mailing list