=> Building security/p5-Crypt-OpenSSL-PKCS10 Started : Thursday, 19 APR 2018 at 06:45:29 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-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=gcc50 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=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" 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 -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.26.1 PERL_VER=5.26 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.26 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-5.0 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 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- 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.txz Installing pkg-1.10.5... Extracting pkg-1.10.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.28_2.txz Installing p5-Crypt-OpenSSL-RSA-0.28_2... `-- Installing libressl-2.6.4... `-- Extracting libressl-2.6.4: .......... done `-- Installing p5-Crypt-OpenSSL-Bignum-0.09... | `-- Installing perl5-5.26.1... | `-- Extracting perl5-5.26.1: .......... done `-- Extracting p5-Crypt-OpenSSL-Bignum-0.09: .......... done `-- Installing p5-Crypt-OpenSSL-Random-0.11... `-- Extracting p5-Crypt-OpenSSL-Random-0.11: ........ done Extracting p5-Crypt-OpenSSL-RSA-0.28_2: .......... done Message from perl5-5.26.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.42 - found ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on package: perl5>=5.26<5.27 - 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/perl5.26.1" "/usr/local/lib/perl5/5.26/ExtUtils/xsubpp" -typemap '/usr/local/lib/perl5/5.26/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" --- pm_to_blib --- --- blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.bs --- "/usr/local/bin/perl5.26.1" -MExtUtils::Command::MM -e 'cp_nonempty' -- PKCS10.bs blib/arch/auto/Crypt/OpenSSL/PKCS10/PKCS10.bs 644 --- blibdirs --- --- config --- --- pm_to_blib --- cp PKCS10.pm blib/lib/Crypt/OpenSSL/PKCS10.pm --- 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.26/mach/CORE" -DPERL5 -Wall PKCS10.c In file included from PKCS10.xs:13:0: ppport.h:230:0: warning: "PERL_UNUSED_DECL" redefined # define PERL_UNUSED_DECL ^ In file included from PKCS10.xs:2:0: /usr/local/lib/perl5/5.26/mach/CORE/perl.h:323:0: 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:0, from PKCS10.xs:9: /usr/local/include/openssl/x509.h:1092: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:0, 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 #define STACK_OF(type) struct stack_st_##type ^ PKCS10.xs:182:13: note: in expansion of macro 'STACK_OF' int add_ext(STACK_OF(X509_REQUEST) *sk, X509_REQ *req, int nid, char *value) ^ /usr/local/include/openssl/safestack.h:84:31: warning: its scope is only this definition or declaration, which is probably not what you want #define STACK_OF(type) struct stack_st_##type ^ PKCS10.xs:182:13: note: in expansion of macro 'STACK_OF' int add_ext(STACK_OF(X509_REQUEST) *sk, X509_REQ *req, int nid, char *value) ^ 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 #define STACK_OF(type) struct stack_st_##type ^ PKCS10.xs:197:17: note: in expansion of macro 'STACK_OF' int add_ext_raw(STACK_OF(X509_REQUEST) *sk, int nid, unsigned char *value, int length) ^ 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); ^ In file included from /usr/local/include/openssl/asn1.h:67:0, from PKCS10.xs:8: PKCS10.xs: In function 'sv_bio_final': /usr/local/include/openssl/bio.h:511: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_get_pem_pubkey': PKCS10.xs:452:33: warning: implicit declaration of function 'EVP_PKEY_get0_RSA' [-Wimplicit-function-declaration] # PEM_write_bio_RSAPublicKey(bio, EVP_PKEY_get0_RSA(pkey)); ^ PKCS10.xs:452:33: warning: passing argument 2 of 'PEM_write_bio_RSA_PUBKEY' makes pointer from integer without a cast [-Wint-conversion] In file included from PKCS10.xs:9:0: /usr/local/include/openssl/pem.h:333:6: note: expected 'RSA * {aka struct rsa_st *}' but argument is of type 'int' int PEM_write_bio_##name(BIO *bp, type *x); ^ /usr/local/include/openssl/pem.h:352:2: note: in expansion of macro 'DECLARE_PEM_write_bio' DECLARE_PEM_write_bio(name, type) \ ^ /usr/local/include/openssl/pem.h:369:2: note: in expansion of macro 'DECLARE_PEM_write' DECLARE_PEM_write(name, type) ^ /usr/local/include/openssl/pem.h:458:1: note: in expansion of macro 'DECLARE_PEM_rw' DECLARE_PEM_rw(RSA_PUBKEY, RSA) ^ PKCS10.xs:456:33: warning: implicit declaration of function 'EVP_PKEY_get0_DSA' [-Wimplicit-function-declaration] PKCS10.xs:456:33: warning: passing argument 2 of 'PEM_write_bio_DSA_PUBKEY' makes pointer from integer without a cast [-Wint-conversion] In file included from PKCS10.xs:9:0: /usr/local/include/openssl/pem.h:333:6: note: expected 'DSA * {aka struct dsa_st *}' but argument is of type 'int' int PEM_write_bio_##name(BIO *bp, type *x); ^ /usr/local/include/openssl/pem.h:352:2: note: in expansion of macro 'DECLARE_PEM_write_bio' DECLARE_PEM_write_bio(name, type) \ ^ /usr/local/include/openssl/pem.h:369:2: note: in expansion of macro 'DECLARE_PEM_write' DECLARE_PEM_write(name, type) ^ /usr/local/include/openssl/pem.h:466:1: note: in expansion of macro 'DECLARE_PEM_rw' DECLARE_PEM_rw(DSA_PUBKEY, DSA) ^ PKCS10.xs:459:32: warning: implicit declaration of function 'EVP_PKEY_get0_EC_KEY' [-Wimplicit-function-declaration] } else if ( type == EVP_PKEY_EC ) { ^ PKCS10.xs:459:32: warning: passing argument 2 of 'PEM_write_bio_EC_PUBKEY' makes pointer from integer without a cast [-Wint-conversion] In file included from PKCS10.xs:9:0: /usr/local/include/openssl/pem.h:333:6: note: expected 'EC_KEY * {aka struct ec_key_st *}' but argument is of type 'int' int PEM_write_bio_##name(BIO *bp, type *x); ^ /usr/local/include/openssl/pem.h:352:2: note: in expansion of macro 'DECLARE_PEM_write_bio' DECLARE_PEM_write_bio(name, type) \ ^ /usr/local/include/openssl/pem.h:369:2: note: in expansion of macro 'DECLARE_PEM_write' DECLARE_PEM_write(name, type) ^ /usr/local/include/openssl/pem.h:475:1: note: in expansion of macro 'DECLARE_PEM_rw' DECLARE_PEM_rw(EC_PUBKEY, EC_KEY) ^ In file included from /usr/local/lib/perl5/5.26/mach/CORE/perl.h:5644:0, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_set_subject': /usr/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/CORE/perl.h:5609:0, from PKCS10.xs:2: /usr/local/lib/perl5/5.26/mach/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 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.26/mach/CORE/perl.h:5644:0, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_ext': /usr/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/CORE/perl.h:5609:0, from PKCS10.xs:2: /usr/local/lib/perl5/5.26/mach/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 differ in signedness [-Wpointer-sign] ext = SvPV(ext_SV, ext_length); ^ PKCS10.xs:601:19: 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:5: 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.26/mach/CORE/perl.h:5644:0, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_custom_ext_raw': /usr/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/CORE/perl.h:5609:0, from PKCS10.xs:2: /usr/local/lib/perl5/5.26/mach/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 differ in signedness [-Wpointer-sign] oid = SvPV(oid_SV, ext_length); ^ In file included from /usr/local/lib/perl5/5.26/mach/CORE/perl.h:5644:0, from PKCS10.xs:2: /usr/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/CORE/perl.h:5609:0, from PKCS10.xs:2: /usr/local/lib/perl5/5.26/mach/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 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:0, 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:23: 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:5: 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.26/mach/CORE/perl.h:5644:0, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_add_custom_ext': /usr/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/CORE/perl.h:5609:0, from PKCS10.xs:2: /usr/local/lib/perl5/5.26/mach/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 differ in signedness [-Wpointer-sign] oid = SvPV(oid_SV, ext_length); ^ In file included from /usr/local/lib/perl5/5.26/mach/CORE/perl.h:5644:0, from PKCS10.xs:2: /usr/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/CORE/perl.h:5609:0, from PKCS10.xs:2: /usr/local/lib/perl5/5.26/mach/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 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:0, 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:19: 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:5: 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 makes integer from pointer without a cast [-Wint-conversion] RETVAL = NULL; ^ In file included from /usr/local/lib/perl5/5.26/mach/CORE/perl.h:5644:0, from PKCS10.xs:2: PKCS10.xs: In function 'XS_Crypt__OpenSSL__PKCS10_new_from_file': /usr/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/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/local/lib/perl5/5.26/mach/CORE/perl.h:5609:0, from PKCS10.xs:2: /usr/local/lib/perl5/5.26/mach/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 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.26/mach/CORE/perlio.h:41:0, from /usr/local/lib/perl5/5.26/mach/CORE/iperlsys.h:51, from /usr/local/lib/perl5/5.26/mach/CORE/perl.h:3880, 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.26/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.42 - found ===> p5-Crypt-OpenSSL-PKCS10-0.16 depends on package: perl5>=5.26<5.27 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for p5-Crypt-OpenSSL-PKCS10-0.16 ===> Generating temporary packing list "/usr/local/bin/perl5.26.1" -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.26/auto/Crypt/OpenSSL/PKCS10/PKCS10.so Installing /construction/security/p5-Crypt-OpenSSL-PKCS10/stage/usr/local/lib/perl5/site_perl/mach/5.26/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: Thursday, 19 APR 2018 at 06:45:38 UTC Duration: 00:00:09