Firefox 58 (scheduled on 2018-01-16) will require Rust 1.21 to build. To avoid MFH pain the port needs to be updated before 2018Q1 is branched.
Maintainer informed via mail
The update is also required by mozilla-central buildbot[1]. It runs on -CURRENT, so rustup binaries are unusable until ino64, etc. ABI issues are resolved. [1] http://buildbot.rhaalovely.net/builders/mozilla-central-freebsd-amd64/
Hi! I have a local patch to update lang/rust to 1.21.0. The aarch64 bootstrap is also ready (but will be affected by the linker problem you reported). Unfortunately, the build hangs forever when compiling one of the crate (100% reproducible, also outside of Poudriere). I didn't have a chance to even do a search to see if the problem exists elsewhere :-/
Can't you regen i686/x86_64 bootstrap based on 10.3 package for Rust 1.20, similar to aarch64? For one, DragonFly used to do something similar. https://github.com/DragonFlyBSD/DeltaPorts/blob/ad5e910c9585/ports/lang/rust/Makefile.DragonFly
FWIW, all consumers built fine with Rust 1.21 on 10.3 i386 and 11.1 amd64.
I will try that, thanks!
After recreating the amd64 bootstraps from the FreeBSD 10.x package, I could build Rust 1.21.0. I will commit the patch tomorrow, after more tests in Poudriere.
Ping. mozilla-central as of today requires Rust 1.21.0. Also, the next package build will probably start tonight at 01:00 UTC.
I'm currently finishing the testing of the package. It took more time than expected to prepare working bootstraps. I hope to commit the patch in a couple hours.
A commit references this bug: Author: dumbbell Date: Sat Oct 28 09:13:21 UTC 2017 New revision: 453052 URL: https://svnweb.freebsd.org/changeset/ports/453052 Log: lang/rust: Update to 1.21.0 The official bootstraps wouldn't work: rustc was stalled on a mutex while compiling a crate early in the build. This was solved by creating a new bootstraps for "rustc" and "rust-std" from the existing FreeBSD package. We keep using the official "cargo" bootstrap. PR: 223123 Changes: head/lang/rust/Makefile head/lang/rust/distinfo
I needed to change one last thing I forgot on HEAD. Now, it builds fine on 10.3, 11.0 and HEAD (Firefox too).