-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[libarchive] Fix static linking dependencies #16082
Conversation
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.
Please also bump Port-Version
in CONTROL file.
Also use the command vcpkg x-add-version libarchive
to update the files in versions
folder.
https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/maintainer-guide.md#update-the-version-files-in-versions-of-any-modified-ports
3ec45c0
to
9199e69
Compare
Sorry I forgot to commit the updated CONTROL file when running |
9199e69
to
3a7179b
Compare
I have to idea why the x64_linux CI tests failed. |
|
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
The failures on x64-linux are not related with this PR. I have rerun to rebuild. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
I'm unable to reproduce the x64-linux error locally. Running The errors in windows triplets seems irrelevant. They failed due to some network errors. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
It's quite surprising that it's trying to link against glib. The cmake port doesn't depend on the glib port at all (not even intermediately, glib is not installed when I built cmake in a clean vcpkg installation). I guess the reason why I'm unable to reproduce the error is that my Arch Linux environment already has the library available under |
cc @ras0219 @ras0219-msft Thanks. |
Strangely, after removing libglib-2.0.so from /usr/lib, build fails with another error
So I still have no idea why it's unable to find the glib library in the CI build... |
Could you please resolve the conflicts? |
3a7179b
to
81e04fe
Compare
@NancyLi1013 Rebased. |
LGTM now, thanks for your patience @DDoSolitary. |
Fix configuration of libarchive's dependencies zstd and zlib, which would otherwise cause undefined symbols error when linking statically.