Date: Thu, 3 Jan 2019 04:26:07 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r489132 - head/lang/rust-nightly Message-ID: <201901030426.x034Q7cG060214@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901030426.x034Q7cG060214>