+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/perl-JSON-XS.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Gg4uhf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf JSON-XS-3.03 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/JSON-XS-3.03.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd JSON-XS-3.03 + /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--) + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.p6uaCN + umask 022 + cd /builddir/build/BUILD + cd JSON-XS-3.03 + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' NO_PACKLIST=1 *** *** Canary::Stability COMPATIBILITY AND SUPPORT CHECK *** ================================================= *** *** Hi! *** *** I do my best to provide predictable and reliable software. *** *** However, in recent releases, P5P (who maintain perl) have been *** introducing regressions that are sometimes subtle and at other times *** catastrophic, often for personal preferences with little or no concern *** for existing code, most notably CPAN. *** *** For this reason, it has become very hard for me to maintain the level *** of reliability and support I have committed myself to in the past, at *** least with some perl versions: I simply can't keep up working around new *** bugs or gratituous incompatibilities, and in turn you might suffer from *** unanticipated problems. *** *** Therefore I have introduced a support and compatibility check, the results *** of which follow below, together with a FAQ and some recommendations. *** *** This check is just to let you know that there might be a risk, so you can *** make judgement calls on how to proceed - it will not keep the module from *** installing or working. *** *** The stability canary says: (nothing, it was driven away by harsh weather) *** *** It seems you are running perl version 5.026001, likely the "official" or *** "standard" version. While there is nothing wrong with doing that, *** standard perl versions 5.022 and up are not supported by JSON::XS. *** While this might be fatal, it might also be all right - if you run into *** problems, you might want to downgrade your perl or switch to the *** stability branch. *** *** If everything works fine, you can ignore this message. *** *** Stability canary mini-FAQ: *** *** Do I need to do anything? *** With luck, no. While some distributions are known to fail *** already, most should probably work. This message is here *** to alert you that your perl is not supported by JSON::XS, *** and if things go wrong, you either need to downgrade, or *** sidegrade to the stability variant of your perl version, *** or simply live with the consequences. *** *** What is this canary thing? *** It's purpose is to check support status of JSON::XS with *** respect to your perl version. *** *** What is this "stability branch"? *** It's a branch or fork of the official perl, by schmorp, to *** improve stability and compatibility with existing modules. *** *** How can I skip this prompt on automated installs? *** Set PERL_CANARY_STABILITY_NOPROMPT=1 in your environment. *** More info is in the Canary::Stability manpage. *** *** Long version of this FAQ: http://stableperl.schmorp.de/faq.html *** Stability Branch homepage: http://stableperl.schmorp.de/ *** Continue anyways? [y] y Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for JSON::XS Writing MYMETA.yml and MYMETA.json + make -j4 Running Mkbootstrap for XS () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/JSON-XS-3.03/typemap' XS.xs > XS.xsc chmod 644 "XS.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- XS.bs blib/arch/auto/JSON/XS/XS.bs 644 cp XS.pm blib/lib/JSON/XS.pm cp XS/Boolean.pm blib/lib/JSON/XS/Boolean.pm mv XS.xsc XS.c gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DVERSION=\"3.03\" -DXS_VERSION=\"3.03\" -fPIC "-I/usr/lib64/perl5/CORE" XS.c In file included from /usr/lib64/perl5/CORE/perl.h:5644:0, from XS.xs:2: XS.xs: In function 'ptr_to_index': XS.xs:207:27: warning: pointer targets in passing argument 2 of 'Perl_utf8_distance' differ in signedness [-Wpointer-sign] ? utf8_distance (offset, SvPVX (sv)) ^ /usr/lib64/perl5/CORE/embed.h:739:53: note: in definition of macro 'utf8_distance' #define utf8_distance(a,b) Perl_utf8_distance(aTHX_ a,b) ^ In file included from /usr/lib64/perl5/CORE/perl.h:5785:0, from XS.xs:2: /usr/lib64/perl5/CORE/inline.h:879:1: note: expected 'const U8 * {aka const unsigned char *}' but argument is of type 'char *' Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b) ^~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5644:0, from XS.xs:2: /usr/lib64/perl5/CORE/sv.h:1236:23: warning: pointer targets in passing argument 3 of 'Perl_utf8_distance' differ in signedness [-Wpointer-sign] # define SvPVX(sv) ((sv)->sv_u.svu_pv) ^ /usr/lib64/perl5/CORE/embed.h:739:55: note: in definition of macro 'utf8_distance' #define utf8_distance(a,b) Perl_utf8_distance(aTHX_ a,b) ^ XS.xs:207:35: note: in expansion of macro 'SvPVX' ? utf8_distance (offset, SvPVX (sv)) ^~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5785:0, from XS.xs:2: /usr/lib64/perl5/CORE/inline.h:879:1: note: expected 'const U8 * {aka const unsigned char *}' but argument is of type 'char *' Perl_utf8_distance(pTHX_ const U8 *a, const U8 *b) ^~~~~~~~~~~~~~~~~~ XS.xs: In function 'ref_bool_type': XS.xs:318:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (len == 1) ^ XS.xs: In function 'encode_str': XS.xs:429: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:165:1: note: expected 'unsigned char *' but argument is of type 'char *' decode_utf8 (unsigned char *s, STRLEN len, STRLEN *clen) ^~~~~~~~~~~ XS.xs:482: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:182:1: note: expected 'unsigned char *' but argument is of type 'char *' encode_utf8 (unsigned char *s, UV ch) ^~~~~~~~~~~ XS.xs:482: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:1095:26: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (hi >= 0xd800) ^ XS.xs:1121:46: warning: pointer targets in passing argument 1 of 'encode_utf8' differ in signedness [-Wpointer-sign] cur = encode_utf8 (cur, hi); ^~~ XS.xs:182:1: note: expected 'unsigned char *' but argument is of type 'char *' encode_utf8 (unsigned char *s, UV ch) ^~~~~~~~~~~ XS.xs:1121:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cur = encode_utf8 (cur, hi); ^ XS.xs:1141: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:165: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:1294:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (numtype & IS_NUMBER_IN_UV) ^ In file included from /usr/lib64/perl5/CORE/perl.h:5644:0, from XS.xs:2: XS.xs: In function 'decode_json': XS.xs:1781:28: warning: pointer targets in passing argument 3 of 'Perl_pv_uni_display' differ in signedness [-Wpointer-sign] pv_uni_display (uni, dec.cur, dec.end - dec.cur, 20, UNI_DISPLAY_QQ); ^ /usr/lib64/perl5/CORE/embed.h:495:63: note: in definition of macro 'pv_uni_display' #define pv_uni_display(a,b,c,d,e) Perl_pv_uni_display(aTHX_ a,b,c,d,e) ^ In file included from /usr/lib64/perl5/CORE/perl.h:5609:0, from XS.xs:2: /usr/lib64/perl5/CORE/proto.h:2581:21: 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:1882:26: warning: multi-line comment [-Wcomment] ++p; // "virtually" consumes character after \ ^ XS.xs:1946:7: warning: label 'modechange' defined but not used [-Wunused-label] modechange: ^~~~~~~~~~ In file included from XS.xs:3:0: XS.c: In function 'XS_JSON__XS_CLONE': /usr/lib64/perl5/CORE/XSUB.h:160:20: warning: unused variable 'items' [-Wunused-variable] #define dITEMS I32 items = (I32)(SP - MARK) ^ /usr/lib64/perl5/CORE/XSUB.h:163:16: note: in expansion of macro 'dITEMS' dSP; dAXMARK; dITEMS ^~~~~~ XS.c:2117:11: note: in expansion of macro 'dXSARGS' dVAR; dXSARGS; ^~~~~~~ XS.xs: In function 'XS_JSON__XS_incr_parse': XS.xs:2129:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!DECODE_WANTS_OCTETS (self) == !SvUTF8 (self->incr_text)) ^ XS.xs:2151:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (SvUTF8 (jsonstr) != SvUTF8 (self->incr_text)) ^ In file included from /usr/lib64/perl5/CORE/perl.h:28:0, from XS.xs:2: XS.xs: In function 'encode_sv': /usr/lib64/perl5/CORE/config.h:1041:27: warning: ignoring return value of 'gcvt', declared with attribute warn_unused_result [-Wunused-result] #define Gconvert(x,n,t,b) gcvt((x),(n),(b)) ^~~~~~~~~~~~~~~~~ XS.xs:873:7: note: in expansion of macro 'Gconvert' Gconvert (SvNVX (sv), NV_DIG, 0, enc->cur); ^~~~~~~~ rm -f blib/arch/auto/JSON/XS/XS.so gcc -lpthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 cp bin/json_xs blib/script/json_xs "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/json_xs Manifying 1 pod document Manifying 2 pod documents + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.h0Lku1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64 + cd JSON-XS-3.03 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64 "/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 Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/lib64/perl5/vendor_perl/auto/JSON/XS/XS.so Installing /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/lib64/perl5/vendor_perl/JSON/XS.pm Installing /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/lib64/perl5/vendor_perl/JSON/XS/Boolean.pm Installing /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/share/man/man1/json_xs.1 Installing /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/share/man/man3/JSON::XS::Boolean.3pm Installing /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/share/man/man3/JSON::XS.3pm Installing /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/bin/json_xs + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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-mangle-shebangs Processing files: perl-JSON-XS-3.03-6.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ku9vYh + umask 022 + cd /builddir/build/BUILD + cd JSON-XS-3.03 + DOCDIR=/builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/share/doc/perl-JSON-XS + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/share/doc/perl-JSON-XS + cp -pr Changes /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/share/doc/perl-JSON-XS + cp -pr README /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/share/doc/perl-JSON-XS + cp -pr eg/ /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/share/doc/perl-JSON-XS + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.zyGm96 + umask 022 + cd /builddir/build/BUILD + cd JSON-XS-3.03 + LICENSEDIR=/builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/share/licenses/perl-JSON-XS + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/share/licenses/perl-JSON-XS + cp -pr COPYING /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/share/licenses/perl-JSON-XS + exit 0 Provides: perl(JSON::XS) = 3.03 perl-JSON-XS = 1:3.03-6.fc28 perl-JSON-XS(riscv-64) = 1:3.03-6.fc28 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-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) libperl.so.5.26()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) 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.03-6.fc28.riscv64 error: File not found: /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/libexec/perl5-tests RPM build errors: File not found: /builddir/build/BUILDROOT/perl-JSON-XS-3.03-6.fc28.riscv64/usr/libexec/perl5-tests ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff