-
Notifications
You must be signed in to change notification settings - Fork 767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performing Test HAVE_LZMA_STREAM_ENCODER_MT - Failed #816
Comments
You didn't include the actual cmake log and I don't even know if your distribution is shipping a version of liblzma that has working MT encoding. E.g. Debian certainly ships broken versions of it. |
@jsonn We are using xz-5.2.2 as liblzma I'll try to provide cmake log |
@tpgxyz any news on this? |
I reproduced this issue, test fails with
seems to make it finally succeed. |
@jsonn @mmatuska Here are the logs sorry for the delay. With @codicodi suggests i've prepared patch: Building with patch applied i get: |
This reverts commit 5f70aa2. Additional information needed in libarchive#816
@mmatuska @kientzle Ok, i've tried 3.3.0 version unfortunately i got See logs here I've sent a PR #875 |
I'm not sure if this is the problem others are having, but in my case the HAVE_LZMA_STREAM_ENCODER_MT test is failing (with 3.3.2) because I'm using liblzma as a static library. The relevant lines from CMakeError.log:
CMake correctly sets LZMA_API_STATIC in the resulting project output (which builds correctly with or without HAVE_LZMA_STREAM_ENCODER_MT) because the initial WITHOUT_LZMA_API_STATIC test fails, but it still sets WITHOUT_LZMA_API_STATIC, not LZMA_API_STATIC, when it performs the HAVE_LZMA_STREAM_ENCODER_MT test. |
there are no official tarball for 3.3.0 release on libarchive.org :(
Yes, there is:
https://libarchive.org/downloads/
But you should use the current 3.3.2 release instead.
Tim
|
Looks like test for HAVE_LZMA_STREAM_ENCODER_MT is wrong as it always fails, and finally libarchive is not compiled with MT support, which does have negative impact on overall performance.
Logs can be found here:
http://file-store.openmandriva.org/api/v1/file_stores/c859a292f42a4ee076b98a173626f4ecaa9eb61f.log?show=true
The text was updated successfully, but these errors were encountered: