From @teuer @end|ng |rom h@u-hh@de  Mon Apr  3 16:24:31 2023
From: @teuer @end|ng |rom h@u-hh@de (Detlef Steuer)
Date: Mon, 3 Apr 2023 16:24:31 +0200
Subject: [Rd] Let R compile for libcurl8 ?
In-Reply-To: <094dbb74-9caf-c146-d13e-65add776cf21@stats.ox.ac.uk>
References: <20230403150708.6d753245@gaia.unibw-hamburg.de>
 <094dbb74-9caf-c146-d13e-65add776cf21@stats.ox.ac.uk>
Message-ID: <20230403162431.1bc23cb5@gaia.unibw-hamburg.de>

Am Mon, 3 Apr 2023 15:13:58 +0100
schrieb Prof Brian Ripley <ripley at 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.

Detlef

-- 
"Wozu leben wir, wenn nicht dazu, uns gegenseitig das Leben 
 einfacher zu machen. (George Eliot)" 

Dr. Detlef Steuer
Helmut-Schmidt-Universit?t
Fakult?t WiSo
Holstenhofweg 85
22043 Hamburg

Tel:  040/6541-2819
mail: steuer at hsu-hh.de



[Rd] Let R compile for libcurl8 ?
Detlef Steuer