Am Sonntag, 27. Mai 2012 um 10:41:01, schrieb Eric Noulard <[email protected]> [ snip ] > I understand the will of distro packager to build cmake using "SYSTEM" lib > but (I think that) this cannot be tested on all system combination so > may be they should do some regression testing when doing that. > May be we can suggest that distros packager run a CMake dashboard > with their own "configuration" problem with this being that they may > apply patches that may triggers red flags which may not be upstream > concerns...
I am now in the process of compiling myself. The first compilation was ok. It
works
but has "CMAKE_USE_SYSTEM_LIBARCHIVE:BOOL=OFF"
...
Setting to "ON", I get the same behaviour as previously in the ubuntu version.
Since cpack is calling "cmake -E tar ...", so we should change
"Source/cmArchiveWrite.cxx" I suppose.
But, cpack seems also to use libarchive.
So the patch looks ok (on ubuntu) for cmake but not for cpack.
Korneldiff --git a/Source/cmArchiveWrite.cxx b/Source/cmArchiveWrite.cxx
index dc6b749..74586ec 100644
--- a/Source/cmArchiveWrite.cxx
+++ b/Source/cmArchiveWrite.cxx
@@ -123,9 +123,9 @@ cmArchiveWrite::cmArchiveWrite(std::ostream& os, Compress c, Type t):
}
break;
case TypeTAR:
- if(archive_write_set_format_pax_restricted(this->Archive) != ARCHIVE_OK)
+ if(archive_write_set_format_gnutar(this->Archive) != ARCHIVE_OK)
{
- this->Error = "archive_write_set_format_pax_restricted: ";
+ this->Error = "archive_write_set_format_gnutar: ";
this->Error += archive_error_string(this->Archive);
return;
}
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
