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

Cy Schubert Cy.Schubert at cschubert.com
Mon Sep 17 12:53:11 UTC 2018


In message <0a896f2c-79d5-3ec9-e00e-6676c557a4e4 at freebsd.org>, Craig 
Leres writ
es:
> 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/lib
> ssh2/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/lib
> ssh2/src/hostkey.c:526:10: 
> error: use of undeclared identifier 'LIBSSH2_HOSTKEY_HASH_SHA256'
>      case LIBSSH2_HOSTKEY_HASH_SHA256:
>           ^
> 1 error generated.

Yes, the issue is this:

slippy$ ag LIBSSH2_ERROR_CHANNEL_WINDOW_FULL src/vendor/libssh2-sys/libs
sh2/include/libssh2.h
486:#define LIBSSH2_ERROR_CHANNEL_WINDOW_FULL       -47
slippy$ ag LIBSSH2_ERROR_CHANNEL_WINDOW_FULL /usr/local/include/libssh/l
ibssh.h
slippy$ 


-- 
Cheers,
Cy Schubert <Cy.Schubert at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.




More information about the svn-ports-all mailing list