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/rdist.spec'], chrootPath='/var/lib/mock/f42-build-59072884-6570848/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.lh98_5gc:/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.lh98_5gc:/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', 'cccc834e4d6342d7b1c4223b7c1697dc', '-D', '/var/lib/mock/f42-build-59072884-6570848/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lh98_5gc:/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/rdist.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=1721347200 Wrote: /builddir/build/SRPMS/rdist-6.1.5-85.fc42.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/rdist.spec'], chrootPath='/var/lib/mock/f42-build-59072884-6570848/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.lh98_5gc:/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.lh98_5gc:/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', '867b0998133c48898bae8bf06969a048', '-D', '/var/lib/mock/f42-build-59072884-6570848/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lh98_5gc:/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/rdist.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=1721347200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.hMiH4X Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zbKRpn + umask 022 + cd /builddir/build/BUILD/rdist-6.1.5-build + cd /builddir/build/BUILD/rdist-6.1.5-build + rm -rf rdist-6.1.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rdist-6.1.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rdist-6.1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD/rdist-6.1.5-build + cd rdist-6.1.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rdist-v1.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/rdist-eu-license.txt . + cp /builddir/build/SOURCES/rdist-licensing-email.txt . Patch #15 (rdist-6.1.5-license-fix.patch): + echo 'Patch #15 (rdist-6.1.5-license-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .license-fix --fuzz=0 patching file build/buildinfo patching file build/os-type patching file build/runmake patching file config/config-data.h patching file config/config-def.h patching file config/config.h patching file config/Makefile patching file config/Makefile.real patching file config/mf.aix3 patching file config/mf.aix4 patching file config/mf.bsdi2 patching file config/mf.bsdi patching file config/mf.concen patching file config/mf.cxux patching file config/mf.dcosx patching file config/mf.dgux patching file config/mf.dynix patching file config/mf.dynixptx patching file config/mf.fpx4 patching file config/mf.freebsd2 patching file config/mf.ftx patching file config/mf.hpux10 patching file config/mf.hpux9 patching file config/mf.irix4 patching file config/mf.irix5 patching file config/mf.irix6 patching file config/mf.isc patching file config/mf.mipsos4 patching file config/mf.mipsos5 patching file config/mf.ncr patching file config/mf.nextstep2 patching file config/mf.nextstep3 patching file config/mf.osf1 patching file config/mf.pyrosx patching file config/mf.sppux patching file config/mf.stellix patching file config/mf.sunos4 patching file config/mf.sunos5 patching file config/mf.svr4 patching file config/mf.TEMPLATE patching file config/mf.tracebsd patching file config/mf.ultrix4 patching file config/mf.unicos patching file config/mf.xinu43 patching file config/os-aix3.h patching file config/os-aix4.h patching file config/os-bsdi2.h patching file config/os-bsdi.h patching file config/os-concen.h patching file config/os-cxux.h patching file config/os-dcosx.h patching file config/os-dgux.h patching file config/os-dynix.h patching file config/os-dynixptx.h patching file config/os-fpx4.h patching file config/os-freebsd2.h patching file config/os-ftx.h patching file config/os-hpux10.h patching file config/os-hpux9.h patching file config/os-irix4.h patching file config/os-irix5.h patching file config/os-irix6.h patching file config/os-isc.h patching file config/os-linux.h patching file config/os-mipsos4.h patching file config/os-mipsos5.h patching file config/os-ncr.h patching file config/os-nextstep2.h patching file config/os-nextstep3.h patching file config/os-osf1.h patching file config/os-pyrosx.h patching file config/os-sppux.h patching file config/os-stellix.h patching file config/os-sunos4.h patching file config/os-sunos5.h patching file config/os-svr4.h patching file config/os-TEMPLATE.h patching file config/os-tracebsd.h patching file config/os-ultrix4.h patching file config/os-unicos.h patching file config/os-xinu43.h patching file Copyright patching file dist/Makefile patching file dist/Makefile.real patching file dist/Makefile.var patching file doc/Makefile patching file doc/Makefile.real patching file doc/rdistd.man patching file doc/rdist.man patching file include/defs.h patching file include/filesys.h patching file include/Makefile patching file include/Makefile.real patching file include/pathnames.h patching file include/rdistpaths.h patching file include/version.h patching file Makefile patching file Makefile.local patching file mf/Makefile.base patching file mf/Makefile patching file mf/Makefile.var patching file src/child.c patching file src/client.c patching file src/common.c patching file src/distopt.c patching file src/docmd.c patching file src/expand.c patching file src/filesys.c patching file src/filesys-os.c patching file src/gram.y patching file src/hasmntopt.c patching file src/isexec.c patching file src/lookup.c patching file src/Makefile patching file src/Makefile.real patching file src/message.c patching file src/rdist.c patching file src/rdistd.c patching file src/regex.c patching file src/rshrcmd.c patching file src/server.c patching file src/setargs.c patching file src/signal.c patching file src/strcasecmp.c patching file support/Makefile + echo 'Patch #0 (rdist-6.1.5-linux.patch):' Patch #0 (rdist-6.1.5-linux.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .linux --fuzz=0 patching file config/os-linux.h patching file mf/Makefile.var Patch #1 (rdist-6.1.5-links.patch): + echo 'Patch #1 (rdist-6.1.5-links.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .links --fuzz=0 patching file src/client.c patching file src/docmd.c patching file include/defs.h Patch #2 (rdist-6.1.5-oldpath.patch): + echo 'Patch #2 (rdist-6.1.5-oldpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .oldpath --fuzz=0 patching file config/config.h patching file doc/rdist.man patching file README Patch #3 (rdist-6.1.5-hardlink.patch): + echo 'Patch #3 (rdist-6.1.5-hardlink.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .hardlink --fuzz=0 patching file src/client.c Patch #4 (rdist-6.1.5-bison.patch): + echo 'Patch #4 (rdist-6.1.5-bison.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bison --fuzz=0 patching file src/gram.y Patch #5 (rdist-6.1.5-varargs.patch): + echo 'Patch #5 (rdist-6.1.5-varargs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .varargs --fuzz=0 patching file config/os-linux.h Patch #6 (rdist-6.1.5-maxargs.patch): + echo 'Patch #6 (rdist-6.1.5-maxargs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .maxargs --fuzz=0 patching file src/setargs.c Patch #7 (rdist-6.1.5-lfs.patch): + echo 'Patch #7 (rdist-6.1.5-lfs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .lfs --fuzz=0 patching file src/client.c patching file src/server.c patching file include/defs.h patching file Makefile.local Patch #8 (rdist-6.1.5-cleanup.patch): + echo 'Patch #8 (rdist-6.1.5-cleanup.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cleanup --fuzz=0 patching file src/gram.y patching file src/rdist.c patching file src/client.c patching file src/child.c patching file src/docmd.c patching file src/distopt.c patching file src/expand.c patching file src/lookup.c patching file src/isexec.c patching file src/signal.c patching file src/rshrcmd.c patching file src/common.c patching file src/message.c patching file src/setargs.c patching file src/rdistd.c patching file src/server.c patching file src/filesys.c patching file src/filesys-os.c patching file src/strcasecmp.c patching file src/strtol.c patching file src/regex.c patching file include/defs.h Patch #9 (rdist-6.1.5-svr4.patch): + echo 'Patch #9 (rdist-6.1.5-svr4.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .svr4 --fuzz=0 patching file build/os-type Patch #10 (rdist-6.1.5-ssh.patch): + echo 'Patch #10 (rdist-6.1.5-ssh.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ssh --fuzz=0 patching file src/rshrcmd.c Patch #11 (rdist-6.1.5-mkstemp.patch): + echo 'Patch #11 (rdist-6.1.5-mkstemp.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mkstemp --fuzz=0 patching file src/server.c Patch #12 (rdist-6.1.5-stat64.patch): + echo 'Patch #12 (rdist-6.1.5-stat64.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .stat64 --fuzz=0 patching file src/filesys.c patching file src/server.c Patch #13 (rdist-6.1.5-re_args.patch): + echo 'Patch #13 (rdist-6.1.5-re_args.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .re_args --fuzz=0 patching file rdist/defs.h Patch #14 (rdist-6.1.5-fix-msgsndnotify-loop.patch): + echo 'Patch #14 (rdist-6.1.5-fix-msgsndnotify-loop.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix-msgsndnotify-loop --fuzz=0 patching file src/message.c Patch #16 (rdist-6.1.5-fpic.patch): + echo 'Patch #16 (rdist-6.1.5-fpic.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pic --fuzz=0 patching file Makefile.local patching file rdist/Makefile Patch #17 (rdist-c99.patch): + echo 'Patch #17 (rdist-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .c99 --fuzz=0 patching file rdist/defs.h Patch #18 (rdist-wait-union.patch): + echo 'Patch #18 (rdist-wait-union.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .union --fuzz=0 patching file rdist/rcmd.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4BG14u + umask 022 + cd /builddir/build/BUILD/rdist-6.1.5-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 rdist-6.1.5 + make Making "all" in "src" make[1]: Entering directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/src' make[2]: Entering directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/src' bison -y -d gram.y gram.y:66.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 66 | %term ARROW 1 | ^~~~~ gram.y:67.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 67 | %term COLON 2 | ^~~~~ gram.y:68.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 68 | %term DCOLON 3 | ^~~~~ gram.y:69.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 69 | %term NAME 4 | ^~~~~ gram.y:70.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 70 | %term STRING 5 | ^~~~~ gram.y:71.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 71 | %term INSTALL 6 | ^~~~~ gram.y:72.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 72 | %term NOTIFY 7 | ^~~~~ gram.y:73.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 73 | %term EXCEPT 8 | ^~~~~ gram.y:74.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 74 | %term PATTERN 9 | ^~~~~ gram.y:75.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 75 | %term SPECIAL 10 | ^~~~~ gram.y:76.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 76 | %term CMDSPECIAL 11 | ^~~~~ gram.y:77.1-5: warning: POSIX Yacc does not support %term [-Wyacc] 77 | %term OPTION 12 | ^~~~~ gram.y:86.16-21: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 86 | %type OPTION options | ^~~~~~ gram.y:87.16-19: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 87 | %type NAME STRING | ^~~~ gram.y:87.21-26: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 87 | %type NAME STRING | ^~~~~~ gram.y:88.16-22: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~ gram.y:88.24-29: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~ gram.y:88.31-36: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~ gram.y:88.38-44: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~ gram.y:88.46-52: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~ gram.y:88.54-63: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 88 | %type INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdli... | ^~~~~~~~~~ mv -f y.tab.c gram.c gcc -g -DOS_H=\"os-linux.h\" -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I. -I../include -I../config -c -o gram.o gram.c gram.y: In function ‘yyparse’: gram.y:98:32: error: too many arguments to function ‘lookup’; expected 0, have 3 98 | (void) lookup($1, INSERT, $3); | ^~~~~~ ~~~~~~~~~~~~~~~~ In file included from gram.y:55: ../include/defs.h:419:33: note: declared here 419 | struct namelist *lookup(); | ^~~~~~ gram.y:101:25: error: too many arguments to function ‘insert’; expected 0, have 4 101 | insert((char *)NULL, $1, $3, $4); | ^~~~~~ ../include/defs.h:400:33: note: declared here 400 | extern void insert(); | ^~~~~~ gram.y:104:25: error: too many arguments to function ‘insert’; expected 0, have 4 104 | insert($1, $3, $5, $6); | ^~~~~~ ~~~~~~~~~~~~~~~~ ../include/defs.h:400:33: note: declared here 400 | extern void insert(); | ^~~~~~ gram.y:107:25: error: too many arguments to function ‘append’; expected 0, have 4 107 | append((char *)NULL, $1, $3, $4); | ^~~~~~ ../include/defs.h:390:33: note: declared here 390 | extern void append(); | ^~~~~~ gram.y:110:25: error: too many arguments to function ‘append’; expected 0, have 4 110 | append($1, $3, $5, $6); | ^~~~~~ ~~~~~~~~~~~~~~~~ ../include/defs.h:390:33: note: declared here 390 | extern void append(); | ^~~~~~ gram.y:119:41: error: too many arguments to function ‘subnl’; expected 0, have 2 119 | $$ = subnl($1, $3); | ^~~ gram.y:57:35: note: declared here 57 | static struct namelist *addnl(), *subnl(), *andnl(); | ^~~~~ gram.y:122:41: error: too many arguments to function ‘addnl’; expected 0, have 2 122 | $$ = addnl($1, $3); | ^~~ gram.y:57:25: note: declared here 57 | static struct namelist *addnl(), *subnl(), *andnl(); | ^~~~~ gram.y:125:41: error: too many arguments to function ‘andnl’; expected 0, have 2 125 | $$ = andnl($1, $3); | ^~~ gram.y:57:45: note: declared here 57 | static struct namelist *addnl(), *subnl(), *andnl(); | ^~~~~ gram.y:130:41: error: too many arguments to function ‘makenl’; expected 0, have 1 130 | $$ = makenl($1); | ^ ../include/defs.h:420:33: note: declared here 420 | struct namelist *makenl(); | ^~~~~~ gram.y:142:58: error: too many arguments to function ‘makenl’; expected 0, have 1 142 | $$ = last_n = makenl($2); | ^ ../include/defs.h:420:33: note: declared here 420 | struct namelist *makenl(); | ^~~~~~ gram.y:144:50: error: too many arguments to function ‘makenl’; expected 0, have 1 144 | last_n->n_next = makenl($2); | ^~~~~~ ~~~~ ../include/defs.h:420:33: note: declared here 420 | struct namelist *makenl(); | ^~~~~~ gram.y:170:38: error: too many arguments to function ‘expand’; expected 0, have 2 170 | nl = expand($3, E_VARS); | ^~~~~~ ~~~~~~~~~~~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:173:45: error: too many arguments to function ‘yyerror’; expected 0, have 1 173 | yyerror("only one name allowed\n"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y:183:63: error: too many arguments to function ‘expand’; expected 0, have 2 183 | $1->sc_args = expand($2, E_VARS); | ^~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:188:63: error: too many arguments to function ‘expand’; expected 0, have 2 188 | $1->sc_args = expand($2, E_ALL); | ^~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:193:36: error: conflicting types for ‘re_comp’; have ‘char *(void)’ 193 | char *cp, *re_comp(); | ^~~~~~~ In file included from ../include/defs.h:73: /usr/include/regex.h:635:14: note: previous declaration of ‘re_comp’ with type ‘char *(const char *)’ 635 | extern char *re_comp (const char *); | ^~~~~~~ gram.y:196:43: error: too many arguments to function ‘re_comp’; expected 0, have 1 196 | if ((cp = re_comp(nl->n_name)) != NULL) | ^~~~~~~ ~~~~~~~~~~ gram.y:193:36: note: declared here 193 | char *cp, *re_comp(); | ^~~~~~~ gram.y:197:41: error: too many arguments to function ‘yyerror’; expected 0, have 1 197 | yyerror(cp); | ^~~~~~~ ~~ ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y:198:55: error: too many arguments to function ‘expand’; expected 0, have 2 198 | $1->sc_args = expand($2, E_VARS); | ^~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:203:63: error: too many arguments to function ‘expand’; expected 0, have 2 203 | $1->sc_args = expand($2, E_ALL); | ^~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:209:63: error: too many arguments to function ‘expand’; expected 0, have 2 209 | $1->sc_args = expand($2, E_ALL); | ^~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ y.tab.c:1540:7: error: too many arguments to function ‘yyerror’; expected 0, have 1 ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ y.tab.c:1651:3: error: too many arguments to function ‘yyerror’; expected 0, have 1 ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y: In function ‘yylex’: gram.y:285:33: error: too many arguments to function ‘yyerror’; expected 0, have 1 285 | yyerror("command string too long\n"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y:304:25: error: too many arguments to function ‘yyerror’; expected 0, have 1 304 | yyerror("missing closing '\"'\n"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y:306:33: error: too many arguments to function ‘makestr’; expected 0, have 1 306 | yylval.string = makestr(yytext); | ^~~~~~~ ~~~~~~ ../include/defs.h:348:33: note: declared here 348 | char *makestr(); | ^~~~~~~ gram.y:319:25: error: too many arguments to function ‘yyerror’; expected 0, have 1 319 | yyerror("input line too long\n"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y:324:37: error: too many arguments to function ‘any’; expected 0, have 2 324 | if (any(c, quotechars)) | ^~~ ~ ../include/defs.h:364:33: note: declared here 364 | extern int any(); | ^~~ gram.y:333:33: error: too many arguments to function ‘any’; expected 0, have 2 333 | if (c == EOF || any(c, " \"'\t()=;:\n")) { | ^~~ ~ ../include/defs.h:364:33: note: declared here 364 | extern int any(); | ^~~ gram.y:347:29: error: too many arguments to function ‘parsedistopts’; expected 0, have 3 347 | if (parsedistopts(&yytext[2], &opt, TRUE)) { | ^~~~~~~~~~~~~ ~~~~~~~~~~ ../include/defs.h:379:33: note: declared here 379 | extern int parsedistopts(); | ^~~~~~~~~~~~~ gram.y:351:33: error: too many arguments to function ‘yyerror’; expected 0, have 1 351 | yyerror(ebuf); | ^~~~~~~ ~~~~ ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y:374:25: error: too many arguments to function ‘yyerror’; expected 0, have 1 374 | yyerror(ebuf); | ^~~~~~~ ~~~~ ../include/defs.h:416:33: note: declared here 416 | extern void yyerror(); | ^~~~~~~ gram.y:393:33: error: too many arguments to function ‘makestr’; expected 0, have 1 393 | yylval.string = makestr(yytext); | ^~~~~~~ ~~~~~~ ../include/defs.h:348:33: note: declared here 348 | char *makestr(); | ^~~~~~~ gram.y:396:25: error: too many arguments to function ‘makesubcmd’; expected 0, have 1 396 | yylval.subcmd = makesubcmd(c); | ^~~~~~~~~~ ~ ../include/defs.h:389:33: note: declared here 389 | extern struct subcmd *makesubcmd(); | ^~~~~~~~~~ gram.y: In function ‘any’: gram.y:404:12: warning: old-style function definition [-Wold-style-definition] 404 | extern int any(c, str) | ^~~ gram.y:407:1: error: number of arguments doesn’t match prototype 407 | { | ^ ../include/defs.h:364:33: error: prototype declaration 364 | extern int any(); | ^~~ gram.y: In function ‘insert’: gram.y:418:1: warning: old-style function definition [-Wold-style-definition] 418 | insert(label, files, hosts, subcmds) | ^~~~~~ gram.y:422:1: error: number of arguments doesn’t match prototype 422 | { | ^ ../include/defs.h:400:33: error: prototype declaration 400 | extern void insert(); | ^~~~~~ gram.y:428:41: error: too many arguments to function ‘getnlstr’; expected 0, have 1 428 | files, hosts, subcmds, getnlstr(files)); | ^~~~~~~~ ~~~~~ ../include/defs.h:355:33: note: declared here 355 | extern char *getnlstr(); | ^~~~~~~~ gram.y:430:17: error: too many arguments to function ‘expand’; expected 0, have 2 430 | files = expand(files, E_VARS|E_SHELL); | ^~~~~~ ~~~~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:431:17: error: too many arguments to function ‘expand’; expected 0, have 2 431 | hosts = expand(hosts, E_ALL); | ^~~~~~ ~~~~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ ../include/defs.h:168:38: error: too many arguments to function ‘xmalloc’; expected 0, have 1 168 | #define ALLOC(x) (struct x *) xmalloc(sizeof(struct x)) | ^~~~~~~ ~~~~~~~~~~~~~~~~ gram.y:450:22: note: in expansion of macro ‘ALLOC’ 450 | nc = ALLOC(cmd); | ^~~~~ ../include/defs.h:350:33: note: declared here 350 | char *xmalloc(); | ^~~~~~~ gram.y: In function ‘append’: gram.y:473:1: warning: old-style function definition [-Wold-style-definition] 473 | append(label, files, stamp, subcmds) | ^~~~~~ gram.y:478:1: error: number of arguments doesn’t match prototype 478 | { | ^ ../include/defs.h:390:33: error: prototype declaration 390 | extern void append(); | ^~~~~~ ../include/defs.h:168:38: error: too many arguments to function ‘xmalloc’; expected 0, have 1 168 | #define ALLOC(x) (struct x *) xmalloc(sizeof(struct x)) | ^~~~~~~ ~~~~~~~~~~~~~~~~ gram.y:481:13: note: in expansion of macro ‘ALLOC’ 481 | c = ALLOC(cmd); | ^~~~~ ../include/defs.h:350:33: note: declared here 350 | char *xmalloc(); | ^~~~~~~ gram.y:485:22: error: too many arguments to function ‘expand’; expected 0, have 2 485 | c->c_files = expand(files, E_ALL); | ^~~~~~ ~~~~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y: In function ‘yyerror’: gram.y:500:1: warning: old-style function definition [-Wold-style-definition] 500 | yyerror(s) | ^~~~~~~ gram.y:502:1: error: number of arguments doesn’t match prototype 502 | { | ^ ../include/defs.h:416:33: error: prototype declaration 416 | extern void yyerror(); | ^~~~~~~ gram.y: In function ‘makestr’: gram.y:510:1: warning: old-style function definition [-Wold-style-definition] 510 | makestr(str) | ^~~~~~~ gram.y:512:1: error: number of arguments doesn’t match prototype 512 | { | ^ ../include/defs.h:348:33: error: prototype declaration 348 | char *makestr(); | ^~~~~~~ gram.y: In function ‘makenl’: gram.y:526:1: warning: old-style function definition [-Wold-style-definition] 526 | makenl(name) | ^~~~~~ gram.y:528:1: error: number of arguments doesn’t match prototype 528 | { | ^ ../include/defs.h:420:33: error: prototype declaration 420 | struct namelist *makenl(); | ^~~~~~ ../include/defs.h:168:38: error: too many arguments to function ‘xmalloc’; expected 0, have 1 168 | #define ALLOC(x) (struct x *) xmalloc(sizeof(struct x)) | ^~~~~~~ ~~~~~~~~~~~~~~~~ gram.y:533:14: note: in expansion of macro ‘ALLOC’ 533 | nl = ALLOC(namelist); | ^~~~~ ../include/defs.h:350:33: note: declared here 350 | char *xmalloc(); | ^~~~~~~ gram.y: In function ‘innl’: gram.y:545:1: warning: old-style function definition [-Wold-style-definition] 545 | innl(nl, p) | ^~~~ gram.y: In function ‘addnl’: gram.y:559:1: warning: old-style function definition [-Wold-style-definition] 559 | addnl(n1, n2) | ^~~~~ gram.y:564:14: error: too many arguments to function ‘expand’; expected 0, have 2 564 | n1 = expand(n1, E_VARS); | ^~~~~~ ~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:565:14: error: too many arguments to function ‘expand’; expected 0, have 2 565 | n2 = expand(n2, E_VARS); | ^~~~~~ ~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:567:22: error: too many arguments to function ‘makenl’; expected 0, have 1 567 | nl = makenl(n1->n_name); | ^~~~~~ ~~~~~~~~~~ gram.y:526:1: note: declared here 526 | makenl(name) | ^~~~~~ gram.y:572:30: error: too many arguments to function ‘makenl’; expected 0, have 1 572 | nl = makenl(n2->n_name); | ^~~~~~ ~~~~~~~~~~ gram.y:526:1: note: declared here 526 | makenl(name) | ^~~~~~ gram.y: In function ‘subnl’: gram.y:583:1: warning: old-style function definition [-Wold-style-definition] 583 | subnl(n1, n2) | ^~~~~ gram.y:588:14: error: too many arguments to function ‘expand’; expected 0, have 2 588 | n1 = expand(n1, E_VARS); | ^~~~~~ ~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:589:14: error: too many arguments to function ‘expand’; expected 0, have 2 589 | n2 = expand(n2, E_VARS); | ^~~~~~ ~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:592:30: error: too many arguments to function ‘makenl’; expected 0, have 1 592 | nl = makenl(n1->n_name); | ^~~~~~ ~~~~~~~~~~ gram.y:526:1: note: declared here 526 | makenl(name) | ^~~~~~ gram.y: In function ‘andnl’: gram.y:603:1: warning: old-style function definition [-Wold-style-definition] 603 | andnl(n1, n2) | ^~~~~ gram.y:608:14: error: too many arguments to function ‘expand’; expected 0, have 2 608 | n1 = expand(n1, E_VARS); | ^~~~~~ ~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:609:14: error: too many arguments to function ‘expand’; expected 0, have 2 609 | n2 = expand(n2, E_VARS); | ^~~~~~ ~~ ../include/defs.h:418:33: note: declared here 418 | struct namelist *expand(); | ^~~~~~ gram.y:612:30: error: too many arguments to function ‘makenl’; expected 0, have 1 612 | nl = makenl(n1->n_name); | ^~~~~~ ~~~~~~~~~~ gram.y:526:1: note: declared here 526 | makenl(name) | ^~~~~~ gram.y: In function ‘makesubcmd’: gram.y:623:1: warning: old-style function definition [-Wold-style-definition] 623 | makesubcmd(type) | ^~~~~~~~~~ gram.y:625:1: error: number of arguments doesn’t match prototype 625 | { | ^ ../include/defs.h:389:33: error: prototype declaration 389 | extern struct subcmd *makesubcmd(); | ^~~~~~~~~~ ../include/defs.h:168:38: error: too many arguments to function ‘xmalloc’; expected 0, have 1 168 | #define ALLOC(x) (struct x *) xmalloc(sizeof(struct x)) | ^~~~~~~ ~~~~~~~~~~~~~~~~ gram.y:628:14: note: in expansion of macro ‘ALLOC’ 628 | sc = ALLOC(subcmd); | ^~~~~ ../include/defs.h:350:33: note: declared here 350 | char *xmalloc(); | ^~~~~~~ make[2]: *** [: gram.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/src' make[1]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/src' make[1]: *** [Makefile:35: all] Error 2 Making "all" in "config" make[1]: Entering directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/config' make[2]: Entering directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/config' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/config' make[1]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/config' Making "all" in "doc" make[1]: Entering directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/doc' make[2]: Entering directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/doc' make[1]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/doc' Making "all" in "support" make[1]: Entering directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/support' make[2]: Entering directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/support' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/support' make[1]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/support' Making "all" in "mf" make[1]: Entering directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/mf' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/mf' + make -C rdist make: Entering directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/rdist' gcc -O2 -g -pipe -Wall -D_POSIX_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -c -o docmd.o docmd.c docmd.c: In function ‘doarrow’: docmd.c:107:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 107 | printf("doarrow(%x, %s, %x)\n", (int)files, rhost, (int)cmds); | ^ docmd.c:107:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 107 | printf("doarrow(%x, %s, %x)\n", (int)files, rhost, (int)cmds); | ^ docmd.c:125:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 125 | fatal("cannot open %s\n", (int)tempfile, 0, 0); | ^ docmd.c:167:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 167 | (int)ihead->pathname, 0, 0); | ^ docmd.c: In function ‘closeconn’: docmd.c:268:22: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘__sighandler_t’ {aka ‘void (*)(int)’} [-Wincompatible-pointer-types] 268 | osig = signal(SIGPIPE, SIG_IGN); | ^ In file included from /usr/include/sys/param.h:28, from defs.h:36, from docmd.c:34: /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ docmd.c:270:40: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 270 | (void) signal(SIGPIPE, osig); | ^~~~ | | | void (*)(void) /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ docmd.c: In function ‘okname’: docmd.c:301:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 301 | error("invalid user name %s\n", (int)name, 0, 0); | ^ docmd.c: In function ‘dodcolon’: docmd.c:329:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 329 | error("%s: %s\n", (int)stamp, (int)strerror(errno), 0); | ^ docmd.c:329:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 329 | error("%s: %s\n", (int)stamp, (int)strerror(errno), 0); | ^ docmd.c:341:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 341 | error("%s: %s\n", (int)stamp, (int)strerror(errno), 0); | ^ docmd.c:341:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 341 | error("%s: %s\n", (int)stamp, (int)strerror(errno), 0); | ^ docmd.c: In function ‘cmptime’: docmd.c:399:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 399 | error("%s: %s\n", (int)name, (int)strerror(errno), 0); | ^ docmd.c:399:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 399 | error("%s: %s\n", (int)name, (int)strerror(errno), 0); | ^ docmd.c:412:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 412 | error("%s: not a plain file\n", (int)name, 0, 0); | ^ docmd.c:417:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 417 | logmsg(tfp, "new: %s\n", (int)name, 0, 0); | ^ docmd.c: In function ‘rcmptime’: docmd.c:429:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 429 | printf("rcmptime(%x)\n", (int)st); | ^ docmd.c:432:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 432 | error("%s: %s\n", (int)target, (int)strerror(errno), 0); | ^ docmd.c:432:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 432 | error("%s: %s\n", (int)target, (int)strerror(errno), 0); | ^ docmd.c:441:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 441 | error("%s/%s: Name too long\n", (int)target, (int)dp->d_name, 0); | ^ docmd.c:441:70: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 441 | error("%s/%s: Name too long\n", (int)target, (int)dp->d_name, 0); | ^ docmd.c: In function ‘notify’: docmd.c:465:20: error: conflicting types for ‘popen’; have ‘FILE *(void)’ 465 | FILE *pf, *popen(); | ^~~~~ In file included from defs.h:43: /usr/include/stdio.h:893:14: note: previous declaration of ‘popen’ with type ‘FILE *(const char *, const char *)’ 893 | extern FILE *popen (const char *__command, const char *__modes) | ^~~~~ docmd.c:480:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 480 | error("%s: %s\n", (int)file, (int)strerror(errno), 0); | ^ docmd.c:480:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 480 | error("%s: %s\n", (int)file, (int)strerror(errno), 0); | ^ docmd.c:484:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 484 | error("%s: %s\n", (int)file, (int)strerror(errno), 0); | ^ docmd.c:484:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 484 | error("%s: %s\n", (int)file, (int)strerror(errno), 0); | ^ docmd.c:496:14: error: too many arguments to function ‘popen’; expected 0, have 2 496 | pf = popen(buf, "w"); | ^~~~~ ~~~ docmd.c:465:20: note: declared here 465 | FILE *pf, *popen(); | ^~~~~ docmd.c:498:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 498 | error("notify: \"%s\" failed\n", (int)_PATH_SENDMAIL, 0, 0); | ^ make: *** [: docmd.o] Error 1 make: Leaving directory '/builddir/build/BUILD/rdist-6.1.5-build/rdist-6.1.5/rdist' error: Bad exit status from /var/tmp/rpm-tmp.4BG14u (%build) Bad exit status from /var/tmp/rpm-tmp.4BG14u (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 867b0998133c48898bae8bf06969a048 -D /var/lib/mock/f42-build-59072884-6570848/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.lh98_5gc:/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/rdist.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 867b0998133c48898bae8bf06969a048 -D /var/lib/mock/f42-build-59072884-6570848/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.lh98_5gc:/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/rdist.spec'