WWW-Curl v4.17 Perl 5 v5.36.0 amd64-freebsd

Status
Fail
From
Chris Williams (BINGOS)
Dist
WWW-Curl v4.17
Platform
Perl 5 v5.36.0 amd64-freebsd
Date
2024-02-19 22:27:42
ID
18d916c6-cf76-11ee-98b0-b3c3213a625c
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language.  See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org


--

Dear Balint Szilakszi,

This is a computer-generated error report created automatically by
CPANPLUS, version 0.9914. Testers personal comments may appear
at the end of this report.


Thank you for uploading your work to CPAN.  However, it appears that
there were some problems testing your distribution.

TEST RESULTS:

Below is the error stack from stage 'make test':

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/Multi.pm blib/lib/WWW/Curl/Multi.pm
cp lib/WWW/Curl/Form.pm blib/lib/WWW/Curl/Form.pm
cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm
Running Mkbootstrap for Curl ()
chmod 644 "Curl.bs"
"/usr/home/cpan/pit/bare/perl-5.36.0/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Curl.bs blib/arch/auto/WWW/Curl/Curl.bs 644
"/usr/home/cpan/pit/bare/perl-5.36.0/bin/perl" "-Iinc" "/usr/home/cpan/pit/bare/perl-5.36.0/lib/site_perl/5.36.0/ExtUtils/xsubpp"  -typemap '/usr/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0/ExtUtils/typemap' -typemap '/usr/home/cpan/pit/bare/conf/perl-5.36.0/.cpanplus/5.36.0/build/8ofdnN261H/WWW-Curl-4.17/typemap'  Curl.xs > Curl.xsc
mv Curl.xsc Curl.c
cc -c  -I/usr/local/include  -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -O2    -DVERSION=\"4.17\"  -DXS_VERSION=\"4.17\" -DPIC -fPIC "-I/usr/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0/amd64-freebsd/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/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0/amd64-freebsd/CORE/handy.h:2769:23: note: expanded from macro 'Newz'
#define Newz(x,v,n,t)   Newxz(v,n,t)
                        ^~~~~~~~~~~~
/usr/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0/amd64-freebsd/CORE/handy.h:2763: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/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0/amd64-freebsd/CORE/handy.h:2680: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/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0/amd64-freebsd/CORE/perl.h:3888:58: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                            ~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0/amd64-freebsd/CORE/handy.h:125:31: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((bool) (cbool))
                              ^
/usr/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0/amd64-freebsd/CORE/perl.h:3867: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/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0/amd64-freebsd/CORE/handy.h:2769:23: note: expanded from macro 'Newz'
#define Newz(x,v,n,t)   Newxz(v,n,t)
                        ^~~~~~~~~~~~
/usr/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0/amd64-freebsd/CORE/handy.h:2763: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/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0/amd64-freebsd/CORE/handy.h:2680: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/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0/amd64-freebsd/CORE/perl.h:3888:58: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(cond)                      EXPECT(cBOOL(cond),FALSE)
                                            ~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0/amd64-freebsd/CORE/handy.h:125:31: note: expanded from macro 'cBOOL'
#define cBOOL(cbool) ((bool) (cbool))
                              ^
/usr/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0/amd64-freebsd/CORE/perl.h:3867: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:51: error: use of undeclared identifier 'CURL_DEPRECATED'
            if (strEQ(name, "DEPRECATED")) return CURL_DEPRECATED;
                                                  ^
./curlopt-constants.c:20: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:67:59: error: use of undeclared identifier 'CURL_IGNORE_DEPRECATION'
            if (strEQ(name, "IGNORE_DEPRECATION")) return CURL_IGNORE_DEPRECATION;
                                                          ^
./curlopt-constants.c:147:49: error: use of undeclared identifier 'CURL_STRICTER'
            if (strEQ(name, "STRICTER")) return CURL_STRICTER;
                                                ^
./curlopt-constants.c:196:46: error: use of undeclared identifier 'CURL_WIN32'
            if (strEQ(name, "WIN32")) return CURL_WIN32;
                                             ^
./curlopt-constants.c:2005:40: error: non-void function 'constant' should return a value [-Wreturn-type]
            if (strEQ(name, "CURL_H")) return CURLINC_CURL_H;
                                       ^
./curlopt-constants.c:2814:48: error: use of undeclared identifier 'CURLOPT'
            if (strEQ(name, "CURLOPT")) return CURLOPT;
                                               ^
./curlopt-constants.c:2815:58: error: use of undeclared identifier 'CURLOPTDEPRECATED'; did you mean 'CURLOPT_PRIVATE'?
            if (strEQ(name, "CURLOPTDEPRECATED")) return CURLOPTDEPRECATED;
                                                         ^~~~~~~~~~~~~~~~~
                                                         CURLOPT_PRIVATE
/usr/local/include/curl/curl.h:1472:11: note: 'CURLOPT_PRIVATE' declared here
  CURLOPT(CURLOPT_PRIVATE, CURLOPTTYPE_OBJECTPOINT, 103),
          ^
In file included from Curl.xs:574:
./curlopt-constants.c:203: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:2366: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:2720: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:826:32: note: expanded from macro 'CURLAUTH_ANY'
#define CURLAUTH_ANY          (~CURLAUTH_DIGEST_IE)
                               ^~~~~~~~~~~~~~~~~~~
In file included from Curl.xs:574:
./curlopt-constants.c:2721: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:827: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:3211: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 13 errors generated.
*** Error code 1

Stop.
make: stopped in /usr/home/cpan/pit/bare/conf/perl-5.36.0/.cpanplus/5.36.0/build/8ofdnN261H/WWW-Curl-4.17


PREREQUISITES:

Here is a list of prerequisites you specified and versions we
managed to load:

	  Module Name                        Have     Want
	  ExtUtils::MakeMaker                7.70     6.42

Perl module toolchain versions installed:
	Module Name                        Have
	CPANPLUS                         0.9914
	CPANPLUS::Dist::Build              0.90
	Cwd                                3.84
	ExtUtils::CBuilder             0.280236
	ExtUtils::Command                  7.70
	ExtUtils::Install                  2.22
	ExtUtils::MakeMaker                7.70
	ExtUtils::Manifest                 1.75
	ExtUtils::ParseXS                  3.51
	File::Spec                         3.84
	Module::Build                    0.4234
	Pod::Parser                           0
	Pod::Simple                        3.43
	Test2                          1.302198
	Test::Harness                      3.48
	Test::More                     1.302198
	version                          0.9930

******************************** NOTE ********************************
The comments above are created mechanically, possibly without manual
checking by the sender.  As there are many people performing automatic
tests on each upload to CPAN, it is likely that you will receive
identical messages about the same problem.

If you believe that the message is mistaken, please reply to the first
one with correction and/or additional informations, and do not take
it personally.  We appreciate your patience. :)
**********************************************************************

Additional comments:


This report was machine-generated by CPANPLUS::Dist::YACSmoke 1.08.
Powered by minismokebox version 0.68

CPANPLUS is prefering Build.PL

------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    AUTOMATED_TESTING = 1
    NONINTERACTIVE_TESTING = 1
    PATH = /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/cpan/bin
    PERL5LIB = /usr/home/cpan/pit/jail/dnfzxMVAPO/lib/perl5
    PERL5_CPANPLUS_IS_RUNNING = 69922
    PERL5_CPANPLUS_IS_VERSION = 0.9914
    PERL5_MINISMOKEBOX = 0.68
    PERL5_YACSMOKE_BASE = /usr/home/cpan/pit/bare/conf/perl-5.36.0
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_LOCAL_LIB_ROOT = /usr/home/cpan/pit/jail/dnfzxMVAPO
    PERL_MB_OPT = --install_base "/usr/home/cpan/pit/jail/dnfzxMVAPO"
    PERL_MM_OPT = INSTALL_BASE=/usr/home/cpan/pit/jail/dnfzxMVAPO
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/local/bin/bash
    TERM = screen

Perl special variables (and OS-specific diagnostics, for MSWin32):

    Perl: $^X = /usr/home/cpan/pit/bare/perl-5.36.0/bin/perl
    UID:  $<  = 1002
    EUID: $>  = 1002
    GID:  $(  = 1002 1002
    EGID: $)  = 1002 1002


-------------------------------


--

Summary of my perl5 (revision 5 version 36 subversion 0) configuration:
   
  Platform:
    osname=freebsd
    osvers=12.4-release-p1
    archname=amd64-freebsd
    uname='freebsd fforc 12.4-release-p1 freebsd 12.4-release-p1 generic amd64 '
    config_args='-des -Dprefix=/usr/home/cpan/pit/bare/perl-5.36.0'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
  Compiler:
    cc='cc'
    ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    optimize='-O2'
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='FreeBSD Clang 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)'
    gccosandvers=''
    intsize=4
    longsize=8
    ptrsize=8
    doublesize=8
    byteorder=12345678
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=16
    longdblkind=3
    ivtype='long'
    ivsize=8
    nvtype='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=8
    prototype=define
  Linker and Libraries:
    ld='cc'
    ldflags ='-Wl,-E  -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib /usr/lib/clang/13.0.0/lib
    libs=-lpthread -lgdbm -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc
    libc=
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags=' '
    cccdlflags='-DPIC -fPIC'
    lddlflags='-shared  -L/usr/local/lib -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options:
    HAS_TIMES
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    USE_64_BIT_ALL
    USE_64_BIT_INT
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
  Built under freebsd
  Compiled at Mar 30 2023 11:44:13
  %ENV:
    PERL5LIB="/usr/home/cpan/pit/jail/dnfzxMVAPO/lib/perl5"
    PERL5_CPANPLUS_IS_RUNNING="69922"
    PERL5_CPANPLUS_IS_VERSION="0.9914"
    PERL5_MINISMOKEBOX="0.68"
    PERL5_YACSMOKE_BASE="/usr/home/cpan/pit/bare/conf/perl-5.36.0"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_LOCAL_LIB_ROOT="/usr/home/cpan/pit/jail/dnfzxMVAPO"
    PERL_MB_OPT="--install_base "/usr/home/cpan/pit/jail/dnfzxMVAPO""
    PERL_MM_OPT="INSTALL_BASE=/usr/home/cpan/pit/jail/dnfzxMVAPO"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /usr/home/cpan/pit/jail/dnfzxMVAPO/lib/perl5/5.36.0/amd64-freebsd
    /usr/home/cpan/pit/jail/dnfzxMVAPO/lib/perl5/5.36.0
    /usr/home/cpan/pit/jail/dnfzxMVAPO/lib/perl5/amd64-freebsd
    /usr/home/cpan/pit/jail/dnfzxMVAPO/lib/perl5
    /usr/home/cpan/pit/bare/perl-5.36.0/lib/site_perl/5.36.0/amd64-freebsd
    /usr/home/cpan/pit/bare/perl-5.36.0/lib/site_perl/5.36.0
    /usr/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0/amd64-freebsd
    /usr/home/cpan/pit/bare/perl-5.36.0/lib/5.36.0
    .