Skip to content
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

[libxml2] lzma is enabled by default in vcpkg, contradicting the upstream config #44627

Open
saschanaz opened this issue Mar 26, 2025 · 0 comments · May be fixed by #44633
Open

[libxml2] lzma is enabled by default in vcpkg, contradicting the upstream config #44627

saschanaz opened this issue Mar 26, 2025 · 0 comments · May be fixed by #44633
Assignees
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist

Comments

@saschanaz
Copy link

Is your feature request related to a problem? Please describe.

https://github.com/GNOME/libxml2/blob/dd4c0f62fa1fd9650aae6b718dd9964a4ffa69b9/CMakeLists.txt#L35C8-L35C26

option(LIBXML2_WITH_LZMA "Use liblzma" OFF)

"default-features": [
"iconv",
"lzma",
"zlib"
],

This difference causes link failure when building lxml from source as it does not link liblzma.

Proposed solution

Turn the lzma feature off by default

Describe alternatives you've considered

One can reinstall libxml2 with lzma disabled, but such discrepancy with the upstream will keep causing confusion.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants