Gentoo Archives: gentoo-science

From: fbissey@××××××××××××.nz
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] common lisps overlay -> tree; maxima, fricas
Date: Thu, 23 May 2013 10:23:38
Message-Id: 20130523222204.kck0s8ckgo4kokkg@webmail.slingshot.co.nz
In Reply to: Re: [gentoo-science] common lisps overlay -> tree; maxima, fricas by Francois Bissey
1 Quoting Francois Bissey <fbissey@××××××××××××.nz>:
2
3 > On 01/05/13 04:13, grozin@g.o wrote:
4 >> On Tue, 30 Apr 2013, fbissey@××××××××××××.nz wrote:
5 >>> The ecls library for
6 >>> maxima has changed name with the new asdf. So
7 >>> newins maxima.fasb maxima.fas
8 >>> should become:
9 >>> newins maxima.system.fasb maxima.fas
10 >> How have you got so far? I get
11 >>
12 >> ;;; Loading #P"/usr/lib/ecl-12.12.1/asdf.fas"
13 >> ;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
14 >> ;;;
15 >> ;;; End of Pass 1.An error occurred during initialization:
16 >> The function ASDF/INTERFACE::REMOVE-KEYS is undefined..
17 >> * ERROR: sci-mathematics/maxima-5.30.0 failed (install phase):
18 >> * !!! newins: maxima.system.fasb does not exist
19 >>
20 >> It seems maxima-build.lisp (or some file included from it) is not
21 >> compatible with the current asdf.
22 >>
23 >
24 > I see, I hadn't actually tested it with the latest ecls from the tree
25 > that copies an adsf file from adsf-2.33-r3. The change I mentioned works
26 > without that. Don't know what to do about that yet.
27 > By the way can you make ecls-12.12.1-r4 prefix friendly by replacing
28 > cp /usr/share/common-lisp/source/asdf/build/asdf.lisp
29 > with
30 > cp ${EPREFIX}/usr/share/common-lisp/source/asdf/build/asdf.lisp
31 >
32 I think I may have a clue. "remove-keys" is defined in asdf 2 and used
33 in asdf-bundle. These two are shipped in contrib/asdf:
34 ll contrib/asdf/ll contrib/asdf/
35 total 300K
36 drwxr-xr-x 2 fbissey fbissey 4.0K Dec 8 10:01 .
37 drwxr-xr-x 17 fbissey fbissey 4.0K Dec 8 10:01 ..
38 -rw-r--r-- 1 fbissey fbissey 542 Dec 8 10:01 README
39 -rw-r--r-- 1 fbissey fbissey 713 Dec 8 10:01 README.ECL
40 -rw-r--r-- 1 fbissey fbissey 23K Dec 8 10:01 asdf-bundle.lisp
41 -rwxr-xr-x 1 fbissey fbissey 17K Dec 8 10:01 asdf-ecl.lisp
42 -rw-r--r-- 1 fbissey fbissey 196K Dec 8 10:01 asdf.lisp
43 -rw-r--r-- 1 fbissey fbissey 41K Dec 8 10:01 asdf.texinfo
44
45 asdf-ecl.lisp is historic but not used. asdf-bundle in this source is supposed
46 to used against asdf as shipped in this version of ecls.
47 The two files are used when building asdf as shipped by ecls, from
48 src/compile.lisp.in:
49 ;;;
50 ;;; * ASDF
51 ;;;
52 #+WANTS-ASDF
53 (build-module "asdf"
54 '("ext:asdf;asdf.lisp"
55 "ext:asdf;asdf-bundle.lisp")
56 :dir "build:ext;"
57 :prefix "EXT"
58 :builtin #+:BUILTIN-ASDF t #-:BUILTIN-ASDF nil)
59
60 asdf 3.0 includes asdf-bundle but here when building we mix incompatible
61 versions. A first step will be to patch src/compile.lisp.in not to add
62 asdf-bundle.lisp when building the asdf module for ecls. That may not
63 solve everything but that would be a first step in the right direction.
64
65 Francois

Replies

Subject Author
Re: [gentoo-science] common lisps overlay -> tree; maxima, fricas fbissey@××××××××××××.nz