Package: src:pd-flite
Version: 0.3.3-4
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/pd-flite_0.3.3-4_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

[...]
SCHROOT_UID=1001
SCHROOT_USER=user42
SHELL=/bin/sh
USER=user42

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package pd-flite
dpkg-buildpackage: info: source version 0.3.3-4
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by IOhannes m zmölnig (Debian/GNU) 
<umlae...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean --buildsystem=pd_lib_builder
   dh_auto_clean -O--buildsystem=pd_lib_builder
        make -j8 distclean PDLIBBUILDER_DIR=/usr/share/pd-lib-builder/
make[1]: Entering directory '/<<PKGBUILDDIR>>'
++++ info: using Makefile.pdlibbuilder version 0.7.0~Debian
++++ info: making target distclean in lib flite
rm -f flite.pd_linux.o   
rm -f flite.pd_linux flite.pd_linux 
rm -f *.pre *.lst
target distclean not yet implemented
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
        make -j8 distclean PDLIBBUILDER_DIR=/usr/share/pd-lib-builder/ 
floatsize=64 extension=linux-amd64-64.so
make[1]: Entering directory '/<<PKGBUILDDIR>>'
++++ info: using Makefile.pdlibbuilder version 0.7.0~Debian
++++ info: making target distclean in lib flite
rm -f flite.linux-amd64-64.so.o   
rm -f flite.linux-amd64-64.so flite.linux-amd64-64.so 
rm -f *.pre *.lst
target distclean not yet implemented
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pd_lib_builder
   dh_clean -O--buildsystem=pd_lib_builder
 debian/rules binary
dh binary --buildsystem=pd_lib_builder
   dh_update_autotools_config -O--buildsystem=pd_lib_builder
   dh_autoreconf -O--buildsystem=pd_lib_builder
   dh_auto_configure -O--buildsystem=pd_lib_builder
   dh_auto_build -O--buildsystem=pd_lib_builder
        make -j8 "INSTALL=install --strip-program=true" arch.c.flags= 
"LDFLAGS=-Wl,-z,relro -Wl,-z,now" "CFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -g 
-O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection" "CPPFLAGS=-Wdate-time 
-D_FORTIFY_SOURCE=2" PDLIBBUILDER_DIR=/usr/share/pd-lib-builder/
make[1]: Entering directory '/<<PKGBUILDDIR>>'
++++ info: using Makefile.pdlibbuilder version 0.7.0~Debian
++++ info: using Pd API /usr/include/pd/m_pd.h
++++ info: making target all in lib flite
++++ info: making flite.pd_linux.o in lib flite
cc -DPD -I "/usr/include/pd"  -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-DHAVE_FLITE_FLITE_H=1 -I . -DVERSION='"0.3.3"' -Wdate-time -D_FORTIFY_SOURCE=2 
-g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o 
flite.pd_linux.o -c flite.c
flite.c: In function ‘flite_new’:
flite.c:696:32: error: passing argument 3 of ‘pthread_create’ from incompatible 
pointer type [-Wincompatible-pointer-types]
  696 |   pthread_create(&x->x_tid, 0, flite_thread, x);
      |                                ^~~~~~~~~~~~
      |                                |
      |                                void (*)(t_flite *) {aka void (*)(struct 
_flite *)}
In file included from flite.c:19:
/usr/include/pthread.h:204:36: note: expected ‘void * (*)(void *)’ but argument 
is of type ‘void (*)(t_flite *)’ {aka ‘void (*)(struct _flite *)’}
  204 |                            void *(*__start_routine) (void *),
      |                            ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
flite.c: In function ‘flite_read_textfile’:
flite.c:407:3: warning: ignoring return value of ‘fread’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
  407 |   fread(x->x_textbuf, 1, len, fp);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [/usr/share/pd-lib-builder//Makefile.pdlibbuilder:987: 
flite.pd_linux.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" 
arch.c.flags= "LDFLAGS=-Wl,-z,relro -Wl,-z,now" "CFLAGS=-Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" 
"CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2" 
PDLIBBUILDER_DIR=/usr/share/pd-lib-builder/ returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to