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 aarch64 --nodeps /builddir/build/SPECS/libaesgm.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-105509-66580/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 aarch64 --nodeps /builddir/build/SPECS/libaesgm.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/libaesgm-20090429-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/libaesgm.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-105509-66580/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 aarch64 --nodeps /builddir/build/SPECS/libaesgm.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7PQdVq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libaesgm-20090429 + /usr/bin/mkdir -p libaesgm-20090429 + cd libaesgm-20090429 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/aes-src-29-04-09.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/Makefile.aes Makefile Patch #0 (libaesgm-20090429-fileencrypt.patch): + echo 'Patch #0 (libaesgm-20090429-fileencrypt.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fileencrypt --fuzz=0 patching file fileenc.c patching file fileenc.h patching file hmac.c patching file hmac.h patching file Makefile patching file pwd2key.c patching file pwd2key.h patching file sha1.c patching file sha1.h patching file sha2.c patching file sha2.h Patch #1 (libaesgm-20090429-git8798ad829374cd5ff312f55ba3ccccfcf586fa11.patch): + echo 'Patch #1 (libaesgm-20090429-git8798ad829374cd5ff312f55ba3ccccfcf586fa11.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .git8798ad82 --fuzz=0 patching file aes_amd64.asm patching file aescpp.h patching file aescrypt.c patching file aes.h patching file aeskey.c patching file aes_modes.c patching file aesopt.h patching file aestab.c patching file aestab.h patching file aes_via_ace.h patching file aes_x86_v1.asm patching file aes_x86_v2.asm patching file aesxam.c patching file brg_endian.h patching file brg_types.h patching file license.txt patching file rdtsc.h patching file rfc3686.c patching file tablegen.c + sed -i 's/\r//' aes.txt license.txt vb.txt via_ace.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EUoTX2 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 libaesgm-20090429 + make '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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DUSE_SHA1' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DUSE_SHA1 -c -o aescrypt.o aescrypt.c 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DUSE_SHA1 -c -o aeskey.o aeskey.c 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DUSE_SHA1 -c -o aes_modes.o aes_modes.c 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DUSE_SHA1 -c -o aestab.o aestab.c 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DUSE_SHA1 -c -o fileenc.o fileenc.c fileenc.c: In function 'fcrypt_end': fileenc.c:136:22: warning: unused variable 'res' [-Wunused-variable] 136 | { unsigned int res = cx->mode; | ^~~ 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DUSE_SHA1 -c -o hmac.o hmac.c 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DUSE_SHA1 -c -o pwd2key.o pwd2key.c 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DUSE_SHA1 -c -o sha1.o sha1.c 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DUSE_SHA1 -c -o sha2.o sha2.c 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DUSE_SHA1 -shared -Wl,-soname,libaesgm.so.0 -o libaesgm.so.0.0.0 aescrypt.o aeskey.o aes_modes.o aestab.o fileenc.o hmac.o pwd2key.o sha1.o sha2.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.J5nn4O + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libaesgm-20090429-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libaesgm-20090429-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/libaesgm-20090429-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libaesgm-20090429-1.oc9.aarch64 + cd libaesgm-20090429 + make DESTDIR=/builddir/build/BUILDROOT/libaesgm-20090429-1.oc9.aarch64 LIBDIR=/usr/lib64 install mkdir -p /builddir/build/BUILDROOT/libaesgm-20090429-1.oc9.aarch64/usr/include//aes/ cp -p *.h /builddir/build/BUILDROOT/libaesgm-20090429-1.oc9.aarch64/usr/include//aes/ mkdir -p /builddir/build/BUILDROOT/libaesgm-20090429-1.oc9.aarch64/usr/lib64 cp -p libaesgm.so.0.0.0 /builddir/build/BUILDROOT/libaesgm-20090429-1.oc9.aarch64/usr/lib64 cd /builddir/build/BUILDROOT/libaesgm-20090429-1.oc9.aarch64/usr/lib64 && ln -s -f libaesgm.so.0.0.0 libaesgm.so && ln -s -f libaesgm.so.0.0.0 libaesgm.so.0 + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 20090429-1.oc9 --unique-debug-suffix -20090429-1.oc9.aarch64 --unique-debug-src-base libaesgm-20090429-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/libaesgm-20090429 extracting debug info from /builddir/build/BUILDROOT/libaesgm-20090429-1.oc9.aarch64/usr/lib64/libaesgm.so.0.0.0 317 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: libaesgm-20090429-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kXkKqd + umask 022 + cd /builddir/build/BUILD + cd libaesgm-20090429 + DOCDIR=/builddir/build/BUILDROOT/libaesgm-20090429-1.oc9.aarch64/usr/share/doc/libaesgm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libaesgm-20090429-1.oc9.aarch64/usr/share/doc/libaesgm + cp -pr aes.txt license.txt vb.txt via_ace.txt /builddir/build/BUILDROOT/libaesgm-20090429-1.oc9.aarch64/usr/share/doc/libaesgm + RPM_EC=0 ++ jobs -p + exit 0 Provides: libaesgm = 20090429-1.oc9 libaesgm(aarch-64) = 20090429-1.oc9 libaesgm.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: libaesgm-devel-20090429-1.oc9.aarch64 Provides: libaesgm-devel = 20090429-1.oc9 libaesgm-devel(aarch-64) = 20090429-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libaesgm.so.0()(64bit) Processing files: libaesgm-debugsource-20090429-1.oc9.aarch64 Provides: libaesgm-debugsource = 20090429-1.oc9 libaesgm-debugsource(aarch-64) = 20090429-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libaesgm-debuginfo-20090429-1.oc9.aarch64 Provides: debuginfo(build-id) = c0bca161bc544466331795e6cd98e72fc4237f3b libaesgm-debuginfo = 20090429-1.oc9 libaesgm-debuginfo(aarch-64) = 20090429-1.oc9 libaesgm.so.0.0.0-20090429-1.oc9.aarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libaesgm-debugsource(aarch-64) = 20090429-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libaesgm-20090429-1.oc9.aarch64 Wrote: /builddir/build/RPMS/libaesgm-debugsource-20090429-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/libaesgm-devel-20090429-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/libaesgm-debuginfo-20090429-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/libaesgm-20090429-1.oc9.aarch64.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0