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 x86_64 --nodeps /builddir/build/SPECS/aha.spec'], chrootPath='/var/lib/mock/epel9-build-56124107-6540850/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.jzxyeorc:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/aha.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1657497600 Wrote: /builddir/build/SRPMS/aha-0.5.1-2.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/aha.spec'], chrootPath='/var/lib/mock/epel9-build-56124107-6540850/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.jzxyeorc:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/aha.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1657497600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1jIDAj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf aha-0.5.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/aha-0.5.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd aha-0.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0000-fix-null-pointer-dereference.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + cat aha.c + awk '1;/\*\//{exit}' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.a8uPRR + umask 022 + cd /builddir/build/BUILD + cd aha-0.5.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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j6 V=1 VERBOSE=1 gcc -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -Wextra -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 aha.c -o aha aha.c: In function 'make_rgb': aha.c:241:31: warning: '%02x' directive writing between 2 and 8 bytes into a region of size between 4 and 10 [-Wformat-overflow=] 241 | sprintf(str_rgb, "%02x%02x%02x", rgb_R, rgb_G, rgb_B); | ^~~~ aha.c:241:26: note: directive argument in the range [0, 2147483647] 241 | sprintf(str_rgb, "%02x%02x%02x", rgb_R, rgb_G, rgb_B); | ^~~~~~~~~~~~~~ aha.c:241:26: note: directive argument in the range [0, 255] In file included from /usr/include/stdio.h:900, from aha.c:24: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 19 bytes into a destination of size 12 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ aha.c: In function 'printHeader': aha.c:513:72: warning: '%i' directive output may be truncated writing between 1 and 10 bytes into a region of size 7 [-Wformat-truncation=] 513 | if(opts->iso>0) snprintf(encoding, sizeof(encoding), "ISO-8859-%i", opts->iso); | ^~ aha.c:513:62: note: directive argument in the range [1, 2147483647] 513 | if(opts->iso>0) snprintf(encoding, sizeof(encoding), "ISO-8859-%i", opts->iso); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from aha.c:24: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 11 and 20 bytes into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5oIJnG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/aha-0.5.1-2.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/aha-0.5.1-2.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/aha-0.5.1-2.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/aha-0.5.1-2.el9.x86_64 + cd aha-0.5.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/aha-0.5.1-2.el9.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/usr install -d /builddir/build/BUILDROOT/aha-0.5.1-2.el9.x86_64/usr/bin install -m 0755 aha /builddir/build/BUILDROOT/aha-0.5.1-2.el9.x86_64/usr/bin install -d /builddir/build/BUILDROOT/aha-0.5.1-2.el9.x86_64/usr/share/man/man1 install -m 644 aha.1 /builddir/build/BUILDROOT/aha-0.5.1-2.el9.x86_64/usr/share/man/man1 + /usr/bin/find-debuginfo -j6 --strict-build-id -m -i --build-id-seed 0.5.1-2.el9 --unique-debug-suffix -0.5.1-2.el9.x86_64 --unique-debug-src-base aha-0.5.1-2.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/aha-0.5.1 extracting debug info from /builddir/build/BUILDROOT/aha-0.5.1-2.el9.x86_64/usr/bin/aha original debug info size: 72kB, size after compression: 68kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 71 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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: aha-0.5.1-2.el9.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1rEB8y + umask 022 + cd /builddir/build/BUILD + cd aha-0.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/aha-0.5.1-2.el9.x86_64/usr/share/licenses/aha + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/aha-0.5.1-2.el9.x86_64/usr/share/licenses/aha + cp -pr LICENSE /builddir/build/BUILDROOT/aha-0.5.1-2.el9.x86_64/usr/share/licenses/aha + RPM_EC=0 ++ jobs -p + exit 0 Provides: aha = 0.5.1-2.el9 aha(x86-64) = 0.5.1-2.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: aha-debugsource-0.5.1-2.el9.x86_64 Provides: aha-debugsource = 0.5.1-2.el9 aha-debugsource(x86-64) = 0.5.1-2.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: aha-debuginfo-0.5.1-2.el9.x86_64 Provides: aha-debuginfo = 0.5.1-2.el9 aha-debuginfo(x86-64) = 0.5.1-2.el9 debuginfo(build-id) = 6a6fd69de279311507d77054d9c72ee4b3c276d1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: aha-debugsource(x86-64) = 0.5.1-2.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/aha-0.5.1-2.el9.x86_64 Wrote: /builddir/build/RPMS/aha-0.5.1-2.el9.x86_64.rpm Wrote: /builddir/build/RPMS/aha-debugsource-0.5.1-2.el9.x86_64.rpm Wrote: /builddir/build/RPMS/aha-debuginfo-0.5.1-2.el9.x86_64.rpm Child return code was: 0