-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[fix hooks] libarchive #3778
[fix hooks] libarchive #3778
Conversation
An unexpected error happened and has been reported. Help is on its way! 🏇 |
An unexpected error happened and has been reported. Help is on its way! 🏇 |
1 similar comment
An unexpected error happened and has been reported. Help is on its way! 🏇 |
Some configurations of 'libarchive/3.4.0' failed in build 4 (
|
🤔 I tried this configuration locally and it worked for me... any clue? |
This is the error https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4061?view=msvc-160 but I don't why it fails in the CI but not in my machine. Maybe it is due to the version of the compiler? |
I'm on Windows right now, lemme try to reproduce it. |
Some configurations of 'libarchive/3.4.0' failed in build 5 (
|
My version is a bit older, but I can reproduce it:
|
@danimtb It's a libarchive bug: libarchive/libarchive#1395 libarchive 3.4.0 doesn't support that profile, but 3.5.0 supports according that fix. |
thanks for the look into! Indeed it seems a bug from the library, but why it does not raise in my machine? This is my setup reported by CMake:
|
According to this discussion, it's a limitation with v142 toolset |
38db1a7
Some configurations of 'libarchive/3.4.0' failed in build 6 (
|
Okay, our CI is not running Conan 1.32.0. It's blocked. |
@danimtb should work well now (https://github.com/conan-io/conan-center-index/blob/master/docs/changelog.md#29-december-2020---1718-cet) |
Some configurations of 'libarchive/3.4.0' failed in build 7 (
|
Some configurations of 'libarchive/3.4.0' failed in build 8 (
|
All green in build 9 (
|
@danimtb Could you take advantage of this PR to bump dependencies, cache cmake and delete fPIC if shared please? I could modify this in another PR, but it would be a pity to generate another revision just for that. def requirements(self):
self.requires("zlib/1.2.11")
if self.options.with_bzip2:
self.requires("bzip2/1.0.8")
if self.options.with_openssl:
self.requires("openssl/1.1.1d") # => 1.1.1i
if self.options.with_lz4:
self.requires("lz4/1.9.2") # => 1.9.3
if self.options.with_zstd:
self.requires("zstd/1.4.3") # => 1.4.8
if self.options.with_lzma:
self.requires("xz_utils/5.2.4") # => 5.2.5
if self.options.with_libxml2:
self.requires("libxml2/2.9.9") # => 2.9.10
if self.options.with_expat:
self.requires("expat/2.2.7") # => 2.2.10
if self.options.with_iconv:
self.requires("libiconv/1.15") # => 1.16
if self.options.with_pcreposix:
self.requires("pcre/8.41") # => 8.44
# TODO: deps not covered yet: cng, nettle, libb2 |
@SpaceIm I would like it to be done it in another review. I do think that CI is not stable for this recipe, so it would be better to merge what already works. |
Agree with @mathbunnyru, I prefer to have this merged and stick to the initial goal of the PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok so let's this PR get merged quickly
This is the line SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /we4061") in libarchive CMakeList.txt that treats the harmless C4061 warning as an error. You can simple patch this line out to get libarchive compiled on VS 2019 again. |
Specify library name and version: libarchive/all
conan-center hook activated.