Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-File-MMagic-XS.spec'], chrootPath='/var/lib/mock/f37-build-635182-69729/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-File-MMagic-XS.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 sh: line 1: perl: command not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/perl-File-MMagic-XS-0.09008-26.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-File-MMagic-XS.spec'], chrootPath='/var/lib/mock/f37-build-635182-69729/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-File-MMagic-XS.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.O2lSuj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf File-MMagic-XS-0.09008 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/File-MMagic-XS-0.09008.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd File-MMagic-XS-0.09008 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (perl-File-MMagic-XS-format-security.patch):' Patch #1 (perl-File-MMagic-XS-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .format-security --fuzz=0 patching file src/perl-mmagic-xs.c Patch #2 (File-MMagic-XS-0.09008-Fix-building-on-Perl-without-dot-in-INC.patch): + echo 'Patch #2 (File-MMagic-XS-0.09008-Fix-building-on-Perl-without-dot-in-INC.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.PL + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Fv5Wuq + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/File-MMagic-XS-0.09008/.package_note-perl-File-MMagic-XS-0.09008-26.fc37.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh perl-File-MMagic-XS 0.09008-26.fc37 riscv64 + cd File-MMagic-XS-0.09008 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' Cannot determine perl version info from lib/File/MMagic/XS.pm Writing ppport.h Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for File::MMagic::XS + make -j4 Running Mkbootstrap for XS () "/usr/bin/perl" "-Iinc" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' src/MMagic.xs > src/MMagic.xsc chmod 644 "XS.bs" gcc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -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 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.09008\" -DXS_VERSION=\"0.09008\" -o src/MMagicST.o -fPIC "-I/usr/lib64/perl5/CORE" -DUSE_PPPORT src/MMagicST.c gcc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -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 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.09008\" -DXS_VERSION=\"0.09008\" -o src/perl-mmagic-xs.o -fPIC "-I/usr/lib64/perl5/CORE" -DUSE_PPPORT src/perl-mmagic-xs.c src/MMagicST.c: In function 'new_size': src/MMagicST.c:133:12: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 133 | i < sizeof(primes)/sizeof(primes[0]); | ^ src/MMagicST.c: In function 'delete_never': src/MMagicST.c:470:15: warning: unused parameter 'key' [-Wunused-parameter] 470 | st_data_t key, value, never; | ^~~ src/MMagicST.c: In function 'st_foreach': src/MMagicST.c:500:20: warning: enum conversion from 'int' to 'enum st_retval' in assignment is invalid in C++ [-Wc++-compat] 500 | retval = (*func)(ptr->key, ptr->record, arg, 0); | ^ src/MMagicST.c:511:28: warning: enum conversion from 'int' to 'enum st_retval' in assignment is invalid in C++ [-Wc++-compat] 511 | retval = (*func)(0, 0, arg, 1); | ^ cp lib/File/MMagic/magic blib/lib/File/MMagic/magic cp lib/File/MMagic/XS.pm blib/lib/File/MMagic/XS.pm cp benchmark.pl blib/lib/File/MMagic/benchmark.pl "/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/File/MMagic/XS/XS.bs 644 src/MMagicST.c: In function 'rehash': src/MMagicST.c:64:17: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 64 | #define xcalloc calloc | ^ In file included from src/MMagicST.c:9: /usr/include/stdlib.h:556:14: note: in a call to allocation function 'calloc' declared here 556 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ mv src/MMagic.xsc src/MMagic.c gcc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -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 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.09008\" -DXS_VERSION=\"0.09008\" -o src/MMagic.o -fPIC "-I/usr/lib64/perl5/CORE" -DUSE_PPPORT src/MMagic.c In file included from /usr/lib64/perl5/CORE/perl.h:7242, from src/perl-mmagic-xs.h:5, from src/perl-mmagic-xs.c:105: /usr/lib64/perl5/CORE/inline.h: In function 'Perl_cop_file_avn': /usr/lib64/perl5/CORE/inline.h:3489:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3489 | const char *file = CopFILE(cop); | ^~~~~ src/perl-mmagic-xs.c: At top level: src/perl-mmagic-xs.c:386:36: warning: union defined in struct or union is not visible in C++ [-Wc++-compat] 386 | fmm_mconvert(PerlFMM *state, union VALUETYPE *p, fmmagic *m) | ^~~~~~~~~ src/perl-mmagic-xs.h:57:11: note: union defined here 57 | union VALUETYPE { | ^~~~~~~~~ src/perl-mmagic-xs.c:430:32: warning: union defined in struct or union is not visible in C++ [-Wc++-compat] 430 | fmm_mget(PerlFMM *state, union VALUETYPE *p, unsigned char *s, fmmagic *m, size_t nbytes) | ^~~~~~~~~ src/perl-mmagic-xs.h:57:11: note: union defined here 57 | union VALUETYPE { | ^~~~~~~~~ src/perl-mmagic-xs.c: In function 'fmm_mget': src/perl-mmagic-xs.c:434:31: warning: union defined in struct or union is not visible in C++ [-Wc++-compat] 434 | if (offset + sizeof(union VALUETYPE) > nbytes) { | ^~~~~~~~~ src/perl-mmagic-xs.h:57:11: note: union defined here 57 | union VALUETYPE { | ^~~~~~~~~ src/perl-mmagic-xs.c:438:40: warning: union defined in struct or union is not visible in C++ [-Wc++-compat] 438 | memcpy(p, s + offset, sizeof(union VALUETYPE)); | ^~~~~~~~~ src/perl-mmagic-xs.h:57:11: note: union defined here 57 | union VALUETYPE { | ^~~~~~~~~ src/perl-mmagic-xs.c:457:35: warning: union defined in struct or union is not visible in C++ [-Wc++-compat] 457 | if (offset + sizeof(union VALUETYPE) > nbytes) | ^~~~~~~~~ src/perl-mmagic-xs.h:57:11: note: union defined here 57 | union VALUETYPE { | ^~~~~~~~~ src/perl-mmagic-xs.c:460:44: warning: union defined in struct or union is not visible in C++ [-Wc++-compat] 460 | memcpy(p, s + offset, sizeof(union VALUETYPE)); | ^~~~~~~~~ src/perl-mmagic-xs.h:57:11: note: union defined here 57 | union VALUETYPE { | ^~~~~~~~~ src/perl-mmagic-xs.c: At top level: src/perl-mmagic-xs.c:595:51: warning: union defined in struct or union is not visible in C++ [-Wc++-compat] 595 | fmm_append_mime(PerlFMM *state, char **buf, union VALUETYPE *p, fmmagic *m) | ^~~~~~~~~ src/perl-mmagic-xs.h:57:11: note: union defined here 57 | union VALUETYPE { | ^~~~~~~~~ src/perl-mmagic-xs.c:643:34: warning: union defined in struct or union is not visible in C++ [-Wc++-compat] 643 | fmm_mcheck(PerlFMM *state, union VALUETYPE *p, fmmagic *m) | ^~~~~~~~~ src/perl-mmagic-xs.h:57:11: note: union defined here 57 | union VALUETYPE { | ^~~~~~~~~ src/perl-mmagic-xs.c: In function 'fmm_ascmagic': src/perl-mmagic-xs.c:1307:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1307 | int is_tarball = is_tar(buf, nbytes); | ^~~ src/perl-mmagic-xs.c: In function 'fmm_softmagic': src/perl-mmagic-xs.c:1325:11: warning: union defined in struct or union is not visible in C++ [-Wc++-compat] 1325 | union VALUETYPE p; | ^~~~~~~~~ src/perl-mmagic-xs.h:57:11: note: union defined here 57 | union VALUETYPE { | ^~~~~~~~~ src/perl-mmagic-xs.c: In function 'PerlFMM_ascmagic': src/perl-mmagic-xs.c:1645:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1645 | rc = fmm_ascmagic(data, strlen(data), &type); | ^~~~ | | | unsigned char * In file included from /usr/lib64/perl5/CORE/perl.h:1414: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /usr/lib64/perl5/CORE/perl.h:7242, from src/perl-mmagic-xs.h:5, from src/MMagic.xs:1: /usr/lib64/perl5/CORE/inline.h: In function 'Perl_cop_file_avn': /usr/lib64/perl5/CORE/inline.h:3489:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3489 | const char *file = CopFILE(cop); | ^~~~~ src/MMagic.c: In function 'XS_File__MMagic__XS_ascmagic': src/MMagic.c:475:41: warning: pointer targets in passing argument 2 of 'PerlFMM_ascmagic' differ in signedness [-Wpointer-sign] 475 | RETVAL = PerlFMM_ascmagic(self, data); | ^~~~ | | | char * src/perl-mmagic-xs.h:100:52: note: expected 'unsigned char *' but argument is of type 'char *' 100 | SV* PerlFMM_ascmagic(PerlFMM *self, unsigned char *data); | ~~~~~~~~~~~~~~~^~~~ src/perl-mmagic-xs.c: In function 'fmm_append_buf': src/perl-mmagic-xs.c:375:5: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 375 | strncat(*dst, buf, strlen(buf)); | ^ src/perl-mmagic-xs.c:367:9: note: length computed here 367 | if (strlen(buf) + 1 > MAXMIMESTRING - strlen(*dst)) { | ^~~~~~~~~~~ src/perl-mmagic-xs.c: In function 'fmm_ext_magic': src/perl-mmagic-xs.c:1457:5: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 1457 | strncpy(ext, dot + 1, BUFSIZ); | ^ rm -f blib/arch/auto/File/MMagic/XS/XS.so gcc -lpthread -shared -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 -Wl,--build-id=sha1 -L/usr/local/lib -fstack-protector-strong src/MMagic.o src/MMagicST.o src/perl-mmagic-xs.o -o blib/arch/auto/File/MMagic/XS/XS.so \ -lperl \ src/MMagicST.c: In function 'rehash': src/MMagicST.c:337:34: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 337 | new_bins = (st_table_entry**)Calloc(new_num_bins, sizeof(st_table_entry*)); | ^ /usr/include/stdlib.h:556:14: note: in a call to allocation function 'calloc' declared here 556 | extern void *calloc (size_t __nmemb, size_t __size) | ^ src/perl-mmagic-xs.c: In function 'fmm_append_buf': src/perl-mmagic-xs.c:375:5: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 375 | strncat(*dst, buf, strlen(buf)); | ^ src/perl-mmagic-xs.c:367:9: note: length computed here 367 | if (strlen(buf) + 1 > MAXMIMESTRING - strlen(*dst)) { | ^ chmod 755 blib/arch/auto/File/MMagic/XS/XS.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pk1M4A + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64 + 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 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/File-MMagic-XS-0.09008/.package_note-perl-File-MMagic-XS-0.09008-26.fc37.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd File-MMagic-XS-0.09008 + rm -rf /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64 "/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/File/MMagic/XS/XS.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64/usr/lib64/perl5/vendor_perl/auto/File/MMagic/XS/XS.so Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64/usr/lib64/perl5/vendor_perl/File/MMagic/XS.pm Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64/usr/lib64/perl5/vendor_perl/File/MMagic/magic Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64/usr/lib64/perl5/vendor_perl/File/MMagic/benchmark.pl Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64/usr/share/man/man3/File::MMagic::XS.3pm + find /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64 -type f -name '*.bs' -a -size 0 -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.09008-26.fc37 --unique-debug-suffix -0.09008-26.fc37.riscv64 --unique-debug-src-base perl-File-MMagic-XS-0.09008-26.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/File-MMagic-XS-0.09008 extracting debug info from /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64/usr/lib64/perl5/vendor_perl/auto/File/MMagic/XS/XS.so original debug info size: 468kB, size after compression: 444kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 152 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.PSRrsg + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/File-MMagic-XS-0.09008/.package_note-perl-File-MMagic-XS-0.09008-26.fc37.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh perl-File-MMagic-XS 0.09008-26.fc37 riscv64 + cd File-MMagic-XS-0.09008 + make test "/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/File/MMagic/XS/XS.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/001_load.t .............. ok t/002_runthrough.t ........ ok t/003_error.t ............. ok t/004_slurp.t ............. ok t/005_clone.t ............. ok t/100_compat_selfcheck.t .. ok t/101_compat_extmagic.t ... ok All tests successful. Files=7, Tests=95, 4 wallclock secs ( 0.22 usr 0.05 sys + 3.30 cusr 0.54 csys = 4.11 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-File-MMagic-XS-0.09008-26.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.C9fJhO + umask 022 + cd /builddir/build/BUILD + cd File-MMagic-XS-0.09008 + DOCDIR=/builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64/usr/share/doc/perl-File-MMagic-XS + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64/usr/share/doc/perl-File-MMagic-XS + cp -pr Changes /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64/usr/share/doc/perl-File-MMagic-XS + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(File::MMagic::XS) = 0.09008 perl-File-MMagic-XS = 0.09008-26.fc37 perl-File-MMagic-XS(riscv-64) = 0.09008-26.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libperl.so.5.36()(64bit) perl(XSLoader) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-File-MMagic-XS-debugsource-0.09008-26.fc37.riscv64 Provides: perl-File-MMagic-XS-debugsource = 0.09008-26.fc37 perl-File-MMagic-XS-debugsource(riscv-64) = 0.09008-26.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-File-MMagic-XS-debuginfo-0.09008-26.fc37.riscv64 Provides: debuginfo(build-id) = 346c7ab5f9ac5103ac27c66f7a6540f55fd4bb4f perl-File-MMagic-XS-debuginfo = 0.09008-26.fc37 perl-File-MMagic-XS-debuginfo(riscv-64) = 0.09008-26.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-File-MMagic-XS-debugsource(riscv-64) = 0.09008-26.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64 Wrote: /builddir/build/RPMS/perl-File-MMagic-XS-0.09008-26.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/perl-File-MMagic-XS-debugsource-0.09008-26.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/perl-File-MMagic-XS-debuginfo-0.09008-26.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ONhGnB + umask 022 + cd /builddir/build/BUILD + cd File-MMagic-XS-0.09008 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.NW7qrE + umask 022 + cd /builddir/build/BUILD + rm -rf File-MMagic-XS-0.09008 File-MMagic-XS-0.09008.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0