[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mozilla Software on Sparc64/Linux





On Sat, Nov 20, 2021 at 11:01 AM John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
On 11/19/21 17:21, Connor McLaughlan wrote:
> Now it is stuck at a rustc compile error:
>
>    Compiling url v1.7.0
> error[E0713]: borrow may still be in use when destructor runs
>    --> /<<PKGBUILDDIR>>/third_party/rust/url/src/form_urlencoded.rs:261:40

I would suggest downloading and installing rustc 1.29 from snapshots [1] which
should be easier than starting to update the individual Rust components of the
Firefox sources.

Adrian

> [1] https://snapshot.debian.org/package/rustc/1.29.0%2Bdfsg1-1/

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Hello Adrian,

i entered  the chroot and installed rustc 1.29 from snapshot.

However when i execute sbuild, 1.29 gets replaced with 1.56 automatically:

Selecting previously unselected package libstd-rust-1.56:sparc64.
Preparing to unpack .../12-libstd-rust-1.56_1.56.0+dfsg1-2_sparc64.deb ...
Unpacking libstd-rust-1.56:sparc64 (1.56.0+dfsg1-2) ...
Preparing to unpack .../13-rustc_1.56.0+dfsg1-2_sparc64.deb ...
Unpacking rustc (1.56.0+dfsg1-2) over (1.29.0+dfsg1-1) ...
Preparing to unpack .../14-libstd-rust-dev_1.56.0+dfsg1-2_sparc64.deb ...
Unpacking libstd-rust-dev:sparc64 (1.56.0+dfsg1-2) over (1.29.0+dfsg1-1) ...

How do i prevent it?

Do i need to modify control.in and set it to 1.29 exactly:

rustc (>= 1.24) -> rustc (= 1.29)


Regards,
Connor

Reply to: