Package: mplayer Version: 2:1.5+svn38681-2+b1 Severity: normal Tags: upstream ftbfs X-Debbugs-Cc: debi…@lists.debian.org, plor…@disroot.org User: debi…@lists.debian.org Usertags: alpha when mplayer code was updated for gcc-14, sections of the code that are specific to alpha were not patched, so it currently fails to build on alpha. the build fails with: Checking for ffmpeg/libavformat/protocols.c ... not found Checking for ffmpeg/libavfilter/allfilters.c ... not found Checking for cc version ... 16 Checking for working compiler ... yes Detected operating system: Linux Detected host architecture: alpha-ev5 Checking for cross compilation ... no Checking for host cc ... cc Checking for CPU type ... /tmp/mplayer-configure--1693274/tmp.c: In function 'main': /tmp/mplayer-configure--1693274/tmp.c:5:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 5 | printf("%ld-%x\n", ver, ~mask); | ^~~~~~ /tmp/mplayer-configure--1693274/tmp.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf' +++ |+#include <stdio.h> 1 | int main(void) { /tmp/mplayer-configure--1693274/tmp.c:5:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] 5 | printf("%ld-%x\n", ver, ~mask); | ^~~~~~ /tmp/mplayer-configure--1693274/tmp.c:5:5: note: include '<stdio.h>' or provide a declaration of 'printf' Checking for GCC & CPU optimization abilities ... Checking for byte order ... little-endian Checking for extern symbol prefix ... Checking for assembler support of -pipe option ... yes Checking for relocatable binary ... no (unavailable or untested architecture) I tried to patch the configure script --- a/configure +++ b/configure @@ -2765,6 +2765,7 @@ echocheck "CPU type" cat > $TMPC << EOF +#include <stdio.h> int main(void) { unsigned long ver, mask; __asm__ ("implver %0" : "=r" (ver)); now the build fails with: cc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -mcpu=ev67 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mplayer-1.5+svn38681=. -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -I/usr/include/samba-4.0 -I/usr/include/ -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -I/usr/include/bs2b -I/usr/include/alpha-linux-gnu -I/usr/include/gtk-2.0 -I/usr/lib/alpha-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/alpha-linux-gnu -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/alpha-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o vidix/pci_names.o vidix/pci_names.c In file included from vidix/pci.c:477: vidix/sysdep/pci_alpha.c: In function 'pci_get_vendor': vidix/sysdep/pci_alpha.c:15:48: error: passing argument 5 of 'pciconfig_read' from incompatible pointer type [-Wincompatible-pointer-types] 15 | pciconfig_read(bus, dev<<3, PCI_ID_REG, 4, &retval); | ^~~~~~~ | | | long unsigned int * In file included from vidix/sysdep/AsmMacros_alpha.h:66, from vidix/AsmMacros.h:70, from vidix/pci.c:64: /usr/include/alpha-linux-gnu/sys/io.h:76:43: note: expected 'unsigned char *' but argument is of type 'long unsigned int *' 76 | unsigned char *__buf) __THROW; | ~~~~~~~~~~~~~~~^~~~~ vidix/sysdep/pci_alpha.c:12:15: warning: unused parameter 'func' [-Wunused-parameter] 12 | int func) | ~~~~^~~~ vidix/sysdep/pci_alpha.c: In function 'pci_config_read_long': vidix/sysdep/pci_alpha.c:26:41: error: passing argument 5 of 'pciconfig_read' from incompatible pointer type [-Wincompatible-pointer-types] 26 | pciconfig_read(bus, dev<<3, cmd, 4, &retval); | ^~~~~~~ | | | unsigned int * /usr/include/alpha-linux-gnu/sys/io.h:76:43: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 76 | unsigned char *__buf) __THROW; | ~~~~~~~~~~~~~~~^~~~~ vidix/sysdep/pci_alpha.c:22:15: warning: unused parameter 'func' [-Wunused-parameter] 22 | int func, | ~~~~^~~~ make[2]: *** [Makefile:729: vidix/pci.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/build/reproducible-path/mplayer-1.5+svn38681' dh_auto_build: error: make -j3 mplayer returned exit code 2 make[1]: *** [debian/rules:97: override_dh_auto_build-arch] Error 25 make[1]: Leaving directory '/build/reproducible-path/mplayer-1.5+svn38681' make: *** [debian/rules:94: binary-arch] Error 2 dpkg-buildpackage: error: debian/rules binary-arch subprocess failed with exit status 2 I still have to test if --- a/vidix/sysdep/pci_alpha.c +++ b/vidix/sysdep/pci_alpha.c @@ -22,7 +22,7 @@ int func, unsigned cmd) { - unsigned retval; + unsigned long retval; pciconfig_read(bus, dev<<3, cmd, 4, &retval); return retval; } fixes the error, and I'm not sure it's the right way to address this so I intend to report this upstream -- System Information: Debian Release: forky/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.17.9+deb14-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: runit (via /run/runit.stopit) Versions of packages mplayer depends on: ii liba52-0.7.4 0.7.4-22+b1 ii libaa1 1.4p5-51.1+b2 ii libasound2t64 1.2.16.1-2 ii libass9 1:0.17.5-1 ii libaudio2 1.9.4-9.2 ii libavcodec63 7:9.0.2-3 ii libavformat63 7:9.0.2-3 ii libavutil61 7:9.0.2-3 ii libbluray4 1:1.5.0-3 ii libbs2b0 3.1.0+dfsg-8+b2 ii libc6 2.43-7 ii libcaca0 0.99.beta20-8 ii libcdio-cdda2t64 10.2+2.0.2-2+b2 ii libcdio-paranoia2t64 10.2+2.0.2-2+b2 ii libcdio19t64 2.2.0-4.1 ii libdca0 0.0.7-3 ii libdv4t64 1.0.0-18 ii libdvdnav4 7.0.0-2+b1 ii libdvdread8t64 7.1.1-1 ii libegl1 1.7.0-3+b1 ii libenca0 1.22-1 ii libfaad2 2.11.4-1 ii libfontconfig1 2.17.1-5 ii libfreetype6 2.14.3+dfsg-3 ii libfribidi0 1.0.16-5+b1 ii libgif7 6.1.3-1 ii libgl1 1.7.0-3+b1 ii libjack-jackd2-0 [libjack-0.125] 1.9.22~dfsg-6 ii libjpeg62-turbo 1:3.1.3-4 ii liblirc-client0t64 0.10.2-0.11 ii libmad0 0.16.5-2 ii libmng2 2.0.3+dfsg-5+b1 ii libmpeg2-4 0.5.1-11 ii libmpg123-0t64 1.33.7-1 ii libogg0 1.3.6-2+b1 ii libopenal1 1:1.25.2-2 ii libpng16-16t64 1.6.59-1 ii libpulse0 17.0+dfsg1-3 ii libsdl1.2debian 1.2.78-1 ii libsmbclient0 2:4.25.0+dfsg-1 ii libspeex1 1.2.1-3+b2 ii libswresample7 7:9.0.2-3 ii libswscale10 7:9.0.2-3 ii libtheoradec2 1.2.0+dfsg-6+b2 ii libtinfo6 6.6+20260608-2 ii libvorbisidec1 1.2.1+git20180316-8+b2 ii libx11-6 2:1.8.13-1 ii libxext6 2:1.3.4-1+b4 ii libxinerama1 2:1.1.4-3+b5 ii libxss1 1:1.2.3-1+b4 ii libxv1 2:1.0.13-1+b1 ii libxvidcore4 2:1.3.7-3+b2 ii libxxf86dga1 2:1.1.5-1+b4 ii libxxf86vm1 1:1.1.4-2+b1 ii zlib1g 1:1.3.dfsg+really1.3.2-3 mplayer recommends no packages. Versions of packages mplayer suggests: ii bzip2 1.0.8-6+b2 ii fontconfig 2.17.1-5 ii fonts-freefont-ttf 20211204+svn4273-6 ii mplayer-doc 2:1.5+svn38681-2 pn netselect | fping <none> -- Configuration Files: /etc/mplayer/mplayer.conf changed [not included] -- no debconf information