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 aarch64 --nodeps /builddir/build/SPECS/xskat.spec'], chrootPath='/var/lib/mock/f43-build-58857599-6568726/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.pdyhs1qo:/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.pdyhs1qo:/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', '079cb50df39941a28b7b1869bfb9a1b7', '-D', '/var/lib/mock/f43-build-58857599-6568726/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pdyhs1qo:/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 aarch64 --nodeps /builddir/build/SPECS/xskat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/xskat-4.0.0-35.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/xskat.spec'], chrootPath='/var/lib/mock/f43-build-58857599-6568726/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.pdyhs1qo:/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.pdyhs1qo:/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', 'b7ecb6bf95064d8691be8eb8b30347bb', '-D', '/var/lib/mock/f43-build-58857599-6568726/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pdyhs1qo:/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 aarch64 --nodeps /builddir/build/SPECS/xskat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Hq8tsX Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.APoxbn + umask 022 + cd /builddir/build/BUILD/xskat-4.0.0-build + cd /builddir/build/BUILD/xskat-4.0.0-build + rm -rf xskat-4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xskat-4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xskat-4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/xskat-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + iconv -f iso8859-1 -t utf-8 CHANGES-de + touch -r CHANGES-de CHANGES-de.conv + mv -f CHANGES-de.conv CHANGES-de + iconv -f iso8859-1 -t utf-8 README-de + touch -r README-de README-de.conv + mv -f README-de.conv README-de + iconv -f iso8859-1 -t utf-8 README.IRC-de + touch -r README.IRC-de README.IRC-de.conv + mv -f README.IRC-de.conv README.IRC-de + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qIAB6X + umask 022 + cd /builddir/build/BUILD/xskat-4.0.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xskat-4.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup '/lt_cv_sys_global_symbol_to_cdecl=/s#(".*"|'\''.*'\'')#"sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --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 mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/share/X11/config make Makefiles make: Nothing to be done for 'Makefiles'. make includes make: Nothing to be done for 'includes'. make depend gccmakedep -- -I/usr/include -Dlinux -D__aarch64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_LANGUAGE=\"english\" -DDEFAULT_IRC_SERVER=\"irc.fu-berlin.de\" -- skat.c ramsch.c null.c bitmaps.c xio.c xdial.c irc.c text.c + make 'CDEBUGFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include -Dlinux -D__aarch64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_DEFAULT_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_LANGUAGE=\"english\" -DDEFAULT_IRC_SERVER=\"irc.fu-berlin.de\" -c -o skat.o skat.c skat.c: In function ‘left’: skat.c:33:5: warning: old-style function definition [-Wold-style-definition] 33 | int left(s) | ^~~~ skat.c:35:1: error: number of arguments doesn’t match prototype 35 | { | ^ In file included from skat.c:29: defs.h:128:5: error: prototype declaration 128 | int left(); | ^~~~ skat.c: In function ‘right’: skat.c:39:5: warning: old-style function definition [-Wold-style-definition] 39 | int right(s) | ^~~~~ skat.c:41:1: error: number of arguments doesn’t match prototype 41 | { | ^ defs.h:129:5: error: prototype declaration 129 | int right(); | ^~~~~ skat.c: In function ‘iscomp’: skat.c:45:5: warning: old-style function definition [-Wold-style-definition] 45 | int iscomp(s) | ^~~~~~ skat.c:47:1: error: number of arguments doesn’t match prototype 47 | { | ^ defs.h:130:5: error: prototype declaration 130 | int iscomp(); | ^~~~~~ skat.c: In function ‘swap’: skat.c:51:6: warning: old-style function definition [-Wold-style-definition] 51 | VOID swap(i,j) | ^~~~ skat.c:53:1: error: number of arguments doesn’t match prototype 53 | { | ^ defs.h:131:6: error: prototype declaration 131 | VOID swap(); | ^~~~ skat.c: In function ‘setrnd’: skat.c:61:6: warning: old-style function definition [-Wold-style-definition] 61 | VOID setrnd(s,v) | ^~~~~~ skat.c:63:1: error: number of arguments doesn’t match prototype 63 | { | ^ defs.h:132:6: error: prototype declaration 132 | VOID setrnd(); | ^~~~~~ skat.c:64:7: warning: ‘<<’ in boolean context, did you mean ‘<’? [-Wint-in-bool-context] 64 | *s=v<<1?v:-1; | ~^~~ skat.c: In function ‘rndval’: skat.c:67:5: warning: old-style function definition [-Wold-style-definition] 67 | int rndval(s,m) | ^~~~~~ skat.c:70:1: error: number of arguments doesn’t match prototype 70 | { | ^ defs.h:133:5: error: prototype declaration 133 | int rndval(); | ^~~~~~ skat.c: In function ‘rnd’: skat.c:79:5: warning: old-style function definition [-Wold-style-definition] 79 | int rnd(m) | ^~~ skat.c:81:1: error: number of arguments doesn’t match prototype 81 | { | ^ defs.h:134:5: error: prototype declaration 134 | int rnd(); | ^~~ skat.c:82:10: error: too many arguments to function ‘rndval’; expected 0, have 2 82 | return rndval(&seed[1],m); | ^~~~~~ ~~~~~~~~ skat.c:67:5: note: declared here 67 | int rndval(s,m) | ^~~~~~ skat.c: In function ‘synerr’: skat.c:85:6: warning: old-style function definition [-Wold-style-definition] 85 | VOID synerr(f,s) | ^~~~~~ skat.c:88:1: error: number of arguments doesn’t match prototype 88 | { | ^ defs.h:135:6: error: prototype declaration 135 | VOID synerr(); | ^~~~~~ skat.c: In function ‘get_game’: skat.c:131:7: error: too many arguments to function ‘exitus’; expected 0, have 1 131 | exitus(1); | ^~~~~~ ~ defs.h:345:6: note: declared here 345 | VOID exitus(); | ^~~~~~ skat.c:139:7: error: too many arguments to function ‘synerr’; expected 0, have 2 139 | synerr(f,""); | ^~~~~~ ~ skat.c:85:6: note: declared here 85 | VOID synerr(f,s) | ^~~~~~ skat.c:150:9: error: too many arguments to function ‘synerr’; expected 0, have 2 150 | synerr(f,s); | ^~~~~~ ~ skat.c:85:6: note: declared here 85 | VOID synerr(f,s) | ^~~~~~ skat.c:161:9: error: too many arguments to function ‘synerr’; expected 0, have 2 161 | synerr(f,s); | ^~~~~~ ~ skat.c:85:6: note: declared here 85 | VOID synerr(f,s) | ^~~~~~ skat.c:168:9: error: too many arguments to function ‘synerr’; expected 0, have 2 168 | synerr(f,s); | ^~~~~~ ~ skat.c:85:6: note: declared here 85 | VOID synerr(f,s) | ^~~~~~ skat.c:180:11: error: too many arguments to function ‘synerr’; expected 0, have 2 180 | synerr(f,s); | ^~~~~~ ~ skat.c:85:6: note: declared here 85 | VOID synerr(f,s) | ^~~~~~ skat.c:194:9: error: too many arguments to function ‘setrnd’; expected 0, have 2 194 | setrnd(&seed[0],savseed=num); | ^~~~~~ ~~~~~~~~ skat.c:61:6: note: declared here 61 | VOID setrnd(s,v) | ^~~~~~ skat.c:200:30: error: too many arguments to function ‘rndval’; expected 0, have 2 200 | for (i=0;i<32;i++) rndval(&seed[0],0); | ^~~~~~ ~~~~~~~~ skat.c:67:5: note: declared here 67 | int rndval(s,m) | ^~~~~~ skat.c:205:27: error: too many arguments to function ‘left’; expected 0, have 1 205 | hoerer=ausspl=left(geber); | ^~~~ ~~~~~ skat.c:33:5: note: declared here 33 | int left(s) | ^~~~ skat.c:206:19: error: too many arguments to function ‘right’; expected 0, have 1 206 | sager=right(geber); | ^~~~~ ~~~~~ skat.c:39:5: note: declared here 39 | int right(s) | ^~~~~ skat.c: In function ‘mischen’: skat.c:266:26: error: too many arguments to function ‘swap’; expected 0, have 2 266 | for (i=0;i<10;i++) swap(&cards[i],&cards[10+i]); | ^~~~ ~~~~~~~~~ skat.c:51:6: note: declared here 51 | VOID swap(i,j) | ^~~~ skat.c:267:26: error: too many arguments to function ‘swap’; expected 0, have 2 267 | for (i=0;i<10;i++) swap(&cards[10+i],&cards[20+i]); | ^~~~ ~~~~~~~~~~~~ skat.c:51:6: note: declared here 51 | VOID swap(i,j) | ^~~~ skat.c:271:26: error: too many arguments to function ‘swap’; expected 0, have 2 271 | for (i=0;i<10;i++) swap(&cards[i],&cards[20+i]); | ^~~~ ~~~~~~~~~ skat.c:51:6: note: declared here 51 | VOID swap(i,j) | ^~~~ skat.c:272:26: error: too many arguments to function ‘swap’; expected 0, have 2 272 | for (i=0;i<10;i++) swap(&cards[20+i],&cards[10+i]); | ^~~~ ~~~~~~~~~~~~ skat.c:51:6: note: declared here 51 | VOID swap(i,j) | ^~~~ skat.c:279:48: error: too many arguments to function ‘rndval’; expected 0, have 2 279 | for (i=0;i<32;i++) swap(&cards[i],&cards[rndval(&seed[0],31)]); | ^~~~~~ ~~~~~~~~ skat.c:67:5: note: declared here 67 | int rndval(s,m) | ^~~~~~ skat.c:279:26: error: too many arguments to function ‘swap’; expected 0, have 2 279 | for (i=0;i<32;i++) swap(&cards[i],&cards[rndval(&seed[0],31)]); | ^~~~ ~~~~~~~~~ skat.c:51:6: note: declared here 51 | VOID swap(i,j) | ^~~~ skat.c:280:26: error: too many arguments to function ‘swap’; expected 0, have 2 280 | for (i=0;i<10;i++) swap(&cards[geber*10+i],&cards[i]); | ^~~~ ~~~~~~~~~~~~~~~~~~ skat.c:51:6: note: declared here 51 | VOID swap(i,j) | ^~~~ skat.c:281:26: error: too many arguments to function ‘swap’; expected 0, have 2 281 | for (i=0;i<10;i++) swap(&cards[hoerer*10+i],&cards[geber==1?i:10+i]); | ^~~~ ~~~~~~~~~~~~~~~~~~~ skat.c:51:6: note: declared here 51 | VOID swap(i,j) | ^~~~ skat.c:283:28: error: too many arguments to function ‘swap’; expected 0, have 2 283 | for (i=0;i<10;i++) swap(&cards[i],&cards[10+i]); | ^~~~ ~~~~~~~~~ skat.c:51:6: note: declared here 51 | VOID swap(i,j) | ^~~~ skat.c:284:28: error: too many arguments to function ‘swap’; expected 0, have 2 284 | for (i=0;i<10;i++) swap(&cards[10+i],&cards[20+i]); | ^~~~ ~~~~~~~~~~~~ skat.c:51:6: note: declared here 51 | VOID swap(i,j) | ^~~~ skat.c:287:28: error: too many arguments to function ‘swap’; expected 0, have 2 287 | for (i=0;i<10;i++) swap(&cards[i],&cards[20+i]); | ^~~~ ~~~~~~~~~ skat.c:51:6: note: declared here 51 | VOID swap(i,j) | ^~~~ skat.c:288:28: error: too many arguments to function ‘swap’; expected 0, have 2 288 | for (i=0;i<10;i++) swap(&cards[20+i],&cards[10+i]); | ^~~~ ~~~~~~~~~~~~ skat.c:51:6: note: declared here 51 | VOID swap(i,j) | ^~~~ skat.c:295:3: error: too many arguments to function ‘setrnd’; expected 0, have 2 295 | setrnd(&seed[1],seed[0]); | ^~~~~~ ~~~~~~~~ skat.c:61:6: note: declared here 61 | VOID setrnd(s,v) | ^~~~~~ skat.c: In function ‘lower’: skat.c:306:5: warning: old-style function definition [-Wold-style-definition] 306 | int lower(c1,c2,n) | ^~~~~ skat.c:308:1: error: number of arguments doesn’t match prototype 308 | { | ^ defs.h:139:5: error: prototype declaration 139 | int lower(); | ^~~~~ skat.c: In function ‘sort’: skat.c:338:6: warning: old-style function definition [-Wold-style-definition] 338 | VOID sort(sn) | ^~~~ skat.c:340:1: error: number of arguments doesn’t match prototype 340 | { | ^ defs.h:140:6: error: prototype declaration 140 | VOID sort(); | ^~~~ skat.c:395:13: error: too many arguments to function ‘lower’; expected 0, have 3 395 | lower(cards[i],cards[j],sort2[sn])) && | ^~~~~ ~~~~~~~~ skat.c:306:5: note: declared here 306 | int lower(c1,c2,n) | ^~~~~ skat.c:397:9: error: too many arguments to function ‘swap’; expected 0, have 2 397 | swap(&cards[i],&cards[j]); | ^~~~ ~~~~~~~~~ skat.c:51:6: note: declared here 51 | VOID swap(i,j) | ^~~~ skat.c: In function ‘calc_rw’: skat.c:407:6: warning: old-style function definition [-Wold-style-definition] 407 | VOID calc_rw(s) | ^~~~~~~ skat.c:409:1: error: number of arguments doesn’t match prototype 409 | { | ^ defs.h:141:6: error: prototype declaration 141 | VOID calc_rw(); | ^~~~~~~ skat.c:464:18: error: too many arguments to function ‘testnull’; expected 0, have 1 464 | if (!maxrw[s]) testnull(s); | ^~~~~~~~ ~ defs.h:92:6: note: declared here 92 | VOID testnull(); | ^~~~~~~~ skat.c:486:16: error: too many arguments to function ‘rnd’; expected 0, have 1 486 | if (stg<0 && rnd(3)<-stg) { | ^~~ ~ skat.c:79:5: note: declared here 79 | int rnd(m) | ^~~ skat.c:488:30: error: too many arguments to function ‘rnd’; expected 0, have 1 488 | else if (maxrw[s]==17 || rnd(7)<-stg) maxrw[s]=2*rwert[tr]; | ^~~ ~ skat.c:79:5: note: declared here 79 | int rnd(m) | ^~~ skat.c: In function ‘do_geben’: skat.c:504:28: error: too many arguments to function ‘calc_desk’; expected 0, have 1 504 | for (sn=0;sn1 || iscomp(spieler))) revolutionscr(); | ^~~~~~ ~~~~~~~ skat.c:45:5: note: declared here 45 | int iscomp(s) | ^~~~~~ skat.c: In function ‘spielphase’: skat.c:1370:7: error: too many arguments to function ‘di_info’; expected 0, have 2 1370 | di_info(sn,-2); | ^~~~~~~ ~~ defs.h:268:6: note: declared here 268 | VOID di_info(); | ^~~~~~~ skat.c:1371:7: error: too many arguments to function ‘calc_desk’; expected 0, have 1 1371 | calc_desk(sn); | ^~~~~~~~~ ~~ defs.h:337:6: note: declared here 337 | VOID calc_desk(); | ^~~~~~~~~ skat.c:1378:5: error: too many arguments to function ‘sort’; expected 0, have 1 1378 | sort(sn); | ^~~~ ~~ skat.c:338:6: note: declared here 338 | VOID sort(sn) | ^~~~ skat.c:1380:28: error: too many arguments to function ‘initscr’; expected 0, have 2 1380 | for (sn=0;sn3+rnd(1); | ^~~ ~ skat.c:79:5: note: declared here 79 | int rnd(m) | ^~~ skat.c: In function ‘gewinnstich’: skat.c:2203:5: warning: old-style function definition [-Wold-style-definition] 2203 | int gewinnstich(f) | ^~~~~~~~~~~ skat.c:2205:1: error: number of arguments doesn’t match prototype 2205 | { | ^ defs.h:194:5: error: prototype declaration 194 | int gewinnstich(); | ^~~~~~~~~~~ skat.c:2224:6: error: too many arguments to function ‘higher’; expected 0, have 2 2224 | p=!higher(stcd[0],stcd[1]); | ^~~~~~ ~~~~~~~ skat.c:1383:5: note: declared here 1383 | int higher(c1,c2) | ^~~~~~ skat.c:2228:10: error: too many arguments to function ‘higher’; expected 0, have 2 2228 | if (!higher(stcd[p],ci) || g) { | ^~~~~~ ~~~~~~~ skat.c:1383:5: note: declared here 1383 | int higher(c1,c2) | ^~~~~~ skat.c: In function ‘uebernehmen’: skat.c:2242:5: warning: old-style function definition [-Wold-style-definition] 2242 | int uebernehmen(p,h,n) | ^~~~~~~~~~~ skat.c:2244:1: error: number of arguments doesn’t match prototype 2244 | { | ^ defs.h:195:5: error: prototype declaration 195 | int uebernehmen(); | ^~~~~~~~~~~ skat.c:2248:31: error: too many arguments to function ‘left’; expected 0, have 1 2248 | if (is && vmh==1 && !hatnfb[left(spieler)][trumpf] && | ^~~~ ~~~~~~~ skat.c:33:5: note: declared here 33 | int left(s) | ^~~~ skat.c:2251:15: error: too many arguments to function ‘left’; expected 0, have 1 2251 | hatnfb[left(spieler)][stcd[0]>>3])) h=0; | ^~~~ ~~~~~~~ skat.c:33:5: note: declared here 33 | int left(s) | ^~~~ skat.c:2253:3: error: too many arguments to function ‘calc_inhand’; expected 0, have 1 2253 | calc_inhand((ausspl+vmh)%3); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~ skat.c:845:6: note: declared here 845 | VOID calc_inhand(sn) | ^~~~~~~~~~~ skat.c:2256:10: error: too many arguments to function ‘higher’; expected 0, have 2 2256 | if (!higher(stcd[p],ci)) { | ^~~~~~ ~~~~~~~ skat.c:1383:5: note: declared here 1383 | int higher(c1,c2) | ^~~~~~ skat.c:2263:13: error: too many arguments to function ‘calc_high’; expected 0, have 2 2263 | calc_high(1,1); | ^~~~~~~~~ ~ skat.c:2119:6: note: declared here 2119 | VOID calc_high(f,s) | ^~~~~~~~~ skat.c:2294:21: error: too many arguments to function ‘zweihoechste’; expected 0, have 1 2294 | if (!h && zweihoechste(ci)) j=i+1; | ^~~~~~~~~~~~ ~~ skat.c:2134:5: note: declared here 2134 | int zweihoechste(ci) | ^~~~~~~~~~~~ skat.c:2300:24: error: too many arguments to function ‘zweihoechste’; expected 0, have 1 2300 | if ((h || !zweihoechste(cj)) && ((wi4 && !hatnfb[left(spieler)][trumpf] && | ^~~~ ~~~~~~~ skat.c:33:5: note: declared here 33 | int left(s) | ^~~~ skat.c:2317:17: error: too many arguments to function ‘left’; expected 0, have 1 2317 | hatnfb[left(spieler)][stcd[0]>>3])) j=0; | ^~~~ ~~~~~~~ skat.c:33:5: note: declared here 33 | int left(s) | ^~~~ skat.c: In function ‘schmieren’: skat.c:2330:3: error: too many arguments to function ‘calc_high’; expected 0, have 2 2330 | calc_high(2,0); | ^~~~~~~~~ ~ skat.c:2119:6: note: declared here 2119 | VOID calc_high(f,s) | ^~~~~~~~~ skat.c: In function ‘einstechen’: skat.c:2355:29: error: too many arguments to function ‘uebernehmen’; expected 0, have 3 2355 | if (!cardw[stcd[0]&7] || !uebernehmen(0,0,0)) return 0; | ^~~~~~~~~~~ ~ skat.c:2242:5: note: declared here 2242 | int uebernehmen(p,h,n) | ^~~~~~~~~~~ skat.c: In function ‘niedrighoch’: skat.c:2362:5: warning: old-style function definition [-Wold-style-definition] 2362 | int niedrighoch(f) | ^~~~~~~~~~~ skat.c:2364:1: error: number of arguments doesn’t match prototype 2364 | { | ^ defs.h:198:5: error: prototype declaration 198 | int niedrighoch(); | ^~~~~~~~~~~ skat.c:2370:5: error: too many arguments to function ‘calc_high’; expected 0, have 2 2370 | calc_high(1,0); | ^~~~~~~~~ ~ skat.c:2119:6: note: declared here 2119 | VOID calc_high(f,s) | ^~~~~~~~~ skat.c: In function ‘ueberdoerfer’: skat.c:2392:17: error: too many arguments to function ‘left’; expected 0, have 1 2392 | (!hatnfb[left(spieler)][trumpf] || | ^~~~ ~~~~~~~ skat.c:33:5: note: declared here 33 | int left(s) | ^~~~ skat.c:2393:17: error: too many arguments to function ‘right’; expected 0, have 1 2393 | !hatnfb[right(spieler)][trumpf])) | ^~~~~ ~~~~~~~ skat.c:39:5: note: declared here 39 | int right(s) | ^~~~~ skat.c:2395:3: error: too many arguments to function ‘calc_high’; expected 0, have 2 2395 | calc_high(1,0); | ^~~~~~~~~ ~ skat.c:2119:6: note: declared here 2119 | VOID calc_high(f,s) | ^~~~~~~~~ skat.c: In function ‘bubeausspielen’: skat.c:2413:3: error: too many arguments to function ‘calc_inhand’; expected 0, have 1 2413 | calc_inhand(spieler); | ^~~~~~~~~~~ ~~~~~~~ skat.c:845:6: note: declared here 845 | VOID calc_inhand(sn) | ^~~~~~~~~~~ skat.c:2415:7: error: too many arguments to function ‘rnd’; expected 0, have 1 2415 | c=rnd(1)?1:rnd(1)?2:3; | ^~~ ~ skat.c:79:5: note: declared here 79 | int rnd(m) | ^~~ skat.c:2415:16: error: too many arguments to function ‘rnd’; expected 0, have 1 2415 | c=rnd(1)?1:rnd(1)?2:3; | ^~~ ~ skat.c:79:5: note: declared here 79 | int rnd(m) | ^~~ skat.c:2418:7: error: too many arguments to function ‘rnd’; expected 0, have 1 2418 | c=rnd(1)?3:2; | ^~~ ~ skat.c:79:5: note: declared here 79 | int rnd(m) | ^~~ skat.c:2421:7: error: too many arguments to function ‘rnd’; expected 0, have 1 2421 | c=rnd(7)?3:1; | ^~~ ~ skat.c:79:5: note: declared here 79 | int rnd(m) | ^~~ skat.c:2424:7: error: too many arguments to function ‘rnd’; expected 0, have 1 2424 | c=rnd(1)?2:1; | ^~~ ~ skat.c:79:5: note: declared here 79 | int rnd(m) | ^~~ skat.c: In function ‘trumpfausspielen’: skat.c:2442:6: error: too many arguments to function ‘left’; expected 0, have 1 2442 | g1=left(spieler); | ^~~~ ~~~~~~~ skat.c:33:5: note: declared here 33 | int left(s) | ^~~~ skat.c:2443:6: error: too many arguments to function ‘right’; expected 0, have 1 2443 | g2=right(spieler); | ^~~~~ ~~~~~~~ skat.c:39:5: note: declared here 39 | int right(s) | ^~~~~ skat.c:2447:9: error: too many arguments to function ‘niedrighoch’; expected 0, have 1 2447 | if (niedrighoch(trumpf)) return 1; | ^~~~~~~~~~~ ~~~~~~ skat.c:2362:5: note: declared here 2362 | int niedrighoch(f) | ^~~~~~~~~~~ skat.c:2454:3: error: too many arguments to function ‘calc_high’; expected 0, have 2 2454 | calc_high(1,0); | ^~~~~~~~~ ~ skat.c:2119:6: note: declared here 2119 | VOID calc_high(f,s) | ^~~~~~~~~ skat.c:2478:7: error: too many arguments to function ‘calc_inhand’; expected 0, have 1 2478 | calc_inhand(spieler); | ^~~~~~~~~~~ ~~~~~~~ skat.c:845:6: note: declared here 845 | VOID calc_inhand(sn) | ^~~~~~~~~~~ skat.c:2508:14: error: too many arguments to function ‘niedrighoch’; expected 0, have 1 2508 | else niedrighoch(j); | ^~~~~~~~~~~ ~ skat.c:2362:5: note: declared here 2362 | int niedrighoch(f) | ^~~~~~~~~~~ skat.c: In function ‘hochausspielen’: skat.c:2520:3: error: too many arguments to function ‘calc_high’; expected 0, have 2 2520 | calc_high(2,0); | ^~~~~~~~~ ~ skat.c:2119:6: note: declared here 2119 | VOID calc_high(f,s) | ^~~~~~~~~ skat.c: In function ‘schenke’: skat.c:2565:41: error: too many arguments to function ‘zehnblank’; expected 0, have 1 2565 | if (!wi && !gespcd[(ci&~7)|AS] && zehnblank(ci) && stich<=6) wi+=4; | ^~~~~~~~~ ~~ defs.h:204:5: note: declared here 204 | int zehnblank(); | ^~~~~~~~~ skat.c:2566:41: error: too many arguments to function ‘zehnblank’; expected 0, have 1 2566 | if (!wj && !gespcd[(cj&~7)|AS] && zehnblank(cj) && stich<=6) wj+=4; | ^~~~~~~~~ ~~ defs.h:204:5: note: declared here 204 | int zehnblank(); | ^~~~~~~~~ skat.c: In function ‘zehnblank’: skat.c:2592:5: warning: old-style function definition [-Wold-style-definition] 2592 | int zehnblank(ci) | ^~~~~~~~~ skat.c:2594:1: error: number of arguments doesn’t match prototype 2594 | { | ^ defs.h:204:5: error: prototype declaration 204 | int zehnblank(); | ^~~~~~~~~ skat.c: In function ‘fabwerfen’: skat.c:2625:3: error: too many arguments to function ‘calc_high’; expected 0, have 2 2625 | calc_high(1,0); | ^~~~~~~~~ ~ skat.c:2119:6: note: declared here 2119 | VOID calc_high(f,s) | ^~~~~~~~~ skat.c: In function ‘abwerfen’: skat.c:2679:21: error: too many arguments to function ‘zehnblank’; expected 0, have 1 2679 | if (wi<4 && zehnblank(ci) && stich<=7) wi+=wi?2:6; | ^~~~~~~~~ ~~ skat.c:2592:5: note: declared here 2592 | int zehnblank(ci) | ^~~~~~~~~ skat.c:2680:21: error: too many arguments to function ‘zehnblank’; expected 0, have 1 2680 | if (wj<4 && zehnblank(cj) && stich<=7) wj+=wj?2:6; | ^~~~~~~~~ ~~ skat.c:2592:5: note: declared here 2592 | int zehnblank(ci) | ^~~~~~~~~ skat.c:2687:25: error: too many arguments to function ‘left’; expected 0, have 1 2687 | mi=spieler==left(ausspl)?2:1; | ^~~~ ~~~~~~ skat.c:33:5: note: declared here 33 | int left(s) | ^~~~ skat.c:2710:25: error: too many arguments to function ‘swap’; expected 0, have 2 2710 | if (h==2) swap(&wi,&wj); | ^~~~ ~~~ skat.c:51:6: note: declared here 51 | VOID swap(i,j) | ^~~~ skat.c:2717:43: error: too many arguments to function ‘left’; expected 0, have 1 2717 | if (as[ci>>3]) wi-=spieler==left(ausspl)?1:-1; | ^~~~ ~~~~~~ skat.c:33:5: note: declared here 33 | int left(s) | ^~~~ skat.c:2718:43: error: too many arguments to function ‘left’; expected 0, have 1 2718 | if (as[cj>>3]) wj-=spieler==left(ausspl)?1:-1; | ^~~~ ~~~~~~ skat.c:33:5: note: declared here 33 | int left(s) | ^~~~ skat.c:2720:26: error: too many arguments to function ‘left’; expected 0, have 1 2720 | if (spieler==left(ausspl) || trumpf==4) swap(&wi,&wj); | ^~~~ ~~~~~~ skat.c:33:5: note: declared here 33 | int left(s) | ^~~~ skat.c:2720:53: error: too many arguments to function ‘swap’; expected 0, have 2 2720 | if (spieler==left(ausspl) || trumpf==4) swap(&wi,&wj); | ^~~~ ~~~ skat.c:51:6: note: declared here 51 | VOID swap(i,j) | ^~~~ skat.c:2733:15: error: too many arguments to function ‘swap’; expected 0, have 2 2733 | swap(&wi,&wj); | ^~~~ ~~~ skat.c:51:6: note: declared here 51 | VOID swap(i,j) | ^~~~ skat.c: In function ‘buttern’: skat.c:2765:6: error: too many arguments to function ‘left’; expected 0, have 1 2765 | se=left(ausspl); | ^~~~ ~~~~~~ skat.c:33:5: note: declared here 33 | int left(s) | ^~~~ skat.c:2766:22: error: too many arguments to function ‘right’; expected 0, have 1 2766 | mi=spieler==ausspl?right(ausspl):ausspl; | ^~~~~ ~~~~~~ skat.c:39:5: note: declared here 39 | int right(s) | ^~~~~ skat.c:2771:3: error: too many arguments to function ‘calc_high’; expected 0, have 2 2771 | calc_high(2,0); | ^~~~~~~~~ ~ skat.c:2119:6: note: declared here 2119 | VOID calc_high(f,s) | ^~~~~~~~~ skat.c:2777:34: error: too many arguments to function ‘rnd’; expected 0, have 1 2777 | gespcd[3<<3|BUBE]==2 && rnd(1)) || | ^~~ ~ skat.c:79:5: note: declared here 79 | int rnd(m) | ^~~ skat.c:2779:9: error: too many arguments to function ‘higher’; expected 0, have 2 2779 | higher(stcd[0],high[fb]) || | ^~~~~~ ~~~~~~~ skat.c:1383:5: note: declared here 1383 | int higher(c1,c2) | ^~~~~~ skat.c:2786:32: error: too many arguments to function ‘rnd’; expected 0, have 1 2786 | (cardw[stcd[0]&7]>4 && rnd(1))) return 0; | ^~~ ~ skat.c:79:5: note: declared here 79 | int rnd(m) | ^~~ skat.c:2787:27: error: too many arguments to function ‘rnd’; expected 0, have 1 2787 | if (butternok) return rnd(1); | ^~~ ~ skat.c:79:5: note: declared here 79 | int rnd(m) | ^~~ skat.c:2788:15: error: too many arguments to function ‘rnd’; expected 0, have 1 2788 | butternok=rnd(1); | ^~~ ~ skat.c:79:5: note: declared here 79 | int rnd(m) | ^~~ skat.c:2791:7: error: too many arguments to function ‘higher’; expected 0, have 2 2791 | if (higher(stcd[0],high[trumpf]) && higher(stcd[0],high[fb])) return 1; | ^~~~~~ ~~~~~~~ skat.c:1383:5: note: declared here 1383 | int higher(c1,c2) | ^~~~~~ skat.c:2791:39: error: too many arguments to function ‘higher’; expected 0, have 2 2791 | if (higher(stcd[0],high[trumpf]) && higher(stcd[0],high[fb])) return 1; | ^~~~~~ ~~~~~~~ skat.c:1383:5: note: declared here 1383 | int higher(c1,c2) | ^~~~~~ skat.c:2792:7: error: too many arguments to function ‘higher’; expected 0, have 2 2792 | if (higher(stcd[0],high[fb]) && !hatnfb[spieler][fb]) { | ^~~~~~ ~~~~~~~ skat.c:1383:5: note: declared here 1383 | int higher(c1,c2) | ^~~~~~ skat.c: In function ‘schnippeln’: skat.c:2813:5: warning: old-style function definition [-Wold-style-definition] 2813 | int schnippeln(f) | ^~~~~~~~~~ skat.c:2815:1: error: number of arguments doesn’t match prototype 2815 | { | ^ defs.h:209:5: error: prototype declaration 209 | int schnippeln(); | ^~~~~~~~~~ skat.c:2841:8: error: too many arguments to function ‘higher’; expected 0, have 2 2841 | hi=f?higher(stcd[0],stcd[1])^(spieler==ausspl):cards[possi[j]]: skat.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.qIAB6X (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qIAB6X (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M b7ecb6bf95064d8691be8eb8b30347bb -D /var/lib/mock/f43-build-58857599-6568726/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.pdyhs1qo:/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 aarch64 --nodeps /builddir/build/SPECS/xskat.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 b7ecb6bf95064d8691be8eb8b30347bb -D /var/lib/mock/f43-build-58857599-6568726/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.pdyhs1qo:/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 aarch64 --nodeps /builddir/build/SPECS/xskat.spec'