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 ppc64le --nodeps /builddir/build/SPECS/ttcp.spec'], chrootPath='/var/lib/mock/f43-build-58963730-6569496/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.1l5ot6o5:/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.1l5ot6o5:/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', '196db74172df471da96a3ee5548466e3', '-D', '/var/lib/mock/f43-build-58963730-6569496/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1l5ot6o5:/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 ppc64le --nodeps /builddir/build/SPECS/ttcp.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/ttcp-1.12-50.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/ttcp.spec'], chrootPath='/var/lib/mock/f43-build-58963730-6569496/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.1l5ot6o5:/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.1l5ot6o5:/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', '9bd614aee653462b9392c9fcb60a9fd0', '-D', '/var/lib/mock/f43-build-58963730-6569496/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1l5ot6o5:/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 ppc64le --nodeps /builddir/build/SPECS/ttcp.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.PrnrQ5 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.68BjNz + umask 022 + cd /builddir/build/BUILD/ttcp-1.12-build + cd /builddir/build/BUILD/ttcp-1.12-build + rm -rf ttcp-1.12 + /usr/bin/mkdir -p ttcp-1.12 + cd ttcp-1.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -a /builddir/build/SOURCES/ttcp.c /builddir/build/SOURCES/ttcp.1 /builddir/build/SOURCES/README . Patch #0 (ttcp-big.patch): + echo 'Patch #0 (ttcp-big.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .big --fuzz=0 patching file ttcp.c Patch #1 (ttcp-malloc.patch): + echo 'Patch #1 (ttcp-malloc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .malloc --fuzz=0 patching file ttcp.c Patch #2 (ttcp-GNU.patch): + echo 'Patch #2 (ttcp-GNU.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .GNU --fuzz=0 patching file ttcp.c Patch #3 (ttcp-man.patch): + echo 'Patch #3 (ttcp-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .man --fuzz=0 patching file ttcp.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.V9rYM6 + umask 022 + cd /builddir/build/BUILD/ttcp-1.12-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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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 ttcp-1.12 + gcc -o ttcp -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ttcp.c ttcp.c: In function ‘main’: ttcp.c:343:17: error: too many arguments to function ‘err’; expected 0, have 1 343 | err("malloc"); | ^~~ ~~~~~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:363:25: error: too many arguments to function ‘err’; expected 0, have 1 363 | err("socket"); | ^~~ ~~~~~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:374:33: error: too many arguments to function ‘err’; expected 0, have 1 374 | err("unknown device"); | ^~~ ~~~~~~~~~~~~~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:383:33: error: too many arguments to function ‘err’; expected 0, have 1 383 | err("bind-to-device"); | ^~~ ~~~~~~~~~~~~~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:390:9: error: too many arguments to function ‘mes’; expected 0, have 1 390 | mes("socket"); | ^~~ ~~~~~~~~ ttcp.c:164:6: note: declared here 164 | void mes(); | ^~~ ttcp.c:415:25: error: too many arguments to function ‘err’; expected 0, have 1 415 | err("reuseaddr"); | ^~~ ~~~~~~~~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:418:25: error: too many arguments to function ‘err’; expected 0, have 1 418 | err("bind"); | ^~~ ~~~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:426:25: error: too many arguments to function ‘err’; expected 0, have 1 426 | err("setsockopt: sndbuf"); | ^~~ ~~~~~~~~~~~~~~~~~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:427:17: error: too many arguments to function ‘mes’; expected 0, have 1 427 | mes("sndbuf"); | ^~~ ~~~~~~~~ ttcp.c:164:6: note: declared here 164 | void mes(); | ^~~ ttcp.c:431:25: error: too many arguments to function ‘err’; expected 0, have 1 431 | err("setsockopt: rcvbuf"); | ^~~ ~~~~~~~~~~~~~~~~~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:432:17: error: too many arguments to function ‘mes’; expected 0, have 1 432 | mes("rcvbuf"); | ^~~ ~~~~~~~~ ttcp.c:164:6: note: declared here 164 | void mes(); | ^~~ ttcp.c:438:29: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 438 | signal(SIGPIPE, sigpipe); | ^~~~~~~ | | | void (*)(void) In file included from ttcp.c:87: /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’ 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ ttcp.c:175:1: note: ‘sigpipe’ declared here 175 | sigpipe() | ^~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ ttcp.c:443:33: error: too many arguments to function ‘err’; expected 0, have 1 443 | err("setsockopt"); | ^~~ ~~~~~~~~~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:451:33: error: too many arguments to function ‘err’; expected 0, have 1 451 | err("setsockopt: nodelay"); | ^~~ ~~~~~~~~~~~~~~~~~~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:452:25: error: too many arguments to function ‘mes’; expected 0, have 1 452 | mes("nodelay"); | ^~~ ~~~~~~~~~ ttcp.c:164:6: note: declared here 164 | void mes(); | ^~~ ttcp.c:456:25: error: too many arguments to function ‘err’; expected 0, have 1 456 | err("connect"); | ^~~ ~~~~~~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:457:17: error: too many arguments to function ‘mes’; expected 0, have 1 457 | mes("connect"); | ^~~ ~~~~~~~~~ ttcp.c:164:6: note: declared here 164 | void mes(); | ^~~ ttcp.c:465:33: error: too many arguments to function ‘err’; expected 0, have 1 465 | err("setsockopt"); | ^~~ ~~~~~~~~~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:470:25: error: too many arguments to function ‘err’; expected 0, have 1 470 | err("accept"); | ^~~ ~~~~~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:477:25: error: too many arguments to function ‘err’; expected 0, have 1 477 | err("getpeername"); | ^~~ ~~~~~~~~~~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:480:25: error: too many arguments to function ‘err’; expected 0, have 1 480 | err("getnameinfo"); | ^~~ ~~~~~~~~~~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:490:25: error: too many arguments to function ‘pattern’; expected 0, have 2 490 | pattern(buf, buflen); | ^~~~~~~ ~~~ ttcp.c:165:6: note: declared here 165 | void pattern(); | ^~~~~~~ ttcp.c:492:39: error: too many arguments to function ‘Nwrite’; expected 0, have 3 492 | (void)Nwrite(fd, buf, 4); /* rcvr start */ | ^~~~~~ ~~ ttcp.c:169:5: note: declared here 169 | int Nwrite(); | ^~~~~~ ttcp.c:493:42: error: too many arguments to function ‘Nwrite’; expected 0, have 3 493 | while (nbuf-- && Nwrite(fd, buf, buflen) == buflen) | ^~~~~~ ~~ ttcp.c:169:5: note: declared here 169 | int Nwrite(); | ^~~~~~ ttcp.c:496:39: error: too many arguments to function ‘Nwrite’; expected 0, have 3 496 | (void)Nwrite(fd, buf, 4); /* rcvr end */ | ^~~~~~ ~~ ttcp.c:169:5: note: declared here 169 | int Nwrite(); | ^~~~~~ ttcp.c:499:43: error: too many arguments to function ‘Nread’; expected 0, have 3 499 | while ((cnt = Nread(fd, buf, buflen)) > 0) { | ^~~~~ ~~ ttcp.c:168:5: note: declared here 168 | int Nread(); | ^~~~~ ttcp.c:510:43: error: too many arguments to function ‘Nread’; expected 0, have 3 510 | while ((cnt = Nread(fd, buf, buflen)) > 0) { | ^~~~~ ~~ ttcp.c:168:5: note: declared here 168 | int Nread(); | ^~~~~ ttcp.c:519:29: error: too many arguments to function ‘Nwrite’; expected 0, have 3 519 | Nwrite(fd, buf, cnt) == cnt) | ^~~~~~ ~~ ttcp.c:169:5: note: declared here 169 | int Nwrite(); | ^~~~~~ ttcp.c:522:39: error: too many arguments to function ‘Nread’; expected 0, have 3 522 | while ((cnt = Nread(fd, buf, buflen)) > 0 && | ^~~~~ ~~ ttcp.c:168:5: note: declared here 168 | int Nread(); | ^~~~~ ttcp.c:528:17: error: too many arguments to function ‘err’; expected 0, have 1 528 | err("IO"); | ^~~ ~~~~ ttcp.c:163:6: note: declared here 163 | void err(); | ^~~ ttcp.c:529:15: error: too many arguments to function ‘read_timer’; expected 0, have 2 529 | (void)read_timer(stats, sizeof(stats)); | ^~~~~~~~~~ ~~~~~ ttcp.c:167:8: note: declared here 167 | double read_timer(); | ^~~~~~~~~~ ttcp.c:531:23: error: too many arguments to function ‘Nwrite’; expected 0, have 3 531 | (void)Nwrite(fd, buf, 4); /* rcvr end */ | ^~~~~~ ~~ ttcp.c:169:5: note: declared here 169 | int Nwrite(); | ^~~~~~ ttcp.c:532:23: error: too many arguments to function ‘Nwrite’; expected 0, have 3 532 | (void)Nwrite(fd, buf, 4); /* rcvr end */ | ^~~~~~ ~~ ttcp.c:169:5: note: declared here 169 | int Nwrite(); | ^~~~~~ ttcp.c:533:23: error: too many arguments to function ‘Nwrite’; expected 0, have 3 533 | (void)Nwrite(fd, buf, 4); /* rcvr end */ | ^~~~~~ ~~ ttcp.c:169:5: note: declared here 169 | int Nwrite(); | ^~~~~~ ttcp.c:534:23: error: too many arguments to function ‘Nwrite’; expected 0, have 3 534 | (void)Nwrite(fd, buf, 4); /* rcvr end */ | ^~~~~~ ~~ ttcp.c:169:5: note: declared here 169 | int Nwrite(); | ^~~~~~ ttcp.c:543:32: error: too many arguments to function ‘outfmt’; expected 0, have 1 543 | nbytes, realt, outfmt(nbytes/realt)); | ^~~~~~ ~~~~~~~~~~~~ ttcp.c:172:7: note: declared here 172 | char *outfmt(); | ^~~~~~ ttcp.c:548:31: error: too many arguments to function ‘outfmt’; expected 0, have 1 548 | nbytes, cput, outfmt(nbytes/cput)); | ^~~~~~ ~~~~~~~~~~~ ttcp.c:172:7: note: declared here 172 | char *outfmt(); | ^~~~~~ ttcp.c: At top level: ttcp.c:571:1: error: conflicting types for ‘err’; have ‘void(char *)’ 571 | err(char *s) | ^~~ ttcp.c:163:6: note: previous declaration of ‘err’ with type ‘void(void)’ 163 | void err(); | ^~~ ttcp.c:580:1: error: conflicting types for ‘mes’; have ‘void(char *)’ 580 | mes(char *s) | ^~~ ttcp.c:164:6: note: previous declaration of ‘mes’ with type ‘void(void)’ 164 | void mes(); | ^~~ ttcp.c:586:1: error: conflicting types for ‘pattern’; have ‘void(char *, int)’ 586 | pattern(register char *cp, register int cnt) | ^~~~~~~ ttcp.c:165:6: note: previous declaration of ‘pattern’ with type ‘void(void)’ 165 | void pattern(); | ^~~~~~~ ttcp.c:597:1: error: conflicting types for ‘outfmt’; have ‘char *(double)’ 597 | outfmt(double b) | ^~~~~~ ttcp.c:172:7: note: previous declaration of ‘outfmt’ with type ‘char *(void)’ 172 | char *outfmt(); | ^~~~~~ ttcp.c:647:1: error: conflicting types for ‘read_timer’; have ‘double(char *, int)’ 647 | read_timer(char *str, int len) | ^~~~~~~~~~ ttcp.c:167:8: note: previous declaration of ‘read_timer’ with type ‘double(void)’ 167 | double read_timer(); | ^~~~~~~~~~ ttcp.c: In function ‘read_timer’: ttcp.c:657:9: error: too many arguments to function ‘prusage’; expected 0, have 5 657 | prusage(&ru0, &ru1, &timedol, &time0, line); | ^~~~~~~ ~~~~ ttcp.c:627:13: note: declared here 627 | static void prusage(); | ^~~~~~~ ttcp.c:662:9: error: too many arguments to function ‘tvsub’; expected 0, have 3 662 | tvsub(&td, &timedol, &time0); | ^~~~~ ~~~ ttcp.c:629:13: note: declared here 629 | static void tvsub(); | ^~~~~ ttcp.c:666:9: error: too many arguments to function ‘tvadd’; expected 0, have 3 666 | tvadd(&tend, &ru1.ru_utime, &ru1.ru_stime); | ^~~~~ ~~~~~ ttcp.c:628:13: note: declared here 628 | static void tvadd(); | ^~~~~ ttcp.c:667:9: error: too many arguments to function ‘tvadd’; expected 0, have 3 667 | tvadd(&tstart, &ru0.ru_utime, &ru0.ru_stime); | ^~~~~ ~~~~~~~ ttcp.c:628:13: note: declared here 628 | static void tvadd(); | ^~~~~ ttcp.c:668:9: error: too many arguments to function ‘tvsub’; expected 0, have 3 668 | tvsub(&td, &tend, &tstart); | ^~~~~ ~~~ ttcp.c:629:13: note: declared here 629 | static void tvsub(); | ^~~~~ ttcp.c: At top level: ttcp.c:676:1: error: conflicting types for ‘prusage’; have ‘void(struct rusage *, struct rusage *, struct timeval *, struct timeval *, char *)’ 676 | prusage(register struct rusage *r0, register struct rusage *r1, | ^~~~~~~ ttcp.c:627:13: note: previous declaration of ‘prusage’ with type ‘void(void)’ 627 | static void prusage(); | ^~~~~~~ ttcp.c: In function ‘prusage’: ttcp.c:699:25: error: too many arguments to function ‘tvsub’; expected 0, have 3 699 | tvsub(&tdiff, &r1->ru_utime, &r0->ru_utime); | ^~~~~ ~~~~~~ ttcp.c:629:13: note: declared here 629 | static void tvsub(); | ^~~~~ ttcp.c:705:25: error: too many arguments to function ‘tvsub’; expected 0, have 3 705 | tvsub(&tdiff, &r1->ru_stime, &r0->ru_stime); | ^~~~~ ~~~~~~ ttcp.c:629:13: note: declared here 629 | static void tvsub(); | ^~~~~ ttcp.c:711:25: error: too many arguments to function ‘psecs’; expected 0, have 2 711 | psecs(ms / 100, outp); | ^~~~~ ~~~~~~~~ ttcp.c:630:13: note: declared here 630 | static void psecs(); | ^~~~~ ttcp.c: At top level: ttcp.c:779:1: error: conflicting types for ‘tvadd’; have ‘void(struct timeval *, struct timeval *, struct timeval *)’ 779 | tvadd(struct timeval *tsum, struct timeval *t0, struct timeval *t1) | ^~~~~ ttcp.c:628:13: note: previous declaration of ‘tvadd’ with type ‘void(void)’ 628 | static void tvadd(); | ^~~~~ ttcp.c:788:1: error: conflicting types for ‘tvsub’; have ‘void(struct timeval *, struct timeval *, struct timeval *)’ 788 | tvsub(struct timeval *tdiff, struct timeval *t1, struct timeval *t0) | ^~~~~ ttcp.c:629:13: note: previous declaration of ‘tvsub’ with type ‘void(void)’ 629 | static void tvsub(); | ^~~~~ ttcp.c:797:1: error: conflicting types for ‘psecs’; have ‘void(long int, char *)’ 797 | psecs(long l, register char *cp) | ^~~~~ ttcp.c:630:13: note: previous declaration of ‘psecs’ with type ‘void(void)’ 630 | static void psecs(); | ^~~~~ ttcp.c:822:1: error: conflicting types for ‘Nread’; have ‘int(int, void *, int)’ 822 | Nread(int fd, void *buf, int count) | ^~~~~ ttcp.c:168:5: note: previous declaration of ‘Nread’ with type ‘int(void)’ 168 | int Nread(); | ^~~~~ ttcp.c: In function ‘Nread’: ttcp.c:832:31: error: too many arguments to function ‘mread’; expected 0, have 3 832 | cnt = mread(fd, buf, count); /* fill buf */ | ^~~~~ ~~ ttcp.c:171:5: note: declared here 171 | int mread(); | ^~~~~ ttcp.c: At top level: ttcp.c:851:1: error: conflicting types for ‘Nwrite’; have ‘int(int, void *, int)’ 851 | Nwrite(int fd, void *buf, int count) | ^~~~~~ ttcp.c:169:5: note: previous declaration of ‘Nwrite’ with type ‘int(void)’ 169 | int Nwrite(); | ^~~~~~ ttcp.c: In function ‘Nwrite’: ttcp.c:859:25: error: too many arguments to function ‘delay’; expected 0, have 1 859 | delay(18000); | ^~~~~ ~~~~~ ttcp.c:170:6: note: declared here 170 | void delay(); | ^~~~~ ttcp.c:868:17: error: too many arguments to function ‘delay’; expected 0, have 1 868 | delay(wait); | ^~~~~ ~~~~ ttcp.c:170:6: note: declared here 170 | void delay(); | ^~~~~ ttcp.c: At top level: ttcp.c:873:1: error: conflicting types for ‘delay’; have ‘void(int)’ 873 | delay(int us) | ^~~~~ ttcp.c:170:6: note: previous declaration of ‘delay’ with type ‘void(void)’ 170 | void delay(); | ^~~~~ ttcp.c:892:1: error: conflicting types for ‘mread’; have ‘int(int, char *, unsigned int)’ 892 | mread(int fd, register char *bufp, unsigned int n) | ^~~~~ ttcp.c:171:5: note: previous declaration of ‘mread’ with type ‘int(void)’ 171 | int mread(); | ^~~~~ ttcp.c:627:13: warning: ‘prusage’ used but never defined 627 | static void prusage(); | ^~~~~~~ ttcp.c:628:13: warning: ‘tvadd’ used but never defined 628 | static void tvadd(); | ^~~~~ ttcp.c:629:13: warning: ‘tvsub’ used but never defined 629 | static void tvsub(); | ^~~~~ ttcp.c:630:13: warning: ‘psecs’ used but never defined 630 | static void psecs(); | ^~~~~ ttcp.c:797:1: warning: ‘psecs’ defined but not used [-Wunused-function] 797 | psecs(long l, register char *cp) | ^~~~~ ttcp.c:788:1: warning: ‘tvsub’ defined but not used [-Wunused-function] 788 | tvsub(struct timeval *tdiff, struct timeval *t1, struct timeval *t0) | ^~~~~ ttcp.c:779:1: warning: ‘tvadd’ defined but not used [-Wunused-function] 779 | tvadd(struct timeval *tsum, struct timeval *t0, struct timeval *t1) | ^~~~~ ttcp.c:676:1: warning: ‘prusage’ defined but not used [-Wunused-function] 676 | prusage(register struct rusage *r0, register struct rusage *r1, | ^~~~~~~ RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.V9rYM6 (%build) Bad exit status from /var/tmp/rpm-tmp.V9rYM6 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 9bd614aee653462b9392c9fcb60a9fd0 -D /var/lib/mock/f43-build-58963730-6569496/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.1l5ot6o5:/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 ppc64le --nodeps /builddir/build/SPECS/ttcp.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 9bd614aee653462b9392c9fcb60a9fd0 -D /var/lib/mock/f43-build-58963730-6569496/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.1l5ot6o5:/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 ppc64le --nodeps /builddir/build/SPECS/ttcp.spec'