Source: playmidi
Version: 2.4debian-13
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> for i in *.c; do cc -E -M -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection    
> -I/usr/X11R6/include -DNARROWPROTO -I/usr/local/include  $i; done >.depend
> io_gtk.c:19:10: fatal error: gtk/gtk.h: No such file or directory
>    19 | #include <gtk/gtk.h>
>       |          ^~~~~~~~~~~
> compilation terminated.
> io_svgalib.c:17:10: fatal error: vga.h: No such file or directory
>    17 | #include <vga.h>
>       |          ^~~~~~~
> compilation terminated.
> rm -f *.o playmidi splaymidi xplaymidi a.out toy seq2mid beat
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> 
> Successful.  Trying to make again
> cc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  
> -Wdate-time -D_FORTIFY_SOURCE=2  -c -o playmidi.o playmidi.c
> playmidi.c: In function ‘main’:
> playmidi.c:558:17: warning: ignoring return value of ‘fgets’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   558 |                 fgets(temp, sizeof(temp), mfd); /* skip 1st line */
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> playmidi.c:559:17: warning: ignoring return value of ‘fgets’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   559 |                 fgets(temp, sizeof(temp), mfd);
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> playmidi.c:578:9: warning: ignoring return value of ‘fread’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   578 |         fread(filebuf, 1, info.st_size, mfd);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  
> -Wdate-time -D_FORTIFY_SOURCE=2  -c -o readmidi.o readmidi.c
> cc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  
> -Wdate-time -D_FORTIFY_SOURCE=2  -c -o playevents.o playevents.c
> cc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  
> -Wdate-time -D_FORTIFY_SOURCE=2  -c -o patchload.o patchload.c
> cc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  
> -Wdate-time -D_FORTIFY_SOURCE=2  -c -o emumidi.o emumidi.c
> cc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection   
> -c io_ncurses.c -o io_ncurses.o
> cc -Wl,-z,relro -o playmidi playmidi.o readmidi.o playevents.o patchload.o 
> emumidi.o io_ncurses.o -L/usr/lib -L/usr/lib64 -lncurses
> cc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  
> -I/usr/X11R6/include -DNARROWPROTO -c io_xaw.c -o io_xaw.o
> cc -Wl,-z,relro -o xplaymidi playmidi.o readmidi.o playevents.o patchload.o 
> emumidi.o io_xaw.o -L/usr/X11R6/lib -L/usr/X11R6/lib64 -lXaw -lXt -lX11
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> touch build-stamp
>  fakeroot debian/rules binary
> dh_testdir
> dh_testroot
> dh_clean -k
> dh_clean: warning: Compatibility levels before 10 are deprecated (level 7 in 
> use)
> dh_clean: warning: dh_clean -k is deprecated; use dh_prep instead
> dh_clean: warning: This feature will be removed in compat 12.
> dh_installdirs etc/X11/app-defaults etc/playmidi usr/bin \
>              usr/lib/playmidi usr/share/doc/playmidi/examples \
>              
> dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 
> 7 in use)
> install -m644 XPlaymidi.ad debian/playmidi/etc/X11/app-defaults/XPlaymidi
> install -m644 drums.* std.* debian/playmidi/etc/playmidi
> # compile xplaymidi wrapper
> sh debian/xplaymidi.sh
> debian/xplaymidi.c: In function ‘main’:
> debian/xplaymidi.c:22:3: error: implicit declaration of function ‘execv’ 
> [-Werror=implicit-function-declaration]
>    22 |   execv ("/usr/lib/playmidi/xplaymidi", argv);
>       |   ^~~~~
> cc1: some warnings being treated as errors
> make: *** [debian/rules:40: install] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/playmidi_2.4debian-13_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to