GNU bug report logs -
#78558
[PATCH 0/2] firefox-based browsers: Remove testing/web-platform.
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Fri, 23 May 2025 04:23:04 UTC
Severity: normal
Tags: patch
Done: Ian Eure <ian <at> retrospec.tv>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 78558 in the body.
You can then email your comments to 78558 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#78558
; Package
guix-patches
.
(Fri, 23 May 2025 04:23:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nicolas Graves <ngraves <at> ngraves.fr>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 23 May 2025 04:23:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I recently noticed that I wasn't able to build firefox-based browsers
on my beefy computer ; I figured that the RAM can be cleaned up of the
testing/web-platform without consequences (other directories in
testing often include files that are used elsewhere in the
build-system).
It frees 800M of RAM at build time.
I also tried on Icecat but it looks like it already removes it.
Nicolas Graves (2):
gnu: make-librewolf-source: Delete testing/web-platform.
gnu: make-torbrowser: Delete testing/web-platform.
gnu/packages/librewolf.scm | 6 +++++-
gnu/packages/tor-browsers.scm | 2 ++
2 files changed, 7 insertions(+), 1 deletion(-)
--
2.49.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#78558
; Package
guix-patches
.
(Fri, 23 May 2025 04:26:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 78558 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/librewolf.scm (make-librewolf-source): Delete
testing/web-platform. This frees more than 800M of RAM during the
build. Removing it seems to be enough to allow build on some
machines.
---
gnu/packages/librewolf.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/librewolf.scm b/gnu/packages/librewolf.scm
index 063a89420f..b733709b03 100644
--- a/gnu/packages/librewolf.scm
+++ b/gnu/packages/librewolf.scm
@@ -193,7 +193,11 @@ (define* (make-librewolf-source #:key version firefox-hash librewolf-hash l10n)
(search-patches
"librewolf-compare-paths.patch"
"librewolf-use-system-wide-dir.patch"
- "librewolf-add-store-to-rdd-allowlist.patch")))))
+ "librewolf-add-store-to-rdd-allowlist.patch"))
+ ;; XXX: 75 Mo (800+ Mo uncompressed) of unused tests.
+ ;; Removing it makes it possible to compile on some systems.
+ (modules '((guix build utils)))
+ (snippet #~(delete-file-recursively "testing/web-platform")))))
;;; Define the versions of rust needed to build firefox, trying to match
;;; upstream. See table at [0], `Uses' column for the specific version.
--
2.49.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#78558
; Package
guix-patches
.
(Fri, 23 May 2025 04:26:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 78558 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/tor-browsers.scm (make-torbrowser): Delete
testing/web-platform. This frees more than 800M of RAM during the
build. Removing it seems to be enough to allow build on some
machines.
---
gnu/packages/tor-browsers.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/tor-browsers.scm b/gnu/packages/tor-browsers.scm
index d59d123182..06729699cf 100644
--- a/gnu/packages/tor-browsers.scm
+++ b/gnu/packages/tor-browsers.scm
@@ -433,6 +433,8 @@ (define* (make-torbrowser #:key
;; UNBUNDLE-ME! "gfx/graphite2"
"js/src/ctypes/libffi"
;; UNBUNDLE-ME! "db/sqlite3"
+ ;; 800Mo of unused tests.
+ "testing/web-platform"
))))
(add-after 'remove-bundled-libraries 'fix-ffmpeg-runtime-linker
(lambda* (#:key inputs #:allow-other-keys)
--
2.49.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#78558
; Package
guix-patches
.
(Sat, 24 May 2025 17:53:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 78558 <at> debbugs.gnu.org (full text, mbox):
Hi Nicolas,
Nicolas Graves <ngraves <at> ngraves.fr> writes:
> I recently noticed that I wasn't able to build firefox-based
> browsers
> on my beefy computer ; I figured that the RAM can be cleaned up
> of the
> testing/web-platform without consequences (other directories in
> testing often include files that are used elsewhere in the
> build-system).
>
> It frees 800M of RAM at build time.
Looks good to me, pushed!
Thanks,
-- Ian
bug closed, send any further explanations to
78558 <at> debbugs.gnu.org and Nicolas Graves <ngraves <at> ngraves.fr>
Request was from
Ian Eure <ian <at> retrospec.tv>
to
control <at> debbugs.gnu.org
.
(Sat, 24 May 2025 17:54:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 22 Jun 2025 11:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 76 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.