From 38d5e1e295c1d33e1acce27c9a1cc61c2f31d963 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 9 Sep 2021 20:09:43 +0200 Subject: extra/firefox: do not build symbols (FS32#174) --- extra/firefox/PKGBUILD | 15 ++++++++++++--- extra/firefox/mozconfig-i686.patch | Bin 727 -> 742 bytes extra/firefox/mozconfig-pentium4.patch | Bin 658 -> 673 bytes 3 files changed, 12 insertions(+), 3 deletions(-) (limited to 'extra/firefox') diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD index 74d7d6ff..63e84640 100644 --- a/extra/firefox/PKGBUILD +++ b/extra/firefox/PKGBUILD @@ -4,7 +4,7 @@ # set correct compiler and toochain tools if [ "${CARCH}" = "pentium4" ]; then source+=('mozconfig-pentium4.patch') - sha256sums+=('feff56a60ab5b96982f950e5ced76516256564b68976c6cc5ed13e284d0f4b36') + sha256sums+=('ca75f01d9c56fff5de04395ec91b65fb87d94bc8d10acd44472d50ca8deaeda6') eval "$( declare -f prepare | \ sed ' @@ -14,7 +14,7 @@ eval "$( fi if [ "${CARCH}" = "i686" ]; then source+=('mozconfig-i686.patch') - sha256sums+=('06e51017d43369fefdc65a6321b07d3fd18802449b56a167767eefd5e88e65a8') + sha256sums+=('3de39ec7cdb2305ae635666e2909739c44d2270a8733faff90d5439c92149cdd') eval "$( declare -f prepare | \ sed ' @@ -201,5 +201,14 @@ fi #zilla::dom::AccessibleNode> > >::EntryHandle>&&>’ #11:28.22 2933 | using invoke_result_t = typename invoke_result<_Fn, _Args...>:: #type; - makedepends+=(gcc10) + +# do not build and phone back symbols, fails anyway with: +# "panic occurred at library/alloc/src/raw_vec.rs:537: capacity overflow\n" in +# dump_syms (see also FS32#174) +eval "$( + declare -f package | \ + sed ' + /export SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE/,/fi/{s/\(.*\)/#\1/g} + ' +)" diff --git a/extra/firefox/mozconfig-i686.patch b/extra/firefox/mozconfig-i686.patch index 8d1fa667..bfe954a0 100644 Binary files a/extra/firefox/mozconfig-i686.patch and b/extra/firefox/mozconfig-i686.patch differ diff --git a/extra/firefox/mozconfig-pentium4.patch b/extra/firefox/mozconfig-pentium4.patch index 03965a7a..ff2b1602 100644 Binary files a/extra/firefox/mozconfig-pentium4.patch and b/extra/firefox/mozconfig-pentium4.patch differ -- cgit v1.2.3-54-g00ecf