Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/gt.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1657304682.390159/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sogdrvhr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sogdrvhr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ccfdd3ccd31841bc8fd6acecf1a262ff', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1657304682.390159/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sogdrvhr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1642636800 Wrote: /builddir/build/SRPMS/gt-0.4-36.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/gt.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1657304682.390159/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sogdrvhr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sogdrvhr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd6f582f36d0040b1965e59bf83ec12e0', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1657304682.390159/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sogdrvhr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1642636800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2kRIY8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gt-0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/gt-0.4-clean.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gt-0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/gt-0.4-noac3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/gt-0.4-compile-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/gt-0.4-optflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/gt-0.4-config-default-velocity-layer.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/gt-0.4-ppc-compile-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/gt-0.4-unsf-bigendian-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/gt-0.4-unsf-tremolo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/gt-0.4-gcc10.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + cp -p src/README README.timidity + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ea14Ac + umask 022 + cd /builddir/build/BUILD + cd gt-0.4 + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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 + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-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 aarch64-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/src' make all-am make[2]: Entering directory '/builddir/build/BUILD/gt-0.4/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -c `test -f 'timidity.c' || echo './'`timidity.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -c `test -f 'common.c' || echo './'`common.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from readmidi.c:23: In function 'fread', inlined from 'read_midi_file' at readmidi.c:2386:2: /usr/include/bits/stdio2.h:303:16: warning: call to '*__fread_chk' declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer [-Wattribute-warning] 303 | return __fread_chk_warn (__ptr, __glibc_objsize0 (__ptr), __size, __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | __stream); | ~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -c `test -f 'mix.c' || echo './'`mix.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -c `test -f 'instrum.c' || echo './'`instrum.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -c `test -f 'tables.c' || echo './'`tables.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -c `test -f 'controls.c' || echo './'`controls.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -c `test -f 'output.c' || echo './'`output.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -c `test -f 'filter.c' || echo './'`filter.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -c `test -f 'wave_a.c' || echo './'`wave_a.c wave_a.c: In function 'update_header': wave_a.c:223:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 223 | write (dpm.fd, &tmp, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ wave_a.c: In function 'open_output': wave_a.c:184:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 184 | write (dpm.fd, RIFFheader, 44); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wave_a.c: In function 'output_data': wave_a.c:254:39: warning: array subscript 4 is above array bounds of 'FLOAT_T[4]' [-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=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -c `test -f 'sndfont.c' || echo './'`sndfont.c sndfont.c: In function 'load_one_side': sndfont.c:608:13: warning: variable 'samplerate_save' set but not used [-Wunused-but-set-variable] 608 | uint32 samplerate_save; | ^~~~~~~~~~~~~~~ sndfont.c: In function 'convert_volume_envelope': sndfont.c:1778:44: warning: parameter 'preset' set but not used [-Wunused-but-set-parameter] 1778 | int banknum , int preset) | ~~~~^~~~~~ sndfont.c: In function 'convert_modulation_envelope': sndfont.c:1897:34: warning: parameter 'banknum' set but not used [-Wunused-but-set-parameter] 1897 | int banknum, int preset) | ~~~~^~~~~~~ At top level: sndfont.c:1098:1: warning: 'intersect_rvec' defined but not used [-Wunused-function] 1098 | intersect_rvec (int lr, int kr) | ^~~~~~~~~~~~~~ sndfont.c:1087:1: warning: 'subset_rvec' defined but not used [-Wunused-function] 1087 | subset_rvec (int lr, int kr) | ^~~~~~~~~~~ sndfont.c:1077:1: warning: 'union_rvec' defined but not used [-Wunused-function] 1077 | union_rvec (int lr, int kr) | ^~~~~~~~~~ sndfont.c:1069:1: warning: 'clear_rvec' defined but not used [-Wunused-function] 1069 | clear_rvec () | ^~~~~~~~~~ sndfont.c:1055:1: warning: 'intersect_vvec' defined but not used [-Wunused-function] 1055 | intersect_vvec (int lr, int vr) | ^~~~~~~~~~~~~~ sndfont.c:1044:1: warning: 'union_vvec' defined but not used [-Wunused-function] 1044 | union_vvec (int lr, int vr) | ^~~~~~~~~~ sndfont.c:1036:1: warning: 'clear_vvec' defined but not used [-Wunused-function] 1036 | clear_vvec () | ^~~~~~~~~~ sndfont.c:1022:1: warning: 'subset_kvec' defined but not used [-Wunused-function] 1022 | subset_kvec (int lr, int kr) | ^~~~~~~~~~~ sndfont.c:1011:1: warning: 'intersect_kvec' defined but not used [-Wunused-function] 1011 | intersect_kvec (int lr, int kr) | ^~~~~~~~~~~~~~ sndfont.c:1000:1: warning: 'union_kvec' defined but not used [-Wunused-function] 1000 | union_kvec (int lr, int kr) | ^~~~~~~~~~ sndfont.c:992:1: warning: 'new_kvec' defined but not used [-Wunused-function] 992 | new_kvec (int lr) | ^~~~~~~~ sndfont.c:984:1: warning: 'clear_kvec' defined but not used [-Wunused-function] 984 | clear_kvec () | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -c `test -f 'sfz.c' || echo './'`sfz.c In file included from sfz.c:2: ./sfz2pat.l: In function 'read_sample': ./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, from sfz.c:2: /usr/include/vorbis/vorbisfile.h:193:46: note: expected 'char *' but argument is of type 'unsigned char *' 193 | extern long ov_read(OggVorbis_File *vf,char *buffer,int length, | ~~~~~~^~~~~~ In file included from sfz.c:2: ./sfz2pat.l: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; | ^~~~~~~~~~ In file included from sfz.c:2: 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=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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; | ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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:54, from alsa_a.c:42: /usr/include/alsa/pcm.h:807:81: note: expected 'unsigned int *' but argument is of type 'int *' 807 | int snd_pcm_hw_params_get_rate(const snd_pcm_hw_params_t *params, unsigned int *val, int *dir); | ~~~~~~~~~~~~~~^~~ alsa_a.c: In function 'output_pause': alsa_a.c:795:1: warning: control reaches end of non-void function [-Wreturn-type] 795 | } | ^ gcc -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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 -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 In function 'fread', inlined from 'read_midi_file' at readmidi.c:2386:2, inlined from 'play_midi_file' at playmidi.c:4363:13, inlined from 'dumb_pass_playing_list' at playmidi.c:4402:10, inlined from 'dumb_pass_playing_list' at playmidi.c:4394:1: /usr/include/bits/stdio2.h:303:16: warning: call to '__fread_chk_warn' declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer [-Wattribute-warning] 303 | return __fread_chk_warn (__ptr, __glibc_objsize0 (__ptr), __size, __n, | ^ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -c `test -f 'sf2cfg.c' || echo './'`sf2cfg.c gcc -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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 -o sf2cfg sf2cfg.o readsbk.o gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -c `test -f 'wav2pat.c' || echo './'`wav2pat.c wav2pat.c: In function 'main': wav2pat.c:255:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 255 | strcpy(point, "Copyleft 1995 EWE&U Conductions and one Retreated Gravi\032"); | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wav2pat.c:26: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ wav2pat.c:267:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 267 | strcpy(point, "Bleahnoise"); /* instrument name */ | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wav2pat.c:26: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ wav2pat.c:279:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 279 | strcpy(point, "bleah"); /* wave name */ | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from wav2pat.c:26: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ wav2pat.c:319:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 319 | write(STDOUT_FILENO, thing, 335); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wav2pat.c:331:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 331 | write(STDOUT_FILENO, thing, c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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 -o wav2pat wav2pat.o gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -c `test -f 'sfz2pat.c' || echo './'`sfz2pat.c ./sfz2pat.l: In function 'read_sample': ./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: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.l: In function 'make_pat': ./sfz2pat.l:2254:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2254 | | ^ ./sfz2pat.l:2258:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2258 | else | ^~~ ./sfz2pat.l:2260:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2260 | | ^ At top level: sfz2pat.c:2115:16: warning: 'input' defined but not used [-Wunused-function] 2115 | static int input (void) | ^~~~~ gcc -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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 -o sfz2pat sfz2pat.o tables.o -lvorbisfile -L/usr/lib -lvorbis -lm make[2]: Leaving directory '/builddir/build/BUILD/gt-0.4/src' make[1]: Leaving directory '/builddir/build/BUILD/gt-0.4/src' Making all in utils make[1]: Entering directory '/builddir/build/BUILD/gt-0.4/utils' gcc -DHAVE_CONFIG_H -I. -I. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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 -o unsf unsf.o -lm gcc -DHAVE_CONFIG_H -I. -I. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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 -o patinfo patinfo.o -lm gcc -DHAVE_CONFIG_H -I. -I. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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; | ^ At top level: patcat.c:201:12: warning: 'opt_verbose' defined but not used [-Wunused-variable] 201 | static int opt_verbose = 0; | ^~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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 -o patcat patcat.o gcc -DHAVE_CONFIG_H -I. -I. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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:16: warning: 'id' may be used uninitialized in this function [-Wmaybe-uninitialized] 893 | if (id == 0x43 && leng >= 9 && *(p+3) == 0x4c) { | ~~~^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -c `test -f 'midifile.c' || echo './'`midifile.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -fsigned-char -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 -o dim dim.o midifile.o make[1]: Leaving directory '/builddir/build/BUILD/gt-0.4/utils' make[1]: Entering directory '/builddir/build/BUILD/gt-0.4' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/gt-0.4' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cfyVJW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64 + cd gt-0.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/gt-0.4/src' make[2]: Entering directory '/builddir/build/BUILD/gt-0.4/src' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin mkdir -p -- /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin /usr/bin/install -p gt /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/gt /usr/bin/install -p sf2cfg /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/sf2cfg /usr/bin/install -p wav2pat /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/wav2pat /usr/bin/install -p sfz2pat /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/sfz2pat /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/man/man1 mkdir -p -- /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/man/man1 /usr/bin/install -p -m 644 ./gt.man /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/man/man1/gt.1 /usr/bin/install -p -m 644 ./sf2cfg.man /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/man/man1/sf2cfg.1 /usr/bin/install -p -m 644 ./sfz2pat.man /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/man/man1/sfz2pat.1 make[2]: Leaving directory '/builddir/build/BUILD/gt-0.4/src' make[1]: Leaving directory '/builddir/build/BUILD/gt-0.4/src' Making install in utils make[1]: Entering directory '/builddir/build/BUILD/gt-0.4/utils' make[2]: Entering directory '/builddir/build/BUILD/gt-0.4/utils' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin /usr/bin/install -p unsf /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/unsf /usr/bin/install -p patinfo /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/patinfo /usr/bin/install -p patcat /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/patcat /usr/bin/install -p dim /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/dim /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/man/man1 /usr/bin/install -p -m 644 ./unsf.man /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/man/man1/unsf.1 /usr/bin/install -p -m 644 ./patcat.man /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/man/man1/patcat.1 /usr/bin/install -p -m 644 ./dim.man /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/man/man1/dim.1 make[2]: Leaving directory '/builddir/build/BUILD/gt-0.4/utils' make[1]: Leaving directory '/builddir/build/BUILD/gt-0.4/utils' make[1]: Entering directory '/builddir/build/BUILD/gt-0.4' make[2]: Entering directory '/builddir/build/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' make[1]: Leaving directory '/builddir/build/BUILD/gt-0.4' + mv /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/dim /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/midi-disasm + mv /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/man/man1/dim.1 /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/man/man1/midi-disasm.1 + sed -i s/dim/midi-disasm/g /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/man/man1/midi-disasm.1 + touch -r utils/midifile.c /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/man/man1/midi-disasm.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.4-36.el9 --unique-debug-suffix -0.4-36.el9.aarch64 --unique-debug-src-base gt-0.4-36.el9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/gt-0.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/patcat explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/midi-disasm explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/gt explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/patinfo extracting debug info from /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/patinfo extracting debug info from /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/gt extracting debug info from /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/patcat extracting debug info from /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/midi-disasm explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/sfz2pat explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/sf2cfg explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/unsf extracting debug info from /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/sf2cfg extracting debug info from /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/sfz2pat extracting debug info from /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/unsf explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/wav2pat extracting debug info from /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/bin/wav2pat original debug info size: 1456kB, size after compression: 1336kB /usr/lib/rpm/sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. 6312 blocks + /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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: gt-0.4-36.el9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CAlpCB + umask 022 + cd /builddir/build/BUILD + cd gt-0.4 + DOCDIR=/builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/doc/gt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/doc/gt + cp -pr AUTHORS /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/doc/gt + cp -pr COPYING /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/doc/gt + cp -pr ChangeLog /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/doc/gt + cp -pr FEATURES /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/doc/gt + cp -pr NEWS /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/doc/gt + cp -pr README README.banks README.controllers README.timidity README.variationbank /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/doc/gt + RPM_EC=0 ++ jobs -p + exit 0 Provides: gt = 0.4-36.el9 gt(aarch-64) = 0.4-36.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libasound.so.2()(64bit) libasound.so.2(ALSA_0.9)(64bit) libasound.so.2(ALSA_0.9.0rc4)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libvorbisfile.so.3()(64bit) rtld(GNU_HASH) Processing files: soundfont-utils-0.4-36.el9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lHcsiP + umask 022 + cd /builddir/build/BUILD + cd gt-0.4 + DOCDIR=/builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/doc/soundfont-utils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/doc/soundfont-utils + cp -pr COPYING /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/doc/soundfont-utils + cp -pr utils/README utils/README.sf2cfg /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/doc/soundfont-utils + cp -pr utils/GUSSF2-SPEC /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64/usr/share/doc/soundfont-utils + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/lib/.build-id/77/7143530bb03d8e8cc95c49a1abcd932c957ce0 Provides: soundfont-utils = 0.4-36.el9 soundfont-utils(aarch-64) = 0.4-36.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libvorbisfile.so.3()(64bit) rtld(GNU_HASH) Processing files: gt-debugsource-0.4-36.el9.aarch64 Provides: gt-debugsource = 0.4-36.el9 gt-debugsource(aarch-64) = 0.4-36.el9 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-36.el9.aarch64 Provides: debuginfo(build-id) = 777143530bb03d8e8cc95c49a1abcd932c957ce0 gt-debuginfo = 0.4-36.el9 gt-debuginfo(aarch-64) = 0.4-36.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gt-debugsource(aarch-64) = 0.4-36.el9 Processing files: soundfont-utils-debuginfo-0.4-36.el9.aarch64 Provides: debuginfo(build-id) = 07ddaa8418843b7df4bf3e14ea85e6c580557073 debuginfo(build-id) = 34159d62ead751c0146f3e16cdedd1399c37c1ff debuginfo(build-id) = 3ee89ac5f21cf17583a7c5d9810ed9d0a3c3830d debuginfo(build-id) = 62eb5e3af129bd2970562ec91510872a6f2bd2ad debuginfo(build-id) = 777143530bb03d8e8cc95c49a1abcd932c957ce0 debuginfo(build-id) = 88b13750c78c16eac845283630052a70bb827447 debuginfo(build-id) = 8e5292fc16dc58c9309d9e3c5ee0443fbce69fc8 debuginfo(build-id) = fc104e5ebe51f54be8a8ced7c54bc34fbb0f16d1 soundfont-utils-debuginfo = 0.4-36.el9 soundfont-utils-debuginfo(aarch-64) = 0.4-36.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gt-debugsource(aarch-64) = 0.4-36.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64 Wrote: /builddir/build/RPMS/soundfont-utils-0.4-36.el9.aarch64.rpm Wrote: /builddir/build/RPMS/gt-0.4-36.el9.aarch64.rpm Wrote: /builddir/build/RPMS/gt-debuginfo-0.4-36.el9.aarch64.rpm Wrote: /builddir/build/RPMS/soundfont-utils-debuginfo-0.4-36.el9.aarch64.rpm Wrote: /builddir/build/RPMS/gt-debugsource-0.4-36.el9.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2gttiT + umask 022 + cd /builddir/build/BUILD + cd gt-0.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gt-0.4-36.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0