Discussion:
05/20: gnu: Add atril.
(too old to reply)
Mark H Weaver
2017-12-31 05:56:34 UTC
Permalink
Raw Message
Hi,
dannym pushed a commit to branch master
in repository guix.
commit 694285712ebd4967b202ac1a8a7ffac7b76e29f1
Date: Sat Dec 30 22:43:42 2017 +0100
gnu: Add atril.
* gnu/packages/mate.scm (atril): New variable.
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
ng0
2017-12-31 11:28:19 UTC
Permalink
Raw Message
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.
Post by Mark H Weaver
Hi,
dannym pushed a commit to branch master
in repository guix.
commit 694285712ebd4967b202ac1a8a7ffac7b76e29f1
Date: Sat Dec 30 22:43:42 2017 +0100
gnu: Add atril.
* gnu/packages/mate.scm (atril): New variable.
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.
--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
Danny Milosavljevic
2017-12-31 13:20:05 UTC
Permalink
Raw Message
Hi Mark,

On Sun, 31 Dec 2017 00:56:34 -0500
Post by Mark H Weaver
dannym pushed a commit to branch master
in repository guix.
commit 694285712ebd4967b202ac1a8a7ffac7b76e29f1
Date: Sat Dec 30 22:43:42 2017 +0100
gnu: Add atril.
* gnu/packages/mate.scm (atril): New variable.
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.
--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 ***@2 is the default in Guix anyway and not some obscure "...-2" variable or anything.
Mark H Weaver
2017-12-31 18:19:49 UTC
Permalink
Raw Message
Post by Danny Milosavljevic
On Sun, 31 Dec 2017 00:56:34 -0500
Post by Mark H Weaver
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.
[...]
Post by Danny Milosavljevic
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

Loading...