all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 0/1] Fix OpenEXR on i686, dependency of LibreOffice
@ 2016-03-10 20:12 Leo Famulari
  2016-03-10 20:12 ` [PATCH 1/1] gnu: openexr: Disable broken test to fix build on i686 Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2016-03-10 20:12 UTC (permalink / raw)
  To: guix-devel

Currently, OpenEXR fails to build on i686 due to a test failure. This
breaks LibreOffice on that platform, too.

According to this upstream bug report, it is safe to disable the test in
question:
https://github.com/openexr/openexr/issues/67#issuecomment-21169748

So, here's a patch making that change.

Thoughts?

Leo Famulari (1):
  gnu: openexr: Disable broken test to fix build on i686.

 gnu/packages/graphics.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

-- 
2.6.3

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

* [PATCH 1/1] gnu: openexr: Disable broken test to fix build on i686.
  2016-03-10 20:12 [PATCH 0/1] Fix OpenEXR on i686, dependency of LibreOffice Leo Famulari
@ 2016-03-10 20:12 ` Leo Famulari
  2016-03-11 14:41   ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2016-03-10 20:12 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/graphics.scm (openexr)[arguments]: New field.
---
 gnu/packages/graphics.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index c022d74..3c5ad72 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -206,6 +206,20 @@ exception-handling library.")
                    "\"/tmp/\"")))
               (patches (list (search-patch "openexr-missing-samples.patch")))))
     (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'disable-broken-test
+         ;; This test fails on i686. Upstream developers suggest that
+         ;; this test is broken on i686 and can be safely disabled:
+         ;; https://github.com/openexr/openexr/issues/67#issuecomment-21169748
+           (lambda _
+             (substitute* "IlmImfTest/main.cpp"
+               (("#include \"testOptimizedInterleavePatterns.h\"")
+                 "//#include \"testOptimizedInterleavePatterns.h\"")
+               (("TEST \\(testOptimizedInterleavePatterns")
+                 "//TEST (testOptimizedInterleavePatterns"))
+             #t)))))
     (native-inputs
      `(("pkg-config" ,pkg-config)))
     (propagated-inputs
-- 
2.6.3

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

* Re: [PATCH 1/1] gnu: openexr: Disable broken test to fix build on i686.
  2016-03-10 20:12 ` [PATCH 1/1] gnu: openexr: Disable broken test to fix build on i686 Leo Famulari
@ 2016-03-11 14:41   ` Ludovic Courtès
  2016-03-11 20:09     ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2016-03-11 14:41 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

Leo Famulari <leo@famulari.name> skribis:

> * gnu/packages/graphics.scm (openexr)[arguments]: New field.
> ---
>  gnu/packages/graphics.scm | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>
> diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
> index c022d74..3c5ad72 100644
> --- a/gnu/packages/graphics.scm
> +++ b/gnu/packages/graphics.scm
> @@ -206,6 +206,20 @@ exception-handling library.")
>                     "\"/tmp/\"")))
>                (patches (list (search-patch "openexr-missing-samples.patch")))))
>      (build-system gnu-build-system)
> +    (arguments
> +     '(#:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'disable-broken-test
> +         ;; This test fails on i686. Upstream developers suggest that
> +         ;; this test is broken on i686 and can be safely disabled:
> +         ;; https://github.com/openexr/openexr/issues/67#issuecomment-21169748
> +           (lambda _

Better to indent the comment with “(lambda” below.

Otherwise LGTM, thanks for fixing this!

Ludo’.

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

* Re: [PATCH 1/1] gnu: openexr: Disable broken test to fix build on i686.
  2016-03-11 14:41   ` Ludovic Courtès
@ 2016-03-11 20:09     ` Leo Famulari
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2016-03-11 20:09 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

On Fri, Mar 11, 2016 at 03:41:49PM +0100, Ludovic Courtès wrote:
> Leo Famulari <leo@famulari.name> skribis:
> 
> > * gnu/packages/graphics.scm (openexr)[arguments]: New field.
> > ---
> >  gnu/packages/graphics.scm | 14 ++++++++++++++
> >  1 file changed, 14 insertions(+)
> >
> > diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
> > index c022d74..3c5ad72 100644
> > --- a/gnu/packages/graphics.scm
> > +++ b/gnu/packages/graphics.scm
> > @@ -206,6 +206,20 @@ exception-handling library.")
> >                     "\"/tmp/\"")))
> >                (patches (list (search-patch "openexr-missing-samples.patch")))))
> >      (build-system gnu-build-system)
> > +    (arguments
> > +     '(#:phases
> > +       (modify-phases %standard-phases
> > +         (add-after 'unpack 'disable-broken-test
> > +         ;; This test fails on i686. Upstream developers suggest that
> > +         ;; this test is broken on i686 and can be safely disabled:
> > +         ;; https://github.com/openexr/openexr/issues/67#issuecomment-21169748
> > +           (lambda _
> 
> Better to indent the comment with “(lambda” below.

Okay, pushed with that change!

> 
> Otherwise LGTM, thanks for fixing this!
> 
> Ludo’.

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

end of thread, other threads:[~2016-03-11 20:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-10 20:12 [PATCH 0/1] Fix OpenEXR on i686, dependency of LibreOffice Leo Famulari
2016-03-10 20:12 ` [PATCH 1/1] gnu: openexr: Disable broken test to fix build on i686 Leo Famulari
2016-03-11 14:41   ` Ludovic Courtès
2016-03-11 20:09     ` Leo Famulari

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.