View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014250CMakeCMakepublic2013-06-27 15:332013-12-02 08:51
ReporterJohn Ralls 
Assigned ToBrad King 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionfixed 
PlatformMacOSOSXOS Version10.9
Product VersionCMake 2.8.11 
Target VersionCMake 2.8.11.2Fixed in VersionCMake 2.8.11.2 
Summary0014250: CMake build fails due to Curl bug 1192
DescriptionThe latest llvm headers define strlcat as a macro rather than as a function, producing the following error when building CMake:

Scanning dependencies of target cmcurl
[ 14%] Building C object Utilities/cmcurl/CMakeFiles/cmcurl.dir/cookie.c.o
In file included from /Users/john/Development/gtk-sources/cmake-2.8.11/Utilities/cmcurl/cookie.c:93:
/Users/john/Development/gtk-sources/cmake-2.8.11/Utilities/cmcurl/strequal.h:42:8: error:
      expected parameter declarator
size_t strlcat(char *dst, const char *src, size_t siz);
       ^
/Applications/Xcode5-DP.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_string.h:111:44: note:
      expanded from macro 'strlcat'
  __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
                                           ^
/Applications/Xcode5-DP.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_common.h:39:62: note:
      expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_...
                                                             ^
/Applications/Xcode5-DP.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_common.h:30:32: note:
      expanded from macro '_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
                               ^
Additional InformationThis has already been fixed in curl:
http://sourceforge.net/p/curl/bugs/1192/ [^]
TagsNo tags attached.
Attached Filespatch file icon 5dd8c014+0001-cmcurl-Backport-curl-bug-1192-fix-14250.patch [^] (5,947 bytes) 2013-06-27 16:51 [Show Content]

 Relationships

  Notes
(0033395)
Brad King (manager)
2013-06-27 16:51

Please test "5dd8c014+0001-cmcurl-Backport-curl-bug-1192-fix-14250.patch".
(0033405)
John Ralls (reporter)
2013-06-28 18:49

Yes, that fixes it. Thanks.
(0033406)
Brad King (manager)
2013-06-28 18:56

Applied, thanks for testing:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e643e025 [^]
(0034631)
Robert Maynard (manager)
2013-12-02 08:51

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-06-27 15:33 John Ralls New Issue
2013-06-27 16:51 Brad King File Added: 5dd8c014+0001-cmcurl-Backport-curl-bug-1192-fix-14250.patch
2013-06-27 16:51 Brad King Note Added: 0033395
2013-06-28 18:49 John Ralls Note Added: 0033405
2013-06-28 18:56 Brad King Note Added: 0033406
2013-06-28 18:56 Brad King Assigned To => Brad King
2013-06-28 18:56 Brad King Status new => resolved
2013-06-28 18:56 Brad King Resolution open => fixed
2013-06-28 18:56 Brad King Fixed in Version => CMake 2.8.12
2013-06-28 18:56 Brad King Target Version => CMake 2.8.12
2013-07-03 15:53 Robert Maynard Target Version CMake 2.8.12 => CMake 2.8.11.2
2013-07-03 15:56 Robert Maynard Fixed in Version CMake 2.8.12 => CMake 2.8.11.2
2013-12-02 08:51 Robert Maynard Note Added: 0034631
2013-12-02 08:51 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team