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/perl-Digest-CRC.spec'], chrootPath='/var/lib/mock/dist-oc9-build-129701-77931/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/perl-Digest-CRC.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 Wrote: /builddir/build/SRPMS/perl-Digest-CRC-0.24-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/perl-Digest-CRC.spec'], chrootPath='/var/lib/mock/dist-oc9-build-129701-77931/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 --nocheck /builddir/build/SPECS/perl-Digest-CRC.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dSNUvu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Digest-CRC-0.24 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Digest-CRC-0.24.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Digest-CRC-0.24 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VXl0Fd + 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 Digest-CRC-0.24 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-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' NO_PACKLIST=1 NO_PERLLOCAL=1 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Digest::CRC Testing if you have a C compiler gcc -c -D_REENTRANT -D_GNU_SOURCE -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/TencentOS/TencentOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -DVERSION=\"0.24\" -DXS_VERSION=\"0.24\" -fPIC "-I/usr/lib64/perl5/CORE" test.c gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-cc1': No such file or directory compilation terminated. make: *** [Makefile:345: test.o] Error 1 I cannot determine if you have a C compiler so I will install a perl-only implementation You can force installation of the XS version with perl Makefile.PL -xs Generating a Unix-style Makefile Writing Makefile for Digest::CRC + /usr/bin/make -O -j8 V=1 VERBOSE=1 cp lib/Digest/CRC.pm blib/lib/Digest/CRC.pm Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7fATHB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64 + cd Digest-CRC-0.24 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64 'INSTALL=/usr/bin/install -p' Manifying 1 pod document Installing /builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64/usr/share/perl5/vendor_perl/Digest/CRC.pm Installing /builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64/usr/share/man/man3/Digest::CRC.3pm + find /builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64 -type f -name '*.bs' -empty -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w -c /builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64 mode of '/builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64/usr/share/perl5/vendor_perl/Digest/CRC.pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of '/builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64/usr/share/man/man3/Digest::CRC.3pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.24-3.oc9 --unique-debug-suffix -0.24-3.oc9.aarch64 --unique-debug-src-base perl-Digest-CRC-0.24-3.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/Digest-CRC-0.24 + /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: perl-Digest-CRC-0.24-3.oc9.aarch64 error: Directory not found: /builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64/usr/lib64/perl5/vendor_perl/auto/Digest error: Directory not found: /builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64/usr/lib64/perl5/vendor_perl/Digest Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rhr8FH + umask 022 + cd /builddir/build/BUILD + cd Digest-CRC-0.24 + DOCDIR=/builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64/usr/share/doc/perl-Digest-CRC + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64/usr/share/doc/perl-Digest-CRC + cp -pr Changes /builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64/usr/share/doc/perl-Digest-CRC + cp -pr README /builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64/usr/share/doc/perl-Digest-CRC + RPM_EC=0 ++ jobs -p + exit 0 RPM build errors: Directory not found: /builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64/usr/lib64/perl5/vendor_perl/auto/Digest Directory not found: /builddir/build/BUILDROOT/perl-Digest-CRC-0.24-3.oc9.aarch64/usr/lib64/perl5/vendor_perl/Digest Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/perl-Digest-CRC.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/perl-Digest-CRC.spec