[libssh] Update to v0.11.2#46734
[libssh] Update to v0.11.2#46734TimSC wants to merge 9 commits intomicrosoft:masterfrom TimSC:updatelibssh
Conversation
|
@microsoft-github-policy-service agree |
|
During Any ideas? I'm not that familiar with cmake. |
I don't know why the port would expect to find |
|
https://gitlab.com/libssh/libssh-mirror/-/blob/master/CMakeLists.txt#L102 This should be changed to |
|
All changes: The pc file thing didn't even change 🤔 |
dg0yt
left a comment
There was a problem hiding this comment.
Please keep the port concise.
|
@dg0yt I've attempted to address all your comments. Do all the CI pipeline tests have to pass? I'm a little confused as to what might be causing errors. |
|
CI has to pass. The pc file stuff is still not complete. Don't add another pc file installation. Just make the existing one work everywhere. |
|
That makes sense. I see the last update passes CI on all platforms and was authored by you @dg0yt #39734 In the avcpp build error (x64-windows-static) log: I'm not sure how to diagnose the problem beyond that though. I'm not that familiar with cmake. Someone else might need to take on this PR to finish it. |
|
I believe this change was caused by https://git.libssh.org/projects/libssh.git/commit/src/CMakeLists.txt?id=6ad455a8acfe6032c2a87cf83f2d20463c30f8af vcpkg always chooses the OpenSSL TLS provider so it's pretty easy to author a patch that just adds the missing I filed https://gitlab.com/libssh/libssh-mirror/-/issues/318 |
I guess I could finish the PR. |
|
(I suppose it's also a problem that we are missing other find_dependency calls, for example, |
It is not "the pc file". It is two of them when we need only one. |
|
And they use pthread mostly without linking them ... how far can we get with this? |
|
Thanks for looking into this guys! |
|
Already included in #46794 . Thank you both! |
|
@BillyONeal thanks for the report! I commented in the gitlab issue. I see that there is also half a dozen of other patches here. If some of them can be upstreamed, I think it would be useful for everyone. For example the pkg-config is obviously also a windows thing (or at least for some configuration) so adjusting this upstream would be great: I also see some android patches brought in by various people. Is there reason why they are not upstreamed? |
This happens when they come as tiny drive-by fixes in a different context. Or/and when the port is already too outdated for immediate upstreaming. Or/and when the presence of the issue indicates the upstream doesn't "support" that platform or that build type (static library linkage). Or/and when the contributor gets tired ;-) Sometimes it is not an easy walk. vcpkg:
upstreams often
|


./vcpkg x-add-version --alland committing the result.I notice this didn't get merged (update to 0.11.1) #40896