@jghodd: try to build with Clang;
env _CLANG=1 makepkg -sCf
Git Clone URL: | https://aur.archlinux.org/icecat.git (read-only, click to copy) |
---|---|
Package Base: | icecat |
Description: | GNU version of the Firefox ESR browser |
Upstream URL: | https://git.savannah.gnu.org/cgit/gnuzilla.git |
Keywords: | browser esr gnuzilla web |
Licenses: | MPL-2.0 |
Submitter: | None |
Maintainer: | figue (xiota) |
Last Packager: | xiota |
Votes: | 250 |
Popularity: | 0.38 |
First Submitted: | 2007-12-09 10:12 (UTC) |
Last Updated: | 2024-11-30 19:41 (UTC) |
« First ‹ Previous 1 .. 37 38 39 40 41 42 43 44 45 46 47 .. 86 Next › Last »
@jghodd: try to build with Clang;
env _CLANG=1 makepkg -sCf
@figue am getting build errors with 6.3.0-3. they appear to be simd related. is the pkgbuild missing a dependency?
btw, i do have the latest version of rust installed (1.33), and builds of 6.3.0-1 and 6.3.0-2 worked without errors. building with rust-1.33 seems to be the only difference with this release.
439:25.51 error[E0432]: unresolved import `simd_funcs`
439:25.52 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/x_user_defined.rs:16:13
439:25.52 |
439:25.52 16 | use simd_funcs::*;
439:25.55 | ^^^^^^^^^^ maybe a missing `extern crate simd_funcs;`?
439:25.56
439:25.57 error[E0432]: unresolved import `packed_simd`
439:25.58 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/x_user_defined.rs:17:13
439:25.58 |
439:25.59 17 | use packed_simd::u16x8;
439:25.59 | ^^^^^^^^^^^ maybe a missing `extern crate packed_simd;`?
439:25.60
439:29.12 error[E0425]: cannot find function `load16_unaligned` in this scope
439:29.12 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/x_user_defined.rs:120:34
439:29.12 |
439:29.13 120 | let input = unsafe { load16_unaligned(src_ptr.add(i * 16)) };
439:29.13 | ^^^^^^^^^^^^^^^^ not found in this scope
439:29.15
439:29.16 error[E0425]: cannot find function `simd_unpack` in this scope
439:29.17 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/x_user_defined.rs:121:35
439:29.17 |
439:29.19 121 | let (first, second) = simd_unpack(input);
439:29.20 | ^^^^^^^^^^^ not found in this scope
439:29.20
439:29.21 error[E0425]: cannot find function `store8_unaligned` in this scope
439:29.22 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/x_user_defined.rs:123:17
439:29.23 |
439:29.24 123 | store8_unaligned(dst_ptr.add(i * 16), shift_upper(first));
439:29.25 | ^^^^^^^^^^^^^^^^ not found in this scope
439:29.25
439:29.26 error[E0425]: cannot find function `store8_unaligned` in this scope
439:29.28 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/x_user_defined.rs:124:17
439:29.32 |
439:29.35 124 | store8_unaligned(dst_ptr.add((i * 16) + 8), shift_upper(second));
439:29.36 | ^^^^^^^^^^^^^^^^ not found in this scope
439:29.36
439:29.37 error[E0412]: cannot find type `u16x8` in this scope
439:29.37 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:121:40
439:29.39 |
439:29.39 121 | pub fn simd_at(&self, i: usize) -> u16x8 {
439:29.40 | ^^^^^ not found in this scope
439:29.41
439:29.42 error[E0425]: cannot find value `SIMD_STRIDE_SIZE` in this scope
439:29.42 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:122:21
439:29.43 |
439:29.44 122 | assert!(i + SIMD_STRIDE_SIZE / 2 <= self.len);
439:29.46 | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `ALU_STRIDE_SIZE`
439:29.46
439:29.47 error[E0425]: cannot find function `to_u16_lanes` in this scope
439:29.48 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:124:18
439:29.48 |
439:29.49 124 | unsafe { to_u16_lanes(load16_unaligned(self.ptr.add(byte_index))) }
439:29.51 | ^^^^^^^^^^^^ not found in this scope
439:29.51
439:29.52 error[E0425]: cannot find function `load16_unaligned` in this scope
439:29.53 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:124:31
439:29.53 |
439:29.54 124 | unsafe { to_u16_lanes(load16_unaligned(self.ptr.add(byte_index))) }
439:29.55 | ^^^^^^^^^^^^^^^^ not found in this scope
439:29.56
439:29.57 error[E0425]: cannot find value `SIMD_STRIDE_SIZE` in this scope
439:29.58 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:145:12
439:29.60 |
439:29.60 145 | if SIMD_STRIDE_SIZE / 2 <= self.len {
439:29.63 | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `ALU_STRIDE_SIZE`
439:29.63
439:29.63 error[E0425]: cannot find value `SIMD_STRIDE_SIZE` in this scope
439:29.64 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:146:47
439:29.66 |
439:29.67 146 | let len_minus_stride = self.len - SIMD_STRIDE_SIZE / 2;
439:29.68 | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `ALU_STRIDE_SIZE`
439:29.69
439:29.71 error[E0425]: cannot find function `simd_byte_swap` in this scope
439:29.71 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:150:28
439:29.72 |
439:29.73 150 | simd = simd_byte_swap(simd);
439:29.74 | ^^^^^^^^^^^^^^ not found in this scope
439:29.74
439:29.76 error[E0425]: cannot find function `store8_unaligned` in this scope
439:29.76 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:153:21
439:29.78 |
439:29.79 153 | store8_unaligned(other.as_mut_ptr().add(offset), simd);
439:29.80 | ^^^^^^^^^^^^^^^^ not found in this scope
439:29.82
439:29.83 error[E0425]: cannot find function `contains_surrogates` in this scope
439:29.83 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:155:20
439:29.83 |
439:29.84 155 | if contains_surrogates(simd) {
439:29.86 | ^^^^^^^^^^^^^^^^^^^ not found in this scope
439:29.86
439:29.87 error[E0425]: cannot find value `SIMD_STRIDE_SIZE` in this scope
439:29.87 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:158:27
439:29.88 |
439:29.90 158 | offset += SIMD_STRIDE_SIZE / 2;
439:29.91 | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `ALU_STRIDE_SIZE`
439:29.91
439:29.92 error[E0425]: cannot find value `SIMD_STRIDE_SIZE` in this scope
439:29.93 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:237:8
439:29.94 |
439:29.95 237 | if SIMD_STRIDE_SIZE <= len {
439:29.95 | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `ALU_STRIDE_SIZE`
439:29.97
439:29.98 error[E0425]: cannot find value `SIMD_STRIDE_SIZE` in this scope
439:29.98 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:238:38
439:29.98 |
439:30.00 238 | let len_minus_stride = len - SIMD_STRIDE_SIZE;
439:30.00 | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `ALU_STRIDE_SIZE`
439:30.01
439:30.02 error[E0425]: cannot find value `SIMD_STRIDE_SIZE` in this scope
439:30.03 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:241:52
439:30.05 |
439:30.07 241 | let mut second = src.simd_at(offset + (SIMD_STRIDE_SIZE / 2));
439:30.07 | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `ALU_STRIDE_SIZE`
439:30.10
439:30.11 error[E0425]: cannot find function `simd_byte_swap` in this scope
439:30.12 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:243:25
439:30.12 |
439:30.15 243 | first = simd_byte_swap(first);
439:30.15 | ^^^^^^^^^^^^^^ not found in this scope
439:30.16
439:30.17 error[E0425]: cannot find function `simd_byte_swap` in this scope
439:30.17 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:244:26
439:30.18 |
439:30.20 244 | second = simd_byte_swap(second);
439:30.20 | ^^^^^^^^^^^^^^ not found in this scope
439:30.22
439:30.22 error[E0425]: cannot find function `simd_is_basic_latin` in this scope
439:30.25 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:246:17
439:30.25 |
439:30.26 246 | if !simd_is_basic_latin(first | second) {
439:30.27 | ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `ascii_to_basic_latin`
439:30.27
439:30.28 error[E0425]: cannot find function `simd_pack` in this scope
439:30.29 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:249:26
439:30.30 |
439:30.33 249 | let packed = simd_pack(first, second);
439:30.33 | ^^^^^^^^^ not found in this scope
439:30.33
439:30.34 error[E0425]: cannot find function `store16_unaligned` in this scope
439:30.36 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:251:17
439:30.36 |
439:30.38 251 | store16_unaligned(dst.as_mut_ptr().add(offset), packed);
439:30.39 | ^^^^^^^^^^^^^^^^^ not found in this scope
439:30.39
439:30.41 error[E0425]: cannot find value `SIMD_STRIDE_SIZE` in this scope
439:30.42 --> /data/repository/icecat/src/icecat-60.3.0/third_party/rust/encoding_rs/src/handles.rs:253:23
439:30.46 |
439:30.47 253 | offset += SIMD_STRIDE_SIZE;
439:30.50 | ^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `ALU_STRIDE_SIZE`
439:30.52
440:06.70 error: aborting due to 25 previous errors
440:06.70
440:06.71 Some errors occurred: E0412, E0425, E0432.
440:06.73 For more information about an error, try `rustc --explain E0412`.
440:13.28 error: Could not compile `encoding_rs`.
@SArchB try the new release please... I'm still building into a slow machine, but it seems OK...
Hi, ever since the 7th march update I have been unable to compile icecat. I tried using env _CLANG=1 makepkg -sCf
but I keep getting the same error:
6:21.68 error: aborting due to 33 previous errors
6:21.68
6:21.68 error: Could not compile `simd`.
6:21.68
6:21.68 To learn more, run the command again with --verbose.
6:21.68 make[4]: *** [/home/username/Downloads/icecat/src/icecat-60.3.0/config/rules.mk:972: force-cargo-library-build] Error 101
6:21.68 make[3]: *** [/home/username/Downloads/icecat/src/icecat-60.3.0/config/recurse.mk:73: toolkit/library/rust/target] Error 2
6:21.68 make[3]: *** Waiting for unfinished jobs....
6:21.94 libxpcom_ds.a.desc
6:36.64 libmedia_libvpx.a.desc
8:26.04 libjs_src.a.desc
8:26.27 make[2]: *** [/home/username/Downloads/icecat/src/icecat-60.3.0/config/recurse.mk:33: compile] Error 2
8:26.27 make[1]: *** [/home/username/Downloads/icecat/src/icecat-60.3.0/config/rules.mk:434: default] Error 2
8:26.27 make: *** [client.mk:168: build] Error 2
8:26.28 39 compiler warnings present.
8:26.30 /usr/bin/notify-send --app-name=Mozilla Build System Mozilla Build System Build failed
==> ERROR: A failure occurred in build().
Aborting...
Could it be related to this: https://github.com/rust-lang/rust/issues/57940 ?
They advise compiling with --no-default-features --std
but I do not know how & where to translate that command into the buildproces of icecat?
@cysp74 thank you. Removed libvpx.
Hi,
Due to new libvpx 1.8.0-1, ffmpeg 1:4.1.1-2 packages, running of already built binaries failed.
Rebuild is also failing because there is a header incompatibility with new libvpx.
Building can be successful with removing/commenting "ac_add_options --with-system-libvpx" line in PKGBUILD.
Rgds
@figue I tried to compile it today and it worked fine with export _CLANG=1
. Weird but I guess a month of updates sorted things out on my system.
@gearshift yeah I rebuild first time you posted. It's weird. So try in ryzen first...
@figue yay is a pacman wrapper for the aur. I reinstalled rust and it's the same as your version. I tried it again with _CLANG=1 and regular makepkg -sCf and it still segfaulted. Does it rebuild on your end? The only thing I can think of is I recently got a 1st gen ryzen cpu so I will test it to see if I have the infamous compile segfault bug.
@gearshift I've never used yay... Did you verify that used CC is clang?
My rust is:
figue@pluto ~ % /usr/bin/rustc --version
rustc 1.32.0
you can try reinstalling rust...
Pinned Comments
xiota commented on 2024-02-26 07:32 (UTC) (edited on 2024-08-08 03:44 (UTC) by xiota)
PKGBUILD has been updated. Major changes:
Notes:
_build_pgo_xvfb=false
. This will usexwayland-run
for profiling._build_pgo=false
.mk_add_options MOZ_PARALLEL_BUILD=___
around line 300. Pick a value less than number of cores and free RAM in GB. For example, on a system with 8 cores, 64GB total RAM, but only 6 GB free, the value should be set to 4 or 5.libxul.so
. Leave a comment if you have a potential solution.Having problems? Please provide details: processor make and model, number of cores,
free -m
, full log in pastebin, whether using AUR helper/makepkg/clean chroot, etc.