-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkgsearch (pkg_history()
) does not use embedded certs in binary builds
#693
Comments
Where do they do that? |
For me curl crashes on Almalinux 9 (aarch64):
HTTP works, HTTPS does not, so I suspect it is an openssl (or Docker) issue. Aarch64 RHEL 9 works, though. On x86_64 both Almalinux 9 and RHeL 9 work for me. |
Actually, for |
Actually, this is simply a bug in The workaround is to call Will fix soon. |
pkg_history()
) does not use embedded certs in binary builds
In particular the path to the CA bundle, for r-lib/pak#693.
In particular the path to the CA bundle, for r-lib/pak#693.
Fixed in the dev build, new Linux binaries are already deployed. I opened another issue for the aarch64 almalinux 9 crash: #694. > source("https://pak.r-lib.org/install.R?stream=devel")
Installing pak from stream devel.
Installing package into ‘/root/R/aarch64-unknown-linux-gnu-library/4.4’
(as ‘lib’ is unspecified)
trying URL 'https://r-lib.github.io/p/pak/devel/source/linux-gnu/aarch64/src/contrib/../../../../../linux/aarch64/pak_0.8.0.9000_R-4-4_aarch64-linux.tar.gz'
Content type 'application/gzip' length 8866820 bytes (8.5 MB)
==================================================
downloaded 8.5 MB
* installing *binary* package ‘pak’ ...
* DONE (pak)
The downloaded source packages are in
‘/tmp/RtmpGu21au/downloaded_packages’ > pak::pkg_history("pak")
# A data frame: 14 × 30
Package Version Title Description `Authors@R` License Encoding LazyData
* <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
1 pak 0.1.2 Another Ap… "The goal … "c(\nperso… GPL-3 UTF-8 true
2 pak 0.1.2.1 Another Ap… "The goal … "c(\nperso… GPL-3 UTF-8 true
3 pak 0.2.0 Another Ap… "The goal … "c(\nperso… GPL-3 UTF-8 true
4 pak 0.2.1 Another Ap… "The goal … "c(\nperso… GPL-3 UTF-8 true
5 pak 0.3.0 Another Ap… "The goal … "c(\nperso… GPL-3 UTF-8 true
6 pak 0.3.1 Another Ap… "The goal … "c(\nperso… GPL-3 UTF-8 true
7 pak 0.4.0 Another Ap… "The goal … "c(\nperso… GPL-3 UTF-8 true
8 pak 0.5.0 Another Ap… "The goal … "c(\nperso… GPL-3 UTF-8 true
9 pak 0.5.1 Another Ap… "The goal … "c(\nperso… GPL-3 UTF-8 true
10 pak 0.6.0 Another Ap… "The goal … "c(\nperso… GPL-3 UTF-8 true
11 pak 0.7.0 Another Ap… "The goal … "c(\nperso… GPL-3 UTF-8 NA
12 pak 0.7.1 Another Ap… "The goal … "c(\nperso… GPL-3 UTF-8 NA
13 pak 0.7.2 Another Ap… "The goal … "c(\nperso… GPL-3 UTF-8 NA
14 pak 0.8.0 Another Ap… "The goal … "c(\nperso… GPL-3 UTF-8 NA
# ℹ 22 more variables: ByteCompile <chr>, RoxygenNote <chr>, URL <chr>,
# BugReports <chr>, NeedsCompilation <chr>, Packaged <chr>, Author <chr>,
# Maintainer <chr>, Repository <chr>, `Date/Publication` <chr>,
# crandb_file_date <chr>, MD5sum <chr>, date <chr>, dependencies <list>,
# `Config/needs/dependencies` <chr>, `Config/testthat/edition` <chr>,
# BuildResaveData <chr>, Note <chr>, `Config/Needs/website` <chr>,
# `Config/build/extra-sources` <chr>, Biarch <chr>, … |
Glad to hear that the report uncovered this then and led to a fix. I have of course not the insights to know what is exactly happening behind the scenes; there are also too many players involved (starting from {pak} at the top). Thanks for the fix!
This is strange, usually RHEL 9 and Alma9 should behave identical in such cases. |
They are not built on Ubuntu, they are built on Alpine. They also include a certificate bundle, which they use by default instead of the system's. |
Ah, sorry, missed the buildx step and only looked at the GA OS! |
As they are referencing Ubuntu-specific paths, e.g. for
CURL_CA_BUNDLE
(maybe others in addition).Installing from source solves it as then
curl
is properly linked.The text was updated successfully, but these errors were encountered: