+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/tclabc.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.IcqZac + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tclabc-1.3.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/tclabc-1.3.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tclabc-1.3.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 change.tcl -o change.tcl.iconv + mv change.tcl.iconv change.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 detail.tcl -o detail.tcl.iconv + mv detail.tcl.iconv detail.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 help.tcl -o help.tcl.iconv + mv help.tcl.iconv help.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 lang-de.tcl -o lang-de.tcl.iconv + mv lang-de.tcl.iconv lang-de.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 lang-en.tcl -o lang-en.tcl.iconv + mv lang-en.tcl.iconv lang-en.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 lang-fr-utf8.tcl -o lang-fr-utf8.tcl.iconv + mv lang-fr-utf8.tcl.iconv lang-fr-utf8.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 lang-fr.tcl -o lang-fr.tcl.iconv + mv lang-fr.tcl.iconv lang-fr.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 lang-nl.tcl -o lang-nl.tcl.iconv + mv lang-nl.tcl.iconv lang-nl.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 lang-ptBR.tcl -o lang-ptBR.tcl.iconv + mv lang-ptBR.tcl.iconv lang-ptBR.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 lang-se.tcl -o lang-se.tcl.iconv + mv lang-se.tcl.iconv lang-se.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 play.tcl -o play.tcl.iconv + mv play.tcl.iconv play.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 pref.tcl -o pref.tcl.iconv + mv pref.tcl.iconv pref.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 select.tcl -o select.tcl.iconv + mv select.tcl.iconv select.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 tkabc.tcl -o tkabc.tcl.iconv + mv tkabc.tcl.iconv tkabc.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 tkorgan.tcl -o tkorgan.tcl.iconv + mv tkorgan.tcl.iconv tkorgan.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 www.tcl -o www.tcl.iconv + mv www.tcl.iconv www.tcl + for f in *.tcl README + iconv -f iso-8859-1 -t utf-8 README -o README.iconv + mv README.iconv README + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SJNAqH + umask 022 + cd /builddir/build/BUILD + cd tclabc-1.3.7 + 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 -DUSE_INTERP_RESULT' + 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 -DUSE_INTERP_RESULT' + 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 --with-tcltk=/usr/lib64 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking checking for sound card... ... yes checking checking for SB AWE 32... ... no checking checking for the ALSA library... ... yes checking checking for tcl/tk... ... yes configure: creating ./config.status config.status: creating Makefile config.status: creating abcbarchk config.status: creating abctrans config.status: creating mid2abc config.status: creating tkabc config.status: creating pkgIndex.tcl config.status: creating config.h config.status: config.h is unchanged configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 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 -DUSE_INTERP_RESULT -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 -DUSE_INTERP_RESULT -Wall -pipe -DHAVE_CONFIG_H -I. -I/usr/include -fPIC -c -o tclabc.o tclabc.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 -DUSE_INTERP_RESULT -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 -DUSE_INTERP_RESULT -Wall -pipe -DHAVE_CONFIG_H -I. -I/usr/include -fPIC -c -o abcparse.o abcparse.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 -DUSE_INTERP_RESULT -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 -DUSE_INTERP_RESULT -Wall -pipe -DHAVE_CONFIG_H -I. -I/usr/include -fPIC -c -o change.o change.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 -DUSE_INTERP_RESULT -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 -DUSE_INTERP_RESULT -Wall -pipe -DHAVE_CONFIG_H -I. -I/usr/include -fPIC -c -o front.o front.c change.c: In function 'del_sym': change.c:171:1: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] err: strcpy(interp->result, "this symbol cannot be deleted"); ^~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ change.c:177:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, "cannot yet delete vover start/stop"); ^~~~~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ change.c: In function 'sym_set': change.c:887:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, "unknown symbol type"); ^~~~~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c: In function 'tclabc': tclabc.c:320:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "%s", s->as.text); ^~~~~~~ change.c:935:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, "cannot change the symbol type"); ^~~~~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ change.c:950:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, "odd number of pitch/acc"); ^~~~~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:337:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, ^~~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:357:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, ^~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ change.c:969:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, "no note pitch/acc"); ^~~~~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:368:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sym_encode(interp->result, curvoice->cursym); ^~~~~~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:402:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, ^~~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:419:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, ^~~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:430:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sym_encode(interp->result, s); ^~~~~~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ change.c:1080:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, ^~~~~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ change.c:1138:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, ^~~~~~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ change.c:1155:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "bad key mode '%s'", val); ^~~~~~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:652:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sym_encode(interp->result, s); ^~~~~~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:654:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, none); ^~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:657:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, ^~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ change.c:1172:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, "bad accidental"); ^~~~~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:677:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sym_encode(interp->result, curvoice->cursym); ^~~~~~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:696:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "cannot insert '%s'", p); ^~~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ change.c:1269:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, ^~~~~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:727:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, ^~~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ change.c:1288:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, ^~~~~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:750:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, ^~~~~~~ change.c:1305:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, ^~~~~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ change.c:1314:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, ^~~~~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:773:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, ^~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:823:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, ^~~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c:854:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "unknown abc function \"%s\"", p); ^~~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c: In function 'channel_get': tclabc.c:992:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sym_encode(interp->result, s); ^~~~~~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ change.c: In function 'voice_set': change.c:1724:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, "a voice must have an identifier"); ^~~~~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ change.c:1728:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, "voice ID too long"); ^~~~~~ In file included from change.c:35:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c: In function 'header_dump': tclabc.c:1264:20: error: format not a string literal and no format arguments [-Werror=format-security] p += sprintf(p, none); ^~~~ tclabc.c: In function 'staff_get': tclabc.c:2167:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] p = interp->result; ^ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c: In function 'sym_decode': tclabc.c:2591:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "Bad symbol name '%s'", p); ^~~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c: In function 'tcl_wrong_args': tclabc.c:2957:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, ^~~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclabc.c: In function 'voice_get': tclabc.c:3617:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "{} {} {}"); ^~~~~~~ In file included from tclabc.c:41:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ 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 -DUSE_INTERP_RESULT -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 -DUSE_INTERP_RESULT -Wall -pipe -DHAVE_CONFIG_H -I. -I/usr/include -fPIC -c -o midi.o midi.c midi.c: In function 'read_midi_event': midi.c:701:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(my_interp->result, "error in reading midi file\n"); ^~~~~~~ In file included from midi.c:76:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ midi.c: In function 'read_track': midi.c:757:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(my_interp->result, "Corrupt MIDI file.\n"); ^~~~~~~ In file included from midi.c:76:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ midi.c: In function 'midi_cmd': midi.c:1031:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] strcpy(interp->result, ^~~~~~ In file included from midi.c:76:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ midi.c: In function 'midi_read_file': midi.c:1521:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "can't open %s", fname); ^~~~~~~ In file included from midi.c:76:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ midi.c:1536:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "not a MIDI file\n"); ^~~~~~~ In file included from midi.c:76:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ midi.c:1550:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "unknown MIDI file format %d\n", format); ^~~~~~~ In file included from midi.c:76:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ midi.c: In function 'midi_dump': midi.c:3565:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "can't create %s", fname); ^~~~~~~ In file included from midi.c:76:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ midi.c: In function 'seq_note': midi.c:2525:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(seq_fd, _seqbuf, 3); ^~~~~~~~~~~~~~~~~~~~~~~~~ midi.c: In function 'midi_read_file': midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:721:24: note: in expansion of macro 'READ' #define READID(str,fd) READ(fd, str, 4) ^~~~ midi.c:1533:2: note: in expansion of macro 'READID' READID(tmp, fd); ^~~~~~ midi.c: In function 'READLONG': midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:727:2: note: in expansion of macro 'READ' READ(fd, c, 4); ^~~~ midi.c: In function 'READSHORT': midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:735:2: note: in expansion of macro 'READ' READ(fd, c, 2); ^~~~ midi.c: In function 'read_track': midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:721:24: note: in expansion of macro 'READ' #define READID(str,fd) READ(fd, str, 4) ^~~~ midi.c:754:2: note: in expansion of macro 'READID' READID(tmp, fd); ^~~~~~ midi.c: In function 'system_exclusive': midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:483:2: note: in expansion of macro 'READ' READ(fd, buf, len); ^~~~ midi.c: In function 'meta_event': midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:529:2: note: in expansion of macro 'READ' READ(fd, &type, 1); ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:537:3: note: in expansion of macro 'READ' READ(fd, &a, 1); /* channel to be associated with next meta events */ ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:540:3: note: in expansion of macro 'READ' READ(fd, &a, 1); /* (channel += 16 * 'a') */ ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:546:3: note: in expansion of macro 'READ' READ(fd, &a, 1); ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:547:3: note: in expansion of macro 'READ' READ(fd, &b, 1); ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:548:3: note: in expansion of macro 'READ' READ(fd, &c, 1); ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:552:3: note: in expansion of macro 'READ' READ(fd, &a, 1); /* upper value */ ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:553:3: note: in expansion of macro 'READ' READ(fd, &b, 1); /* log2 lower value */ ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:554:3: note: in expansion of macro 'READ' READ(fd, &c, 1); ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:555:3: note: in expansion of macro 'READ' READ(fd, &c, 1); ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:565:3: note: in expansion of macro 'READ' READ(fd, &a, 1); ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:566:3: note: in expansion of macro 'READ' READ(fd, &b, 1); ^~~~ midi.c: In function 'print_message': midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:398:2: note: in expansion of macro 'READ' READ(fd, s + slen, len); ^~~~ midi.c: In function 'def_event': midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:647:3: note: in expansion of macro 'READ' READ(fd, &a, 1); ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:652:3: note: in expansion of macro 'READ' READ(fd, &b, 1); ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:656:3: note: in expansion of macro 'READ' READ(fd, &b, 1); ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:660:3: note: in expansion of macro 'READ' READ(fd, &b, 1); ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:664:3: note: in expansion of macro 'READ' READ(fd, &b, 1); ^~~~ midi.c:174:24: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] #define READ(fd, b, l) read(fd, b, l) ^~~~~~~~~~~~~~ midi.c:675:3: note: in expansion of macro 'READ' READ(fd, &b, 1); ^~~~ midi.c: In function 'notes_stop': midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:1787:6: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 1); ^~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:1791:5: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 2); ^~~~~ midi.c: In function 'putvl': midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:1670:2: note: in expansion of macro 'WRITE' WRITE(fd, &c[i], sizeof c - i); ^~~~~ midi.c: In function 'play_advance': midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:1955:4: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 5); ^~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:1989:4: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 7); ^~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:2023:4: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 6); ^~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:2085:6: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 1); ^~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:2088:5: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 1); ^~~~~ midi.c: In function 'note_start': midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:1746:7: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 1); ^~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:1750:6: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 2); ^~~~~ midi.c: In function 'sound_off': midi.c:2579:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(seq_fd, _seqbuf, 2); ^~~~~~~~~~~~~~~~~~~~~~~~~ midi.c: In function 'set_program': midi.c:2842:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(seq_fd, _seqbuf, 2); ^~~~~~~~~~~~~~~~~~~~~~~~~ midi.c: In function 'midi_dump': midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:3576:2: note: in expansion of macro 'WRITE' WRITE(out_fd, "MThd", 4); ^~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:3546:2: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 4); ^~~~~ midi.c:3577:2: note: in expansion of macro 'WRITELONG' WRITELONG(6); /* header length */ ^~~~~~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:3551:2: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 2); ^~~~~ midi.c:3578:2: note: in expansion of macro 'WRITESHORT' WRITESHORT(0); /* format 0 */ ^~~~~~~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:3551:2: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 2); ^~~~~ midi.c:3579:2: note: in expansion of macro 'WRITESHORT' WRITESHORT(1); /* number of tracks */ ^~~~~~~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:3551:2: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 2); ^~~~~ midi.c:3581:2: note: in expansion of macro 'WRITESHORT' WRITESHORT(dump_time); /* divisions */ ^~~~~~~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:3584:2: note: in expansion of macro 'WRITE' WRITE(out_fd, "MTrk", 4); ^~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:3546:2: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 4); ^~~~~ midi.c:3586:2: note: in expansion of macro 'WRITELONG' WRITELONG(0); ^~~~~~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:3604:3: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 3); ^~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:3605:3: note: in expansion of macro 'WRITE' WRITE(out_fd, p, c[2]); ^~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:3696:2: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 3); ^~~~~ midi.c:172:25: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] #define WRITE(fd, b, l) write(fd, b, l) ^~~~~~~~~~~~~~~ midi.c:3546:2: note: in expansion of macro 'WRITE' WRITE(out_fd, c, 4); ^~~~~ midi.c:3700:2: note: in expansion of macro 'WRITELONG' WRITELONG(len); ^~~~~~~~~ midi.c: In function 'midi_load': midi.c:1285:39: warning: '%d' directive writing between 1 and 3 bytes into a region of size 2 [-Wformat-overflow=] sprintf(as->u.meter.meter[0].bot, "%d", m2); ^~ midi.c:1285:38: note: directive argument in the range [0, 255] sprintf(as->u.meter.meter[0].bot, "%d", m2); ^~~~ In file included from /usr/include/stdio.h:862:0, from midi.c:35: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 4 bytes into a destination of size 2 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ midi.c:1392:40: warning: '%d' directive writing between 1 and 3 bytes into a region of size 2 [-Wformat-overflow=] sprintf(as->u.meter.meter[0].bot, "%d", m2); ^~ midi.c:1392:39: note: directive argument in the range [0, 255] sprintf(as->u.meter.meter[0].bot, "%d", m2); ^~~~ In file included from /usr/include/stdio.h:862:0, from midi.c:35: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 4 bytes into a destination of size 2 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make: *** [: tclabc.o] Error 1 make: *** Waiting for unfinished jobs.... error: Bad exit status from /var/tmp/rpm-tmp.SJNAqH (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.SJNAqH (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff