D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/gt-0.4-13.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.njb9f6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gt-0.4-build + test -d /home/pterjan/rpmbuild/BUILD/gt-0.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/gt-0.4-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/gt-0.4-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gt-0.4-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gt-0.4-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.77gcS1 + 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/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gt-0.4-noac3.patch + /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/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/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/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/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 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yRl3JU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gt-0.4-build + 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 -j16 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' 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 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 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 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 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 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 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' 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 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 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 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 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:511, 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 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 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 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 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:56, from alsa_a.c:42: /usr/include/alsa/pcm.h:829:81: note: expected 'unsigned int *' but argument is of type 'int *' 829 | 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 -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 -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 -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:15: 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:15: 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: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 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 -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 -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 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 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 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 midifile.o midifile.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 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 dim.o dim.c dim.c: In function 'txt_tempo': 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 '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]: 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 -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 patinfo patinfo.o -lm 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 -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 patcat patcat.o 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 -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 dim dim.o midifile.o 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[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils' gcc -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 unsf unsf.o -lm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils' make[1]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.twzxU8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gt-0.4-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/gt-0.4-build + mkdir /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT + cd gt-0.4 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering 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' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/bin' /usr/bin/install -p gt sf2cfg wav2pat sfz2pat '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/bin' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1' /usr/bin/install -p -m 644 'gt.man' '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/gt.1' /usr/bin/install -p -m 644 'sf2cfg.man' '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/sf2cfg.1' /usr/bin/install -p -m 644 'sfz2pat.man' '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/sfz2pat.1' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/src' Making install in utils make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/bin' /usr/bin/install -p unsf patinfo patcat dim '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/bin' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1' /usr/bin/install -p -m 644 'unsf.man' '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/unsf.1' /usr/bin/install -p -m 644 'patcat.man' '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/patcat.1' /usr/bin/install -p -m 644 'dim.man' '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/dim.1' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils' 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' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4' + mv /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/bin/dim /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/bin/midi-disasm + mv /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/dim.1 /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/midi-disasm.1 + sed -i s/dim/midi-disasm/g /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/midi-disasm.1 + touch -r utils/midifile.c /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/midi-disasm.1 + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.4-13.mga10 --unique-debug-suffix -0.4-13.mga10.x86_64 --unique-debug-src-base gt-0.4-13.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4 find-debuginfo: starting Extracting debug info from 8 files DWARF-compressing 8 files sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/gt-0.4-13.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/gt-0.4-build/SPECPARTS/rpm-debuginfo.specpart Processing files: gt-0.4-13.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KHMajS + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gt-0.4-build + cd gt-0.4 + DOCDIR=/home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/AUTHORS /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/COPYING /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/ChangeLog /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/FEATURES /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/NEWS /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/README /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/README.banks /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/README.controllers /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/README.timidity /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/README.variationbank /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + RPM_EC=0 ++ jobs -p + exit 0 Provides: gt = 0.4-13.mga10 gt(x86-64) = 0.4-13.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libasound.so.2()(64bit) libasound.so.2(ALSA_0.9)(64bit) libasound.so.2(ALSA_0.9.0rc4)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libvorbisfile.so.3()(64bit) Processing files: soundfont-utils-0.4-13.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.x1D7Zw + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gt-0.4-build + cd gt-0.4 + DOCDIR=/home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/soundfont-utils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/soundfont-utils + cp -pr /home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils/README /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/soundfont-utils + cp -pr /home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils/README.sf2cfg /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/soundfont-utils + cp -pr /home/pterjan/rpmbuild/BUILD/gt-0.4-build/gt-0.4/utils/GUSSF2-SPEC /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/soundfont-utils + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/lib/.build-id/c5/82c9cec164e0d010f6be494517cd6ed6b4360c Provides: soundfont-utils = 0.4-13.mga10 soundfont-utils(x86-64) = 0.4-13.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libvorbisfile.so.3()(64bit) Processing files: gt-debugsource-0.4-13.mga10.x86_64 Provides: gt-debugsource = 0.4-13.mga10 gt-debugsource(x86-64) = 0.4-13.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: gt-debuginfo-0.4-13.mga10.x86_64 Provides: debuginfo(build-id) = c582c9cec164e0d010f6be494517cd6ed6b4360c gt-debuginfo = 0.4-13.mga10 gt-debuginfo(x86-64) = 0.4-13.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gt-debugsource(x86-64) = 0.4-13.mga10 Processing files: soundfont-utils-debuginfo-0.4-13.mga10.x86_64 Provides: debuginfo(build-id) = 2002da42b9184b848eab9e209407f4a0711b4369 debuginfo(build-id) = 22820b1e3986a4d780101291f90f2a23a119332e debuginfo(build-id) = 8be6a8ec5a30a795a89857a69ee397d061323f21 debuginfo(build-id) = 8c2bb3acbed6e650031a00406095e3b5872f05f9 debuginfo(build-id) = 9203a9d775be98a8d06b2fed117f1a0bcf940c5d debuginfo(build-id) = b1121957f3a37158973ab0408a8338f99bd4ec4f debuginfo(build-id) = b8093b39cc07cab83a1111f9d231a05b3fb4ffcb debuginfo(build-id) = c582c9cec164e0d010f6be494517cd6ed6b4360c soundfont-utils-debuginfo = 0.4-13.mga10 soundfont-utils-debuginfo(x86-64) = 0.4-13.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gt-debugsource(x86-64) = 0.4-13.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/gt-0.4-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/soundfont-utils-0.4-13.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/soundfont-utils-debuginfo-0.4-13.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/gt-debuginfo-0.4-13.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/gt-0.4-13.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/gt-debugsource-0.4-13.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.O8l2nx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gt-0.4-build + test -d /home/pterjan/rpmbuild/BUILD/gt-0.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/gt-0.4-build + rm -rf /home/pterjan/rpmbuild/BUILD/gt-0.4-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/lib/.build-id/c5/82c9cec164e0d010f6be494517cd6ed6b4360c D: [iurt_root_command] Success!