Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gt.spec'], chrootPath='/var/lib/mock/f41-build-836346-158789/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/gt-0.4-45.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gt.spec'], chrootPath='/var/lib/mock/f41-build-836346-158789/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.jxKmth + umask 022 + cd /builddir/build/BUILD/gt-0.4-build + test -d /builddir/build/BUILD/gt-0.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/gt-0.4-build + /usr/bin/rm -rf /builddir/build/BUILD/gt-0.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/gt-0.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/gt-0.4-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Iyqw88 + umask 022 + cd /builddir/build/BUILD/gt-0.4-build + cd /builddir/build/BUILD/gt-0.4-build + rm -rf gt-0.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gt-0.4-clean.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gt-0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gt-0.4-noac3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gt-0.4-compile-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gt-0.4-optflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gt-0.4-config-default-velocity-layer.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gt-0.4-ppc-compile-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gt-0.4-unsf-bigendian-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gt-0.4-unsf-tremolo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gt-0.4-gcc10.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp -p src/README README.timidity + sed -i -e 's#$(TIMID_DIR)#/etc#' src/Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qVeyWp + umask 022 + cd /builddir/build/BUILD/gt-0.4-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gt-0.4 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking whether time.h and sys/time.h may both be included... yes 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 + make Making all in src make[1]: Entering directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4/src' make all-am make[2]: Entering directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'timidity.c' || echo './'`timidity.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'common.c' || echo './'`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? */ | ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'readmidi.c' || echo './'`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 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 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 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'playmidi.c' || echo './'`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; | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'mix.c' || echo './'`mix.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'instrum.c' || echo './'`instrum.c instrum.c: In function ‘load_instrument’: instrum.c:954:19: warning: cast increases required alignment of target type [-Wcast-align] 954 | tmplong = *((int32 *)(tmp + tmpindex)); \ | ^ instrum.c:1019:17: note: in expansion of macro ‘READ_SPLEN’ 1019 | READ_SPLEN (sp->data_length); | ^~~~~~~~~~ instrum.c:954:19: warning: cast increases required alignment of target type [-Wcast-align] 954 | tmplong = *((int32 *)(tmp + tmpindex)); \ | ^ instrum.c:1020:17: note: in expansion of macro ‘READ_SPLEN’ 1020 | READ_SPLEN (sp->loop_start); | ^~~~~~~~~~ instrum.c:954:19: warning: cast increases required alignment of target type [-Wcast-align] 954 | tmplong = *((int32 *)(tmp + tmpindex)); \ | ^ instrum.c:1021:17: note: in expansion of macro ‘READ_SPLEN’ 1021 | READ_SPLEN (sp->loop_end); | ^~~~~~~~~~ instrum.c:946:20: warning: cast increases required alignment of target type [-Wcast-align] 946 | tmpshort = *((uint16 *)(tmp + tmpindex)); \ | ^ instrum.c:1022:17: note: in expansion of macro ‘READ_SHORT’ 1022 | READ_SHORT (sp->sample_rate); | ^~~~~~~~~~ instrum.c:950:19: warning: cast increases required alignment of target type [-Wcast-align] 950 | tmplong = *((int32 *)(tmp + tmpindex)); \ | ^ instrum.c:1023:17: note: in expansion of macro ‘READ_LONG’ 1023 | READ_LONG (sp->low_freq); | ^~~~~~~~~ instrum.c:950:19: warning: cast increases required alignment of target type [-Wcast-align] 950 | tmplong = *((int32 *)(tmp + tmpindex)); \ | ^ instrum.c:1024:17: note: in expansion of macro ‘READ_LONG’ 1024 | READ_LONG (sp->high_freq); | ^~~~~~~~~ instrum.c:950:19: warning: cast increases required alignment of target type [-Wcast-align] 950 | tmplong = *((int32 *)(tmp + tmpindex)); \ | ^ instrum.c:1025:17: note: in expansion of macro ‘READ_LONG’ 1025 | READ_LONG (sp->root_freq); | ^~~~~~~~~ instrum.c:946:20: warning: cast increases required alignment of target type [-Wcast-align] 946 | tmpshort = *((uint16 *)(tmp + tmpindex)); \ | ^ instrum.c:1102:17: note: in expansion of macro ‘READ_SHORT’ 1102 | READ_SHORT (sp->freq_center); | ^~~~~~~~~~ instrum.c:946:20: warning: cast increases required alignment of target type [-Wcast-align] 946 | tmpshort = *((uint16 *)(tmp + tmpindex)); \ | ^ instrum.c:1103:17: note: in expansion of macro ‘READ_SHORT’ 1103 | READ_SHORT (sp->freq_scale); | ^~~~~~~~~~ instrum.c:946:20: warning: cast increases required alignment of target type [-Wcast-align] 946 | tmpshort = *((uint16 *)(tmp + tmpindex)); \ | ^ instrum.c:1106:21: note: in expansion of macro ‘READ_SHORT’ 1106 | READ_SHORT (sample_volume); | ^~~~~~~~~~ instrum.c:946:20: warning: cast increases required alignment of target type [-Wcast-align] 946 | tmpshort = *((uint16 *)(tmp + tmpindex)); \ | ^ instrum.c:1138:21: note: in expansion of macro ‘READ_SHORT’ 1138 | READ_SHORT (tmpshort); | ^~~~~~~~~~ instrum.c:946:20: warning: cast increases required alignment of target type [-Wcast-align] 946 | tmpshort = *((uint16 *)(tmp + tmpindex)); \ | ^ instrum.c:1142:21: note: in expansion of macro ‘READ_SHORT’ 1142 | READ_SHORT (tmpshort); | ^~~~~~~~~~ instrum.c:946:20: warning: cast increases required alignment of target type [-Wcast-align] 946 | tmpshort = *((uint16 *)(tmp + tmpindex)); \ | ^ instrum.c:1155:21: note: in expansion of macro ‘READ_SHORT’ 1155 | READ_SHORT (tmpshort); | ^~~~~~~~~~ instrum.c:1334:28: warning: cast increases required alignment of target type [-Wcast-align] 1334 | sp->data = (sample_t *)(whole_file + whole_file_offset); | ^ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'tables.c' || echo './'`tables.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'controls.c' || echo './'`controls.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'output.c' || echo './'`output.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'filter.c' || echo './'`filter.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'wave_a.c' || echo './'`wave_a.c wave_a.c: In function ‘open_output’: wave_a.c:175:7: warning: cast increases required alignment of target type [-Wcast-align] 175 | *((int *) (RIFFheader + 24)) = LE_LONG (dpm.rate); | ^ wave_a.c:178:7: warning: cast increases required alignment of target type [-Wcast-align] 178 | *((int *) (RIFFheader + 28)) = LE_LONG (t); | ^ 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]; | ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'dumb_c.c' || echo './'`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) | ~~~~^~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'sndfont.c' || echo './'`sndfont.c sndfont.c: In function ‘load_one_side’: sndfont.c:620:28: warning: cast increases required alignment of target type [-Wcast-align] 620 | sample->data = (sample_t *) (rec->contents + sp->startsample); | ^ 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 () | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'readsbk.c' || echo './'`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); | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'sfz.c' || echo './'`sfz.c In file included from sfz.c:2: ./sfz2pat.l: In function ‘load_sfz_instrument’: ./sfz2pat.l:1458:33: warning: cast increases required alignment of target type [-Wcast-align] 1458 | else sp->data = (sample_t *)(left_buf + region_start * data_width); | ^ ./sfz2pat.l:1459:26: warning: cast increases required alignment of target type [-Wcast-align] 1459 | } | ^ ./sfz2pat.l:1465:33: warning: cast increases required alignment of target type [-Wcast-align] 1465 | else sp->data = (sample_t *)(right_buf + region_start * data_width); | ^ ./sfz2pat.l:1466:26: warning: cast increases required alignment of target type [-Wcast-align] 1466 | } | ^ In file included from ./sfz2pat.l:41: ./sfz2pat.l: In function ‘read_sample’: ./sfz2pat.l:1513:38: warning: cast increases required alignment of target type [-Wcast-align] 1513 | for (i = 0; i < 4; i++) thing[i] = thing[i+8]; | ^ gtim.h:365:20: note: in definition of macro ‘LE_LONG’ 365 | #define LE_LONG(x) x | ^ ./sfz2pat.l:1524:38: warning: cast increases required alignment of target type [-Wcast-align] 1524 | if (memcmp(thing+8, "WAVE", 4)) { | ^ gtim.h:365:20: note: in definition of macro ‘LE_LONG’ 365 | #define LE_LONG(x) x | ^ ./sfz2pat.l:1538:34: warning: cast increases required alignment of target type [-Wcast-align] 1538 | if (memcmp(thing+8, "AIFF", 4)) { | ^ gtim.h:365:20: note: in definition of macro ‘LE_LONG’ 365 | #define LE_LONG(x) x | ^ ./sfz2pat.l:1551:46: warning: cast increases required alignment of target type [-Wcast-align] 1551 | if (!chunk_length) break; | ^ gtim.h:357:27: note: in definition of macro ‘XCHG_LONG’ 357 | # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ | ^ ./sfz2pat.l:1551:36: note: in expansion of macro ‘BE_LONG’ 1551 | if (!chunk_length) break; | ^~~~~~ ./sfz2pat.l:1551:46: warning: cast increases required alignment of target type [-Wcast-align] 1551 | if (!chunk_length) break; | ^ gtim.h:358:26: note: in definition of macro ‘XCHG_LONG’ 358 | (((x)&0xFF00)<<8) | \ | ^ ./sfz2pat.l:1551:36: note: in expansion of macro ‘BE_LONG’ 1551 | if (!chunk_length) break; | ^~~~~~ ./sfz2pat.l:1551:46: warning: cast increases required alignment of target type [-Wcast-align] 1551 | if (!chunk_length) break; | ^ gtim.h:359:26: note: in definition of macro ‘XCHG_LONG’ 359 | (((x)&0xFF0000)>>8) | \ | ^ ./sfz2pat.l:1551:36: note: in expansion of macro ‘BE_LONG’ 1551 | if (!chunk_length) break; | ^~~~~~ ./sfz2pat.l:1551:46: warning: cast increases required alignment of target type [-Wcast-align] 1551 | if (!chunk_length) break; | ^ gtim.h:360:26: note: in definition of macro ‘XCHG_LONG’ 360 | (((x)>>24)&0xFF)) | ^ ./sfz2pat.l:1551:36: note: in expansion of macro ‘BE_LONG’ 1551 | if (!chunk_length) break; | ^~~~~~ ./sfz2pat.l:1566:45: warning: cast increases required alignment of target type [-Wcast-align] 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:357:27: note: in definition of macro ‘XCHG_LONG’ 357 | # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ | ^ ./sfz2pat.l:1566:35: note: in expansion of macro ‘BE_LONG’ 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^~~~~~~ ./sfz2pat.l:1566:45: warning: cast increases required alignment of target type [-Wcast-align] 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:358:26: note: in definition of macro ‘XCHG_LONG’ 358 | (((x)&0xFF00)<<8) | \ | ^ ./sfz2pat.l:1566:35: note: in expansion of macro ‘BE_LONG’ 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^~~~~~~ ./sfz2pat.l:1566:45: warning: cast increases required alignment of target type [-Wcast-align] 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:359:26: note: in definition of macro ‘XCHG_LONG’ 359 | (((x)&0xFF0000)>>8) | \ | ^ ./sfz2pat.l:1566:35: note: in expansion of macro ‘BE_LONG’ 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^~~~~~~ ./sfz2pat.l:1566:45: warning: cast increases required alignment of target type [-Wcast-align] 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:360:26: note: in definition of macro ‘XCHG_LONG’ 360 | (((x)>>24)&0xFF)) | ^ ./sfz2pat.l:1566:35: note: in expansion of macro ‘BE_LONG’ 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^~~~~~~ ./sfz2pat.l:1567:54: warning: cast increases required alignment of target type [-Wcast-align] 1567 | } | ^ gtim.h:357:27: note: in definition of macro ‘XCHG_LONG’ 357 | # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ | ^ ./sfz2pat.l:1567:44: note: in expansion of macro ‘BE_LONG’ 1567 | } | ^ ./sfz2pat.l:1567:54: warning: cast increases required alignment of target type [-Wcast-align] 1567 | } | ^ gtim.h:358:26: note: in definition of macro ‘XCHG_LONG’ 358 | (((x)&0xFF00)<<8) | \ | ^ ./sfz2pat.l:1567:44: note: in expansion of macro ‘BE_LONG’ 1567 | } | ^ ./sfz2pat.l:1567:54: warning: cast increases required alignment of target type [-Wcast-align] 1567 | } | ^ gtim.h:359:26: note: in definition of macro ‘XCHG_LONG’ 359 | (((x)&0xFF0000)>>8) | \ | ^ ./sfz2pat.l:1567:44: note: in expansion of macro ‘BE_LONG’ 1567 | } | ^ ./sfz2pat.l:1567:54: warning: cast increases required alignment of target type [-Wcast-align] 1567 | } | ^ gtim.h:360:26: note: in definition of macro ‘XCHG_LONG’ 360 | (((x)>>24)&0xFF)) | ^ ./sfz2pat.l:1567:44: note: in expansion of macro ‘BE_LONG’ 1567 | } | ^ ./sfz2pat.l:1576:46: warning: cast increases required alignment of target type [-Wcast-align] 1576 | aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); | ^ gtim.h:350:27: note: in definition of macro ‘XCHG_SHORT’ 350 | #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) | ^ ./sfz2pat.l:1576:35: note: in expansion of macro ‘BE_SHORT’ 1576 | aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); | ^~~~~~~~ ./sfz2pat.l:1576:46: warning: cast increases required alignment of target type [-Wcast-align] 1576 | aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); | ^ gtim.h:350:45: note: in definition of macro ‘XCHG_SHORT’ 350 | #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) | ^ ./sfz2pat.l:1576:35: note: in expansion of macro ‘BE_SHORT’ 1576 | aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); | ^~~~~~~~ ./sfz2pat.l:1577:53: warning: cast increases required alignment of target type [-Wcast-align] 1577 | samplesize = BE_SHORT(*((int16 *)(thing+6))); | ^ gtim.h:357:27: note: in definition of macro ‘XCHG_LONG’ 357 | # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ | ^ ./sfz2pat.l:1577:43: note: in expansion of macro ‘BE_LONG’ 1577 | samplesize = BE_SHORT(*((int16 *)(thing+6))); | ^~~~~~~ ./sfz2pat.l:1577:53: warning: cast increases required alignment of target type [-Wcast-align] 1577 | samplesize = BE_SHORT(*((int16 *)(thing+6))); | ^ gtim.h:358:26: note: in definition of macro ‘XCHG_LONG’ 358 | (((x)&0xFF00)<<8) | \ | ^ ./sfz2pat.l:1577:43: note: in expansion of macro ‘BE_LONG’ 1577 | samplesize = BE_SHORT(*((int16 *)(thing+6))); | ^~~~~~~ ./sfz2pat.l:1577:53: warning: cast increases required alignment of target type [-Wcast-align] 1577 | samplesize = BE_SHORT(*((int16 *)(thing+6))); | ^ gtim.h:359:26: note: in definition of macro ‘XCHG_LONG’ 359 | (((x)&0xFF0000)>>8) | \ | ^ ./sfz2pat.l:1577:43: note: in expansion of macro ‘BE_LONG’ 1577 | samplesize = BE_SHORT(*((int16 *)(thing+6))); | ^~~~~~~ ./sfz2pat.l:1577:53: warning: cast increases required alignment of target type [-Wcast-align] 1577 | samplesize = BE_SHORT(*((int16 *)(thing+6))); | ^ gtim.h:360:26: note: in definition of macro ‘XCHG_LONG’ 360 | (((x)>>24)&0xFF)) | ^ ./sfz2pat.l:1577:43: note: in expansion of macro ‘BE_LONG’ 1577 | samplesize = BE_SHORT(*((int16 *)(thing+6))); | ^~~~~~~ ./sfz2pat.l:1578:47: warning: cast increases required alignment of target type [-Wcast-align] 1578 | if (samplesize == 8) data_width = 1; | ^ gtim.h:350:27: note: in definition of macro ‘XCHG_SHORT’ 350 | #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) | ^ ./sfz2pat.l:1578:36: note: in expansion of macro ‘BE_SHORT’ 1578 | if (samplesize == 8) data_width = 1; | ^~~~~~~~ ./sfz2pat.l:1578:47: warning: cast increases required alignment of target type [-Wcast-align] 1578 | if (samplesize == 8) data_width = 1; | ^ gtim.h:350:45: note: in definition of macro ‘XCHG_SHORT’ 350 | #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) | ^ ./sfz2pat.l:1578:36: note: in expansion of macro ‘BE_SHORT’ 1578 | if (samplesize == 8) data_width = 1; | ^~~~~~~~ ./sfz2pat.l:1686:26: warning: pointer targets in passing argument 2 of ‘ov_read’ differ in signedness [-Wpointer-sign] 1686 | if (ret == 0) { | ^ | | | 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:1717:46: warning: cast increases required alignment of target type [-Wcast-align] 1717 | | ^ gtim.h:365:20: note: in definition of macro ‘LE_LONG’ 365 | #define LE_LONG(x) x | ^ ./sfz2pat.l:1737:33: warning: cast increases required alignment of target type [-Wcast-align] 1737 | SFZERR | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ ./sfz2pat.l:1741:27: warning: cast increases required alignment of target type [-Wcast-align] 1741 | return 2; | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ ./sfz2pat.l:1744:40: warning: cast increases required alignment of target type [-Wcast-align] 1744 | if (stereo_channels < 1 || stereo_channels > 2) { | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ ./sfz2pat.l:1751:34: warning: cast increases required alignment of target type [-Wcast-align] 1751 | samplesize = LE_SHORT(*((int16 *)(thing + 14))); | ^ gtim.h:365:20: note: in definition of macro ‘LE_LONG’ 365 | #define LE_LONG(x) x | ^ ./sfz2pat.l:1752:35: warning: cast increases required alignment of target type [-Wcast-align] 1752 | switch(samplesize) { | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ ./sfz2pat.l:1764:33: warning: cast increases required alignment of target type [-Wcast-align] 1764 | stereo_channels, | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ ./sfz2pat.l:1805:30: warning: cast increases required alignment of target type [-Wcast-align] 1805 | } | ^ gtim.h:365:20: note: in definition of macro ‘LE_LONG’ 365 | #define LE_LONG(x) x | ^ ./sfz2pat.l:1832:51: warning: cast increases required alignment of target type [-Wcast-align] 1832 | *tmpdta >>= 8; | ^ gtim.h:365:20: note: in definition of macro ‘LE_LONG’ 365 | #define LE_LONG(x) x | ^ ./sfz2pat.l:1924:30: warning: cast increases required alignment of target type [-Wcast-align] 1924 | while (data_len--) | ^ ./sfz2pat.l:1963:34: warning: cast increases required alignment of target type [-Wcast-align] 1963 | int16 *ldta = (int16 *) left_buf; | ^ ./sfz2pat.l:1964:32: warning: cast increases required alignment of target type [-Wcast-align] 1964 | int16 *rdta = (int16 *) right_buf; | ^ ./sfz2pat.l:1965:18: warning: cast increases required alignment of target type [-Wcast-align] 1965 | | ^ ./sfz2pat.l:1974:34: warning: cast increases required alignment of target type [-Wcast-align] 1974 | int32 *ldta = (int32 *) left_buf; | ^ ./sfz2pat.l:1975:32: warning: cast increases required alignment of target type [-Wcast-align] 1975 | int32 *rdta = (int32 *) right_buf; | ^ ./sfz2pat.l:1976:18: warning: cast increases required alignment of target type [-Wcast-align] 1976 | | ^ ./sfz2pat.l:1488:37: warning: variable ‘all_length’ set but not used [-Wunused-but-set-variable] 1488 | int32 aiff_offset=-1, aiff_blocksize=-1, aiff_numsamples=-1, samplesize = 16; | ^~~~~~~~~~ sfz2pat.c: At top level: sfz2pat.c:2115:16: warning: ‘input’ defined but not used [-Wunused-function] 2115 | static int input (void) | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'resample.c' || echo './'`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; | ^~~~ resample.c: In function ‘resample_voice’: resample.c:1235:16: warning: cast increases required alignment of target type [-Wcast-align] 1235 | return (resample_t *)vp->sample->data+ofs; | ^ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'resample32.c' || echo './'`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; | ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'resample_l.c' || echo './'`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; | ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'resample_f.c' || echo './'`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; | ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'resample_s.c' || echo './'`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; | ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'resample_m.c' || echo './'`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; | ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'cfg.c' || echo './'`cfg.c cfg.c:2591:16: warning: ‘input’ defined but not used [-Wunused-function] 2591 | static int input (void) | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'alsa_a.c' || echo './'`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:825:81: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 825 | int snd_pcm_hw_params_get_rate(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir); | ~~~~~~~~~~~~~~^~~ alsa_a.c: In function ‘driver_output_data’: alsa_a.c:578:48: warning: cast increases required alignment of target type [-Wcast-align] 578 | buf = (unsigned char *) more_channels ((signed short *) buf, nframes); | ^ alsa_a.c: In function ‘output_pause’: alsa_a.c:795:1: warning: control reaches end of non-void function [-Wreturn-type] 795 | } | ^ gcc -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'sf2cfg.c' || echo './'`sf2cfg.c gcc -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o sf2cfg sf2cfg.o readsbk.o gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'wav2pat.c' || echo './'`wav2pat.c In file included from wav2pat.c:33: wav2pat.c: In function ‘main’: wav2pat.c:150:28: warning: cast increases required alignment of target type [-Wcast-align] 150 | junklength=LE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:365:20: note: in definition of macro ‘LE_LONG’ 365 | #define LE_LONG(x) x | ^ wav2pat.c:171:26: warning: cast increases required alignment of target type [-Wcast-align] 171 | if (LE_SHORT(*((int16 *)(thing))) != 1) | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ wav2pat.c:175:34: warning: cast increases required alignment of target type [-Wcast-align] 175 | LE_SHORT(*((int16 *)(thing)))); | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ wav2pat.c:178:26: warning: cast increases required alignment of target type [-Wcast-align] 178 | if (LE_SHORT(*((int16 *)(thing + 2))) != 1) | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ wav2pat.c:182:34: warning: cast increases required alignment of target type [-Wcast-align] 182 | LE_SHORT(*((int16 *)(thing + 2)))); | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ wav2pat.c:185:32: warning: cast increases required alignment of target type [-Wcast-align] 185 | samplerate=LE_LONG(*((int32 *)(thing + 4))); | ^ gtim.h:365:20: note: in definition of macro ‘LE_LONG’ 365 | #define LE_LONG(x) x | ^ wav2pat.c:186:29: warning: cast increases required alignment of target type [-Wcast-align] 186 | switch(LE_SHORT(*((int16 *)(thing + 14)))) | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ wav2pat.c:192:34: warning: cast increases required alignment of target type [-Wcast-align] 192 | LE_SHORT(*((int16 *)(thing + 14)))); | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ wav2pat.c:197:33: warning: cast increases required alignment of target type [-Wcast-align] 197 | (LE_SHORT(*((int16 *)(thing + 14)))), | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o wav2pat wav2pat.o rm -f sfz2pat.c flex -osfz2pat.c -Psfz ./sfz2pat.l gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'sfz2pat.c' || echo './'`sfz2pat.c In file included from ./sfz2pat.l:41: ./sfz2pat.l: In function ‘read_sample’: ./sfz2pat.l:1512:38: warning: cast increases required alignment of target type [-Wcast-align] 1512 | all_length=LE_LONG(*((int32 *)(thing))); | ^ gtim.h:365:20: note: in definition of macro ‘LE_LONG’ 365 | #define LE_LONG(x) x | ^ ./sfz2pat.l:1523:38: warning: cast increases required alignment of target type [-Wcast-align] 1523 | all_length=LE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:365:20: note: in definition of macro ‘LE_LONG’ 365 | #define LE_LONG(x) x | ^ ./sfz2pat.l:1537:34: warning: cast increases required alignment of target type [-Wcast-align] 1537 | all_length=LE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:365:20: note: in definition of macro ‘LE_LONG’ 365 | #define LE_LONG(x) x | ^ ./sfz2pat.l:1550:40: warning: cast increases required alignment of target type [-Wcast-align] 1550 | chunk_length=BE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:357:27: note: in definition of macro ‘XCHG_LONG’ 357 | # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ | ^ ./sfz2pat.l:1550:30: note: in expansion of macro ‘BE_LONG’ 1550 | chunk_length=BE_LONG(*((int32 *)(thing+4))); | ^~~~~~~ ./sfz2pat.l:1550:40: warning: cast increases required alignment of target type [-Wcast-align] 1550 | chunk_length=BE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:358:26: note: in definition of macro ‘XCHG_LONG’ 358 | (((x)&0xFF00)<<8) | \ | ^ ./sfz2pat.l:1550:30: note: in expansion of macro ‘BE_LONG’ 1550 | chunk_length=BE_LONG(*((int32 *)(thing+4))); | ^~~~~~~ ./sfz2pat.l:1550:40: warning: cast increases required alignment of target type [-Wcast-align] 1550 | chunk_length=BE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:359:26: note: in definition of macro ‘XCHG_LONG’ 359 | (((x)&0xFF0000)>>8) | \ | ^ ./sfz2pat.l:1550:30: note: in expansion of macro ‘BE_LONG’ 1550 | chunk_length=BE_LONG(*((int32 *)(thing+4))); | ^~~~~~~ ./sfz2pat.l:1550:40: warning: cast increases required alignment of target type [-Wcast-align] 1550 | chunk_length=BE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:360:26: note: in definition of macro ‘XCHG_LONG’ 360 | (((x)>>24)&0xFF)) | ^ ./sfz2pat.l:1550:30: note: in expansion of macro ‘BE_LONG’ 1550 | chunk_length=BE_LONG(*((int32 *)(thing+4))); | ^~~~~~~ ./sfz2pat.l:1565:45: warning: cast increases required alignment of target type [-Wcast-align] 1565 | aiff_offset = BE_LONG(*((int32 *)thing)); | ^ gtim.h:357:27: note: in definition of macro ‘XCHG_LONG’ 357 | # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ | ^ ./sfz2pat.l:1565:35: note: in expansion of macro ‘BE_LONG’ 1565 | aiff_offset = BE_LONG(*((int32 *)thing)); | ^~~~~~~ ./sfz2pat.l:1565:45: warning: cast increases required alignment of target type [-Wcast-align] 1565 | aiff_offset = BE_LONG(*((int32 *)thing)); | ^ gtim.h:358:26: note: in definition of macro ‘XCHG_LONG’ 358 | (((x)&0xFF00)<<8) | \ | ^ ./sfz2pat.l:1565:35: note: in expansion of macro ‘BE_LONG’ 1565 | aiff_offset = BE_LONG(*((int32 *)thing)); | ^~~~~~~ ./sfz2pat.l:1565:45: warning: cast increases required alignment of target type [-Wcast-align] 1565 | aiff_offset = BE_LONG(*((int32 *)thing)); | ^ gtim.h:359:26: note: in definition of macro ‘XCHG_LONG’ 359 | (((x)&0xFF0000)>>8) | \ | ^ ./sfz2pat.l:1565:35: note: in expansion of macro ‘BE_LONG’ 1565 | aiff_offset = BE_LONG(*((int32 *)thing)); | ^~~~~~~ ./sfz2pat.l:1565:45: warning: cast increases required alignment of target type [-Wcast-align] 1565 | aiff_offset = BE_LONG(*((int32 *)thing)); | ^ gtim.h:360:26: note: in definition of macro ‘XCHG_LONG’ 360 | (((x)>>24)&0xFF)) | ^ ./sfz2pat.l:1565:35: note: in expansion of macro ‘BE_LONG’ 1565 | aiff_offset = BE_LONG(*((int32 *)thing)); | ^~~~~~~ ./sfz2pat.l:1566:48: warning: cast increases required alignment of target type [-Wcast-align] 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:357:27: note: in definition of macro ‘XCHG_LONG’ 357 | # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ | ^ ./sfz2pat.l:1566:38: note: in expansion of macro ‘BE_LONG’ 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^~~~~~~ ./sfz2pat.l:1566:48: warning: cast increases required alignment of target type [-Wcast-align] 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:358:26: note: in definition of macro ‘XCHG_LONG’ 358 | (((x)&0xFF00)<<8) | \ | ^ ./sfz2pat.l:1566:38: note: in expansion of macro ‘BE_LONG’ 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^~~~~~~ ./sfz2pat.l:1566:48: warning: cast increases required alignment of target type [-Wcast-align] 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:359:26: note: in definition of macro ‘XCHG_LONG’ 359 | (((x)&0xFF0000)>>8) | \ | ^ ./sfz2pat.l:1566:38: note: in expansion of macro ‘BE_LONG’ 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^~~~~~~ ./sfz2pat.l:1566:48: warning: cast increases required alignment of target type [-Wcast-align] 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:360:26: note: in definition of macro ‘XCHG_LONG’ 360 | (((x)>>24)&0xFF)) | ^ ./sfz2pat.l:1566:38: note: in expansion of macro ‘BE_LONG’ 1566 | aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); | ^~~~~~~ ./sfz2pat.l:1575:50: warning: cast increases required alignment of target type [-Wcast-align] 1575 | stereo_channels = BE_SHORT(*((int16 *)thing)); | ^ gtim.h:350:27: note: in definition of macro ‘XCHG_SHORT’ 350 | #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) | ^ ./sfz2pat.l:1575:39: note: in expansion of macro ‘BE_SHORT’ 1575 | stereo_channels = BE_SHORT(*((int16 *)thing)); | ^~~~~~~~ ./sfz2pat.l:1575:50: warning: cast increases required alignment of target type [-Wcast-align] 1575 | stereo_channels = BE_SHORT(*((int16 *)thing)); | ^ gtim.h:350:45: note: in definition of macro ‘XCHG_SHORT’ 350 | #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) | ^ ./sfz2pat.l:1575:39: note: in expansion of macro ‘BE_SHORT’ 1575 | stereo_channels = BE_SHORT(*((int16 *)thing)); | ^~~~~~~~ ./sfz2pat.l:1576:49: warning: cast increases required alignment of target type [-Wcast-align] 1576 | aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); | ^ gtim.h:357:27: note: in definition of macro ‘XCHG_LONG’ 357 | # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ | ^ ./sfz2pat.l:1576:39: note: in expansion of macro ‘BE_LONG’ 1576 | aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); | ^~~~~~~ ./sfz2pat.l:1576:49: warning: cast increases required alignment of target type [-Wcast-align] 1576 | aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); | ^ gtim.h:358:26: note: in definition of macro ‘XCHG_LONG’ 358 | (((x)&0xFF00)<<8) | \ | ^ ./sfz2pat.l:1576:39: note: in expansion of macro ‘BE_LONG’ 1576 | aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); | ^~~~~~~ ./sfz2pat.l:1576:49: warning: cast increases required alignment of target type [-Wcast-align] 1576 | aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); | ^ gtim.h:359:26: note: in definition of macro ‘XCHG_LONG’ 359 | (((x)&0xFF0000)>>8) | \ | ^ ./sfz2pat.l:1576:39: note: in expansion of macro ‘BE_LONG’ 1576 | aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); | ^~~~~~~ ./sfz2pat.l:1576:49: warning: cast increases required alignment of target type [-Wcast-align] 1576 | aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); | ^ gtim.h:360:26: note: in definition of macro ‘XCHG_LONG’ 360 | (((x)>>24)&0xFF)) | ^ ./sfz2pat.l:1576:39: note: in expansion of macro ‘BE_LONG’ 1576 | aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); | ^~~~~~~ ./sfz2pat.l:1577:45: warning: cast increases required alignment of target type [-Wcast-align] 1577 | samplesize = BE_SHORT(*((int16 *)(thing+6))); | ^ gtim.h:350:27: note: in definition of macro ‘XCHG_SHORT’ 350 | #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) | ^ ./sfz2pat.l:1577:34: note: in expansion of macro ‘BE_SHORT’ 1577 | samplesize = BE_SHORT(*((int16 *)(thing+6))); | ^~~~~~~~ ./sfz2pat.l:1577:45: warning: cast increases required alignment of target type [-Wcast-align] 1577 | samplesize = BE_SHORT(*((int16 *)(thing+6))); | ^ gtim.h:350:45: note: in definition of macro ‘XCHG_SHORT’ 350 | #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) | ^ ./sfz2pat.l:1577:34: note: in expansion of macro ‘BE_SHORT’ 1577 | samplesize = BE_SHORT(*((int16 *)(thing+6))); | ^~~~~~~~ ./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:1716:46: warning: cast increases required alignment of target type [-Wcast-align] 1716 | if (datasize == -1) chunk_length=LE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:365:20: note: in definition of macro ‘LE_LONG’ 365 | #define LE_LONG(x) x | ^ ./sfz2pat.l:1736:26: warning: cast increases required alignment of target type [-Wcast-align] 1736 | if (LE_SHORT(*((int16 *)(thing))) != 1) { | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ ./sfz2pat.l:1740:34: warning: cast increases required alignment of target type [-Wcast-align] 1740 | LE_SHORT(*((int16 *)(thing)))); | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ ./sfz2pat.l:1743:40: warning: cast increases required alignment of target type [-Wcast-align] 1743 | stereo_channels = LE_SHORT(*((int16 *)(thing + 2))); | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ ./sfz2pat.l:1750:34: warning: cast increases required alignment of target type [-Wcast-align] 1750 | samplerate = LE_LONG(*((int32 *)(thing + 4))); | ^ gtim.h:365:20: note: in definition of macro ‘LE_LONG’ 365 | #define LE_LONG(x) x | ^ ./sfz2pat.l:1751:35: warning: cast increases required alignment of target type [-Wcast-align] 1751 | samplesize = LE_SHORT(*((int16 *)(thing + 14))); | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ ./sfz2pat.l:1763:33: warning: cast increases required alignment of target type [-Wcast-align] 1763 | (LE_SHORT(*((int16 *)(thing + 14)))), | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ ./sfz2pat.l:1804:30: warning: cast increases required alignment of target type [-Wcast-align] 1804 | chunk_length=LE_LONG(*((int32 *)(thing+4))); | ^ gtim.h:365:20: note: in definition of macro ‘LE_LONG’ 365 | #define LE_LONG(x) x | ^ ./sfz2pat.l:1850:48: warning: cast increases required alignment of target type [-Wcast-align] 1850 | *tmpdta++ = LE_SHORT(*((int16 *)(cp+t))); | ^ gtim.h:364:21: note: in definition of macro ‘LE_SHORT’ 364 | #define LE_SHORT(x) x | ^ ./sfz2pat.l:1923:30: warning: cast increases required alignment of target type [-Wcast-align] 1923 | int16 *tmpdta = (int16 *) sample_buf; | ^ ./sfz2pat.l:1962:34: warning: cast increases required alignment of target type [-Wcast-align] 1962 | int16 *tmpdta = (int16 *) sample_buf; | ^ ./sfz2pat.l:1963:32: warning: cast increases required alignment of target type [-Wcast-align] 1963 | int16 *ldta = (int16 *) left_buf; | ^ ./sfz2pat.l:1964:32: warning: cast increases required alignment of target type [-Wcast-align] 1964 | int16 *rdta = (int16 *) right_buf; | ^ ./sfz2pat.l:1973:34: warning: cast increases required alignment of target type [-Wcast-align] 1973 | int32 *tmpdta = (int32 *) sample_buf; | ^ ./sfz2pat.l:1974:32: warning: cast increases required alignment of target type [-Wcast-align] 1974 | int32 *ldta = (int32 *) left_buf; | ^ ./sfz2pat.l:1975:32: warning: cast increases required alignment of target type [-Wcast-align] 1975 | int32 *rdta = (int32 *) right_buf; | ^ ./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 | ^ gcc -DDEFAULT_PATH=\"/etc\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o sfz2pat sfz2pat.o tables.o -lvorbisfile -L/usr/lib -lvorbis -lm make[2]: Leaving directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4/src' make[1]: Leaving directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4/src' Making all in utils make[1]: Entering directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4/utils' gcc -DHAVE_CONFIG_H -I. -I. -I../src -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'unsf.c' || echo './'`unsf.c unsf.c: In function ‘grab_soundfont_sample’: unsf.c:1562:8: warning: variable ‘mod_delay’ set but not used [-Wunused-but-set-variable] 1562 | int mod_delay, mod_attack, mod_hold, mod_decay, mod_release, mod_sustain; | ^~~~~~~~~ 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:2083:8: warning: variable ‘global_pzone_index’ set but not used [-Wunused-but-set-variable] 2083 | int global_pzone_index; | ^~~~~~~~~~~~~~~~~~ unsf.c:2081:8: warning: variable ‘global_izone_index’ set but not used [-Wunused-but-set-variable] 2081 | int global_izone_index; | ^~~~~~~~~~~~~~~~~~ unsf.c: In function ‘grab_soundfont_banks’: unsf.c:2522:32: warning: unused variable ‘num’ [-Wunused-variable] 2522 | int pnum, inum, jnum, lnum, num, drum; | ^~~ unsf.c: In function ‘shorten_drum_names’: unsf.c:2790:19: warning: variable ‘velcount’ set but not used [-Wunused-but-set-variable] 2790 | int i, j, velcount, right_patches; | ^~~~~~~~ unsf.c: In function ‘make_patch_files’: unsf.c:3018:18: warning: unused variable ‘rcode’ [-Wunused-variable] 3018 | int i, j, k, rcode, velcount, right_patches; | ^~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unsf.c: At top level: unsf.c:1120:12: warning: ‘key2freq’ defined but not used [-Wunused-function] 1120 | static int key2freq(int note, int cents) | ^~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o unsf unsf.o -lm gcc -DHAVE_CONFIG_H -I. -I. -I../src -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'patinfo.c' || echo './'`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:305:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 305 | if ((patfd = open(argv[optind], O_RDONLY, 0)) == -1) | ^ 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 patinfo.c:267:40: warning: unused variable ‘n’ [-Wunused-variable] 267 | int c, i, j, k, l, n, patfd; | ^ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o patinfo patinfo.o -lm gcc -DHAVE_CONFIG_H -I. -I. -I../src -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'patcat.c' || echo './'`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 patcat.c:314:68: warning: unused variable ‘stereo_count’ [-Wunused-variable] 314 | int sf2flag_left = 0, sf2flag_right = 0, vlayer_count, stereo_count; | ^~~~~~~~~~~~ patcat.c:305:37: warning: unused variable ‘n’ [-Wunused-variable] 305 | int i, j, k, l, n, leftfd, rightfd, stereofd; | ^ patcat.c:305:34: warning: unused variable ‘l’ [-Wunused-variable] 305 | int i, j, k, l, n, leftfd, rightfd, stereofd; | ^ patcat.c:305:31: warning: unused variable ‘k’ [-Wunused-variable] 305 | int i, j, k, l, n, leftfd, rightfd, stereofd; | ^ patcat.c:305:28: warning: unused variable ‘j’ [-Wunused-variable] 305 | int i, j, k, l, n, leftfd, rightfd, stereofd; | ^ patcat.c: At top level: patcat.c:201:12: warning: ‘opt_verbose’ defined but not used [-Wunused-variable] 201 | static int opt_verbose = 0; | ^~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o patcat patcat.o gcc -DHAVE_CONFIG_H -I. -I. -I../src -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'dim.c' || echo './'`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: At top level: dim.c:771:32: warning: missing braces around initializer [-Wmissing-braces] 771 | char *yam_reverb_type[20][4] = { | ^ 772 | /*000 0 */ "NO EFFECT", "", "", "", | { } 773 | /*001 1 */ "HALL1", "HALL2", "", "", | { } 774 | /*002 2 */ "ROOM1", "ROOM2", "", "ROOM3", | { } 775 | /*003 3 */ "STAGE1", "STAGE2", "", "", | { } 776 | /*004 4 */ "PLATE", "", "", "", | { } 777 | /*005 5 */ "NO EFFECT", "", "", "", | { } 778 | /*006 5 */ "NO EFFECT", "", "", "", | { } 779 | /*007 5 */ "NO EFFECT", "", "", "", | { } 780 | /*008 5 */ "NO EFFECT", "", "", "", | { } 781 | /*009 5 */ "NO EFFECT", "", "", "", | { } 782 | /*010 5 */ "NO EFFECT", "", "", "", | { } 783 | /*011 5 */ "NO EFFECT", "", "", "", | { } 784 | /*012 5 */ "NO EFFECT", "", "", "", | { } 785 | /*013 5 */ "NO EFFECT", "", "", "", | { } 786 | /*014 5 */ "NO EFFECT", "", "", "", | { } 787 | /*015 F */ "NO EFFECT", "", "", "", | { } 788 | /*016 10 */ "WHITE ROOM", "", "", "", | { } 789 | /*017 11 */ "TUNNEL", "", "", "", | { } 790 | /*018 12 */ "CANYON", "", "", "", | { } 791 | /*019 13 */ "BASEMENT", "", "", "" | { 792 | }; | } dim.c:794:31: warning: missing braces around initializer [-Wmissing-braces] 794 | char *yam_chorus_type[8][4] = { | ^ 795 | /*065 41 */ "CHORUS1", "CHORUS2", "CHORUS3", "CHORUS4", | { } 796 | /*066 42 */ "CELESTE1", "CELESTE2", "CELESTE3", "CELESTE4", | { } 797 | /*067 43 */ "FLANGER1", "FLANGER2", "FLANGER3", "", | { } 798 | /*068 44 */ "SYMPHONIC", "", "", "", | { } 799 | /*069 45 */ "NO EFFECT", "", "", "", | { } 800 | /*070 46 */ "NO EFFECT", "", "", "", | { } 801 | /*071 47 */ "NO EFFECT", "", "", "", | { } 802 | /*072 48 */ "PHASER", "", "", "" | { 803 | }; | } dim.c:805:35: warning: missing braces around initializer [-Wmissing-braces] 805 | char *yam_variation_type[87][4] = { | ^ 806 | /*013 C */ "NO EFFECT or THRU", "", "", "", | { } 807 | /*001 1 */ "HALL1", "HALL2", "", "", | { } 808 | /*002 2 */ "ROOM1", "ROOM2", "ROOM3", "", | { } 809 | /*003 3 */ "STAGE1", "STAGE2", "", "", | { } 810 | /*004 4 */ "PLATE", "", "", "", | { } 811 | /*005 5 */ "DELAY L,C,R", "", "", "", | { } 812 | /*006 6 */ "DELAY L,R", "", "", "", | { } 813 | /*007 7 */ "ECHO", "", "", "", | { } 814 | /*008 8 */ "CROSS DELAY", "", "", "", | { } 815 | /*009 9 */ "ER1", "ER2", "", "", | { } 816 | /*010 A */ "GATE REVERB", "", "", "", | { } 817 | /*011 B */ "REVERSE GATE", "", "", "", | { } 818 | /*012 C */ "NO EFFECT or THRU", "", "", "", | { } 819 | /*013 C */ "NO EFFECT or THRU", "", "", "", | { } 820 | /*014 C */ "NO EFFECT or THRU", "", "", "", | { } 821 | /*015 C */ "NO EFFECT or THRU", "", "", "", | { } 822 | /*016 C */ "NO EFFECT or THRU", "", "", "", | { } 823 | /*017 C */ "NO EFFECT or THRU", "", "", "", | { } 824 | /*018 C */ "NO EFFECT or THRU", "", "", "", | { } 825 | /*019 13 */ "NO EFFECT or THRU", "", "", "", | { } 826 | /*020 14 */ "KARAOKE1", "KARAOKE2", "KARAOKE3", "", | { } 827 | /*064 40 */ "THRU", "", "", "", | { } 828 | /*065 41 */ "CHORUS1", "CHORUS2", "CHORUS3", "CHORUS4", | { } 829 | /*066 42 */ "CELESTE1", "CELESTE2", "CELESTE3", "CELESTE4", | { } 830 | /*067 43 */ "FLANGER1", "FLANGER2", "FLANGER3", "", | { } 831 | /*068 44 */ "SYMPHONIC", "", "", "", | { } 832 | /*069 45 */ "ROTARY SPEAKER", "", "", "", | { } 833 | /*070 46 */ "TREMOLO", "", "", "", | { } 834 | /*071 47 */ "AUTO PAN", "", "", "", | { } 835 | /*072 48 */ "PHASER1", "", "", "PHASER2", | { } 836 | /*073 49 */ "DISTORTION", "", "", "", | { } 837 | /*074 4A */ "OVER DRIVE", "", "", "", | { } 838 | /*075 4B */ "AMP SIMULATOR", "", "", "", | { } 839 | /*076 4C */ "3-BAND EQ", "", "", "", | { } 840 | /*077 4D */ "2-BAND EQ", "", "", "", | { } 841 | /*078 4E */ "AUTO WAH (LFO)", "", "", "", "", | { } { 842 | /*079 4F */ "THRU", "", "", "", | } { 843 | /*080 50 */ "PITCH CHANGE", "", "", "", | } { 844 | /*081 51 */ "AURAL EXCITER", "", "", "", | } { 845 | /*082 52 */ "TOUCH WAH", "TOUCH WAH+DIST", "", "", | } { 846 | /*083 53 */ "COMPRESSOR", "", "", "", | } { 847 | /*084 54 */ "NOISE GATE", "", "", "", | } { 848 | /*085 55 */ "VOICE CANCEL", "", "", "", "", | } { 849 | /*086 56 - 127 */ "THRU", "", "", "" | } { 850 | }; | } 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:857:37: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 857 | register unsigned char *p = 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() | ^~~~~~~~~ dim.c: In function ‘initfuncs’: dim.c:1127:1: warning: control reaches end of non-void function [-Wreturn-type] 1127 | } | ^ dim.c: In function ‘txt_sysex’: dim.c:893:12: warning: ‘id’ may be used uninitialized [-Wmaybe-uninitialized] 893 | if (id == 0x43 && leng >= 9 && *(p+3) == 0x4c) { | ^ dim.c:856:22: note: ‘id’ was declared here 856 | register int id, n, c; | ^~ gcc -DHAVE_CONFIG_H -I. -I. -I../src -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'midifile.c' || echo './'`midifile.c gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o dim dim.o midifile.o make[1]: Leaving directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4/utils' make[1]: Entering directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UEHeki + umask 022 + cd /builddir/build/BUILD/gt-0.4-build + '[' /builddir/build/BUILD/gt-0.4-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/gt-0.4-build/BUILDROOT ++ dirname /builddir/build/BUILD/gt-0.4-build/BUILDROOT + mkdir -p /builddir/build/BUILD/gt-0.4-build + mkdir /builddir/build/BUILD/gt-0.4-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gt-0.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/gt-0.4-build/BUILDROOT 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4/src' make[2]: Entering directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4/src' /bin/sh ../mkinstalldirs /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/bin mkdir -p -- /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/bin /usr/bin/install -p gt /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/bin/gt /usr/bin/install -p sf2cfg /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/bin/sf2cfg /usr/bin/install -p wav2pat /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/bin/wav2pat /usr/bin/install -p sfz2pat /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/bin/sfz2pat /bin/sh ../mkinstalldirs /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1 mkdir -p -- /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1 /usr/bin/install -p -m 644 ./gt.man /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/gt.1 /usr/bin/install -p -m 644 ./sf2cfg.man /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/sf2cfg.1 /usr/bin/install -p -m 644 ./sfz2pat.man /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/sfz2pat.1 make[2]: Leaving directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4/src' make[1]: Leaving directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4/src' Making install in utils make[1]: Entering directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4/utils' make[2]: Entering directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4/utils' /bin/sh ../mkinstalldirs /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/bin /usr/bin/install -p unsf /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/bin/unsf /usr/bin/install -p patinfo /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/bin/patinfo /usr/bin/install -p patcat /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/bin/patcat /usr/bin/install -p dim /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/bin/dim /bin/sh ../mkinstalldirs /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1 /usr/bin/install -p -m 644 ./unsf.man /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/unsf.1 /usr/bin/install -p -m 644 ./patcat.man /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/patcat.1 /usr/bin/install -p -m 644 ./dim.man /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/dim.1 make[2]: Leaving directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4/utils' make[1]: Leaving directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4/utils' make[1]: Entering directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4' make[2]: Entering directory '/builddir/build/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 '/builddir/build/BUILD/gt-0.4-build/gt-0.4' make[1]: Leaving directory '/builddir/build/BUILD/gt-0.4-build/gt-0.4' + mv /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/bin/dim /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/bin/midi-disasm + mv /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/dim.1 /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/midi-disasm.1 + sed -i s/dim/midi-disasm/g /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/midi-disasm.1 + touch -r utils/midifile.c /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/man/man1/midi-disasm.1 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.4-45.fc41 --unique-debug-suffix -0.4-45.fc41.riscv64 --unique-debug-src-base gt-0.4-45.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/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-45.fc41.riscv64 6326 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/gt-0.4-build/BUILDROOT Scanned 16 directories and 71 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/gt-0.4-build/SPECPARTS/rpm-debuginfo.specpart Processing files: gt-0.4-45.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4bLCOC + umask 022 + cd /builddir/build/BUILD/gt-0.4-build + cd gt-0.4 + DOCDIR=/builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /builddir/build/BUILD/gt-0.4-build/gt-0.4/AUTHORS /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /builddir/build/BUILD/gt-0.4-build/gt-0.4/COPYING /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /builddir/build/BUILD/gt-0.4-build/gt-0.4/ChangeLog /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /builddir/build/BUILD/gt-0.4-build/gt-0.4/FEATURES /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /builddir/build/BUILD/gt-0.4-build/gt-0.4/NEWS /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /builddir/build/BUILD/gt-0.4-build/gt-0.4/README /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /builddir/build/BUILD/gt-0.4-build/gt-0.4/README.banks /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /builddir/build/BUILD/gt-0.4-build/gt-0.4/README.controllers /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /builddir/build/BUILD/gt-0.4-build/gt-0.4/README.timidity /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + cp -pr /builddir/build/BUILD/gt-0.4-build/gt-0.4/README.variationbank /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/gt + RPM_EC=0 ++ jobs -p + exit 0 Provides: gt = 0.4-45.fc41 gt(riscv-64) = 0.4-45.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(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.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libvorbisfile.so.3()(64bit) rtld(GNU_HASH) Processing files: soundfont-utils-0.4-45.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.p4I6Lc + umask 022 + cd /builddir/build/BUILD/gt-0.4-build + cd gt-0.4 + DOCDIR=/builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/soundfont-utils + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/soundfont-utils + cp -pr /builddir/build/BUILD/gt-0.4-build/gt-0.4/COPYING /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/soundfont-utils + cp -pr /builddir/build/BUILD/gt-0.4-build/gt-0.4/utils/README /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/soundfont-utils + cp -pr /builddir/build/BUILD/gt-0.4-build/gt-0.4/utils/README.sf2cfg /builddir/build/BUILD/gt-0.4-build/BUILDROOT/usr/share/doc/soundfont-utils + cp -pr /builddir/build/BUILD/gt-0.4-build/gt-0.4/utils/GUSSF2-SPEC /builddir/build/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/81/0fb1e23180e942f1c924078fdb8862bdb85981 Provides: soundfont-utils = 0.4-45.fc41 soundfont-utils(riscv-64) = 0.4-45.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libvorbisfile.so.3()(64bit) rtld(GNU_HASH) Processing files: gt-debugsource-0.4-45.fc41.riscv64 Provides: gt-debugsource = 0.4-45.fc41 gt-debugsource(riscv-64) = 0.4-45.fc41 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-45.fc41.riscv64 Provides: debuginfo(build-id) = 810fb1e23180e942f1c924078fdb8862bdb85981 gt-debuginfo = 0.4-45.fc41 gt-debuginfo(riscv-64) = 0.4-45.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gt-debugsource(riscv-64) = 0.4-45.fc41 Processing files: soundfont-utils-debuginfo-0.4-45.fc41.riscv64 Provides: debuginfo(build-id) = 0cd7b965a67a8ecae9ff12752b96728a088a79f9 debuginfo(build-id) = 140fc93d06d703175f9914f0812305681d92c911 debuginfo(build-id) = 61f161bef93692d55d1603a549bce28e2707ec68 debuginfo(build-id) = 810fb1e23180e942f1c924078fdb8862bdb85981 debuginfo(build-id) = 85fdc0d4433b0d6cd10c46dd7a97c3eea418e412 debuginfo(build-id) = b23b80f8f2463583c8c56d17042cbe2ac15ed001 debuginfo(build-id) = d64ed5f9ed2cbb56b724200530b65022a266f2ae debuginfo(build-id) = dc4672491a5fdab8dbd23170b1c94a8f84da40ed soundfont-utils-debuginfo = 0.4-45.fc41 soundfont-utils-debuginfo(riscv-64) = 0.4-45.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gt-debugsource(riscv-64) = 0.4-45.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/gt-0.4-build/BUILDROOT Wrote: /builddir/build/RPMS/soundfont-utils-0.4-45.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/gt-0.4-45.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/soundfont-utils-debuginfo-0.4-45.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/gt-debuginfo-0.4-45.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/gt-debugsource-0.4-45.fc41.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.0Hg138 + umask 022 + cd /builddir/build/BUILD/gt-0.4-build + test -d /builddir/build/BUILD/gt-0.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/gt-0.4-build + rm -rf /builddir/build/BUILD/gt-0.4-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/lib/.build-id/81/0fb1e23180e942f1c924078fdb8862bdb85981 Child return code was: 0