all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26361: Icecat patches
@ 2017-04-04 14:05 Clément Lassieur
  2017-04-04 14:08 ` bug#26361: [PATCH 1/2] gnu: icecat: Use bundled ICU to avoid crashes Clément Lassieur
  2017-04-04 17:18 ` bug#26361: Icecat patches Marius Bakke
  0 siblings, 2 replies; 7+ messages in thread
From: Clément Lassieur @ 2017-04-04 14:05 UTC (permalink / raw)
  To: 26361; +Cc: Andreas Enge

The first patch fixes the crash (see
http://lists.gnu.org/archive/html/guix-devel/2017-04/msg00091.html).

The second re-enables parallel build.  I don't know why it was
disabled.  Andreas, please comment if you think it should not be
re-enabled :)

Clément

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#26361: [PATCH 1/2] gnu: icecat: Use bundled ICU to avoid crashes.
  2017-04-04 14:05 bug#26361: Icecat patches Clément Lassieur
@ 2017-04-04 14:08 ` Clément Lassieur
  2017-04-04 14:08   ` bug#26361: [PATCH 2/2] gnu: icecat: Re-enable parallel build Clément Lassieur
  2017-04-04 17:12   ` bug#26361: [PATCH 1/2] gnu: icecat: Use bundled ICU to avoid crashes Clément Lassieur
  2017-04-04 17:18 ` bug#26361: Icecat patches Marius Bakke
  1 sibling, 2 replies; 7+ messages in thread
From: Clément Lassieur @ 2017-04-04 14:08 UTC (permalink / raw)
  To: 26361

gnu/packages/gnuzilla.scm (icecat)[arguments] <#:configure-flags>:
Temporarily comment out "--with-system-icu".
---
 gnu/packages/gnuzilla.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 76a65f09e..adf72e41e 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
+;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -509,7 +510,11 @@ standards.")
                            "--with-system-jpeg"        ; must be libjpeg-turbo
                            "--with-system-libevent"
                            "--with-system-libvpx"
-                           "--with-system-icu"
+
+                           ;; FIXME: It is preferable to build with system
+                           ;; libraries, but this fixes crashes.
+                           ;; "--with-system-icu"
+
                            "--with-system-nspr"
                            "--with-system-nss"
                            "--enable-system-pixman"
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* bug#26361: [PATCH 2/2] gnu: icecat: Re-enable parallel build.
  2017-04-04 14:08 ` bug#26361: [PATCH 1/2] gnu: icecat: Use bundled ICU to avoid crashes Clément Lassieur
@ 2017-04-04 14:08   ` Clément Lassieur
  2017-04-04 17:12   ` bug#26361: [PATCH 1/2] gnu: icecat: Use bundled ICU to avoid crashes Clément Lassieur
  1 sibling, 0 replies; 7+ messages in thread
From: Clément Lassieur @ 2017-04-04 14:08 UTC (permalink / raw)
  To: 26361

gnu/packages/gnuzilla.scm (icecat)[arguments]: Re-enable parallel build.
---
 gnu/packages/gnuzilla.scm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index adf72e41e..74063cfb7 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -473,7 +473,6 @@ standards.")
     (arguments
      `(#:tests? #f          ; no check target
        #:out-of-source? #t  ; must be built outside of the source directory
-       #:parallel-build? #f
 
        ;; XXX: There are RUNPATH issues such as
        ;; $prefix/lib/icecat-31.6.0/plugin-container NEEDing libmozalloc.so,
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* bug#26361: [PATCH 1/2] gnu: icecat: Use bundled ICU to avoid crashes.
  2017-04-04 14:08 ` bug#26361: [PATCH 1/2] gnu: icecat: Use bundled ICU to avoid crashes Clément Lassieur
  2017-04-04 14:08   ` bug#26361: [PATCH 2/2] gnu: icecat: Re-enable parallel build Clément Lassieur
@ 2017-04-04 17:12   ` Clément Lassieur
  1 sibling, 0 replies; 7+ messages in thread
From: Clément Lassieur @ 2017-04-04 17:12 UTC (permalink / raw)
  To: 26361

> gnu/packages/gnuzilla.scm (icecat)[arguments] <#:configure-flags>:
^
I forgot the * here.  I'll add it when I push.  Same with the other
patch.

> Temporarily comment out "--with-system-icu".

> ---
>  gnu/packages/gnuzilla.scm | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
> index 76a65f09e..adf72e41e 100644
> --- a/gnu/packages/gnuzilla.scm
> +++ b/gnu/packages/gnuzilla.scm
> @@ -5,6 +5,7 @@
>  ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
>  ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
>  ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
> +;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -509,7 +510,11 @@ standards.")
>                             "--with-system-jpeg"        ; must be libjpeg-turbo
>                             "--with-system-libevent"
>                             "--with-system-libvpx"
> -                           "--with-system-icu"
> +
> +                           ;; FIXME: It is preferable to build with system
> +                           ;; libraries, but this fixes crashes.
> +                           ;; "--with-system-icu"
> +
>                             "--with-system-nspr"
>                             "--with-system-nss"
>                             "--enable-system-pixman"

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#26361: Icecat patches
  2017-04-04 14:05 bug#26361: Icecat patches Clément Lassieur
  2017-04-04 14:08 ` bug#26361: [PATCH 1/2] gnu: icecat: Use bundled ICU to avoid crashes Clément Lassieur
@ 2017-04-04 17:18 ` Marius Bakke
  2017-04-04 18:23   ` Clément Lassieur
  1 sibling, 1 reply; 7+ messages in thread
From: Marius Bakke @ 2017-04-04 17:18 UTC (permalink / raw)
  To: Clément Lassieur, 26361; +Cc: Andreas Enge

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

Clément Lassieur <clement@lassieur.org> writes:

> The first patch fixes the crash (see
> http://lists.gnu.org/archive/html/guix-devel/2017-04/msg00091.html).
>
> The second re-enables parallel build.  I don't know why it was
> disabled.  Andreas, please comment if you think it should not be
> re-enabled :)

I can confirm that these two patches work for me. No crashes so far, and
*much* faster build time. I'd say ship it :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#26361: Icecat patches
  2017-04-04 17:18 ` bug#26361: Icecat patches Marius Bakke
@ 2017-04-04 18:23   ` Clément Lassieur
  2017-04-04 21:41     ` ng0
  0 siblings, 1 reply; 7+ messages in thread
From: Clément Lassieur @ 2017-04-04 18:23 UTC (permalink / raw)
  To: Marius Bakke; +Cc: Andreas Enge, 26361

Marius Bakke <mbakke@fastmail.com> writes:

> Clément Lassieur <clement@lassieur.org> writes:
>
>> The first patch fixes the crash (see
>> http://lists.gnu.org/archive/html/guix-devel/2017-04/msg00091.html).
>>
>> The second re-enables parallel build.  I don't know why it was
>> disabled.  Andreas, please comment if you think it should not be
>> re-enabled :)
>
> I can confirm that these two patches work for me. No crashes so far, and
> *much* faster build time. I'd say ship it :)

Pushed!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#26361: Icecat patches
  2017-04-04 18:23   ` Clément Lassieur
@ 2017-04-04 21:41     ` ng0
  0 siblings, 0 replies; 7+ messages in thread
From: ng0 @ 2017-04-04 21:41 UTC (permalink / raw)
  To: Clément Lassieur; +Cc: 26361, Andreas Enge

Clément Lassieur transcribed 0.5K bytes:
> Marius Bakke <mbakke@fastmail.com> writes:
> 
> > Clément Lassieur <clement@lassieur.org> writes:
> >
> >> The first patch fixes the crash (see
> >> http://lists.gnu.org/archive/html/guix-devel/2017-04/msg00091.html).
> >>
> >> The second re-enables parallel build.  I don't know why it was
> >> disabled.  Andreas, please comment if you think it should not be
> >> re-enabled :)
> >
> > I can confirm that these two patches work for me. No crashes so far, and
> > *much* faster build time. I'd say ship it :)
> 
> Pushed!
> 
> 
> 

Many thanks!

Also: I think that moved the compile time for icecat from ~3 hours down
to 30 minutes, excluding grafting (other updates are still running).

Excellent :)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-04-04 21:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-04 14:05 bug#26361: Icecat patches Clément Lassieur
2017-04-04 14:08 ` bug#26361: [PATCH 1/2] gnu: icecat: Use bundled ICU to avoid crashes Clément Lassieur
2017-04-04 14:08   ` bug#26361: [PATCH 2/2] gnu: icecat: Re-enable parallel build Clément Lassieur
2017-04-04 17:12   ` bug#26361: [PATCH 1/2] gnu: icecat: Use bundled ICU to avoid crashes Clément Lassieur
2017-04-04 17:18 ` bug#26361: Icecat patches Marius Bakke
2017-04-04 18:23   ` Clément Lassieur
2017-04-04 21:41     ` ng0

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.