Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Crypt-OpenSSL-PKCS10.spec'], chrootPath='/var/lib/mock/f29-build-3623-933/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Crypt-OpenSSL-PKCS10.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': 'en_US.UTF-8'} and shell False BUILDSTDERR: sh: perl: command not found BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Crypt-OpenSSL-PKCS10.spec'], chrootPath='/var/lib/mock/f29-build-3623-933/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Crypt-OpenSSL-PKCS10.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tUt4wF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Crypt-OpenSSL-PKCS10-0.16 + /usr/bin/gzip -dc /builddir/build/SOURCES/Crypt-OpenSSL-PKCS10-0.16.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Crypt-OpenSSL-PKCS10-0.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (perl-Crypt-OpenSSL-PKCS10-build-paths.patch):' Patch #0 (perl-Crypt-OpenSSL-PKCS10-build-paths.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.PL + echo 'Patch #1 (Crypt-OpenSSL-PKCS10-0.16-Convert-changlog-to-UTF-8.patch):' Patch #1 (Crypt-OpenSSL-PKCS10-0.16-Convert-changlog-to-UTF-8.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Changes + chmod -c a-x Changes README mode of 'Changes' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'README' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + chmod -c a-x PKCS10.xs PKCS10.pm mode of 'PKCS10.xs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'PKCS10.pm' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QEEQJe + exit 0 + umask 022 + cd /builddir/build/BUILD + cd Crypt-OpenSSL-PKCS10-0.16 + perl Makefile.PL INSTALLDIRS=vendor Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Crypt::OpenSSL::PKCS10 + make -j4 Running Mkbootstrap for PKCS10 () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Crypt-OpenSSL-PKCS10-0.16/typemap' PKCS10.xs > PKCS10.xsc chmod 644 "PKCS10.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- PKCS10.bs blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.bs 644 cp PKCS10.pm blib/lib/Crypt/OpenSSL/PKCS10.pm mv PKCS10.xsc PKCS10.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 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.16\" -DXS_VERSION=\"0.16\" -fPIC "-I/usr/lib64/perl5/CORE" -DPERL5 -Wall PKCS10.c BUILDSTDERR: In file included from PKCS10.xs:13: BUILDSTDERR: ppport.h:230: warning: "PERL_UNUSED_DECL" redefined BUILDSTDERR: # define PERL_UNUSED_DECL BUILDSTDERR: BUILDSTDERR: In file included from PKCS10.xs:2: BUILDSTDERR: /usr/lib64/perl5/CORE/perl.h:323: note: this is the location of the previous definition BUILDSTDERR: # define PERL_UNUSED_DECL __attribute__unused__ BUILDSTDERR: BUILDSTDERR: PKCS10.xs: In function 'parse_name': BUILDSTDERR: PKCS10.xs:157:38: warning: pointer targets in passing argument 2 of 'X509_NAME_add_entry_by_txt' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (!X509_NAME_add_entry_by_txt(n, (unsigned char*)ne_types[i], chtype, (unsigned char*)ne_values[i], -1,-1,mval[i])) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/openssl/pem.h:17, BUILDSTDERR: from PKCS10.xs:9: BUILDSTDERR: /usr/include/openssl/x509.h:811:5: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: PKCS10.xs: In function 'add_ext': BUILDSTDERR: PKCS10.xs:190:25: warning: passing argument 1 of 'sk_X509_EXTENSION_push' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: sk_X509_EXTENSION_push(sk, ex); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/openssl/crypto.h:29, BUILDSTDERR: from /usr/include/openssl/bio.h:20, BUILDSTDERR: from /usr/include/openssl/asn1.h:16, BUILDSTDERR: from PKCS10.xs:8: BUILDSTDERR: /usr/include/openssl/x509.h:83:1: note: expected 'struct stack_st_X509_EXTENSION *' but argument is of type 'struct stack_st_X509_REQUEST *' BUILDSTDERR: DEFINE_STACK_OF(X509_EXTENSION) BUILDSTDERR: ^ BUILDSTDERR: PKCS10.xs: In function 'add_ext_raw': BUILDSTDERR: PKCS10.xs:208:25: warning: passing argument 1 of 'sk_X509_EXTENSION_push' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: sk_X509_EXTENSION_push(sk, ex); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/openssl/crypto.h:29, BUILDSTDERR: from /usr/include/openssl/bio.h:20, BUILDSTDERR: from /usr/include/openssl/asn1.h:16, BUILDSTDERR: from PKCS10.xs:8: BUILDSTDERR: /usr/include/openssl/x509.h:83:1: note: expected 'struct stack_st_X509_EXTENSION *' but argument is of type 'struct stack_st_X509_REQUEST *' BUILDSTDERR: DEFINE_STACK_OF(X509_EXTENSION) BUILDSTDERR: ^ BUILDSTDERR: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_new': BUILDSTDERR: PKCS10.xs:353:2: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: rsa=RSA_generate_key(keylen, RSA_F4, NULL, NULL); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/openssl/rsa.h:13, BUILDSTDERR: from /usr/include/openssl/x509.h:31, BUILDSTDERR: from /usr/include/openssl/pem.h:17, BUILDSTDERR: from PKCS10.xs:9: BUILDSTDERR: /usr/include/openssl/rsa.h:193:1: note: declared here BUILDSTDERR: DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5644, BUILDSTDERR: from PKCS10.xs:2: BUILDSTDERR: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_set_subject': BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1670:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) BUILDSTDERR: /usr/lib64/perl5/CORE/embed.h:598:55: note: in definition of macro 'sv_2pv_flags' BUILDSTDERR: #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c) BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' BUILDSTDERR: #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: PKCS10.xs:576:9: note: in expansion of macro 'SvPV' BUILDSTDERR: subj = SvPV(subj_SV, subj_length); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5609, BUILDSTDERR: from PKCS10.xs:2: BUILDSTDERR: /usr/lib64/perl5/CORE/proto.h:2971:21: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' BUILDSTDERR: PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: PKCS10.xs:576:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: subj = SvPV(subj_SV, subj_length); BUILDSTDERR: ^ BUILDSTDERR: PKCS10.xs:578:38: warning: pointer targets in passing argument 2 of 'build_subject' differ in signedness [-Wpointer-sign] BUILDSTDERR: RETVAL = build_subject(pkcs10->req, subj, utf8 ? MBSTRING_UTF8 : MBSTRING_ASC, 0); BUILDSTDERR: ^~~~ BUILDSTDERR: PKCS10.xs:283:12: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: static int build_subject(X509_REQ *req, char *subject, unsigned long chtype, int multirdn) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5644, BUILDSTDERR: from PKCS10.xs:2: BUILDSTDERR: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_ext': BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1670:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) BUILDSTDERR: /usr/lib64/perl5/CORE/embed.h:598:55: note: in definition of macro 'sv_2pv_flags' BUILDSTDERR: #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c) BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' BUILDSTDERR: #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: PKCS10.xs:596:8: note: in expansion of macro 'SvPV' BUILDSTDERR: ext = SvPV(ext_SV, ext_length); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5609, BUILDSTDERR: from PKCS10.xs:2: BUILDSTDERR: /usr/lib64/perl5/CORE/proto.h:2971:21: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' BUILDSTDERR: PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: PKCS10.xs:596:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: ext = SvPV(ext_SV, ext_length); BUILDSTDERR: ^ BUILDSTDERR: PKCS10.xs:601:25: warning: passing argument 1 of 'add_ext' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: RETVAL = add_ext(pkcs10->exts, pkcs10->req, nid, ext); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: PKCS10.xs:182:37: note: expected 'struct stack_st_X509_REQUEST *' but argument is of type 'struct stack_st_X509_EXTENSION *' BUILDSTDERR: int add_ext(STACK_OF(X509_REQUEST) *sk, X509_REQ *req, int nid, char *value) BUILDSTDERR: ^ BUILDSTDERR: PKCS10.xs:601:51: warning: pointer targets in passing argument 4 of 'add_ext' differ in signedness [-Wpointer-sign] BUILDSTDERR: RETVAL = add_ext(pkcs10->exts, pkcs10->req, nid, ext); BUILDSTDERR: ^~~ BUILDSTDERR: PKCS10.xs:182:5: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: int add_ext(STACK_OF(X509_REQUEST) *sk, X509_REQ *req, int nid, char *value) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5644, BUILDSTDERR: from PKCS10.xs:2: BUILDSTDERR: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_custom_ext_raw': BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1670:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) BUILDSTDERR: /usr/lib64/perl5/CORE/embed.h:598:55: note: in definition of macro 'sv_2pv_flags' BUILDSTDERR: #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c) BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' BUILDSTDERR: #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: PKCS10.xs:620:8: note: in expansion of macro 'SvPV' BUILDSTDERR: oid = SvPV(oid_SV, ext_length); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5609, BUILDSTDERR: from PKCS10.xs:2: BUILDSTDERR: /usr/lib64/perl5/CORE/proto.h:2971:21: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' BUILDSTDERR: PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: PKCS10.xs:620:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: oid = SvPV(oid_SV, ext_length); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5644, BUILDSTDERR: from PKCS10.xs:2: BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1670:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) BUILDSTDERR: /usr/lib64/perl5/CORE/embed.h:598:55: note: in definition of macro 'sv_2pv_flags' BUILDSTDERR: #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c) BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' BUILDSTDERR: #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: PKCS10.xs:621:8: note: in expansion of macro 'SvPV' BUILDSTDERR: ext = SvPV(ext_SV, ext_length); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5609, BUILDSTDERR: from PKCS10.xs:2: BUILDSTDERR: /usr/lib64/perl5/CORE/proto.h:2971:21: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' BUILDSTDERR: PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: PKCS10.xs:621:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: ext = SvPV(ext_SV, ext_length); BUILDSTDERR: ^ BUILDSTDERR: PKCS10.xs:626:19: warning: pointer targets in passing argument 1 of 'OBJ_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: nid = OBJ_create(oid, "MyAlias", "My Test Alias Extension"); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/openssl/evp.h:27, BUILDSTDERR: from /usr/include/openssl/pem.h:16, BUILDSTDERR: from PKCS10.xs:9: BUILDSTDERR: /usr/include/openssl/objects.h:1057:5: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: int OBJ_create(const char *oid, const char *sn, const char *ln); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: PKCS10.xs:627:29: warning: passing argument 1 of 'add_ext_raw' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: RETVAL = add_ext_raw(pkcs10->exts, nid, ext, ext_length); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: PKCS10.xs:197:41: note: expected 'struct stack_st_X509_REQUEST *' but argument is of type 'struct stack_st_X509_EXTENSION *' BUILDSTDERR: int add_ext_raw(STACK_OF(X509_REQUEST) *sk, int nid, unsigned char *value, int length) BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5644, BUILDSTDERR: from PKCS10.xs:2: BUILDSTDERR: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_custom_ext': BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1670:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) BUILDSTDERR: /usr/lib64/perl5/CORE/embed.h:598:55: note: in definition of macro 'sv_2pv_flags' BUILDSTDERR: #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c) BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' BUILDSTDERR: #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: PKCS10.xs:648:8: note: in expansion of macro 'SvPV' BUILDSTDERR: oid = SvPV(oid_SV, ext_length); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5609, BUILDSTDERR: from PKCS10.xs:2: BUILDSTDERR: /usr/lib64/perl5/CORE/proto.h:2971:21: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' BUILDSTDERR: PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: PKCS10.xs:648:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: oid = SvPV(oid_SV, ext_length); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5644, BUILDSTDERR: from PKCS10.xs:2: BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1670:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) BUILDSTDERR: /usr/lib64/perl5/CORE/embed.h:598:55: note: in definition of macro 'sv_2pv_flags' BUILDSTDERR: #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c) BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' BUILDSTDERR: #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: PKCS10.xs:649:8: note: in expansion of macro 'SvPV' BUILDSTDERR: ext = SvPV(ext_SV, ext_length); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5609, BUILDSTDERR: from PKCS10.xs:2: BUILDSTDERR: /usr/lib64/perl5/CORE/proto.h:2971:21: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' BUILDSTDERR: PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: PKCS10.xs:649:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: ext = SvPV(ext_SV, ext_length); BUILDSTDERR: ^ BUILDSTDERR: PKCS10.xs:654:19: warning: pointer targets in passing argument 1 of 'OBJ_create' differ in signedness [-Wpointer-sign] BUILDSTDERR: nid = OBJ_create(oid, "MyAlias", "My Test Alias Extension"); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/openssl/evp.h:27, BUILDSTDERR: from /usr/include/openssl/pem.h:16, BUILDSTDERR: from PKCS10.xs:9: BUILDSTDERR: /usr/include/openssl/objects.h:1057:5: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: int OBJ_create(const char *oid, const char *sn, const char *ln); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: PKCS10.xs:656:25: warning: passing argument 1 of 'add_ext' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: RETVAL = add_ext(pkcs10->exts, pkcs10->req, nid, ext); BUILDSTDERR: ~~~~~~^~~~~~ BUILDSTDERR: PKCS10.xs:182:37: note: expected 'struct stack_st_X509_REQUEST *' but argument is of type 'struct stack_st_X509_EXTENSION *' BUILDSTDERR: int add_ext(STACK_OF(X509_REQUEST) *sk, X509_REQ *req, int nid, char *value) BUILDSTDERR: ^ BUILDSTDERR: PKCS10.xs:656:51: warning: pointer targets in passing argument 4 of 'add_ext' differ in signedness [-Wpointer-sign] BUILDSTDERR: RETVAL = add_ext(pkcs10->exts, pkcs10->req, nid, ext); BUILDSTDERR: ^~~ BUILDSTDERR: PKCS10.xs:182:5: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: int add_ext(STACK_OF(X509_REQUEST) *sk, X509_REQ *req, int nid, char *value) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_ext_final': BUILDSTDERR: PKCS10.xs:678:10: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: RETVAL = NULL; BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5644, BUILDSTDERR: from PKCS10.xs:2: BUILDSTDERR: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_new_from_file': BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1670:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) BUILDSTDERR: /usr/lib64/perl5/CORE/embed.h:598:55: note: in definition of macro 'sv_2pv_flags' BUILDSTDERR: #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c) BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' BUILDSTDERR: #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: PKCS10.xs:696:14: note: in expansion of macro 'SvPV' BUILDSTDERR: filename = SvPV(filename_SV, filename_length); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5609, BUILDSTDERR: from PKCS10.xs:2: BUILDSTDERR: /usr/lib64/perl5/CORE/proto.h:2971:21: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' BUILDSTDERR: PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: PKCS10.xs:696:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: filename = SvPV(filename_SV, filename_length); BUILDSTDERR: ^ BUILDSTDERR: PKCS10.xs:697:14: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] BUILDSTDERR: fp = fopen(filename, "r"); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from /usr/lib64/perl5/CORE/perl.h:694, BUILDSTDERR: from PKCS10.xs:2: BUILDSTDERR: /usr/include/stdio.h:245:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: extern FILE *__REDIRECT (fopen, (const char *__restrict __filename, BUILDSTDERR: ^~~~~~~~~~ rm -f blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.so gcc -lpthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong PKCS10.o -o blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.so \ -lcrypto -lperl \ chmod 755 blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.esA5PW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64 + cd Crypt-OpenSSL-PKCS10-0.16 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- PKCS10.bs blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.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-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/Crypt/OpenSSL/PKCS10/PKCS10.so Installing /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64/usr/lib64/perl5/vendor_perl/Crypt/OpenSSL/PKCS10.pm Installing /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64/usr/share/man/man3/Crypt::OpenSSL::PKCS10.3pm + find /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64 -type f -name '*.bs' -size 0 -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64/usr + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.zkIXWK Processing files: perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oM433B + umask 022 + cd /builddir/build/BUILD + cd Crypt-OpenSSL-PKCS10-0.16 + DOCDIR=/builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64/usr/share/doc/perl-Crypt-OpenSSL-PKCS10 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64/usr/share/doc/perl-Crypt-OpenSSL-PKCS10 + cp -pr Changes /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64/usr/share/doc/perl-Crypt-OpenSSL-PKCS10 + cp -pr README /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64/usr/share/doc/perl-Crypt-OpenSSL-PKCS10 + exit 0 Provides: perl(Crypt::OpenSSL::PKCS10) = 0.16 perl-Crypt-OpenSSL-PKCS10 = 0.16-6.fc29 perl-Crypt-OpenSSL-PKCS10(riscv-64) = 0.16-6.fc29 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) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libperl.so.5.26()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) perl(:VERSION) >= 5.8.0 perl(Exporter) perl(XSLoader) perl(strict) perl(warnings) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64 Wrote: /builddir/build/RPMS/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.I4hKAP + umask 022 + cd /builddir/build/BUILD + cd Crypt-OpenSSL-PKCS10-0.16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc29.riscv64 + exit 0 Child return code was: 0