[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1114113: gbsplay: FTBFS: xgbsplay.c:428:17: error: too many arguments to function 'toggle_pause'; expected 0, have 1



Package: src:gbsplay
Version: 0.0.99-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:gbsplay, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --no-parallel
   dh_auto_clean -O--no-parallel
	make -j1 distclean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Makefile:31: warning: undefined variable 'use_verbosebuild'
Makefile:74: warning: undefined variable 'VERSION'
Makefile:76: warning: undefined variable 'EXTRA_CFLAGS'
Makefile:77: warning: undefined variable 'EXTRA_LDFLAGS'
Makefile:79: warning: undefined variable 'EXTRA_LDFLAGS'
Makefile:115: warning: undefined variable 'windows_libprefix'
Makefile:126: warning: undefined variable 'plugout_devdsp'
Makefile:129: warning: undefined variable 'plugout_alsa'
Makefile:133: warning: undefined variable 'plugout_nas'
Makefile:137: warning: undefined variable 'plugout_sdl'
Makefile:141: warning: undefined variable 'plugout_stdout'
Makefile:144: warning: undefined variable 'plugout_midi'
Makefile:147: warning: undefined variable 'plugout_altmidi'
Makefile:150: warning: undefined variable 'plugout_pipewire'
Makefile:154: warning: undefined variable 'plugout_pulse'
Makefile:158: warning: undefined variable 'plugout_dsound'
Makefile:162: warning: undefined variable 'plugout_iodumper'
Makefile:165: warning: undefined variable 'plugout_wav'
Makefile:168: warning: undefined variable 'plugout_vgm'
Makefile:181: warning: undefined variable 'build_contrib'
Makefile:187: warning: undefined variable 'build_test'
Makefile:193: warning: undefined variable 'windows_build'
Makefile:205: warning: undefined variable 'use_sharedlibgbs'
Makefile:293: warning: undefined variable 'build_xgbsplay'
po/subdir.mk:1: warning: undefined variable 'have_xgettext'
Makefile:340: warning: undefined variable 'EXTRA_INSTALL'
Makefile:389: warning: undefined variable 'EXTRA_UNINSTALL'
find . -regex ".*\.\([aos]\|ho\|lo\|mo\|pot\|test\(\.exe\)?\|so\(\.[0-9]\)?\|gcda\|gcno\|gcov\)" -exec rm -f "{}" \;
find . -name "*~" -exec rm -f "{}" \;
rm -f libgbs libgbspic libgbs.def libgbs.so.1.ver
rm -f man/gbsplay.1    man/gbsinfo.1    man/gbsplayrc.5
rm -f gbsplay gbs2gb gbsinfo
rm -f test_gbs gbsplayrc.tmp
rm -f gen_impulse_h impulse.h
rm -rf apidoc/
find . -regex ".*\.d" -exec rm -f "{}" \;
rm -f ./config.mk ./config.h ./config.err ./config.sed ./libgbs.pc
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--no-parallel
   dh_clean -O--no-parallel
 debian/rules binary
dh binary --no-parallel
   dh_update_autotools_config -O--no-parallel
   dh_autoreconf -O--no-parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./configure \
--enable-verbosebuild \
--prefix=/usr \
--exec-prefix=/usr \
--mandir=\${prefix}/share/man \
--sysconfdir=/etc \
--datadir=\${prefix}/share/gbsplay \
--bindir=\${prefix}/bin \
--infodir=\${prefix}/share/info \
--with-xgbsplay \
--enable-nas --enable-midi --enable-devdsp --enable-stdout --enable-alsa --enable-pulse \
CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic" LDFLAGS="-Wl,-z,relro -Wl,-z,now -W"
configure gbsplay 0.0.99ish
checking for working compiler:  ok
checking if target is windows:  no
checking for inttypes.h:  ok
checking for zlib.h:  ok
checking if we need additional libs for z:  yes
looking for -lz:  ok
...but it still won't compile cleanly
checking for sys/soundcard.h:  ok
checking if we need additional flags for sys/soundcard.h:  no
checking for alsa/asoundlib.h:  ok
checking for ESTRPIPE support:  ok
checking for dsound.h:  not found
checking for dsound.h in /usr/include/w32api:  not found
checking for dsound.h in /usr/local/include:  not found
checking for dsound.h in /opt/local/include:  not found
checking for spa/support/plugin.h:  not found
checking for spa/support/plugin.h in /usr/include/pipewire-0.3:  not found
checking for spa/support/plugin.h in /usr/include/spa-0.2:  not found
checking for spa/support/plugin.h in /usr/local/include:  not found
checking for spa/support/plugin.h in /opt/local/include:  not found
checking for pulse/simple.h:  ok
checking for audio/audiolib.h:  ok
checking if we need additional libs for audio:  no
checking for SDL.h:  not found
checking for SDL.h in /usr/include/SDL2:  ok
checking if we need additional libs for SDL2:  yes
looking for -lSDL2:  ok
...but it still won't compile cleanly
checking if stdout converts line endings:  no
checking for locale.h:  ok
checking for libintl.h:  ok
checking for gettext tools:  ok
checking if we need additional libs for intl:  no
checking for doxygen:  not found
checking for xcb/xcb.h:  ok
checking for xcb/xcb_icccm.h:  ok
checking for cairo/cairo-xcb.h:  ok
checking if we need additional libs for xcb:  no
checking if we need additional libs for xcb-icccm:  no
checking if we need additional libs for cairo:  no
checking if cc supports -std=c17:  no
checking if cc supports -std=c11:  no
checking if cc supports -Wdeclaration-after-statement:  no
checking if cc supports -Wvla:  no
checking if cc supports -Wimplicit-fallthrough:  no
checking if cc supports -Wswitch-unreachable:  no
checking if cc supports -Wl,-z,relro:  no
checking if cc supports -Wl,-z,now:  no
checking if cc supports -Wl,-pie:  no
checking if cc supports -pie:  no
checking if cc supports -fstack-protector-strong:  no
checking if cc supports -fstack-protector:  no
checking if cc supports -fstack-clash-protection:  no
optional modules: +contrib +test +xgbsplay
optional features: +alsa -debug +devdsp -dsound +hardening +i18n +iodumper +midi +altmidi +nas +pulse -sharedlibgbs +stdout +vgm +wav +verbosebuild -zlib
EXTRA_CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer
EXTRA_LDFLAGS=-Wl,-z,relro -Wl,-z,now -W

content of generated config.mk:
--------
EXTRA_ALL := 
EXTRA_CFLAGS := -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer
EXTRA_INSTALL :=  xgbsplay
EXTRA_LDFLAGS := -Wl,-z,relro -Wl,-z,now -W
EXTRA_SRCS := 
EXTRA_UNINSTALL :=  xgbsplay
VERSION := 0.0.99ish
prefix := /usr
exec_prefix := /usr
bindir := ${prefix}/bin
libdir := /usr/lib
mandir := ${prefix}/share/man
docdir := /usr/share/doc/gbsplay
localedir := /usr/share/locale
mimedir := /usr/share/mime
appdir := /usr/share/applications
includedir := /usr/include/libgbs
pkgconfigdir := /usr/share/pkgconfig
sysconfdir := /etc
CC := gcc
BUILDCC := gcc
HOSTCC := gcc
build_contrib := yes
build_test := yes
build_xgbsplay := yes
have_doxygen := no
have_xgettext := yes
use_i18n := yes
use_sharedlibgbs := no
use_verbosebuild := yes
windows_build := no
windows_libprefix := 
libaudio_flags := 
libpipewire_0_3_flags := 
libSDL2_flags := 
plugout_alsa := yes
plugout_devdsp := yes
plugout_dsound := no
plugout_iodumper := yes
plugout_midi := yes
plugout_altmidi := yes
plugout_nas := yes
plugout_pipewire :=
plugout_pulse := yes
plugout_sdl :=
plugout_stdout := yes
plugout_vgm := yes
plugout_wav := yes
configured := yes
--------

content of generated config.h:
--------
#ifndef _CONFIG_H_
#define GBS_VERSION "0.0.99ish"
#define LOCALE_PREFIX "/usr/share/locale"
#define SYSCONF_PREFIX "/etc"
#define PLUGOUT_ALSA 1
#define PLUGOUT_DEVDSP 1
/* #undef PLUGOUT_DSOUND */
#define PLUGOUT_IODUMPER 1
#define PLUGOUT_MIDI 1
#define PLUGOUT_ALTMIDI 1
#define PLUGOUT_NAS 1
/* #undef PLUGOUT_PIPEWIRE */
#define PLUGOUT_PULSE 1
#define PLUGOUT_STDOUT 1
/* #undef PLUGOUT_SDL */
#define PLUGOUT_VGM 1
#define PLUGOUT_WAV 1
#define USE_I18N 1
/* #undef USE_ZLIB */
#define HAVE_ESTRPIPE 1
/* #undef HAVE_SETMODE */
#endif
--------

content of generated config.sed:
--------
s/%%%VERSION%%%/0.0.99ish/g
--------

content of generated libgbs.pc:
--------
Name: libgbs
Description: The Gameboy sound player library
Version: 0.0.99ish
Cflags: -I/usr/include/libgbs/libgbs
Libs: -L/usr/lib -lgbs -lm
--------
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -O--no-parallel
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Makefile:308: warning: undefined variable 'ojbs_gbs2gb'
Makefile:311: warning: undefined variable 'ojbs_gbs2gb'
Makefile:312: warning: undefined variable 'ojbs_gbs2gb'
DEP gbcpu.c -o gbcpu.d
CC=gcc ./depend.sh gbcpu.c config.mk > gbcpu.d || rm -f gbcpu.d
HOSTCC gen_impulse_h.c -o gen_impulse_h.ho
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o gen_impulse_h.ho gen_impulse_h.c
HOSTCC impulsegen.c -o impulsegen.ho
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o impulsegen.ho impulsegen.c
gcc -o gen_impulse_h gen_impulse_h.ho impulsegen.ho -lm
./gen_impulse_h > impulse.h
DEP gbhw.c -o gbhw.d
CC=gcc ./depend.sh gbhw.c config.mk > gbhw.d || rm -f gbhw.d
DEP gblfsr.c -o gblfsr.d
CC=gcc ./depend.sh gblfsr.c config.mk > gblfsr.d || rm -f gblfsr.d
DEP mapper.c -o mapper.d
CC=gcc ./depend.sh mapper.c config.mk > mapper.d || rm -f mapper.d
DEP gbs.c -o gbs.d
CC=gcc ./depend.sh gbs.c config.mk > gbs.d || rm -f gbs.d
DEP crc32.c -o crc32.d
CC=gcc ./depend.sh crc32.c config.mk > crc32.d || rm -f crc32.d
DEP gbsplay.c -o gbsplay.d
CC=gcc ./depend.sh gbsplay.c config.mk > gbsplay.d || rm -f gbsplay.d
DEP util.c -o util.d
CC=gcc ./depend.sh util.c config.mk > util.d || rm -f util.d
DEP plugout.c -o plugout.d
CC=gcc ./depend.sh plugout.c config.mk > plugout.d || rm -f plugout.d
DEP player.c -o player.d
CC=gcc ./depend.sh player.c config.mk > player.d || rm -f player.d
DEP cfgparser.c -o cfgparser.d
CC=gcc ./depend.sh cfgparser.c config.mk > cfgparser.d || rm -f cfgparser.d
DEP terminal_posix.c -o terminal_posix.d
CC=gcc ./depend.sh terminal_posix.c config.mk > terminal_posix.d || rm -f terminal_posix.d
DEP filewriter.c -o filewriter.d
CC=gcc ./depend.sh filewriter.c config.mk > filewriter.d || rm -f filewriter.d
DEP midifile.c -o midifile.d
CC=gcc ./depend.sh midifile.c config.mk > midifile.d || rm -f midifile.d
DEP plugout_alsa.c -o plugout_alsa.d
CC=gcc ./depend.sh plugout_alsa.c config.mk > plugout_alsa.d || rm -f plugout_alsa.d
DEP plugout_altmidi.c -o plugout_altmidi.d
CC=gcc ./depend.sh plugout_altmidi.c config.mk > plugout_altmidi.d || rm -f plugout_altmidi.d
DEP plugout_devdsp.c -o plugout_devdsp.d
CC=gcc ./depend.sh plugout_devdsp.c config.mk > plugout_devdsp.d || rm -f plugout_devdsp.d
DEP plugout_iodumper.c -o plugout_iodumper.d
CC=gcc ./depend.sh plugout_iodumper.c config.mk > plugout_iodumper.d || rm -f plugout_iodumper.d
DEP plugout_midi.c -o plugout_midi.d
CC=gcc ./depend.sh plugout_midi.c config.mk > plugout_midi.d || rm -f plugout_midi.d
DEP plugout_nas.c -o plugout_nas.d
CC=gcc ./depend.sh plugout_nas.c config.mk > plugout_nas.d || rm -f plugout_nas.d
DEP plugout_pulse.c -o plugout_pulse.d
CC=gcc ./depend.sh plugout_pulse.c config.mk > plugout_pulse.d || rm -f plugout_pulse.d
DEP plugout_stdout.c -o plugout_stdout.d
CC=gcc ./depend.sh plugout_stdout.c config.mk > plugout_stdout.d || rm -f plugout_stdout.d
DEP plugout_vgm.c -o plugout_vgm.d
CC=gcc ./depend.sh plugout_vgm.c config.mk > plugout_vgm.d || rm -f plugout_vgm.d
DEP plugout_wav.c -o plugout_wav.d
CC=gcc ./depend.sh plugout_wav.c config.mk > plugout_wav.d || rm -f plugout_wav.d
DEP gbsinfo.c -o gbsinfo.d
CC=gcc ./depend.sh gbsinfo.c config.mk > gbsinfo.d || rm -f gbsinfo.d
DEP xgbsplay.c -o xgbsplay.d
CC=gcc ./depend.sh xgbsplay.c config.mk > xgbsplay.d || rm -f xgbsplay.d
Makefile:308: warning: undefined variable 'ojbs_gbs2gb'
Makefile:311: warning: undefined variable 'ojbs_gbs2gb'
Makefile:312: warning: undefined variable 'ojbs_gbs2gb'
CC gbcpu.c -o gbcpu.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o gbcpu.o gbcpu.c
CC gbhw.c -o gbhw.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o gbhw.o gbhw.c
gbhw.c:66:27: warning: overflow in conversion from â??intâ?? to â??charâ?? changes value from â??252â?? to â??-4â?? [-Woverflow]
   66 |         0x02, 0x03, 0x0f, 0xfc
      |                           ^~~~
gbhw.c: In function â??gb_soundâ??:
gbhw.c:647:26: warning: ISO C forbids braced-groups within expressions [-Wpedantic]
  647 | #define GET_NIBBLE(p, n) ({ \
      |                          ^
gbhw.c:760:57: note: in expansion of macro â??GET_NIBBLEâ??
  760 |                                 gbhw->ch3_next_nibble = GET_NIBBLE(&gbhw->ioregs[0x30], pos) * 2;
      |                                                         ^~~~~~~~~~
CC gblfsr.c -o gblfsr.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o gblfsr.o gblfsr.c
CC mapper.c -o mapper.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o mapper.o mapper.c
CC gbs.c -o gbs.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o gbs.o gbs.c
CC crc32.c -o crc32.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o crc32.o crc32.c
CC gbsplay.c -o gbsplay.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o gbsplay.o gbsplay.c
CC util.c -o util.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o util.o util.c
CC plugout.c -o plugout.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o plugout.o plugout.c
CC player.c -o player.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o player.o player.c
CC cfgparser.c -o cfgparser.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o cfgparser.o cfgparser.c
CC terminal_posix.c -o terminal_posix.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o terminal_posix.o terminal_posix.c
CC filewriter.c -o filewriter.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o filewriter.o filewriter.c
CC midifile.c -o midifile.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o midifile.o midifile.c
CC plugout_alsa.c -o plugout_alsa.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o plugout_alsa.o plugout_alsa.c
CC plugout_altmidi.c -o plugout_altmidi.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o plugout_altmidi.o plugout_altmidi.c
CC plugout_devdsp.c -o plugout_devdsp.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o plugout_devdsp.o plugout_devdsp.c
CC plugout_iodumper.c -o plugout_iodumper.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o plugout_iodumper.o plugout_iodumper.c
CC plugout_midi.c -o plugout_midi.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o plugout_midi.o plugout_midi.c
CC plugout_nas.c -o plugout_nas.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o plugout_nas.o plugout_nas.c
plugout_nas.c: In function â??nas_writeâ??:
plugout_nas.c:222:21: warning: pointer of type â??void *â?? used in arithmetic [-Wpointer-arith]
  222 |                 buf += writelen;
      |                     ^~
CC plugout_pulse.c -o plugout_pulse.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o plugout_pulse.o plugout_pulse.c
CC plugout_stdout.c -o plugout_stdout.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o plugout_stdout.o plugout_stdout.c
CC plugout_vgm.c -o plugout_vgm.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o plugout_vgm.o plugout_vgm.c
CC plugout_wav.c -o plugout_wav.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o plugout_wav.o plugout_wav.c
ar r libgbs.a gbcpu.o gbhw.o gblfsr.o mapper.o gbs.o crc32.o
ar: creating libgbs.a
CC gbsinfo.c -o gbsinfo.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o gbsinfo.o gbsinfo.c
CC xgbsplay.c -o xgbsplay.o
gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -I/usr/include/SDL2  -D_FORTIFY_SOURCE=2 -Os -pipe -fomit-frame-pointer -fpie -c -o xgbsplay.o xgbsplay.c
xgbsplay.c: In function â??handle_user_inputâ??:
xgbsplay.c:428:17: error: too many arguments to function â??toggle_pauseâ??; expected 0, have 1
  428 |                 toggle_pause(gbs);
      |                 ^~~~~~~~~~~~ ~~~
In file included from xgbsplay.c:24:
player.h:43:6: note: declared here
   43 | void toggle_pause();
      |      ^~~~~~~~~~~~
make[1]: *** [Makefile:578: xgbsplay.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:32: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------


Reply to: