Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/perl-JSON-XS.spec'], shell=Falsegid=135uid=1000logger=user='mockbuild'timeout=0chrootPath='/var/lib/mock/fedora-23-armhfp-pidora-round2-root-22227/root'env={'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'TERM': 'vt100', 'CCACHE_UMASK': '002', 'HOSTNAME': 'mock', 'CCACHE_DIR': '/tmp/ccache', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'}printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/perl-JSON-XS.spec'] with env {'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'TERM': 'vt100', 'CCACHE_UMASK': '002', 'HOSTNAME': 'mock', 'CCACHE_DIR': '/tmp/ccache', 'SHELL': '/bin/bash', '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-JSON-XS-3.01-6bs02npfc23.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target armv6hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/perl-JSON-XS.spec "], shell=Falsegid=135uid=1000logger=user='mockbuild'timeout=0private_network=TruechrootPath='/var/lib/mock/fedora-23-armhfp-pidora-round2-root-22227/root'env={'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'TERM': 'vt100', 'CCACHE_UMASK': '002', 'HOSTNAME': 'mock', 'CCACHE_DIR': '/tmp/ccache', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'}printOutput=False) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target armv6hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/perl-JSON-XS.spec "] with env {'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'TERM': 'vt100', 'CCACHE_UMASK': '002', 'HOSTNAME': 'mock', 'CCACHE_DIR': '/tmp/ccache', 'SHELL': '/bin/bash', '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.ne1jhv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf JSON-XS-3.01 + /usr/bin/gzip -dc /builddir/build/SOURCES/JSON-XS-3.01.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd JSON-XS-3.01 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/\r//' t/00_load.t t/01_utf8.t t/02_error.t t/03_types.t t/04_dwiw_encode.t t/05_dwiw_decode.t t/06_pc_pretty.t t/07_pc_esc.t t/08_pc_base.t t/09_pc_extra_number.t t/10_pc_keysort.t t/11_pc_expo.t t/12_blessed.t t/13_limit.t t/14_latin1.t t/15_prefix.t t/16_tied.t t/17_relaxed.t t/18_json_checker.t t/19_incr.t t/20_faihu.t t/21_evans.t t/22_comment_at_eof.t t/52_object.t t/99_binary.t + perl -pi -e 's|^#!/opt/bin/perl|#!/usr/bin/perl|' eg/bench + chmod -c -x eg/bench mode of 'eg/bench' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8PWtDZ + exit 0 + umask 022 + cd /builddir/build/BUILD + cd JSON-XS-3.01 + /usr/bin/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' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for JSON::XS + make -j8 "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/ExtUtils/typemap" -typemap "typemap" XS.xs > XS.xsc && mv XS.xsc XS.c Running Mkbootstrap for JSON::XS () cp bin/json_xs blib/script/json_xs "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/json_xs chmod 644 "XS.bs" cp XS.pm blib/lib/JSON/XS.pm cp XS/Boolean.pm blib/lib/JSON/XS/Boolean.pm gcc -c -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 -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=\"3.01\" -DXS_VERSION=\"3.01\" -fPIC "-I/usr/lib/perl5/CORE" XS.c XS.xs:1831:26: warning: multi-line comment [-Wcomment] ++p; // "virtually" consumes character after \ ^ XS.xs: In function 'ptr_to_index': XS.xs:205:85: warning: pointer targets in passing argument 2 of 'Perl_utf8_distance' differ in signedness [-Wpointer-sign] In file included from /usr/lib/perl5/CORE/perl.h:5509:0, from XS.xs:2: /usr/lib/perl5/CORE/proto.h:4997:5: note: expected 'const U8 * {aka const unsigned char *}' but argument is of type 'char *' PERL_CALLCONV IV Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b) ^ XS.xs:205:92: warning: pointer targets in passing argument 3 of 'Perl_utf8_distance' differ in signedness [-Wpointer-sign] In file included from /usr/lib/perl5/CORE/perl.h:5509:0, from XS.xs:2: /usr/lib/perl5/CORE/proto.h:4997:5: note: expected 'const U8 * {aka const unsigned char *}' but argument is of type 'char *' PERL_CALLCONV IV Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b) ^ XS.xs: In function 'encode_str': XS.xs:384:42: warning: pointer targets in passing argument 1 of 'decode_utf8' differ in signedness [-Wpointer-sign] uch = decode_utf8 (str, end - str, &clen); ^ XS.xs:163:1: note: expected 'unsigned char *' but argument is of type 'char *' decode_utf8 (unsigned char *s, STRLEN len, STRLEN *clen) ^ XS.xs:437:47: warning: pointer targets in passing argument 1 of 'encode_utf8' differ in signedness [-Wpointer-sign] enc->cur = encode_utf8 (enc->cur, uch); ^ XS.xs:180:1: note: expected 'unsigned char *' but argument is of type 'char *' encode_utf8 (unsigned char *s, UV ch) ^ XS.xs:437:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] enc->cur = encode_utf8 (enc->cur, uch); ^ XS.xs: In function 'decode_str': XS.xs:1053:26: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (hi >= 0xd800) ^ XS.xs:1079:46: warning: pointer targets in passing argument 1 of 'encode_utf8' differ in signedness [-Wpointer-sign] cur = encode_utf8 (cur, hi); ^ XS.xs:180:1: note: expected 'unsigned char *' but argument is of type 'char *' encode_utf8 (unsigned char *s, UV ch) ^ XS.xs:1079:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cur = encode_utf8 (cur, hi); ^ XS.xs:1099:28: warning: pointer targets in passing argument 1 of 'decode_utf8' differ in signedness [-Wpointer-sign] decode_utf8 (dec_cur, dec->end - dec_cur, &clen); ^ XS.xs:163:1: note: expected 'unsigned char *' but argument is of type 'char *' decode_utf8 (unsigned char *s, STRLEN len, STRLEN *clen) ^ XS.xs: In function 'decode_num': XS.xs:1250:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (numtype & IS_NUMBER_IN_UV) ^ XS.xs: In function 'decode_json': XS.xs:1730:85: warning: pointer targets in passing argument 3 of 'Perl_pv_uni_display' differ in signedness [-Wpointer-sign] In file included from /usr/lib/perl5/CORE/perl.h:5509:0, from XS.xs:2: /usr/lib/perl5/CORE/proto.h:3525:8: note: expected 'const U8 * {aka const unsigned char *}' but argument is of type 'char *' PERL_CALLCONV char* Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV flags) ^ XS.xs: In function 'incr_parse': XS.xs:1895:7: warning: label 'modechange' defined but not used [-Wunused-label] modechange: ^ XS.c: In function 'XS_JSON__XS_CLONE': XS.c:2066:293: warning: unused variable 'items' [-Wunused-variable] XS.xs: In function 'XS_JSON__XS_incr_parse': XS.xs:2079:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (!DECODE_WANTS_OCTETS (self) == !SvUTF8 (self->incr_text)) ^ XS.xs:2101:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (SvUTF8 (jsonstr) != SvUTF8 (self->incr_text)) ^ XS.xs: In function 'encode_sv': XS.xs:831:7: warning: ignoring return value of 'gcvt', declared with attribute warn_unused_result [-Wunused-result] Gconvert (SvNVX (sv), NV_DIG, 0, enc->cur); ^ rm -f blib/arch/auto/JSON/XS/XS.so gcc -shared -Wl,-z,relro -L/usr/local/lib -fstack-protector-strong XS.o -o blib/arch/auto/JSON/XS/XS.so \ -lperl \ chmod 755 blib/arch/auto/JSON/XS/XS.so "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/JSON/XS/XS.bs 644 Manifying 1 pod document Manifying 2 pod documents Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ccI139 + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm ++ dirname /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm + cd JSON-XS-3.01 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm Running Mkbootstrap for JSON::XS () chmod 644 "XS.bs" Manifying 1 pod document Manifying 2 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/lib/perl5/vendor_perl/auto/JSON/XS/XS.so Installing /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/lib/perl5/vendor_perl/JSON/XS.pm Installing /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/lib/perl5/vendor_perl/JSON/XS/Boolean.pm Installing /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/share/man/man1/json_xs.1 Installing /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/share/man/man3/JSON::XS.3pm Installing /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/share/man/man3/JSON::XS::Boolean.3pm Installing /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/bin/json_xs + find /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm -type f -name .packlist -exec rm -f '{}' + + find /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm -type f -name '*.bs' -size 0 -exec rm -f '{}' + + find /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm -depth -type d -exec rmdir '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr + /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/JSON-XS-3.01 extracting debug info from /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/lib/perl5/vendor_perl/auto/JSON/XS/XS.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 271 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.BUJWVj Processing files: perl-JSON-XS-3.01-6bs02npfc23.armv6hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iY773t + umask 022 + cd /builddir/build/BUILD + cd JSON-XS-3.01 + DOCDIR=/builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/share/doc/perl-JSON-XS + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/share/doc/perl-JSON-XS + cp -pr Changes /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/share/doc/perl-JSON-XS + cp -pr COPYING /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/share/doc/perl-JSON-XS + cp -pr README /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/share/doc/perl-JSON-XS + cp -pr eg/ /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/share/doc/perl-JSON-XS + exit 0 Provides: perl(JSON::XS) = 3.01 perl-JSON-XS = 1:3.01-6bs02npfc23 perl-JSON-XS(armv6hl-32) = 1:3.01-6bs02npfc23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl 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(Encode) perl(Exporter) perl(Getopt::Long) perl(JSON::XS) perl(Storable) perl(Types::Serialiser) perl(XSLoader) perl(common::sense) perl(strict) rtld(GNU_HASH) Processing files: perl-JSON-XS-tests-3.01-6bs02npfc23.armv6hl error: File not found: /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/libexec/perl5-tests RPM build errors: File not found: /builddir/build/BUILDROOT/perl-JSON-XS-3.01-6bs02npfc23.arm/usr/libexec/perl5-tests Child return code was: 1 EXCEPTION: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv6hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/perl-JSON-XS.spec Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python3.4/site-packages/mockbuild/util.py", line 526, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) mockbuild.exception.Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv6hl --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/perl-JSON-XS.spec LEAVE do --> EXCEPTION RAISED