Mock Version: 6.1 Mock Version: 6.1 Mock Version: 6.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-gsm.spec'], chrootPath='/var/lib/mock/f43-build-58991099-6569991/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0utrnaf1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0utrnaf1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'eedecdaf4020415e8880e15fa697db20', '-D', '/var/lib/mock/f43-build-58991099-6569991/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0utrnaf1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-gsm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1737072000 Wrote: /builddir/build/SRPMS/mingw-gsm-1.0.16-20.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-gsm.spec'], chrootPath='/var/lib/mock/f43-build-58991099-6569991/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0utrnaf1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0utrnaf1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd8a46e0df07d43908acd8849bf6adbb0', '-D', '/var/lib/mock/f43-build-58991099-6569991/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0utrnaf1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-gsm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1737072000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Ed2TnI Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wLFszG + umask 022 + cd /builddir/build/BUILD/mingw-gsm-1.0.16-build + cd /builddir/build/BUILD/mingw-gsm-1.0.16-build + rm -rf mingw-gsm-1.0.16 + /usr/bin/mkdir -p mingw-gsm-1.0.16 + cd mingw-gsm-1.0.16 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gsm-1.0.16.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd gsm-1.0-pl16 ~/build/BUILD/mingw-gsm-1.0.16-build/mingw-gsm-1.0.16/gsm-1.0-pl16 ~/build/BUILD/mingw-gsm-1.0.16-build/mingw-gsm-1.0.16 + echo 'Patch #1 (gsm-warnings.patch):' Patch #1 (gsm-warnings.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .warn --fuzz=0 patching file add-test/add_test.c patching file src/toast.c Patch #2 (gsm-64bit.patch): + echo 'Patch #2 (gsm-64bit.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .64bit --fuzz=0 patching file inc/private.h Patch #3 (gsm-mingw.patch): + echo 'Patch #3 (gsm-mingw.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile patching file inc/config.h ~/build/BUILD/mingw-gsm-1.0.16-build/mingw-gsm-1.0.16 + popd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YM8xGF + umask 022 + cd /builddir/build/BUILD/mingw-gsm-1.0.16-build + cd mingw-gsm-1.0.16 + cp -a gsm-1.0-pl16 build_win32 + cp -a gsm-1.0-pl16 build_win64 + pushd build_win32 ~/build/BUILD/mingw-gsm-1.0.16-build/mingw-gsm-1.0.16/build_win32 ~/build/BUILD/mingw-gsm-1.0.16-build/mingw-gsm-1.0.16 + make -j12 all CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar RANLIB=i686-w64-mingw32-ranlib 'RPM_CFLAGS= -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4' 'RPM_LDFLAGS=-fstack-protector -lssp' i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/add.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/code.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/debug.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/decode.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/long_term.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/lpc.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/preprocess.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/rpe.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/gsm_destroy.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/gsm_decode.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/gsm_encode.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/gsm_explode.c In file included from src/code.c:9: ./inc/config.h:12:41: warning: '/*' within comment [-Wcomment] 12 | /*efine SIGHANDLER_T int /* signal handlers are void */ ./inc/config.h:13:41: warning: '/*' within comment [-Wcomment] 13 | /*efine HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */ ./inc/config.h:22:41: warning: '/*' within comment [-Wcomment] 22 | /*efine HAS__FSETMODE 1 /* _fsetmode -- set file mode */ ./inc/config.h:25:41: warning: '/*' within comment [-Wcomment] 25 | /*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */ ./inc/config.h:29:41: warning: '/*' within comment [-Wcomment] 29 | /*efine HAS_UTIMES 1 /* use utimes() syscall instead */ ./inc/config.h:32:41: warning: '/*' within comment [-Wcomment] 32 | /*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */ In file included from src/gsm_destroy.c:10: ./inc/config.h:12:41: warning: '/*' within comment [-Wcomment] 12 | /*efine SIGHANDLER_T int /* signal handlers are void */ ./inc/config.h:13:41: warning: '/*' within comment [-Wcomment] 13 | /*efine HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */ ./inc/config.h:22:41: warning: '/*' within comment [-Wcomment] 22 | /*efine HAS__FSETMODE 1 /* _fsetmode -- set file mode */ ./inc/config.h:25:41: warning: '/*' within comment [-Wcomment] 25 | /*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */ ./inc/config.h:29:41: warning: '/*' within comment [-Wcomment] 29 | /*efine HAS_UTIMES 1 /* use utimes() syscall instead */ ./inc/config.h:32:41: warning: '/*' within comment [-Wcomment] 32 | /*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */ src/debug.c: In function 'gsm_debug_longword': src/debug.c:66:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 66 | fprintf(stderr, "%s: %d\n", name, (long)value ); | ~^ ~~~~~~~~~~~ | | | | int long int | %ld src/debug.c: In function 'gsm_debug_word': src/debug.c:73:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 73 | fprintf(stderr, "%s: %d\n", name, (long)value); | ~^ ~~~~~~~~~~~ | | | | int long int | %ld i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/gsm_implode.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/gsm_create.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/gsm_print.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/gsm_option.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/short_term.c In file included from src/gsm_create.c:9: ./inc/config.h:12:41: warning: '/*' within comment [-Wcomment] 12 | /*efine SIGHANDLER_T int /* signal handlers are void */ ./inc/config.h:13:41: warning: '/*' within comment [-Wcomment] 13 | /*efine HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */ ./inc/config.h:22:41: warning: '/*' within comment [-Wcomment] 22 | /*efine HAS__FSETMODE 1 /* _fsetmode -- set file mode */ ./inc/config.h:25:41: warning: '/*' within comment [-Wcomment] 25 | /*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */ ./inc/config.h:29:41: warning: '/*' within comment [-Wcomment] 29 | /*efine HAS_UTIMES 1 /* use utimes() syscall instead */ ./inc/config.h:32:41: warning: '/*' within comment [-Wcomment] 32 | /*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */ src/gsm_create.c:7:25: warning: 'ident' defined but not used [-Wunused-const-variable=] 7 | static char const ident[] = "$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_create.c,v 1.4 1996/07/02 09:59:05 jutta Exp $"; | ^~~~~ i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/table.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/toast.c i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/toast_lin.c In file included from ./inc/toast.h:12, from src/toast_lin.c:9: ./inc/config.h:12:41: warning: '/*' within comment [-Wcomment] 12 | /*efine SIGHANDLER_T int /* signal handlers are void */ ./inc/config.h:13:41: warning: '/*' within comment [-Wcomment] 13 | /*efine HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */ ./inc/config.h:22:41: warning: '/*' within comment [-Wcomment] 22 | /*efine HAS__FSETMODE 1 /* _fsetmode -- set file mode */ ./inc/config.h:25:41: warning: '/*' within comment [-Wcomment] 25 | /*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */ ./inc/config.h:29:41: warning: '/*' within comment [-Wcomment] 29 | /*efine HAS_UTIMES 1 /* use utimes() syscall instead */ ./inc/config.h:32:41: warning: '/*' within comment [-Wcomment] 32 | /*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */ In file included from ./inc/toast.h:12, from src/toast.c:11: ./inc/config.h:12:41: warning: '/*' within comment [-Wcomment] 12 | /*efine SIGHANDLER_T int /* signal handlers are void */ ./inc/config.h:13:41: warning: '/*' within comment [-Wcomment] 13 | /*efine HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */ ./inc/config.h:22:41: warning: '/*' within comment [-Wcomment] 22 | /*efine HAS__FSETMODE 1 /* _fsetmode -- set file mode */ ./inc/config.h:25:41: warning: '/*' within comment [-Wcomment] 25 | /*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */ ./inc/config.h:29:41: warning: '/*' within comment [-Wcomment] 29 | /*efine HAS_UTIMES 1 /* use utimes() syscall instead */ ./inc/config.h:32:41: warning: '/*' within comment [-Wcomment] 32 | /*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */ i686-w64-mingw32-gcc -c -D_REENTRANT -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 src/toast_ulaw.c In file included from ./inc/toast.h:12, from src/toast_ulaw.c:9: ./inc/config.h:12:41: warning: '/*' within comment [-Wcomment] 12 | /*efine SIGHANDLER_T int /* signal handlers are void */ ./inc/config.h:13:41: warning: '/*' within comment [-Wcomment] 13 | /*efine HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */ ./inc/config.h:22:41: warning: '/*' within comment [-Wcomment] 22 | /*efine HAS__FSETMODE 1 /* _fsetmode -- set file mode */ ./inc/config.h:25:41: warning: '/*' within comment [-Wcomment] 25 | /*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */ ./inc/config.h:29:41: warning: '/*' within comment [-Wcomment] 29 | /*efine HAS_UTIMES 1 /* use utimes() syscall instead */ ./inc/config.h:32:41: warning: '/*' within comment [-Wcomment] 32 | /*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */ src/toast_lin.c: In function 'linear_input': src/toast_lin.c:16:5: warning: old-style function definition [-Wold-style-definition] 16 | int linear_input (buf) gsm_signal * buf; | ^~~~~~~~~~~~ src/toast.c: In function 'catch_signals': src/toast.c:222:27: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 222 | signal( SIGINT, fun ); | ^~~ | | | void (*)(void) In file included from ./inc/toast.h:19: /usr/i686-w64-mingw32/sys-root/mingw/include/signal.h:60:56: note: expected '__p_sig_fn_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 60 | __p_sig_fn_t __cdecl signal(int _SigNum,__p_sig_fn_t _Func); | ~~~~~~~~~~~~~^~~~~ /usr/i686-w64-mingw32/sys-root/mingw/include/signal.h:48:24: note: '__p_sig_fn_t' declared here 48 | typedef void (*__p_sig_fn_t)(int); | ^~~~~~~~~~~~ src/toast.c:228:27: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 228 | signal( SIGTERM, fun ); | ^~~ | | | void (*)(void) /usr/i686-w64-mingw32/sys-root/mingw/include/signal.h:60:56: note: expected '__p_sig_fn_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 60 | __p_sig_fn_t __cdecl signal(int _SigNum,__p_sig_fn_t _Func); | ~~~~~~~~~~~~~^~~~~ /usr/i686-w64-mingw32/sys-root/mingw/include/signal.h:48:24: note: '__p_sig_fn_t' declared here 48 | typedef void (*__p_sig_fn_t)(int); | ^~~~~~~~~~~~ src/toast.c: In function 'normalname': src/toast.c:275:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 275 | if (s = suffix(p, cut)) strcpy(s, want); | ^ src/toast.c: In function 'okay_as_input': src/toast.c:421:40: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Wformat=] 421 | "%s: \"%s\" has %s other link%s -- unchanged.\n", | ~^ | | | char * | %d 422 | progname,name,st->st_nlink - 1,"s" + (st->st_nlink<=2)); | ~~~~~~~~~~~~~~~~ | | | int src/toast.c: In function 'process': src/toast.c:629:13: warning: unused variable 'step' [-Wunused-variable] 629 | int step = 0; | ^~~~ src/toast.c: In function 'main': src/toast.c:784:9: warning: label 'usage' defined but not used [-Wunused-label] 784 | usage: | ^~~~~ make: *** [Makefile:279: src/toast.o] Error 1 make: *** Waiting for unfinished jobs.... error: Bad exit status from /var/tmp/rpm-tmp.YM8xGF (%build) Bad exit status from /var/tmp/rpm-tmp.YM8xGF (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M d8a46e0df07d43908acd8849bf6adbb0 -D /var/lib/mock/f43-build-58991099-6569991/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.0utrnaf1:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-gsm.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M d8a46e0df07d43908acd8849bf6adbb0 -D /var/lib/mock/f43-build-58991099-6569991/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.0utrnaf1:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/mingw-gsm.spec'