Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/motsognir.spec'], chrootPath='/var/lib/mock/centos-stream+epel-9-aarch64-1649308994.160328/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.3gflpxkx:/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.3gflpxkx:/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', '08254d36ded84de69dc6e8eec437360b', '-D', '/var/lib/mock/centos-stream+epel-9-aarch64-1649308994.160328/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3gflpxkx:/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/motsognir.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=1649116800 Wrote: /builddir/build/SRPMS/motsognir-1.0.13-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/motsognir.spec'], chrootPath='/var/lib/mock/centos-stream+epel-9-aarch64-1649308994.160328/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.3gflpxkx:/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.3gflpxkx:/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', '0e38d93ff70d4b86b5d96128c05a7dc8', '-D', '/var/lib/mock/centos-stream+epel-9-aarch64-1649308994.160328/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3gflpxkx:/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/motsognir.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=1649116800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.92KiIV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf motsognir-1.0.13 + /usr/bin/xz -dc /builddir/build/SOURCES/motsognir-1.0.13.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd motsognir-1.0.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/motsognir-1.0.13-paths.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.maLTuQ + umask 022 + cd /builddir/build/BUILD + cd motsognir-1.0.13 + /usr/bin/make -O -j4 V=1 VERBOSE=1 cat motsognir.8 | gzip > motsognir.8.gz cc -c extmap.c -o extmap.o -Wall -Wextra -O3 -std=gnu89 -pedantic -Wformat-security cc extmaptest.c extmap.o -o extmaptest -Wall -Wextra -O3 -std=gnu89 -pedantic -Wformat-security cc -c motsognir.c -o motsognir.o -Wall -Wextra -O3 -std=gnu89 -pedantic -Wformat-security motsognir.c: In function 'execCgi.constprop': motsognir.c:1198:5: warning: '%s' directive argument is null [-Wformat-overflow=] 1198 | syslog(LOG_INFO, "running server-side app '%s' with queries '%s' + '%s'", localfile, srvsideparams[0], srvsideparams[1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ motsognir.c: In function 'main': motsognir.c:988:91: warning: '%s' directive output may be truncated writing up to 4091 bytes into a region of size 977 [-Wformat-truncation=] 981 | const char *rawurl = directorytolist + 4; | ~~~~~~ ...... 988 | snprintf(linebuff, sizeof(linebuff), " ", rawurl); | ^~ motsognir.c:988:3: note: 'snprintf' output between 50 and 4141 bytes into a destination of size 1024 988 | snprintf(linebuff, sizeof(linebuff), " ", rawurl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ motsognir.c:998:133: warning: '%s' directive output may be truncated writing up to 4091 bytes into a region of size 935 [-Wformat-truncation=] 981 | const char *rawurl = directorytolist + 4; | ~~~~~~ ...... 998 | snprintf(linebuff, sizeof(linebuff), "

%s

", rawurl, rawurl); | ^~ motsognir.c:998:3: note: 'snprintf' output between 124 and 8306 bytes into a destination of size 1024 998 | snprintf(linebuff, sizeof(linebuff), "

%s

", rawurl, rawurl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ motsognir.c:1767:43: warning: '%s' directive output may be truncated writing up to 4093 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 1767 | snprintf(localfile, localfile_len, "%s%s", rootdir, directorytolist + x + 2); | ^~ motsognir.c:1767:5: note: 'snprintf' output between 1 and 8189 bytes into a destination of size 4096 1767 | snprintf(localfile, localfile_len, "%s%s", rootdir, directorytolist + x + 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc motsognir.o extmap.o -o motsognir -Wall -Wextra -O3 -std=gnu89 -pedantic -Wformat-security + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iDHf6w + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64 + cd motsognir-1.0.13 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64 'INSTALL=/usr/bin/install -p' mkdir -p //builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64/etc/motsognir/ mkdir -p //builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64/usr/sbin/ mkdir -p //builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64/usr/share/man/man8/ cp motsognir //builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64/usr/sbin/ cp -n motsognir.conf //builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64/etc/motsognir/ cp motsognir.8.gz //builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64/usr/share/man/man8/ + install -d /builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64//var/gopher + mkdir -p /builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64//usr/lib/systemd/system + cp /builddir/build/SOURCES/motsognir.service /builddir/build/SOURCES/motsognir@.service /builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64//usr/lib/systemd/system + cp /builddir/build/SOURCES/motsognir.readme README.RHEL.Fedora + /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: motsognir-1.0.13-1.el9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0w2oTE + umask 022 + cd /builddir/build/BUILD + cd motsognir-1.0.13 + DOCDIR=/builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64/usr/share/doc/motsognir + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64/usr/share/doc/motsognir + cp -pr motsognir.conf /builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64/usr/share/doc/motsognir + cp -pr motsognir-extmap.conf /builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64/usr/share/doc/motsognir + cp -pr changes.txt /builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64/usr/share/doc/motsognir + cp -pr manual.pdf /builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64/usr/share/doc/motsognir + cp -pr README.RHEL.Fedora /builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64/usr/share/doc/motsognir + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(motsognir) = 1.0.13-1.el9 motsognir = 1.0.13-1.el9 motsognir(aarch-64) = 1.0.13-1.el9 Requires(interp): /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 Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64 Wrote: /builddir/build/RPMS/motsognir-1.0.13-1.el9.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.J4yRWn + umask 022 + cd /builddir/build/BUILD + cd motsognir-1.0.13 + /usr/bin/rm -rf /builddir/build/BUILDROOT/motsognir-1.0.13-1.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0