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

Re: Mozilla Software on Sparc64/Linux





On Tue, Nov 23, 2021 at 10:56 PM John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
Hi!

On 11/23/21 22:34, Connor McLaughlan wrote:
> Should i go up or down with the rustc version?

You need to go down since you need a Rust version that is less strict
with macros.

> Or is there another way to fix it?

As I said, the best way is to work on the NodeJS workaround that the Solaris
developers are using. I might write something down for that tomorrow and then
you can try whether you can get it working.

Adrian

--
 .''`.  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,

both rustc 1.31 and 1.32 fail during configure:

checking rustc version... 1.32.0
checking cargo version... 1.31.0
DEBUG: Executing: `/usr/bin/rustc --crate-type staticlib --target=sparc64-unknown-linux-gnu -o /tmp/conftestz9qzPs.rlib /tmp/conftestveP467.rs`
DEBUG: The command returned non-zero exit status 101.
DEBUG: Its error output was:
DEBUG: | thread 'main' panicked at 'specified instant was later than self', src/libstd/sys/unix/time.rs:298:17
DEBUG: | note: Run with `RUST_BACKTRACE=1` for a backtrace.
DEBUG: |
DEBUG: | error: internal compiler error: unexpected panic
DEBUG: |
DEBUG: | note: the compiler unexpectedly panicked. this is a bug.
DEBUG: |
DEBUG: | note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
DEBUG: |
DEBUG: | note: rustc 1.32.0 running on sparc64-unknown-linux-gnu
DEBUG: |
DEBUG: | note: compiler flags: --crate-type staticlib
DEBUG: |
ERROR: Cannot compile for sparc64-unknown-linux-gnu with /usr/bin/rustc
The target may be unsupported, or you may not have
a rust std library for that target installed. Try:

  rustup target add sparc64-unknown-linux-gnu

make[1]: *** [debian/rules:205: stamps/configure-browser] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:321: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2021-11-25T17:02:23Z


I suppose sbuild cleans everything between builds..or do i need to clean something?

Otherwise i will go higher or back to rustc 1.35 which worked well and try to comment out the restriction with the documentation:

"To build with current Rust, you also need to remove #![deny(missing_docs)] from servo/components/style/lib.rs and servo/components/style_traits/lib.rs."


Regards,
Connor


Reply to: