Date: Sun, 16 Sep 2018 11:34:48 -0700 From: Craig Leres <leres@freebsd.org> To: =?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: <0a896f2c-79d5-3ec9-e00e-6676c557a4e4@freebsd.org> In-Reply-To: <201809160757.w8G7v8Ca070585@repo.freebsd.org> References: <201809160757.w8G7v8Ca070585@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0a896f2c-79d5-3ec9-e00e-6676c557a4e4>