Package Details: icecat 115.18.0-1

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.34
First Submitted: 2007-12-09 10:12 (UTC)
Last Updated: 2024-11-30 19:41 (UTC)

Dependencies (51)

Sources (10)

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:

  • Downloads Firefox ESR and localization using the source array. Files are saved for reuse.
  • Saves freshly patched IceCat sources in a tarball for reuse.
  • Saves the PGO profile for reuse.

Notes:

  • Currently requires clang/llvm 17, which has to be built from AUR.
  • Wayland users, consider setting _build_pgo_xvfb=false. This will use xwayland-run for profiling.
  • PGO should work now, but if it doesn't and you're willing to go without, try _build_pgo=false.
  • Running out of RAM? Try adding 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.
    • If a few people can confirm this is helpful, I will consider adding it as an additional option.
    • Main resource hog seems to be linking 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.

Latest Comments

« First ‹ Previous 1 .. 36 37 38 39 40 41 42 43 44 45 46 .. 86 Next › Last »

figue commented on 2019-05-05 21:59 (UTC)

I've decided to radically modify the build process and use the makeicecat to build an unreleased version of IceCat, following the Guix philosophy.

This makes a bit longer the build process, because makeicecat download the tarball and patches a lot of things. In fact, it does some things for Debian which I have to disable (patching makeinstall script).

Please, report if something is broken or if I miss something. I've tested today IceCat and it seems good to me.

jghodd commented on 2019-04-18 23:02 (UTC)

@figue i don't know how reliable chroot is anymore either. i have a system running the 32-bit version of my distro which i use for pkgbuilds. i'll look around a little in case this same error is coming up elsewhere, but if i had to guess, it's probably because arch32 lags behind and something is not up to date. to work around this issue permanently, i may have to switch my 32-bit users over to icecat-bin instead. thanks for the help.

figue commented on 2019-04-18 21:53 (UTC)

@jghodd sorry I don't have an i686 platform. And don't know if chroot is reliable...

jghodd commented on 2019-04-18 20:57 (UTC)

@figue same errors. no change.

i should add that the 64-bit build works fine. these errors are coming from the 32-bit build.

figue commented on 2019-04-18 01:40 (UTC)

@jghodd: try to build with Clang;

env _CLANG=1 makepkg -sCf

jghodd commented on 2019-04-17 03:25 (UTC) (edited on 2019-04-17 03:56 (UTC) by jghodd)

@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`.

figue commented on 2019-04-04 16:01 (UTC)

@SArchB try the new release please... I'm still building into a slow machine, but it seems OK...

SArchB commented on 2019-04-04 07:27 (UTC) (edited on 2019-04-04 07:31 (UTC) by SArchB)

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?

figue commented on 2019-03-07 11:42 (UTC)

@cysp74 thank you. Removed libvpx.

cysp74 commented on 2019-03-06 07:48 (UTC)

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