On 2013-07-24 13:18-0400 Brad King wrote:

On 07/21/2013 04:19 PM, Alan W. Irwin wrote:
So on MSYS platforms the command-line tools
are working fine for manipulating xz-compressed tarballs, but

cmake -E tar xfz test.tar.xz

fails (and also appears to be using the unxz command-line tool
that is not correctly finding the xz-compressed tarball).

I suspect this is a trivial issue since the xz-related command-line
tools all work on MSYS, but as always the difficult thing to do with
CMake is to find where the issue is occurring.  I starting looking in
Utilities/cmlibarchive/libarchive, but any additional guidance would
be appreciated.

CMake's build of libarchive does not enable built-in lzma support.
Libarchive responds by trying to run a command-line tool to handle
the data, probably "xz" in this case.  Something about the MSYS
xz trying to run from inside a CMake process environment may cause
the problem.

The first priority is to verify on Microsoft Windows that this is
actually an issue using the the simple test I outlined in my previous
post.  But Wine has been pretty reliable for me so assuming that
verification is done, I think you have given a likely explanation of
the issue.  I would be happy to try and verify that is the issue
within CMake but I am having some trouble deciphering what is going on
in Utilities/cmlibarchive.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to