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/f40-build-779377-130302/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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706140800 Wrote: /builddir/build/SRPMS/perl-File-MMagic-XS-0.09008-31.fc40.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 --target riscv64 --nodeps /builddir/build/SPECS/perl-File-MMagic-XS.spec'], chrootPath='/var/lib/mock/f40-build-779377-130302/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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YsmgqF + 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 + rm -rf /builddir/build/BUILD/File-MMagic-XS-0.09008-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/File-MMagic-XS-0.09008-SPECPARTS + /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.14a7Xd + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer' 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 "/usr/bin/perl" "-Iinc" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' src/MMagic.xs > src/MMagic.xsc Running Mkbootstrap for XS () gcc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DVERSION=\"0.09008\" -DXS_VERSION=\"0.09008\" -o src/MMagicST.o -fPIC "-I/usr/lib64/perl5/CORE" -DUSE_PPPORT src/MMagicST.c chmod 644 "XS.bs" gcc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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]); | ^ 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 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); | ^ "/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/File/MMagic/XS/XS.bs 644 mv src/MMagic.xsc src/MMagic.c gcc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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:7811, from src/perl-mmagic-xs.h:5, from src/perl-mmagic-xs.c:105: /usr/lib64/perl5/CORE/inline.h: In function ‘S_PerlEnv_putenv’: /usr/lib64/perl5/CORE/inline.h:295:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 295 | bool retval = putenv(str); | ^~~~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_newPADxVOP’: /usr/lib64/perl5/CORE/inline.h:3135:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3135 | OP *o = newOP(type, flags); | ^~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_cop_file_avn’: /usr/lib64/perl5/CORE/inline.h:3500:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3500 | 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:1715: /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:7811, from src/perl-mmagic-xs.h:5, from src/MMagic.xs:1: /usr/lib64/perl5/CORE/inline.h: In function ‘S_PerlEnv_putenv’: /usr/lib64/perl5/CORE/inline.h:295:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 295 | bool retval = putenv(str); | ^~~~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_newPADxVOP’: /usr/lib64/perl5/CORE/inline.h:3135:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3135 | OP *o = newOP(type, flags); | ^~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_cop_file_avn’: /usr/lib64/perl5/CORE/inline.h:3500:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 3500 | 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: ‘__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)) { | ^~~~~~~~~~~ src/perl-mmagic-xs.c: In function ‘fmm_ext_magic’: src/perl-mmagic-xs.c:1457:5: warning: ‘__builtin_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-errors -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 \ 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.IOSwxn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-31.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-31.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-31.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-31.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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-31.fc40.riscv64 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-31.fc40.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-31.fc40.riscv64/usr/lib64/perl5/vendor_perl/auto/File/MMagic/XS/XS.so Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-31.fc40.riscv64/usr/lib64/perl5/vendor_perl/File/MMagic/XS.pm Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-31.fc40.riscv64/usr/lib64/perl5/vendor_perl/File/MMagic/magic Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-31.fc40.riscv64/usr/lib64/perl5/vendor_perl/File/MMagic/benchmark.pl Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-31.fc40.riscv64/usr/share/man/man3/File::MMagic::XS.3pm + find /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-31.fc40.riscv64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-31.fc40.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-31.fc40.riscv64 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.09008-31.fc40 --unique-debug-suffix -0.09008-31.fc40.riscv64 --unique-debug-src-base perl-File-MMagic-XS-0.09008-31.fc40.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 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/perl-File-MMagic-XS-0.09008-31.fc40.riscv64 152 blocks find-debuginfo: done + /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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.DXmT6S + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 + 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, 6 wallclock secs ( 0.25 usr 0.07 sys + 5.70 cusr 0.39 csys = 6.41 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-File-MMagic-XS-0.09008-31.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TbXeWl + umask 022 + cd /builddir/build/BUILD + cd File-MMagic-XS-0.09008 + DOCDIR=/builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-31.fc40.riscv64/usr/share/doc/perl-File-MMagic-XS + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-31.fc40.riscv64/usr/share/doc/perl-File-MMagic-XS + cp -pr /builddir/build/BUILD/File-MMagic-XS-0.09008/Changes /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-31.fc40.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-31.fc40 perl-File-MMagic-XS(riscv-64) = 0.09008-31.fc40 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) libc.so.6(GLIBC_2.38)(64bit) libperl.so.5.38()(64bit) perl(:MODULE_COMPAT_5.38.2) perl(XSLoader) perl(strict) perl(warnings) perl-libs rtld(GNU_HASH) Processing files: perl-File-MMagic-XS-debugsource-0.09008-31.fc40.riscv64 Provides: perl-File-MMagic-XS-debugsource = 0.09008-31.fc40 perl-File-MMagic-XS-debugsource(riscv-64) = 0.09008-31.fc40 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-31.fc40.riscv64 Provides: debuginfo(build-id) = 9a274fcfef49adabfbb211e9f3ee1f70f0f2b525 perl-File-MMagic-XS-debuginfo = 0.09008-31.fc40 perl-File-MMagic-XS-debuginfo(riscv-64) = 0.09008-31.fc40 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-31.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-31.fc40.riscv64 Wrote: /builddir/build/RPMS/perl-File-MMagic-XS-0.09008-31.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/perl-File-MMagic-XS-debugsource-0.09008-31.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/perl-File-MMagic-XS-debuginfo-0.09008-31.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UKttnE + 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-31.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.q8pDfn + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/File-MMagic-XS-0.09008-SPECPARTS + rm -rf File-MMagic-XS-0.09008 File-MMagic-XS-0.09008.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0