Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/netcat.spec'], chrootPath='/var/lib/mock/epel9-build-56120947-6540714/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.je3j3k8x:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/netcat.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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1729382400 Wrote: /builddir/build/SRPMS/netcat-1.228-1.el9.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/netcat.spec'], chrootPath='/var/lib/mock/epel9-build-56120947-6540714/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.je3j3k8x:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/netcat.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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1729382400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8AYbuU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netcat-1.228 + /usr/bin/mkdir -p netcat-1.228 + cd netcat-1.228 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -pf /builddir/build/SOURCES/netcat.c /builddir/build/SOURCES/nc.1 /builddir/build/SOURCES/atomicio.c /builddir/build/SOURCES/atomicio.h /builddir/build/SOURCES/socks.c /builddir/build/SOURCES/Makefile . Patch #0 (port-to-linux-with-libbsd.patch): + echo 'Patch #0 (port-to-linux-with-libbsd.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .port-to-linux-with-libbsd --fuzz=0 patching file Makefile patching file nc.1 patching file netcat.c Hunk #10 succeeded at 967 (offset -4 lines). Hunk #11 succeeded at 1083 (offset -4 lines). Hunk #12 succeeded at 1596 (offset 2 lines). Hunk #13 succeeded at 1613 (offset 2 lines). Hunk #14 succeeded at 1638 (offset 2 lines). Hunk #15 succeeded at 1700 (offset 2 lines). Hunk #16 succeeded at 1865 (offset 2 lines). Hunk #17 succeeded at 1910 (offset 2 lines). patching file socks.c + sed -e '1i #define unveil(path, permissions) 0' -e '1i #define pledge(request, paths) 0' -i netcat.c + sed -e 's/^\(LIBS=.*\)/\1 -ltls/' -i Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8bqlt5 + umask 022 + cd /builddir/build/BUILD + cd netcat-1.228 + /usr/bin/make -O -j12 V=1 VERBOSE=1 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c atomicio.c -o atomicio.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c socks.c -o socks.o cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c netcat.c -o netcat.o netcat.c: In function 'remote_connect': netcat.c:957:34: warning: unused variable 'on' [-Wunused-variable] 957 | int s = -1, error, herr, on = 1, save_errno; | ^~ netcat.c: In function 'save_peer_cert': netcat.c:1771:18: warning: pointer targets in assignment from 'const uint8_t *' {aka 'const unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 1771 | if ((pem = tls_peer_cert_chain_pem(tls_ctx, &plen)) == NULL) | ^ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 netcat.o atomicio.o socks.o `pkg-config --libs libbsd` -lresolv -ltls -o nc /usr/bin/ld: /tmp/cc2gC6YG.ltrans0.ltrans.o: in function `main': /builddir/build/BUILD/netcat-1.228/netcat.c:499: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9dC1iD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/netcat-1.228-1.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/netcat-1.228-1.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/netcat-1.228-1.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/netcat-1.228-1.el9.aarch64 + cd netcat-1.228 + install -D -p -m 0755 nc /builddir/build/BUILDROOT/netcat-1.228-1.el9.aarch64/usr/bin/netcat + install -D -p -m 0644 nc.1 /builddir/build/BUILDROOT/netcat-1.228-1.el9.aarch64/usr/share/man/man1/netcat.1 + touch /builddir/build/BUILDROOT/netcat-1.228-1.el9.aarch64/usr/bin/nc + touch /builddir/build/BUILDROOT/netcat-1.228-1.el9.aarch64/usr/share/man/man1/nc.1.gz + /usr/bin/find-debuginfo -j12 --strict-build-id -m -i --build-id-seed 1.228-1.el9 --unique-debug-suffix -1.228-1.el9.aarch64 --unique-debug-src-base netcat-1.228-1.el9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/netcat-1.228 extracting debug info from /builddir/build/BUILDROOT/netcat-1.228-1.el9.aarch64/usr/bin/netcat original debug info size: 104kB, size after compression: 100kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 126 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress gzip: ./usr/share/man/man1/nc.1.gz: unexpected end of file ls: cannot access './usr/share/man/man1/nc.1': No such file or directory find: invalid argument `-inum' to `-inum' gzip: ./usr/share/man/man1/nc.1: No such file or directory + /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: netcat-1.228-1.el9.aarch64 Provides: netcat = 1.228-1.el9 netcat(aarch-64) = 1.228-1.el9 Requires(interp): /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 alternatives Requires(preun): /bin/sh alternatives Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libbsd.so.0()(64bit) libbsd.so.0(LIBBSD_0.0)(64bit) libbsd.so.0(LIBBSD_0.2)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.34)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.17)(64bit) libtls.so.28()(64bit) rtld(GNU_HASH) Processing files: netcat-debugsource-1.228-1.el9.aarch64 Provides: netcat-debugsource = 1.228-1.el9 netcat-debugsource(aarch-64) = 1.228-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: netcat-debuginfo-1.228-1.el9.aarch64 Provides: debuginfo(build-id) = b50861b635e192d84e82ee3177f92915473899f2 netcat-debuginfo = 1.228-1.el9 netcat-debuginfo(aarch-64) = 1.228-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: netcat-debugsource(aarch-64) = 1.228-1.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/netcat-1.228-1.el9.aarch64 Wrote: /builddir/build/RPMS/netcat-1.228-1.el9.aarch64.rpm Wrote: /builddir/build/RPMS/netcat-debugsource-1.228-1.el9.aarch64.rpm Wrote: /builddir/build/RPMS/netcat-debuginfo-1.228-1.el9.aarch64.rpm Child return code was: 0