=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for p5-sqlrelay-1.8.0nb5 /usr/pkg/bin/perl /usr/pkg/lib/perl5/5.36.0/ExtUtils/xsubpp -C++ -typemap /usr/pkg/lib/perl5/5.36.0/ExtUtils/typemap -typemap perlobject.map -typemap typemap Connection.xs > Connection.xsc Please specify prototyping behavior for Connection.xs (see perlxs manual) mv Connection.xsc Connection.cpp /bin/sh ../../../libtool --mode=compile c++ -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -Wall -pipe -Wno-error=date-time -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -I../../.. -I../../../src/api/c++ -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE -c Connection.cpp -o Connection.lo libtool: compile: c++ -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/tmp/databases/p5-sqlrelay/work/.buildlink/include -I/usr/include/krb5 -Wall -pipe -Wno-error=date-time -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -fwrapv -fno-strict-aliasing -pipe -I../../.. -I../../../src/api/c++ -I/tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE -c Connection.cpp -fPIC -DPIC -o .libs/Connection.o Connection.c: In function 'void XS_SQLRelay__Connection_isYes(PerlInterpreter*, CV*)': Connection.c:1420:9: warning: unused variable 'CLASS' [-Wunused-variable] Connection.c: In function 'void XS_SQLRelay__Connection_isNo(PerlInterpreter*, CV*)': Connection.c:1442:9: warning: unused variable 'CLASS' [-Wunused-variable] libtool: compile: c++ -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/tmp/databases/p5-sqlrelay/work/.buildlink/include -I/usr/include/krb5 -Wall -pipe -Wno-error=date-time -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -fwrapv -fno-strict-aliasing -pipe -I../../.. -I../../../src/api/c++ -I/tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE -c Connection.cpp -o Connection.o >/dev/null 2>&1 /bin/sh ../../../libtool --mode=link c++ -o Connection.la Connection.lo -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE /usr/pkg/lib/perl5/5.36.0 -lperl -L../../../src/api/c++ -lsqlrclient -L/usr/pkg/lib -lrudiments -lpthread -lssl -lcrypto -lgssapi -lkrb5 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpcre -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -lcurl -lcrypt -rpath /usr/pkg/lib/perl5/vendor_perl/5.36.0/x86_64-netbsd-thread-multi/auto/SQLRelay/Connection -rpath /usr/pkg/libexec/sqlrelay -avoid-version -module -no-undefined libtool: warning: ignoring multiple '-rpath's for a libtool library *** Warning: linker path does not have real file for library -lperl. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libperl but no candidates were found. (...for regex pattern test) *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module Connection. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag. libtool: link: ar cru .libs/Connection.a Connection.o libtool: link: ranlib .libs/Connection.a libtool: link: ( cd ".libs" && rm -f "Connection.la" && ln -s "../Connection.la" "Connection.la" ) /usr/pkg/bin/perl /usr/pkg/lib/perl5/5.36.0/ExtUtils/xsubpp -C++ -typemap /usr/pkg/lib/perl5/5.36.0/ExtUtils/typemap -typemap perlobject.map -typemap typemap Cursor.xs > Cursor.xsc Please specify prototyping behavior for Cursor.xs (see perlxs manual) mv Cursor.xsc Cursor.cpp /bin/sh ../../../libtool --mode=compile c++ -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -Wall -pipe -Wno-error=date-time -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -I../../.. -I../../../src/api/c++ -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE -c Cursor.cpp -o Cursor.lo libtool: compile: c++ -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/tmp/databases/p5-sqlrelay/work/.buildlink/include -I/usr/include/krb5 -Wall -pipe -Wno-error=date-time -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -fwrapv -fno-strict-aliasing -pipe -I../../.. -I../../../src/api/c++ -I/tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE -c Cursor.cpp -fPIC -DPIC -o .libs/Cursor.o Cursor.c: In function 'void XS_SQLRelay__Cursor_getOutputBindString(PerlInterpreter*, CV*)': Cursor.c:1349:15: warning: unused variable 'RETVAL' [-Wunused-variable] In file included from Cursor.xs:42:0: /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: warning: unused variable 'targ' [-Wunused-variable] #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^ /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: note: in definition of macro 'dXSTARG' #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^~~~ Cursor.c: In function 'void XS_SQLRelay__Cursor_getOutputBindBlob(PerlInterpreter*, CV*)': Cursor.c:1384:15: warning: unused variable 'RETVAL' [-Wunused-variable] In file included from Cursor.xs:42:0: /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: warning: unused variable 'targ' [-Wunused-variable] #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^ /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: note: in definition of macro 'dXSTARG' #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^~~~ Cursor.c: In function 'void XS_SQLRelay__Cursor_getOutputBindClob(PerlInterpreter*, CV*)': Cursor.c:1419:15: warning: unused variable 'RETVAL' [-Wunused-variable] In file included from Cursor.xs:42:0: /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: warning: unused variable 'targ' [-Wunused-variable] #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^ /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: note: in definition of macro 'dXSTARG' #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^~~~ Cursor.c: In function 'void XS_SQLRelay__Cursor_getOutputBindInteger(PerlInterpreter*, CV*)': Cursor.c:1454:10: warning: unused variable 'RETVAL' [-Wunused-variable] In file included from Cursor.xs:42:0: /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: warning: unused variable 'targ' [-Wunused-variable] #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^ /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: note: in definition of macro 'dXSTARG' #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^~~~ Cursor.c: In function 'void XS_SQLRelay__Cursor_getOutputBindDouble(PerlInterpreter*, CV*)': Cursor.c:1484:9: warning: unused variable 'RETVAL' [-Wunused-variable] In file included from Cursor.xs:42:0: /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: warning: unused variable 'targ' [-Wunused-variable] #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^ /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: note: in definition of macro 'dXSTARG' #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^~~~ Cursor.xs: In function 'void XS_SQLRelay__Cursor_getOutputBindCursor(PerlInterpreter*, CV*)': Cursor.xs:386:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char * CLASS = "SQLRelay::Cursor"; ^~~~~~~~~~~~~~~~~~ Cursor.c: In function 'void XS_SQLRelay__Cursor_getField(PerlInterpreter*, CV*)': Cursor.c:1906:15: warning: unused variable 'RETVAL' [-Wunused-variable] In file included from Cursor.xs:42:0: /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: warning: unused variable 'targ' [-Wunused-variable] #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^ /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: note: in definition of macro 'dXSTARG' #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^~~~ Cursor.c: In function 'void XS_SQLRelay__Cursor_getFieldAsInteger(PerlInterpreter*, CV*)': Cursor.c:1950:10: warning: unused variable 'RETVAL' [-Wunused-variable] In file included from Cursor.xs:42:0: /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: warning: unused variable 'targ' [-Wunused-variable] #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^ /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: note: in definition of macro 'dXSTARG' #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^~~~ Cursor.c: In function 'void XS_SQLRelay__Cursor_getFieldAsDouble(PerlInterpreter*, CV*)': Cursor.c:1988:9: warning: unused variable 'RETVAL' [-Wunused-variable] In file included from Cursor.xs:42:0: /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: warning: unused variable 'targ' [-Wunused-variable] #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^ /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: note: in definition of macro 'dXSTARG' #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^~~~ Cursor.c: In function 'void XS_SQLRelay__Cursor_getColumnNames(PerlInterpreter*, CV*)': Cursor.c:2063:23: warning: unused variable 'RETVAL' [-Wunused-variable] Cursor.c: In function 'void XS_SQLRelay__Cursor_getColumnIsAutoIncrement(PerlInterpreter*, CV*)': Cursor.c:2496:7: warning: variable 'RETVAL' set but not used [-Wunused-but-set-variable] In file included from Cursor.xs:42:0: /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: warning: unused variable 'targ' [-Wunused-variable] #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^ /tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE/XSUB.h:189:28: note: in definition of macro 'dXSTARG' #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^~~~ libtool: compile: c++ -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/tmp/databases/p5-sqlrelay/work/.buildlink/include -I/usr/include/krb5 -Wall -pipe -Wno-error=date-time -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -O2 -fPIC -D_FORTIFY_SOURCE=2 -pthread -fwrapv -fno-strict-aliasing -pipe -I../../.. -I../../../src/api/c++ -I/tmp/databases/p5-sqlrelay/work/.buildlink/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE -c Cursor.cpp -o Cursor.o >/dev/null 2>&1 /bin/sh ../../../libtool --mode=link c++ -o Cursor.la Cursor.lo -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/CORE /usr/pkg/lib/perl5/5.36.0 -lperl -L../../../src/api/c++ -lsqlrclient -L/usr/pkg/lib -lrudiments -lpthread -lssl -lcrypto -lgssapi -lkrb5 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpcre -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -lcurl -lcrypt -rpath /usr/pkg/lib/perl5/vendor_perl/5.36.0/x86_64-netbsd-thread-multi/auto/SQLRelay/Cursor -rpath /usr/pkg/libexec/sqlrelay -avoid-version -module -no-undefined libtool: warning: ignoring multiple '-rpath's for a libtool library *** Warning: linker path does not have real file for library -lperl. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libperl but no candidates were found. (...for regex pattern test) *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module Cursor. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag. libtool: link: ar cru .libs/Cursor.a Cursor.o libtool: link: ranlib .libs/Cursor.a libtool: link: ( cd ".libs" && rm -f "Cursor.la" && ln -s "../Cursor.la" "Cursor.la" )