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