Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/perl-Net-LibIDN2.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-137332-9626/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/perl-Net-LibIDN2.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/perl-Net-LibIDN2-1.02-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/perl-Net-LibIDN2.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-137332-9626/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/perl-Net-LibIDN2.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qlSOQ3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Net-LibIDN2-1.02 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Net-LibIDN2-1.02.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Net-LibIDN2-1.02 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf inc + perl -i -ne 'print $_ unless m{^inc/}' MANIFEST + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GQYghy + 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 -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 -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 -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 -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 Net-LibIDN2-1.02 + perl Build.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 -fasynchronous-unwind-tables -fstack-clash-protection' # Compiler was not gcc # Compiler seems to be /usr/bin/gcc # Code: # #include # int main(int argc, char *argv[]) { return 0; } # /usr/bin/gcc -D_REENTRANT -D_GNU_SOURCE -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 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 assertlibz2uAcDEC.c -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -fstack-protector-strong -L/usr/local/lib -o assertlibXpQ_eZ9R In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/loongarch64-openEuler-linux/12/include/stdint.h:9, from /usr/include/idn2.h:55, from assertlibz2uAcDEC.c:1: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ # Code: # #include # int main(int argc, char *argv[]) { if (idn2_check_version("2.0.0")) return 0; else return 1; } # /usr/bin/gcc -D_REENTRANT -D_GNU_SOURCE -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 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 assertlib1gs7tXxV.c -lidn2 -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -fstack-protector-strong -L/usr/local/lib -o assertlib04o78Ckf In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/loongarch64-openEuler-linux/12/include/stdint.h:9, from /usr/include/idn2.h:55, from assertlib1gs7tXxV.c:1: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ # Execute(1): /builddir/build/BUILD/Net-LibIDN2-1.02/assertlib04o78Ckf # return value: 0 Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Net-LibIDN2' version '1.02' + ./Build Building Net-LibIDN2 gcc -I/usr/lib64/perl5/CORE -DVERSION="1.02" -DXS_VERSION="1.02" -fPIC -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -fasynchronous-unwind-tables -fstack-clash-protection -g -o lib/Net/LibIDN2.o lib/Net/LibIDN2.c ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Net/LibIDN2/LibIDN2.bs') gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/local/lib -fstack-protector-strong -lperl -o blib/arch/auto/Net/LibIDN2/LibIDN2.so lib/Net/LibIDN2.o -lidn2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SfmIXm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64 + cd Net-LibIDN2-1.02 + ./Build install destdir=/builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64 create_packlist=0 Building Net-LibIDN2 Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/Net/LibIDN2/LibIDN2.bs Installing /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/Net/LibIDN2/LibIDN2.so Installing /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/Net/LibIDN2.pm Installing /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64/usr/share/man/man3/Net::LibIDN2.3pm + find /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64 -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64/usr + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.02-1.ocs23 --unique-debug-suffix -1.02-1.ocs23.loongarch64 --unique-debug-src-base perl-Net-LibIDN2-1.02-1.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/Net-LibIDN2-1.02 extracting debug info from /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/Net/LibIDN2/LibIDN2.so 58 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.1Fn8n1 + 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 -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 -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 -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 -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 Net-LibIDN2-1.02 + ./Build test t/001_basic.t .. ok All tests successful. Test Summary Report ------------------- t/001_basic.t (Wstat: 0 Tests: 59 Failed: 0) TODO passed: 36-39 Files=1, Tests=59, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.10 cusr 0.02 csys = 0.15 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-Net-LibIDN2-1.02-1.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3HAMNh + umask 022 + cd /builddir/build/BUILD + cd Net-LibIDN2-1.02 + DOCDIR=/builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64/usr/share/doc/perl-Net-LibIDN2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64/usr/share/doc/perl-Net-LibIDN2 + cp -pr Changes /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64/usr/share/doc/perl-Net-LibIDN2 + cp -pr README /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64/usr/share/doc/perl-Net-LibIDN2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.wQpfuG + umask 022 + cd /builddir/build/BUILD + cd Net-LibIDN2-1.02 + LICENSEDIR=/builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64/usr/share/licenses/perl-Net-LibIDN2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64/usr/share/licenses/perl-Net-LibIDN2 + cp -pr LICENSE /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64/usr/share/licenses/perl-Net-LibIDN2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Net::LibIDN2) = 1.02 perl-Net-LibIDN2 = 1.02-1.ocs23 perl-Net-LibIDN2(loongarch-64) = 1.02-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libidn2.so.0()(64bit) libidn2.so.0(IDN2_0.0.0)(64bit) perl(:MODULE_COMPAT_5.36.0) perl(:VERSION) >= 5.6.0 perl(DynaLoader) perl(Exporter) perl(strict) perl(warnings) perl-libs rtld(GNU_HASH) Processing files: perl-Net-LibIDN2-debugsource-1.02-1.ocs23.loongarch64 Provides: perl-Net-LibIDN2-debugsource = 1.02-1.ocs23 perl-Net-LibIDN2-debugsource(loongarch-64) = 1.02-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Net-LibIDN2-debuginfo-1.02-1.ocs23.loongarch64 Provides: debuginfo(build-id) = a18932b8ae916d75289b6db53e0fc0eea9a2cd54 perl-Net-LibIDN2-debuginfo = 1.02-1.ocs23 perl-Net-LibIDN2-debuginfo(loongarch-64) = 1.02-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Net-LibIDN2-debugsource(loongarch-64) = 1.02-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64 Wrote: /builddir/build/RPMS/perl-Net-LibIDN2-debugsource-1.02-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/perl-Net-LibIDN2-1.02-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/perl-Net-LibIDN2-debuginfo-1.02-1.ocs23.loongarch64.rpm Child return code was: 0