Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-File-MMagic-XS.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667973880.325145/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gha7_9uq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gha7_9uq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b2cdb398046642b986ff50c9e699d23e', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667973880.325145/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gha7_9uq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False sh: line 1: perl: command not found Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/perl-File-MMagic-XS-0.09008-26.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-File-MMagic-XS.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667973880.325145/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gha7_9uq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gha7_9uq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a9eddca7c58e45e1884adef3eec67982', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667973880.325145/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gha7_9uq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VOCeNe + 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 . Patch #1 (perl-File-MMagic-XS-format-security.patch): + echo '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.cCmb7f + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -j2 Running Mkbootstrap for XS () chmod 644 "XS.bs" "/usr/bin/perl" "-Iinc" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' src/MMagic.xs > src/MMagic.xsc 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 gcc -c "-I." "-I." -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DVERSION=\"0.09008\" -DXS_VERSION=\"0.09008\" -o src/MMagicST.o -fPIC "-I/usr/lib64/perl5/CORE" -DUSE_PPPORT src/MMagicST.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); | ^ mv src/MMagic.xsc src/MMagic.c 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); | ^ gcc -c "-I." "-I." -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 '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) | ^~~~~~ "/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/File/MMagic/XS/XS.bs 644 gcc -c "-I." "-I." -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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) | ~~~~~~~~~~~~^~~ 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); | ^ 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); | ~~~~~~~~~~~~~~~^~~~ 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.RgBJkT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc38.x86_64 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc38.x86_64 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc38.x86_64 "/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.fc38.x86_64/usr/lib64/perl5/vendor_perl/auto/File/MMagic/XS/XS.so Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc38.x86_64/usr/lib64/perl5/vendor_perl/File/MMagic/magic Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc38.x86_64/usr/lib64/perl5/vendor_perl/File/MMagic/benchmark.pl Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc38.x86_64/usr/lib64/perl5/vendor_perl/File/MMagic/XS.pm Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc38.x86_64/usr/share/man/man3/File::MMagic::XS.3pm + find /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc38.x86_64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc38.x86_64 -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.fc38.x86_64 + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.09008-26.fc38 --unique-debug-suffix -0.09008-26.fc38.x86_64 --unique-debug-src-base perl-File-MMagic-XS-0.09008-26.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -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.fc38.x86_64/usr/lib64/perl5/vendor_perl/auto/File/MMagic/XS/XS.so original debug info size: 172kB, size after compression: 144kB /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.S1xW3D + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.34 cusr 0.05 csys = 0.43 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-File-MMagic-XS-0.09008-26.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UGemOz + umask 022 + cd /builddir/build/BUILD + cd File-MMagic-XS-0.09008 + DOCDIR=/builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc38.x86_64/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.fc38.x86_64/usr/share/doc/perl-File-MMagic-XS + cp -pr Changes /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc38.x86_64/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.fc38 perl-File-MMagic-XS(x86-64) = 0.09008-26.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(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.fc38.x86_64 Provides: perl-File-MMagic-XS-debugsource = 0.09008-26.fc38 perl-File-MMagic-XS-debugsource(x86-64) = 0.09008-26.fc38 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.fc38.x86_64 Provides: debuginfo(build-id) = f5affe46674cbf90211049454bbd09597ec7f666 perl-File-MMagic-XS-debuginfo = 0.09008-26.fc38 perl-File-MMagic-XS-debuginfo(x86-64) = 0.09008-26.fc38 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(x86-64) = 0.09008-26.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-26.fc38.x86_64 Wrote: /builddir/build/RPMS/perl-File-MMagic-XS-0.09008-26.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/perl-File-MMagic-XS-debuginfo-0.09008-26.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/perl-File-MMagic-XS-debugsource-0.09008-26.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BTlw4M + 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.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.Lz05Bs + 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