public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
From: fbissey@slingshot.co.nz
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] common lisps overlay -> tree; maxima, fricas
Date: Thu, 23 May 2013 22:22:04 +1200	[thread overview]
Message-ID: <20130523222204.kck0s8ckgo4kokkg@webmail.slingshot.co.nz> (raw)
In-Reply-To: <5180138B.2080905@slingshot.co.nz>

Quoting Francois Bissey <fbissey@slingshot.co.nz>:

> On 01/05/13 04:13, grozin@gentoo.org wrote:
>> On Tue, 30 Apr 2013, fbissey@slingshot.co.nz wrote:
>>> The ecls library for
>>> maxima has changed name with the new asdf. So
>>> newins maxima.fasb maxima.fas
>>> should become:
>>> newins maxima.system.fasb maxima.fas
>> How have you got so far? I get
>>
>> ;;; Loading #P"/usr/lib/ecl-12.12.1/asdf.fas"
>> ;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
>> ;;;
>> ;;; End of Pass 1.An error occurred during initialization:
>> The function ASDF/INTERFACE::REMOVE-KEYS is undefined..
>>  * ERROR: sci-mathematics/maxima-5.30.0 failed (install phase):
>>  *   !!! newins: maxima.system.fasb does not exist
>>
>> It seems maxima-build.lisp (or some file included from it) is not
>> compatible with the current asdf.
>>
>
> I see, I hadn't actually tested it with the latest ecls from the tree
> that copies an adsf file from adsf-2.33-r3. The change I mentioned works
> without that. Don't know what to do about that yet.
> By the way can you make ecls-12.12.1-r4 prefix friendly by replacing
> cp /usr/share/common-lisp/source/asdf/build/asdf.lisp
> with
> cp ${EPREFIX}/usr/share/common-lisp/source/asdf/build/asdf.lisp
>
I think I may have a clue. "remove-keys" is defined in asdf 2 and used
in asdf-bundle. These two are shipped in contrib/asdf:
ll contrib/asdf/ll contrib/asdf/
total 300K
drwxr-xr-x  2 fbissey fbissey 4.0K Dec  8 10:01 .
drwxr-xr-x 17 fbissey fbissey 4.0K Dec  8 10:01 ..
-rw-r--r--  1 fbissey fbissey  542 Dec  8 10:01 README
-rw-r--r--  1 fbissey fbissey  713 Dec  8 10:01 README.ECL
-rw-r--r--  1 fbissey fbissey  23K Dec  8 10:01 asdf-bundle.lisp
-rwxr-xr-x  1 fbissey fbissey  17K Dec  8 10:01 asdf-ecl.lisp
-rw-r--r--  1 fbissey fbissey 196K Dec  8 10:01 asdf.lisp
-rw-r--r--  1 fbissey fbissey  41K Dec  8 10:01 asdf.texinfo

asdf-ecl.lisp is historic but not used. asdf-bundle in this source is supposed
to used against asdf as shipped in this version of ecls.
The two files are used when building asdf as shipped by ecls, from
src/compile.lisp.in:
;;;
;;; * ASDF
;;;
#+WANTS-ASDF
(build-module "asdf"
               '("ext:asdf;asdf.lisp"
                 "ext:asdf;asdf-bundle.lisp")
               :dir "build:ext;"
               :prefix "EXT"
               :builtin #+:BUILTIN-ASDF t #-:BUILTIN-ASDF nil)

asdf 3.0 includes asdf-bundle but here when building we mix incompatible
versions. A first step will be to patch src/compile.lisp.in not to add
asdf-bundle.lisp when building the asdf module for ecls. That may not
solve everything but that would be a first step in the right direction.

Francois






  reply	other threads:[~2013-05-23 10:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-20 15:13 [gentoo-science] common lisps overlay -> tree; maxima, fricas grozin
2013-04-22  3:26 ` Steven Trogdon
2013-04-29 21:50 ` fbissey
2013-04-30 16:13   ` grozin
2013-04-30 18:55     ` Francois Bissey
2013-05-23 10:22       ` fbissey [this message]
2013-05-23 21:38         ` fbissey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130523222204.kck0s8ckgo4kokkg@webmail.slingshot.co.nz \
    --to=fbissey@slingshot.co.nz \
    --cc=gentoo-science@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox