Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rinetd.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1603011953.648333/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pjh23n9e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pjh23n9e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'bec5d2534b994ed59b1151a2720da13f', '-D', '/var/lib/mock/epel-8-x86_64-1603011953.648333/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pjh23n9e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/rinetd.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'} and shell False warning: bogus date in %changelog: Fri Jun 02 2005 Chris Ricker 0.62-3 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rinetd-0.62-27.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rinetd.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1603011953.648333/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pjh23n9e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pjh23n9e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '3ec0ed7f5e774ab0925a9aedaa9bdce4', '-D', '/var/lib/mock/epel-8-x86_64-1603011953.648333/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pjh23n9e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/rinetd.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'} and shell False warning: bogus date in %changelog: Fri Jun 02 2005 Chris Ricker 0.62-3 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.G78vDV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rinetd + /usr/bin/gzip -dc /builddir/build/SOURCES/rinetd.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rinetd + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (rinetd-0.62-ldflags.patch): + echo 'Patch #0 (rinetd-0.62-ldflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ldflags --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VBT3gB + umask 022 + cd /builddir/build/BUILD + cd rinetd + make 'CFLAGS=-DLINUX -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -j2 cc -DLINUX -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o rinetd.o rinetd.c cc -DLINUX -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o match.o match.c match.c: In function 'matchBody': match.c:19:13: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] static int dummy = 0; ^~~~~ rinetd.c: In function 'closesocket': rinetd.c:34:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] return close(s); ^~~~~ pclose rinetd.c: At top level: rinetd.c:176:6: warning: conflicting types for built-in function 'log' [-Wbuiltin-declaration-mismatch] void log(int i, int coSe, int result); ^~~ rinetd.c: In function 'main': rinetd.c:239:7: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] if (!fork()) { ^~~~ rinetd.c:226:10: warning: unused variable 'wsaData' [-Wunused-variable] WSADATA wsaData; ^~~~~~~ rinetd.c: In function 'handleCloseFromLocal': rinetd.c:949:6: warning: unused variable 'arg' [-Wunused-variable] int arg; ^~~ rinetd.c: In function 'handleCloseFromRemote': rinetd.c:975:6: warning: unused variable 'arg' [-Wunused-variable] int arg; ^~~ rinetd.c: In function 'handleAccept': rinetd.c:1014:32: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] nfd = accept(seFds[i], &addr, &addrlen); ^~~~~~~~ In file included from rinetd.c:9: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ rinetd.c: In function 'getAddress': rinetd.c:1322:19: warning: implicit declaration of function 'inet_addr'; did you mean 'h_addr'? [-Wimplicit-function-declaration] iaddr->s_addr = inet_addr(host); ^~~~~~~~~ h_addr rinetd.c: In function 'RegisterPID': rinetd.c:1374:29: warning: implicit declaration of function 'getpid'; did you mean 'getenv'? [-Wimplicit-function-declaration] fprintf(pid_file, "%d\n", getpid()); ^~~~~~ getenv rinetd.c: In function 'log': rinetd.c:1395:6: warning: the address of 'log' will always evaluate as 'true' [-Waddress] if (!log) { ^ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld rinetd.o match.o -o rinetd + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zKm6ai + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64 + cd rinetd + rm -rf /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/usr/sbin + install -p -m 0755 rinetd /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/usr/share/man/man8 + install -p -m 0644 rinetd.8 /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/etc/rc.d/init.d + mkdir -p /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/etc/logrotate.d + mkdir -p /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/usr/lib/systemd/system + install -p -m 0644 /builddir/build/SOURCES/rinetd.conf /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/etc + install -p -m 0644 /builddir/build/SOURCES/rinetd.logrotate /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/etc/logrotate.d/rinetd + install -p -m 644 /builddir/build/SOURCES/rinetd.service /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/usr/lib/systemd/system/rinetd.service + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.62-27.el8 --unique-debug-suffix -0.62-27.el8.x86_64 --unique-debug-src-base rinetd-0.62-27.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/rinetd extracting debug info from /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/usr/sbin/rinetd /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 77 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/rinetd-0.62-27.el8.x86_64/rinetd.c is executable but has empty or no shebang, removing executable bit Processing files: rinetd-0.62-27.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1B4fTZ + umask 022 + cd /builddir/build/BUILD + cd rinetd + DOCDIR=/builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/usr/share/doc/rinetd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/usr/share/doc/rinetd + cp -pr CHANGES /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/usr/share/doc/rinetd + cp -pr README /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/usr/share/doc/rinetd + cp -pr index.html /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64/usr/share/doc/rinetd + exit 0 Provides: config(rinetd) = 0.62-27.el8 rinetd = 0.62-27.el8 rinetd(x86-64) = 0.62-27.el8 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd systemd-sysv Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: rinetd-debugsource-0.62-27.el8.x86_64 Provides: rinetd-debugsource = 0.62-27.el8 rinetd-debugsource(x86-64) = 0.62-27.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rinetd-debuginfo-0.62-27.el8.x86_64 Provides: debuginfo(build-id) = 48cf1de49fe6b95a5fec85630f42d1216024c1c5 rinetd-debuginfo = 0.62-27.el8 rinetd-debuginfo(x86-64) = 0.62-27.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rinetd-debugsource(x86-64) = 0.62-27.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64 Wrote: /builddir/build/RPMS/rinetd-0.62-27.el8.x86_64.rpm Wrote: /builddir/build/RPMS/rinetd-debugsource-0.62-27.el8.x86_64.rpm Wrote: /builddir/build/RPMS/rinetd-debuginfo-0.62-27.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ibE6SH + umask 022 + cd /builddir/build/BUILD + cd rinetd + /usr/bin/rm -rf /builddir/build/BUILDROOT/rinetd-0.62-27.el8.x86_64 + exit 0 Child return code was: 0