[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257419

--- 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:

/usr/ports/distfiles/rust/2021-07-29/

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
sizes):

SHA256 (rust/2021-07-29/rustc-1.54.0-armv7-unknown-freebsd.tar.xz) =
3927fc48020b3b94bdbaf160720664b4a6cdeb6f96b3415d7026326873e20368
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) =
bc80b15a9ba60c66250d1b31fb610941205b3a2d2787021a5bdb96e667b28d45
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) =
b0d89e13cc35a943ba3da5de5247d97d6b3dac0abcd331736bc9176e413e8eee
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.