Bug#1027632: libwww-curl-perl: FTBFS: curlopt-constants.c:19:51: error: ‘CURL_DEPRECATED’ undeclared (first use in this function)
gregor herrmann
gregoa at debian.org
Sun Jan 1 17:51:45 GMT 2023
Control: tag -1 + confirmed
On Sun, 01 Jan 2023 15:31:06 +0100, Lucas Nussbaum wrote:
> Source: libwww-curl-perl
> Version: 4.17-8
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lucas at debian.org
> Usertags: ftbfs-20230101 ftbfs-bookworm
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
>
> > In file included from Curl.xs:578:
> > curlopt-constants.c: In function ‘constant’:
> > curlopt-constants.c:19:51: error: ‘CURL_DEPRECATED’ undeclared (first use in this function)
> > 19 | if (strEQ(name, "DEPRECATED")) return CURL_DEPRECATED;
> > | ^~~~~~~~~~~~~~~
I think this is related to the following change in curl 7.87.0:
https://github.com/curl/curl/pull/9667
https://github.com/curl/curl/commit/6967571bf20624bc4cfa68fb8f90cbc53a87c6f2
If I remove the new *DEPRECAT* macros from the generated curlopt-constants.c
after `perl Makefile.PL' and before `make', we get a bit further
until we hit this error:
In file included from /usr/include/x86_64-linux-gnu/curl/curl.h:3195:
Curl.xs:692:25: error: void value not ignored as it ought to be
692 | curl_easy_setopt(clone->curl, 10000 + i, clone->strings[i]);
Looks like this needs someone who actually speaks C and XS :)
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20230101/04ba0773/attachment.sig>
More information about the pkg-perl-maintainers
mailing list