Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/perl-Crypt-OpenSSL-PKCS10.spec'], chrootPath='/var/lib/mock/f28-build-11392764-852892/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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 sh: perl: command not found sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/perl-Crypt-OpenSSL-PKCS10.spec'], chrootPath='/var/lib/mock/f28-build-11392764-852892/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0M4bX5 + 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 . Patch #0 (perl-Crypt-OpenSSL-PKCS10-build-paths.patch): + echo 'Patch #0 (perl-Crypt-OpenSSL-PKCS10-build-paths.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.PL Patch #1 (Crypt-OpenSSL-PKCS10-0.16-Convert-changlog-to-UTF-8.patch): + echo '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--) + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8eEhg0 + 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 -j6 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -mcet -fcf-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 In file included from PKCS10.xs:13: ppport.h:230: warning: "PERL_UNUSED_DECL" redefined # define PERL_UNUSED_DECL In file included from PKCS10.xs:2: /usr/lib64/perl5/CORE/perl.h:323: note: this is the location of the previous definition # define PERL_UNUSED_DECL __attribute__unused__ PKCS10.xs: In function 'parse_name': PKCS10.xs:157:38: warning: pointer targets in passing argument 2 of 'X509_NAME_add_entry_by_txt' differ in signedness [-Wpointer-sign] if (!X509_NAME_add_entry_by_txt(n, (unsigned char*)ne_types[i], chtype, (unsigned char*)ne_values[i], -1,-1,mval[i])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:17, from PKCS10.xs:9: /usr/include/openssl/x509.h:811:5: note: expected 'const char *' but argument is of type 'unsigned char *' int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, ^~~~~~~~~~~~~~~~~~~~~~~~~~ PKCS10.xs: In function 'add_ext': PKCS10.xs:190:25: warning: passing argument 1 of 'sk_X509_EXTENSION_push' from incompatible pointer type [-Wincompatible-pointer-types] sk_X509_EXTENSION_push(sk, ex); ^~ In file included from /usr/include/openssl/crypto.h:29, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from PKCS10.xs:8: /usr/include/openssl/x509.h:83:1: note: expected 'struct stack_st_X509_EXTENSION *' but argument is of type 'struct stack_st_X509_REQUEST *' DEFINE_STACK_OF(X509_EXTENSION) ^ PKCS10.xs: In function 'add_ext_raw': PKCS10.xs:208:25: warning: passing argument 1 of 'sk_X509_EXTENSION_push' from incompatible pointer type [-Wincompatible-pointer-types] sk_X509_EXTENSION_push(sk, ex); ^~ In file included from /usr/include/openssl/crypto.h:29, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/asn1.h:16, from PKCS10.xs:8: /usr/include/openssl/x509.h:83:1: note: expected 'struct stack_st_X509_EXTENSION *' but argument is of type 'struct stack_st_X509_REQUEST *' DEFINE_STACK_OF(X509_EXTENSION) ^ PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_new': PKCS10.xs:353:2: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] rsa=RSA_generate_key(keylen, RSA_F4, NULL, NULL); ^~~ In file included from /usr/include/openssl/opensslconf.h:42, from /usr/include/openssl/rsa.h:13, from /usr/include/openssl/x509.h:31, from /usr/include/openssl/pem.h:17, from PKCS10.xs:9: /usr/include/openssl/rsa.h:193:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5644, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_set_subject': /usr/lib64/perl5/CORE/sv.h:1670:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [-Wincompatible-pointer-types] ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) /usr/lib64/perl5/CORE/embed.h:598:55: note: in definition of macro 'sv_2pv_flags' #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c) ^ /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) ^~~~~~~~~~ PKCS10.xs:576:9: note: in expansion of macro 'SvPV' subj = SvPV(subj_SV, subj_length); ^~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5609, from PKCS10.xs:2: /usr/lib64/perl5/CORE/proto.h:2971:21: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags); ^~~~~~~~~~~~~~~~~ PKCS10.xs:576:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] subj = SvPV(subj_SV, subj_length); ^ PKCS10.xs:578:38: warning: pointer targets in passing argument 2 of 'build_subject' differ in signedness [-Wpointer-sign] RETVAL = build_subject(pkcs10->req, subj, utf8 ? MBSTRING_UTF8 : MBSTRING_ASC, 0); ^~~~ PKCS10.xs:283:12: note: expected 'char *' but argument is of type 'unsigned char *' static int build_subject(X509_REQ *req, char *subject, unsigned long chtype, int multirdn) ^~~~~~~~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5644, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_ext': /usr/lib64/perl5/CORE/sv.h:1670:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [-Wincompatible-pointer-types] ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) /usr/lib64/perl5/CORE/embed.h:598:55: note: in definition of macro 'sv_2pv_flags' #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c) ^ /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) ^~~~~~~~~~ PKCS10.xs:596:8: note: in expansion of macro 'SvPV' ext = SvPV(ext_SV, ext_length); ^~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5609, from PKCS10.xs:2: /usr/lib64/perl5/CORE/proto.h:2971:21: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags); ^~~~~~~~~~~~~~~~~ PKCS10.xs:596:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] ext = SvPV(ext_SV, ext_length); ^ PKCS10.xs:601:25: warning: passing argument 1 of 'add_ext' from incompatible pointer type [-Wincompatible-pointer-types] RETVAL = add_ext(pkcs10->exts, pkcs10->req, nid, ext); ~~~~~~^~~~~~ PKCS10.xs:182:37: note: expected 'struct stack_st_X509_REQUEST *' but argument is of type 'struct stack_st_X509_EXTENSION *' int add_ext(STACK_OF(X509_REQUEST) *sk, X509_REQ *req, int nid, char *value) ^ PKCS10.xs:601:51: warning: pointer targets in passing argument 4 of 'add_ext' differ in signedness [-Wpointer-sign] RETVAL = add_ext(pkcs10->exts, pkcs10->req, nid, ext); ^~~ PKCS10.xs:182:5: note: expected 'char *' but argument is of type 'unsigned char *' int add_ext(STACK_OF(X509_REQUEST) *sk, X509_REQ *req, int nid, char *value) ^~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5644, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_custom_ext_raw': /usr/lib64/perl5/CORE/sv.h:1670:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [-Wincompatible-pointer-types] ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) /usr/lib64/perl5/CORE/embed.h:598:55: note: in definition of macro 'sv_2pv_flags' #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c) ^ /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) ^~~~~~~~~~ PKCS10.xs:620:8: note: in expansion of macro 'SvPV' oid = SvPV(oid_SV, ext_length); ^~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5609, from PKCS10.xs:2: /usr/lib64/perl5/CORE/proto.h:2971:21: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags); ^~~~~~~~~~~~~~~~~ PKCS10.xs:620:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] oid = SvPV(oid_SV, ext_length); ^ In file included from /usr/lib64/perl5/CORE/perl.h:5644, from PKCS10.xs:2: /usr/lib64/perl5/CORE/sv.h:1670:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [-Wincompatible-pointer-types] ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) /usr/lib64/perl5/CORE/embed.h:598:55: note: in definition of macro 'sv_2pv_flags' #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c) ^ /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) ^~~~~~~~~~ PKCS10.xs:621:8: note: in expansion of macro 'SvPV' ext = SvPV(ext_SV, ext_length); ^~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5609, from PKCS10.xs:2: /usr/lib64/perl5/CORE/proto.h:2971:21: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags); ^~~~~~~~~~~~~~~~~ PKCS10.xs:621:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] ext = SvPV(ext_SV, ext_length); ^ PKCS10.xs:626:19: warning: pointer targets in passing argument 1 of 'OBJ_create' differ in signedness [-Wpointer-sign] nid = OBJ_create(oid, "MyAlias", "My Test Alias Extension"); ^~~ In file included from /usr/include/openssl/evp.h:27, from /usr/include/openssl/pem.h:16, from PKCS10.xs:9: /usr/include/openssl/objects.h:1057:5: note: expected 'const char *' but argument is of type 'unsigned char *' int OBJ_create(const char *oid, const char *sn, const char *ln); ^~~~~~~~~~ PKCS10.xs:627:29: warning: passing argument 1 of 'add_ext_raw' from incompatible pointer type [-Wincompatible-pointer-types] RETVAL = add_ext_raw(pkcs10->exts, nid, ext, ext_length); ~~~~~~^~~~~~ PKCS10.xs:197:41: note: expected 'struct stack_st_X509_REQUEST *' but argument is of type 'struct stack_st_X509_EXTENSION *' int add_ext_raw(STACK_OF(X509_REQUEST) *sk, int nid, unsigned char *value, int length) ^ In file included from /usr/lib64/perl5/CORE/perl.h:5644, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_custom_ext': /usr/lib64/perl5/CORE/sv.h:1670:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [-Wincompatible-pointer-types] ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) /usr/lib64/perl5/CORE/embed.h:598:55: note: in definition of macro 'sv_2pv_flags' #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c) ^ /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) ^~~~~~~~~~ PKCS10.xs:648:8: note: in expansion of macro 'SvPV' oid = SvPV(oid_SV, ext_length); ^~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5609, from PKCS10.xs:2: /usr/lib64/perl5/CORE/proto.h:2971:21: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags); ^~~~~~~~~~~~~~~~~ PKCS10.xs:648:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] oid = SvPV(oid_SV, ext_length); ^ In file included from /usr/lib64/perl5/CORE/perl.h:5644, from PKCS10.xs:2: /usr/lib64/perl5/CORE/sv.h:1670:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [-Wincompatible-pointer-types] ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) /usr/lib64/perl5/CORE/embed.h:598:55: note: in definition of macro 'sv_2pv_flags' #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c) ^ /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) ^~~~~~~~~~ PKCS10.xs:649:8: note: in expansion of macro 'SvPV' ext = SvPV(ext_SV, ext_length); ^~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5609, from PKCS10.xs:2: /usr/lib64/perl5/CORE/proto.h:2971:21: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags); ^~~~~~~~~~~~~~~~~ PKCS10.xs:649:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] ext = SvPV(ext_SV, ext_length); ^ PKCS10.xs:654:19: warning: pointer targets in passing argument 1 of 'OBJ_create' differ in signedness [-Wpointer-sign] nid = OBJ_create(oid, "MyAlias", "My Test Alias Extension"); ^~~ In file included from /usr/include/openssl/evp.h:27, from /usr/include/openssl/pem.h:16, from PKCS10.xs:9: /usr/include/openssl/objects.h:1057:5: note: expected 'const char *' but argument is of type 'unsigned char *' int OBJ_create(const char *oid, const char *sn, const char *ln); ^~~~~~~~~~ PKCS10.xs:656:25: warning: passing argument 1 of 'add_ext' from incompatible pointer type [-Wincompatible-pointer-types] RETVAL = add_ext(pkcs10->exts, pkcs10->req, nid, ext); ~~~~~~^~~~~~ PKCS10.xs:182:37: note: expected 'struct stack_st_X509_REQUEST *' but argument is of type 'struct stack_st_X509_EXTENSION *' int add_ext(STACK_OF(X509_REQUEST) *sk, X509_REQ *req, int nid, char *value) ^ PKCS10.xs:656:51: warning: pointer targets in passing argument 4 of 'add_ext' differ in signedness [-Wpointer-sign] RETVAL = add_ext(pkcs10->exts, pkcs10->req, nid, ext); ^~~ PKCS10.xs:182:5: note: expected 'char *' but argument is of type 'unsigned char *' int add_ext(STACK_OF(X509_REQUEST) *sk, X509_REQ *req, int nid, char *value) ^~~~~~~ PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_ext_final': PKCS10.xs:678:10: warning: assignment to 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] RETVAL = NULL; ^ In file included from /usr/lib64/perl5/CORE/perl.h:5644, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_new_from_file': /usr/lib64/perl5/CORE/sv.h:1670:57: warning: passing argument 3 of 'Perl_sv_2pv_flags' from incompatible pointer type [-Wincompatible-pointer-types] ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags)) /usr/lib64/perl5/CORE/embed.h:598:55: note: in definition of macro 'sv_2pv_flags' #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c) ^ /usr/lib64/perl5/CORE/sv.h:1664:30: note: in expansion of macro 'SvPV_flags' #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC) ^~~~~~~~~~ PKCS10.xs:696:14: note: in expansion of macro 'SvPV' filename = SvPV(filename_SV, filename_length); ^~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5609, from PKCS10.xs:2: /usr/lib64/perl5/CORE/proto.h:2971:21: note: expected 'STRLEN * const' {aka 'long unsigned int * const'} but argument is of type 'int *' PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags); ^~~~~~~~~~~~~~~~~ PKCS10.xs:696:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] filename = SvPV(filename_SV, filename_length); ^ PKCS10.xs:697:14: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] fp = fopen(filename, "r"); ^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/lib64/perl5/CORE/perl.h:694, from PKCS10.xs:2: /usr/include/stdio.h:243:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern FILE *__REDIRECT (fopen, (const char *__restrict __filename, ^~~~~~~~~~ rm -f blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.so gcc -lpthread -shared -Wl,-z,relro -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.WTwcSW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64 ++ dirname /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64 + cd Crypt-OpenSSL-PKCS10-0.16 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64 "/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.fc28.x86_64/usr/lib64/perl5/vendor_perl/auto/Crypt/OpenSSL/PKCS10/PKCS10.so Installing /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64/usr/lib64/perl5/vendor_perl/Crypt/OpenSSL/PKCS10.pm Installing /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64/usr/share/man/man3/Crypt::OpenSSL::PKCS10.3pm + find /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64 -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.fc28.x86_64/usr + /usr/lib/rpm/find-debuginfo.sh -j6 --strict-build-id -m -i --build-id-seed 0.16-6.fc28 --unique-debug-suffix -0.16-6.fc28.x86_64 --unique-debug-src-base perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/Crypt-OpenSSL-PKCS10-0.16 extracting debug info from /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64/usr/lib64/perl5/vendor_perl/auto/Crypt/OpenSSL/PKCS10/PKCS10.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 88 blocks + /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-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.29mIvU + umask 022 + cd /builddir/build/BUILD + cd Crypt-OpenSSL-PKCS10-0.16 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- PKCS10.bs blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t -----BEGIN CERTIFICATE REQUEST----- MIGzMIGpAgEAMAAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANJXi+3uH/9S SmDkaDrogSsUQnVbUIxCy3kAOdHu1ro4ms9M4FCm7zERDQaOKRJFnE6nLcHXBGir Snh8N4n6Tf6lXI5MYT4nFyOZ9S9kdz141OKSMbaO0om0krLUJnAa94L6qH3pXGhv FZ+yBf0KqLCCtUY1z2rEEl9bf5g1kTaTAgMBAAGgADACBgADAQA= -----END CERTIFICATE REQUEST----- Private-Key: (1024 bit) modulus: -----BEGIN CERTIFICATE REQUEST----- MIGzMIGpAgEAMAAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMWDFgnTxiO3 CmQaJdXTjkzxBfBoYu2hpZRMJWl9pN16T3OOvys6GE+oZcd7a3yEf+KQFe/1IZYH oyL4ernu3UkKyiNzB6j7Fh5nRc5WefZh9TkP0+GY6Bk+J276n6+XJ4x/csLDdXnB zDh58/rLHeEORoNRj0pF9LY2jEjnYS9lAgMBAAGgADACBgADAQA= -----END CERTIFICATE REQUEST----- Private-Key: (1024 bit) modulus: rsa -----BEGIN PUBLIC KEY----- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDFgxYJ08YjtwpkGiXV045M8QXw aGLtoaWUTCVpfaTdek9zjr8rOhhPqGXHe2t8hH/ikBXv9SGWB6Mi+Hq57t1JCsoj cweo+xYeZ0XOVnn2YfU5D9PhmOgZPidu+p+vlyeMf3LCw3V5wcw4efP6yx3hDkaD UY9KRfS2NoxI52EvZQIDAQAB -----END PUBLIC KEY----- -----BEGIN CERTIFICATE REQUEST----- MIICJDCCAY0CAQAwKTELMAkGA1UEBhMCUk8xDDAKBgNVBAoMA1VUSTEMMAoGA1UE CwwDc3NpMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDctAbo6Sn3bqRU4+Qs E4OKlY+hlcUMuwlmuX8KRYBVMHQWcyhjtwii1tmq/nt476mfvWhH5Ecnp4TX6wcP qrRHrQWDJpxySbx9Xq4VlfSkZsOmzI4ZXu32M7ifNqvZJYDhZ1XW0gGlCzP9QTi7 gHgPe1fGT/YHHhuwxAm8RlROCQIDAQABoIG6MIG3BgkqhkiG9w0BCQ4xgakwgaYw DgYDVR0PAQH/BAQDAgWgMC4GA1UdJQQnMCUGCCsGAQUFBwMBBglghkgBhvhCBAEG CisGAQQBgjcKAwMGAisEMBwGA1UdEQQVMBOBEXN0ZXZlQG9wZW5zc2wub3JnMB0G A1UdDgQWBBS3UlctUWAyHh953nXVWBqYURXxWjAZBgMqAwMEEhYQTXkgbmV3IGV4 dGVuc2lvbjAMBgAECB4GAGEAYgBjMA0GCSqGSIb3DQEBCwUAA4GBABaR+n0a5A9w sKAkT1vPMbxY3HpMy8G5DZQhEyAuJZaken35ziKLvV9b4r2HUm7n6vouATlQ7O0t 9uYrf6zdA6zuxs6bmVEbIs/1gS56/NIzadrHR5Adx4WDw5k+fVVMwfXdonRUWGyi sl5znNV0/HbRO9eP3V7e+JmC7zW3PUi9 -----END CERTIFICATE REQUEST----- C=RO, O=UTI, OU=ssi Private-Key: (1024 bit) modulus: rsa -----BEGIN PUBLIC KEY----- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDctAbo6Sn3bqRU4+QsE4OKlY+h lcUMuwlmuX8KRYBVMHQWcyhjtwii1tmq/nt476mfvWhH5Ecnp4TX6wcPqrRHrQWD JpxySbx9Xq4VlfSkZsOmzI4ZXu32M7ifNqvZJYDhZ1XW0gGlCzP9QTi7gHgPe1fG T/YHHhuwxAm8RlROCQIDAQAB -----END PUBLIC KEY----- C=DE, ST=NRW, L=Foo, O=Internet Widgits Pty Ltd, CN=foo.der.bar.com Public-Key: (2048 bit) Modulus: rsa -----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwPMYFxcoAOcmP7PjQBMw ljajXZd6rZzlENWToE8CYA0M2TbzTOBCGmhxXfM2x/wBd8N+oemxCXNapK11nuXU MD0OmJKy5cIPeHtJryFNmaGZJWNZW7AvlriVtKigGEFtT9G7PqSw2h8IID2FUPwp QK4SMXFVBJxFy0BHsGBYRj5oRiYW+8Dldh2hscHwR/Ff/2LBgbcTktjz37/1JAoT Qz2TBUIQqg8WU+Myutwe+ASyNJhfLMFdFnrmiN6Z9O2K9L0zxeeIvT5U4cLBiNM4 hPtBdmg9diOQlEd0M7kLGo/Hf9XSgjIbTP3i/Bd1RpdzpRkDIGjCWO6+faQeCA8R 6wIDAQAB -----END PUBLIC KEY----- t/Mytest.t .. ok All tests successful. Files=1, Tests=6, 0 wallclock secs ( 0.01 usr 0.01 sys + 0.13 cusr 0.01 csys = 0.16 CPU) Result: PASS + exit 0 Processing files: perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.v3HiLS + umask 022 + cd /builddir/build/BUILD + cd Crypt-OpenSSL-PKCS10-0.16 + DOCDIR=/builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64/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.fc28.x86_64/usr/share/doc/perl-Crypt-OpenSSL-PKCS10 + cp -pr Changes /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64/usr/share/doc/perl-Crypt-OpenSSL-PKCS10 + cp -pr README /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64/usr/share/doc/perl-Crypt-OpenSSL-PKCS10 + exit 0 Provides: perl(Crypt::OpenSSL::PKCS10) = 0.16 perl-Crypt-OpenSSL-PKCS10 = 0.16-6.fc28 perl-Crypt-OpenSSL-PKCS10(x86-64) = 0.16-6.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(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.2.5)(64bit) perl(:VERSION) >= 5.8.0 perl(Exporter) perl(XSLoader) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-Crypt-OpenSSL-PKCS10-debugsource-0.16-6.fc28.x86_64 Provides: perl-Crypt-OpenSSL-PKCS10-debugsource = 0.16-6.fc28 perl-Crypt-OpenSSL-PKCS10-debugsource(x86-64) = 0.16-6.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Crypt-OpenSSL-PKCS10-debuginfo-0.16-6.fc28.x86_64 Provides: debuginfo(build-id) = c57072e8cd175b2b98caf86fd246ea4c35fe21e9 perl-Crypt-OpenSSL-PKCS10-debuginfo = 0.16-6.fc28 perl-Crypt-OpenSSL-PKCS10-debuginfo(x86-64) = 0.16-6.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Crypt-OpenSSL-PKCS10-debugsource(x86-64) = 0.16-6.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64 Wrote: /builddir/build/RPMS/perl-Crypt-OpenSSL-PKCS10-0.16-6.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/perl-Crypt-OpenSSL-PKCS10-debugsource-0.16-6.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/perl-Crypt-OpenSSL-PKCS10-debuginfo-0.16-6.fc28.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.DgRYkR + 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.fc28.x86_64 + exit 0 Child return code was: 0