=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for p5-WWW-Curl-4.17nb21 --- blib/lib/WWW/.exists --- --- blib/arch/.exists --- --- blib/lib/auto/WWW/Curl/.exists --- --- blib/arch/auto/WWW/Curl/.exists --- --- blib/bin/.exists --- --- blib/script/.exists --- --- blib/man1/.exists --- --- blib/man3/.exists --- --- config --- --- subdirs --- --- dynamic --- --- Curl.c --- --- Curl.bs --- --- pm_to_blib --- --- Curl.bs --- Running Mkbootstrap for Curl () --- Curl.c --- "/usr/pkg/bin/perl" "-Iinc" "/usr/pkg/lib/perl5/5.30.0/ExtUtils/xsubpp" -typemap '/usr/pkg/lib/perl5/5.30.0/ExtUtils/typemap' -typemap '/data/scratch/www/p5-WWW-Curl/work/WWW-Curl-4.17/typemap' Curl.xs > Curl.xsc --- Curl.bs --- chmod 644 "Curl.bs" --- blibdirs --- --- blib/arch/auto/WWW/Curl/Curl.bs --- "/usr/pkg/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Curl.bs blib/arch/auto/WWW/Curl/Curl.bs 644 --- config --- --- pm_to_blib --- cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.pm cp lib/WWW/Curl/Easy.pm blib/lib/WWW/Curl/Easy.pm cp lib/WWW/Curl/Share.pm blib/lib/WWW/Curl/Share.pm cp lib/WWW/Curl/Form.pm blib/lib/WWW/Curl/Form.pm cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm --- Curl.c --- mv Curl.xsc Curl.c --- Curl.o --- clang -c -I/usr/pkg/include -O2 -pthread -I/usr/include -fno-strict-aliasing -pipe -O2 -pthread -I/usr/include -DVERSION=\"4.17\" -DXS_VERSION=\"4.17\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE" Curl.c Curl.xs:76:5: error: declaration of anonymous struct must be a definition struct void *curlm; ^ Curl.xs:76:23: error: type name requires a specifier or qualifier struct void *curlm; ^ Curl.xs:236:5: warning: division by zero is undefined [-Wdivision-by-zero] Newz(1, self, 1, perl_curl_multi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/www/p5-WWW-Curl/work/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2424:23: note: expanded from macro 'Newz' #define Newz(x,v,n,t) Newxz(v,n,t) ^~~~~~~~~~~~ /data/scratch/www/p5-WWW-Curl/work/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2418:28: note: expanded from macro 'Newxz' #define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t))))) ^~~~~~~~~~~~~~~~~~~~ /data/scratch/www/p5-WWW-Curl/work/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2335:30: note: expanded from macro 'MEM_WRAP_CHECK_' #define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t), ^~~~~~~~~~~~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /data/scratch/www/p5-WWW-Curl/work/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/perl.h:3450:58: note: expanded from macro 'UNLIKELY' #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE) ~~~~~~~~~~~~~^~~~~~~~~~~~ /data/scratch/www/p5-WWW-Curl/work/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:104:24: note: expanded from macro 'cBOOL' #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /data/scratch/www/p5-WWW-Curl/work/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/perl.h:3445:62: note: expanded from macro 'EXPECT' # define EXPECT(expr,val) __builtin_expect(expr,val) ^~~~ Curl.xs:236:5: warning: division by zero is undefined [-Wdivision-by-zero] Newz(1, self, 1, perl_curl_multi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/www/p5-WWW-Curl/work/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2424:23: note: expanded from macro 'Newz' #define Newz(x,v,n,t) Newxz(v,n,t) ^~~~~~~~~~~~ /data/scratch/www/p5-WWW-Curl/work/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2418:28: note: expanded from macro 'Newxz' #define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t))))) ^~~~~~~~~~~~~~~~~~~~ /data/scratch/www/p5-WWW-Curl/work/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2335:30: note: expanded from macro 'MEM_WRAP_CHECK_' #define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t), ^~~~~~~~~~~~~~~~~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /data/scratch/www/p5-WWW-Curl/work/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/perl.h:3450:58: note: expanded from macro 'UNLIKELY' #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE) ~~~~~~~~~~~~~^~~~~~~~~~~~ /data/scratch/www/p5-WWW-Curl/work/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:104:24: note: expanded from macro 'cBOOL' #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0) ^ /data/scratch/www/p5-WWW-Curl/work/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/perl.h:3445:62: note: expanded from macro 'EXPECT' # define EXPECT(expr,val) __builtin_expect(expr,val) ^~~~ In file included from Curl.xs:574: ./curlopt-constants.c:19:58: error: non-void function 'constant' should return a value [-Wreturn-type] if (strEQ(name, "DID_MEMORY_FUNC_TYPEDEFS")) return CURL_DID_MEMORY_FUNC_TYPEDEFS; ^ ./curlopt-constants.c:185:46: error: use of undeclared identifier 'CURL_WIN32' if (strEQ(name, "WIN32")) return CURL_WIN32; ^ ./curlopt-constants.c:1716:40: error: non-void function 'constant' should return a value [-Wreturn-type] if (strEQ(name, "CURL_H")) return CURLINC_CURL_H; ^ ./curlopt-constants.c:2440:48: error: use of undeclared identifier 'CURLOPT' if (strEQ(name, "CURLOPT")) return CURLOPT; ^ ./curlopt-constants.c:191:56: warning: implicit conversion from 'size_t' (aka 'unsigned long') to 'int' changes value from 18446744073709551615 to -1 [-Wconstant-conversion] if (strEQ(name, "ZERO_TERMINATED")) return CURL_ZERO_TERMINATED; ~~~~~~ ^~~~~~~~~~~~~~~~~~~~ /data/scratch/www/p5-WWW-Curl/work/.buildlink/include/curl/curl.h:2100:31: note: expanded from macro 'CURL_ZERO_TERMINATED' #define CURL_ZERO_TERMINATED ((size_t) -1) ^~~~~~~~~~~ In file included from Curl.xs:574: ./curlopt-constants.c:2345:44: warning: implicit conversion from 'unsigned long' to 'int' changes value from 18446744073709551599 to -17 [-Wconstant-conversion] if (strEQ(name, "ANY")) return CURLAUTH_ANY; ~~~~~~ ^~~~~~~~~~~~ /data/scratch/www/p5-WWW-Curl/work/.buildlink/include/curl/curl.h:748:32: note: expanded from macro 'CURLAUTH_ANY' #define CURLAUTH_ANY (~CURLAUTH_DIGEST_IE) ^~~~~~~~~~~~~~~~~~~ In file included from Curl.xs:574: ./curlopt-constants.c:2346:48: warning: implicit conversion from 'unsigned long' to 'int' changes value from 18446744073709551598 to -18 [-Wconstant-conversion] if (strEQ(name, "ANYSAFE")) return CURLAUTH_ANYSAFE; ~~~~~~ ^~~~~~~~~~~~~~~~ /data/scratch/www/p5-WWW-Curl/work/.buildlink/include/curl/curl.h:749:32: note: expanded from macro 'CURLAUTH_ANYSAFE' #define CURLAUTH_ANYSAFE (~(CURLAUTH_BASIC|CURLAUTH_DIGEST_IE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Curl.xs:1091:47: error: no member named 'curlm' in 'perl_curl_multi' while ((msg = curl_multi_info_read(self->curlm, &queue))) { ~~~~ ^ Curl.xs:1100:26: warning: implicit conversion from enumeration type 'CURLINFO' to different enumeration type 'CURLoption' [-Wenum-conversion] curl_easy_setopt(easy, CURLINFO_PRIVATE, NULL); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/www/p5-WWW-Curl/work/.buildlink/include/curl/curl.h:2882:68: note: expanded from macro 'curl_easy_setopt' #define curl_easy_setopt(handle,opt,param) curl_easy_setopt(handle,opt,param) ~~~~~~~~~~~~~~~~ ^~~ Curl.xs:1101:34: error: no member named 'curlm' in 'perl_curl_multi' curl_multi_remove_handle(self->curlm, easy); ~~~~ ^ Curl.xs:1128:32: error: no member named 'curlm' in 'perl_curl_multi' curl_multi_fdset(self->curlm, &fdread, &fdwrite, &fdexcep, &maxfd); ~~~~ ^ 6 warnings and 9 errors generated. *** [Curl.o] Error code 1 make: stopped in /data/scratch/www/p5-WWW-Curl/work/WWW-Curl-4.17 1 error make: stopped in /data/scratch/www/p5-WWW-Curl/work/WWW-Curl-4.17 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/www/p5-WWW-Curl *** Error code 1 Stop. make: stopped in /data/pkgsrc/www/p5-WWW-Curl