MidnightBSD Magus

www/p5-WWW-Curl

Perl extension interface for libcurl

Flavor Version Run OSVersion Arch License Restricted Status
4.17_2 386 1.2 amd64 mit 0 fail

Events

Machine Type Time Message
m1264 info 2019-09-24 02:11:35.86492 Test Started
m1264 fail 2019-09-24 02:11:39.376081 make build returned non-zero: 1
m1264 fail 2019-09-24 02:11:39.483568 Test complete.

Log

===>  Building for p5-WWW-Curl-4.17_2
"/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/Easy.pm blib/lib/WWW/Curl/Easy.pm
cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm
cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.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
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/amd64-midnightbsd-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);
    ^
/usr/lib/perl5/5.28.0/amd64-midnightbsd-thread-multi/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/amd64-midnightbsd-thread-multi/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/amd64-midnightbsd-thread-multi/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/amd64-midnightbsd-thread-multi/CORE/perl.h:3407:58: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                         ^
/usr/lib/perl5/5.28.0/amd64-midnightbsd-thread-multi/CORE/handy.h:104:24: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                       ^
/usr/lib/perl5/5.28.0/amd64-midnightbsd-thread-multi/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/amd64-midnightbsd-thread-multi/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/amd64-midnightbsd-thread-multi/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/amd64-midnightbsd-thread-multi/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/amd64-midnightbsd-thread-multi/CORE/perl.h:3407:58: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                                         ^
/usr/lib/perl5/5.28.0/amd64-midnightbsd-thread-multi/CORE/handy.h:104:24: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
                       ^
/usr/lib/perl5/5.28.0/amd64-midnightbsd-thread-multi/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;
                                       ^
./curlopt-constants.c:185: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;
                                                ~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/usr/local/include/curl/curl.h:2078: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:2330:44: warning: implicit conversion from 'unsigned long' to 'int' changes value from 18446744073709551599 to -17 [-Wconstant-conversion]
            if (strEQ(name, "ANY")) return CURLAUTH_ANY;
                                    ~~~~~~ ^~~~~~~~~~~~
/usr/local/include/curl/curl.h:740:32: note: expanded from macro 'CURLAUTH_ANY'
#define CURLAUTH_ANY          (~CURLAUTH_DIGEST_IE)
                               ^~~~~~~~~~~~~~~~~~~
In file included from Curl.xs:574:
./curlopt-constants.c:2331:48: warning: implicit conversion from 'unsigned long' to 'int' changes value from 18446744073709551598 to -18 [-Wconstant-conversion]
            if (strEQ(name, "ANYSAFE")) return CURLAUTH_ANYSAFE;
                                        ~~~~~~ ^~~~~~~~~~~~~~~~
/usr/local/include/curl/curl.h:741: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);
                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/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);
                         ~~~~  ^
6 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

Links

Depends On

Depend Of

Nothing

Categories