Re: Re: php 7.{3,4}/git ext/curl builds FA IL with recent curl/libcurl 7.67+: "error: ‘CURLE_OBSOLETE 20’ undeclared ...".
| From: | Rowan Tommins | Date: | Fri, 15 Nov 2019 09:01:13 +0000 |
| Subject: | Re: Re: php 7.{3,4}/git ext/curl builds FA IL with recent curl/libcurl 7.67+: "error: ‘CURLE_OBSOLETE 20’ undeclared ...". | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-107795@lists.php.net to get a copy of this message | ||
On Fri, 15 Nov 2019 at 08:19, Christoph M. Becker <cmbecker69@gmx.de> wrote:
>
> That appears to be due to a recent change in libcurl[1]. We'll have to
> work around that, but I'm not sure how. Define both constants for BC?
>
> [1]
> <
>
> https://github.com/curl/curl/blob/b3eb7d172aab6c7f423aea2f97c27099d6b65f7a/include/curl/curl.h#L504-L506
> >
>
It looks like last time this happened (value 16 reused for HTTP2), the
removed constant was reintroduced in curl to avoid just this scenario:
https://github.com/curl/curl/pull/106
Perhaps a patch should be submitted to do the same thing again this time?
Regards,
--
Rowan Tommins
[IMSoP]