Gentoo Archives: gentoo-science

From: "François Bissey" <f.r.bissey@×××××××××.nz>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] [sage-on-gentoo] genus2reduction - pari.h
Date: Fri, 30 Apr 2010 20:39:30
Message-Id: 201005010838.58473.f.r.bissey@massey.ac.nz
In Reply to: [gentoo-science] [sage-on-gentoo] genus2reduction - pari.h by Steven Trogdon
1 > Hello,
2 >
3 > It appears that genus2reduction will no longer compile here. I get
4 >
5 > >>> Checking genus2reduction-0.3.p6.tar.bz2's mtime...
6 > >>> WORKDIR is up-to-date, keeping...
7 > >>> It appears that 'genus2reduction-0.3_p6' is already prepared;
8 > >>> skipping.
9 > >>> Remove
10 > >>> '/var/tmp/portage/sci-mathematics/genus2reduction-0.3_p6/.prepared'
11 > >>> to force prepare.
12 > >>> Configuring source in
13 > >>> /var/tmp/portage/sci-mathematics/genus2reduction-0.3_p6/work/genus2redu
14 > >>> ction-0.3.p6/src ...
15 > >>> Source configured.
16 > >>> Compiling source in
17 > >>> /var/tmp/portage/sci-mathematics/genus2reduction-0.3_p6/work/genus2redu
18 > >>> ction-0.3.p6/src ...
19 >
20 > genus2reduction.c:18:18: error: pari.h: No such file or directory
21 >
22 > ...
23 >
24 > ERROR: sci-mathematics/genus2reduction-0.3_p6 failed:
25 > Compile failed!
26 >
27 > Call stack:
28 > ebuild.sh, line 54: Called src_compile
29 > environment, line 1225: Called die
30 > The specific snippet of code:
31 > $(tc-getCC ) ${CFLAGS} -o ${PN} ${PN}.c -lpari -lgmp -lm ||
32 > die "Compile failed!";
33 >
34 Hi Steve,
35
36 fixed in the overlay. The bug was in src_prepare because we used to inherit
37 the eutils eclass from somewhere. No eutils eclass no epatch command.
38 It would have been better if you had given the full log after ebuild clean so
39 we could have spotted the problem in src_prepare straight away.
40
41 Francois

Replies

Subject Author
Re: [gentoo-science] [sage-on-gentoo] genus2reduction - pari.h Steven Trogdon <strogdon@×××××.edu>