From owner-svn-ports-head@freebsd.org Sun Sep 16 18:34:55 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4A1D10A78C8; Sun, 16 Sep 2018 18:34:54 +0000 (UTC) (envelope-from leres@freebsd.org) Received: from xse.com (xse.com [IPv6:2607:f2f8:abb8::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "xse.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40FB77BCAD; Sun, 16 Sep 2018 18:34:54 +0000 (UTC) (envelope-from leres@freebsd.org) Received-SPF: pass (dot.xse.com: authenticated connection) receiver=dot.xse.com; client-ip=2001:558:6045:10:9084:9e0:4b6d:eb99; helo=ice.alameda.xse.com; envelope-from=leres@freebsd.org; x-software=spfmilter 2.001 http://www.acme.com/software/spfmilter/ with libspf2-1.2.10; Received: from ice.alameda.xse.com (ice.xse.com [IPv6:2001:558:6045:10:9084:9e0:4b6d:eb99]) (authenticated bits=0) by dot.xse.com (8.15.2/8.15.2) with ESMTPSA id w8GIYmAI068518 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sun, 16 Sep 2018 11:34:51 -0700 (PDT) (envelope-from leres@freebsd.org) X-Authentication-Warning: dot.xse.com: Host ice.xse.com [IPv6:2001:558:6045:10:9084:9e0:4b6d:eb99] claimed to be ice.alameda.xse.com Subject: Re: svn commit: r479877 - in head: lang/rust lang/rust/files mail/thunderbird/files www/firefox-esr/files www/firefox/files To: =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <201809160757.w8G7v8Ca070585@repo.freebsd.org> From: Craig Leres Message-ID: <0a896f2c-79d5-3ec9-e00e-6676c557a4e4@freebsd.org> Date: Sun, 16 Sep 2018 11:34:48 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0.1 MIME-Version: 1.0 In-Reply-To: <201809160757.w8G7v8Ca070585@repo.freebsd.org> Content-Language: en-US X-Virus-Scanned: clamav-milter 0.100.1 at dot.xse.com X-Virus-Status: Clean Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2018 18:34:55 -0000 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.