[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 05/20: gnu: Add atril.
From: |
Danny Milosavljevic |
Subject: |
Re: 05/20: gnu: Add atril. |
Date: |
Sun, 31 Dec 2017 14:20:05 +0100 |
Hi Mark,
On Sun, 31 Dec 2017 00:56:34 -0500
Mark H Weaver <address@hidden> wrote:
> address@hidden (Danny Milosavljevic) writes:
>
> > dannym pushed a commit to branch master
> > in repository guix.
> >
> > commit 694285712ebd4967b202ac1a8a7ffac7b76e29f1
> > Author: ng0 <address@hidden>
> > Date: Sat Dec 30 22:43:42 2017 +0100
> >
> > gnu: Add atril.
> >
> > * gnu/packages/mate.scm (atril): New variable.
> >
> > Signed-off-by: Danny Milosavljevic <address@hidden>
>
> 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 address@hidden is the
default in Guix anyway and not some obscure "...-2" variable or anything.