Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/soundtracker.spec'], chrootPath='/var/lib/mock/f33-build-178092-44955/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/soundtracker.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/soundtracker-0.6.8-31.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/soundtracker.spec'], chrootPath='/var/lib/mock/f33-build-178092-44955/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/soundtracker.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SGgy3V + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf soundtracker-0.6.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/soundtracker-0.6.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd soundtracker-0.6.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (soundtracker-0.6.8-no-setuid.patch): + echo 'Patch #0 (soundtracker-0.6.8-no-setuid.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no-setuid --fuzz=0 patching file app/Makefile.in Patch #1 (soundtracker-0.6.8-channel-mute-w-o-gdk-pixbuf.patch): + echo 'Patch #1 (soundtracker-0.6.8-channel-mute-w-o-gdk-pixbuf.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mute-wo-pixbuf --fuzz=0 patching file app/Makefile.am patching file app/Makefile.in patching file app/scalablepic.c patching file app/scalablepic.h patching file app/scope-group.c patching file app/scope-group.h Patch #2 (soundtracker-aarch64.patch): + echo 'Patch #2 (soundtracker-aarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .aarch64 --fuzz=0 patching file config.guess patching file config.sub + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oCcx7X + umask 022 + cd /builddir/build/BUILD + cd soundtracker-0.6.8 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-gnome --disable-alsa --disable-gdk-pixbuf checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking for poll... yes checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.2... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for SNDFILE... yes checking for ANSI C header files... (cached) yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for setresuid... yes checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking soundcard.h usability... no checking soundcard.h presence... no checking for soundcard.h... no checking for esd-config... no checking for ESD - version >= 0.2.8... no *** The esd-config script installed by ESD could not be found *** If ESD was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the ESD_CONFIG environment variable to the *** full path to esd-config. checking for esd_play_stream... no checking jack/jack.h usability... no checking jack/jack.h presence... no checking for jack/jack.h... no checking sys/audioio.h usability... no checking sys/audioio.h presence... no checking for sys/audioio.h... no checking target system type... riscv64-redhat-linux-gnu checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether byte ordering is bigendian... no configure: creating ./config.status config.status: creating Makefile config.status: creating app/Makefile config.status: creating app/drivers/Makefile config.status: creating app/mixers/Makefile config.status: creating po/Makefile.in config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile + make -j4 LDFLAGS=-ldl make all-recursive make[1]: Entering directory '/builddir/build/BUILD/soundtracker-0.6.8' Making all in po make[2]: Entering directory '/builddir/build/BUILD/soundtracker-0.6.8/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/soundtracker-0.6.8/po' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/soundtracker-0.6.8/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/soundtracker-0.6.8/doc' Making all in app make[2]: Entering directory '/builddir/build/BUILD/soundtracker-0.6.8/app' Making all in drivers make[3]: Entering directory '/builddir/build/BUILD/soundtracker-0.6.8/app/drivers' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'dummy-drivers.c' || echo './'`dummy-drivers.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'file-output.c' || echo './'`file-output.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'oss-output.c' || echo './'`oss-output.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'oss-input.c' || echo './'`oss-input.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'sdl-output.c' || echo './'`sdl-output.c file-output.c: In function 'sndfile_open': file-output.c:172:5: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | chown(d->filename, getuid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file-output.c: In function 'sndfile_new': file-output.c:118:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | pipe(d->pipe); | ^~~~~~~~~~~~~ oss-input.c: In function 'oss_open': oss-input.c:300:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 300 | read(d->soundfd, d->sndbuf, (d->stereo + 1) * (d->bits / 8) * d->fragsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oss-input.c: In function 'oss_poll_ready_sampling': oss-input.c:86:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 86 | read(d->soundfd, d->sndbuf, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f libdrivers.a ar cru libdrivers.a dummy-drivers.o file-output.o oss-output.o oss-input.o sdl-output.o ranlib libdrivers.a make[3]: Leaving directory '/builddir/build/BUILD/soundtracker-0.6.8/app/drivers' Making all in mixers make[3]: Entering directory '/builddir/build/BUILD/soundtracker-0.6.8/app/mixers' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'integer32.c' || echo './'`integer32.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'kb-x86.c' || echo './'`kb-x86.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'kbfloat-mix.c' || echo './'`kbfloat-mix.c rm -f libmixers.a ar cru libmixers.a integer32.o kb-x86.o kbfloat-mix.o ranlib libmixers.a make[3]: Leaving directory '/builddir/build/BUILD/soundtracker-0.6.8/app/mixers' make[3]: Entering directory '/builddir/build/BUILD/soundtracker-0.6.8/app' gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'audio.c' || echo './'`audio.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'audioconfig.c' || echo './'`audioconfig.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'cheat-sheet.c' || echo './'`cheat-sheet.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'clavier.c' || echo './'`clavier.c In file included from /usr/include/gtk-1.2/gtk/gtkarg.h:31, from /usr/include/gtk-1.2/gtk/gtkobject.h:31, from /usr/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /usr/include/gtk-1.2/gtk/gtkwidget.h:31, from /usr/include/gtk-1.2/gtk/gtkmain.h:32, from clavier.c:23: clavier.c: In function 'clavier_class_init': /usr/include/gtk-1.2/gtk/gtktypeutils.h:89:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | #define GTK_STRUCT_OFFSET(struct, field) ((gint) ((gchar*) &((struct*) 0)->field)) | ^ /usr/include/gtk-1.2/gtk/gtksignal.h:41:43: note: in expansion of macro 'GTK_STRUCT_OFFSET' 41 | #define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field)) | ^~~~~~~~~~~~~~~~~ clavier.c:123:7: note: in expansion of macro 'GTK_SIGNAL_OFFSET' 123 | GTK_SIGNAL_OFFSET (ClavierClass, clavierkey_press), | ^~~~~~~~~~~~~~~~~ /usr/include/gtk-1.2/gtk/gtktypeutils.h:89:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | #define GTK_STRUCT_OFFSET(struct, field) ((gint) ((gchar*) &((struct*) 0)->field)) | ^ /usr/include/gtk-1.2/gtk/gtksignal.h:41:43: note: in expansion of macro 'GTK_STRUCT_OFFSET' 41 | #define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field)) | ^~~~~~~~~~~~~~~~~ clavier.c:129:7: note: in expansion of macro 'GTK_SIGNAL_OFFSET' 129 | GTK_SIGNAL_OFFSET (ClavierClass, clavierkey_release), | ^~~~~~~~~~~~~~~~~ /usr/include/gtk-1.2/gtk/gtktypeutils.h:89:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | #define GTK_STRUCT_OFFSET(struct, field) ((gint) ((gchar*) &((struct*) 0)->field)) | ^ /usr/include/gtk-1.2/gtk/gtksignal.h:41:43: note: in expansion of macro 'GTK_STRUCT_OFFSET' 41 | #define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field)) | ^~~~~~~~~~~~~~~~~ clavier.c:135:7: note: in expansion of macro 'GTK_SIGNAL_OFFSET' 135 | GTK_SIGNAL_OFFSET (ClavierClass, clavierkey_enter), | ^~~~~~~~~~~~~~~~~ /usr/include/gtk-1.2/gtk/gtktypeutils.h:89:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | #define GTK_STRUCT_OFFSET(struct, field) ((gint) ((gchar*) &((struct*) 0)->field)) | ^ /usr/include/gtk-1.2/gtk/gtksignal.h:41:43: note: in expansion of macro 'GTK_STRUCT_OFFSET' 41 | #define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field)) | ^~~~~~~~~~~~~~~~~ clavier.c:141:7: note: in expansion of macro 'GTK_SIGNAL_OFFSET' 141 | GTK_SIGNAL_OFFSET (ClavierClass, clavierkey_leave), | ^~~~~~~~~~~~~~~~~ clavier.c:145:47: warning: pointer targets in passing argument 2 of 'gtk_object_class_add_signals' differ in signedness [-Wpointer-sign] 145 | gtk_object_class_add_signals (object_class, clavier_signals, LAST_SIGNAL); | ^~~~~~~~~~~~~~~ | | | gint * {aka int *} In file included from /usr/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /usr/include/gtk-1.2/gtk/gtkwidget.h:31, from /usr/include/gtk-1.2/gtk/gtkmain.h:32, from clavier.c:23: /usr/include/gtk-1.2/gtk/gtkobject.h:319:15: note: expected 'guint *' {aka 'unsigned int *'} but argument is of type 'gint *' {aka 'int *'} 319 | guint *signals, | ~~~~~~~~^~~~~~~ clavier.c: In function 'clavier_button_release': clavier.c:853:8: warning: variable 'key' set but not used [-Wunused-but-set-variable] 853 | gint key; | ^~~ audio.c: In function 'audio_thread': audio.c:525:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 525 | read(ctlpipe, a, 1 * sizeof(a[0])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ audio.c:529:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 529 | read(ctlpipe, a, 1 * sizeof(a[0])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ audio.c:533:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 533 | read(ctlpipe, &af, sizeof(af)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ audio.c:537:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 537 | read(ctlpipe, &af, sizeof(af)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ audio.c:541:6: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 541 | read(ctlpipe, &b, sizeof(b)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ audio.c: In function 'audio_ctlpipe_play_song': audio.c:210:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | write(backpipe, &a, sizeof(a)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ audio.c: In function 'audio_ctlpipe_play_pattern': audio.c:279:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 279 | write(backpipe, &a, sizeof(a)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ audio.c: In function 'audio_ctlpipe_play_note': audio.c:299:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 299 | write(backpipe, &a, sizeof(a)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ audio.c: In function 'audio_ctlpipe_play_note_full': audio.c:326:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 326 | write(backpipe, &a, sizeof(a)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ audio.c: In function 'audio_ctlpipe_render_song_to_file': audio.c:242:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 242 | write(backpipe, &a, sizeof(a)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ audio.c: In function 'audio_restore_priority': audio.c:163:5: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] 163 | nice(- nice_value); | ^~~~~~~~~~~~~~~~~~ audio.c: In function 'audio_ctlpipe_stop_playing': audio.c:362:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 362 | write(backpipe, &a, sizeof(a)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ audio.c: In function 'audio_set_mixer': audio.c:629:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 629 | write(audio_ctlpipe, &i, sizeof(i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ audio.c:630:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 630 | write(audio_ctlpipe, &newmixer, sizeof(newmixer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'endian-conv.c' || echo './'`endian-conv.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'envelope-box.c' || echo './'`envelope-box.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'errors.c' || echo './'`errors.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'event-waiter.c' || echo './'`event-waiter.c errors.c: In function 'error_error_common': errors.c:36:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | write(pipeb[1], &level, sizeof(level)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ errors.c:38:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | write(pipeb[1], &l, sizeof(l)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ errors.c:39:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | write(pipeb[1], text, l + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'extspinbutton.c' || echo './'`extspinbutton.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'file-operations.c' || echo './'`file-operations.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'gui-settings.c' || echo './'`gui-settings.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'gui-subs.c' || echo './'`gui-subs.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'gui.c' || echo './'`gui.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'instrument-editor.c' || echo './'`instrument-editor.c gui-settings.c: In function 'gui_settings_load_config': gui-settings.c:559:45: warning: pointer targets in passing argument 3 of 'prefs_get_int' differ in signedness [-Wpointer-sign] 559 | prefs_get_int(f, "permanent-channels", &gui_settings.permanent_channels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | guint32 * {aka unsigned int *} In file included from driver.h:27, from driver-out.h:28, from audio.h:30, from gui.h:27, from gui-settings.c:32: preferences.h:58:18: note: expected 'int *' but argument is of type 'guint32 *' {aka 'unsigned int *'} 58 | int *dest); | ~~~~~^~~~ gui-subs.c: In function 'aacdialog_close': gui-subs.c:465:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 465 | aaccallback((gint)data, aaccallbackdata); | ^ gui.c: In function 'gui_tempo_changed': gui.c:1022:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1022 | write(audio_ctlpipe, &i, sizeof(i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1023:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1023 | write(audio_ctlpipe, &value, sizeof(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'gui_bpm_changed': gui.c:1036:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1036 | write(audio_ctlpipe, &i, sizeof(i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1037:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1037 | write(audio_ctlpipe, &value, sizeof(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'play_song': gui.c:1268:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1268 | write(audio_ctlpipe, &i, sizeof(i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1269:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1269 | write(audio_ctlpipe, &sp, sizeof(sp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1270:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1270 | write(audio_ctlpipe, &pp, sizeof(pp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'read_mixer_pipe': gui.c:1162:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1162 | read(source, &a, sizeof(a)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'gui_mixer_stop_playing': gui.c:379:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 379 | write(audio_ctlpipe, &i, sizeof(i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'gui_init_xm': gui.c:1304:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1304 | write(audio_ctlpipe, &i, sizeof(i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'gui_play_note': gui.c:1376:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1376 | write(audio_ctlpipe, &a, sizeof(a)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1377:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1377 | write(audio_ctlpipe, &channel, sizeof(channel)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1378:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1378 | write(audio_ctlpipe, ¬e, sizeof(note)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1379:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1379 | write(audio_ctlpipe, &instrument, sizeof(instrument)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'gui_play_note_full': gui.c:1395:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1395 | write(audio_ctlpipe, &a, sizeof(a)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1396:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1396 | write(audio_ctlpipe, &channel, sizeof(channel)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1397:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1397 | write(audio_ctlpipe, ¬e, sizeof(note)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1398:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1398 | write(audio_ctlpipe, &sample, sizeof(sample)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1399:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1399 | x = offset; write(audio_ctlpipe, &x, sizeof(x)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1400:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1400 | x = count; write(audio_ctlpipe, &x, sizeof(x)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'gui_play_note_keyoff': gui.c:1408:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1408 | write(audio_ctlpipe, &a, sizeof(a)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1409:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1409 | write(audio_ctlpipe, &channel, sizeof(channel)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'gui_mixer_play_pattern': gui.c:369:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 369 | write(audio_ctlpipe, &i, sizeof(i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:370:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 370 | write(audio_ctlpipe, &pattern, sizeof(pattern)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:371:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 371 | write(audio_ctlpipe, &row, sizeof(row)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:372:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 372 | write(audio_ctlpipe, &stop_after_row, sizeof(stop_after_row)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'gui_adj_pitchbend_changed': gui.c:1056:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1056 | write(audio_ctlpipe, &a, sizeof(a)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1057:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1057 | write(audio_ctlpipe, &b, sizeof(b)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'gui_adj_amplification_changed': gui.c:1046:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1046 | write(audio_ctlpipe, &a, sizeof(a)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:1047:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1047 | write(audio_ctlpipe, &b, sizeof(b)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'gui_mixer_set_pattern': gui.c:394:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 394 | write(audio_ctlpipe, &i, sizeof(i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:395:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 395 | write(audio_ctlpipe, &pattern, sizeof(pattern)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'gui_mixer_set_songpos': gui.c:386:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 386 | write(audio_ctlpipe, &i, sizeof(i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:387:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 387 | write(audio_ctlpipe, &songpos, sizeof(songpos)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'gui_save_wav_callback': gui.c:451:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 451 | write(audio_ctlpipe, &i, sizeof(i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:452:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 452 | write(audio_ctlpipe, &l, sizeof(l)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c:453:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 453 | write(audio_ctlpipe, data, l + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'keys.c' || echo './'`keys.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'main.c' || echo './'`main.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'menubar.c' || echo './'`menubar.c In file included from /usr/include/string.h:495, from gui.c:26: In function 'strncat', inlined from 'gui_splash_set_label' at gui.c:1691:5: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:151:7: warning: taking address of expression of type 'void' 151 | &mixer_kbfloat); | ^ main.c:153:7: warning: taking address of expression of type 'void' 153 | &mixer_integer32); | ^ main.c:162:9: warning: taking address of expression of type 'void' 162 | &driver_out_oss); | ^ main.c:164:8: warning: taking address of expression of type 'void' 164 | &driver_in_oss); | ^ main.c:210:9: warning: taking address of expression of type 'void' 210 | &driver_out_sdl); | ^ main.c:225:13: warning: taking address of expression of type 'void' 225 | &driver_out_dummy); | ^ main.c:229:12: warning: taking address of expression of type 'void' 229 | &driver_in_dummy); | ^ main.c:126:2: warning: ignoring return value of 'setresuid' declared with attribute 'warn_unused_result' [-Wunused-result] 126 | setresuid(getuid(), getuid(), getuid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:127:2: warning: ignoring return value of 'setresgid' declared with attribute 'warn_unused_result' [-Wunused-result] 127 | setresgid(getgid(), getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'module-info.c' || echo './'`module-info.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'playlist.c' || echo './'`playlist.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'poll.c' || echo './'`poll.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'preferences.c' || echo './'`preferences.c In file included from /usr/include/gtk-1.2/gtk/gtkarg.h:31, from /usr/include/gtk-1.2/gtk/gtkobject.h:31, from /usr/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /usr/include/gtk-1.2/gtk/gtk.h:32, from playlist.c:24: playlist.c: In function 'playlist_class_init': /usr/include/gtk-1.2/gtk/gtktypeutils.h:89:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | #define GTK_STRUCT_OFFSET(struct, field) ((gint) ((gchar*) &((struct*) 0)->field)) | ^ /usr/include/gtk-1.2/gtk/gtksignal.h:41:43: note: in expansion of macro 'GTK_STRUCT_OFFSET' 41 | #define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field)) | ^~~~~~~~~~~~~~~~~ playlist.c:618:14: note: in expansion of macro 'GTK_SIGNAL_OFFSET' 618 | GTK_SIGNAL_OFFSET(PlaylistClass, current_position_changed), | ^~~~~~~~~~~~~~~~~ /usr/include/gtk-1.2/gtk/gtktypeutils.h:89:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | #define GTK_STRUCT_OFFSET(struct, field) ((gint) ((gchar*) &((struct*) 0)->field)) | ^ /usr/include/gtk-1.2/gtk/gtksignal.h:41:43: note: in expansion of macro 'GTK_STRUCT_OFFSET' 41 | #define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field)) | ^~~~~~~~~~~~~~~~~ playlist.c:625:14: note: in expansion of macro 'GTK_SIGNAL_OFFSET' 625 | GTK_SIGNAL_OFFSET(PlaylistClass, restart_position_changed), | ^~~~~~~~~~~~~~~~~ /usr/include/gtk-1.2/gtk/gtktypeutils.h:89:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | #define GTK_STRUCT_OFFSET(struct, field) ((gint) ((gchar*) &((struct*) 0)->field)) | ^ /usr/include/gtk-1.2/gtk/gtksignal.h:41:43: note: in expansion of macro 'GTK_STRUCT_OFFSET' 41 | #define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field)) | ^~~~~~~~~~~~~~~~~ playlist.c:632:9: note: in expansion of macro 'GTK_SIGNAL_OFFSET' 632 | GTK_SIGNAL_OFFSET(PlaylistClass, song_length_changed), | ^~~~~~~~~~~~~~~~~ /usr/include/gtk-1.2/gtk/gtktypeutils.h:89:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | #define GTK_STRUCT_OFFSET(struct, field) ((gint) ((gchar*) &((struct*) 0)->field)) | ^ /usr/include/gtk-1.2/gtk/gtksignal.h:41:43: note: in expansion of macro 'GTK_STRUCT_OFFSET' 41 | #define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field)) | ^~~~~~~~~~~~~~~~~ playlist.c:639:10: note: in expansion of macro 'GTK_SIGNAL_OFFSET' 639 | GTK_SIGNAL_OFFSET(PlaylistClass, entry_changed), | ^~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'recode.c' || echo './'`recode.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'sample-display.c' || echo './'`sample-display.c preferences.c: In function 'prefs_get_line': preferences.c:158:6: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | fgets(readbuf, 1024, f); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-1.2/gtk/gtkarg.h:31, from /usr/include/gtk-1.2/gtk/gtkobject.h:31, from /usr/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /usr/include/gtk-1.2/gtk/gtkwidget.h:31, from sample-display.h:26, from sample-display.c:25: sample-display.c: In function 'sample_display_class_init': gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'sample-editor.c' || echo './'`sample-editor.c /usr/include/gtk-1.2/gtk/gtktypeutils.h:89:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | #define GTK_STRUCT_OFFSET(struct, field) ((gint) ((gchar*) &((struct*) 0)->field)) | ^ /usr/include/gtk-1.2/gtk/gtksignal.h:41:43: note: in expansion of macro 'GTK_STRUCT_OFFSET' 41 | #define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field)) | ^~~~~~~~~~~~~~~~~ sample-display.c:848:13: note: in expansion of macro 'GTK_SIGNAL_OFFSET' 848 | GTK_SIGNAL_OFFSET(SampleDisplayClass, selection_changed), | ^~~~~~~~~~~~~~~~~ /usr/include/gtk-1.2/gtk/gtktypeutils.h:89:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | #define GTK_STRUCT_OFFSET(struct, field) ((gint) ((gchar*) &((struct*) 0)->field)) | ^ /usr/include/gtk-1.2/gtk/gtksignal.h:41:43: note: in expansion of macro 'GTK_STRUCT_OFFSET' 41 | #define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field)) | ^~~~~~~~~~~~~~~~~ sample-display.c:856:8: note: in expansion of macro 'GTK_SIGNAL_OFFSET' 856 | GTK_SIGNAL_OFFSET(SampleDisplayClass, loop_changed), | ^~~~~~~~~~~~~~~~~ /usr/include/gtk-1.2/gtk/gtktypeutils.h:89:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | #define GTK_STRUCT_OFFSET(struct, field) ((gint) ((gchar*) &((struct*) 0)->field)) | ^ /usr/include/gtk-1.2/gtk/gtksignal.h:41:43: note: in expansion of macro 'GTK_STRUCT_OFFSET' 41 | #define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field)) | ^~~~~~~~~~~~~~~~~ sample-display.c:864:10: note: in expansion of macro 'GTK_SIGNAL_OFFSET' 864 | GTK_SIGNAL_OFFSET(SampleDisplayClass, window_changed), | ^~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'scope-group.c' || echo './'`scope-group.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'st-subs.c' || echo './'`st-subs.c sample-editor.c: In function 'sample_editor_save_wav': sample-editor.c:1920:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1920 | if(current_sample->sample.data == NULL) | ^~ sample-editor.c:1923:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1923 | f = fopen(fn, "r"); | ^ gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'time-buffer.c' || echo './'`time-buffer.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'tips-dialog.c' || echo './'`tips-dialog.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'track-editor.c' || echo './'`track-editor.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'tracker.c' || echo './'`tracker.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'tracker-settings.c' || echo './'`tracker-settings.c track-editor.c: In function 'track_editor_handle_column_input': track-editor.c:1353:66: warning: pointer targets in passing argument 3 of 'track_editor_handle_semidec_column_input' differ in signedness [-Wpointer-sign] 1353 | track_editor_handle_semidec_column_input(t, 2 - t->cursor_item, ¬e->instrument, n); | ^~~~~~~~~~~~~~~~~ | | | unsigned char * track-editor.c:1261:15: note: expected 'gint8 *' {aka 'signed char *'} but argument is of type 'unsigned char *' 1261 | gint8 *modpt, | ~~~~~~~^~~~~ track-editor.c:1356:62: warning: pointer targets in passing argument 3 of 'track_editor_handle_hex_column_input' differ in signedness [-Wpointer-sign] 1356 | track_editor_handle_hex_column_input(t, 4 - t->cursor_item, ¬e->volume, n); | ^~~~~~~~~~~~~ | | | unsigned char * track-editor.c:1288:18: note: expected 'gint8 *' {aka 'signed char *'} but argument is of type 'unsigned char *' 1288 | gint8 *modpt, | ~~~~~~~^~~~~ track-editor.c:1359:62: warning: pointer targets in passing argument 3 of 'track_editor_handle_hex_column_input' differ in signedness [-Wpointer-sign] 1359 | track_editor_handle_hex_column_input(t, 7 - t->cursor_item, ¬e->fxparam, n); | ^~~~~~~~~~~~~~ | | | unsigned char * track-editor.c:1288:18: note: expected 'gint8 *' {aka 'signed char *'} but argument is of type 'unsigned char *' 1288 | gint8 *modpt, | ~~~~~~~^~~~~ tracker-settings.c: In function 'trackersettings_read_fontlist': tracker-settings.c:321:6: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 321 | fgets(buf, 255, f); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-1.2/gtk/gtkarg.h:31, from /usr/include/gtk-1.2/gtk/gtkobject.h:31, from /usr/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /usr/include/gtk-1.2/gtk/gtk.h:32, from tracker.c:25: tracker.c: In function 'tracker_class_init': /usr/include/gtk-1.2/gtk/gtktypeutils.h:89:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | #define GTK_STRUCT_OFFSET(struct, field) ((gint) ((gchar*) &((struct*) 0)->field)) | ^ /usr/include/gtk-1.2/gtk/gtksignal.h:41:43: note: in expansion of macro 'GTK_STRUCT_OFFSET' 41 | #define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field)) | ^~~~~~~~~~~~~~~~~ tracker.c:1290:9: note: in expansion of macro 'GTK_SIGNAL_OFFSET' 1290 | GTK_SIGNAL_OFFSET(TrackerClass, patpos), | ^~~~~~~~~~~~~~~~~ /usr/include/gtk-1.2/gtk/gtktypeutils.h:89:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | #define GTK_STRUCT_OFFSET(struct, field) ((gint) ((gchar*) &((struct*) 0)->field)) | ^ /usr/include/gtk-1.2/gtk/gtksignal.h:41:43: note: in expansion of macro 'GTK_STRUCT_OFFSET' 41 | #define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field)) | ^~~~~~~~~~~~~~~~~ tracker.c:1299:11: note: in expansion of macro 'GTK_SIGNAL_OFFSET' 1299 | GTK_SIGNAL_OFFSET(TrackerClass, xpanning), | ^~~~~~~~~~~~~~~~~ /usr/include/gtk-1.2/gtk/gtktypeutils.h:89:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 89 | #define GTK_STRUCT_OFFSET(struct, field) ((gint) ((gchar*) &((struct*) 0)->field)) | ^ /usr/include/gtk-1.2/gtk/gtksignal.h:41:43: note: in expansion of macro 'GTK_STRUCT_OFFSET' 41 | #define GTK_SIGNAL_OFFSET(struct, field) (GTK_STRUCT_OFFSET (struct, field)) | ^~~~~~~~~~~~~~~~~ tracker.c:1308:10: note: in expansion of macro 'GTK_SIGNAL_OFFSET' 1308 | GTK_SIGNAL_OFFSET(TrackerClass, mainmenu_blockmark_set), | ^~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'transposition.c' || echo './'`transposition.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'xm.c' || echo './'`xm.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'xm-player.c' || echo './'`xm-player.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'tracer.c' || echo './'`tracer.c tracker.c: In function 'tracker_draw_clever': tracker.c:665:16: warning: '%2d' directive writing between 2 and 11 bytes into a region of size 5 [-Wformat-overflow=] 665 | sprintf(buf, "%2d", i + t->leftchan); | ^~~ tracker.c:665:15: note: directive argument in the range [-2147483647, 2147483647] 665 | sprintf(buf, "%2d", i + t->leftchan); | ^~~~~ In file included from /usr/include/stdio.h:871, from tracker.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 12 bytes into a destination of size 5 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c `test -f 'scalablepic.c' || echo './'`scalablepic.c tracer.c:327:1: warning: 'tracer_dumpall' defined but not used [-Wunused-function] 327 | tracer_dumpall (void) | ^~~~~~~~~~~~~~ tracer.c: In function 'tracer_updatesample': tracer.c:57:6: warning: iteration 32 invokes undefined behavior [-Waggressive-loop-optimizations] 57 | if(c->sample != si || !(c->flags & TR_FLAG_SAMPLE_RUNNING)) { | ~^~~~~~~~ tracer.c:54:5: note: within this loop 54 | for(i = 0; i < 2 * 32; i++) { | ^~~ xm.c: In function 'xm_load_xm_samples': xm.c:305:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 305 | strncpy(s->name, sh + 18, 22); | ~~~^~~~ | | | guint8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/errno.h:25, from xm.c:25: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'guint8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ xm.c: In function 'xm_save_xm_samples': xm.c:387:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 387 | strncpy(sh + 18, s->name, 22); | ~~~^~~~ | | | guint8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/errno.h:25, from xm.c:25: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'guint8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ xm.c:388:28: warning: pointer targets in passing argument 1 of 'recode_latin1_to_ibmpc' differ in signedness [-Wpointer-sign] 388 | recode_latin1_to_ibmpc(sh + 18, 22); | ~~~^~~~ | | | guint8 * {aka unsigned char *} In file included from xm.c:46: recode.h:30:57: note: expected 'char *' but argument is of type 'guint8 *' {aka 'unsigned char *'} 30 | void recode_latin1_to_ibmpc (char *string, int len); | ~~~~~~^~~~~~ xm.c: In function 'xm_load_xm_instrument': xm.c:464:28: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 464 | strncpy(instr->name, a + 4, 22); | ~~^~~ | | | guint8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/errno.h:25, from xm.c:25: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'guint8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ xm.c: In function 'xm_load_xi': xm.c:546:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 546 | if(strcmp(a, "Extended Instrument: ")) { | ^ | | | guint8 * {aka unsigned char *} In file included from xm.c:28: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'guint8 *' {aka 'unsigned char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xm.c:552:26: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 552 | strncpy(instr->name, a, 22); | ^ | | | guint8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/errno.h:25, from xm.c:25: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'guint8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ xm.c:557:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 557 | sprintf(b, _("Unknown XI version 0x%x\n"), get_le_16(a+21)); | ^ | | | guint8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/errno.h:25, from xm.c:25: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'guint8 *' {aka 'unsigned char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ xm.c:558:14: warning: pointer targets in passing argument 1 of 'error_error' differ in signedness [-Wpointer-sign] 558 | error_error(b); | ^ | | | guint8 * {aka unsigned char *} In file included from xm.c:47: errors.h:30:67: note: expected 'const char *' but argument is of type 'guint8 *' {aka 'unsigned char *'} 30 | void error_error (const char *text); | ~~~~~~~~~~~~^~~~ xm.c: In function 'xm_save_xi': xm.c:614:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 614 | strncpy(a, instr->name, 22); | ^ | | | guint8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/errno.h:25, from xm.c:25: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'guint8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ xm.c:615:28: warning: pointer targets in passing argument 1 of 'recode_latin1_to_ibmpc' differ in signedness [-Wpointer-sign] 615 | recode_latin1_to_ibmpc(a, 22); | ^ | | | guint8 * {aka unsigned char *} In file included from xm.c:46: recode.h:30:57: note: expected 'char *' but argument is of type 'guint8 *' {aka 'unsigned char *'} 30 | void recode_latin1_to_ibmpc (char *string, int len); | ~~~~~~^~~~~~ xm.c: In function 'xm_save_xm_instrument': xm.c:668:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 668 | strncpy(h + 4, instr->name, 22); | ~~^~~ | | | guint8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/errno.h:25, from xm.c:25: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'guint8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ xm.c:669:30: warning: pointer targets in passing argument 1 of 'recode_latin1_to_ibmpc' differ in signedness [-Wpointer-sign] 669 | recode_latin1_to_ibmpc(h + 4, 22); | ~~^~~ | | | guint8 * {aka unsigned char *} In file included from xm.c:46: recode.h:30:57: note: expected 'char *' but argument is of type 'guint8 *' {aka 'unsigned char *'} 30 | void recode_latin1_to_ibmpc (char *string, int len); | ~~~~~~^~~~~~ xm.c: In function 'XM_Load': xm.c:934:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 934 | || strncmp(xh + 0, "Extended Module: ", 17) != 0 | ~~~^~~ | | | guint8 * {aka unsigned char *} In file included from xm.c:28: /usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'guint8 *' {aka 'unsigned char *'} 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ xm.c:957:26: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 957 | strncpy(xm->name, xh + 17, 20); | ~~~^~~~ | | | guint8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/errno.h:25, from xm.c:25: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'guint8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ xm.c: In function 'XM_Save': xm.c:1043:31: warning: pointer targets in passing argument 1 of 'recode_latin1_to_ibmpc' differ in signedness [-Wpointer-sign] 1043 | recode_latin1_to_ibmpc(xh + 17, 20); | ~~~^~~~ | | | guint8 * {aka unsigned char *} In file included from xm.c:46: recode.h:30:57: note: expected 'char *' but argument is of type 'guint8 *' {aka 'unsigned char *'} 30 | void recode_latin1_to_ibmpc (char *string, int len); | ~~~~~~^~~~~~ xm.c: In function 'xm_load_xi': xm.c:544:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 544 | fread(a, 1, 21, f); | ^~~~~~~~~~~~~~~~~~ xm.c:551:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 551 | fread(a, 1, 22, f); | ^~~~~~~~~~~~~~~~~~ xm.c:555:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 555 | fread(a, 1, 23, f); | ^~~~~~~~~~~~~~~~~~ xm.c:562:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 562 | fread(instr->samplemap, 1, 96, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xm.c:563:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 563 | fread(instr->vol_env.points, 1, 48, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xm.c:565:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 565 | fread(instr->pan_env.points, 1, 48, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xm.c:568:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 568 | fread(b, 1, 16, f); | ^~~~~~~~~~~~~~~~~~ xm.c:596:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 596 | fread(a, 1, 24, f); | ^~~~~~~~~~~~~~~~~~ xm.c: In function 'xm_load_xm_samples': xm.c:296:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 296 | fread(sh, 1, sizeof(sh), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xm.c:331:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 331 | fread(d16, 1, 2 * s->sample.length, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xm.c:344:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 344 | fread(d8, 1, s->sample.length, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xm.c: In function 'XM_Load': xm.c:981:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 981 | fread(xm->pattern_order_table, 1, 256, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xm.c: In function 'xm_load_xm_pattern': xm.c:191:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | fread(ph, 1, sizeof(ph), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xm.c: In function 'xm_load_xm_note': xm.c:120:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | fread(d, 1, sizeof(d), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~ xm.c: In function 'xm_load_mod': xm.c:799:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 799 | fread(xm->name, 1, 20, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~ xm.c:805:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 805 | fread(buf, 1, 22, f); | ^~~~~~~~~~~~~~~~~~~~ xm.c:808:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 808 | fread(sh[i], 1, 8, f); | ^~~~~~~~~~~~~~~~~~~~~ xm.c:811:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 811 | fread(mh, 1, 2, f); | ^~~~~~~~~~~~~~~~~~ xm.c:814:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 814 | fread(xm->pattern_order_table, 1, 128, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xm.c:815:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 815 | fread(mh, 1, 4, f); | ^~~~~~~~~~~~~~~~~~ xm.c:897:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 897 | fread((char*)s->sample.data + s->sample.length, 1, s->sample.length, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xm.c: In function 'xm_load_mod_note': xm.c:729:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 729 | fread(c, 1, 4, f); | ^~~~~~~~~~~~~~~~~ xm.c: In function 'xm_load_xm_instrument': xm.c:462:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 462 | fread(a, 1, sizeof(a), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~ xm.c:481:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 481 | fread(a, 1, 4, f); | ^~~~~~~~~~~~~~~~~ xm.c:486:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 486 | fread(instr->samplemap, 1, 96, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xm.c:487:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 487 | fread(instr->vol_env.points, 1, 48, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xm.c:489:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 489 | fread(instr->pan_env.points, 1, 48, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xm.c:492:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 492 | fread(b, 1, sizeof(b), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~ scalablepic.c: In function 'scalable_pic_new': scalablepic.c:59:18: warning: variable 'sp' set but not used [-Wunused-but-set-variable] 59 | ScalablePic *sp; | ^~ scalablepic.c: In function 'scalable_pic_realize': scalablepic.c:99:18: warning: variable 'sp' set but not used [-Wunused-but-set-variable] 99 | ScalablePic *sp; | ^~ scalablepic.c: In function 'scalable_pic_destroy': scalablepic.c:135:18: warning: variable 'sp' set but not used [-Wunused-but-set-variable] 135 | ScalablePic *sp; | ^~ scalablepic.c: In function 'scalable_pic_draw': scalablepic.c:157:18: warning: variable 'sp' set but not used [-Wunused-but-set-variable] 157 | ScalablePic *sp; | ^~ In file included from /usr/include/string.h:495, from xm.c:28: In function 'strncpy', inlined from 'xm_save_xm_samples' at xm.c:387:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 22 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'xm_save_xm_instrument' at xm.c:668:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 22 bytes from a string of length 23 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'xm_load_xi' at xm.c:552:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 22 bytes from a string of length 28 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'xm_save_xi' at xm.c:614:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 22 bytes from a string of length 23 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'XM_Load' at xm.c:957:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 20 bytes from a string of length 62 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'xm_load_xm_instrument' at xm.c:464:5, inlined from 'XM_Load' at xm.c:989:6: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 22 bytes from a string of length 24 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/gtk-1.2 -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -ldl -o soundtracker audio.o audioconfig.o cheat-sheet.o clavier.o endian-conv.o envelope-box.o errors.o event-waiter.o extspinbutton.o file-operations.o gui-settings.o gui-subs.o gui.o instrument-editor.o keys.o main.o menubar.o module-info.o playlist.o poll.o preferences.o recode.o sample-display.o sample-editor.o scope-group.o st-subs.o time-buffer.o tips-dialog.o track-editor.o tracker.o tracker-settings.o transposition.o xm.o xm-player.o tracer.o scalablepic.o drivers/libdrivers.a mixers/libmixers.a -L/usr/lib64 -lgtk -lgdk -lgthread -lpthread -lglib -lXi -lXext -lX11 -lm -lsndfile -lSDL -lpthread /usr/bin/ld: track-editor.o: in function `.LANCHOR0': /builddir/build/BUILD/soundtracker-0.6.8/app/track-editor.c:46: multiple definition of `scopegroup'; gui.o:/builddir/build/BUILD/soundtracker-0.6.8/app/gui.c:74: first defined here collect2: error: ld returned 1 exit status make[3]: Leaving directory '/builddir/build/BUILD/soundtracker-0.6.8/app' make[3]: *** [Makefile:375: soundtracker] Error 1 make[2]: *** [Makefile:456: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/soundtracker-0.6.8/app' make[1]: *** [Makefile:303: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/soundtracker-0.6.8' make: *** [Makefile:222: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.oCcx7X (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.oCcx7X (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/soundtracker.spec