[libxml2] add more features#30154
Conversation
… features, disable legacy flag by default
dg0yt
left a comment
There was a problem hiding this comment.
Please don't change the formatting.
The network features are controversial.
FTP is off by default upstream, so it should be off by default in vcpkg.
HTTP is on by default upstream, but this breaks uwp.
IMO both could be off by default because they are don't offer secure communication.
Ok.
FTP is off by default in the library, but it was enabled by default in VCPKG. Ok, I will follow library defaults.
HTTP and FTP are off on UWP in port's JSON: "ftp": {
"description": "Add the FTP support",
->"supports": "!uwp"
},
"http": {
"description": "Add the HTTP support",
->"supports": "!uwp"
}, |
They are not supported on UWP but still default features on all platforms. That's why the default installation is now broken for UWP. |
@dg0yt Thank you for the help. Can you explain how to find this error in CI log? I see only failing ffmpeg, but not libxml2. |
The last assumption is wrong, unfortunately. In CI, you can find this: i.e. it libxml2 would build for master, but now for your PR merged into master: i.e. libxml2 is already known to be unsupported and is not even considered for build, which in turn causes because is vcpkg-ci-ffmpeg is required to pass, but has unsatisfied requirements. |
|
You can probably also check locally with |
|
@yurybura There is a conflict in the code you submitted, and the conflict needs to be resolved before CI can run. |
|
@jimwang118 All checks have been done. |
|
All feature passed with following triplets: x86-windows |
Move hardcoded external dependencies (libiconv, liblzma, zlib) to features, disable legacy flag by default.