And in the chroot, it seems to go through fine until it throws a lot of rust errors:
I also needed:
CFLAGS="${CFLAGS/-fno-plt/}"
CXXFLAGS="${CXXFLAGS/-fno-plt/}"
enabled to prevent the earlier issue
1:09.01 Compiling crossbeam-queue v0.1.2
1:09.55 error[E0557]: feature has been removed
1:09.55 --> /build/librewolf/src/firefox-93.0/third_party/rust/packed_simd/src/lib.rs:203:5
1:09.55 |
1:09.55 203 | const_generics,
1:09.55 | ^^^^^^^^^^^^^^ feature has been removed
1:09.55 |
1:09.55 = note: removed in favor of `#![feature(adt_const_params]` and `#![feature(generic_const_exprs)]`
1:10.67 Compiling idna v0.2.0
1:10.99 Compiling hashlink v0.6.0
1:11.13 Compiling fallible_collections v0.4.2
1:11.16 error: type parameters must be declared prior to const parameters
1:11.16 --> /build/librewolf/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:20:54
1:11.16 |
1:11.16 20 | pub unsafe fn __shuffle_vector2<const IDX: [u32; 2], T, U>(x: T, y: T) -> U
1:11.16 | ----------------------^--^- help: reorder the parameters: lifetimes, then types, then consts: `<T, U, const IDX: [u32; 2]>`
1:11.16 error: type parameters must be declared prior to const parameters
1:11.16 --> /build/librewolf/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:30:54
1:11.16 |
1:11.16 30 | pub unsafe fn __shuffle_vector4<const IDX: [u32; 4], T, U>(x: T, y: T) -> U
1:11.16 | ----------------------^--^- help: reorder the parameters: lifetimes, then types, then consts: `<T, U, const IDX: [u32; 4]>`
1:11.17 error: type parameters must be declared prior to const parameters
1:11.17 --> /build/librewolf/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:40:54
1:11.17 |
1:11.17 40 | pub unsafe fn __shuffle_vector8<const IDX: [u32; 8], T, U>(x: T, y: T) -> U
1:11.17 | ----------------------^--^- help: reorder the parameters: lifetimes, then types, then consts: `<T, U, const IDX: [u32; 8]>`
1:11.17 error: type parameters must be declared prior to const parameters
1:11.17 --> /build/librewolf/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:50:56
1:11.17 |
1:11.17 50 | pub unsafe fn __shuffle_vector16<const IDX: [u32; 16], T, U>(x: T, y: T) -> U
1:11.17 | -----------------------^--^- help: reorder the parameters: lifetimes, then types, then consts: `<T, U, const IDX: [u32; 16]>`
1:11.17 error: type parameters must be declared prior to const parameters
1:11.17 --> /build/librewolf/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:60:56
1:11.17 |
1:11.17 60 | pub unsafe fn __shuffle_vector32<const IDX: [u32; 32], T, U>(x: T, y: T) -> U
1:11.17 | -----------------------^--^- help: reorder the parameters: lifetimes, then types, then consts: `<T, U, const IDX: [u32; 32]>`
1:11.17 error: type parameters must be declared prior to const parameters
1:11.17 --> /build/librewolf/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:70:56
1:11.17 |
1:11.17 70 | pub unsafe fn __shuffle_vector64<const IDX: [u32; 64], T, U>(x: T, y: T) -> U
1:11.17 | -----------------------^--^- help: reorder the parameters: lifetimes, then types, then consts: `<T, U, const IDX: [u32; 64]>`
1:11.50 Compiling cubeb-sys v0.9.0
1:11.56 Compiling unic-langid v0.9.0
1:12.54 chrome
1:12.56 Compiling rustc_version v0.2.3
1:12.95 Compiling gpu-descriptor-types v0.1.1
1:13.11 Compiling gpu-alloc-types v0.2.0
1:13.14 Compiling quote v1.0.9
1:13.51 Compiling ffi-support v0.4.3
1:13.52 Compiling dogear v0.4.0
1:13.58 Compiling tokio-current-thread v0.1.6
1:13.79 Compiling tokio-timer v0.2.11
1:14.04 Compiling time v0.1.43
1:14.08 Compiling iovec v0.1.4
1:14.21 error: `[u32; 2]` is forbidden as the type of a const generic parameter
1:14.21 --> /build/librewolf/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:20:44
1:14.21 |
1:14.21 20 | pub unsafe fn __shuffle_vector2<const IDX: [u32; 2], T, U>(x: T, y: T) -> U
1:14.21 | ^^^^^^^^
1:14.21 |
1:14.21 = note: the only supported types are integers, `bool` and `char`
1:14.21 = help: more complex types are supported with `#![feature(adt_const_params)]`
1:14.21 error: `[u32; 4]` is forbidden as the type of a const generic parameter
1:14.21 --> /build/librewolf/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:30:44
1:14.21 |
1:14.21 30 | pub unsafe fn __shuffle_vector4<const IDX: [u32; 4], T, U>(x: T, y: T) -> U
1:14.21 | ^^^^^^^^
1:14.21 |
1:14.21 = note: the only supported types are integers, `bool` and `char`
1:14.21 = help: more complex types are supported with `#![feature(adt_const_params)]`
1:14.21 error: `[u32; 8]` is forbidden as the type of a const generic parameter
1:14.21 --> /build/librewolf/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:40:44
1:14.21 |
1:14.21 40 | pub unsafe fn __shuffle_vector8<const IDX: [u32; 8], T, U>(x: T, y: T) -> U
1:14.21 | ^^^^^^^^
1:14.21 |
1:14.21 = note: the only supported types are integers, `bool` and `char`
1:14.21 = help: more complex types are supported with `#![feature(adt_const_params)]`
1:14.21 error: `[u32; 16]` is forbidden as the type of a const generic parameter
1:14.21 --> /build/librewolf/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:50:45
1:14.21 |
1:14.21 50 | pub unsafe fn __shuffle_vector16<const IDX: [u32; 16], T, U>(x: T, y: T) -> U
1:14.21 | ^^^^^^^^^
1:14.21 |
1:14.21 = note: the only supported types are integers, `bool` and `char`
1:14.21 = help: more complex types are supported with `#![feature(adt_const_params)]`
1:14.21 error: `[u32; 32]` is forbidden as the type of a const generic parameter
1:14.21 --> /build/librewolf/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:60:45
1:14.21 |
1:14.21 60 | pub unsafe fn __shuffle_vector32<const IDX: [u32; 32], T, U>(x: T, y: T) -> U
1:14.21 | ^^^^^^^^^
1:14.21 |
1:14.21 = note: the only supported types are integers, `bool` and `char`
1:14.21 = help: more complex types are supported with `#![feature(adt_const_params)]`
1:14.21 error: `[u32; 64]` is forbidden as the type of a const generic parameter
1:14.21 --> /build/librewolf/src/firefox-93.0/third_party/rust/packed_simd/src/codegen/llvm.rs:70:45
1:14.21 |
1:14.21 70 | pub unsafe fn __shuffle_vector64<const IDX: [u32; 64], T, U>(x: T, y: T) -> U
1:14.21 | ^^^^^^^^^
1:14.21 |
1:14.21 = note: the only supported types are integers, `bool` and `char`
1:14.21 = help: more complex types are supported with `#![feature(adt_const_params)]`
1:14.25 Compiling num_cpus v1.13.0
1:14.33 Compiling atty v0.2.14
1:14.38 Compiling net2 v0.2.37
1:14.38 Compiling hashglobe v0.1.0 (/build/librewolf/src/firefox-93.0/servo/components/hashglobe)
1:14.43 Compiling zeitstempel v0.1.1
1:14.50 Compiling memmap2 v0.2.3
1:15.03 Compiling raw-window-handle v0.3.3
1:15.15 Compiling dirs-sys v0.3.5
1:15.16 Compiling freetype v0.7.0
1:15.23 Compiling pulse-ffi v0.1.0 (https://github.com/mozilla/cubeb-pulse-rs?rev=0d168cc5be8865b21694b1b0c5a1c810de104e46#0d168cc5)
1:15.25 Compiling libudev-sys v0.1.3 (/build/librewolf/src/firefox-93.0/dom/webauthn/libudev-sys)
1:15.28 Compiling socket2 v0.3.19
1:15.60 Compiling memmap2 v0.3.0
1:15.85 Compiling memmap v0.7.0
1:16.44 Compiling aho-corasick v0.7.18
1:16.67 For more information about this error, try `rustc --explain E0557`.
1:16.70 The following warnings were emitted during compilation:
1:16.70 warning: Cannot set `RUSTC_BOOTSTRAP=1` from build script of `packed_simd v0.3.4 (https://github.com/hsivonen/packed_simd?rev=6a16f954950401b92b4e220fbf2dfaf6f00e1fb2#6a16f954)`.
1:16.70 note: Crates cannot set `RUSTC_BOOTSTRAP` themselves, as doing so would subvert the stability guarantees of Rust for your project.
1:16.70 error: could not compile `packed_simd` due to 13 previous errors
1:16.70 warning: build failed, waiting for other jobs to finish...
1:16.70 config/external/ffi
1:16.75 config/external/icu/common
1:17.02 /build/librewolf/src/firefox-93.0/js/src/ctypes/libffi/src/closures.c:748:29: warning: comparison of integers of different signs: 'off_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
1:17.02 off_t to_write = (len < page_size) ? len : page_size;
1:17.02 ~~~ ^ ~~~~~~~~~
1:17.28 config/external/icu/data/icu_data.o
1:17.46 /build/librewolf/src/firefox-93.0/js/src/ctypes/libffi/src/java_raw_api.c:328:46: warning: 'ffi_java_raw_size' is deprecated [-Wdeprecated-declarations]
1:17.46 ffi_java_raw *raw = (ffi_java_raw*)alloca (ffi_java_raw_size (cif));
1:17.46 ^
1:17.46 /build/librewolf/src/firefox-93.0/obj/js/src/ctypes/libffi/include/ffi.h:299:56: note: 'ffi_java_raw_size' has been explicitly marked deprecated here
1:17.46 size_t ffi_java_raw_size (ffi_cif *cif) __attribute__((deprecated));
1:17.46 ^
1:17.46 /build/librewolf/src/firefox-93.0/js/src/ctypes/libffi/src/java_raw_api.c:331:3: warning: 'ffi_java_ptrarray_to_raw' is deprecated [-Wdeprecated-declarations]
1:17.46 ffi_java_ptrarray_to_raw (cif, avalue, raw);
1:17.46 ^
1:17.46 /build/librewolf/src/firefox-93.0/obj/js/src/ctypes/libffi/include/ffi.h:295:93: note: 'ffi_java_ptrarray_to_raw' has been explicitly marked deprecated here
1:17.46 void ffi_java_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_java_raw *raw) __attribute__((deprecated));
1:17.46 ^
1:17.51 2 warnings generated.
1:17.62 1 warning generated.
1:18.13 config/external/ffi/unix64.o
1:18.24 config/external/ffi/win64.o
1:20.03 config/external/icu/i18n
1:21.40 config/external/rlbox
1:21.61 devtools/platform
1:21.71 devtools/shared/heapsnapshot
1:22.25 docshell/base
1:22.27 docshell/base/timeline
1:25.46 docshell/build
1:25.60 docshell/shistory
1:25.67 dom/abort
1:25.73 dom/animation
1:26.22 dom/audiochannel
1:26.45 dom/base
1:26.70 dom/battery
1:28.98 dom/bindings
1:29.14 dom/broadcastchannel
1:30.54 dom/cache
1:36.06 dom/canvas
1:38.06 dom/clients/api
1:38.08 dom/clients/manager
2:15.29 dom/commandhandler
2:20.05 dom/console
2:21.92 error: build failed
2:21.95 make[4]: *** [/build/librewolf/src/firefox-93.0/config/makefiles/rust.mk:406: force-cargo-library-build] Error 101
2:21.95 make[3]: *** [/build/librewolf/src/firefox-93.0/config/recurse.mk:72: toolkit/library/rust/target] Error 2
2:21.95 make[3]: *** Waiting for unfinished jobs....
3:55.97 make[2]: *** [/build/librewolf/src/firefox-93.0/config/recurse.mk:34: compile] Error 2
3:55.97 make[1]: *** [/build/librewolf/src/firefox-93.0/config/rules.mk:358: default] Error 2
3:55.99 make: *** [client.mk:65: build] Error 2
3:56.04 4 compiler warnings present.
Config object not found by mach.
Configure complete!
Be sure to run |mach build| to pick up any changes
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
lsf commented on 2025-01-01 21:28 (UTC)
Please refrain from abusing the flagging of a package as out of date for build issues. This is not what it is supposed to be used for.
I automatically get notified of comments to this package. I do not need to be notified of whatever build problems occur (whether they are an individual's problems or the actual package's problems) twice, and not via flagging it out of date.
Issues with this package can also be reported at https://codeberg.org/librewolf/issues/issues (as it is also maintained there, at https://codeberg.org/librewolf/arch, too).