=> Building security/p5-Crypt-OpenSSL-PKCS10 Started : Saturday, 9 MAR 2019 at 08:35:35 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-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.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.28.1 PERL_VER=5.28 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.28 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=Release-BE 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=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License ART10 accepted by the user -------------------------------------------------------------------------------- -- 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.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... 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 -------------------------------------------------------------------------------- ===> License ART10 accepted by the user ===> Fetching all distfiles required by p5-Crypt-OpenSSL-PKCS10-0.16 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License ART10 accepted by the user ===> 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 -------------------------------------------------------------------------------- ===> License ART10 accepted by the user ===> 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 libressl-2.8.3... `-- Extracting libressl-2.8.3: .......... done `-- Installing p5-Crypt-OpenSSL-Bignum-0.09... | `-- Installing perl5-5.28.1... | `-- Extracting perl5-5.28.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.28.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.44 - found ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on package: perl5>=5.28.r1<5.29 - found ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on file: /usr/local/lib/libcrypto.so.44 - found ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on package: perl5>=5.28.r1<5.29 - 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 --- "/usr/local/bin/perl" "/usr/local/lib/perl5/5.28/ExtUtils/xsubpp" -typemap '/usr/local/lib/perl5/5.28/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 () --- pm_to_blib --- --- PKCS10.bs --- 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 --- blibdirs --- --- pm_to_blib --- cp PKCS10.pm blib/lib/Crypt/OpenSSL/PKCS10.pm --- 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.28/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.28/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:71, from PKCS10.xs:9: /usr/local/include/openssl/x509.h:1125: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:127, from /usr/local/include/openssl/bio.h:69, from /usr/local/include/openssl/asn1.h:67, from PKCS10.xs:8: PKCS10.xs: At top level: /usr/local/include/openssl/safestack.h:84:31: 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:84:31: note: in definition of macro 'STACK_OF' #define STACK_OF(type) struct stack_st_##type ^~~~~~~~~ PKCS10.xs: In function 'add_ext': /usr/local/include/openssl/safestack.h:72:23: warning: pointer type mismatch in conditional expression ((_STACK*) (1 ? p : (STACK_OF(type)*)0)) ^ /usr/local/include/openssl/safestack.h:152:10: note: in expansion of macro 'CHECKED_STACK_OF' sk_push(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val)) ^~~~~~~~~~~~~~~~ /usr/local/include/openssl/safestack.h:1824:41: note: in expansion of macro 'SKM_sk_push' #define sk_X509_EXTENSION_push(st, val) SKM_sk_push(X509_EXTENSION, (st), (val)) ^~~~~~~~~~~ PKCS10.xs:190:2: note: in expansion of macro 'sk_X509_EXTENSION_push' sk_X509_EXTENSION_push(sk, ex); ^~~~~~~~~~~~~~~~~~~~~~ PKCS10.xs: At top level: /usr/local/include/openssl/safestack.h:84:31: 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:84:31: note: in definition of macro 'STACK_OF' #define STACK_OF(type) struct stack_st_##type ^~~~~~~~~ PKCS10.xs: In function 'add_ext_raw': /usr/local/include/openssl/safestack.h:72:23: warning: pointer type mismatch in conditional expression ((_STACK*) (1 ? p : (STACK_OF(type)*)0)) ^ /usr/local/include/openssl/safestack.h:152:10: note: in expansion of macro 'CHECKED_STACK_OF' sk_push(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val)) ^~~~~~~~~~~~~~~~ /usr/local/include/openssl/safestack.h:1824:41: note: in expansion of macro 'SKM_sk_push' #define sk_X509_EXTENSION_push(st, val) SKM_sk_push(X509_EXTENSION, (st), (val)) ^~~~~~~~~~~ PKCS10.xs:208:2: note: in expansion of macro 'sk_X509_EXTENSION_push' sk_X509_EXTENSION_push(sk, ex); ^~~~~~~~~~~~~~~~~~~~~~ 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:67, from PKCS10.xs:8: PKCS10.xs: In function 'sv_bio_final': /usr/local/include/openssl/bio.h:539:23: 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: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.28/mach/CORE/perl.h:5310, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_set_subject': /usr/local/lib/perl5/5.28/mach/CORE/sv.h:1676: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.28/mach/CORE/embed.h:721: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.28/mach/CORE/sv.h:1670: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.28/mach/CORE/perl.h:5271, from PKCS10.xs:2: /usr/local/lib/perl5/5.28/mach/CORE/proto.h:3152: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.28/mach/CORE/perl.h:5310, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_ext': /usr/local/lib/perl5/5.28/mach/CORE/sv.h:1676: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.28/mach/CORE/embed.h:721: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.28/mach/CORE/sv.h:1670: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.28/mach/CORE/perl.h:5271, from PKCS10.xs:2: /usr/local/lib/perl5/5.28/mach/CORE/proto.h:3152: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.28/mach/CORE/perl.h:5310, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_custom_ext_raw': /usr/local/lib/perl5/5.28/mach/CORE/sv.h:1676: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.28/mach/CORE/embed.h:721: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.28/mach/CORE/sv.h:1670: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.28/mach/CORE/perl.h:5271, from PKCS10.xs:2: /usr/local/lib/perl5/5.28/mach/CORE/proto.h:3152: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.28/mach/CORE/perl.h:5310, from PKCS10.xs:2: /usr/local/lib/perl5/5.28/mach/CORE/sv.h:1676: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.28/mach/CORE/embed.h:721: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.28/mach/CORE/sv.h:1670: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.28/mach/CORE/perl.h:5271, from PKCS10.xs:2: /usr/local/lib/perl5/5.28/mach/CORE/proto.h:3152: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:86, from /usr/local/include/openssl/pem.h:70, from PKCS10.xs:9: /usr/local/include/openssl/objects.h:1104:6: 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.28/mach/CORE/perl.h:5310, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_custom_ext': /usr/local/lib/perl5/5.28/mach/CORE/sv.h:1676: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.28/mach/CORE/embed.h:721: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.28/mach/CORE/sv.h:1670: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.28/mach/CORE/perl.h:5271, from PKCS10.xs:2: /usr/local/lib/perl5/5.28/mach/CORE/proto.h:3152: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.28/mach/CORE/perl.h:5310, from PKCS10.xs:2: /usr/local/lib/perl5/5.28/mach/CORE/sv.h:1676: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.28/mach/CORE/embed.h:721: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.28/mach/CORE/sv.h:1670: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.28/mach/CORE/perl.h:5271, from PKCS10.xs:2: /usr/local/lib/perl5/5.28/mach/CORE/proto.h:3152: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:86, from /usr/local/include/openssl/pem.h:70, from PKCS10.xs:9: /usr/local/include/openssl/objects.h:1104:6: 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.28/mach/CORE/perl.h:5310, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_new_from_file': /usr/local/lib/perl5/5.28/mach/CORE/sv.h:1676: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.28/mach/CORE/embed.h:721: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.28/mach/CORE/sv.h:1670: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.28/mach/CORE/perl.h:5271, from PKCS10.xs:2: /usr/local/lib/perl5/5.28/mach/CORE/proto.h:3152: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.28/mach/CORE/perlio.h:41, from /usr/local/lib/perl5/5.28/mach/CORE/iperlsys.h:51, from /usr/local/lib/perl5/5.28/mach/CORE/perl.h:3603, from PKCS10.xs:2: /usr/include/stdio.h:198: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.28/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.44 - found ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on package: perl5>=5.28.r1<5.29 - 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.28/auto/Crypt/OpenSSL/PKCS10/PKCS10.so Installing /construction/security/p5-Crypt-OpenSSL-PKCS10/stage/usr/local/lib/perl5/site_perl/mach/5.28/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) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for p5-Crypt-OpenSSL-PKCS10-0.16 file sizes/checksums [7]: . done packing files [7]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 9 MAR 2019 at 08:35:44 UTC Duration: 00:00:09