From owner-svn-ports-all@freebsd.org Thu Jan 3 04:26:08 2019 Return-Path: Delivered-To: svn-ports-all@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 5789F143DCDD; Thu, 3 Jan 2019 04:26:08 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EADA688819; Thu, 3 Jan 2019 04:26:07 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D36F41C077; Thu, 3 Jan 2019 04:26:07 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x034Q7JS060215; Thu, 3 Jan 2019 04:26:07 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x034Q7cG060214; Thu, 3 Jan 2019 04:26:07 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201901030426.x034Q7cG060214@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Thu, 3 Jan 2019 04:26:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r489132 - head/lang/rust-nightly X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/lang/rust-nightly X-SVN-Commit-Revision: 489132 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: EADA688819 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.957,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.998,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2019 04:26:08 -0000 Author: jbeich Date: Thu Jan 3 04:26:07 2019 New Revision: 489132 URL: https://svnweb.freebsd.org/changeset/ports/489132 Log: lang/rust-nightly: skip optional tools on bustage As r488649 and r489131 have shown upstream doesn't block Nightly updates on errors in optional components. Do the same to avoid lagging behind updates or the package disappearing due to undertesting. src/bootstrap/dist.rs 1150: }).or_else(|| { missing_tool("RLS", builder.build.config.missing_tools); None })?; 1229: }).or_else(|| { missing_tool("clippy", builder.build.config.missing_tools); None })?; 1233: }).or_else(|| { missing_tool("cargo clippy", builder.build.config.missing_tools); None })?; 1310: }).or_else(|| { missing_tool("Rustfmt", builder.build.config.missing_tools); None })?; 1314: }).or_else(|| { missing_tool("Cargofmt", builder.build.config.missing_tools); None })?; Modified: head/lang/rust-nightly/Makefile (contents, props changed) Modified: head/lang/rust-nightly/Makefile ============================================================================== --- head/lang/rust-nightly/Makefile Thu Jan 3 03:49:57 2019 (r489131) +++ head/lang/rust-nightly/Makefile Thu Jan 3 04:26:07 2019 (r489132) @@ -33,4 +33,10 @@ nightly-post-patch: # https://github.com/rust-lang/rust/pull/57184 @${REINPLACE_CMD} '/RUSTC_DENY_WARNINGS/d' ${WRKSRC}/src/bootstrap/builder.rs +post-configure: nightly-post-configure +nightly-post-configure: +# Don't abort if optional tools fail to build +# https://github.com/rust-lang/rust/commit/53254a888b42 + @${ECHO_CMD} 'missing-tools = true' >>${WRKSRC}/config.toml + .include "${MASTERDIR}/Makefile"