From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: 05/20: gnu: Add atril. Date: Sun, 31 Dec 2017 14:20:05 +0100 Message-ID: <20171231142005.4e40a148@scratchpost.org> References: <20171230215540.396.36857@vcs0.savannah.gnu.org> <20171230215542.1BBB028011@vcs0.savannah.gnu.org> <877et3zbhp.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVdXC-0005Sj-7t for guix-devel@gnu.org; Sun, 31 Dec 2017 08:20:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eVdX8-0004Jy-8Q for guix-devel@gnu.org; Sun, 31 Dec 2017 08:20:14 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:58182) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eVdX8-0004E1-1e for guix-devel@gnu.org; Sun, 31 Dec 2017 08:20:10 -0500 In-Reply-To: <877et3zbhp.fsf@netris.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Mark H Weaver Cc: guix-devel@gnu.org, ng0 Hi Mark, On Sun, 31 Dec 2017 00:56:34 -0500 Mark H Weaver wrote: > dannym@scratchpost.org (Danny Milosavljevic) writes: > > > dannym pushed a commit to branch master > > in repository guix. > > > > commit 694285712ebd4967b202ac1a8a7ffac7b76e29f1 > > Author: ng0 > > Date: Sat Dec 30 22:43:42 2017 +0100 > > > > gnu: Add atril. > > > > * gnu/packages/mate.scm (atril): New variable. > > > > Signed-off-by: Danny Milosavljevic > > 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.