Bug 237258 - math/R: fails to recognise libcurl
Summary: math/R: fails to recognise libcurl
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Joseph Mingrone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-13 13:48 UTC by Trond Endrestøl
Modified: 2019-04-19 16:45 UTC (History)
1 user (show)

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


Attachments
config.log from a manual build of math/R (185.49 KB, text/plain)
2019-04-13 13:53 UTC, Trond Endrestøl
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Trond Endrestøl 2019-04-13 13:48:51 UTC
Ports tree is at r498800. Build system is stable/12 amd64 at r345628. ports-mgmt/synth is being used for building packages.

This happens during the configure stage:

checking libcurl version ... 7.64.1
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking if libcurl is version 7 and >= 7.22.0... no
configure: error: libcurl >= 7.22.0 library and headers are required with support for https
===>  Script "configure" failed unexpectedly.
Please report the problem to jrm@FreeBSD.org [maintainer] and attach the
"/construction/xports/math/R/work/R-3.5.3/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /xports/math/R

The above lines contradict each other. First, configure is able to find libcurl 7.64.1. Next, it can't figure out if 7.64.1 is greater than or equal to 7.22.0.

math/R is configured as follows:

===> The following configuration options are available for R-3.5.3_2:
     FLANG=off: Use experimental flang instead of default Fortran compiler
     ICU=on: Unicode support via ICU
     INFO=on: GNU info manuals
     LDOUBLE=on: Long double data type
     LETTER=off: US letter paper
     MEMPROF=off: Memory profiling via Rprofmem() and tracemem()
     NLS=off: Native Language Support
     OPENMP=on: Parallel processing support via OpenMP
     RPROF=on: R profiling via Rprof()
     X11=off: X11 graphics device
====> Require X11
     GHOSTSCRIPT=off: Graphics device for bitmap files via Ghostscript
     JPEG=off: JPEG graphics device
     CAIROPANGO=off: Cairo graphics device and Pango multi-language text
     PNG=off: PNG graphics device
     TCLTK=off: Tcl/Tk GUI toolkit support
     TEXDOCS=off: Build/Install TeX-dependent documentation files
     TIFF=off: TIFF image format support
====> Options available for the single BLAS: you have to select exactly one of them
     ATLAS=off: ATLAS BLAS implementation
     OPENBLAS=off: OpenBLAS BLAS implementation
     NETLIB=off: Netlib BLAS implementation
     RBLAS=on: Use R-bundled BLAS implementation
===> Use 'make config' to modify these settings

ftp/curl is configured as follows:

===> The following configuration options are available for curl-7.64.1_1:
     ALTSVC=on: HTTP Alternative Services support
     BROTLI=off: Brotli compression support
     CA_BUNDLE=on: Enable CA bundle for OpenSSL/GnuTLS/mbedTLS
     COOKIES=off: Cookies support
     CURL_DEBUG=off: cURL debug memory tracking
     DEBUG=off: Build with debugging support
     DOCS=on: Build and/or install documentation
     EXAMPLES=off: Build and/or install examples
     IDN=on: International Domain Names support
     IPV6=on: IPv6 protocol support
     METALINK=off: Metalink support
     PROXY=on: Proxy support
     PSL=off: Public Suffix List support
     TLS_SRP=on: TLS-SRP (Secure Remote Password) support
====> Options available for the group PROTOCOL
     DICT=off: DICT (RFC 2229) support
     FTP=off: FTP protocol support
     GOPHER=off: Gopher protocol support
     HTTP=on: HTTP/HTTPS support
     HTTP2=on: HTTP/2 support (requires HTTP)
     IMAP=on: IMAP/IMAPS support
     LDAP=off: LDAP protocol support
     LDAPS=off: LDAP protocol over SSL support
     LIBSSH2=off: SCP/SFTP support via libssh2
     POP3=on: POP3/POP3S support
     RTMP=off: RTMP protocol support via librtmp
     RTSP=on: Real Time Streaming Protocol (RTSP) support
     SMB=off: SMB/CIFS support
     SMTP=on: SMTP/SMTPS support
     TELNET=off: Telnet support
     TFTP=off: TFTP support
====> GSSAPI Security API support: you have to select exactly one of them
     GSSAPI_BASE=off: GSSAPI support via base system (needs Kerberos)
     GSSAPI_HEIMDAL=off: GSSAPI support via security/heimdal
     GSSAPI_MIT=off: GSSAPI support via security/krb5
     GSSAPI_NONE=on: Disable GSSAPI support
====> DNS resolving options: you have to select exactly one of them
     CARES=off: Asynchronous DNS resolution via c-ares
     THREADED_RESOLVER=on: Threaded DNS resolver
====> SSL protocol support: you can only select none or one of them
     GNUTLS=off: SSL/TLS support via GnuTLS
     NSS=off: SSL/TLS support via NSS
     OPENSSL=on: SSL/TLS support via OpenSSL
     WOLFSSL=off: SSL/TLS support via wolfSSL
===> Use 'make config' to modify these settings
Comment 1 Trond Endrestøl 2019-04-13 13:53:01 UTC
Created attachment 203642 [details]
config.log from a manual build of math/R

The same curl related error occurs when building manually.
Comment 2 Trond Endrestøl 2019-04-19 16:30:56 UTC
False alarm. I'm sorry. ccache made a booboo. Recompiling ftp/curl and math/R with recache set to true in ccache.conf resolved the matter.

If there are no objections, I'd like to mark this PR as resolved and closed.
Comment 3 Joseph Mingrone freebsd_committer freebsd_triage 2019-04-19 16:32:38 UTC
Sounds good. Thanks.
Comment 4 Trond Endrestøl 2019-04-19 16:45:18 UTC
Don't let ccache fool you.