View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014866CMakeCMakepublic2014-04-08 08:272014-10-06 10:33
ReporterMike Crowe 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformDebianOSGNU/LinuxOS Version7.2
Product VersionCMake 2.8.12.2 
Target VersionCMake 3.1Fixed in VersionCMake 3.1 
Summary0014866: CMake's ENABLE_ACL option does not stop CMake looking for libacl.h
DescriptionI'd like to build cmake without including libacl.h even when libacl.h is available. This doesn't appear to be possible because the LA_CHECK_INCLUDE_FILE("acl/libacl.h" HAVE_ACL_LIBACL_H) in Utilities/cmlibarchive/CMakeLists.txt is run even when ENABLE_ACL is zero.
Additional InformationThis is required when building cmake-native under OpenEmbedded to avoid sporadic build failures if libacl.h disappears part way through the build.

The attached patch fixes this for me. I can now pass -DENABLE_ACL=0 and libacl.h is not used.
TagsNo tags attached.
Attached Filespatch file icon support-disable-libacl.patch [^] (707 bytes) 2014-04-08 08:27 [Show Content]

 Relationships
related to 0014867closed Not possible to pass options like -DENABLE_ACL through configure when bootstrapping cmake 

  Notes
(0035656)
Brad King (manager)
2014-04-08 08:54

Thanks. I will apply this patch soon.

Meanwhile you should be able to use -DHAVE_ACL_LIBACL_H=0 to turn this off.
(0035691)
Brad King (manager)
2014-04-14 09:35

Applied, thanks:

 libarchive: Skip finding libacl.h when ENABLE_ACL is OFF
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d9b59179 [^]
(0036971)
Robert Maynard (manager)
2014-10-06 10:33

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

 Issue History
Date Modified Username Field Change
2014-04-08 08:27 Mike Crowe New Issue
2014-04-08 08:27 Mike Crowe File Added: support-disable-libacl.patch
2014-04-08 08:50 Brad King Relationship added related to 0014867
2014-04-08 08:54 Brad King Note Added: 0035656
2014-04-14 09:35 Brad King Note Added: 0035691
2014-04-14 09:35 Brad King Assigned To => Brad King
2014-04-14 09:35 Brad King Status new => resolved
2014-04-14 09:35 Brad King Resolution open => fixed
2014-04-14 09:35 Brad King Fixed in Version => CMake 3.1
2014-04-14 09:35 Brad King Target Version => CMake 3.1
2014-10-06 10:33 Robert Maynard Note Added: 0036971
2014-10-06 10:33 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team