=> Building security/p5-Crypt-OpenSSL-PKCS10 Started : Friday, 14 FEB 2020 at 13:46:59 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/security/p5-Crypt-OpenSSL-PKCS10 XDG_CONFIG_HOME=/construction/security/p5-Crypt-OpenSSL-PKCS10 HOME=/construction/security/p5-Crypt-OpenSSL-PKCS10 TMPDIR="/tmp" PATH=/construction/security/p5-Crypt-OpenSSL-PKCS10/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 PERL_EXTUTILS_AUTOINSTALL="--skipdeps" PERL_MM_USE_DEFAULT="YES" -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- INSTALLDIRS="site" CC="cc" CCFLAGS="-pipe -O2 -fno-strict-aliasing " LD="cc" PREFIX="/usr/local" INSTALLPRIVLIB="/usr/local/lib" INSTALLARCHLIB="/usr/local/lib" -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- PERL_USE_UNSAFE_INC=1 OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/construction/security/p5-Crypt-OpenSSL-PKCS10 XDG_CONFIG_HOME=/construction/security/p5-Crypt-OpenSSL-PKCS10 HOME=/construction/security/p5-Crypt-OpenSSL-PKCS10 TMPDIR="/tmp" PATH=/construction/security/p5-Crypt-OpenSSL-PKCS10/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath,/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- PASTHRU_INC=-I/usr/local/include DESTDIR=/construction/security/p5-Crypt-OpenSSL-PKCS10/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.30.1 PERL_VER=5.30 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.30 PROFILE="@comment " DOCSDIR="share/doc/Crypt-OpenSSL-PKCS10" EXAMPLESDIR="share/examples/Crypt-OpenSSL-PKCS10" DATADIR="share/Crypt-OpenSSL-PKCS10" WWWDIR="www/Crypt-OpenSSL-PKCS10" ETCDIR="etc/Crypt-OpenSSL-PKCS10" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/Crypt-OpenSSL-PKCS10 DOCSDIR=/usr/local/share/doc/Crypt-OpenSSL-PKCS10 EXAMPLESDIR=/usr/local/share/examples/Crypt-OpenSSL-PKCS10 WWWDIR=/usr/local/www/Crypt-OpenSSL-PKCS10 ETCDIR=/usr/local/etc/Crypt-OpenSSL-PKCS10 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... done ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of p5-Crypt-OpenSSL-PKCS10-0.16 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by p5-Crypt-OpenSSL-PKCS10-0.16 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by p5-Crypt-OpenSSL-PKCS10-0.16 for building => SHA256 Checksum OK for Crypt-OpenSSL-PKCS10-0.16.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by p5-Crypt-OpenSSL-PKCS10-0.16 for building ===> Extracting for p5-Crypt-OpenSSL-PKCS10-0.16 => SHA256 Checksum OK for Crypt-OpenSSL-PKCS10-0.16.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for p5-Crypt-OpenSSL-PKCS10-0.16 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on package: p5-Crypt-OpenSSL-RSA>=0 - not found ===> Installing existing package /packages/All/p5-Crypt-OpenSSL-RSA-0.31.txz Installing p5-Crypt-OpenSSL-RSA-0.31... `-- Installing openssl-1.1.1d,1... `-- Extracting openssl-1.1.1d,1: .......... done `-- Installing p5-Crypt-OpenSSL-Bignum-0.09... | `-- Installing perl5-5.30.1... | `-- Extracting perl5-5.30.1: .......... done `-- Extracting p5-Crypt-OpenSSL-Bignum-0.09: ...... done `-- Installing p5-Crypt-OpenSSL-Random-0.15... `-- Extracting p5-Crypt-OpenSSL-Random-0.15: .... done Extracting p5-Crypt-OpenSSL-RSA-0.31: ......... done ===== Message from perl5-5.30.1: -- The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on package: p5-Crypt-OpenSSL-RSA>=0 - found ===> Returning to build of p5-Crypt-OpenSSL-PKCS10-0.16 ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on package: perl5>=5.30.r1<5.31 - found ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on package: perl5>=5.30.r1<5.31 - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for p5-Crypt-OpenSSL-PKCS10-0.16 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Crypt::OpenSSL::PKCS10 Writing MYMETA.yml and MYMETA.json -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for p5-Crypt-OpenSSL-PKCS10-0.16 --- blib/lib/Crypt/OpenSSL/.exists --- --- blib/arch/.exists --- --- blib/lib/auto/Crypt/OpenSSL/PKCS10/.exists --- --- blib/arch/auto/Crypt/OpenSSL/PKCS10/.exists --- --- blib/bin/.exists --- --- blib/script/.exists --- --- blib/man1/.exists --- --- blib/man3/.exists --- --- config --- --- subdirs --- --- dynamic --- --- PKCS10.c --- --- PKCS10.bs --- --- pm_to_blib --- --- PKCS10.c --- "/usr/local/bin/perl" "/usr/local/lib/perl5/5.30/ExtUtils/xsubpp" -typemap '/usr/local/lib/perl5/5.30/ExtUtils/typemap' -typemap '/construction/security/p5-Crypt-OpenSSL-PKCS10/Crypt-OpenSSL-PKCS10-0.16/typemap' PKCS10.xs > PKCS10.xsc --- PKCS10.bs --- Running Mkbootstrap for PKCS10 () chmod 644 "PKCS10.bs" --- blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.bs --- "/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- PKCS10.bs blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.bs 644 --- pm_to_blib --- cp PKCS10.pm blib/lib/Crypt/OpenSSL/PKCS10.pm --- blibdirs --- --- config --- --- PKCS10.c --- mv PKCS10.xsc PKCS10.c --- PKCS10.o --- cc -c -I/usr/local/include -I/usr/local/ssl/include -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -DVERSION=\"0.16\" -DXS_VERSION=\"0.16\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.30/mach/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/local/lib/perl5/5.30/mach/CORE/perl.h:328: 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/local/include/openssl/pem.h:17, from PKCS10.xs:9: /usr/local/include/openssl/x509.h:831: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, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/openssl/crypto.h:23, from /usr/local/include/openssl/bio.h:20, from /usr/local/include/openssl/asn1.h:16, from PKCS10.xs:8: PKCS10.xs: At top level: /usr/local/include/openssl/safestack.h:20:32: warning: 'struct stack_st_X509_REQUEST' declared inside parameter list will not be visible outside of this definition or declaration # define STACK_OF(type) struct stack_st_##type ^~~~~~~~~ /usr/local/include/openssl/safestack.h:20:32: note: in definition of macro 'STACK_OF' # define STACK_OF(type) struct stack_st_##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/local/include/openssl/crypto.h:23, from /usr/local/include/openssl/bio.h:20, from /usr/local/include/openssl/asn1.h:16, from PKCS10.xs:8: /usr/local/include/openssl/safestack.h:68:69: note: expected 'struct stack_st_X509_EXTENSION *' but argument is of type 'struct stack_st_X509_REQUEST *' static ossl_unused ossl_inline int sk_##t1##_push(STACK_OF(t1) *sk, t2 *ptr) \ ^ /usr/local/include/openssl/safestack.h:68:69: note: in definition of macro 'SKM_DEFINE_STACK_OF' static ossl_unused ossl_inline int sk_##t1##_push(STACK_OF(t1) *sk, t2 *ptr) \ ^~ /usr/local/include/openssl/x509.h:85:1: note: in expansion of macro 'DEFINE_STACK_OF' DEFINE_STACK_OF(X509_EXTENSION) ^~~~~~~~~~~~~~~ PKCS10.xs: At top level: /usr/local/include/openssl/safestack.h:20:32: warning: 'struct stack_st_X509_REQUEST' declared inside parameter list will not be visible outside of this definition or declaration # define STACK_OF(type) struct stack_st_##type ^~~~~~~~~ /usr/local/include/openssl/safestack.h:20:32: note: in definition of macro 'STACK_OF' # define STACK_OF(type) struct stack_st_##type ^~~~~~~~~ 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/local/include/openssl/crypto.h:23, from /usr/local/include/openssl/bio.h:20, from /usr/local/include/openssl/asn1.h:16, from PKCS10.xs:8: /usr/local/include/openssl/safestack.h:68:69: note: expected 'struct stack_st_X509_EXTENSION *' but argument is of type 'struct stack_st_X509_REQUEST *' static ossl_unused ossl_inline int sk_##t1##_push(STACK_OF(t1) *sk, t2 *ptr) \ ^ /usr/local/include/openssl/safestack.h:68:69: note: in definition of macro 'SKM_DEFINE_STACK_OF' static ossl_unused ossl_inline int sk_##t1##_push(STACK_OF(t1) *sk, t2 *ptr) \ ^~ /usr/local/include/openssl/x509.h:85:1: note: in expansion of macro 'DEFINE_STACK_OF' DEFINE_STACK_OF(X509_EXTENSION) ^~~~~~~~~~~~~~~ PKCS10.xs: In function 'make_pkcs10_obj': PKCS10.xs:39:40: warning: format '%d' expects a matching 'int' argument [-Wformat=] #define PACKAGE_CROAK(p_message) croak("%s:%d: %s", (p_message)) ^~~~~~~~~~~ PKCS10.xs:39:40: note: in definition of macro 'PACKAGE_CROAK' #define PACKAGE_CROAK(p_message) croak("%s:%d: %s", (p_message)) ^~~~~~~~~~~ PKCS10.xs:218:2: note: in expansion of macro 'CHECK_NEW' CHECK_NEW(pkcs10, 1, pkcs10Data); ^~~~~~~~~ PKCS10.xs:39:40: warning: format '%s' expects a matching 'char *' argument [-Wformat=] #define PACKAGE_CROAK(p_message) croak("%s:%d: %s", (p_message)) ^~~~~~~~~~~ PKCS10.xs:39:40: note: in definition of macro 'PACKAGE_CROAK' #define PACKAGE_CROAK(p_message) croak("%s:%d: %s", (p_message)) ^~~~~~~~~~~ PKCS10.xs:218:2: note: in expansion of macro 'CHECK_NEW' CHECK_NEW(pkcs10, 1, pkcs10Data); ^~~~~~~~~ In file included from /usr/local/include/openssl/asn1.h:16, from PKCS10.xs:8: PKCS10.xs: In function 'sv_bio_final': /usr/local/include/openssl/bio.h:488:34: warning: value computed is not used [-Wunused-value] # define BIO_flush(b) (int)BIO_ctrl(b,BIO_CTRL_FLUSH,0,NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PKCS10.xs:270:2: note: in expansion of macro 'BIO_flush' BIO_flush(bio); ^~~~~~~~~ PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_new': PKCS10.xs:348:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'SV *' {aka 'struct sv *'} [-Wformat=] croak ("%s - can't create PKEY", class); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ PKCS10.xs:351:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'SV *' {aka 'struct sv *'} [-Wformat=] croak ("%s - can't create req", class); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ 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/local/include/openssl/e_os2.h:13, from /usr/local/include/openssl/asn1.h:14, from PKCS10.xs:8: /usr/local/include/openssl/rsa.h:234:25: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~ /usr/local/include/openssl/opensslconf.h:133:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /usr/local/include/openssl/rsa.h:234:1: note: in expansion of macro 'DEPRECATEDIN_0_9_8' DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ PKCS10.xs:355:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'SV *' {aka 'struct sv *'} [-Wformat=] croak ("%s - EVP_PKEY_assign_RSA", class); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_new_from_rsa': PKCS10.xs:396:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'SV *' {aka 'struct sv *'} [-Wformat=] croak ("%s - can't create PKEY", class); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ PKCS10.xs:399:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'SV *' {aka 'struct sv *'} [-Wformat=] croak ("%s - can't create req", class); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ PKCS10.xs:403:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'SV *' {aka 'struct sv *'} [-Wformat=] croak ("%s - EVP_PKEY_assign_RSA", class); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_get_pem_pk': PKCS10.xs:558:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'X509_REQ *' {aka 'struct X509_req_st *'} [-Wformat=] croak ("%s - PEM_write_bio_X509_REQ", pkcs10->req); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ In file included from /usr/local/lib/perl5/5.30/mach/CORE/perl.h:5359, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_set_subject': /usr/local/lib/perl5/5.30/mach/CORE/sv.h:1672: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/local/lib/perl5/5.30/mach/CORE/embed.h:726: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/local/lib/perl5/5.30/mach/CORE/sv.h:1666: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/local/lib/perl5/5.30/mach/CORE/perl.h:5320, from PKCS10.xs:2: /usr/local/lib/perl5/5.30/mach/CORE/proto.h:3208: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/local/lib/perl5/5.30/mach/CORE/perl.h:5359, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_ext': /usr/local/lib/perl5/5.30/mach/CORE/sv.h:1672: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/local/lib/perl5/5.30/mach/CORE/embed.h:726: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/local/lib/perl5/5.30/mach/CORE/sv.h:1666: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/local/lib/perl5/5.30/mach/CORE/perl.h:5320, from PKCS10.xs:2: /usr/local/lib/perl5/5.30/mach/CORE/proto.h:3208: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/local/lib/perl5/5.30/mach/CORE/perl.h:5359, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_custom_ext_raw': /usr/local/lib/perl5/5.30/mach/CORE/sv.h:1672: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/local/lib/perl5/5.30/mach/CORE/embed.h:726: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/local/lib/perl5/5.30/mach/CORE/sv.h:1666: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/local/lib/perl5/5.30/mach/CORE/perl.h:5320, from PKCS10.xs:2: /usr/local/lib/perl5/5.30/mach/CORE/proto.h:3208: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/local/lib/perl5/5.30/mach/CORE/perl.h:5359, from PKCS10.xs:2: /usr/local/lib/perl5/5.30/mach/CORE/sv.h:1672: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/local/lib/perl5/5.30/mach/CORE/embed.h:726: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/local/lib/perl5/5.30/mach/CORE/sv.h:1666: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/local/lib/perl5/5.30/mach/CORE/perl.h:5320, from PKCS10.xs:2: /usr/local/lib/perl5/5.30/mach/CORE/proto.h:3208: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/local/include/openssl/evp.h:28, from /usr/local/include/openssl/pem.h:16, from PKCS10.xs:9: /usr/local/include/openssl/objects.h:157: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/local/lib/perl5/5.30/mach/CORE/perl.h:5359, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_custom_ext': /usr/local/lib/perl5/5.30/mach/CORE/sv.h:1672: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/local/lib/perl5/5.30/mach/CORE/embed.h:726: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/local/lib/perl5/5.30/mach/CORE/sv.h:1666: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/local/lib/perl5/5.30/mach/CORE/perl.h:5320, from PKCS10.xs:2: /usr/local/lib/perl5/5.30/mach/CORE/proto.h:3208: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/local/lib/perl5/5.30/mach/CORE/perl.h:5359, from PKCS10.xs:2: /usr/local/lib/perl5/5.30/mach/CORE/sv.h:1672: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/local/lib/perl5/5.30/mach/CORE/embed.h:726: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/local/lib/perl5/5.30/mach/CORE/sv.h:1666: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/local/lib/perl5/5.30/mach/CORE/perl.h:5320, from PKCS10.xs:2: /usr/local/lib/perl5/5.30/mach/CORE/proto.h:3208: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/local/include/openssl/evp.h:28, from /usr/local/include/openssl/pem.h:16, from PKCS10.xs:9: /usr/local/include/openssl/objects.h:157: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/local/lib/perl5/5.30/mach/CORE/perl.h:5359, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_new_from_file': /usr/local/lib/perl5/5.30/mach/CORE/sv.h:1672: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/local/lib/perl5/5.30/mach/CORE/embed.h:726: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/local/lib/perl5/5.30/mach/CORE/sv.h:1666: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/local/lib/perl5/5.30/mach/CORE/perl.h:5320, from PKCS10.xs:2: /usr/local/lib/perl5/5.30/mach/CORE/proto.h:3208: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/local/lib/perl5/5.30/mach/CORE/perlio.h:41, from /usr/local/lib/perl5/5.30/mach/CORE/iperlsys.h:51, from /usr/local/lib/perl5/5.30/mach/CORE/perl.h:3646, from PKCS10.xs:2: /usr/include/stdio.h:205:7: note: expected 'const char * restrict' but argument is of type 'unsigned char *' FILE *fopen(const char * __restrict, const char * __restrict); ^~~~~ --- blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.so --- rm -f blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.so LD_RUN_PATH="/usr/local/lib" cc -shared -L/usr/local/lib/perl5/5.30/mach/CORE -lperl -L/usr/local/lib -fstack-protector-strong PKCS10.o -o blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.so -lcrypto chmod 755 blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.so --- dynamic --- --- linkext --- --- pure_all --- --- manifypods --- Manifying 1 pod document --- all --- -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on package: p5-Crypt-OpenSSL-RSA>=0 - found ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on package: perl5>=5.30.r1<5.31 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for p5-Crypt-OpenSSL-PKCS10-0.16 ===> Generating temporary packing list "/usr/local/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 /construction/security/p5-Crypt-OpenSSL-PKCS10/stage/usr/local/lib/perl5/site_perl/mach/5.30/auto/Crypt/OpenSSL/PKCS10/PKCS10.so Installing /construction/security/p5-Crypt-OpenSSL-PKCS10/stage/usr/local/lib/perl5/site_perl/mach/5.30/Crypt/OpenSSL/PKCS10.pm Installing /construction/security/p5-Crypt-OpenSSL-PKCS10/stage/usr/local/lib/perl5/site_perl/man/man3/Crypt::OpenSSL::PKCS10.3 ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Notice: You have some Perl modules as dependencies but you do not have devel/p5-Module-CoreList installed, the perlcore QA check gets better results when using it, especially with older Perl versions. Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for p5-Crypt-OpenSSL-PKCS10-0.16 file sizes/checksums [4]: . done packing files [4]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 14 FEB 2020 at 13:47:28 UTC Duration: 00:00:28