Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/perl-File-MMagic-XS.spec'], user='mockbuild'chrootPath='/var/lib/mock/fedora-23-armhfp-pidora-round2-root-8194/root'printOutput=Falseenv={'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'HOME': '/builddir', 'CCACHE_UMASK': '002', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'}timeout=0logger=uid=1000shell=Falsegid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/perl-File-MMagic-XS.spec'] with env {'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'HOME': '/builddir', 'CCACHE_UMASK': '002', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'} and shell False Building target platforms: armv6hl Building for target armv6hl Wrote: /builddir/build/SRPMS/perl-File-MMagic-XS-0.09008-3bs02fc23.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/perl-File-MMagic-XS.spec '], user='mockbuild'chrootPath='/var/lib/mock/fedora-23-armhfp-pidora-round2-root-8194/root'printOutput=Falseenv={'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'HOME': '/builddir', 'CCACHE_UMASK': '002', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'}timeout=0logger=private_network=Trueuid=1000shell=Falsegid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/perl-File-MMagic-XS.spec '] with env {'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'HOME': '/builddir', 'CCACHE_UMASK': '002', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'} and shell False Building target platforms: armv6hl Building for target armv6hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DAT5MQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf File-MMagic-XS-0.09008 + /usr/bin/gzip -dc /builddir/build/SOURCES/File-MMagic-XS-0.09008.tar.gz + /usr/bin/tar -xf - + 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/cat /builddir/build/SOURCES/perl-File-MMagic-XS-format-security.patch + /usr/bin/patch -p1 -b --suffix .format-security --fuzz=0 patching file src/perl-mmagic-xs.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Qy4yJD + umask 022 + cd /builddir/build/BUILD + cd File-MMagic-XS-0.09008 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp' 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 -j8 "/usr/bin/perl" "-Iinc" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/ExtUtils/typemap" src/MMagic.xs > src/MMagic.xsc && mv src/MMagic.xsc src/MMagic.c gcc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -O2 -g -march=armv6 -mfloat-abi=hard -mfpu=vfp -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -DVERSION=\"0.09008\" -DXS_VERSION=\"0.09008\" -o src/MMagicST.o -fPIC "-I/usr/lib/perl5/CORE" -DUSE_PPPORT src/MMagicST.c gcc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -O2 -g -march=armv6 -mfloat-abi=hard -mfpu=vfp -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -DVERSION=\"0.09008\" -DXS_VERSION=\"0.09008\" -o src/perl-mmagic-xs.o -fPIC "-I/usr/lib/perl5/CORE" -DUSE_PPPORT src/perl-mmagic-xs.c Running Mkbootstrap for File::MMagic::XS () chmod 644 "XS.bs" cp lib/File/MMagic/magic blib/lib/File/MMagic/magic cp benchmark.pl blib/lib/File/MMagic/benchmark.pl cp lib/File/MMagic/XS.pm blib/lib/File/MMagic/XS.pm gcc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -O2 -g -march=armv6 -mfloat-abi=hard -mfpu=vfp -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv6 -mfloat-abi=hard -mfpu=vfp -DVERSION=\"0.09008\" -DXS_VERSION=\"0.09008\" -o src/MMagic.o -fPIC "-I/usr/lib/perl5/CORE" -DUSE_PPPORT src/MMagic.c src/MMagicST.c: In function 'new_size': src/MMagicST.c:133:5: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] i < sizeof(primes)/sizeof(primes[0]); ^ src/MMagicST.c: In function 'delete_never': src/MMagicST.c:470:15: warning: unused parameter 'key' [-Wunused-parameter] st_data_t key, value, never; ^ src/MMagicST.c: In function 'st_foreach': src/MMagicST.c:500:13: warning: enum conversion in assignment is invalid in C++ [-Wc++-compat] retval = (*func)(ptr->key, ptr->record, arg, 0); ^ src/MMagicST.c:511:14: warning: enum conversion in assignment is invalid in C++ [-Wc++-compat] retval = (*func)(0, 0, arg, 1); ^ src/MMagic.c: In function 'XS_File__MMagic__XS_ascmagic': src/MMagic.c:475:34: warning: pointer targets in passing argument 2 of 'PerlFMM_ascmagic' differ in signedness [-Wpointer-sign] RETVAL = PerlFMM_ascmagic(self, data); ^ In file included from src/MMagic.xs:1:0: src/perl-mmagic-xs.h:100:5: note: expected 'unsigned char *' but argument is of type 'char *' SV* PerlFMM_ascmagic(PerlFMM *self, unsigned char *data); ^ src/perl-mmagic-xs.c:386:36: warning: union defined in struct or union is not visible in C++ [-Wc++-compat] fmm_mconvert(PerlFMM *state, union VALUETYPE *p, fmmagic *m) ^ In file included from src/perl-mmagic-xs.c:105:0: src/perl-mmagic-xs.h:57:11: note: union defined here union VALUETYPE { ^ src/perl-mmagic-xs.c:430:32: warning: union defined in struct or union is not visible in C++ [-Wc++-compat] fmm_mget(PerlFMM *state, union VALUETYPE *p, unsigned char *s, fmmagic *m, size_t nbytes) ^ In file included from src/perl-mmagic-xs.c:105:0: src/perl-mmagic-xs.h:57:11: note: union defined here 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] if (offset + sizeof(union VALUETYPE) > nbytes) { ^ In file included from src/perl-mmagic-xs.c:105:0: src/perl-mmagic-xs.h:57:11: note: union defined here union VALUETYPE { ^ src/perl-mmagic-xs.c:438:40: warning: union defined in struct or union is not visible in C++ [-Wc++-compat] memcpy(p, s + offset, sizeof(union VALUETYPE)); ^ In file included from src/perl-mmagic-xs.c:105:0: src/perl-mmagic-xs.h:57:11: note: union defined here union VALUETYPE { ^ src/perl-mmagic-xs.c:457:35: warning: union defined in struct or union is not visible in C++ [-Wc++-compat] if (offset + sizeof(union VALUETYPE) > nbytes) ^ In file included from src/perl-mmagic-xs.c:105:0: src/perl-mmagic-xs.h:57:11: note: union defined here union VALUETYPE { ^ src/perl-mmagic-xs.c:460:44: warning: union defined in struct or union is not visible in C++ [-Wc++-compat] memcpy(p, s + offset, sizeof(union VALUETYPE)); ^ In file included from src/perl-mmagic-xs.c:105:0: src/perl-mmagic-xs.h:57:11: note: union defined here 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] fmm_append_mime(PerlFMM *state, char **buf, union VALUETYPE *p, fmmagic *m) ^ In file included from src/perl-mmagic-xs.c:105:0: src/perl-mmagic-xs.h:57:11: note: union defined here union VALUETYPE { ^ src/perl-mmagic-xs.c:643:34: warning: union defined in struct or union is not visible in C++ [-Wc++-compat] fmm_mcheck(PerlFMM *state, union VALUETYPE *p, fmmagic *m) ^ In file included from src/perl-mmagic-xs.c:105:0: src/perl-mmagic-xs.h:57:11: note: union defined here 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] 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] union VALUETYPE p; ^ In file included from src/perl-mmagic-xs.c:105:0: src/perl-mmagic-xs.h:57:11: note: union defined here 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] rc = fmm_ascmagic(data, strlen(data), &type); ^ In file included from /usr/lib/perl5/CORE/perl.h:932:0, from src/perl-mmagic-xs.h:5, from src/perl-mmagic-xs.c:105: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ rm -f blib/arch/auto/File/MMagic/XS/XS.so gcc -shared -Wl,-z,relro -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 "/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 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.h09uwK + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm ++ dirname /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm + cd File-MMagic-XS-0.09008 + rm -rf /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm Running Mkbootstrap for File::MMagic::XS () chmod 644 "XS.bs" 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-3bs02fc23.arm/usr/lib/perl5/vendor_perl/auto/File/MMagic/XS/XS.so Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm/usr/lib/perl5/vendor_perl/File/MMagic/XS.pm Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm/usr/lib/perl5/vendor_perl/File/MMagic/magic Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm/usr/lib/perl5/vendor_perl/File/MMagic/benchmark.pl Installing /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm/usr/share/man/man3/File::MMagic::XS.3pm + find /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm -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-3bs02fc23.arm + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/File-MMagic-XS-0.09008 extracting debug info from /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm/usr/lib/perl5/vendor_perl/auto/File/MMagic/XS/XS.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 152 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qpiytA + umask 022 + cd /builddir/build/BUILD + cd File-MMagic-XS-0.09008 + make test 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, 0 wallclock secs ( 0.15 usr 0.06 sys + 0.67 cusr 0.14 csys = 1.02 CPU) Result: PASS + exit 0 Processing files: perl-File-MMagic-XS-0.09008-3bs02fc23.armv6hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.V0cmMB + umask 022 + cd /builddir/build/BUILD + cd File-MMagic-XS-0.09008 + DOCDIR=/builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm/usr/share/doc/perl-File-MMagic-XS + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm/usr/share/doc/perl-File-MMagic-XS + cp -pr Changes /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm/usr/share/doc/perl-File-MMagic-XS + exit 0 Provides: perl(File::MMagic::XS) = 0.09008 perl-File-MMagic-XS = 0.09008-3bs02fc23 perl-File-MMagic-XS(armv6hl-32) = 0.09008-3bs02fc23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libperl.so.5.22 perl(XSLoader) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-File-MMagic-XS-debuginfo-0.09008-3bs02fc23.armv6hl Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm Wrote: /builddir/build/RPMS/perl-File-MMagic-XS-0.09008-3bs02fc23.armv6hl.rpm Wrote: /builddir/build/RPMS/perl-File-MMagic-XS-debuginfo-0.09008-3bs02fc23.armv6hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SOYnw2 + umask 022 + cd /builddir/build/BUILD + cd File-MMagic-XS-0.09008 + rm -rf /builddir/build/BUILDROOT/perl-File-MMagic-XS-0.09008-3bs02fc23.arm + exit 0 Child return code was: 0 LEAVE do -->