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 riscv64 --nodeps /builddir/build/SPECS/perl-File-MMagic-XS.spec'], chrootPath='/var/lib/mock/f41-build-815922-149783/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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=1717977600 Wrote: /builddir/build/SRPMS/perl-File-MMagic-XS-0.09008-32.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/perl-File-MMagic-XS.spec'], chrootPath='/var/lib/mock/f41-build-815922-149783/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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=1717977600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Gcc9fX + umask 022 + cd /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build + test -d /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build + /usr/bin/rm -rf /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build + /usr/bin/mkdir -p /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build + /usr/bin/mkdir -p /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YeKzKN + umask 022 + cd /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build + cd /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-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 + echo 'Patch #2 (File-MMagic-XS-0.09008-Fix-building-on-Perl-without-dot-in-INC.patch):' 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.OFvyt5 + umask 022 + cd /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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=-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 -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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 cp lib/File/MMagic/XS.pm blib/lib/File/MMagic/XS.pm cp benchmark.pl blib/lib/File/MMagic/benchmark.pl cp lib/File/MMagic/magic blib/lib/File/MMagic/magic "/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 ‘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); | ^ 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 -mno-omit-leaf-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 -mno-omit-leaf-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:46, from src/perl-mmagic-xs.h:5, from src/perl-mmagic-xs.c:105: /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_av_remove_offset’: /usr/lib64/perl5/CORE/config.h:1211:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1211 | #define SSize_t ssize_t /* signed count of bytes */ | ^~~~~~~ /usr/lib64/perl5/CORE/inline.h:226:5: note: in expansion of macro ‘SSize_t’ 226 | SSize_t i = AvARRAY(av) - AvALLOC(av); | ^~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:7869: /usr/lib64/perl5/CORE/inline.h: In function ‘S_PerlEnv_putenv’: /usr/lib64/perl5/CORE/inline.h:313:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 313 | bool retval = putenv(str); | ^~~~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_rpp_context’: /usr/lib64/perl5/CORE/inline.h:1074:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1074 | SV *top = *svp; | ^~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_push_stackinfo’: /usr/lib64/perl5/CORE/inline.h:4016:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4016 | PERL_SI *next = PL_curstackinfo->si_next; | ^~~~~~~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_pop_stackinfo’: /usr/lib64/perl5/CORE/inline.h:4056:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4056 | PERL_SI * const prev = PL_curstackinfo->si_prev; | ^~~~~~~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_newPADxVOP’: /usr/lib64/perl5/CORE/inline.h:4098:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4098 | OP *o = newOP(type, flags); | ^~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_foldEQ’: /usr/lib64/perl5/CORE/inline.h:4124:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4124 | const U8 *a = (const U8 *)s1; | ^~~~~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_foldEQ_latin1’: /usr/lib64/perl5/CORE/inline.h:4149:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4149 | const U8 *a = (const U8 *)s1; | ^~~~~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_cop_file_avn’: /usr/lib64/perl5/CORE/inline.h:4468:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4468 | 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:1711: /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:46, from src/perl-mmagic-xs.h:5, from src/MMagic.xs:1: /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_av_remove_offset’: /usr/lib64/perl5/CORE/config.h:1211:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1211 | #define SSize_t ssize_t /* signed count of bytes */ | ^~~~~~~ /usr/lib64/perl5/CORE/inline.h:226:5: note: in expansion of macro ‘SSize_t’ 226 | SSize_t i = AvARRAY(av) - AvALLOC(av); | ^~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:7869: /usr/lib64/perl5/CORE/inline.h: In function ‘S_PerlEnv_putenv’: /usr/lib64/perl5/CORE/inline.h:313:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 313 | bool retval = putenv(str); | ^~~~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_rpp_context’: /usr/lib64/perl5/CORE/inline.h:1074:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1074 | SV *top = *svp; | ^~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_push_stackinfo’: /usr/lib64/perl5/CORE/inline.h:4016:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4016 | PERL_SI *next = PL_curstackinfo->si_next; | ^~~~~~~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_pop_stackinfo’: /usr/lib64/perl5/CORE/inline.h:4056:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4056 | PERL_SI * const prev = PL_curstackinfo->si_prev; | ^~~~~~~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_newPADxVOP’: /usr/lib64/perl5/CORE/inline.h:4098:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4098 | OP *o = newOP(type, flags); | ^~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_foldEQ’: /usr/lib64/perl5/CORE/inline.h:4124:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4124 | const U8 *a = (const U8 *)s1; | ^~~~~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_foldEQ_latin1’: /usr/lib64/perl5/CORE/inline.h:4149:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4149 | const U8 *a = (const U8 *)s1; | ^~~~~ /usr/lib64/perl5/CORE/inline.h: In function ‘Perl_cop_file_avn’: /usr/lib64/perl5/CORE/inline.h:4468:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4468 | 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 -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.uPeikU + umask 022 + cd /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build + '[' /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT ++ dirname /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT + mkdir -p /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build + mkdir /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT + 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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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=-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 -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/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT + make pure_install DESTDIR=/builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT "/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/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/File/MMagic/XS/XS.so Installing /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT/usr/lib64/perl5/vendor_perl/File/MMagic/XS.pm Installing /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT/usr/lib64/perl5/vendor_perl/File/MMagic/magic Installing /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT/usr/lib64/perl5/vendor_perl/File/MMagic/benchmark.pl Installing /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT/usr/share/man/man3/File::MMagic::XS.3pm + find /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT -type f -name '*.bs' -a -size 0 -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.09008-32.fc41 --unique-debug-suffix -0.09008-32.fc41.riscv64 --unique-debug-src-base perl-File-MMagic-XS-0.09008-32.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-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-32.fc41.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 + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT Scanned 28 directories and 12 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.VS5lir + umask 022 + cd /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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=-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 -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, 5 wallclock secs ( 0.23 usr 0.04 sys + 3.44 cusr 0.49 csys = 4.20 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-File-MMagic-XS-0.09008-32.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JK7bKO + umask 022 + cd /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build + cd File-MMagic-XS-0.09008 + DOCDIR=/builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT/usr/share/doc/perl-File-MMagic-XS + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT/usr/share/doc/perl-File-MMagic-XS + cp -pr /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/File-MMagic-XS-0.09008/Changes /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT/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-32.fc41 perl-File-MMagic-XS(riscv-64) = 0.09008-32.fc41 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.40()(64bit) perl(:MODULE_COMPAT_5.40.0) perl(XSLoader) perl(strict) perl(warnings) perl-libs rtld(GNU_HASH) Processing files: perl-File-MMagic-XS-debugsource-0.09008-32.fc41.riscv64 Provides: perl-File-MMagic-XS-debugsource = 0.09008-32.fc41 perl-File-MMagic-XS-debugsource(riscv-64) = 0.09008-32.fc41 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-32.fc41.riscv64 Provides: debuginfo(build-id) = 1559a877e63b1e25f764d15e2f7237ab71164068 perl-File-MMagic-XS-debuginfo = 0.09008-32.fc41 perl-File-MMagic-XS-debuginfo(riscv-64) = 0.09008-32.fc41 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-32.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/perl-File-MMagic-XS-0.09008-build/BUILDROOT Wrote: /builddir/build/RPMS/perl-File-MMagic-XS-0.09008-32.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/perl-File-MMagic-XS-debugsource-0.09008-32.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/perl-File-MMagic-XS-debuginfo-0.09008-32.fc41.riscv64.rpm Child return code was: 0