Package: src:gmerlin
Version: 2.0.0~svn6298~dfsg0-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/gmerlin_2.0.0~svn6298~dfsg0-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

[...]
uthread_sem.c:195:19: error: invalid type argument of ‘->’ (have ‘sem_t’)
  195 |         if ((*sem)->count > 0) {
      |                   ^~
uthread_sem.c:196:23: error: invalid type argument of ‘->’ (have ‘sem_t’)
  196 |                 (*sem)->count--;
      |                       ^~
uthread_sem.c:203:37: error: invalid type argument of ‘->’ (have ‘sem_t’)
  203 |         pthread_mutex_unlock(&(*sem)->lock);
      |                                     ^~
uthread_sem.c: In function ‘sem_post’:
uthread_sem.c:42:21: error: invalid type argument of ‘->’ (have ‘sem_t’)
   42 |         if ((*(sem))->magic != SEM_MAGIC) {     \
      |                     ^~
uthread_sem.c:214:9: note: in expansion of macro ‘_SEM_CHECK_VALIDITY’
  214 |         _SEM_CHECK_VALIDITY(sem);
      |         ^~~~~~~~~~~~~~~~~~~
uthread_sem.c:42:32: error: ‘SEM_MAGIC’ undeclared (first use in this function)
   42 |         if ((*(sem))->magic != SEM_MAGIC) {     \
      |                                ^~~~~~~~~
uthread_sem.c:214:9: note: in expansion of macro ‘_SEM_CHECK_VALIDITY’
  214 |         _SEM_CHECK_VALIDITY(sem);
      |         ^~~~~~~~~~~~~~~~~~~
uthread_sem.c:216:35: error: invalid type argument of ‘->’ (have ‘sem_t’)
  216 |         pthread_mutex_lock(&(*sem)->lock);
      |                                   ^~
uthread_sem.c:218:15: error: invalid type argument of ‘->’ (have ‘sem_t’)
  218 |         (*sem)->count++;
      |               ^~
uthread_sem.c:219:19: error: invalid type argument of ‘->’ (have ‘sem_t’)
  219 |         if ((*sem)->nwaiters > 0) {
      |                   ^~
uthread_sem.c:226:47: error: invalid type argument of ‘->’ (have ‘sem_t’)
  226 |                 pthread_cond_broadcast(&(*sem)->gtzero);
      |                                               ^~
uthread_sem.c:229:37: error: invalid type argument of ‘->’ (have ‘sem_t’)
  229 |         pthread_mutex_unlock(&(*sem)->lock);
      |                                     ^~
uthread_sem.c: In function ‘sem_getvalue’:
uthread_sem.c:42:21: error: invalid type argument of ‘->’ (have ‘sem_t’)
   42 |         if ((*(sem))->magic != SEM_MAGIC) {     \
      |                     ^~
uthread_sem.c:241:9: note: in expansion of macro ‘_SEM_CHECK_VALIDITY’
  241 |         _SEM_CHECK_VALIDITY(sem);
      |         ^~~~~~~~~~~~~~~~~~~
uthread_sem.c:42:32: error: ‘SEM_MAGIC’ undeclared (first use in this function)
   42 |         if ((*(sem))->magic != SEM_MAGIC) {     \
      |                                ^~~~~~~~~
uthread_sem.c:241:9: note: in expansion of macro ‘_SEM_CHECK_VALIDITY’
  241 |         _SEM_CHECK_VALIDITY(sem);
      |         ^~~~~~~~~~~~~~~~~~~
uthread_sem.c:243:35: error: invalid type argument of ‘->’ (have ‘sem_t’)
  243 |         pthread_mutex_lock(&(*sem)->lock);
      |                                   ^~
uthread_sem.c:244:28: error: invalid type argument of ‘->’ (have ‘sem_t’)
  244 |         *sval = (int)(*sem)->count;
      |                            ^~
uthread_sem.c:245:37: error: invalid type argument of ‘->’ (have ‘sem_t’)
  245 |         pthread_mutex_unlock(&(*sem)->lock);
      |                                     ^~
make[3]: *** [Makefile:1085: uthread_sem.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I../include 
-Wdate-time -D_FORTIFY_SOURCE=2 -DBUILD_DATE=\"2024/06/25\" 
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 
-I/usr/include/libpng16 -I/usr/include/json-c -I/usr/include/cairo 
-I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 
-I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/fribidi 
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/pango-1.0 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 
-I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -pthread 
-I/usr/include/dbus-1.0 -I/
 usr/lib/x86_64-linux-gnu/dbus-1.0/include -D_DEFAULT_SOURCE 
-D_XOPEN_SOURCE=600 -DLOCALE_DIR=\"/usr/share/locale\" 
-DPLUGIN_DIR=\"/usr/lib/x86_64-linux-gnu/gmerlin/plugins\" 
-DDOC_DIR=\"/usr/share/doc/libgmerlin-doc\" -DDATA_DIR=\"/usr/share/gmerlin\" 
-DPKGBIN_DIR=\"/usr/lib/x86_64-linux-gnu/gmerlin/bin\" -g -O2 
-Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 
-fomit-frame-pointer -ffast-math -Wall -Wmissing-declarations 
-Wdeclaration-after-statement -I/usr/include/libxml2 -c backend_mpd.c  -fPIC 
-DPIC -o .libs/backend_mpd.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[2]: *** [Makefile:1100: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[1]: *** [Makefile:638: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:54: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to