pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/55109: p5-WWW-Curl Package is no longer available; 'cpan -i WWW::Curl' fails
>Number: 55109
>Category: pkg
>Synopsis: p5-WWW-Curl Package is no longer available; 'cpan -i WWW::Curl' fails
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 26 06:25:00 +0000 2020
>Originator: Graham Jenkins
>Release: NetBSD 9.0 amd64
>Organization:
>Environment:
NetBSD sunskink.duckdns.org 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
I was able to successfully use p5-WWW-Curl-4.17nb11 on a previous
(NetBSD 8.0) version, but an equivalent for NetBSD 9.0 doesn't seem to be available, as shown hereunder.
I have tried using:
--
#!/usr/bin/env perl
BEGIN { eval { require Net::Curl::Compat; } }
use WWW::Curl::Easy;
use vars qw($VERSION);
..
--
But it doesn't seem to completely solve my problem.
>How-To-Repeat:
An attempt to install using: 'cpan -i WWW::Curl' fails thus:
..
Running make for S/SZ/SZBALINT/WWW-Curl-4.17.tar.gz
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/Easy.pm blib/lib/WWW/Curl/Easy.pm
cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm
..
gcc -c -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -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':
/usr/pkg/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))
^
/usr/pkg/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)
^~~~
/usr/pkg/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)
>Fix:
Make: p5-WWW-Curl-4.17nb11 available for NetBSD 9.0 amd64
Home |
Main Index |
Thread Index |
Old Index