+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/gt.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2XFyZ8 + 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 . + echo 'Patch #0 (gt-0.4-noac3.patch):' Patch #0 (gt-0.4-noac3.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/Makefile.in patching file src/Makefile.am patching file src/output.c + echo 'Patch #1 (gt-0.4-compile-fix.patch):' Patch #1 (gt-0.4-compile-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/instrum.c + echo 'Patch #2 (gt-0.4-optflags.patch):' Patch #2 (gt-0.4-optflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/Makefile.in patching file src/Makefile.am + echo 'Patch #3 (gt-0.4-config-default-velocity-layer.patch):' Patch #3 (gt-0.4-config-default-velocity-layer.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file utils/unsf.c patching file utils/unsf.man + echo 'Patch #4 (gt-0.4-ppc-compile-fix.patch):' Patch #4 (gt-0.4-ppc-compile-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/sfz2pat.c patching file src/sfz2pat.l + echo 'Patch #5 (gt-0.4-unsf-bigendian-fix.patch):' Patch #5 (gt-0.4-unsf-bigendian-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file utils/unsf.c + echo 'Patch #6 (gt-0.4-unsf-tremolo.patch):' Patch #6 (gt-0.4-unsf-tremolo.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file utils/unsf.c + cp -p src/README README.timidity + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cH5nJH + umask 022 + cd /builddir/build/BUILD + cd gt-0.4 + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./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... no checking for 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' cd .. && \ /bin/sh /builddir/build/BUILD/gt-0.4/missing --run automake-1.7 --gnu src/Makefile /builddir/build/BUILD/gt-0.4/missing: line 46: automake-1.7: command not found WARNING: `automake-1.7' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.ac'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd .. && /bin/sh ./config.status src/Makefile depfiles config.status: creating src/Makefile config.status: executing depfiles commands 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -c `test -f 'timidity.c' || echo './'`timidity.c timidity.c: In function 'main': timidity.c:526:19: warning: 'tmpi32' may be used uninitialized in this function [-Wmaybe-uninitialized] default_program = tmpi32; ~~~~~~~~~~~~~~~~^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -c `test -f 'readmidi.c' || echo './'`readmidi.c readmidi.c: In function 'read_midi_file': readmidi.c:2386:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (tmp, 1, 12, fp); ^~~~~~~~~~~~~~~~~~~~~~ readmidi.c: In function 'read_midi_event': readmidi.c:1380:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&midi_port_number, 1, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from readmidi.c:23: In function 'fread', inlined from 'read_midi_file' at readmidi.c:2386:2: /usr/include/bits/stdio2.h:295:9: warning: call to '__fread_chk_warn' declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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] int lfo_frequency, lfo_depth, chorus_feedback; ^~~~~~~~~~~~~~~ playmidi.c:1033:28: warning: variable 'lfo_depth' set but not used [-Wunused-but-set-variable] int lfo_frequency, lfo_depth, chorus_feedback; ^~~~~~~~~ playmidi.c:1033:13: warning: variable 'lfo_frequency' set but not used [-Wunused-but-set-variable] int lfo_frequency, lfo_depth, chorus_feedback; ^~~~~~~~~~~~~ playmidi.c:1026:48: warning: variable 'milli' set but not used [-Wunused-but-set-variable] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -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] tmplong = *((int32 *)(tmp + tmpindex)); \ ^ instrum.c:1019:3: note: in expansion of macro 'READ_SPLEN' READ_SPLEN (sp->data_length); ^~~~~~~~~~ instrum.c:954:19: warning: cast increases required alignment of target type [-Wcast-align] tmplong = *((int32 *)(tmp + tmpindex)); \ ^ instrum.c:1020:3: note: in expansion of macro 'READ_SPLEN' READ_SPLEN (sp->loop_start); ^~~~~~~~~~ instrum.c:954:19: warning: cast increases required alignment of target type [-Wcast-align] tmplong = *((int32 *)(tmp + tmpindex)); \ ^ instrum.c:1021:3: note: in expansion of macro 'READ_SPLEN' READ_SPLEN (sp->loop_end); ^~~~~~~~~~ instrum.c:946:20: warning: cast increases required alignment of target type [-Wcast-align] tmpshort = *((uint16 *)(tmp + tmpindex)); \ ^ instrum.c:1022:3: note: in expansion of macro 'READ_SHORT' READ_SHORT (sp->sample_rate); ^~~~~~~~~~ instrum.c:950:19: warning: cast increases required alignment of target type [-Wcast-align] tmplong = *((int32 *)(tmp + tmpindex)); \ ^ instrum.c:1023:3: note: in expansion of macro 'READ_LONG' READ_LONG (sp->low_freq); ^~~~~~~~~ instrum.c:950:19: warning: cast increases required alignment of target type [-Wcast-align] tmplong = *((int32 *)(tmp + tmpindex)); \ ^ instrum.c:1024:3: note: in expansion of macro 'READ_LONG' READ_LONG (sp->high_freq); ^~~~~~~~~ instrum.c:950:19: warning: cast increases required alignment of target type [-Wcast-align] tmplong = *((int32 *)(tmp + tmpindex)); \ ^ instrum.c:1025:3: note: in expansion of macro 'READ_LONG' READ_LONG (sp->root_freq); ^~~~~~~~~ instrum.c:946:20: warning: cast increases required alignment of target type [-Wcast-align] tmpshort = *((uint16 *)(tmp + tmpindex)); \ ^ instrum.c:1102:3: note: in expansion of macro 'READ_SHORT' READ_SHORT (sp->freq_center); ^~~~~~~~~~ instrum.c:946:20: warning: cast increases required alignment of target type [-Wcast-align] tmpshort = *((uint16 *)(tmp + tmpindex)); \ ^ instrum.c:1103:3: note: in expansion of macro 'READ_SHORT' READ_SHORT (sp->freq_scale); ^~~~~~~~~~ instrum.c:946:20: warning: cast increases required alignment of target type [-Wcast-align] tmpshort = *((uint16 *)(tmp + tmpindex)); \ ^ instrum.c:1106:7: note: in expansion of macro 'READ_SHORT' READ_SHORT (sample_volume); ^~~~~~~~~~ instrum.c:946:20: warning: cast increases required alignment of target type [-Wcast-align] tmpshort = *((uint16 *)(tmp + tmpindex)); \ ^ instrum.c:1138:7: note: in expansion of macro 'READ_SHORT' READ_SHORT (tmpshort); ^~~~~~~~~~ instrum.c:946:20: warning: cast increases required alignment of target type [-Wcast-align] tmpshort = *((uint16 *)(tmp + tmpindex)); \ ^ instrum.c:1142:7: note: in expansion of macro 'READ_SHORT' READ_SHORT (tmpshort); ^~~~~~~~~~ instrum.c:946:20: warning: cast increases required alignment of target type [-Wcast-align] tmpshort = *((uint16 *)(tmp + tmpindex)); \ ^ instrum.c:1155:7: note: in expansion of macro 'READ_SHORT' READ_SHORT (tmpshort); ^~~~~~~~~~ instrum.c:1334:14: warning: cast increases required alignment of target type [-Wcast-align] sp->data = (sample_t *)(whole_file + whole_file_offset); ^ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -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] *((int *) (RIFFheader + 24)) = LE_LONG (dpm.rate); ^ wave_a.c:178:7: warning: cast increases required alignment of target type [-Wcast-align] *((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] 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] write (dpm.fd, RIFFheader, 44); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wave_a.c: In function 'output_data': wave_a.c:254:34: warning: array subscript is above array bounds [-Warray-bounds] double b1 = butterworth_q0[1][4]; ~~~~~~~~~~~~~~~~~^~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -c `test -f 'sndfont.c' || echo './'`sndfont.c sndfont.c: In function 'load_one_side': sndfont.c:620:21: warning: cast increases required alignment of target type [-Wcast-align] sample->data = (sample_t *) (rec->contents + sp->startsample); ^ sndfont.c:608:13: warning: variable 'samplerate_save' set but not used [-Wunused-but-set-variable] uint32 samplerate_save; ^~~~~~~~~~~~~~~ sndfont.c: In function 'convert_volume_envelope': sndfont.c:1778:23: warning: parameter 'preset' set but not used [-Wunused-but-set-parameter] int banknum , int preset) ^~~~~~ sndfont.c: In function 'convert_modulation_envelope': sndfont.c:1897:13: warning: parameter 'banknum' set but not used [-Wunused-but-set-parameter] int banknum, int preset) ^~~~~~~ At top level: sndfont.c:1098:1: warning: 'intersect_rvec' defined but not used [-Wunused-function] intersect_rvec (int lr, int kr) ^~~~~~~~~~~~~~ sndfont.c:1087:1: warning: 'subset_rvec' defined but not used [-Wunused-function] subset_rvec (int lr, int kr) ^~~~~~~~~~~ sndfont.c:1077:1: warning: 'union_rvec' defined but not used [-Wunused-function] union_rvec (int lr, int kr) ^~~~~~~~~~ sndfont.c:1069:1: warning: 'clear_rvec' defined but not used [-Wunused-function] clear_rvec () ^~~~~~~~~~ sndfont.c:1055:1: warning: 'intersect_vvec' defined but not used [-Wunused-function] intersect_vvec (int lr, int vr) ^~~~~~~~~~~~~~ sndfont.c:1044:1: warning: 'union_vvec' defined but not used [-Wunused-function] union_vvec (int lr, int vr) ^~~~~~~~~~ sndfont.c:1036:1: warning: 'clear_vvec' defined but not used [-Wunused-function] clear_vvec () ^~~~~~~~~~ sndfont.c:1022:1: warning: 'subset_kvec' defined but not used [-Wunused-function] subset_kvec (int lr, int kr) ^~~~~~~~~~~ sndfont.c:1011:1: warning: 'intersect_kvec' defined but not used [-Wunused-function] intersect_kvec (int lr, int kr) ^~~~~~~~~~~~~~ sndfont.c:1000:1: warning: 'union_kvec' defined but not used [-Wunused-function] union_kvec (int lr, int kr) ^~~~~~~~~~ sndfont.c:992:1: warning: 'new_kvec' defined but not used [-Wunused-function] new_kvec (int lr) ^~~~~~~~ sndfont.c:984:1: warning: 'clear_kvec' defined but not used [-Wunused-function] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] READDW (&sf->sbkh.size, fd); ^ readsbk.c:28:1: note: expected 'uint32 * {aka unsigned int *}' but argument is of type 'int32 * {aka int *}' READDW (uint32 *vp, FILE * fd) ^~~~~~ readsbk.c:153:14: warning: pointer targets in passing argument 1 of 'READDW' differ in signedness [-Wpointer-sign] READDW (&chunk.size, fd); ^ readsbk.c:28:1: note: expected 'uint32 * {aka unsigned int *}' but argument is of type 'int32 * {aka int *}' READDW (uint32 *vp, FILE * fd) ^~~~~~ readsbk.c:64:24: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define READID(var,fd) fread(var, 1, 4, fd) ^~~~~~~~~~~~~~~~~~~~ readsbk.c:144:5: note: in expansion of macro 'READID' READID (sf->sbkh.riff, fd); ^~~~~~ readsbk.c:64:24: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define READID(var,fd) fread(var, 1, 4, fd) ^~~~~~~~~~~~~~~~~~~~ readsbk.c:146:5: note: in expansion of macro 'READID' READID (sf->sbkh.sfbk, fd); ^~~~~~ readsbk.c:64:24: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define READID(var,fd) fread(var, 1, 4, fd) ^~~~~~~~~~~~~~~~~~~~ readsbk.c:150:2: note: in expansion of macro 'READID' READID (chunk.id, fd); ^~~~~~ readsbk.c:64:24: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define READID(var,fd) fread(var, 1, 4, fd) ^~~~~~~~~~~~~~~~~~~~ readsbk.c:154:6: note: in expansion of macro 'READID' 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] #define READSTR(var,fd) fread(var, 20, 1, fd) ^~~~~~~~~~~~~~~~~~~~~ readsbk.c:252:2: note: in expansion of macro 'READSTR' 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] #define READSTR(var,fd) fread(var, 20, 1, fd) ^~~~~~~~~~~~~~~~~~~~~ readsbk.c:264:2: note: in expansion of macro 'READSTR' READSTR (sf->presethdr[i].name, fd); ^~~~~~~ readsbk.c:68:35: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define SKIPDW(fd) {uint32 dummy; fread(&dummy, 4, 1, fd);} ^~~~~~~~~~~~~~~~~~~~~~~ readsbk.c:270:2: note: in expansion of macro 'SKIPDW' SKIPDW (fd); /* lib */ ^~~~~~ readsbk.c:68:35: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define SKIPDW(fd) {uint32 dummy; fread(&dummy, 4, 1, fd);} ^~~~~~~~~~~~~~~~~~~~~~~ readsbk.c:271:2: note: in expansion of macro 'SKIPDW' SKIPDW (fd); /* genre */ ^~~~~~ readsbk.c:68:35: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define SKIPDW(fd) {uint32 dummy; fread(&dummy, 4, 1, fd);} ^~~~~~~~~~~~~~~~~~~~~~~ readsbk.c:272:2: note: in expansion of macro 'SKIPDW' 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] #define READSTR(var,fd) fread(var, 20, 1, fd) ^~~~~~~~~~~~~~~~~~~~~ readsbk.c:284:2: note: in expansion of macro 'READSTR' READSTR (sf->insthdr[i].name, fd); ^~~~~~~ readsbk.c: In function 'load_bag': readsbk.c:67:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define SKIPW(fd) {uint16 dummy; fread(&dummy, 2, 1, fd);} ^~~~~~~~~~~~~~~~~~~~~~~ readsbk.c:301:2: note: in expansion of macro 'SKIPW' 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] #define READSTR(var,fd) fread(var, 20, 1, fd) ^~~~~~~~~~~~~~~~~~~~~ readsbk.c:344:6: note: in expansion of macro 'READSTR' READSTR (sf->samplenames[i].name, fd); ^~~~~~~ readsbk.c:65:23: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define READB(var,fd) fread(var, 1, 1, fd) ^~~~~~~~~~~~~~~~~~~~ readsbk.c:351:6: note: in expansion of macro 'READB' READB (&sf->sampleinfo[i].originalPitch, fd); ^~~~~ readsbk.c:65:23: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define READB(var,fd) fread(var, 1, 1, fd) ^~~~~~~~~~~~~~~~~~~~ readsbk.c:352:6: note: in expansion of macro 'READB' 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -c `test -f 'sfz.c' || echo './'`sfz.c In file included from sfz.c:2:0: ./sfz2pat.l: In function 'load_sfz_instrument': ./sfz2pat.l:1458:19: warning: cast increases required alignment of target type [-Wcast-align] else sp->data = (sample_t *)(left_buf + region_start * data_width); ^ ./sfz2pat.l:1459:19: warning: cast increases required alignment of target type [-Wcast-align] } ^ ./sfz2pat.l:1465:19: warning: cast increases required alignment of target type [-Wcast-align] else sp->data = (sample_t *)(right_buf + region_start * data_width); ^ ./sfz2pat.l:1466:19: warning: cast increases required alignment of target type [-Wcast-align] } ^ In file included from ./sfz2pat.l:41:0, from sfz.c:2: ./sfz2pat.l: In function 'read_sample': ./sfz2pat.l:1513:24: warning: cast increases required alignment of target type [-Wcast-align] for (i = 0; i < 4; i++) thing[i] = thing[i+8]; ^ gtim.h:365:20: note: in definition of macro 'LE_LONG' #define LE_LONG(x) x ^ ./sfz2pat.l:1524:24: warning: cast increases required alignment of target type [-Wcast-align] if (memcmp(thing+8, "WAVE", 4)) { ^ gtim.h:365:20: note: in definition of macro 'LE_LONG' #define LE_LONG(x) x ^ ./sfz2pat.l:1538:27: warning: cast increases required alignment of target type [-Wcast-align] if (memcmp(thing+8, "AIFF", 4)) { ^ gtim.h:365:20: note: in definition of macro 'LE_LONG' #define LE_LONG(x) x ^ ./sfz2pat.l:1551:32: warning: cast increases required alignment of target type [-Wcast-align] if (!chunk_length) break; ^ gtim.h:357:27: note: in definition of macro 'XCHG_LONG' # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ ^ ./sfz2pat.l:1551:22: note: in expansion of macro 'BE_LONG' if (!chunk_length) break; ^~~~~~ ./sfz2pat.l:1551:32: warning: cast increases required alignment of target type [-Wcast-align] if (!chunk_length) break; ^ gtim.h:358:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF00)<<8) | \ ^ ./sfz2pat.l:1551:22: note: in expansion of macro 'BE_LONG' if (!chunk_length) break; ^~~~~~ ./sfz2pat.l:1551:32: warning: cast increases required alignment of target type [-Wcast-align] if (!chunk_length) break; ^ gtim.h:359:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF0000)>>8) | \ ^ ./sfz2pat.l:1551:22: note: in expansion of macro 'BE_LONG' if (!chunk_length) break; ^~~~~~ ./sfz2pat.l:1551:32: warning: cast increases required alignment of target type [-Wcast-align] if (!chunk_length) break; ^ gtim.h:360:12: note: in definition of macro 'XCHG_LONG' (((x)>>24)&0xFF)) ^ ./sfz2pat.l:1551:22: note: in expansion of macro 'BE_LONG' if (!chunk_length) break; ^~~~~~ ./sfz2pat.l:1566:37: warning: cast increases required alignment of target type [-Wcast-align] aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^ gtim.h:357:27: note: in definition of macro 'XCHG_LONG' # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ ^ ./sfz2pat.l:1566:27: note: in expansion of macro 'BE_LONG' aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^~~~~~~ ./sfz2pat.l:1566:37: warning: cast increases required alignment of target type [-Wcast-align] aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^ gtim.h:358:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF00)<<8) | \ ^ ./sfz2pat.l:1566:27: note: in expansion of macro 'BE_LONG' aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^~~~~~~ ./sfz2pat.l:1566:37: warning: cast increases required alignment of target type [-Wcast-align] aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^ gtim.h:359:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF0000)>>8) | \ ^ ./sfz2pat.l:1566:27: note: in expansion of macro 'BE_LONG' aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^~~~~~~ ./sfz2pat.l:1566:37: warning: cast increases required alignment of target type [-Wcast-align] aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^ gtim.h:360:12: note: in definition of macro 'XCHG_LONG' (((x)>>24)&0xFF)) ^ ./sfz2pat.l:1566:27: note: in expansion of macro 'BE_LONG' aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^~~~~~~ ./sfz2pat.l:1567:40: warning: cast increases required alignment of target type [-Wcast-align] } ^ gtim.h:357:27: note: in definition of macro 'XCHG_LONG' # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ ^ ./sfz2pat.l:1567:30: note: in expansion of macro 'BE_LONG' } ^ ./sfz2pat.l:1567:40: warning: cast increases required alignment of target type [-Wcast-align] } ^ gtim.h:358:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF00)<<8) | \ ^ ./sfz2pat.l:1567:30: note: in expansion of macro 'BE_LONG' } ^ ./sfz2pat.l:1567:40: warning: cast increases required alignment of target type [-Wcast-align] } ^ gtim.h:359:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF0000)>>8) | \ ^ ./sfz2pat.l:1567:30: note: in expansion of macro 'BE_LONG' } ^ ./sfz2pat.l:1567:40: warning: cast increases required alignment of target type [-Wcast-align] } ^ gtim.h:360:12: note: in definition of macro 'XCHG_LONG' (((x)>>24)&0xFF)) ^ ./sfz2pat.l:1567:30: note: in expansion of macro 'BE_LONG' } ^ ./sfz2pat.l:1576:38: warning: cast increases required alignment of target type [-Wcast-align] aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); ^ gtim.h:350:27: note: in definition of macro 'XCHG_SHORT' #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) ^ ./sfz2pat.l:1576:27: note: in expansion of macro 'BE_SHORT' aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); ^~~~~~~~ ./sfz2pat.l:1576:38: warning: cast increases required alignment of target type [-Wcast-align] aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); ^ gtim.h:350:45: note: in definition of macro 'XCHG_SHORT' #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) ^ ./sfz2pat.l:1576:27: note: in expansion of macro 'BE_SHORT' aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); ^~~~~~~~ ./sfz2pat.l:1577:41: warning: cast increases required alignment of target type [-Wcast-align] samplesize = BE_SHORT(*((int16 *)(thing+6))); ^ gtim.h:357:27: note: in definition of macro 'XCHG_LONG' # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ ^ ./sfz2pat.l:1577:31: note: in expansion of macro 'BE_LONG' samplesize = BE_SHORT(*((int16 *)(thing+6))); ^~~~~~~ ./sfz2pat.l:1577:41: warning: cast increases required alignment of target type [-Wcast-align] samplesize = BE_SHORT(*((int16 *)(thing+6))); ^ gtim.h:358:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF00)<<8) | \ ^ ./sfz2pat.l:1577:31: note: in expansion of macro 'BE_LONG' samplesize = BE_SHORT(*((int16 *)(thing+6))); ^~~~~~~ ./sfz2pat.l:1577:41: warning: cast increases required alignment of target type [-Wcast-align] samplesize = BE_SHORT(*((int16 *)(thing+6))); ^ gtim.h:359:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF0000)>>8) | \ ^ ./sfz2pat.l:1577:31: note: in expansion of macro 'BE_LONG' samplesize = BE_SHORT(*((int16 *)(thing+6))); ^~~~~~~ ./sfz2pat.l:1577:41: warning: cast increases required alignment of target type [-Wcast-align] samplesize = BE_SHORT(*((int16 *)(thing+6))); ^ gtim.h:360:12: note: in definition of macro 'XCHG_LONG' (((x)>>24)&0xFF)) ^ ./sfz2pat.l:1577:31: note: in expansion of macro 'BE_LONG' samplesize = BE_SHORT(*((int16 *)(thing+6))); ^~~~~~~ ./sfz2pat.l:1578:33: warning: cast increases required alignment of target type [-Wcast-align] if (samplesize == 8) data_width = 1; ^ gtim.h:350:27: note: in definition of macro 'XCHG_SHORT' #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) ^ ./sfz2pat.l:1578:22: note: in expansion of macro 'BE_SHORT' if (samplesize == 8) data_width = 1; ^~~~~~~~ ./sfz2pat.l:1578:33: warning: cast increases required alignment of target type [-Wcast-align] if (samplesize == 8) data_width = 1; ^ gtim.h:350:45: note: in definition of macro 'XCHG_SHORT' #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) ^ ./sfz2pat.l:1578:22: note: in expansion of macro 'BE_SHORT' if (samplesize == 8) data_width = 1; ^~~~~~~~ In file included from sfz.c:2:0: ./sfz2pat.l:1686:26: warning: pointer targets in passing argument 2 of 'ov_read' differ in signedness [-Wpointer-sign] if (ret == 0) { ^ In file included from ./sfz2pat.l:44:0, from sfz.c:2: /usr/include/vorbis/vorbisfile.h:194:13: note: expected 'char *' but argument is of type 'unsigned char *' extern long ov_read(OggVorbis_File *vf,char *buffer,int length, ^~~~~~~ In file included from ./sfz2pat.l:41:0, from sfz.c:2: ./sfz2pat.l:1717:46: warning: cast increases required alignment of target type [-Wcast-align] ^ gtim.h:365:20: note: in definition of macro 'LE_LONG' #define LE_LONG(x) x ^ ./sfz2pat.l:1737:19: warning: cast increases required alignment of target type [-Wcast-align] SFZERR ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ ./sfz2pat.l:1741:20: warning: cast increases required alignment of target type [-Wcast-align] return 2; ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ ./sfz2pat.l:1744:33: warning: cast increases required alignment of target type [-Wcast-align] if (stereo_channels < 1 || stereo_channels > 2) { ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ ./sfz2pat.l:1751:27: warning: cast increases required alignment of target type [-Wcast-align] samplesize = LE_SHORT(*((int16 *)(thing + 14))); ^ gtim.h:365:20: note: in definition of macro 'LE_LONG' #define LE_LONG(x) x ^ ./sfz2pat.l:1752:28: warning: cast increases required alignment of target type [-Wcast-align] switch(samplesize) { ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ ./sfz2pat.l:1764:19: warning: cast increases required alignment of target type [-Wcast-align] stereo_channels, ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ ./sfz2pat.l:1805:30: warning: cast increases required alignment of target type [-Wcast-align] } ^ gtim.h:365:20: note: in definition of macro 'LE_LONG' #define LE_LONG(x) x ^ ./sfz2pat.l:1832:30: warning: cast increases required alignment of target type [-Wcast-align] *tmpdta >>= 8; ^ gtim.h:365:20: note: in definition of macro 'LE_LONG' #define LE_LONG(x) x ^ In file included from sfz.c:2:0: ./sfz2pat.l:1924:23: warning: cast increases required alignment of target type [-Wcast-align] while (data_len--) ^ ./sfz2pat.l:1963:20: warning: cast increases required alignment of target type [-Wcast-align] int16 *ldta = (int16 *) left_buf; ^ ./sfz2pat.l:1964:18: warning: cast increases required alignment of target type [-Wcast-align] int16 *rdta = (int16 *) right_buf; ^ ./sfz2pat.l:1965:18: warning: cast increases required alignment of target type [-Wcast-align] ^ ./sfz2pat.l:1974:20: warning: cast increases required alignment of target type [-Wcast-align] int32 *ldta = (int32 *) left_buf; ^ ./sfz2pat.l:1975:18: warning: cast increases required alignment of target type [-Wcast-align] int32 *rdta = (int32 *) right_buf; ^ ./sfz2pat.l:1976:18: warning: cast increases required alignment of target type [-Wcast-align] ^ ./sfz2pat.l:1488:36: warning: variable 'all_length' set but not used [-Wunused-but-set-variable] int32 aiff_offset=-1, aiff_blocksize=-1, aiff_numsamples=-1, samplesize = 16; ^~~~~~~~~~ In file included from sfz.c:2:0: At top level: sfz2pat.c:2115:16: warning: 'input' defined but not used [-Wunused-function] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] int loop; ^~~~ resample.c: In function 'resample_voice': resample.c:1235:9: warning: cast increases required alignment of target type [-Wcast-align] return (resample_t *)vp->sample->data+ofs; ^ gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -c `test -f 'cfg.c' || echo './'`cfg.c cfg.c:2591:16: warning: 'input' defined but not used [-Wunused-function] 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] snd_pcm_hw_params_get_rate (pinfo, &tmp, &dir); ^ In file included from /usr/include/alsa/asoundlib.h:54:0, from alsa_a.c:42: /usr/include/alsa/pcm.h:775:5: note: expected 'unsigned int *' but argument is of type 'int *' 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:41: warning: cast increases required alignment of target type [-Wcast-align] 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] } ^ gcc -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gt timidity.o common.o readmidi.o playmidi.o mix.o instrum.o tables.o controls.o output.o filter.o wave_a.o dumb_c.o sndfont.o readsbk.o sfz.o resample.o resample32.o resample_l.o resample_f.o resample_s.o resample_m.o cfg.o alsa_a.o -lasound -lm -ldl -lpthread -lvorbisfile -L/usr/lib -lvorbis -lm gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -c `test -f 'wav2pat.c' || echo './'`wav2pat.c In file included from wav2pat.c:33:0: wav2pat.c: In function 'main': wav2pat.c:150:28: warning: cast increases required alignment of target type [-Wcast-align] junklength=LE_LONG(*((int32 *)(thing+4))); ^ gtim.h:365:20: note: in definition of macro 'LE_LONG' #define LE_LONG(x) x ^ wav2pat.c:171:19: warning: cast increases required alignment of target type [-Wcast-align] if (LE_SHORT(*((int16 *)(thing))) != 1) ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ wav2pat.c:175:20: warning: cast increases required alignment of target type [-Wcast-align] LE_SHORT(*((int16 *)(thing)))); ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ wav2pat.c:178:19: warning: cast increases required alignment of target type [-Wcast-align] if (LE_SHORT(*((int16 *)(thing + 2))) != 1) ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ wav2pat.c:182:20: warning: cast increases required alignment of target type [-Wcast-align] LE_SHORT(*((int16 *)(thing + 2)))); ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ wav2pat.c:185:25: warning: cast increases required alignment of target type [-Wcast-align] samplerate=LE_LONG(*((int32 *)(thing + 4))); ^ gtim.h:365:20: note: in definition of macro 'LE_LONG' #define LE_LONG(x) x ^ wav2pat.c:186:22: warning: cast increases required alignment of target type [-Wcast-align] switch(LE_SHORT(*((int16 *)(thing + 14)))) ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ wav2pat.c:192:20: warning: cast increases required alignment of target type [-Wcast-align] LE_SHORT(*((int16 *)(thing + 14)))); ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ wav2pat.c:197:19: warning: cast increases required alignment of target type [-Wcast-align] (LE_SHORT(*((int16 *)(thing + 14)))), ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ wav2pat.c:255:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(point, "Copyleft 1995 EWE&U Conductions and one Retreated Gravi\032"); ^~~~~ In file included from /usr/include/features.h:428:0, 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:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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] strcpy(point, "Bleahnoise"); /* instrument name */ ^~~~~ In file included from /usr/include/features.h:428:0, 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:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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] strcpy(point, "bleah"); /* wave name */ ^~~~~ In file included from /usr/include/features.h:428:0, 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:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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] write(STDOUT_FILENO, thing, 335); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wav2pat.c:331:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, thing, c); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o wav2pat wav2pat.o rm -f sfz2pat.c flex -osfz2pat.c -Psfz ./sfz2pat.l gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -c `test -f 'sfz2pat.c' || echo './'`sfz2pat.c sfz2pat.c: In function 'sfz_scan_bytes': sfz2pat.c:2601:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( i = 0; i < _yybytes_len; ++i ) ^ In file included from ./sfz2pat.l:41:0: ./sfz2pat.l: In function 'read_sample': ./sfz2pat.l:1513:24: warning: cast increases required alignment of target type [-Wcast-align] for (i = 0; i < 4; i++) thing[i] = thing[i+8]; ^ gtim.h:365:20: note: in definition of macro 'LE_LONG' #define LE_LONG(x) x ^ ./sfz2pat.l:1524:24: warning: cast increases required alignment of target type [-Wcast-align] if (memcmp(thing+8, "WAVE", 4)) { ^ gtim.h:365:20: note: in definition of macro 'LE_LONG' #define LE_LONG(x) x ^ ./sfz2pat.l:1538:27: warning: cast increases required alignment of target type [-Wcast-align] if (memcmp(thing+8, "AIFF", 4)) { ^ gtim.h:365:20: note: in definition of macro 'LE_LONG' #define LE_LONG(x) x ^ ./sfz2pat.l:1551:32: warning: cast increases required alignment of target type [-Wcast-align] if (!chunk_length) break; ^ gtim.h:357:27: note: in definition of macro 'XCHG_LONG' # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ ^ ./sfz2pat.l:1551:22: note: in expansion of macro 'BE_LONG' if (!chunk_length) break; ^~~~~~ ./sfz2pat.l:1551:32: warning: cast increases required alignment of target type [-Wcast-align] if (!chunk_length) break; ^ gtim.h:358:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF00)<<8) | \ ^ ./sfz2pat.l:1551:22: note: in expansion of macro 'BE_LONG' if (!chunk_length) break; ^~~~~~ ./sfz2pat.l:1551:32: warning: cast increases required alignment of target type [-Wcast-align] if (!chunk_length) break; ^ gtim.h:359:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF0000)>>8) | \ ^ ./sfz2pat.l:1551:22: note: in expansion of macro 'BE_LONG' if (!chunk_length) break; ^~~~~~ ./sfz2pat.l:1551:32: warning: cast increases required alignment of target type [-Wcast-align] if (!chunk_length) break; ^ gtim.h:360:12: note: in definition of macro 'XCHG_LONG' (((x)>>24)&0xFF)) ^ ./sfz2pat.l:1551:22: note: in expansion of macro 'BE_LONG' if (!chunk_length) break; ^~~~~~ ./sfz2pat.l:1566:37: warning: cast increases required alignment of target type [-Wcast-align] aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^ gtim.h:357:27: note: in definition of macro 'XCHG_LONG' # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ ^ ./sfz2pat.l:1566:27: note: in expansion of macro 'BE_LONG' aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^~~~~~~ ./sfz2pat.l:1566:37: warning: cast increases required alignment of target type [-Wcast-align] aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^ gtim.h:358:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF00)<<8) | \ ^ ./sfz2pat.l:1566:27: note: in expansion of macro 'BE_LONG' aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^~~~~~~ ./sfz2pat.l:1566:37: warning: cast increases required alignment of target type [-Wcast-align] aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^ gtim.h:359:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF0000)>>8) | \ ^ ./sfz2pat.l:1566:27: note: in expansion of macro 'BE_LONG' aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^~~~~~~ ./sfz2pat.l:1566:37: warning: cast increases required alignment of target type [-Wcast-align] aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^ gtim.h:360:12: note: in definition of macro 'XCHG_LONG' (((x)>>24)&0xFF)) ^ ./sfz2pat.l:1566:27: note: in expansion of macro 'BE_LONG' aiff_blocksize = BE_LONG(*((int32 *)(thing+4))); ^~~~~~~ ./sfz2pat.l:1567:40: warning: cast increases required alignment of target type [-Wcast-align] } ^ gtim.h:357:27: note: in definition of macro 'XCHG_LONG' # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ ^ ./sfz2pat.l:1567:30: note: in expansion of macro 'BE_LONG' } ^ ./sfz2pat.l:1567:40: warning: cast increases required alignment of target type [-Wcast-align] } ^ gtim.h:358:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF00)<<8) | \ ^ ./sfz2pat.l:1567:30: note: in expansion of macro 'BE_LONG' } ^ ./sfz2pat.l:1567:40: warning: cast increases required alignment of target type [-Wcast-align] } ^ gtim.h:359:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF0000)>>8) | \ ^ ./sfz2pat.l:1567:30: note: in expansion of macro 'BE_LONG' } ^ ./sfz2pat.l:1567:40: warning: cast increases required alignment of target type [-Wcast-align] } ^ gtim.h:360:12: note: in definition of macro 'XCHG_LONG' (((x)>>24)&0xFF)) ^ ./sfz2pat.l:1567:30: note: in expansion of macro 'BE_LONG' } ^ ./sfz2pat.l:1576:38: warning: cast increases required alignment of target type [-Wcast-align] aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); ^ gtim.h:350:27: note: in definition of macro 'XCHG_SHORT' #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) ^ ./sfz2pat.l:1576:27: note: in expansion of macro 'BE_SHORT' aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); ^~~~~~~~ ./sfz2pat.l:1576:38: warning: cast increases required alignment of target type [-Wcast-align] aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); ^ gtim.h:350:45: note: in definition of macro 'XCHG_SHORT' #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) ^ ./sfz2pat.l:1576:27: note: in expansion of macro 'BE_SHORT' aiff_numsamples = BE_LONG(*((int32 *)(thing+2))); ^~~~~~~~ ./sfz2pat.l:1577:41: warning: cast increases required alignment of target type [-Wcast-align] samplesize = BE_SHORT(*((int16 *)(thing+6))); ^ gtim.h:357:27: note: in definition of macro 'XCHG_LONG' # define XCHG_LONG(x) ((((x)&0xFF)<<24) | \ ^ ./sfz2pat.l:1577:31: note: in expansion of macro 'BE_LONG' samplesize = BE_SHORT(*((int16 *)(thing+6))); ^~~~~~~ ./sfz2pat.l:1577:41: warning: cast increases required alignment of target type [-Wcast-align] samplesize = BE_SHORT(*((int16 *)(thing+6))); ^ gtim.h:358:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF00)<<8) | \ ^ ./sfz2pat.l:1577:31: note: in expansion of macro 'BE_LONG' samplesize = BE_SHORT(*((int16 *)(thing+6))); ^~~~~~~ ./sfz2pat.l:1577:41: warning: cast increases required alignment of target type [-Wcast-align] samplesize = BE_SHORT(*((int16 *)(thing+6))); ^ gtim.h:359:12: note: in definition of macro 'XCHG_LONG' (((x)&0xFF0000)>>8) | \ ^ ./sfz2pat.l:1577:31: note: in expansion of macro 'BE_LONG' samplesize = BE_SHORT(*((int16 *)(thing+6))); ^~~~~~~ ./sfz2pat.l:1577:41: warning: cast increases required alignment of target type [-Wcast-align] samplesize = BE_SHORT(*((int16 *)(thing+6))); ^ gtim.h:360:12: note: in definition of macro 'XCHG_LONG' (((x)>>24)&0xFF)) ^ ./sfz2pat.l:1577:31: note: in expansion of macro 'BE_LONG' samplesize = BE_SHORT(*((int16 *)(thing+6))); ^~~~~~~ ./sfz2pat.l:1578:33: warning: cast increases required alignment of target type [-Wcast-align] if (samplesize == 8) data_width = 1; ^ gtim.h:350:27: note: in definition of macro 'XCHG_SHORT' #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) ^ ./sfz2pat.l:1578:22: note: in expansion of macro 'BE_SHORT' if (samplesize == 8) data_width = 1; ^~~~~~~~ ./sfz2pat.l:1578:33: warning: cast increases required alignment of target type [-Wcast-align] if (samplesize == 8) data_width = 1; ^ gtim.h:350:45: note: in definition of macro 'XCHG_SHORT' #define XCHG_SHORT(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF)) ^ ./sfz2pat.l:1578:22: note: in expansion of macro 'BE_SHORT' 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] if (ret == 0) { ^ In file included from ./sfz2pat.l:44:0: /usr/include/vorbis/vorbisfile.h:194:13: note: expected 'char *' but argument is of type 'unsigned char *' extern long ov_read(OggVorbis_File *vf,char *buffer,int length, ^~~~~~~ In file included from ./sfz2pat.l:41:0: ./sfz2pat.l:1717:46: warning: cast increases required alignment of target type [-Wcast-align] ^ gtim.h:365:20: note: in definition of macro 'LE_LONG' #define LE_LONG(x) x ^ ./sfz2pat.l:1737:19: warning: cast increases required alignment of target type [-Wcast-align] SFZERR ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ ./sfz2pat.l:1741:20: warning: cast increases required alignment of target type [-Wcast-align] return 2; ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ ./sfz2pat.l:1744:33: warning: cast increases required alignment of target type [-Wcast-align] if (stereo_channels < 1 || stereo_channels > 2) { ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ ./sfz2pat.l:1751:27: warning: cast increases required alignment of target type [-Wcast-align] samplesize = LE_SHORT(*((int16 *)(thing + 14))); ^ gtim.h:365:20: note: in definition of macro 'LE_LONG' #define LE_LONG(x) x ^ ./sfz2pat.l:1752:28: warning: cast increases required alignment of target type [-Wcast-align] switch(samplesize) { ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ ./sfz2pat.l:1764:19: warning: cast increases required alignment of target type [-Wcast-align] stereo_channels, ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ ./sfz2pat.l:1805:30: warning: cast increases required alignment of target type [-Wcast-align] } ^ gtim.h:365:20: note: in definition of macro 'LE_LONG' #define LE_LONG(x) x ^ ./sfz2pat.l:1851:33: warning: cast increases required alignment of target type [-Wcast-align] t += 3; ^ gtim.h:364:21: note: in definition of macro 'LE_SHORT' #define LE_SHORT(x) x ^ ./sfz2pat.l:1924:23: warning: cast increases required alignment of target type [-Wcast-align] while (data_len--) ^ ./sfz2pat.l:1963:20: warning: cast increases required alignment of target type [-Wcast-align] int16 *ldta = (int16 *) left_buf; ^ ./sfz2pat.l:1964:18: warning: cast increases required alignment of target type [-Wcast-align] int16 *rdta = (int16 *) right_buf; ^ ./sfz2pat.l:1965:18: warning: cast increases required alignment of target type [-Wcast-align] ^ ./sfz2pat.l:1974:20: warning: cast increases required alignment of target type [-Wcast-align] int32 *ldta = (int32 *) left_buf; ^ ./sfz2pat.l:1975:18: warning: cast increases required alignment of target type [-Wcast-align] int32 *rdta = (int32 *) right_buf; ^ ./sfz2pat.l:1976:18: warning: cast increases required alignment of target type [-Wcast-align] ^ ./sfz2pat.l:1488:36: warning: variable 'all_length' set but not used [-Wunused-but-set-variable] 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] ^ ./sfz2pat.l:2258:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] else ^~~ ./sfz2pat.l:2260:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] ^ At top level: sfz2pat.c:2199:16: warning: 'input' defined but not used [-Wunused-function] static int input (void) ^~~~~ gcc -DDEFAULT_PATH=\"/usr/share/timidity\" -Wall -W -Wshadow -Wpointer-arith -Wcast-align -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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' cd .. && /bin/sh ./config.status utils/Makefile depfiles config.status: creating utils/Makefile config.status: executing depfiles commands gcc -DHAVE_CONFIG_H -I. -I. -I../src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] int mod_delay, mod_attack, mod_hold, mod_decay, mod_release, mod_sustain; ^~~~~~~~~ unsf.c: In function 'grab_soundfont': unsf.c:2131:23: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] while ((i >= 0) && (isspace(s[i]))) { ^~~~~~~ unsf.c:2083:8: warning: variable 'global_pzone_index' set but not used [-Wunused-but-set-variable] int global_pzone_index; ^~~~~~~~~~~~~~~~~~ unsf.c:2081:8: warning: variable 'global_izone_index' set but not used [-Wunused-but-set-variable] int global_izone_index; ^~~~~~~~~~~~~~~~~~ unsf.c: In function 'grab_soundfont_banks': unsf.c:2522:32: warning: unused variable 'num' [-Wunused-variable] int pnum, inum, jnum, lnum, num, drum; ^~~ unsf.c: In function 'shorten_drum_names': unsf.c:2790:12: warning: variable 'velcount' set but not used [-Wunused-but-set-variable] int i, j, velcount, right_patches; ^~~~~~~~ unsf.c: In function 'make_patch_files': unsf.c:3018:18: warning: unused variable 'rcode' [-Wunused-variable] int i, j, k, rcode, velcount, right_patches; ^~~~~ unsf.c: In function 'add_soundfont_patches': unsf.c:3352:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(sf_presets[i].achPresetName, 20, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unsf.c:3405:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(sf_instruments[i].achInstName, 20, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unsf.c:3453:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(sf_samples[i].achSampleName, 20, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: unsf.c:1120:12: warning: 'key2freq' defined but not used [-Wunused-function] static int key2freq(int note, int cents) ^~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o unsf unsf.o -lm gcc -DHAVE_CONFIG_H -I. -I. -I../src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -c `test -f 'patinfo.c' || echo './'`patinfo.c patinfo.c: In function 'fix_sample_read': patinfo.c:241:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(sample->envelope_rate, &buf[37], 6); ^~~~~~ patinfo.c:241:2: warning: incompatible implicit declaration of built-in function 'memcpy' patinfo.c:241:2: 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] main(int argc, char **argv) ^~~~ patinfo.c: In function 'main': patinfo.c:298:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(outfile, argv[optind]); ^~~~~~ patinfo.c:298:2: warning: incompatible implicit declaration of built-in function 'strcpy' patinfo.c:298:2: note: include '' or provide a declaration of 'strcpy' patinfo.c:300:2: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(infile, argv[optind]); ^~~~~~ patinfo.c:300:2: warning: incompatible implicit declaration of built-in function 'strcat' patinfo.c:300:2: note: include '' or provide a declaration of 'strcat' patinfo.c:301:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(infile + strlen(infile) - 4, ".pat")) ^~~~~~ patinfo.c:301:23: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (!strcmp(infile + strlen(infile) - 4, ".pat")) ^~~~~~ patinfo.c:301:23: warning: incompatible implicit declaration of built-in function 'strlen' patinfo.c:301:23: note: include '' or provide a declaration of 'strlen' patinfo.c:309:23: warning: incompatible implicit declaration of built-in function 'strlen' if (strcmp(infile + strlen(infile) - 4, ".pat")) ^~~~~~ patinfo.c:309:23: note: include '' or provide a declaration of 'strlen' patinfo.c:305:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((patfd = open(argv[optind], O_RDONLY, 0)) == -1) ^ patinfo.c:322:2: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy ((char *) &header, buf, sizeof (header)); ^~~~~~ patinfo.c:322:2: note: include '' or provide a declaration of 'memcpy' patinfo.c:326:6: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp (header.magic, "GF1PATCH110", 12)) { ^~~~~~~ patinfo.c:471:40: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] if (opt_verbose) printf("\t\tdetune %ld, panning %u\n", ~~^ %d sample.detune, sample.panning); ~~~~~~~~~~~~~ patinfo.c:267:33: warning: unused variable 'n' [-Wunused-variable] int c, i, j, k, l, n, patfd; ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o patinfo patinfo.o -lm gcc -DHAVE_CONFIG_H -I. -I. -I../src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -c `test -f 'patcat.c' || echo './'`patcat.c patcat.c: In function 'fix_sample_read': patcat.c:227:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(sample->envelope_rate, &buf[37], 6); ^~~~~~ patcat.c:227:2: warning: incompatible implicit declaration of built-in function 'memcpy' patcat.c:227:2: note: include '' or provide a declaration of 'memcpy' patcat.c: In function 'fix_sample_write': patcat.c:259:2: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(&buf[37], sample->envelope_rate, 6); ^~~~~~ patcat.c:259:2: 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] main(int argc, char **argv) ^~~~ patcat.c: In function 'main': patcat.c:324:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(outfile, argv[1]); ^~~~~~ patcat.c:324:2: warning: incompatible implicit declaration of built-in function 'strcpy' patcat.c:324:2: note: include '' or provide a declaration of 'strcpy' patcat.c:326:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp(leftinfile + strlen(leftinfile) - 4, ".pat")) ^~~~~~ patcat.c:326:27: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (!strcmp(leftinfile + strlen(leftinfile) - 4, ".pat")) ^~~~~~ patcat.c:326:27: warning: incompatible implicit declaration of built-in function 'strlen' patcat.c:326:27: note: include '' or provide a declaration of 'strlen' patcat.c:328:7: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] else strcat(leftinfile, ".pat"); ^~~~~~ patcat.c:328:7: warning: incompatible implicit declaration of built-in function 'strcat' patcat.c:328:7: note: include '' or provide a declaration of 'strcat' patcat.c:330:27: warning: incompatible implicit declaration of built-in function 'strlen' if (strcmp(rightinfile + strlen(rightinfile) - 4, ".pat")) ^~~~~~ patcat.c:330:27: note: include '' or provide a declaration of 'strlen' patcat.c:331:3: warning: incompatible implicit declaration of built-in function 'strcat' strcat(rightinfile, ".pat"); ^~~~~~ patcat.c:331:3: note: include '' or provide a declaration of 'strcat' patcat.c:333:2: warning: incompatible implicit declaration of built-in function 'strcat' strcat(outfile, "-stereo.pat"); ^~~~~~ patcat.c:333:2: note: include '' or provide a declaration of 'strcat' patcat.c:360:2: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy ((char *) &header, buf, sizeof (header)); ^~~~~~ patcat.c:360:2: note: include '' or provide a declaration of 'memcpy' patcat.c:366:6: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp (header.magic, "GF1PATCH110", 12)) { ^~~~~~~ patcat.c:314:57: warning: unused variable 'stereo_count' [-Wunused-variable] int sf2flag_left = 0, sf2flag_right = 0, vlayer_count, stereo_count; ^~~~~~~~~~~~ patcat.c:305:30: warning: unused variable 'n' [-Wunused-variable] int i, j, k, l, n, leftfd, rightfd, stereofd; ^ patcat.c:305:27: warning: unused variable 'l' [-Wunused-variable] int i, j, k, l, n, leftfd, rightfd, stereofd; ^ patcat.c:305:24: warning: unused variable 'k' [-Wunused-variable] int i, j, k, l, n, leftfd, rightfd, stereofd; ^ patcat.c:305:21: warning: unused variable 'j' [-Wunused-variable] 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] static int opt_verbose = 0; ^~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o patcat patcat.o gcc -DHAVE_CONFIG_H -I. -I. -I../src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -c `test -f 'dim.c' || echo './'`dim.c dim.c:323:1: warning: return type defaults to 'int' [-Wimplicit-int] filegetc() ^~~~~~~~ dim.c:329:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ dim.c: In function 'main': dim.c:329:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] dim.c:352:2: warning: implicit declaration of function 'initfuncs' [-Wimplicit-function-declaration] initfuncs(); ^~~~~~~~~ dim.c: In function 'txt_header': dim.c:397:1: warning: type of 'format' defaults to 'int' [-Wimplicit-int] 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] 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] 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] 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] 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] 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] 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] 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] char *yam_reverb_type[20][4] = { ^ /*000 0 */ "NO EFFECT", "", "", "", { } /*001 1 */ "HALL1", "HALL2", "", "", { } /*002 2 */ "ROOM1", "ROOM2", "", "ROOM3", { } /*003 3 */ "STAGE1", "STAGE2", "", "", { } /*004 4 */ "PLATE", "", "", "", { } /*005 5 */ "NO EFFECT", "", "", "", { } /*006 5 */ "NO EFFECT", "", "", "", { } /*007 5 */ "NO EFFECT", "", "", "", { } /*008 5 */ "NO EFFECT", "", "", "", { } /*009 5 */ "NO EFFECT", "", "", "", { } /*010 5 */ "NO EFFECT", "", "", "", { } /*011 5 */ "NO EFFECT", "", "", "", { } /*012 5 */ "NO EFFECT", "", "", "", { } /*013 5 */ "NO EFFECT", "", "", "", { } /*014 5 */ "NO EFFECT", "", "", "", { } /*015 F */ "NO EFFECT", "", "", "", { } /*016 10 */ "WHITE ROOM", "", "", "", { } /*017 11 */ "TUNNEL", "", "", "", { } /*018 12 */ "CANYON", "", "", "", { } /*019 13 */ "BASEMENT", "", "", "" { }; } dim.c:794:31: warning: missing braces around initializer [-Wmissing-braces] char *yam_chorus_type[8][4] = { ^ /*065 41 */ "CHORUS1", "CHORUS2", "CHORUS3", "CHORUS4", { } /*066 42 */ "CELESTE1", "CELESTE2", "CELESTE3", "CELESTE4", { } /*067 43 */ "FLANGER1", "FLANGER2", "FLANGER3", "", { } /*068 44 */ "SYMPHONIC", "", "", "", { } /*069 45 */ "NO EFFECT", "", "", "", { } /*070 46 */ "NO EFFECT", "", "", "", { } /*071 47 */ "NO EFFECT", "", "", "", { } /*072 48 */ "PHASER", "", "", "" { }; } dim.c:805:35: warning: missing braces around initializer [-Wmissing-braces] char *yam_variation_type[87][4] = { ^ /*013 C */ "NO EFFECT or THRU", "", "", "", { } /*001 1 */ "HALL1", "HALL2", "", "", { } /*002 2 */ "ROOM1", "ROOM2", "ROOM3", "", { } /*003 3 */ "STAGE1", "STAGE2", "", "", { } /*004 4 */ "PLATE", "", "", "", { } /*005 5 */ "DELAY L,C,R", "", "", "", { } /*006 6 */ "DELAY L,R", "", "", "", { } /*007 7 */ "ECHO", "", "", "", { } /*008 8 */ "CROSS DELAY", "", "", "", { } /*009 9 */ "ER1", "ER2", "", "", { } /*010 A */ "GATE REVERB", "", "", "", { } /*011 B */ "REVERSE GATE", "", "", "", { } /*012 C */ "NO EFFECT or THRU", "", "", "", { } /*013 C */ "NO EFFECT or THRU", "", "", "", { } /*014 C */ "NO EFFECT or THRU", "", "", "", { } /*015 C */ "NO EFFECT or THRU", "", "", "", { } /*016 C */ "NO EFFECT or THRU", "", "", "", { } /*017 C */ "NO EFFECT or THRU", "", "", "", { } /*018 C */ "NO EFFECT or THRU", "", "", "", { } /*019 13 */ "NO EFFECT or THRU", "", "", "", { } /*020 14 */ "KARAOKE1", "KARAOKE2", "KARAOKE3", "", { } /*064 40 */ "THRU", "", "", "", { } /*065 41 */ "CHORUS1", "CHORUS2", "CHORUS3", "CHORUS4", { } /*066 42 */ "CELESTE1", "CELESTE2", "CELESTE3", "CELESTE4", { } /*067 43 */ "FLANGER1", "FLANGER2", "FLANGER3", "", { } /*068 44 */ "SYMPHONIC", "", "", "", { } /*069 45 */ "ROTARY SPEAKER", "", "", "", { } /*070 46 */ "TREMOLO", "", "", "", { } /*071 47 */ "AUTO PAN", "", "", "", { } /*072 48 */ "PHASER1", "", "", "PHASER2", { } /*073 49 */ "DISTORTION", "", "", "", { } /*074 4A */ "OVER DRIVE", "", "", "", { } /*075 4B */ "AMP SIMULATOR", "", "", "", { } /*076 4C */ "3-BAND EQ", "", "", "", { } /*077 4D */ "2-BAND EQ", "", "", "", { } /*078 4E */ "AUTO WAH (LFO)", "", "", "", "", { } { /*079 4F */ "THRU", "", "", "", } { /*080 50 */ "PITCH CHANGE", "", "", "", } { /*081 51 */ "AURAL EXCITER", "", "", "", } { /*082 52 */ "TOUCH WAH", "TOUCH WAH+DIST", "", "", } { /*083 53 */ "COMPRESSOR", "", "", "", } { /*084 54 */ "NOISE GATE", "", "", "", } { /*085 55 */ "VOICE CANCEL", "", "", "", "", } { /*086 56 - 127 */ "THRU", "", "", "" } { }; } dim.c: In function 'txt_sysex': dim.c:853:1: warning: type of 'leng' defaults to 'int' [-Wimplicit-int] txt_sysex(leng,mess) ^~~~~~~~~ dim.c:857:30: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] register unsigned char *p = mess; ^~~~ dim.c: In function 'txt_metamisc': dim.c:951:1: warning: type of 'type' defaults to 'int' [-Wimplicit-int] 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] txt_metaspecial(leng,mess) ^~~~~~~~~~~~~~~ dim.c: In function 'txt_metatext': dim.c:983:1: warning: type of 'type' defaults to 'int' [-Wimplicit-int] 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] txt_metaseq(num) ^~~~~~~~~~~ dim.c: In function 'txt_keysig': dim.c:1028:1: warning: type of 'sf' defaults to 'int' [-Wimplicit-int] 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:53: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("Tempo, microseconds-per-MIDI-quarter-note=%d\n",tempo); ~^ %ld dim.c: In function 'txt_timesig': dim.c:1044:1: warning: type of 'nn' defaults to 'int' [-Wimplicit-int] 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] 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] txt_arbitrary(leng,mess) ^~~~~~~~~~~~~ dim.c: In function 'prtime': dim.c:1096:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%3d.%02d.%02d ", the_realtime / (100*16), ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ %3ld dim.c:1096:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] printf("%3d.%02d.%02d ", the_realtime / (100*16), ~~~^ %02ld (the_realtime / 16) % 100, ~~~~~~~~~~~~~~~~~~~~~~~~~ dim.c:1096:22: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] printf("%3d.%02d.%02d ", the_realtime / (100*16), ~~~^ %02ld dim.c:1098:3: the_realtime % 16); ~~~~~~~~~~~~~~~~~ dim.c: At top level: dim.c:1103:1: warning: return type defaults to 'int' [-Wimplicit-int] initfuncs() ^~~~~~~~~ dim.c: In function 'initfuncs': dim.c:1127:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dim.c: In function 'txt_sysex': dim.c:893:5: warning: 'id' may be used uninitialized in this function [-Wmaybe-uninitialized] if (id == 0x43 && leng >= 9 && *(p+3) == 0x4c) { ^ gcc -DHAVE_CONFIG_H -I. -I. -I../src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -c `test -f 'midifile.c' || echo './'`midifile.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fsigned-char -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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' cd . && /bin/sh ./config.status Makefile config.status: creating Makefile make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/gt-0.4' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KhUC4U + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64 + cd gt-0.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64 '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-26.fc28.riscv64/usr/bin mkdir -p -- /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/bin /usr/bin/install -p gt /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/bin/gt /usr/bin/install -p sf2cfg /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/bin/sf2cfg /usr/bin/install -p wav2pat /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/bin/wav2pat /usr/bin/install -p sfz2pat /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/bin/sfz2pat /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/man/man1 mkdir -p -- /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/man/man1 /usr/bin/install -p -m 644 ./gt.man /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/man/man1/gt.1 /usr/bin/install -p -m 644 ./sf2cfg.man /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/man/man1/sf2cfg.1 /usr/bin/install -p -m 644 ./sfz2pat.man /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/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-26.fc28.riscv64/usr/bin /usr/bin/install -p unsf /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/bin/unsf /usr/bin/install -p patinfo /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/bin/patinfo /usr/bin/install -p patcat /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/bin/patcat /usr/bin/install -p dim /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/bin/dim /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/man/man1 /usr/bin/install -p -m 644 ./unsf.man /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/man/man1/unsf.1 /usr/bin/install -p -m 644 ./patcat.man /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/man/man1/patcat.1 /usr/bin/install -p -m 644 ./dim.man /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/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-26.fc28.riscv64/usr/bin/dim /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/bin/midi-disasm + mv /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/man/man1/dim.1 /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/man/man1/midi-disasm.1 + sed -i s/dim/midi-disasm/g /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/man/man1/midi-disasm.1 + touch -r utils/midifile.c /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/man/man1/midi-disasm.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: gt-0.4-26.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.elqWDP + umask 022 + cd /builddir/build/BUILD + cd gt-0.4 + DOCDIR=/builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/doc/gt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/doc/gt + cp -pr AUTHORS /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/doc/gt + cp -pr COPYING /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/doc/gt + cp -pr ChangeLog /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/doc/gt + cp -pr FEATURES /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/doc/gt + cp -pr NEWS /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/doc/gt + cp -pr README README.banks README.controllers README.timidity README.variationbank /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/doc/gt + exit 0 Provides: gt = 0.4-26.fc28 gt(riscv-64) = 0.4-26.fc28 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) libdl.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libvorbis.so.0()(64bit) libvorbisfile.so.3()(64bit) rtld(GNU_HASH) Processing files: soundfont-utils-0.4-26.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MMuqIL + umask 022 + cd /builddir/build/BUILD + cd gt-0.4 + DOCDIR=/builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/doc/soundfont-utils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/doc/soundfont-utils + cp -pr COPYING /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/doc/soundfont-utils + cp -pr utils/README utils/README.sf2cfg /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/doc/soundfont-utils + cp -pr utils/GUSSF2-SPEC /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64/usr/share/doc/soundfont-utils + exit 0 warning: File listed twice: /usr/lib/.build-id/91/7e285725de1a96d553774a716856285a94d64e Provides: soundfont-utils = 0.4-26.fc28 soundfont-utils(riscv-64) = 0.4-26.fc28 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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libvorbis.so.0()(64bit) libvorbisfile.so.3()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64 Wrote: /builddir/build/SRPMS/gt-0.4-26.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/gt-0.4-26.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/soundfont-utils-0.4-26.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Mh1WQ7 + umask 022 + cd /builddir/build/BUILD + cd gt-0.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gt-0.4-26.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff