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.aYmXpJ sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DiKALc + 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.kHCM7T + 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 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' rm -f sfz2pat.c flex -osfz2pat.c -Psfz ./sfz2pat.l 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 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 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 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 wav2pat.o wav2pat.c wav2pat.c: In function 'main': wav2pat.c:255:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 255 | strcpy(point, "Copyleft 1995 EWE&U Conductions and one Retreated Gravi\032"); | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from wav2pat.c:26: /usr/include/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wav2pat.c:267:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 267 | strcpy(point, "Bleahnoise"); /* instrument name */ | ^~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wav2pat.c:279:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 279 | strcpy(point, "bleah"); /* wave name */ | ^~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:16: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wav2pat.c:319:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 319 | write(STDOUT_FILENO, thing, 335); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wav2pat.c:331:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 331 | write(STDOUT_FILENO, thing, 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 sf2cfg.o sf2cfg.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 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 -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 -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 -o wav2pat wav2pat.o 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 -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 -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 -o sf2cfg sf2cfg.o readsbk.o 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 alsa_a.o alsa_a.c alsa_a.c: In function 'open_output': alsa_a.c:441:40: warning: pointer targets in passing argument 2 of 'snd_pcm_hw_params_get_rate' differ in signedness [-Wpointer-sign] 441 | snd_pcm_hw_params_get_rate (pinfo, &tmp, &dir); | ^~~~ | | | int * In file included from /usr/include/alsa/asoundlib.h:58, from alsa_a.c:42: /usr/include/alsa/pcm.h:833:81: note: expected 'unsigned int *' but argument is of type 'int *' 833 | int snd_pcm_hw_params_get_rate(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir); | ~~~~~~~~~~~~~~^~~ alsa_a.c: In function 'output_pause': alsa_a.c:795:1: warning: control reaches end of non-void function [-Wreturn-type] 795 | } | ^ 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 sfz.o sfz.c In file included from sfz.c:2: ./sfz2pat.l: In function 'read_sample': ./sfz2pat.l:1685:33: warning: pointer targets in passing argument 2 of 'ov_read' differ in signedness [-Wpointer-sign] 1685 | long ret = ov_read(&vf, sample_buf, datasize, 0, 2, 1, ¤t_section); | ^~~~~~~~~~ | | | unsigned char * In file included from ./sfz2pat.l:44: /usr/include/vorbis/vorbisfile.h:193:46: note: expected 'char *' but argument is of type 'unsigned char *' 193 | extern long ov_read(OggVorbis_File *vf,char *buffer,int length, | ~~~~~~^~~~~~ ./sfz2pat.l:1487:43: warning: variable 'all_length' set but not used [-Wunused-but-set-variable] 1487 | int32 samplerate=-1, datasize=-1, all_length, chunk_length, c, i; | ^~~~~~~~~~ sfz2pat.c: At top level: sfz2pat.c:2435:16: warning: 'input' defined but not used [-Wunused-function] 2435 | #else | ^ 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 sfz2pat.o sfz2pat.c ./sfz2pat.l: In function 'read_sample': ./sfz2pat.l:1685:33: warning: pointer targets in passing argument 2 of 'ov_read' differ in signedness [-Wpointer-sign] 1685 | long ret = ov_read(&vf, sample_buf, datasize, 0, 2, 1, ¤t_section); | ^~~~~~~~~~ | | | unsigned char * In file included from ./sfz2pat.l:44: /usr/include/vorbis/vorbisfile.h:193:46: note: expected 'char *' but argument is of type 'unsigned char *' 193 | extern long ov_read(OggVorbis_File *vf,char *buffer,int length, | ~~~~~~^~~~~~ ./sfz2pat.l:1487:43: warning: variable 'all_length' set but not used [-Wunused-but-set-variable] 1487 | int32 samplerate=-1, datasize=-1, all_length, chunk_length, c, i; | ^~~~~~~~~~ ./sfz2pat.l: In function 'make_pat': ./sfz2pat.l:2253:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2253 | write(stereofd, buf, sizeof (sample)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./sfz2pat.l:2257:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2257 | write(stereofd, left_buf + data_width * region_start, region_bytes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./sfz2pat.l:2259:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2259 | write(stereofd, right_buf + data_width * region_start, region_bytes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfz2pat.c: At top level: sfz2pat.c:2435:16: warning: 'input' defined but not used [-Wunused-function] 2435 | #else | ^ 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 -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 -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 -o sfz2pat sfz2pat.o tables.o -lvorbisfile -L/usr/lib -lvorbis -lm /usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.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 cfg.o cfg.c cfg.c:2591:16: warning: 'input' defined but not used [-Wunused-function] 2591 | static int input (void) | ^~~~~ 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[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_s.o resample_s.c resample_s.c: In function 'porta_resample_voice': resample_s.c:11549:9: warning: variable 'loop' set but not used [-Wunused-but-set-variable] 11549 | 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_m.o resample_m.c resample_m.c: In function 'porta_resample_voice': resample_m.c:11336:9: warning: variable 'loop' set but not used [-Wunused-but-set-variable] 11336 | 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 -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 -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 -o gt timidity.o common.o readmidi.o playmidi.o mix.o instrum.o tables.o controls.o output.o filter.o wave_a.o dumb_c.o sndfont.o readsbk.o sfz.o resample.o resample32.o resample_l.o resample_f.o resample_s.o resample_m.o cfg.o alsa_a.o -lasound -lm -ldl -lpthread -lvorbisfile -L/usr/lib -lvorbis -lm /usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm /usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' Making all in utils make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils' gcc -DHAVE_CONFIG_H -I. -I../src -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 midifile.o midifile.c midifile.c:74:7: warning: conflicting types for built-in function 'strcpy'; expected 'char *(char *, const char *)' [-Wbuiltin-declaration-mismatch] 74 | char *strcpy (), *strcat (); | ^~~~~~ midifile.c:73:1: note: 'strcpy' is declared in header '' 72 | #include +++ |+#include 73 | midifile.c:74:19: warning: conflicting types for built-in function 'strcat'; expected 'char *(char *, const char *)' [-Wbuiltin-declaration-mismatch] 74 | char *strcpy (), *strcat (); | ^~~~~~ midifile.c:74:19: note: 'strcat' is declared in header '' midifile.c: In function 'readmt': midifile.c:187:1: warning: old-style function definition [-Wold-style-definition] 187 | readmt (s) /* read through the "MThd" or "MTrk" header string */ | ^~~~~~ midifile.c:201:18: error: too many arguments to function 'strcpy'; expected 0, have 2 201 | (void) strcpy (buff, "expecting "); | ^~~~~~ ~~~~ midifile.c:74:7: note: declared here 74 | char *strcpy (), *strcat (); | ^~~~~~ midifile.c:202:18: error: too many arguments to function 'strcat'; expected 0, have 2 202 | (void) strcat (buff, s); | ^~~~~~ ~~~~ midifile.c:74:19: note: declared here 74 | char *strcpy (), *strcat (); | ^~~~~~ midifile.c: In function 'readheader': midifile.c:268:6: error: too many arguments to function 'Mf_header'; expected 0, have 3 268 | (*Mf_header) (format, ntrks, division); | ~^~~~~~~~~~~ ~~~~~~ midifile.c: In function 'readtrack': midifile.c:431:11: error: too many arguments to function 'chanmessage'; expected 0, have 3 431 | chanmessage (status, c1, (needed > 1) ? egetc () : 0); | ^~~~~~~~~~~ ~~~~~~ midifile.c:144:13: note: declared here 144 | static void chanmessage (); | ^~~~~~~~~~~ midifile.c:445:13: error: too many arguments to function 'msgadd'; expected 0, have 1 445 | msgadd (egetc ()); | ^~~~~~ ~~~~~~~~ midifile.c:147:13: note: declared here 147 | static void msgadd (); | ^~~~~~ midifile.c:447:11: error: too many arguments to function 'metaevent'; expected 0, have 1 447 | metaevent (type); | ^~~~~~~~~ ~~~~ midifile.c:142:13: note: declared here 142 | static void metaevent (); | ^~~~~~~~~ midifile.c:454:11: error: too many arguments to function 'msgadd'; expected 0, have 1 454 | msgadd (0xf0); | ^~~~~~ ~~~~ midifile.c:147:13: note: declared here 147 | static void msgadd (); | ^~~~~~ midifile.c:457:13: error: too many arguments to function 'msgadd'; expected 0, have 1 457 | msgadd (c = egetc ()); | ^~~~~~ ~~~~~~~~~~~~ midifile.c:147:13: note: declared here 147 | static void msgadd (); | ^~~~~~ midifile.c:473:13: error: too many arguments to function 'msgadd'; expected 0, have 1 473 | msgadd (c = egetc ()); | ^~~~~~ ~~~~~~~~~~~~ midifile.c:147:13: note: declared here 147 | static void msgadd (); | ^~~~~~ midifile.c:478:18: error: too many arguments to function 'Mf_arbitrary'; expected 0, have 2 478 | (*Mf_arbitrary) (msgleng (), msg ()); | ~^~~~~~~~~~~~~~ ~~~~~~~~~~ midifile.c:487:11: error: too many arguments to function 'badbyte'; expected 0, have 1 487 | badbyte (c); | ^~~~~~~ ~ midifile.c:141:13: note: declared here 141 | static void badbyte (); | ^~~~~~~ midifile.c: In function 'badbyte': midifile.c:498:1: warning: old-style function definition [-Wold-style-definition] 498 | badbyte (c) | ^~~~~~~ midifile.c: At top level: midifile.c:509:1: error: conflicting types for 'metaevent'; have 'void(int)' 509 | metaevent (int type) | ^~~~~~~~~ midifile.c:142:13: note: previous declaration of 'metaevent' with type 'void(void)' 142 | static void metaevent (); | ^~~~~~~~~ midifile.c: In function 'metaevent': midifile.c:518:23: error: too many arguments to function 'to16bit'; expected 0, have 2 518 | (*Mf_seqnum) (to16bit (m[0], m[1])); | ^~~~~~~ ~~~~ midifile.c:137:12: note: declared here 137 | static int to16bit (); | ^~~~~~~ midifile.c:518:10: error: too many arguments to function 'Mf_seqnum'; expected 0, have 1 518 | (*Mf_seqnum) (to16bit (m[0], m[1])); | ~^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ midifile.c:537:10: error: too many arguments to function 'Mf_text'; expected 0, have 3 537 | (*Mf_text) (type, leng, m); | ~^~~~~~~~~ ~~~~ midifile.c:545:37: error: too many arguments to function 'to32bit'; expected 0, have 4 545 | (*Mf_tempo) (Mf_currtempo = to32bit (0, m[0], m[1], m[2])); | ^~~~~~~ ~ midifile.c:135:13: note: declared here 135 | static long to32bit (); | ^~~~~~~ midifile.c:545:10: error: too many arguments to function 'Mf_tempo'; expected 0, have 1 545 | (*Mf_tempo) (Mf_currtempo = to32bit (0, m[0], m[1], m[2])); | ~^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ midifile.c:554:10: error: too many arguments to function 'Mf_smpte'; expected 0, have 5 554 | (*Mf_smpte) (m[0], m[1], m[2], m[3], m[4]); | ~^~~~~~~~~~ ~~~~ midifile.c:558:10: error: too many arguments to function 'Mf_timesig'; expected 0, have 4 558 | (*Mf_timesig) (m[0], m[1], m[2], m[3]); | ~^~~~~~~~~~~~ ~~~~ midifile.c:562:10: error: too many arguments to function 'Mf_keysig'; expected 0, have 2 562 | (*Mf_keysig) (m[0], m[1]); | ~^~~~~~~~~~~ ~~~~ midifile.c:566:10: error: too many arguments to function 'Mf_seqspecific'; expected 0, have 2 566 | (*Mf_seqspecific) (leng, m); | ~^~~~~~~~~~~~~~~~ ~~~~ midifile.c:570:10: error: too many arguments to function 'Mf_metamisc'; expected 0, have 3 570 | (*Mf_metamisc) (type, leng, m); | ~^~~~~~~~~~~~~ ~~~~ midifile.c: In function 'sysex': midifile.c:579:6: error: too many arguments to function 'Mf_sysex'; expected 0, have 2 579 | (*Mf_sysex) (msgleng (), msg ()); | ~^~~~~~~~~~ ~~~~~~~~~~ midifile.c: In function 'chanmessage': midifile.c:584:1: warning: old-style function definition [-Wold-style-definition] 584 | chanmessage (status, c1, c2) | ^~~~~~~~~~~ midifile.c:599:10: error: too many arguments to function 'Mf_noteoff'; expected 0, have 3 599 | (*Mf_noteoff) (chan, c1, c2); | ~^~~~~~~~~~~~ ~~~~ midifile.c:603:10: error: too many arguments to function 'Mf_noteon'; expected 0, have 3 603 | (*Mf_noteon) (chan, c1, c2); | ~^~~~~~~~~~~ ~~~~ midifile.c:607:10: error: too many arguments to function 'Mf_pressure'; expected 0, have 3 607 | (*Mf_pressure) (chan, c1, c2); | ~^~~~~~~~~~~~~ ~~~~ midifile.c:611:10: error: too many arguments to function 'Mf_parameter'; expected 0, have 3 611 | (*Mf_parameter) (chan, c1, c2); | ~^~~~~~~~~~~~~~ ~~~~ midifile.c:615:10: error: too many arguments to function 'Mf_pitchbend'; expected 0, have 3 615 | (*Mf_pitchbend) (chan, c1, c2); | ~^~~~~~~~~~~~~~ ~~~~ midifile.c:619:10: error: too many arguments to function 'Mf_program'; expected 0, have 2 619 | (*Mf_program) (chan, c1); | ~^~~~~~~~~~~~ ~~~~ midifile.c:623:10: error: too many arguments to function 'Mf_chanpressure'; expected 0, have 2 623 | (*Mf_chanpressure) (chan, c1); | ~^~~~~~~~~~~~~~~~~ ~~~~ midifile.c: At top level: midifile.c:653:1: error: conflicting types for 'to32bit'; have 'long int(int, int, int, int)' 653 | to32bit (int c1, int c2, int c3, int c4) | ^~~~~~~ midifile.c:135:13: note: previous declaration of 'to32bit' with type 'long int(void)' 135 | static long to32bit (); | ^~~~~~~ midifile.c: In function 'to16bit': midifile.c:665:1: warning: old-style function definition [-Wold-style-definition] 665 | to16bit (c1, c2) | ^~~~~~~ midifile.c: In function 'read16bit': midifile.c:689:10: error: too many arguments to function 'to16bit'; expected 0, have 2 689 | return to16bit (c1, c2); | ^~~~~~~ ~~ midifile.c:665:1: note: declared here 665 | to16bit (c1, c2) | ^~~~~~~ midifile.c: In function 'mferror': midifile.c:694:1: warning: old-style function definition [-Wold-style-definition] 694 | mferror (s) | ^~~~~~~ midifile.c:698:6: error: too many arguments to function 'Mf_error'; expected 0, have 1 698 | (*Mf_error) (s); | ~^~~~~~~~~~ ~ midifile.c: In function 'msgadd': midifile.c:733:1: warning: old-style function definition [-Wold-style-definition] 733 | msgadd (c) | ^~~~~~ midifile.c: In function 'mfwrite': midifile.c:802:1: warning: old-style function definition [-Wold-style-definition] 802 | mfwrite (format, ntracks, division, fp) | ^~~~~~~ midifile.c:805:1: error: number of arguments doesn't match prototype 805 | { | ^ In file included from midifile.c:53: midifile.h:42:13: error: prototype declaration 42 | extern void mfwrite(); | ^~~~~~~ midifile.c:818:3: error: too many arguments to function 'mf_write_header_chunk'; expected 0, have 3 818 | mf_write_header_chunk (format, ntracks, division); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~ midifile.c:807:33: note: declared here 807 | void mf_write_track_chunk (), mf_write_header_chunk (); | ^~~~~~~~~~~~~~~~~~~~~ midifile.c:830:5: error: too many arguments to function 'mf_write_track_chunk'; expected 0, have 2 830 | mf_write_track_chunk (i, fp); | ^~~~~~~~~~~~~~~~~~~~ ~ midifile.c:807:8: note: declared here 807 | void mf_write_track_chunk (), mf_write_header_chunk (); | ^~~~~~~~~~~~~~~~~~~~ midifile.c: In function 'mf_write_track_chunk': midifile.c:807:8: warning: old-style function definition [-Wold-style-definition] midifile.c:837:1: error: number of arguments doesn't match prototype 837 | { | ^ midifile.c:807:8: error: prototype declaration 807 | void mf_write_track_chunk (), mf_write_header_chunk (); | ^~~~~~~~~~~~~~~~~~~~ midifile.c:857:3: error: too many arguments to function 'write32bit'; expected 0, have 1 857 | write32bit (trkhdr); | ^~~~~~~~~~ ~~~~~~ midifile.c:840:23: note: declared here 840 | void write16bit (), write32bit (); | ^~~~~~~~~~ midifile.c:858:3: error: too many arguments to function 'write32bit'; expected 0, have 1 858 | write32bit (trklength); | ^~~~~~~~~~ ~~~~~~~~~ midifile.c:840:23: note: declared here 840 | void write16bit (), write32bit (); | ^~~~~~~~~~ midifile.c:864:8: error: too many arguments to function 'Mf_writetrack'; expected 0, have 2 864 | (*Mf_writetrack) (which_track, 0); | ~^~~~~~~~~~~~~~~ ~~~~~~~~~~~ midifile.c:899:3: error: too many arguments to function 'write32bit'; expected 0, have 1 899 | write32bit (trkhdr); | ^~~~~~~~~~ ~~~~~~ midifile.c:840:23: note: declared here 840 | void write16bit (), write32bit (); | ^~~~~~~~~~ midifile.c:900:3: error: too many arguments to function 'write32bit'; expected 0, have 1 900 | write32bit (trklength); | ^~~~~~~~~~ ~~~~~~~~~ midifile.c:840:23: note: declared here 840 | void write16bit (), write32bit (); | ^~~~~~~~~~ midifile.c: In function 'mf_write_header_chunk': midifile.c:807:33: warning: old-style function definition [-Wold-style-definition] 807 | void mf_write_track_chunk (), mf_write_header_chunk (); | ^~~~~~~~~~~~~~~~~~~~~ midifile.c:909:1: error: number of arguments doesn't match prototype 909 | { | ^ midifile.c:807:33: error: prototype declaration 807 | void mf_write_track_chunk (), mf_write_header_chunk (); | ^~~~~~~~~~~~~~~~~~~~~ midifile.c:918:3: error: too many arguments to function 'write32bit'; expected 0, have 1 918 | write32bit (ident); | ^~~~~~~~~~ ~~~~~ midifile.c:911:23: note: declared here 911 | void write16bit (), write32bit (); | ^~~~~~~~~~ midifile.c:919:3: error: too many arguments to function 'write32bit'; expected 0, have 1 919 | write32bit (length); | ^~~~~~~~~~ ~~~~~~ midifile.c:911:23: note: declared here 911 | void write16bit (), write32bit (); | ^~~~~~~~~~ midifile.c:920:3: error: too many arguments to function 'write16bit'; expected 0, have 1 920 | write16bit (format); | ^~~~~~~~~~ ~~~~~~ midifile.c:911:8: note: declared here 911 | void write16bit (), write32bit (); | ^~~~~~~~~~ midifile.c:921:3: error: too many arguments to function 'write16bit'; expected 0, have 1 921 | write16bit (ntracks); | ^~~~~~~~~~ ~~~~~~~ midifile.c:911:8: note: declared here 911 | void write16bit (), write32bit (); | ^~~~~~~~~~ midifile.c:922:3: error: too many arguments to function 'write16bit'; expected 0, have 1 922 | write16bit (division); | ^~~~~~~~~~ ~~~~~~~~ midifile.c:911:8: note: declared here 911 | void write16bit (), write32bit (); | ^~~~~~~~~~ midifile.c: In function 'mf_write_midi_event': midifile.c:945:1: warning: old-style function definition [-Wold-style-definition] 945 | mf_write_midi_event (delta_time, type, chan, data, size) | ^~~~~~~~~~~~~~~~~~~ midifile.c:954:3: error: too many arguments to function 'WriteVarLen'; expected 0, have 1 954 | WriteVarLen (delta_time); | ^~~~~~~~~~~ ~~~~~~~~~~ midifile.c:155:6: note: declared here 155 | void WriteVarLen (); | ^~~~~~~~~~~ midifile.c:973:5: error: too many arguments to function 'WriteVarLen'; expected 0, have 1 973 | WriteVarLen (size); | ^~~~~~~~~~~ ~~~~ midifile.c:155:6: note: declared here 155 | void WriteVarLen (); | ^~~~~~~~~~~ midifile.c: In function 'mf_write_meta_event': midifile.c:997:1: warning: old-style function definition [-Wold-style-definition] 997 | mf_write_meta_event (delta_time, type, data, size) | ^~~~~~~~~~~~~~~~~~~ midifile.c:1001:1: error: number of arguments doesn't match prototype 1001 | { | ^ midifile.c:152:5: error: prototype declaration 152 | int mf_write_meta_event (); | ^~~~~~~~~~~~~~~~~~~ midifile.c:1004:3: error: too many arguments to function 'WriteVarLen'; expected 0, have 1 1004 | WriteVarLen (delta_time); | ^~~~~~~~~~~ ~~~~~~~~~~ midifile.c:155:6: note: declared here 155 | void WriteVarLen (); | ^~~~~~~~~~~ midifile.c:1013:3: error: too many arguments to function 'WriteVarLen'; expected 0, have 1 1013 | WriteVarLen (size); | ^~~~~~~~~~~ ~~~~ midifile.c:155:6: note: declared here 155 | void WriteVarLen (); | ^~~~~~~~~~~ midifile.c: In function 'mf_write_tempo': midifile.c:1024:1: warning: old-style function definition [-Wold-style-definition] 1024 | mf_write_tempo (delta_time, tempo) | ^~~~~~~~~~~~~~ midifile.c:1027:1: error: number of arguments doesn't match prototype 1027 | { | ^ midifile.c:153:6: error: prototype declaration 153 | void mf_write_tempo (); | ^~~~~~~~~~~~~~ midifile.c:1032:3: error: too many arguments to function 'WriteVarLen'; expected 0, have 1 1032 | WriteVarLen (delta_time); | ^~~~~~~~~~~ ~~~~~~~~~~ midifile.c:155:6: note: declared here 155 | void WriteVarLen (); | ^~~~~~~~~~~ midifile.c: In function 'mf_write_seqnum': midifile.c:1043:1: warning: old-style function definition [-Wold-style-definition] 1043 | mf_write_seqnum (delta_time, seqnum) | ^~~~~~~~~~~~~~~ midifile.c:1046:1: error: number of arguments doesn't match prototype 1046 | { | ^ midifile.c:154:6: error: prototype declaration 154 | void mf_write_seqnum (); | ^~~~~~~~~~~~~~~ midifile.c:1048:3: error: too many arguments to function 'WriteVarLen'; expected 0, have 1 1048 | WriteVarLen (delta_time); | ^~~~~~~~~~~ ~~~~~~~~~~ midifile.c:155:6: note: declared here 155 | void WriteVarLen (); | ^~~~~~~~~~~ midifile.c: In function 'mf_sec2ticks': midifile.c:1057:1: warning: old-style function definition [-Wold-style-definition] 1057 | mf_sec2ticks (secs, division, tempo) | ^~~~~~~~~~~~ midifile.c:1061:1: error: number of arguments doesn't match prototype 1061 | { | ^ midifile.h:41:22: error: prototype declaration 41 | extern unsigned long mf_sec2ticks(); | ^~~~~~~~~~~~ midifile.c: In function 'WriteVarLen': midifile.c:1069:1: warning: old-style function definition [-Wold-style-definition] 1069 | WriteVarLen (value) | ^~~~~~~~~~~ midifile.c:1071:1: error: number of arguments doesn't match prototype 1071 | { | ^ midifile.c:155:6: error: prototype declaration 155 | void WriteVarLen (); | ^~~~~~~~~~~ midifile.c: In function 'mf_ticks2sec': midifile.c:1099:1: warning: old-style function definition [-Wold-style-definition] 1099 | mf_ticks2sec (ticks, division, tempo) | ^~~~~~~~~~~~ midifile.c: In function 'write32bit': midifile.c:911:23: warning: old-style function definition [-Wold-style-definition] 911 | void write16bit (), write32bit (); | ^~~~~~~~~~ midifile.c:1132:1: error: number of arguments doesn't match prototype 1132 | { | ^ midifile.c:911:23: error: prototype declaration 911 | void write16bit (), write32bit (); | ^~~~~~~~~~ midifile.c: In function 'write16bit': midifile.c:911:8: warning: old-style function definition [-Wold-style-definition] 911 | void write16bit (), write32bit (); | ^~~~~~~~~~ midifile.c:1142:1: error: number of arguments doesn't match prototype 1142 | { | ^ midifile.c:911:8: error: prototype declaration 911 | void write16bit (), write32bit (); | ^~~~~~~~~~ midifile.c: In function 'eputc': midifile.c:1149:1: warning: old-style function definition [-Wold-style-definition] 1149 | eputc (c) | ^~~~~ midifile.c:1160:17: error: too many arguments to function 'Mf_putc'; expected 0, have 1 1160 | return_val = (*Mf_putc) (c); | ~^~~~~~~~~ ~ midifile.c: At top level: midifile.c:135:13: warning: 'to32bit' used but never defined 135 | static long to32bit (); | ^~~~~~~ midifile.c:142:13: warning: 'metaevent' used but never defined 142 | static void metaevent (); | ^~~~~~~~~ make[1]: *** [Makefile:445: midifile.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils' gcc -DHAVE_CONFIG_H -I. -I../src -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 dim.o dim.c dim.c: In function 'main': dim.c:331:5: warning: old-style function definition [-Wold-style-definition] 331 | int main(argc,argv) | ^~~~ dim.c:353:17: error: too many arguments to function 'efopen'; expected 0, have 2 353 | F = efopen(argv[optind],"r"); | ^~~~~~ ~~~~~~~~~~~~ dim.c:338:15: note: declared here 338 | FILE *efopen(); | ^~~~~~ dim.c: In function 'efopen': dim.c:338:15: warning: old-style function definition [-Wold-style-definition] dim.c:370:1: error: number of arguments doesn't match prototype 370 | { | ^ dim.c:338:15: error: prototype declaration 338 | FILE *efopen(); | ^~~~~~ dim.c: In function 'error': dim.c:392:1: warning: old-style function definition [-Wold-style-definition] 392 | error(s) | ^~~~~ dim.c: In function 'txt_header': dim.c:400:1: warning: old-style function definition [-Wold-style-definition] 400 | txt_header(format,ntrks,ldivision) | ^~~~~~~~~~ dim.c: In function 'txt_noteon': dim.c:426:1: warning: old-style function definition [-Wold-style-definition] 426 | txt_noteon(chan,pitch,vol) | ^~~~~~~~~~ dim.c: In function 'txt_noteoff': dim.c:444:1: warning: old-style function definition [-Wold-style-definition] 444 | txt_noteoff(chan,pitch,vol) | ^~~~~~~~~~~ dim.c: In function 'txt_pressure': dim.c:462:1: warning: old-style function definition [-Wold-style-definition] 462 | txt_pressure(chan,pitch,press) | ^~~~~~~~~~~~ dim.c: In function 'txt_parameter': dim.c:554:1: warning: old-style function definition [-Wold-style-definition] 554 | txt_parameter(chan,control,value) | ^~~~~~~~~~~~~ dim.c: In function 'txt_pitchbend': dim.c:670:1: warning: old-style function definition [-Wold-style-definition] 670 | txt_pitchbend(chan,msb,lsb) | ^~~~~~~~~~~~~ dim.c: In function 'txt_program': dim.c:678:1: warning: old-style function definition [-Wold-style-definition] 678 | txt_program(chan,program) | ^~~~~~~~~~~ dim.c: In function 'txt_chanpressure': dim.c:688:1: warning: old-style function definition [-Wold-style-definition] 688 | txt_chanpressure(chan,press) | ^~~~~~~~~~~~~~~~ dim.c: In function 'txt_sysex': dim.c:864:1: warning: old-style function definition [-Wold-style-definition] 864 | txt_sysex(leng,mess) | ^~~~~~~~~ dim.c: In function 'txt_metamisc': dim.c:963:1: warning: old-style function definition [-Wold-style-definition] 963 | txt_metamisc(type,leng,mess) | ^~~~~~~~~~~~ dim.c: In function 'txt_metaspecial': dim.c:980:1: warning: old-style function definition [-Wold-style-definition] 980 | txt_metaspecial(leng,mess) | ^~~~~~~~~~~~~~~ dim.c: In function 'txt_metatext': dim.c:997:1: warning: old-style function definition [-Wold-style-definition] 997 | txt_metatext(type,leng,mess) | ^~~~~~~~~~~~ dim.c: In function 'txt_metaseq': dim.c:1029:1: warning: old-style function definition [-Wold-style-definition] 1029 | txt_metaseq(num) | ^~~~~~~~~~~ dim.c: In function 'txt_keysig': dim.c:1044:1: warning: old-style function definition [-Wold-style-definition] 1044 | txt_keysig(sf,mi) | ^~~~~~~~~~ dim.c: In function 'txt_tempo': dim.c:1052:1: warning: old-style function definition [-Wold-style-definition] 1052 | txt_tempo(ltempo) | ^~~~~~~~~ dim.c:1057:60: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 1057 | printf("Tempo, microseconds-per-MIDI-quarter-note=%d\n",tempo); | ~^ ~~~~~ | | | | int long int | %ld dim.c: In function 'txt_timesig': dim.c:1061:1: warning: old-style function definition [-Wold-style-definition] 1061 | txt_timesig(nn,dd,cc,bb) | ^~~~~~~~~~~ dim.c: In function 'txt_smpte': dim.c:1074:1: warning: old-style function definition [-Wold-style-definition] 1074 | txt_smpte(hr,mn,se,fr,ff) | ^~~~~~~~~ dim.c: In function 'txt_arbitrary': dim.c:1083:1: warning: old-style function definition [-Wold-style-definition] 1083 | txt_arbitrary(leng,mess) | ^~~~~~~~~~~~~ dim.c: In function 'prtime': dim.c:1116:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 1116 | printf("%3d.%02d.%02d ", the_realtime / (100*16), | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld dim.c:1116:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1116 | printf("%3d.%02d.%02d ", the_realtime / (100*16), | ~~~^ | | | int | %02ld 1117 | (the_realtime / 16) % 100, | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int dim.c:1116:29: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 1116 | printf("%3d.%02d.%02d ", the_realtime / (100*16), | ~~~^ | | | int | %02ld 1117 | (the_realtime / 16) % 100, 1118 | the_realtime % 16); | ~~~~~~~~~~~~~~~~~ | | | long int make[1]: *** [Makefile:445: dim.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils' gcc -DHAVE_CONFIG_H -I. -I../src -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 patinfo.o patinfo.c patinfo.c: In function 'main': patinfo.c:472:47: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] 472 | if (opt_verbose) printf("\t\tdetune %ld, panning %u\n", | ~~^ | | | long int | %d 473 | sample.detune, sample.panning); | ~~~~~~~~~~~~~ | | | int make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils' gcc -DHAVE_CONFIG_H -I. -I../src -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 patcat.o patcat.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils' gcc -DHAVE_CONFIG_H -I. -I../src -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 unsf.o unsf.c unsf.c: In function 'add_soundfont_patches': unsf.c:3353:31: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 3353 | fread(sf_presets[i].achPresetName, 20, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unsf.c:3406:31: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 3406 | fread(sf_instruments[i].achInstName, 20, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unsf.c:3454:31: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 3454 | fread(sf_samples[i].achSampleName, 20, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils' make: *** [Makefile:363: all-recursive] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kHCM7T (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kHCM7T (%build) I: [iurt_root_command] ERROR: chroot