Build of perl-crypt-openssl-dsa with clang_glibc toolchain

The build took 00h 01m 01s and was SUCCESSFUL.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
1,123 ansic
724 makefile
20 perl
1,867 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: perl-crypt-openssl-dsa 0.15-3 (Thu Apr 13 16:51:02 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Checking if your kit is complete...
# Looks good
# Generating a Unix-style Makefile
# Writing Makefile for Crypt::OpenSSL::DSA
# Writing MYMETA.yml and MYMETA.json
# cp lib/Crypt/OpenSSL/DSA/Signature.pod blib/lib/Crypt/OpenSSL/DSA/Signature.pod
# cp lib/Crypt/OpenSSL/DSA.pm blib/lib/Crypt/OpenSSL/DSA.pm
# Running Mkbootstrap for Crypt::OpenSSL::DSA ()
# chmod 644 "DSA.bs"
# "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -typemap "/usr/share/perl5/core_perl/ExtUtils/typemap" -typemap "typemap" DSA.xs > DSA.xsc && mv DSA.xsc DSA.c
# cc -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DVERSION=\"0.15\" -DXS_VERSION=\"0.15\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DPERL5 DSA.c
# DSA.xs:53:20: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# seedpv = SvPV(seed, seed_len);
# ^~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1659:57: note: expanded from macro 'SvPV_flags'
# ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:583:55: note: expanded from macro 'sv_2pv_flags'
# #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2845:73: note: passing argument to parameter 'lp' here
# PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
# ^
# DSA.xs:55:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# dsa = DSA_generate_parameters(bits, seedpv, seed_len, NULL, NULL, NULL, NULL);
# ^~~~~~
# /usr/include/openssl/dsa.h:227:45: note: passing argument to parameter 'seed' here
# unsigned char *seed, int seed_len,
# ^
# DSA.xs:80:19: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# dgst_pv = SvPV(dgst, dgst_len);
# ^~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1659:57: note: expanded from macro 'SvPV_flags'
# ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:583:55: note: expanded from macro 'sv_2pv_flags'
# #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2845:73: note: passing argument to parameter 'lp' here
# PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
# ^
# DSA.xs:101:19: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# dgst_pv = SvPV(dgst, dgst_len);
# ^~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1659:57: note: expanded from macro 'SvPV_flags'
# ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:583:55: note: expanded from macro 'sv_2pv_flags'
# #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2845:73: note: passing argument to parameter 'lp' here
# PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
# ^
# DSA.xs:107:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# RETVAL = newSVpvn(sigret, siglen);
# ^~~~~~
# /usr/lib/perl5/core_perl/CORE/embed.h:407:44: note: expanded from macro 'newSVpvn'
# #define newSVpvn(a,b) Perl_newSVpvn(aTHX_ a,b)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2188:57: note: passing argument to parameter 's' here
# PERL_CALLCONV SV* Perl_newSVpvn(pTHX_ const char *const s, const STRLEN len)
# ^
# DSA.xs:123:19: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# dgst_pv = SvPV(dgst, dgst_len);
# ^~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1659:57: note: expanded from macro 'SvPV_flags'
# ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:583:55: note: expanded from macro 'sv_2pv_flags'
# #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2845:73: note: passing argument to parameter 'lp' here
# PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
# ^
# DSA.xs:124:18: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# sig_pv = SvPV(sigbuf, sig_len);
# ^~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1659:57: note: expanded from macro 'SvPV_flags'
# ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:583:55: note: expanded from macro 'sv_2pv_flags'
# #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2845:73: note: passing argument to parameter 'lp' here
# PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
# ^
# DSA.xs:125:32: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# RETVAL = DSA_verify(0, dgst_pv, dgst_len, sig_pv, sig_len, dsa);
# ^~~~~~~
# /usr/include/openssl/dsa.h:213:47: note: passing argument to parameter 'dgst' here
# int DSA_verify(int type, const unsigned char *dgst, int dgst_len,
# ^
# DSA.xs:125:51: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# RETVAL = DSA_verify(0, dgst_pv, dgst_len, sig_pv, sig_len, dsa);
# ^~~~~~
# /usr/include/openssl/dsa.h:214:37: note: passing argument to parameter 'sigbuf' here
# const unsigned char *sigbuf, int siglen, DSA *dsa);
# ^
# DSA.xs:140:19: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# dgst_pv = SvPV(dgst, dgst_len);
# ^~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1659:57: note: expanded from macro 'SvPV_flags'
# ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:583:55: note: expanded from macro 'sv_2pv_flags'
# #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2845:73: note: passing argument to parameter 'lp' here
# PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
# ^
# DSA.xs:141:32: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# RETVAL = DSA_do_verify(dgst_pv, dgst_len, sig, dsa);
# ^~~~~~~
# /usr/include/openssl/dsa.h:194:40: note: passing argument to parameter 'dgst' here
# int DSA_do_verify(const unsigned char *dgst, int dgst_len,
# ^
# DSA.xs:187:22: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# key_string = SvPV( key_string_SV, key_string_length );
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1659:57: note: expanded from macro 'SvPV_flags'
# ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
# ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/embed.h:583:55: note: expanded from macro 'sv_2pv_flags'
# #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2845:73: note: passing argument to parameter 'lp' here
# PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
# ^
# DSA.xs:264:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# len = BN_bn2bin(dsa->p, to);
# ^~
# /usr/include/openssl/bn.h:443:47: note: passing argument to parameter 'to' here
# int BN_bn2bin(const BIGNUM *a, unsigned char *to);
# ^
# DSA.xs:278:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# len = BN_bn2bin(dsa->q, to);
# ^~
# /usr/include/openssl/bn.h:443:47: note: passing argument to parameter 'to' here
# int BN_bn2bin(const BIGNUM *a, unsigned char *to);
# ^
# DSA.xs:292:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# len = BN_bn2bin(dsa->g, to);
# ^~
# /usr/include/openssl/bn.h:443:47: note: passing argument to parameter 'to' here
# int BN_bn2bin(const BIGNUM *a, unsigned char *to);
# ^
# DSA.xs:306:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# len = BN_bn2bin(dsa->pub_key, to);
# ^~
# /usr/include/openssl/bn.h:443:47: note: passing argument to parameter 'to' here
# int BN_bn2bin(const BIGNUM *a, unsigned char *to);
# ^
# DSA.xs:320:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# len = BN_bn2bin(dsa->priv_key, to);
# ^~
# /usr/include/openssl/bn.h:443:47: note: passing argument to parameter 'to' here
# int BN_bn2bin(const BIGNUM *a, unsigned char *to);
# ^
# DSA.xs:334:28: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# dsa->p = BN_bin2bn(SvPV(p_SV, len), len, NULL);
# ^~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1659:57: note: expanded from macro 'SvPV_flags'
# ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:583:55: note: expanded from macro 'sv_2pv_flags'
# #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2845:73: note: passing argument to parameter 'lp' here
# PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
# ^
# DSA.xs:334:28: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# dsa->p = BN_bin2bn(SvPV(p_SV, len), len, NULL);
# ^~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1658:5: note: expanded from macro 'SvPV_flags'
# (SvPOK_nog(sv) \
# ^~~~~~~~~~~~~~~~
# /usr/include/openssl/bn.h:442:40: note: passing argument to parameter 's' here
# BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
# ^
# DSA.xs:344:28: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# dsa->q = BN_bin2bn(SvPV(q_SV, len), len, NULL);
# ^~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1659:57: note: expanded from macro 'SvPV_flags'
# ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:583:55: note: expanded from macro 'sv_2pv_flags'
# #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2845:73: note: passing argument to parameter 'lp' here
# PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
# ^
# DSA.xs:344:28: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# dsa->q = BN_bin2bn(SvPV(q_SV, len), len, NULL);
# ^~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1658:5: note: expanded from macro 'SvPV_flags'
# (SvPOK_nog(sv) \
# ^~~~~~~~~~~~~~~~
# /usr/include/openssl/bn.h:442:40: note: passing argument to parameter 's' here
# BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
# ^
# DSA.xs:354:28: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# dsa->g = BN_bin2bn(SvPV(g_SV, len), len, NULL);
# ^~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1659:57: note: expanded from macro 'SvPV_flags'
# ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:583:55: note: expanded from macro 'sv_2pv_flags'
# #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2845:73: note: passing argument to parameter 'lp' here
# PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
# ^
# DSA.xs:354:28: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# dsa->g = BN_bin2bn(SvPV(g_SV, len), len, NULL);
# ^~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1658:5: note: expanded from macro 'SvPV_flags'
# (SvPOK_nog(sv) \
# ^~~~~~~~~~~~~~~~
# /usr/include/openssl/bn.h:442:40: note: passing argument to parameter 's' here
# BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
# ^
# DSA.xs:364:34: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# dsa->pub_key = BN_bin2bn(SvPV(pub_key_SV, len), len, NULL);
# ^~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1659:57: note: expanded from macro 'SvPV_flags'
# ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
# ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/embed.h:583:55: note: expanded from macro 'sv_2pv_flags'
# #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2845:73: note: passing argument to parameter 'lp' here
# PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
# ^
# DSA.xs:364:34: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# dsa->pub_key = BN_bin2bn(SvPV(pub_key_SV, len), len, NULL);
# ^~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1658:5: note: expanded from macro 'SvPV_flags'
# (SvPOK_nog(sv) \
# ^~~~~~~~~~~~~~~~
# /usr/include/openssl/bn.h:442:40: note: passing argument to parameter 's' here
# BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
# ^
# DSA.xs:374:35: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# dsa->priv_key = BN_bin2bn(SvPV(priv_key_SV, len), len, NULL);
# ^~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1659:57: note: expanded from macro 'SvPV_flags'
# ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
# ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/embed.h:583:55: note: expanded from macro 'sv_2pv_flags'
# #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2845:73: note: passing argument to parameter 'lp' here
# PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
# ^
# DSA.xs:374:35: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# dsa->priv_key = BN_bin2bn(SvPV(priv_key_SV, len), len, NULL);
# ^~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1658:5: note: expanded from macro 'SvPV_flags'
# (SvPOK_nog(sv) \
# ^~~~~~~~~~~~~~~~
# /usr/include/openssl/bn.h:442:40: note: passing argument to parameter 's' here
# BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
# ^
# DSA.xs:400:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# len = BN_bn2bin(dsa_sig->r, to);
# ^~
# /usr/include/openssl/bn.h:443:47: note: passing argument to parameter 'to' here
# int BN_bn2bin(const BIGNUM *a, unsigned char *to);
# ^
# DSA.xs:414:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# len = BN_bn2bin(dsa_sig->s, to);
# ^~
# /usr/include/openssl/bn.h:443:47: note: passing argument to parameter 'to' here
# int BN_bn2bin(const BIGNUM *a, unsigned char *to);
# ^
# DSA.xs:428:32: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# dsa_sig->r = BN_bin2bn(SvPV(r_SV, len), len, NULL);
# ^~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1659:57: note: expanded from macro 'SvPV_flags'
# ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:583:55: note: expanded from macro 'sv_2pv_flags'
# #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2845:73: note: passing argument to parameter 'lp' here
# PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
# ^
# DSA.xs:428:32: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# dsa_sig->r = BN_bin2bn(SvPV(r_SV, len), len, NULL);
# ^~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1658:5: note: expanded from macro 'SvPV_flags'
# (SvPOK_nog(sv) \
# ^~~~~~~~~~~~~~~~
# /usr/include/openssl/bn.h:442:40: note: passing argument to parameter 's' here
# BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
# ^
# DSA.xs:438:32: warning: incompatible pointer types passing 'int *' to parameter of type 'STRLEN *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
# dsa_sig->s = BN_bin2bn(SvPV(s_SV, len), len, NULL);
# ^~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1659:57: note: expanded from macro 'SvPV_flags'
# ? ((lp = SvCUR(sv)), SvPVX(sv)) : sv_2pv_flags(sv, &lp, flags))
# ^~~
# /usr/lib/perl5/core_perl/CORE/embed.h:583:55: note: expanded from macro 'sv_2pv_flags'
# #define sv_2pv_flags(a,b,c) Perl_sv_2pv_flags(aTHX_ a,b,c)
# ^
# /usr/lib/perl5/core_perl/CORE/proto.h:2845:73: note: passing argument to parameter 'lp' here
# PERL_CALLCONV char* Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags);
# ^
# DSA.xs:438:32: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# dsa_sig->s = BN_bin2bn(SvPV(s_SV, len), len, NULL);
# ^~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1653:30: note: expanded from macro 'SvPV'
# #define SvPV(sv, lp) SvPV_flags(sv, lp, SV_GMAGIC)
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /usr/lib/perl5/core_perl/CORE/sv.h:1658:5: note: expanded from macro 'SvPV_flags'
# (SvPOK_nog(sv) \
# ^~~~~~~~~~~~~~~~
# /usr/include/openssl/bn.h:442:40: note: passing argument to parameter 's' here
# BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
# ^
# 33 warnings generated.
# rm -f blib/arch/auto/Crypt/OpenSSL/DSA/DSA.so
# LD_RUN_PATH="/usr/lib" cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector-strong DSA.o -o blib/arch/auto/Crypt/OpenSSL/DSA/DSA.so \
# -lcrypto \
#
# chmod 755 blib/arch/auto/Crypt/OpenSSL/DSA/DSA.so
# "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- DSA.bs blib/arch/auto/Crypt/OpenSSL/DSA/DSA.bs 644
# Manifying 2 pod documents
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Running Mkbootstrap for Crypt::OpenSSL::DSA ()
# chmod 644 "DSA.bs"
# Manifying 2 pod documents
# Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
# Installing /tmp/perl-crypt-openssl-dsa/pkg/perl-crypt-openssl-dsa/usr/lib/perl5/vendor_perl/auto/Crypt/OpenSSL/DSA/DSA.so
# Installing /tmp/perl-crypt-openssl-dsa/pkg/perl-crypt-openssl-dsa/usr/lib/perl5/vendor_perl/Crypt/OpenSSL/DSA.pm
# Installing /tmp/perl-crypt-openssl-dsa/pkg/perl-crypt-openssl-dsa/usr/lib/perl5/vendor_perl/Crypt/OpenSSL/DSA/Signature.pod
# Installing /tmp/perl-crypt-openssl-dsa/pkg/perl-crypt-openssl-dsa/usr/share/man/man3/Crypt::OpenSSL::DSA.3pm
# Installing /tmp/perl-crypt-openssl-dsa/pkg/perl-crypt-openssl-dsa/usr/share/man/man3/Crypt::OpenSSL::DSA::Signature.3pm
# Appending installation info to /tmp/perl-crypt-openssl-dsa/pkg/perl-crypt-openssl-dsa/usr/lib/perl5/core_perl/perllocal.pod
# ==> Tidying install...
# -> Removing doc files...
# -> Removing empty directories...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "perl-crypt-openssl-dsa"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: perl-crypt-openssl-dsa 0.15-3 (Thu Apr 13 16:51:04 UTC 2017)

CMD: pacman --query --file perl-crypt-openssl-dsa-0.15-3-x86_64.pkg.tar.xz
# perl-crypt-openssl-dsa 0.15-3

Creating hybrid package for 'perl-crypt-openssl-dsa'

Trying to find vanilla package 'perl-crypt-openssl-dsa'...

CMD: pacman --query --file /mirror/perl-crypt-openssl-dsa-0.15-3.pkg.tar.xz
# perl-crypt-openssl-dsa 0.15-3

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/share/man/man3/Crypt::OpenSSL::DSA::Signature.3pm.gz
# /usr/share/man/man3/Crypt::OpenSSL::DSA.3pm.gz
# /usr/lib/perl5/vendor_perl/Crypt/OpenSSL/DSA.pm
# /usr/lib/perl5/vendor_perl/auto/Crypt/OpenSSL/DSA/DSA.so
# /sysroot/usr/lib/perl5/vendor_perl/Crypt/OpenSSL/DSA.pm
# /sysroot/usr/lib/perl5/vendor_perl/auto/Crypt/OpenSSL/DSA/DSA.so

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf perl-crypt-openssl-dsa.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/perl-crypt-openssl-dsa.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/perl-crypt-openssl-dsa.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/perl-crypt-openssl-dsa.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'