Re: [Rd] Let R compile for libcurl8 ?

2023-04-03 Thread Detlef Steuer
Am Mon, 3 Apr 2023 15:46:52 +0100
schrieb Prof Brian Ripley :

> Again, what exactly is 'R-patched'?

R-4.2.3 with R-release.diff from Martin Maechler's machine applied.

Downloaded via curl(!) and cron every morning :-)

I'll take a look, what went wrong.

Thank you
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: ste...@hsu-hh.de

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Let R compile for libcurl8 ?

2023-04-03 Thread Prof Brian Ripley

On 03/04/2023 15:24, Detlef Steuer wrote:

Am Mon, 3 Apr 2023 15:13:58 +0100
schrieb Prof Brian Ripley :


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 + (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,  rip...@stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Let R compile for libcurl8 ?

2023-04-03 Thread Detlef Steuer
Am Mon, 3 Apr 2023 15:13:58 +0100
schrieb Prof Brian Ripley :

> 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: ste...@hsu-hh.de

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Let R compile for libcurl8 ?

2023-04-03 Thread Prof Brian Ripley

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.)


--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Let R compile for libcurl8 ?

2023-04-03 Thread Dirk Eddelbuettel


On 3 April 2023 at 15:07, Detlef Steuer wrote:
| 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.

+1

For completeness, and in case someone wants to test on a Debian system,
version 8.0.1 is in Debian experimental (likely for the dual reasons of a
release freeze and the presumably rather wide impact of a rebuild). 

Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel