Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 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/dist-oc9-epol-build-79113-53294/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) 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 Wrote: /builddir/build/SRPMS/aha-0.5.1-1.oc9.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/dist-oc9-epol-build-79113-53294/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) 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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Wzarfz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf aha-0.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/aha-0.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd aha-0.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0000-fix-null-pointer-dereference.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cat aha.c + awk '1;/\*\//{exit}' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MR1iUu + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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 -j32 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 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); | ^~~~ In function 'make_rgb', inlined from 'make_rgb' at aha.c:207:6: 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:964, from aha.c:24: In function 'sprintf', inlined from 'make_rgb' at aha.c:241:2, inlined from 'make_rgb' at aha.c:207:6: /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 function 'snprintf', inlined from 'printHeader' at aha.c:513:18: /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.htN15C + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/aha-0.5.1-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/aha-0.5.1-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/aha-0.5.1-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/aha-0.5.1-1.oc9.x86_64 + cd aha-0.5.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/aha-0.5.1-1.oc9.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/usr install -d /builddir/build/BUILDROOT/aha-0.5.1-1.oc9.x86_64/usr/bin install -m 0755 aha /builddir/build/BUILDROOT/aha-0.5.1-1.oc9.x86_64/usr/bin install -d /builddir/build/BUILDROOT/aha-0.5.1-1.oc9.x86_64/usr/share/man/man1 install -m 644 aha.1 /builddir/build/BUILDROOT/aha-0.5.1-1.oc9.x86_64/usr/share/man/man1 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.5.1-1.oc9 --unique-debug-suffix -0.5.1-1.oc9.x86_64 --unique-debug-src-base aha-0.5.1-1.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/aha-0.5.1 extracting debug info from /builddir/build/BUILDROOT/aha-0.5.1-1.oc9.x86_64/usr/bin/aha 71 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: aha-0.5.1-1.oc9.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mCkS4K + umask 022 + cd /builddir/build/BUILD + cd aha-0.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/aha-0.5.1-1.oc9.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-1.oc9.x86_64/usr/share/licenses/aha + cp -pr LICENSE /builddir/build/BUILDROOT/aha-0.5.1-1.oc9.x86_64/usr/share/licenses/aha + RPM_EC=0 ++ jobs -p + exit 0 Provides: aha = 0.5.1-1.oc9 aha(x86-64) = 0.5.1-1.oc9 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-1.oc9.x86_64 Provides: aha-debugsource = 0.5.1-1.oc9 aha-debugsource(x86-64) = 0.5.1-1.oc9 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-1.oc9.x86_64 Provides: aha-debuginfo = 0.5.1-1.oc9 aha-debuginfo(x86-64) = 0.5.1-1.oc9 debuginfo(build-id) = aa25a20b3edb5820da5641b4ff4efa09a1455f78 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-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/aha-0.5.1-1.oc9.x86_64 Wrote: /builddir/build/RPMS/aha-debugsource-0.5.1-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/aha-debuginfo-0.5.1-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/aha-0.5.1-1.oc9.x86_64.rpm Child return code was: 0