Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tnfsd.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1668707825.266386/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3o_67qin:/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.3o_67qin:/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', 'dadb30c304114fb6ba021e8b794d0ea6', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1668707825.266386/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3o_67qin:/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/tnfsd.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1668643200 Wrote: /builddir/build/SRPMS/tnfsd-0.1git6488bba.20220420-3.el9.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/tnfsd.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1668707825.266386/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3o_67qin:/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.3o_67qin:/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', 'a33ff26f23d042bdaa7ee3fa5380796d', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1668707825.266386/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3o_67qin:/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/tnfsd.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1668643200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d0aeWX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spectranet-6488bbaf7ce012cf40eb323cb66a72de5407d695 + /usr/bin/gzip -dc /builddir/build/SOURCES/tnfsd-6488bba.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd spectranet-6488bbaf7ce012cf40eb323cb66a72de5407d695 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gSSshm + umask 022 + cd /builddir/build/BUILD + cd spectranet-6488bbaf7ce012cf40eb323cb66a72de5407d695 + cd tnfs/tnfsd + /usr/bin/make -O -j2 V=1 VERBOSE=1 OS=LINUX USAGELOG=yes gcc -Wall -DUNIX -DNEED_BSDCOMPAT -DENABLE_CHROOT -DNEED_ERRTABLE -DUSAGELOG -c -o main.o main.c gcc -Wall -DUNIX -DNEED_BSDCOMPAT -DENABLE_CHROOT -DNEED_ERRTABLE -DUSAGELOG -c -o datagram.o datagram.c datagram.c: In function 'tcp_accept': datagram.c:231:68: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 231 | acc_fd = accept(tcplistenfd, (struct sockaddr *)&cli_addr, &cli_len); | ^~~~~~~~ | | | int32_t * {aka int *} In file included from datagram.c:34: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int32_t *' {aka 'int *'} 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ datagram.c: In function 'tnfs_handle_udpmsg': datagram.c:260:73: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 260 | (struct sockaddr *)&cliaddr, &len); | ^~~~ | | | int32_t * {aka int *} In file included from datagram.c:34: /usr/include/sys/socket.h:165:48: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int32_t *' {aka 'int *'} 165 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -Wall -DUNIX -DNEED_BSDCOMPAT -DENABLE_CHROOT -DNEED_ERRTABLE -DUSAGELOG -c -o log.o log.c gcc -Wall -DUNIX -DNEED_BSDCOMPAT -DENABLE_CHROOT -DNEED_ERRTABLE -DUSAGELOG -c -o endian.o endian.c gcc -Wall -DUNIX -DNEED_BSDCOMPAT -DENABLE_CHROOT -DNEED_ERRTABLE -DUSAGELOG -c -o session.o session.c gcc -Wall -DUNIX -DNEED_BSDCOMPAT -DENABLE_CHROOT -DNEED_ERRTABLE -DUSAGELOG -c -o errortable.o errortable.c gcc -Wall -DUNIX -DNEED_BSDCOMPAT -DENABLE_CHROOT -DNEED_ERRTABLE -DUSAGELOG -c -o directory.o directory.c directory.c: In function '_load_directory': directory.c:611:59: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 611 | snprintf(statpath, sizeof(statpath), "%s%c%s", dirh->path, FILEINFO_PATHSEPARATOR, entry->d_name); | ^~ directory.c:611:17: note: 'snprintf' output between 2 and 512 bytes into a destination of size 256 611 | snprintf(statpath, sizeof(statpath), "%s%c%s", dirh->path, FILEINFO_PATHSEPARATOR, entry->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -DUNIX -DNEED_BSDCOMPAT -DENABLE_CHROOT -DNEED_ERRTABLE -DUSAGELOG -c -o tnfs_file.o tnfs_file.c gcc -Wall -DUNIX -DNEED_BSDCOMPAT -DENABLE_CHROOT -DNEED_ERRTABLE -DUSAGELOG -c -o chroot.o chroot.c gcc -Wall -DUNIX -DNEED_BSDCOMPAT -DENABLE_CHROOT -DNEED_ERRTABLE -DUSAGELOG -c -o fileinfo.o fileinfo.c gcc -Wall -DUNIX -DNEED_BSDCOMPAT -DENABLE_CHROOT -DNEED_ERRTABLE -DUSAGELOG -c -o strlcpy.o strlcpy.c gcc -Wall -DUNIX -DNEED_BSDCOMPAT -DENABLE_CHROOT -DNEED_ERRTABLE -DUSAGELOG -c -o strlcat.o strlcat.c gcc -o bin/tnfsd main.o datagram.o log.o session.o endian.o directory.o errortable.o tnfs_file.o chroot.o fileinfo.o strlcpy.o strlcat.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YRCBbD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el9.x86_64 + cd spectranet-6488bbaf7ce012cf40eb323cb66a72de5407d695 + install -d /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el9.x86_64//var/lib/tnfs + install -D -m 0755 tnfs/tnfsd/bin/tnfsd /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el9.x86_64//usr/bin/tnfsd + install -D -m 644 /builddir/build/SOURCES/tnfsd.service /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el9.x86_64//usr/lib/systemd/system/tnfsd.service + install -D -m 0644 /builddir/build/SOURCES/tnfsd.xml /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el9.x86_64//usr/lib/firewalld/services/tnfsd.xml + install -D -m 0644 /builddir/build/SOURCES/tnfsd.logrotate /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el9.x86_64//etc/logrotate.d/tnfsd + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: tnfsd-0.1git6488bba.20220420-3.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.O72nf0 + umask 022 + cd /builddir/build/BUILD + cd spectranet-6488bbaf7ce012cf40eb323cb66a72de5407d695 + DOCDIR=/builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el9.x86_64/usr/share/doc/tnfsd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el9.x86_64/usr/share/doc/tnfsd + cp -pr tnfs/tnfsd/README.txt /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el9.x86_64/usr/share/doc/tnfsd + cp -pr tnfs/tnfs-protocol.md /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el9.x86_64/usr/share/doc/tnfsd + RPM_EC=0 ++ jobs -p + exit 0 Provides: tnfsd = 0.1git6488bba.20220420-3.el9 tnfsd(x86-64) = 0.1git6488bba.20220420-3.el9 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(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd 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.2.5)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: tnfsd-firewalld-0.1git6488bba.20220420-3.el9.x86_64 Provides: tnfsd-firewalld = 0.1git6488bba.20220420-3.el9 tnfsd-firewalld(x86-64) = 0.1git6488bba.20220420-3.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): firewalld-filesystem Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el9.x86_64 Wrote: /builddir/build/RPMS/tnfsd-firewalld-0.1git6488bba.20220420-3.el9.x86_64.rpm Wrote: /builddir/build/RPMS/tnfsd-0.1git6488bba.20220420-3.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hSiH4P + umask 022 + cd /builddir/build/BUILD + cd spectranet-6488bbaf7ce012cf40eb323cb66a72de5407d695 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0