Log
[1m===> Building for p5-WWW-Curl-4.17_2[0m
"/usr/bin/perl" "-Iinc" "/usr/lib/perl5/5.28.0/ExtUtils/xsubpp" -typemap '/usr/lib/perl5/5.28.0/ExtUtils/typemap' -typemap '/magus/work/usr/mports/www/p5-WWW-Curl/work/WWW-Curl-4.17/typemap' Curl.xs > Curl.xsc
mv Curl.xsc Curl.c
Running Mkbootstrap for Curl ()
chmod 644 "Curl.bs"
cp lib/WWW/Curl/Form.pm blib/lib/WWW/Curl/Form.pm
cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.pm
cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm
cp lib/WWW/Curl/Share.pm blib/lib/WWW/Curl/Share.pm
cp lib/WWW/Curl/Easy.pm blib/lib/WWW/Curl/Easy.pm
cc -c -I/usr/local/include -O2 -pipe -fno-strict-aliasing -O -DVERSION=\"4.17\" -DXS_VERSION=\"4.17\" -DPIC -fPIC "-I/usr/lib/perl5/5.28.0/i386-midnightbsd-thread-multi-64int/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);
^
/usr/lib/perl5/5.28.0/i386-midnightbsd-thread-multi-64int/CORE/handy.h:2383:23: note: expanded from macro 'Newz'
#define Newz(x,v,n,t) Newxz(v,n,t)
^
/usr/lib/perl5/5.28.0/i386-midnightbsd-thread-multi-64int/CORE/handy.h:2377: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)))))
^
/usr/lib/perl5/5.28.0/i386-midnightbsd-thread-multi-64int/CORE/handy.h:2294: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)
/usr/lib/perl5/5.28.0/i386-midnightbsd-thread-multi-64int/CORE/perl.h:3407:58: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/perl5/5.28.0/i386-midnightbsd-thread-multi-64int/CORE/handy.h:104:24: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/perl5/5.28.0/i386-midnightbsd-thread-multi-64int/CORE/perl.h:3402: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);
^
/usr/lib/perl5/5.28.0/i386-midnightbsd-thread-multi-64int/CORE/handy.h:2383:23: note: expanded from macro 'Newz'
#define Newz(x,v,n,t) Newxz(v,n,t)
^
/usr/lib/perl5/5.28.0/i386-midnightbsd-thread-multi-64int/CORE/handy.h:2377: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)))))
^
/usr/lib/perl5/5.28.0/i386-midnightbsd-thread-multi-64int/CORE/handy.h:2294: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)
/usr/lib/perl5/5.28.0/i386-midnightbsd-thread-multi-64int/CORE/perl.h:3407:58: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/perl5/5.28.0/i386-midnightbsd-thread-multi-64int/CORE/handy.h:104:24: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/perl5/5.28.0/i386-midnightbsd-thread-multi-64int/CORE/perl.h:3402:62: note: expanded from macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
In file included from Curl.xs:574:
./curlopt-constants.c:1703:40: error: non-void function 'constant' should return a value [-Wreturn-type]
if (strEQ(name, "CURL_H")) return CURLINC_CURL_H;
^
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);
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/curl/curl.h:2875: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);
~~~~ ^
3 warnings and 6 errors generated.
*** [Curl.o] Error code 1
make[1]: stopped in /magus/work/usr/mports/www/p5-WWW-Curl/work/WWW-Curl-4.17
1 error
make[1]: stopped in /magus/work/usr/mports/www/p5-WWW-Curl/work/WWW-Curl-4.17
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/mports/www/p5-WWW-Curl