=> Bootstrap dependency digest>=20010302: found digest-20190127
===> 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.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 '/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/WWW-Curl-4.17/typemap'  Curl.xs > Curl.xsc
--- Curl.bs ---
Running Mkbootstrap for Curl ()
chmod 644 "Curl.bs"
--- 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
--- blibdirs ---
--- 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/Form.pm blib/lib/WWW/Curl/Form.pm
cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm
cp lib/WWW/Curl/Share.pm blib/lib/WWW/Curl/Share.pm
--- Curl.c ---
mv Curl.xsc Curl.c
--- Curl.o ---
gcc -c  -I/usr/pkg/include  -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -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:12: error: expected '{' before 'void'
     struct void *curlm;
            ^~~~
Curl.xs:76:12: error: two or more data types in declaration specifiers
In file included from Curl.xs:14:0:
Curl.xs: In function 'perl_curl_multi_new':
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2320:25: warning: division by zero [-Wdiv-by-zero]
             MEM_SIZE_MAX/sizeof(t)) > MEM_SIZE_MAX/sizeof(t))
                         ^
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/perl.h:3445:62: note: in definition of macro 'EXPECT'
 #  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                              ^~~~
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/perl.h:3450:52: note: in expansion of macro 'cBOOL'
 #define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                    ^~~~~
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2323:9: note: in expansion of macro 'UNLIKELY'
  (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \
         ^~~~~~~~
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2323:18: note: in expansion of macro '_MEM_WRAP_WILL_WRAP'
  (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \
                  ^~~~~~~~~~~~~~~~~~~
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2335:30: note: in expansion of macro 'MEM_WRAP_CHECK'
 #define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
                              ^~~~~~~~~~~~~~
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2418:28: note: in expansion of macro 'MEM_WRAP_CHECK_'
 #define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t)))))
                            ^~~~~~~~~~~~~~~
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2424:23: note: in expansion of macro 'Newxz'
 #define Newz(x,v,n,t) Newxz(v,n,t)
                       ^~~~~
Curl.xs:236:5: note: in expansion of macro 'Newz'
     Newz(1, self, 1, perl_curl_multi);
     ^
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2320:51: warning: division by zero [-Wdiv-by-zero]
             MEM_SIZE_MAX/sizeof(t)) > MEM_SIZE_MAX/sizeof(t))
                                                   ^
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/perl.h:3445:62: note: in definition of macro 'EXPECT'
 #  define EXPECT(expr,val)                  __builtin_expect(expr,val)
                                                              ^~~~
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/perl.h:3450:52: note: in expansion of macro 'cBOOL'
 #define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                    ^~~~~
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2323:9: note: in expansion of macro 'UNLIKELY'
  (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \
         ^~~~~~~~
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2323:18: note: in expansion of macro '_MEM_WRAP_WILL_WRAP'
  (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \
                  ^~~~~~~~~~~~~~~~~~~
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2335:30: note: in expansion of macro 'MEM_WRAP_CHECK'
 #define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
                              ^~~~~~~~~~~~~~
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2418:28: note: in expansion of macro 'MEM_WRAP_CHECK_'
 #define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t)))))
                            ^~~~~~~~~~~~~~~
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/handy.h:2424:23: note: in expansion of macro 'Newxz'
 #define Newz(x,v,n,t) Newxz(v,n,t)
                       ^~~~~
Curl.xs:236:5: note: in expansion of macro 'Newz'
     Newz(1, self, 1, perl_curl_multi);
     ^
In file included from Curl.xs:574:0:
curlopt-constants.c: In function 'constant':
curlopt-constants.c:19:58: warning: 'return' with no value, in function returning non-void
             if (strEQ(name, "DID_MEMORY_FUNC_TYPEDEFS")) return CURL_DID_MEMORY_FUNC_TYPEDEFS;
                                                          ^~~~~~
curlopt-constants.c:2:1: note: declared here
 constant(const char *name)
 ^~~~~~~~
curlopt-constants.c:185:46: error: 'CURL_WIN32' undeclared (first use in this function); did you mean 'CURLINFO'?
             if (strEQ(name, "WIN32")) return CURL_WIN32;
                                              ^~~~~~~~~~
                                              CURLINFO
curlopt-constants.c:185:46: note: each undeclared identifier is reported only once for each function it appears in
In file included from Curl.xs:17:0:
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/include/curl/curl.h:2100:30: warning: overflow in implicit constant conversion [-Woverflow]
 #define CURL_ZERO_TERMINATED ((size_t) -1)
                              ^
curlopt-constants.c:191:56: note: in expansion of macro 'CURL_ZERO_TERMINATED'
             if (strEQ(name, "ZERO_TERMINATED")) return CURL_ZERO_TERMINATED;
                                                        ^
In file included from Curl.xs:574:0:
curlopt-constants.c:1716:40: warning: 'return' with no value, in function returning non-void
             if (strEQ(name, "CURL_H")) return CURLINC_CURL_H;
                                        ^~~~~~
curlopt-constants.c:2:1: note: declared here
 constant(const char *name)
 ^~~~~~~~
In file included from Curl.xs:17:0:
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/include/curl/curl.h:748:31: warning: overflow in implicit constant conversion [-Woverflow]
 #define CURLAUTH_ANY          (~CURLAUTH_DIGEST_IE)
                               ^
curlopt-constants.c:2345:44: note: in expansion of macro 'CURLAUTH_ANY'
             if (strEQ(name, "ANY")) return CURLAUTH_ANY;
                                            ^
/tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/.buildlink/include/curl/curl.h:749:31: warning: overflow in implicit constant conversion [-Woverflow]
 #define CURLAUTH_ANYSAFE      (~(CURLAUTH_BASIC|CURLAUTH_DIGEST_IE))
                               ^
curlopt-constants.c:2346:48: note: in expansion of macro 'CURLAUTH_ANYSAFE'
             if (strEQ(name, "ANYSAFE")) return CURLAUTH_ANYSAFE;
                                                ^
In file included from Curl.xs:574:0:
curlopt-constants.c:2440:48: error: 'CURLOPT' undeclared (first use in this function); did you mean 'CURLSH'?
             if (strEQ(name, "CURLOPT")) return CURLOPT;
                                                ^~~~~~~
                                                CURLSH
Curl.xs: In function 'XS_WWW__Curl__Multi_info_read':
Curl.xs:1091:45: error: 'perl_curl_multi {aka struct <anonymous>}' has no member named 'curlm'
      while ((msg = curl_multi_info_read(self->curlm, &queue))) {
                                             ^~
Curl.xs:1101:32: error: 'perl_curl_multi {aka struct <anonymous>}' has no member named 'curlm'
   curl_multi_remove_handle(self->curlm, easy);
                                ^~
Curl.xs: In function 'XS_WWW__Curl__Multi_fdset':
Curl.xs:1128:30: error: 'perl_curl_multi {aka struct <anonymous>}' has no member named 'curlm'
         curl_multi_fdset(self->curlm, &fdread, &fdwrite, &fdexcep, &maxfd);
                              ^~
*** [Curl.o] Error code 1

make: stopped in /tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/WWW-Curl-4.17
1 error

make: stopped in /tmp/pkgbuild/www/p5-WWW-Curl/work.x86_64/WWW-Curl-4.17
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/www/p5-WWW-Curl
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/p5-WWW-Curl