Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2018 05:52:59 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        Craig Leres <leres@freebsd.org>
Cc:        =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= <dumbbell@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r479877 - in head: lang/rust lang/rust/files  mail/thunderbird/files www/firefox-esr/files www/firefox/files
Message-ID:  <201809171252.w8HCqx3V071797@slippy.cwsent.com>
In-Reply-To: Message from Craig Leres <leres@freebsd.org> of "Sun, 16 Sep 2018 11:34:48 -0700." <0a896f2c-79d5-3ec9-e00e-6676c557a4e4@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <0a896f2c-79d5-3ec9-e00e-6676c557a4e4@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@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809171252.w8HCqx3V071797>