[Debian-med-packaging] Bug#957704: praat: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:09:05 BST 2020


Package: src:praat
Version: 6.1.09-1
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/praat_6.1.09-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.

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

[...]
readclause.cpp: In function ‘const char* LookupCharName(Translator*, int, int)’:
readclause.cpp:287:29: warning: ‘%s’ directive writing up to 59 bytes into a region of size 52 [-Wformat-overflow=]
  287 |    sprintf(buf, "[\002_^_%s %s _^_%s]]", "en", phonemes2, WordToString2(tr->translator_name));
      |                             ^~                 ~~~~~~~~~
readclause.cpp:287:11: note: ‘sprintf’ output between 15 and 78 bytes into a destination of size 60
  287 |    sprintf(buf, "[\002_^_%s %s _^_%s]]", "en", phonemes2, WordToString2(tr->translator_name));
      |    ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
readclause.cpp:292:23: warning: ‘%s’ directive writing up to 59 bytes into a region of size 58 [-Wformat-overflow=]
  292 |    sprintf(buf, "[\002%s]] ", phonemes2);
      |                       ^~      ~~~~~~~~~
readclause.cpp:292:11: note: ‘sprintf’ output between 6 and 65 bytes into a destination of size 60
  292 |    sprintf(buf, "[\002%s]] ", phonemes2);
      |    ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=missing-prototypes’ is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit’ is not valid for C++
g++ -std=c++17 -DUNIX -Dlinux -DALSA -DHAVE_PULSEAUDIO -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0` -Werror=missing-prototypes -Werror=implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O3 -g1 -pthread -Wshadow -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/external/espeak=. -fstack-protector-strong -Wformat -Werror=format-security -I ../../kar -I ../../melder -I ../../dwtools -I ../../sys -I ../../dwsys -I ../../stat  -c -o synthdata.o synthdata.cpp
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=missing-prototypes’ is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit’ is not valid for C++
g++ -std=c++17 -DUNIX -Dlinux -DALSA -DHAVE_PULSEAUDIO -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0` -Werror=missing-prototypes -Werror=implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O3 -g1 -pthread -Wshadow -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/external/espeak=. -fstack-protector-strong -Wformat -Werror=format-security -I ../../kar -I ../../melder -I ../../dwtools -I ../../sys -I ../../dwsys -I ../../stat  -c -o synthesize.o synthesize.cpp
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=missing-prototypes’ is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit’ is not valid for C++
g++ -std=c++17 -DUNIX -Dlinux -DALSA -DHAVE_PULSEAUDIO -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0` -Werror=missing-prototypes -Werror=implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O3 -g1 -pthread -Wshadow -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/external/espeak=. -fstack-protector-strong -Wformat -Werror=format-security -I ../../kar -I ../../melder -I ../../dwtools -I ../../sys -I ../../dwsys -I ../../stat  -c -o synth_mbrola.o synth_mbrola.cpp
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=missing-prototypes’ is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit’ is not valid for C++
g++ -std=c++17 -DUNIX -Dlinux -DALSA -DHAVE_PULSEAUDIO -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0` -Werror=missing-prototypes -Werror=implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O3 -g1 -pthread -Wshadow -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/external/espeak=. -fstack-protector-strong -Wformat -Werror=format-security -I ../../kar -I ../../melder -I ../../dwtools -I ../../sys -I ../../dwsys -I ../../stat  -c -o tr_languages.o tr_languages.cpp
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=missing-prototypes’ is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit’ is not valid for C++
g++ -std=c++17 -DUNIX -Dlinux -DALSA -DHAVE_PULSEAUDIO -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0` -Werror=missing-prototypes -Werror=implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O3 -g1 -pthread -Wshadow -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/external/espeak=. -fstack-protector-strong -Wformat -Werror=format-security -I ../../kar -I ../../melder -I ../../dwtools -I ../../sys -I ../../dwsys -I ../../stat  -c -o mnemonics.o mnemonics.cpp
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=missing-prototypes’ is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit’ is not valid for C++
g++ -std=c++17 -DUNIX -Dlinux -DALSA -DHAVE_PULSEAUDIO -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0` -Werror=missing-prototypes -Werror=implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O3 -g1 -pthread -Wshadow -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/external/espeak=. -fstack-protector-strong -Wformat -Werror=format-security -I ../../kar -I ../../melder -I ../../dwtools -I ../../sys -I ../../dwsys -I ../../stat  -c -o translate.o translate.cpp
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=missing-prototypes’ is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit’ is not valid for C++
g++ -std=c++17 -DUNIX -Dlinux -DALSA -DHAVE_PULSEAUDIO -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0` -Werror=missing-prototypes -Werror=implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O3 -g1 -pthread -Wshadow -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/external/espeak=. -fstack-protector-strong -Wformat -Werror=format-security -I ../../kar -I ../../melder -I ../../dwtools -I ../../sys -I ../../dwsys -I ../../stat  -c -o voices.o voices.cpp
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=missing-prototypes’ is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit’ is not valid for C++
g++ -std=c++17 -DUNIX -Dlinux -DALSA -DHAVE_PULSEAUDIO -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0` -Werror=missing-prototypes -Werror=implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O3 -g1 -pthread -Wshadow -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/external/espeak=. -fstack-protector-strong -Wformat -Werror=format-security -I ../../kar -I ../../melder -I ../../dwtools -I ../../sys -I ../../dwsys -I ../../stat  -c -o wavegen.o wavegen.cpp
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=missing-prototypes’ is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit’ is not valid for C++
g++ -std=c++17 -DUNIX -Dlinux -DALSA -DHAVE_PULSEAUDIO -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0` -Werror=missing-prototypes -Werror=implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O3 -g1 -pthread -Wshadow -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/external/espeak=. -fstack-protector-strong -Wformat -Werror=format-security -I ../../kar -I ../../melder -I ../../dwtools -I ../../sys -I ../../dwsys -I ../../stat  -c -o create_espeak_ng_FileInMemoryManager.o create_espeak_ng_FileInMemoryManager.cpp
voices.cpp: In function ‘int SetVoiceScores(espeak_VOICE*, espeak_VOICE**, int)’:
voices.cpp:1187:27: warning: ‘%s’ directive writing up to 79 bytes into a region of size between 73 and 302 [-Wformat-overflow=]
 1187 |   sprintf(buf, "%s/voices/%s", path_home, language);
      |                           ^~              ~~~~~~~~
voices.cpp:1187:10: note: ‘sprintf’ output between 9 and 317 bytes into a destination of size 310
 1187 |   sprintf(buf, "%s/voices/%s", path_home, language);
      |   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=missing-prototypes’ is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit’ is not valid for C++
g++ -std=c++17 -DUNIX -Dlinux -DALSA -DHAVE_PULSEAUDIO -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0` -Werror=missing-prototypes -Werror=implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O3 -g1 -pthread -Wshadow -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/external/espeak=. -fstack-protector-strong -Wformat -Werror=format-security -I ../../kar -I ../../melder -I ../../dwtools -I ../../sys -I ../../dwsys -I ../../stat  -c -o create_espeak_ng_FileInMemorySet.o create_espeak_ng_FileInMemorySet.cpp
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=missing-prototypes’ is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit’ is not valid for C++
g++ -std=c++17 -DUNIX -Dlinux -DALSA -DHAVE_PULSEAUDIO -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0` -Werror=missing-prototypes -Werror=implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O3 -g1 -pthread -Wshadow -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/external/espeak=. -fstack-protector-strong -Wformat -Werror=format-security -I ../../kar -I ../../melder -I ../../dwtools -I ../../sys -I ../../dwsys -I ../../stat  -c -o espeak_io.o espeak_io.cpp
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=missing-prototypes’ is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit’ is not valid for C++
espeak_io.cpp: In function ‘autoFileInMemory phondata_to_bigendian(FileInMemory, FileInMemory)’:
espeak_io.cpp:193:10: error: ‘isupper’ was not declared in this scope; did you mean ‘iswupper’?
  193 |    if (! isupper (line [0])) continue;
      |          ^~~~~~~
      |          iswupper
make[3]: *** [<builtin>: espeak_io.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/external/espeak'
make[2]: *** [Makefile:21: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:72: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:27: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list