D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/gt-0.4-13.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Lp794P sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0quwW6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gt-0.4-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/gt-0.4-build + rm -rf gt-0.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gt-0.4-clean.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gt-0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gt-0.4-noac3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gt-0.4-compile-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gt-0.4-optflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gt-0.4-config-default-velocity-layer.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gt-0.4-ppc-compile-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gt-0.4-unsf-bigendian-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gt-0.4-unsf-tremolo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gt-0.4-parallel.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gt-0.4-gcc10.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gt-fix-building-with-gcc14.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp -p src/README README.timidity + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ETSdL8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gt-0.4-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gt-0.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char' + autoreconf -fi acinclude.m4:570: warning: underquoted definition of XIPH_PATH_VORBIS acinclude.m4:570: run info Automake 'Extending aclocal' acinclude.m4:570: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal configure.ac:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from... configure.ac:3: the top level configure.ac:6: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:6: You should use the 'AC_CONFIG_HEADERS' macro instead. aclocal.m4:707: AM_CONFIG_HEADER is expanded from... configure.ac:6: the top level configure.ac:10: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.ac:10: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.ac:10: the top level configure.ac:14: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:14: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:14: the top level configure.ac:16: warning: The macro 'AC_LANG_C' is obsolete. configure.ac:16: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... acinclude.m4:341: AM_PATH_ALSA is expanded from... configure.ac:16: the top level configure.ac:16: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:16: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... acinclude.m4:341: AM_PATH_ALSA is expanded from... configure.ac:16: the top level configure.ac:20: warning: The macro 'AC_CHECKING' is obsolete. configure.ac:20: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... acinclude.m4:238: AC_SEARCH_NCURSES is expanded from... acinclude.m4:89: AC_CHECK_CURSES is expanded from... configure.ac:20: the top level configure.ac:20: warning: The macro 'AC_FD_CC' is obsolete. configure.ac:20: You should run autoupdate. ./lib/autoconf/general.m4:399: AC_FD_CC is expanded from... acinclude.m4:238: AC_SEARCH_NCURSES is expanded from... acinclude.m4:89: AC_CHECK_CURSES is expanded from... configure.ac:20: the top level configure.ac:24: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:24: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... acinclude.m4:570: XIPH_PATH_VORBIS is expanded from... configure.ac:24: the top level configure.ac:24: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:24: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... acinclude.m4:570: XIPH_PATH_VORBIS is expanded from... configure.ac:24: the top level configure.ac:29: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:29: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:29: the top level configure.ac:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:3: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:7: installing './compile' configure.ac:11: installing './config.guess' configure.ac:11: installing './config.sub' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for GNU libc compatible malloc... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ALSA CFLAGS... checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread checking for libasound headers version >= 1.0.0... found. checking for snd_ctl_open in -lasound... yes checking how to run the C preprocessor... gcc -E checking for egrep -e... (cached) /usr/bin/grep -E configure: checking "location of ncurses.h file"... checking for Vorbis... yes checking for fcntl.h... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking for math.h... yes checking for sys/mman.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating utils/Makefile config.status: creating src/config.h config.status: executing depfiles commands + /usr/bin/make -O -j48 V=1 VERBOSE=1 Making all in src /usr/bin/make all-am make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o resample_m.o resample_m.c make[2]: gcc: Resource temporarily unavailable make[2]: *** [Makefile:528: resample_m.o] Error 127 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o resample_s.o resample_s.c gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:528: resample_s.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' rm -f sfz2pat.c flex -osfz2pat.c -Psfz ./sfz2pat.l flex: fork failed make[2]: *** [Makefile:850: sfz2pat.c] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o controls.o controls.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o output.o output.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o wave_a.o wave_a.c wave_a.c: In function 'update_header': wave_a.c:223:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 223 | write (dpm.fd, &tmp, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ wave_a.c: In function 'open_output': wave_a.c:184:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 184 | write (dpm.fd, RIFFheader, 44); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wave_a.c: In function 'output_data': wave_a.c:254:39: warning: array subscript 4 is above array bounds of 'FLOAT_T[4]' {aka 'double[4]'} [-Warray-bounds=] 254 | double b1 = butterworth_q0[1][4]; | ~~~~~~~~~~~~~~~~~^~~ In file included from wave_a.c:49: tables.h:55:16: note: while referencing 'butterworth_q0' 55 | extern FLOAT_T butterworth_q0[241][4]; | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o dumb_c.o dumb_c.c dumb_c.c: In function 'ctl_master_volume': dumb_c.c:159:24: warning: parameter 'mv' set but not used [-Wunused-but-set-parameter] 159 | ctl_master_volume (int mv) | ~~~~^~ dumb_c.c: In function 'ctl_note': dumb_c.c:200:15: warning: parameter 'v' set but not used [-Wunused-but-set-parameter] 200 | ctl_note (int v) | ~~~~^ dumb_c.c: In function 'ctl_program': dumb_c.c:206:18: warning: parameter 'ch' set but not used [-Wunused-but-set-parameter] 206 | ctl_program (int ch, int val, const char *name) | ~~~~^~ dumb_c.c:206:43: warning: parameter 'name' set but not used [-Wunused-but-set-parameter] 206 | ctl_program (int ch, int val, const char *name) | ~~~~~~~~~~~~^~~~ dumb_c.c: In function 'ctl_bank': dumb_c.c:213:15: warning: parameter 'ch' set but not used [-Wunused-but-set-parameter] 213 | ctl_bank (int ch, int val, int var, const char *name) | ~~~~^~ dumb_c.c:213:49: warning: parameter 'name' set but not used [-Wunused-but-set-parameter] 213 | ctl_bank (int ch, int val, int var, const char *name) | ~~~~~~~~~~~~^~~~ dumb_c.c: In function 'ctl_volume': dumb_c.c:220:17: warning: parameter 'ch' set but not used [-Wunused-but-set-parameter] 220 | ctl_volume (int ch, int val) | ~~~~^~ dumb_c.c: In function 'ctl_expression': dumb_c.c:226:21: warning: parameter 'ch' set but not used [-Wunused-but-set-parameter] 226 | ctl_expression (int ch, int val) | ~~~~^~ dumb_c.c: In function 'ctl_panning': dumb_c.c:232:18: warning: parameter 'ch' set but not used [-Wunused-but-set-parameter] 232 | ctl_panning (int ch, int val) | ~~~~^~ dumb_c.c: In function 'ctl_sustain': dumb_c.c:238:18: warning: parameter 'ch' set but not used [-Wunused-but-set-parameter] 238 | ctl_sustain (int ch, int val, int letter) | ~~~~^~ dumb_c.c: In function 'ctl_pitch_bend': dumb_c.c:244:41: warning: parameter 'mod' set but not used [-Wunused-but-set-parameter] 244 | ctl_pitch_bend (int ch, int val, uint32 mod) | ~~~~~~~^~~ dumb_c.c: In function 'ctl_misc_controller': dumb_c.c:320:25: warning: parameter 'ch' set but not used [-Wunused-but-set-parameter] 320 | ctl_misc_controller(int ch, int val, int col, int letter, int use_color) | ~~~~^~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o filter.o filter.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o tables.o tables.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o common.o common.c common.c: In function 'close_file': common.c:268:9: warning: pointer 'fp' may be used after 'pclose' [-Wuse-after-free] 268 | fclose (fp); | ^~~~~~~~~~~ common.c:266:9: note: call to 'pclose' here 266 | if (pclose (fp)) /* Any better ideas? */ | ^~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o readsbk.o readsbk.c readsbk.c: In function 'load_sbk': readsbk.c:145:13: warning: pointer targets in passing argument 1 of 'READDW' differ in signedness [-Wpointer-sign] 145 | READDW (&sf->sbkh.size, fd); | ^~~~~~~~~~~~~~ | | | int32 * {aka int *} readsbk.c:28:17: note: expected 'uint32 *' {aka 'unsigned int *'} but argument is of type 'int32 *' {aka 'int *'} 28 | READDW (uint32 *vp, FILE * fd) | ~~~~~~~~^~ readsbk.c:153:21: warning: pointer targets in passing argument 1 of 'READDW' differ in signedness [-Wpointer-sign] 153 | READDW (&chunk.size, fd); | ^~~~~~~~~~~ | | | int32 * {aka int *} readsbk.c:28:17: note: expected 'uint32 *' {aka 'unsigned int *'} but argument is of type 'int32 *' {aka 'int *'} 28 | READDW (uint32 *vp, FILE * fd) | ~~~~~~~~^~ readsbk.c:64:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | #define READID(var,fd) fread(var, 1, 4, fd) | ^~~~~~~~~~~~~~~~~~~~ readsbk.c:144:5: note: in expansion of macro 'READID' 144 | READID (sf->sbkh.riff, fd); | ^~~~~~ readsbk.c:64:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | #define READID(var,fd) fread(var, 1, 4, fd) | ^~~~~~~~~~~~~~~~~~~~ readsbk.c:146:5: note: in expansion of macro 'READID' 146 | READID (sf->sbkh.sfbk, fd); | ^~~~~~ readsbk.c:64:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | #define READID(var,fd) fread(var, 1, 4, fd) | ^~~~~~~~~~~~~~~~~~~~ readsbk.c:150:9: note: in expansion of macro 'READID' 150 | READID (chunk.id, fd); | ^~~~~~ readsbk.c:64:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | #define READID(var,fd) fread(var, 1, 4, fd) | ^~~~~~~~~~~~~~~~~~~~ readsbk.c:154:13: note: in expansion of macro 'READID' 154 | READID (subchunk.id, fd); | ^~~~~~ readsbk.c: In function 'load_sample_names': readsbk.c:45:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | #define READSTR(var,fd) fread(var, 20, 1, fd) | ^~~~~~~~~~~~~~~~~~~~~ readsbk.c:252:9: note: in expansion of macro 'READSTR' 252 | READSTR (sf->samplenames[i].name, fd); | ^~~~~~~ readsbk.c: In function 'load_preset_header': readsbk.c:45:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | #define READSTR(var,fd) fread(var, 20, 1, fd) | ^~~~~~~~~~~~~~~~~~~~~ readsbk.c:264:9: note: in expansion of macro 'READSTR' 264 | READSTR (sf->presethdr[i].name, fd); | ^~~~~~~ readsbk.c:68:40: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | #define SKIPDW(fd) {uint32 dummy; fread(&dummy, 4, 1, fd);} | ^~~~~~~~~~~~~~~~~~~~~~~ readsbk.c:270:9: note: in expansion of macro 'SKIPDW' 270 | SKIPDW (fd); /* lib */ | ^~~~~~ readsbk.c:68:40: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | #define SKIPDW(fd) {uint32 dummy; fread(&dummy, 4, 1, fd);} | ^~~~~~~~~~~~~~~~~~~~~~~ readsbk.c:271:9: note: in expansion of macro 'SKIPDW' 271 | SKIPDW (fd); /* genre */ | ^~~~~~ readsbk.c:68:40: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | #define SKIPDW(fd) {uint32 dummy; fread(&dummy, 4, 1, fd);} | ^~~~~~~~~~~~~~~~~~~~~~~ readsbk.c:272:9: note: in expansion of macro 'SKIPDW' 272 | SKIPDW (fd); /* morph */ | ^~~~~~ readsbk.c: In function 'load_inst_header': readsbk.c:45:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | #define READSTR(var,fd) fread(var, 20, 1, fd) | ^~~~~~~~~~~~~~~~~~~~~ readsbk.c:284:9: note: in expansion of macro 'READSTR' 284 | READSTR (sf->insthdr[i].name, fd); | ^~~~~~~ readsbk.c: In function 'load_bag': readsbk.c:67:40: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | #define SKIPW(fd) {uint16 dummy; fread(&dummy, 2, 1, fd);} | ^~~~~~~~~~~~~~~~~~~~~~~ readsbk.c:301:9: note: in expansion of macro 'SKIPW' 301 | SKIPW (fd); /* mod */ | ^~~~~ readsbk.c: In function 'load_sample_info': readsbk.c:45:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | #define READSTR(var,fd) fread(var, 20, 1, fd) | ^~~~~~~~~~~~~~~~~~~~~ readsbk.c:344:13: note: in expansion of macro 'READSTR' 344 | READSTR (sf->samplenames[i].name, fd); | ^~~~~~~ readsbk.c:65:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | #define READB(var,fd) fread(var, 1, 1, fd) | ^~~~~~~~~~~~~~~~~~~~ readsbk.c:351:13: note: in expansion of macro 'READB' 351 | READB (&sf->sampleinfo[i].originalPitch, fd); | ^~~~~ readsbk.c:65:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | #define READB(var,fd) fread(var, 1, 1, fd) | ^~~~~~~~~~~~~~~~~~~~ readsbk.c:352:13: note: in expansion of macro 'READB' 352 | READB (&sf->sampleinfo[i].pitchCorrection, fd); | ^~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o timidity.o timidity.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o mix.o mix.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o resample32.o resample32.c resample32.c: In function 'porta_resample_voice': resample32.c:1041:9: warning: variable 'loop' set but not used [-Wunused-but-set-variable] 1041 | int loop; | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o resample_l.o resample_l.c resample_l.c: In function 'porta_resample_voice': resample_l.c:1018:9: warning: variable 'loop' set but not used [-Wunused-but-set-variable] 1018 | int loop; | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o instrum.o instrum.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o resample.o resample.c resample.c: In function 'porta_resample_voice': resample.c:1141:9: warning: variable 'loop' set but not used [-Wunused-but-set-variable] 1141 | int loop; | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o sndfont.o sndfont.c sndfont.c: In function 'load_one_side': sndfont.c:608:13: warning: variable 'samplerate_save' set but not used [-Wunused-but-set-variable] 608 | uint32 samplerate_save; | ^~~~~~~~~~~~~~~ sndfont.c: In function 'convert_volume_envelope': sndfont.c:1778:44: warning: parameter 'preset' set but not used [-Wunused-but-set-parameter] 1778 | int banknum , int preset) | ~~~~^~~~~~ sndfont.c: In function 'convert_modulation_envelope': sndfont.c:1897:34: warning: parameter 'banknum' set but not used [-Wunused-but-set-parameter] 1897 | int banknum, int preset) | ~~~~^~~~~~~ sndfont.c: At top level: sndfont.c:1098:1: warning: 'intersect_rvec' defined but not used [-Wunused-function] 1098 | intersect_rvec (int lr, int kr) | ^~~~~~~~~~~~~~ sndfont.c:1087:1: warning: 'subset_rvec' defined but not used [-Wunused-function] 1087 | subset_rvec (int lr, int kr) | ^~~~~~~~~~~ sndfont.c:1077:1: warning: 'union_rvec' defined but not used [-Wunused-function] 1077 | union_rvec (int lr, int kr) | ^~~~~~~~~~ sndfont.c:1069:1: warning: 'clear_rvec' defined but not used [-Wunused-function] 1069 | clear_rvec () | ^~~~~~~~~~ sndfont.c:1055:1: warning: 'intersect_vvec' defined but not used [-Wunused-function] 1055 | intersect_vvec (int lr, int vr) | ^~~~~~~~~~~~~~ sndfont.c:1044:1: warning: 'union_vvec' defined but not used [-Wunused-function] 1044 | union_vvec (int lr, int vr) | ^~~~~~~~~~ sndfont.c:1036:1: warning: 'clear_vvec' defined but not used [-Wunused-function] 1036 | clear_vvec () | ^~~~~~~~~~ sndfont.c:1022:1: warning: 'subset_kvec' defined but not used [-Wunused-function] 1022 | subset_kvec (int lr, int kr) | ^~~~~~~~~~~ sndfont.c:1011:1: warning: 'intersect_kvec' defined but not used [-Wunused-function] 1011 | intersect_kvec (int lr, int kr) | ^~~~~~~~~~~~~~ sndfont.c:1000:1: warning: 'union_kvec' defined but not used [-Wunused-function] 1000 | union_kvec (int lr, int kr) | ^~~~~~~~~~ sndfont.c:992:1: warning: 'new_kvec' defined but not used [-Wunused-function] 992 | new_kvec (int lr) | ^~~~~~~~ sndfont.c:984:1: warning: 'clear_kvec' defined but not used [-Wunused-function] 984 | clear_kvec () | ^~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o readmidi.o readmidi.c readmidi.c: In function 'read_midi_file': readmidi.c:2386:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2386 | fread (tmp, 1, 12, fp); | ^~~~~~~~~~~~~~~~~~~~~~ readmidi.c: In function 'read_midi_event': readmidi.c:1380:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1380 | fread (&midi_port_number, 1, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readmidi.c: In function 'sysex': readmidi.c:517:18: warning: pointer 's' used after 'free' [-Wuse-after-free] 517 | *sysb = s[5]; | ^ readmidi.c:515:9: note: call to 'free' here 515 | free (s); | ^~~~~~~~ readmidi.c:516:18: warning: pointer 's' used after 'free' [-Wuse-after-free] 516 | *sysa = s[4]; | ^ readmidi.c:515:9: note: call to 'free' here 515 | free (s); | ^~~~~~~~ readmidi.c:527:19: warning: pointer 's' used after 'free' [-Wuse-after-free] 527 | *sysb = (s[0] == 0x7f); | ~^~~ readmidi.c:525:9: note: call to 'free' here 525 | free (s); | ^~~~~~~~ readmidi.c:526:32: warning: pointer 's' used after 'free' [-Wuse-after-free] 526 | *sysa = s[4] - 0x40 + s[5] * 16; | ^ readmidi.c:525:9: note: call to 'free' here 525 | free (s); | ^~~~~~~~ readmidi.c:526:18: warning: pointer 's' used after 'free' [-Wuse-after-free] 526 | *sysa = s[4] - 0x40 + s[5] * 16; | ^ readmidi.c:525:9: note: call to 'free' here 525 | free (s); | ^~~~~~~~ In function 'sysex', inlined from 'read_midi_event' at readmidi.c:1338:13, inlined from 'read_track' at readmidi.c:1809:16: readmidi.c:517:18: warning: pointer 's' used after 'free' [-Wuse-after-free] 517 | *sysb = s[5]; | ~^~~ readmidi.c:515:9: note: call to 'free' here 515 | free (s); | ^~~~~~~~ readmidi.c:516:18: warning: pointer 's' used after 'free' [-Wuse-after-free] 516 | *sysa = s[4]; | ~^~~ readmidi.c:515:9: note: call to 'free' here 515 | free (s); | ^~~~~~~~ readmidi.c:526:29: warning: pointer 's' used after 'free' [-Wuse-after-free] 526 | *sysa = s[4] - 0x40 + s[5] * 16; | ~~~~~~~~~~~~^~~~~~~~~~~ readmidi.c:525:9: note: call to 'free' here 525 | free (s); | ^~~~~~~~ readmidi.c:526:18: warning: pointer 's' used after 'free' [-Wuse-after-free] 526 | *sysa = s[4] - 0x40 + s[5] * 16; | ~^~~ readmidi.c:525:9: note: call to 'free' here 525 | free (s); | ^~~~~~~~ readmidi.c:682:61: warning: array subscript 69 is above array bounds of 'int[68]' [-Warray-bounds=] 682 | if (cd == 0||cd >= 0x30) xg_insertion2_parameter[cd+1] = dtb; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from readmidi.c:46: tables.h: In function 'read_track': tables.h:112:12: note: while referencing 'xg_insertion2_parameter' 112 | extern int xg_insertion2_parameter[MAX_INSERTION_PARAMETER]; | ^~~~~~~~~~~~~~~~~~~~~~~ In function 'sysex', inlined from 'read_midi_event' at readmidi.c:1338:13, inlined from 'read_track' at readmidi.c:1809:16: readmidi.c:648:61: warning: array subscript 69 is above array bounds of 'int[68]' [-Warray-bounds=] 648 | if (cd == 0||cd >= 0x30) xg_insertion1_parameter[cd+1] = dtb; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tables.h: In function 'read_track': tables.h:111:12: note: while referencing 'xg_insertion1_parameter' 111 | extern int xg_insertion1_parameter[MAX_INSERTION_PARAMETER]; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from readmidi.c:23: In function 'fread', inlined from 'read_midi_file' at readmidi.c:2386:2: /usr/include/bits/stdio2.h:334:12: warning: call to '__fread_chk_warn' declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer [-Wattribute-warning] 334 | return __fread_chk_warn (__ptr, __sz, __size, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o playmidi.o playmidi.c playmidi.c: In function 'select_sample': playmidi.c:284:29: warning: variable 'midfreq' set but not used [-Wunused-but-set-variable] 284 | int32 f, cdiff, diff, midfreq; | ^~~~~~~ playmidi.c: In function 'clone_voice': playmidi.c:1033:39: warning: variable 'chorus_feedback' set but not used [-Wunused-but-set-variable] 1033 | int lfo_frequency, lfo_depth, chorus_feedback; | ^~~~~~~~~~~~~~~ playmidi.c:1033:28: warning: variable 'lfo_depth' set but not used [-Wunused-but-set-variable] 1033 | int lfo_frequency, lfo_depth, chorus_feedback; | ^~~~~~~~~ playmidi.c:1033:13: warning: variable 'lfo_frequency' set but not used [-Wunused-but-set-variable] 1033 | int lfo_frequency, lfo_depth, chorus_feedback; | ^~~~~~~~~~~~~ playmidi.c:1026:48: warning: variable 'milli' set but not used [-Wunused-but-set-variable] 1026 | int w, k, played_note, chorus, reverb, milli; | ^~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -c -o resample_f.o resample_f.c resample_f.c: In function 'porta_resample_voice': resample_f.c:4994:9: warning: variable 'loop' set but not used [-Wunused-but-set-variable] 4994 | int loop; | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[1]: *** [Makefile:376: all] Error 2 make: *** [Makefile:363: all-recursive] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ETSdL8 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ETSdL8 (%build) I: [iurt_root_command] ERROR: chroot