Are the time stamps actually restored on extract (when extracting with
CMake and ignoring the warning output)? Or do all files have "time of
extraction" as their modified times?


On Thu, Jan 27, 2011 at 11:37 AM, Daniel Pfeifer <dan...@pfeifer-mail.de> wrote:
> Hi David,
>
> Am Mittwoch, den 26.01.2011, 08:14 -0500 schrieb David Cole:
>> >From the libarchive source code, it looks like this message appears as
>> a "warning" and returns ARCHIVE_WARN.
>>
>> CMake spits out an error message whenever a libarchive function
>> returns anything other than ARCHIVE_OK.
>>
>> Perhaps we should detect ARCHIVE_WARN and only emit a "CMake Warning"
>> message rather than a "CMake Error".
>
> Yes, that would be better.
>
>> As to what could be causing it in the first place... perhaps there's a
>> permissions problem of some sort? Do you have full write permissions
>> in the directory where you are extracting? Do the files actually
>> appear afterwards even though you're seeing these messages? Is it a
>> "deep" path (long name)?
>
> I am working with an administrator account on Windows, so I don't think
> that permissions cause the problem. The paths are quite shallow (direct
> subdirectory of 'C:\').
> The files get extracted just fine. Maybe this warning can be safely
> ignored. It is just annoying that it produces so much output.
>
>> If you untar the same archive.tgz file with another tar tool, do you
>> get any warnings or errors from it?
>
> Works without any warnings. But maybe the warnings are just not
> displayed...
>
> cheers, Daniel
>
> _______________________________________________
> 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
>
_______________________________________________
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

Reply via email to