svn commit: r479877 - in head: lang/rust lang/rust/files mail/thunderbird/files www/firefox-esr/files www/firefox/files

Craig Leres leres at freebsd.org
Sun Sep 16 18:34:55 UTC 2018


On 9/15/18 10:57 PM, Jean-Sébastien Pédron wrote:
> Author: dumbbell
> Date: Sun Sep 16 07:57:08 2018
> New Revision: 479877
> URL:https://svnweb.freebsd.org/changeset/ports/479877
> 
> Log:
>    lang/rust: Update to 1.29.0

This doesn't build for me under 11.2-RELEASE-p3 (I've attached a 
poudriere build log). I see rust has a LIB_DEPENDS for security/libssh2 
(which is 1.8.0). But the new rust appears to have its own local copy of 
libssh 1.8.1 which is what's failing to build I assume because it's 
picking up the port's libssh2 include files instead of the port local copy.

I tried removing security/libssh2 from LIB_DEPENDS but that didn't fix 
it. I think what will work is to add the local libssh 1.8.1 to the 
include path.

		Craig

/wrkdirs/usr/ports/lang/rust/work/rustc-1.29.0-src/src/vendor/libssh2-sys/libssh2/src/channel.c:2262:44: 
error: use of undeclared identifier 'LIBSSH2_ERROR_CHANNEL_WINDOW_FULL'
             return _libssh2_error(session, 
LIBSSH2_ERROR_CHANNEL_WINDOW_FULL,
                                            ^
1 error generated.

/wrkdirs/usr/ports/lang/rust/work/rustc-1.29.0-src/src/vendor/libssh2-sys/libssh2/src/hostkey.c:526:10: 
error: use of undeclared identifier 'LIBSSH2_HOSTKEY_HASH_SHA256'
     case LIBSSH2_HOSTKEY_HASH_SHA256:
          ^
1 error generated.


More information about the svn-ports-head mailing list