=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Building for p5-WWW-Curl-4.17nb21
cp lib/WWW/Curl.pm blib/lib/WWW/Curl.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/Share.pm blib/lib/WWW/Curl/Share.pm
cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.pm
Running Mkbootstrap for Curl ()
chmod 644 "Curl.bs"
"/usr/pkg/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Curl.bs blib/arch/auto/WWW/Curl/Curl.bs 644
"/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.powerpc/WWW-Curl-4.17/typemap'  Curl.xs > Curl.xsc
mv Curl.xsc Curl.c
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/powerpc-netbsd-thread-multi/CORE"   Curl.c
distcc[12336] ERROR: compile Curl.c on 10.0.20.122:3638 failed
distcc[12336] (dcc_build_somewhere) Warning: remote compilation of 'Curl.c' failed, retrying locally
distcc[12336] Warning: failed to distribute Curl.c to 10.0.20.122:3638, running locally instead
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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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.powerpc/.buildlink/lib/perl5/5.30.0/powerpc-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
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)
 ^~~~~~~~
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);
                              ^~
distcc[12336] ERROR: compile Curl.c on localhost failed
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/www/p5-WWW-Curl/work.powerpc/WWW-Curl-4.17
*** Error code 1

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

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