Date: Sat, 8 Mar 2014 13:39:38 GMT From: John Szakmeister <john@szakmeister.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/187374: CMake's bundled libcurl is being built without ssl support Message-ID: <201403081339.s28Ddc3B038488@cgiserv.freebsd.org> Resent-Message-ID: <201403081340.s28De0dL046264@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 187374 >Category: ports >Synopsis: CMake's bundled libcurl is being built without ssl support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 08 13:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: John Szakmeister >Release: 10 >Organization: >Environment: FreeBSD freebsd-10.local 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Dependencies are now being hosted more on GitHub, which uses ssl for everything--including to download archives. Unfortunately, when using the "file(DOWNLOAD ...)" mechanism to download an archive from GitHub results in a zero-byte file and an error like: CMake Error at download-libuv.cmake:22 (message): error: downloading 'https://github.com/joyent/libuv/archive/v0.11.21.tar.gz' failed status_code: 1 status_string: "unsupported protocol" log: libcurl was built with SSL disabled, https: not supported! unsupported protocol >How-To-Repeat: Put this into a file (like download-libuv.cmake): file(DOWNLOAD "https://github.com/joyent/libuv/archive/v0.11.21.tar.gz" "/tmp/libuv/v0.11.21.tar.gz" SHOW_PROGRESS # EXPECTED_HASH;MD5=bc334c8da8618754ce9e2a4c5be73487 # no TIMEOUT STATUS status LOG log) list(GET status 0 status_code) list(GET status 1 status_string) if(NOT status_code EQUAL 0) message(FATAL_ERROR "error: downloading 'https://github.com/joyent/libuv/archive/v0.11.21.tar.gz' failed status_code: ${status_code} status_string: ${status_string} log: ${log} ") endif() Then run it with "cmake -P download-libuv.cmake". >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403081339.s28Ddc3B038488>