D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/gt-0.4-11.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.rIqPaL + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf gt-0.4 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/gt-0.4-clean.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gt-0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/gt-0.4-noac3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/gt-0.4-compile-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/gt-0.4-optflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/gt-0.4-config-default-velocity-layer.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/gt-0.4-ppc-compile-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/gt-0.4-unsf-bigendian-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/gt-0.4-unsf-tremolo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/gt-0.4-parallel.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/gt-0.4-gcc10.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/iurt/rpmbuild/tmp/rpm-tmp.QzMRiN + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd gt-0.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:741: AM_CONFIG_HEADER is expanded from... configure.ac:6: 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:704: 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:2847: 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:2997: 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:2920: 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:743: 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + 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.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./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 + /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=aarch64-mageia-linux-gnu --build=aarch64-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 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 for aarch64-mageia-linux-gnu-gcc... no checking for 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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-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 egrep... (cached) /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 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 -j8 V=1 VERBOSE=1 Making all in src /usr/bin/make all-am make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -c -o controls.o controls.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -c -o output.o output.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -c -o common.o common.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -c -o tables.o tables.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -c -o filter.o filter.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -c -o timidity.o timidity.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' rm -f sfz2pat.c flex -osfz2pat.c -Psfz ./sfz2pat.l make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -c -o mix.o mix.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -c -o instrum.o instrum.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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) | ~~~~^~~~~~~ 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/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -c -o sf2cfg.o sf2cfg.c make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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:54, from alsa_a.c:42: /usr/include/alsa/pcm.h:807:81: note: expected 'unsigned int *' but argument is of type 'int *' 807 | 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/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from readmidi.c:23: In function 'fread', inlined from 'read_midi_file' at readmidi.c:2386:2: /usr/include/bits/stdio2.h:303:16: warning: call to '__fread_chk_warn' declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer [-Wattribute-warning] 303 | return __fread_chk_warn (__ptr, __glibc_objsize0 (__ptr), __size, __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | __stream); | ~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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:473, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wav2pat.c:26: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ 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 * In file included from /usr/include/features.h:473, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wav2pat.c:26: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ 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 * In file included from /usr/include/features.h:473, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wav2pat.c:26: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ 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/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o sf2cfg sf2cfg.o readsbk.o make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o wav2pat wav2pat.o make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: sfz2pat.c:2435:16: warning: 'input' defined but not used [-Wunused-function] 2435 | #else | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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, from sfz.c:2: /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, | ~~~~~~^~~~~~ In file included from sfz.c:2: ./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; | ^~~~~~~~~~ In file included from sfz.c:2: At top level: sfz2pat.c:2435:16: warning: 'input' defined but not used [-Wunused-function] 2435 | #else | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o sfz2pat sfz2pat.o tables.o -lvorbisfile -L/usr/lib -lvorbis -lm make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -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 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' Making all in utils make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' gcc -DHAVE_CONFIG_H -I. -I../src -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -c -o patcat.o patcat.c patcat.c: In function 'fix_sample_read': patcat.c:227:9: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 227 | memcpy(sample->envelope_rate, &buf[37], 6); | ^~~~~~ patcat.c:12:1: note: include '' or provide a declaration of 'memcpy' 11 | #include +++ |+#include 12 | patcat.c:227:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 227 | memcpy(sample->envelope_rate, &buf[37], 6); | ^~~~~~ patcat.c:227:9: note: include '' or provide a declaration of 'memcpy' patcat.c: In function 'fix_sample_write': patcat.c:259:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 259 | memcpy(&buf[37], sample->envelope_rate, 6); | ^~~~~~ patcat.c:259:9: note: include '' or provide a declaration of 'memcpy' patcat.c: At top level: patcat.c:303:1: warning: return type defaults to 'int' [-Wimplicit-int] 303 | main(int argc, char **argv) | ^~~~ patcat.c: In function 'main': patcat.c:324:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 324 | strcpy(outfile, argv[1]); | ^~~~~~ patcat.c:324:9: note: include '' or provide a declaration of 'strcpy' patcat.c:324:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] patcat.c:324:9: note: include '' or provide a declaration of 'strcpy' patcat.c:326:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 326 | if (!strcmp(leftinfile + strlen(leftinfile) - 4, ".pat")) | ^~~~~~ patcat.c:326:14: note: include '' or provide a declaration of 'strcmp' patcat.c:326:34: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 326 | if (!strcmp(leftinfile + strlen(leftinfile) - 4, ".pat")) | ^~~~~~ patcat.c:326:34: note: include '' or provide a declaration of 'strlen' patcat.c:326:34: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] patcat.c:326:34: note: include '' or provide a declaration of 'strlen' patcat.c:328:14: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 328 | else strcat(leftinfile, ".pat"); | ^~~~~~ patcat.c:328:14: note: include '' or provide a declaration of 'strcat' patcat.c:328:14: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] patcat.c:328:14: note: include '' or provide a declaration of 'strcat' patcat.c:330:34: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 330 | if (strcmp(rightinfile + strlen(rightinfile) - 4, ".pat")) | ^~~~~~ patcat.c:330:34: note: include '' or provide a declaration of 'strlen' patcat.c:331:17: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 331 | strcat(rightinfile, ".pat"); | ^~~~~~ patcat.c:331:17: note: include '' or provide a declaration of 'strcat' patcat.c:333:9: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 333 | strcat(outfile, "-stereo.pat"); | ^~~~~~ patcat.c:333:9: note: include '' or provide a declaration of 'strcat' patcat.c:360:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 360 | memcpy ((char *) &header, buf, sizeof (header)); | ^~~~~~ patcat.c:360:9: note: include '' or provide a declaration of 'memcpy' patcat.c:366:13: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 366 | if (strncmp (header.magic, "GF1PATCH110", 12)) { | ^~~~~~~ patcat.c:366:13: note: include '' or provide a declaration of 'strncmp' patcat.c:366:51: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 366 | if (strncmp (header.magic, "GF1PATCH110", 12)) { | ^~ : note: built-in 'strncmp' declared here patcat.c:372:57: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 372 | if (strncmp (right_header.magic, "GF1PATCH110", 12)) { | ^~ : note: built-in 'strncmp' declared here patcat.c:378:51: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 378 | if (strncmp (header.version, "ID#000002", 10)) { | ^~ : note: built-in 'strncmp' declared here patcat.c:384:57: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 384 | if (strncmp (right_header.version, "ID#000002", 10)) { | ^~ : note: built-in 'strncmp' declared here patcat.c:391:50: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 391 | if (!strncmp (header.sf2magic, "SF2EXT", 7)) { | ^ : note: built-in 'strncmp' declared here patcat.c:394:56: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 394 | if (!strncmp (right_header.sf2magic, "SF2EXT", 7)) { | ^ : note: built-in 'strncmp' declared here make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o patcat patcat.o make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' gcc -DHAVE_CONFIG_H -I. -I../src -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -c -o dim.o dim.c dim.c:323:1: warning: return type defaults to 'int' [-Wimplicit-int] 323 | filegetc() | ^~~~~~~~ dim.c:329:1: warning: return type defaults to 'int' [-Wimplicit-int] 329 | main(argc,argv) | ^~~~ dim.c: In function 'main': dim.c:329:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] dim.c:352:9: warning: implicit declaration of function 'initfuncs' [-Wimplicit-function-declaration] 352 | initfuncs(); | ^~~~~~~~~ dim.c: In function 'txt_header': dim.c:397:1: warning: type of 'format' defaults to 'int' [-Wimplicit-int] 397 | txt_header(format,ntrks,ldivision) | ^~~~~~~~~~ dim.c:397:1: warning: type of 'ntrks' defaults to 'int' [-Wimplicit-int] dim.c:397:1: warning: type of 'ldivision' defaults to 'int' [-Wimplicit-int] dim.c: In function 'txt_noteon': dim.c:422:1: warning: type of 'chan' defaults to 'int' [-Wimplicit-int] 422 | txt_noteon(chan,pitch,vol) | ^~~~~~~~~~ dim.c:422:1: warning: type of 'pitch' defaults to 'int' [-Wimplicit-int] dim.c:422:1: warning: type of 'vol' defaults to 'int' [-Wimplicit-int] dim.c: In function 'txt_noteoff': dim.c:439:1: warning: type of 'chan' defaults to 'int' [-Wimplicit-int] 439 | txt_noteoff(chan,pitch,vol) | ^~~~~~~~~~~ dim.c:439:1: warning: type of 'pitch' defaults to 'int' [-Wimplicit-int] dim.c:439:1: warning: type of 'vol' defaults to 'int' [-Wimplicit-int] dim.c: In function 'txt_pressure': dim.c:456:1: warning: type of 'chan' defaults to 'int' [-Wimplicit-int] 456 | txt_pressure(chan,pitch,press) | ^~~~~~~~~~~~ dim.c:456:1: warning: type of 'pitch' defaults to 'int' [-Wimplicit-int] dim.c:456:1: warning: type of 'press' defaults to 'int' [-Wimplicit-int] dim.c: In function 'txt_parameter': dim.c:547:1: warning: type of 'chan' defaults to 'int' [-Wimplicit-int] 547 | txt_parameter(chan,control,value) | ^~~~~~~~~~~~~ dim.c:547:1: warning: type of 'control' defaults to 'int' [-Wimplicit-int] dim.c:547:1: warning: type of 'value' defaults to 'int' [-Wimplicit-int] dim.c: In function 'txt_pitchbend': dim.c:662:1: warning: type of 'chan' defaults to 'int' [-Wimplicit-int] 662 | txt_pitchbend(chan,msb,lsb) | ^~~~~~~~~~~~~ dim.c:662:1: warning: type of 'msb' defaults to 'int' [-Wimplicit-int] dim.c:662:1: warning: type of 'lsb' defaults to 'int' [-Wimplicit-int] dim.c: In function 'txt_program': dim.c:669:1: warning: type of 'chan' defaults to 'int' [-Wimplicit-int] 669 | txt_program(chan,program) | ^~~~~~~~~~~ dim.c:669:1: warning: type of 'program' defaults to 'int' [-Wimplicit-int] dim.c: In function 'txt_chanpressure': dim.c:678:1: warning: type of 'chan' defaults to 'int' [-Wimplicit-int] 678 | txt_chanpressure(chan,press) | ^~~~~~~~~~~~~~~~ dim.c:678:1: warning: type of 'press' defaults to 'int' [-Wimplicit-int] dim.c: In function 'txt_sysex': dim.c:853:1: warning: type of 'leng' defaults to 'int' [-Wimplicit-int] 853 | txt_sysex(leng,mess) | ^~~~~~~~~ dim.c: In function 'txt_metamisc': dim.c:951:1: warning: type of 'type' defaults to 'int' [-Wimplicit-int] 951 | txt_metamisc(type,leng,mess) | ^~~~~~~~~~~~ dim.c:951:1: warning: type of 'leng' defaults to 'int' [-Wimplicit-int] dim.c: In function 'txt_metaspecial': dim.c:967:1: warning: type of 'leng' defaults to 'int' [-Wimplicit-int] 967 | txt_metaspecial(leng,mess) | ^~~~~~~~~~~~~~~ dim.c: In function 'txt_metatext': dim.c:983:1: warning: type of 'type' defaults to 'int' [-Wimplicit-int] 983 | txt_metatext(type,leng,mess) | ^~~~~~~~~~~~ dim.c:983:1: warning: type of 'leng' defaults to 'int' [-Wimplicit-int] dim.c: In function 'txt_metaseq': dim.c:1014:1: warning: type of 'num' defaults to 'int' [-Wimplicit-int] 1014 | txt_metaseq(num) | ^~~~~~~~~~~ dim.c: In function 'txt_keysig': dim.c:1028:1: warning: type of 'sf' defaults to 'int' [-Wimplicit-int] 1028 | txt_keysig(sf,mi) | ^~~~~~~~~~ dim.c:1028:1: warning: type of 'mi' defaults to 'int' [-Wimplicit-int] dim.c: In function 'txt_tempo': dim.c:1040:60: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 1040 | printf("Tempo, microseconds-per-MIDI-quarter-note=%d\n",tempo); | ~^ ~~~~~ | | | | int long int | %ld dim.c: In function 'txt_timesig': dim.c:1044:1: warning: type of 'nn' defaults to 'int' [-Wimplicit-int] 1044 | txt_timesig(nn,dd,cc,bb) | ^~~~~~~~~~~ dim.c:1044:1: warning: type of 'dd' defaults to 'int' [-Wimplicit-int] dim.c:1044:1: warning: type of 'cc' defaults to 'int' [-Wimplicit-int] dim.c:1044:1: warning: type of 'bb' defaults to 'int' [-Wimplicit-int] dim.c: In function 'txt_smpte': dim.c:1056:1: warning: type of 'hr' defaults to 'int' [-Wimplicit-int] 1056 | txt_smpte(hr,mn,se,fr,ff) | ^~~~~~~~~ dim.c:1056:1: warning: type of 'mn' defaults to 'int' [-Wimplicit-int] dim.c:1056:1: warning: type of 'se' defaults to 'int' [-Wimplicit-int] dim.c:1056:1: warning: type of 'fr' defaults to 'int' [-Wimplicit-int] dim.c:1056:1: warning: type of 'ff' defaults to 'int' [-Wimplicit-int] dim.c: In function 'txt_arbitrary': dim.c:1064:1: warning: type of 'leng' defaults to 'int' [-Wimplicit-int] 1064 | txt_arbitrary(leng,mess) | ^~~~~~~~~~~~~ dim.c: In function 'prtime': dim.c:1096:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 1096 | printf("%3d.%02d.%02d ", the_realtime / (100*16), | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %3ld dim.c:1096:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1096 | printf("%3d.%02d.%02d ", the_realtime / (100*16), | ~~~^ | | | int | %02ld 1097 | (the_realtime / 16) % 100, | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int dim.c:1096:29: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 1096 | printf("%3d.%02d.%02d ", the_realtime / (100*16), | ~~~^ | | | int | %02ld 1097 | (the_realtime / 16) % 100, 1098 | the_realtime % 16); | ~~~~~~~~~~~~~~~~~ | | | long int dim.c: At top level: dim.c:1103:1: warning: return type defaults to 'int' [-Wimplicit-int] 1103 | initfuncs() | ^~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' gcc -DHAVE_CONFIG_H -I. -I../src -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -c -o patinfo.o patinfo.c patinfo.c: In function 'fix_sample_read': patinfo.c:241:9: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 241 | memcpy(sample->envelope_rate, &buf[37], 6); | ^~~~~~ patinfo.c:11:1: note: include '' or provide a declaration of 'memcpy' 10 | #include +++ |+#include 11 | patinfo.c:241:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 241 | memcpy(sample->envelope_rate, &buf[37], 6); | ^~~~~~ patinfo.c:241:9: note: include '' or provide a declaration of 'memcpy' patinfo.c: At top level: patinfo.c:265:1: warning: return type defaults to 'int' [-Wimplicit-int] 265 | main(int argc, char **argv) | ^~~~ patinfo.c: In function 'main': patinfo.c:298:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 298 | strcpy(outfile, argv[optind]); | ^~~~~~ patinfo.c:298:9: note: include '' or provide a declaration of 'strcpy' patinfo.c:298:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] patinfo.c:298:9: note: include '' or provide a declaration of 'strcpy' patinfo.c:300:9: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 300 | strcat(infile, argv[optind]); | ^~~~~~ patinfo.c:300:9: note: include '' or provide a declaration of 'strcat' patinfo.c:300:9: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] patinfo.c:300:9: note: include '' or provide a declaration of 'strcat' patinfo.c:301:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 301 | if (!strcmp(infile + strlen(infile) - 4, ".pat")) | ^~~~~~ patinfo.c:301:14: note: include '' or provide a declaration of 'strcmp' patinfo.c:301:30: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 301 | if (!strcmp(infile + strlen(infile) - 4, ".pat")) | ^~~~~~ patinfo.c:301:30: note: include '' or provide a declaration of 'strlen' patinfo.c:301:30: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] patinfo.c:301:30: note: include '' or provide a declaration of 'strlen' patinfo.c:309:37: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 309 | if (strcmp(infile + strlen(infile) - 4, ".pat")) | ^~~~~~ patinfo.c:309:37: note: include '' or provide a declaration of 'strlen' patinfo.c:322:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 322 | memcpy ((char *) &header, buf, sizeof (header)); | ^~~~~~ patinfo.c:322:9: note: include '' or provide a declaration of 'memcpy' patinfo.c:326:13: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 326 | if (strncmp (header.magic, "GF1PATCH110", 12)) { | ^~~~~~~ patinfo.c:326:13: note: include '' or provide a declaration of 'strncmp' patinfo.c:326:51: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 326 | if (strncmp (header.magic, "GF1PATCH110", 12)) { | ^~ : note: built-in 'strncmp' declared here patinfo.c:330:51: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 330 | if (strncmp (header.version, "ID#000002", 10)) { | ^~ : note: built-in 'strncmp' declared here patinfo.c:335:50: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 335 | if (!strncmp (header.sf2magic, "SF2EXT", 7)) { | ^ : note: built-in 'strncmp' declared here patinfo.c:471:47: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] 471 | if (opt_verbose) printf("\t\tdetune %ld, panning %u\n", | ~~^ | | | long int | %d 472 | sample.detune, sample.panning); | ~~~~~~~~~~~~~ | | | int make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' gcc -DHAVE_CONFIG_H -I. -I../src -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -c -o midifile.o midifile.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o dim dim.o midifile.o make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o patinfo patinfo.o -lm make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' gcc -DHAVE_CONFIG_H -I. -I../src -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -c -o unsf.o unsf.c unsf.c: In function 'grab_soundfont': unsf.c:2131:30: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 2131 | while ((i >= 0) && (isspace(s[i]))) { | ^~~~~~~ unsf.c:69:1: note: include '' or provide a declaration of 'isspace' 68 | #include +++ |+#include 69 | #include unsf.c: In function 'add_soundfont_patches': unsf.c:3352:31: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 3352 | fread(sf_presets[i].achPresetName, 20, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unsf.c:3405:31: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 3405 | fread(sf_instruments[i].achInstName, 20, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unsf.c:3453:31: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 3453 | fread(sf_samples[i].achSampleName, 20, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fsigned-char -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o unsf unsf.o -lm make[1]: Leaving directory '/home/iurt/rpmbuild/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/iurt/rpmbuild/tmp/rpm-tmp.hqc19x + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64 + cd gt-0.4 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/bin' /usr/bin/install -p gt sf2cfg wav2pat sfz2pat '/home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/bin' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 'gt.man' '/home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/man/man1/gt.1' /usr/bin/install -p -m 644 'sf2cfg.man' '/home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/man/man1/sf2cfg.1' /usr/bin/install -p -m 644 'sfz2pat.man' '/home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/man/man1/sfz2pat.1' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/src' Making install in utils make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/bin' /usr/bin/install -p unsf patinfo patcat dim '/home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/bin' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/man/man1' /usr/bin/install -p -m 644 'unsf.man' '/home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/man/man1/unsf.1' /usr/bin/install -p -m 644 'patcat.man' '/home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/man/man1/patcat.1' /usr/bin/install -p -m 644 'dim.man' '/home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/man/man1/dim.1' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4/utils' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/gt-0.4' make[2]: Entering directory '/home/iurt/rpmbuild/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/iurt/rpmbuild/BUILD/gt-0.4' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/gt-0.4' + mv /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/bin/dim /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/bin/midi-disasm + mv /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/man/man1/dim.1 /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/man/man1/midi-disasm.1 + sed -i s/dim/midi-disasm/g /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/man/man1/midi-disasm.1 + touch -r utils/midifile.c /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/man/man1/midi-disasm.1 + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.4-11.mga9 --unique-debug-suffix -0.4-11.mga9.aarch64 --unique-debug-src-base gt-0.4-11.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/gt-0.4 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/bin/gt extracting debug info from /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/bin/midi-disasm extracting debug info from /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/bin/patinfo extracting debug info from /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/bin/sf2cfg extracting debug info from /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/bin/sfz2pat extracting debug info from /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/bin/wav2pat extracting debug info from /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/bin/patcat extracting debug info from /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/bin/unsf dwz: ./usr/bin/gt-0.4-11.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/bin/midi-disasm-0.4-11.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/bin/patcat-0.4-11.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/bin/patinfo-0.4-11.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/bin/sf2cfg-0.4-11.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/bin/sfz2pat-0.4-11.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/bin/unsf-0.4-11.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/bin/wav2pat-0.4-11.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: Too few files for multifile optimization original debug info size: 1336kB, size after compression: 1336kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 8 CRC32s did match. 6326 blocks + /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/brp-python-bytecompile /usr/bin/python3 1 0 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: gt-0.4-11.mga9.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.pwHiyB + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd gt-0.4 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/doc/gt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/doc/gt + cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/doc/gt + cp -pr COPYING /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/doc/gt + cp -pr ChangeLog /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/doc/gt + cp -pr FEATURES /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/doc/gt + cp -pr NEWS /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/doc/gt + cp -pr README README.banks README.controllers README.timidity README.variationbank /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/doc/gt + RPM_EC=0 ++ jobs -p + exit 0 Provides: gt = 0.4-11.mga9 gt(aarch-64) = 0.4-11.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) 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.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libvorbisfile.so.3()(64bit) Processing files: soundfont-utils-0.4-11.mga9.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.bw4TjA + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd gt-0.4 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/doc/soundfont-utils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/doc/soundfont-utils + cp -pr utils/README utils/README.sf2cfg /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/doc/soundfont-utils + cp -pr utils/GUSSF2-SPEC /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64/usr/share/doc/soundfont-utils + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/lib/.build-id/8e/e9944201f21b956fcff44c5de2e8597748993d Provides: soundfont-utils = 0.4-11.mga9 soundfont-utils(aarch-64) = 0.4-11.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libvorbisfile.so.3()(64bit) Processing files: gt-debugsource-0.4-11.mga9.aarch64 Provides: gt-debugsource = 0.4-11.mga9 gt-debugsource(aarch-64) = 0.4-11.mga9 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-11.mga9.aarch64 Provides: debuginfo(build-id) = 8ee9944201f21b956fcff44c5de2e8597748993d gt-debuginfo = 0.4-11.mga9 gt-debuginfo(aarch-64) = 0.4-11.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gt-debugsource(aarch-64) = 0.4-11.mga9 Processing files: soundfont-utils-debuginfo-0.4-11.mga9.aarch64 Provides: debuginfo(build-id) = 0185730cabb7377f0983aba72fc63d051842cc7c debuginfo(build-id) = 29cabc91e873c4bcd00f1bbb14f64b40626fdc6f debuginfo(build-id) = 369aff18fb0c7d67fd499862c194e09d84806b11 debuginfo(build-id) = 49eeb4e3280358e157a7fb76d34da3bd65619b41 debuginfo(build-id) = 65f3767c7dca3c31cbd8b5c94ab030f1ad46c60d debuginfo(build-id) = 8ee9944201f21b956fcff44c5de2e8597748993d debuginfo(build-id) = 98103a4c5ddb926c6f79ce4f4bbab8f3c3debf1f debuginfo(build-id) = ca460d32841cd847bbd5fe438c87c21ba36d2e67 soundfont-utils-debuginfo = 0.4-11.mga9 soundfont-utils-debuginfo(aarch-64) = 0.4-11.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gt-debugsource(aarch-64) = 0.4-11.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/soundfont-utils-0.4-11.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/soundfont-utils-debuginfo-0.4-11.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/gt-0.4-11.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/gt-debuginfo-0.4-11.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/gt-debugsource-0.4-11.mga9.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.SYqCCn + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd gt-0.4 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/gt-0.4-11.mga9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Byr4Lj + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf gt-0.4 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!