[Bug 257419] lang/rust: panic on armv7 at 'capacity overflow', library/alloc/src/raw_vec.rs:546:5

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Sep 2021 22:21:23 UTC

--- Comment #30 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mikael Urankar from comment #25)

I applied the patch from https://reviews.freebsd.org/D31872 then
had the port fetch. Then I substituted in to:


the 3 files from your area. Finally I substitued into
/usr/ports/lang/rust/distinfo (note the rust/2021-07-29/
prefixes in the SHA256 line's relative paths and the updated

SHA256 (rust/2021-07-29/rustc-1.54.0-armv7-unknown-freebsd.tar.xz) =
SIZE (rust/2021-07-29/rustc-1.54.0-armv7-unknown-freebsd.tar.xz) = 46448620
SHA256 (rust/2021-07-29/rust-std-1.54.0-armv7-unknown-freebsd.tar.xz) =
SIZE (rust/2021-07-29/rust-std-1.54.0-armv7-unknown-freebsd.tar.xz) = 18206828
SHA256 (rust/2021-07-29/cargo-1.54.0-armv7-unknown-freebsd.tar.xz) =
SIZE (rust/2021-07-29/cargo-1.54.0-armv7-unknown-freebsd.tar.xz) = 4542272

I've got lang/rust building in poudriere. So far it has not rejected
what I did. Anyhing else will be a separate poudriere bulk run.

(I was not familiar with any internals of rust's build structure.
Hopefully I noticed every appropriate that needed to be done.)

Note: I found that /usr/ports/distfiles/rust/crates/ had accumuated
many versions of materials going back into 2015. (I do not normally
build rust.) Appearently nothing cleans up the old content in this
area as things progress. So I cleared it out, hoping it would be
filled in as needed.

You are receiving this mail because:
You are on the CC list for the bug.