pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Rust amd64 build failure.



* On 2023-06-30 at 22:28 BST, Jan-Hinrich Fessel wrote:

warning: libssh2/src/kex.c: In function 'diffie_hellman_sha_algo':
warning: libssh2/src/kex.c:259:34: error: 'LIBSSH2_DH_MAX_MODULUS_BITS' undeclared (first use in this function); did you mean 'OPENSSL_DH_MAX_MODULUS_BITS'?
warning:   259 |         if(_libssh2_bn_bits(p) > LIBSSH2_DH_MAX_MODULUS_BITS) {
warning:       |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
warning:       |                                  OPENSSL_DH_MAX_MODULUS_BITS
[...]
error: failed to run custom build command for `libssh2-sys v0.2.23`
[...]

Yes I see this in some of my builds too ever since libssh2 was updated.

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index