unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: 05/20: gnu: Add atril.
       [not found] ` <20171230215542.1BBB028011@vcs0.savannah.gnu.org>
@ 2017-12-31  5:56   ` Mark H Weaver
  2017-12-31 11:28     ` ng0
  2017-12-31 13:20     ` Danny Milosavljevic
  0 siblings, 2 replies; 4+ messages in thread
From: Mark H Weaver @ 2017-12-31  5:56 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

Hi,

dannym@scratchpost.org (Danny Milosavljevic) writes:

> dannym pushed a commit to branch master
> in repository guix.
>
> commit 694285712ebd4967b202ac1a8a7ffac7b76e29f1
> Author: ng0 <ng0@infotropique.org>
> Date:   Sat Dec 30 22:43:42 2017 +0100
>
>     gnu: Add atril.
>     
>     * gnu/packages/mate.scm (atril): New variable.
>     
>     Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>

Thanks for your work getting MATE into Guix!  Unfortunately 'atril'
fails to build on my x86_64 GuixSD system.  It seems to be a consistent
failure, or at least it has failed twice consecutively in the same way.
Here's the tail of the build log:

--8<---------------cut here---------------start------------->8---
Making all in backend
make[2]: Entering directory '/tmp/guix-build-atril-1.18.1.drv-0/build/backend'
Making all in pdf
make[3]: Entering directory '/tmp/guix-build-atril-1.18.1.drv-0/build/backend/pdf'
  GEN      pdfdocument.atril-backend
  CXX      ev-poppler.lo
Found cached translation database
Merging translations into pdfdocument.atril-backend.
  CXXLD    libpdfdocument.la
ld: cannot find -lopenjp2
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:573: libpdfdocument.la] Error 1
make[3]: Leaving directory '/tmp/guix-build-atril-1.18.1.drv-0/build/backend/pdf'
make[2]: *** [Makefile:494: all-recursive] Error 1
make[2]: Leaving directory '/tmp/guix-build-atril-1.18.1.drv-0/build/backend'
make[1]: *** [Makefile:666: all-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-atril-1.18.1.drv-0/build'
make: *** [Makefile:552: all] Error 2
phase `build' failed after 52.2 seconds
note: keeping build directory `/tmp/guix-build-atril-1.18.1.drv-1'
builder for `/gnu/store/gc6mfk4hc81l37sdiqcsnli4j3hd3lvv-atril-1.18.1.drv' failed with exit code 1
cannot build derivation `/gnu/store/vs8n79li5vak5fab76vz7r0w0y0wignl-mate-1.18.0.drv': 1 dependencies couldn't be built
guix system: error: build failed: build of `/gnu/store/vs8n79li5vak5fab76vz7r0w0y0wignl-mate-1.18.0.drv' failed
--8<---------------cut here---------------end--------------->8---

Since you also recently added 'atril' as an input to 'mate', this also
means that the 'mate' package fails to build.

Did something change since the last time you tried building this?

      Mark

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

* Re: 05/20: gnu: Add atril.
  2017-12-31  5:56   ` 05/20: gnu: Add atril Mark H Weaver
@ 2017-12-31 11:28     ` ng0
  2017-12-31 13:20     ` Danny Milosavljevic
  1 sibling, 0 replies; 4+ messages in thread
From: ng0 @ 2017-12-31 11:28 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

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

Hm. Sorry for the inconvinience. I am using this
https://c.n0.is/ng0_guix/guix/log/?h=system/mate-additions-review
branch for a while now, I'll see if I applied any more recent
changes (didn't expect a merge without someone contacting me)
once I rebase on master.

There were some issues left - but Atril works here without any
issues using x86_64 hardware.
So far no build in the last couple of months crashed for atril.

I will look into this today and maybe tomorrow. If I can't find a
solution in the next 48 hours I'll let you know.
From 2nd - 8th I'm unavailable for any work and can only pick up
tasks after that week.

Mark H Weaver transcribed 2.2K bytes:
> Hi,
> 
> dannym@scratchpost.org (Danny Milosavljevic) writes:
> 
> > dannym pushed a commit to branch master
> > in repository guix.
> >
> > commit 694285712ebd4967b202ac1a8a7ffac7b76e29f1
> > Author: ng0 <ng0@infotropique.org>
> > Date:   Sat Dec 30 22:43:42 2017 +0100
> >
> >     gnu: Add atril.
> >     
> >     * gnu/packages/mate.scm (atril): New variable.
> >     
> >     Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
> 
> Thanks for your work getting MATE into Guix!  Unfortunately 'atril'
> fails to build on my x86_64 GuixSD system.  It seems to be a consistent
> failure, or at least it has failed twice consecutively in the same way.
> Here's the tail of the build log:
> 
> --8<---------------cut here---------------start------------->8---
> Making all in backend
> make[2]: Entering directory '/tmp/guix-build-atril-1.18.1.drv-0/build/backend'
> Making all in pdf
> make[3]: Entering directory '/tmp/guix-build-atril-1.18.1.drv-0/build/backend/pdf'
>   GEN      pdfdocument.atril-backend
>   CXX      ev-poppler.lo
> Found cached translation database
> Merging translations into pdfdocument.atril-backend.
>   CXXLD    libpdfdocument.la
> ld: cannot find -lopenjp2
> collect2: error: ld returned 1 exit status
> make[3]: *** [Makefile:573: libpdfdocument.la] Error 1
> make[3]: Leaving directory '/tmp/guix-build-atril-1.18.1.drv-0/build/backend/pdf'
> make[2]: *** [Makefile:494: all-recursive] Error 1
> make[2]: Leaving directory '/tmp/guix-build-atril-1.18.1.drv-0/build/backend'
> make[1]: *** [Makefile:666: all-recursive] Error 1
> make[1]: Leaving directory '/tmp/guix-build-atril-1.18.1.drv-0/build'
> make: *** [Makefile:552: all] Error 2
> phase `build' failed after 52.2 seconds
> note: keeping build directory `/tmp/guix-build-atril-1.18.1.drv-1'
> builder for `/gnu/store/gc6mfk4hc81l37sdiqcsnli4j3hd3lvv-atril-1.18.1.drv' failed with exit code 1
> cannot build derivation `/gnu/store/vs8n79li5vak5fab76vz7r0w0y0wignl-mate-1.18.0.drv': 1 dependencies couldn't be built
> guix system: error: build failed: build of `/gnu/store/vs8n79li5vak5fab76vz7r0w0y0wignl-mate-1.18.0.drv' failed
> --8<---------------cut here---------------end--------------->8---
> 
> Since you also recently added 'atril' as an input to 'mate', this also
> means that the 'mate' package fails to build.
> 
> Did something change since the last time you tried building this?
> 
>       Mark
> 

-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
  WWW: https://n0.is

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

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

* Re: 05/20: gnu: Add atril.
  2017-12-31  5:56   ` 05/20: gnu: Add atril Mark H Weaver
  2017-12-31 11:28     ` ng0
@ 2017-12-31 13:20     ` Danny Milosavljevic
  2017-12-31 18:19       ` Mark H Weaver
  1 sibling, 1 reply; 4+ messages in thread
From: Danny Milosavljevic @ 2017-12-31 13:20 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel, ng0

Hi Mark,

On Sun, 31 Dec 2017 00:56:34 -0500
Mark H Weaver <mhw@netris.org> wrote:

> dannym@scratchpost.org (Danny Milosavljevic) writes:
> 
> > dannym pushed a commit to branch master
> > in repository guix.
> >
> > commit 694285712ebd4967b202ac1a8a7ffac7b76e29f1
> > Author: ng0 <ng0@infotropique.org>
> > Date:   Sat Dec 30 22:43:42 2017 +0100
> >
> >     gnu: Add atril.
> >     
> >     * gnu/packages/mate.scm (atril): New variable.
> >     
> >     Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>  
> 
> Thanks for your work getting MATE into Guix!  Unfortunately 'atril'
> fails to build on my x86_64 GuixSD system.  It seems to be a consistent
> failure, or at least it has failed twice consecutively in the same way.
> Here's the tail of the build log:
> 
> --8<---------------cut here---------------start------------->8---
> Making all in backend
> make[2]: Entering directory '/tmp/guix-build-atril-1.18.1.drv-0/build/backend'
> Making all in pdf
> make[3]: Entering directory '/tmp/guix-build-atril-1.18.1.drv-0/build/backend/pdf'
>   GEN      pdfdocument.atril-backend
>   CXX      ev-poppler.lo
> Found cached translation database
> Merging translations into pdfdocument.atril-backend.
>   CXXLD    libpdfdocument.la
> ld: cannot find -lopenjp2
> collect2: error: ld returned 1 exit status
> make[3]: *** [Makefile:573: libpdfdocument.la] Error 1
> make[3]: Leaving directory '/tmp/guix-build-atril-1.18.1.drv-0/build/backend/pdf'
> make[2]: *** [Makefile:494: all-recursive] Error 1
> make[2]: Leaving directory '/tmp/guix-build-atril-1.18.1.drv-0/build/backend'
> make[1]: *** [Makefile:666: all-recursive] Error 1
> make[1]: Leaving directory '/tmp/guix-build-atril-1.18.1.drv-0/build'
> make: *** [Makefile:552: all] Error 2
> phase `build' failed after 52.2 seconds
> note: keeping build directory `/tmp/guix-build-atril-1.18.1.drv-1'
> builder for `/gnu/store/gc6mfk4hc81l37sdiqcsnli4j3hd3lvv-atril-1.18.1.drv' failed with exit code 1

That's strange because I successfully tested it.  I've built atril on guix-master on x86_64 again just now and it worked.  WTF?

Grepping for openjp2 in atril source didn't bring up anything either.  

LIBADD is:

        $(BACKEND_LIBS)                                 \
        $(POPPLER_LIBS)                                 \
        $(CAIRO_PDF_LIBS)                               \
        $(CAIRO_PS_LIBS)

So I guess some of these pull openjp2 in on Hydra.  But openjpeg@2 is the default in Guix anyway and not some obscure "...-2" variable or anything.

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

* Re: 05/20: gnu: Add atril.
  2017-12-31 13:20     ` Danny Milosavljevic
@ 2017-12-31 18:19       ` Mark H Weaver
  0 siblings, 0 replies; 4+ messages in thread
From: Mark H Weaver @ 2017-12-31 18:19 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel, ng0

Danny Milosavljevic <dannym@scratchpost.org> writes:

> On Sun, 31 Dec 2017 00:56:34 -0500
> Mark H Weaver <mhw@netris.org> wrote:
>
>> Unfortunately 'atril'
>> fails to build on my x86_64 GuixSD system.  It seems to be a consistent
>> failure, or at least it has failed twice consecutively in the same way.

[...]

> That's strange because I successfully tested it.  I've built atril on
> guix-master on x86_64 again just now and it worked.  WTF?

It turns out that this problem was caused by a patch that I keep on my
private local branch of Guix, where I switched my 'poppler' package to
use 'openjpeg' (version 2) instead of 'openjpeg-1'.  I should probably
push that patch to core-updates soon.

Sorry for the noise.

       Mark

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

end of thread, other threads:[~2017-12-31 18:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20171230215540.396.36857@vcs0.savannah.gnu.org>
     [not found] ` <20171230215542.1BBB028011@vcs0.savannah.gnu.org>
2017-12-31  5:56   ` 05/20: gnu: Add atril Mark H Weaver
2017-12-31 11:28     ` ng0
2017-12-31 13:20     ` Danny Milosavljevic
2017-12-31 18:19       ` Mark H Weaver

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).