[kde-freebsd] ports/187374: CMake' s bundled libcurl is being built without ssl support

John Szakmeister john at szakmeister.net
Sun Mar 9 19:50:02 UTC 2014


The following reply was made to PR ports/187374; it has been noted by GNATS.

From: John Szakmeister <john at szakmeister.net>
To: bug-followup at FreeBSD.org, john at szakmeister.net
Cc:  
Subject: Re: ports/187374: CMake's bundled libcurl is being built without
 ssl support
Date: Sun, 9 Mar 2014 15:44:20 -0400

 I'm not sure why it passed the ports build QA, but I can't build from
 the ports collection right now.  It's failing with:
 
 /usr/ports/devel/cmake/work/cmake-2.8.12.1/Utilities/cmcurl/multi.c:1708:11:
 error: expected parameter declarator
 CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s,
           ^
 /usr/local/include/curl/multi.h:296:63: note: expanded from macro
 'curl_multi_socket'
 #define curl_multi_socket(x,y,z) curl_multi_socket_action(x,y,0,z)
                                                               ^
 /usr/ports/devel/cmake/work/cmake-2.8.12.1/Utilities/cmcurl/multi.c:1708:11:
 error: expected ')'
 /usr/local/include/curl/multi.h:296:63: note: expanded from macro
 'curl_multi_socket'
 #define curl_multi_socket(x,y,z) curl_multi_socket_action(x,y,0,z)
                                                               ^
 /usr/ports/devel/cmake/work/cmake-2.8.12.1/Utilities/cmcurl/multi.c:1708:11:
 note: to match this '('
 /usr/local/include/curl/multi.h:296:58: note: expanded from macro
 'curl_multi_socket'
 #define curl_multi_socket(x,y,z) curl_multi_socket_action(x,y,0,z)
                                                          ^
 /usr/ports/devel/cmake/work/cmake-2.8.12.1/Utilities/cmcurl/multi.c:1708:11:
 error: conflicting types for 'curl_multi_socket_action'
 CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s,
           ^
 /usr/local/include/curl/multi.h:296:34: note: expanded from macro
 'curl_multi_socket'
 #define curl_multi_socket(x,y,z) curl_multi_socket_action(x,y,0,z)
                                  ^
 /usr/local/include/curl/multi.h:284:23: note: previous declaration is here
 CURL_EXTERN CURLMcode curl_multi_socket_action(CURLM *multi_handle,
                       ^
 [ 20%] Building C object
 Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_entry_xattr.c.o
 /usr/ports/devel/cmake/work/cmake-2.8.12.1/Utilities/cmcurl/multi.c:1712:35:
 error: use of undeclared identifier 'running_handles'
                                   running_handles);
                                   ^
 4 errors generated.
 
 For reference, it built fine with the last recipe (but without SSL
 support), and if I comment out the CMAKE_USE_OPENSSL in the
 InitialCache.cmake, it builds fine (but again, without SSL support).
 It seems like something more is missing here. :-(
 
 -John


More information about the kde-freebsd mailing list