[MacPorts] #67177: R does not configure in Rosetta after curl update to 8.x: error: libcurl >= 7.28.0 library and headers are required with support for https

MacPorts noreply at macports.org
Sat Apr 1 13:48:18 UTC 2023


#67177: R does not configure in Rosetta after curl update to 8.x: error: libcurl >=
7.28.0 library and headers are required with support for https
--------------------------+------------------------
 Reporter:  barracuda156  |      Owner:  i0ntempest
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:                |       Port:  R
--------------------------+------------------------
 {{{
 checking for curl-config... /opt/local/bin/curl-config
 checking libcurl version ... 8.0.1
 checking for curl/curl.h... yes
 checking if libcurl is version 7 and >= 7.28.0... no
 configure: error: libcurl >= 7.28.0 library and headers are required with
 support for https
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3"
 && ./configure --prefix=/opt/local/Library/Frameworks --enable-openmp
 --enable-R-framework --enable-memory-profiling --enable-R-shlib --enable-
 BLAS-shlib --with-cairo --disable-java --with-included-gettext --disable-
 openmp --without-blas --without-lapack --with-recommended-packages --with-
 tcltk --with-tcl-config=/opt/local/lib/tclConfig.sh --with-tk-
 config=/opt/local/lib/tkConfig.sh --with-x
 --x-include=/opt/local/include/X11 --x-lib=/opt/local/lib
 Exit code: 1
 }}}

 Config log has:
 {{{
 | #define HAVE_CURL_CURL_H 1
 | /* end confdefs.h.  */
 |
 | #include <stdlib.h>
 | #include <curl/curl.h>
 | int main(int argc, const char * argv[])
 | {
 | #ifdef LIBCURL_VERSION_MAJOR
 | #if LIBCURL_VERSION_MAJOR > 7
 |   exit(1);
 | #elif LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR >= 28
 |   exit(0);
 | #else
 |   exit(1);
 | #endif
 | #else
 |   exit(1);
 | #endif
 | }
 |
 configure:47632: result: no
 configure:47693: error: libcurl >= 7.28.0 library and headers are required
 with support for https
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67177>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list