Bug 204343 - math/R: install.packages() fails
Summary: math/R: install.packages() fails
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Brendan Fabeny
Depends on:
Reported: 2015-11-06 20:31 UTC by Christian Heckendorf
Modified: 2016-05-26 02:18 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bf)

libcurl dependency for SSL enabled mirrors (498 bytes, patch)
2016-02-24 00:11 UTC, Christian Heckendorf
no flags Details | Diff
poudriere testport 10.x build with patch installed (417.13 KB, patch)
2016-02-24 00:12 UTC, Christian Heckendorf
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Heckendorf 2015-11-06 20:31:53 UTC
Mirrors are now defaulting to https. Building the R package without curl as a dependency disables libcurl support in R when building with poudriere. Without libcurl, R has issues installing packages from https mirrors.

I patched the port to add ftp/curl as a build dependency on my poudriere server and the problem resolved. Maybe there's a better solution?

R session without patch:
> install.packages("R6")
--- Please select a CRAN mirror for use in this session ---
Error in download.file(url, destfile = f, quiet = TRUE) :
  unsupported URL scheme
Comment 1 rsos+freebsd 2016-01-08 10:34:22 UTC
I can confirm this error.

In the meanwhile using
> install.packages("R6", method = "wget")
> install.packages("R6", method = "curl")
works around this issue without compiling again. Obviously either wget or curl packages have to be installed.
Comment 2 Christian Heckendorf 2016-02-24 00:11:22 UTC
Created attachment 167338 [details]
libcurl dependency for SSL enabled mirrors
Comment 3 Christian Heckendorf 2016-02-24 00:12:41 UTC
Created attachment 167339 [details]
poudriere testport 10.x build with patch installed
Comment 4 Christian Heckendorf 2016-02-24 00:15:55 UTC
I've added a patch with libcurl in LIB_DEPENDS and a build log. Runtime tests show it working as expected on my machines.

Any chance we could get a maintainer timeout?