Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/tnfsd.spec'], chrootPath='/var/lib/mock/rhel+epel-8-aarch64-1668707825.597742/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._g2byy7y:/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._g2byy7y:/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', '753392309661401aa5db2115b2a50ebb', '-D', '/var/lib/mock/rhel+epel-8-aarch64-1668707825.597742/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._g2byy7y:/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 aarch64 --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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/tnfsd-0.1git6488bba.20220420-3.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/tnfsd.spec'], chrootPath='/var/lib/mock/rhel+epel-8-aarch64-1668707825.597742/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._g2byy7y:/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._g2byy7y:/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', '57742b427e2b40c9b72d3e14ebe29ce0', '-D', '/var/lib/mock/rhel+epel-8-aarch64-1668707825.597742/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._g2byy7y:/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 aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EJnCxA + 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 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tg3Ycr + umask 022 + cd /builddir/build/BUILD + cd spectranet-6488bbaf7ce012cf40eb323cb66a72de5407d695 + cd tnfs/tnfsd + /usr/bin/make -O -j4 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 log.o log.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 datagram.o datagram.c datagram.c: In function 'tcp_accept': datagram.c:231:61: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] acc_fd = accept(tcplistenfd, (struct sockaddr *)&cli_addr, &cli_len); ^~~~~~~~ In file included from datagram.c:34: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int32_t *' {aka 'int *'} extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ datagram.c: In function 'tnfs_handle_udpmsg': datagram.c:260:38: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr *)&cliaddr, &len); ^~~~ In file included from datagram.c:34: /usr/include/sys/socket.h:163:16: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int32_t *' {aka 'int *'} extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, ^~~~~~~~ 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 errortable.o errortable.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 tnfs_file.o tnfs_file.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 directory.o directory.c directory.c: In function '_load_directory': directory.c:611:45: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(statpath, sizeof(statpath), "%s%c%s", dirh->path, FILEINFO_PATHSEPARATOR, entry->d_name); ^~ directory.c:611:3: note: 'snprintf' output between 2 and 512 bytes into a destination of size 256 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 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.R51rge + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el8.aarch64 ++ dirname /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el8.aarch64 + cd spectranet-6488bbaf7ce012cf40eb323cb66a72de5407d695 + install -d /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el8.aarch64//var/lib/tnfs + install -D -m 0755 tnfs/tnfsd/bin/tnfsd /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el8.aarch64//usr/bin/tnfsd + install -D -m 644 /builddir/build/SOURCES/tnfsd.service /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el8.aarch64//usr/lib/systemd/system/tnfsd.service + install -D -m 0644 /builddir/build/SOURCES/tnfsd.xml /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el8.aarch64//usr/lib/firewalld/services/tnfsd.xml + install -D -m 0644 /builddir/build/SOURCES/tnfsd.logrotate /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el8.aarch64//etc/logrotate.d/tnfsd + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el8.aarch64/etc/ld.so.conf: No such file or directory + /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/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3 + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: tnfsd-0.1git6488bba.20220420-3.el8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dFutkz + umask 022 + cd /builddir/build/BUILD + cd spectranet-6488bbaf7ce012cf40eb323cb66a72de5407d695 + DOCDIR=/builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el8.aarch64/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.el8.aarch64/usr/share/doc/tnfsd + cp -pr tnfs/tnfsd/README.txt /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el8.aarch64/usr/share/doc/tnfsd + cp -pr tnfs/tnfs-protocol.md /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el8.aarch64/usr/share/doc/tnfsd + exit 0 Provides: tnfsd = 0.1git6488bba.20220420-3.el8 tnfsd(aarch-64) = 0.1git6488bba.20220420-3.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(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.17)(64bit) rtld(GNU_HASH) Processing files: tnfsd-firewalld-0.1git6488bba.20220420-3.el8.aarch64 Provides: tnfsd-firewalld = 0.1git6488bba.20220420-3.el8 tnfsd-firewalld(aarch-64) = 0.1git6488bba.20220420-3.el8 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.el8.aarch64 Wrote: /builddir/build/RPMS/tnfsd-0.1git6488bba.20220420-3.el8.aarch64.rpm Wrote: /builddir/build/RPMS/tnfsd-firewalld-0.1git6488bba.20220420-3.el8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HhKTFo + umask 022 + cd /builddir/build/BUILD + cd spectranet-6488bbaf7ce012cf40eb323cb66a72de5407d695 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tnfsd-0.1git6488bba.20220420-3.el8.aarch64 + exit 0 Child return code was: 0