[Rd] Let R compile for libcurl8 ?
Prof Brian Ripley
r|p|ey @end|ng |rom @t@t@@ox@@c@uk
Mon Apr 3 16:46:52 CEST 2023
On 03/04/2023 15:24, Detlef Steuer wrote:
> Am Mon, 3 Apr 2023 15:13:58 +0100
> schrieb Prof Brian Ripley <ripley using stats.ox.ac.uk>:
>
>> On 03/04/2023 14:07, Detlef Steuer wrote:
>>> Hi!
>>>
>>> The same Inar reported for rawhide
>>> (https://stat.ethz.ch/pipermail/r-devel/2023-March/082482.html)
>>> is true for SuSE's distros.
>>>
>>> Right now R does not compile with libcurl8, but SuSE
>>> Tumbleweed/Factory switched to 8 a week ago.
>>>
>>> Would be great, if the patch Inar provided could be applied to
>>> main.
>>>
>>> Detlef
>>>
>>
>> As in
>>
>> CHANGES IN R 4.3.0:
>> ...
>> • libcurl 8.x is now accepted by configure: despite a change in
>> major version number it changes neither API nor ABI.
>>
>> ?
>>
>> What version of R are you looking at? (This has also been backported
>> to R 4.2.3 patched although possibly untested there.)
>>
>
> I was looking on R-patched, with diff from this morning.
>
> Still fails:
> ....
> [ 260s] checking for curl-config... /usr/bin/curl-config
> [ 260s] checking libcurl version ... 8.0.1
> [ 260s] checking for curl/curl.h... yes
> [ 260s] checking if libcurl is version 7 and >= 7.28.0... no
> [ 260s] configure: error: libcurl >= 7.28.0 library and headers are
> required with support for https [ 261s] error: Bad exit status from
> /var/tmp/rpm-tmp.PUUqtM (%build) [ 261s]
> [ 261s] RPM build errors:
> [ 261s] Bad exit status from /var/tmp/rpm-tmp.PUUqtM (%build)
> [ 261s] ### VM INTERACTION START ###
> [ 261s] [ 234.216368][ T1] sysrq: Power Off
> [ 261s] [ 234.218303][ T267] reboot: Power down
> [ 261s] ### VM INTERACTION END ###
> [ 261s]
> [ 261s] cloud124 failed "build R-patched.spec" at Mon Apr 3 10:46:27
> UTC 2023. [ 261s]
>
> If it should build, I'll take a look, but because of that log it seemed
> to me nothing had changed in the meantime.
Again, what exactly is 'R-patched'? The latest daily tarball
https://stat.ethz.ch/R/daily/R-patched_2023-03-29.tar.bz2
just built for me with
checking for curl-config... /usr/local/bin/curl-config
checking libcurl version ... 8.0.1
checking for curl/curl.h... yes
checking if libcurl is >= 7.28.0... yes
checking if libcurl supports https... yes
and reports itself as
R version 4.2.3 Patched (2023-03-29 r84146) -- "Shortstop Beagle"
Although as I mentioned, I had not tested it against curl 8.0.1 and did
not know if anyone else had.
See also https://bugs.r-project.org/show_bug.cgi?id=18497
The patch has been in R-4-2-branch since
r84053 2023-03-25 12:37:42 +0000 (Sat, 25 Mar 2023)
At this time of year one has to be very careful about 'R-patched' -- for
example CRAN check results labelled 'r-patched' are at least mainly for
4.3.0 alpha.
--
Brian D. Ripley, ripley using stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
More information about the R-devel
mailing list