[Ecls-list] Conformity and convenience problems with pathnames

Pascal J. Bourguignon pjb at informatimago.com
Wed Dec 1 04:07:08 UTC 2010


Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> writes:

> On Sat, Nov 27, 2010 at 2:19 AM, Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> wrote:
>
>     [Cc. of what I sent to the comp.lang.lisp with patches attached]
>    
>     On Nov 21, 4:18 am, p... at informatimago.com (Pascal J. Bourguignon) wrote:
>     > ftp://ftp.informatimago.com/users/pjb/lisp/check-pathnames.lisp
>     > (tests specific to MS-Windows physical paths would need to be added).
>    
>     I have been working on this file and verifying whether ECL conforms to its expectations. [...]
>     Given that you agree on this and change the script accordingly, with the patches I will be pushing up to ECL's CVS repository soon, then this implementation should conform to
>     your expectations. See here:
>
> Handling of pathname case is now complete.
>
> * For logical pathnames, :LOCAL means UPCASE
> * For physical pathnames or pathnames without a case :LOCAL means PREFERRED DOWNCASE.
> * Pathname constructors take the argument :CASE to be the case of the input values and translate them to the case of the final pathname.
> * Pathnames always keep their values in the local case.
> * Pathname readers (pathname-{directory,name,type,host,device}), interpret the :CASE argument to be the case of the output, which may be :COMMON or :LOCAL (i.e. the local case OF THE
> PATHNAME).


On my gentoo x86_64 system, I fail to compile current git ecl:


;*** Lisp core booted ****
ECL (Embeddable Common Lisp)

;;;
;;; Welcome to bare.lsp. Let's bring this instance up!
;;;
;;;
;;; About to load lsp/load.lsp
;;; 

;;; Unhandled lisp initialization error
;;; Message:
FILE-ERROR
;;; Arguments:

Internal or unrecoverable error in:

Lisp initialization error.

  [2: No such file or directory]

;;; ECL C Backtrace
;;; ./ecl_min() [0x441948]
;;; ./ecl_min() [0x42cfd3]
;;; ./ecl_min() [0x42d850]
;;; ./ecl_min() [0x40f295]
;;; ./ecl_min() [0x42d0fc]
;;; ./ecl_min() [0x42d2f2]
;;; ./ecl_min() [0x42d31e]
;;; ./ecl_min() [0x41ead7]
;;; ./ecl_min() [0x4212ab]
;;; ./ecl_min() [0x43ff21]
;;; ./ecl_min() [0x44024c]
;;; ./ecl_min() [0x43eef5]
;;; ./ecl_min() [0x42d837]
;;; ./ecl_min() [0x40f295]
;;; ./ecl_min() [0x42d0fc]
;;; ./ecl_min() [0x42d3e8]
;;; ./ecl_min() [0x46025b]
;;; ./ecl_min() [0x411237]
;;; ./ecl_min() [0x41791b]
;;; ./ecl_min() [0x45f88d]
;;; ./ecl_min() [0x40f295]
;;; ./ecl_min() [0x45feae]
;;; ./ecl_min() [0x411237]
;;; ./ecl_min() [0x41791b]
;;; ./ecl_min() [0x45f88d]
;;; ./ecl_min() [0x40f295]
;;; ./ecl_min() [0x45feae]
;;; ./ecl_min() [0x411237]
;;; ./ecl_min() [0x41791b]
;;; ./ecl_min() [0x45f88d]
;;; ./ecl_min() [0x40f295]
;;; ./ecl_min() [0x45feae]
;;; Loading src:lsp;export.lsp/bin/sh: line 4: 23620 Aborted                 ECLDIR=`pwd`/ ./ecl_min compile
make[1]: *** [bin/ecl] Error 134
make[1]: Leaving directory `/data/src/languages/ecl/ecl-git/ecl/build'
make: *** [all] Error 2

My compilation script is:

------------------------------------------------------------------------
#!/bin/bash
./configure --prefix=/data/languages/ecl-git \
    --enable-rpath \
    --enable-soname \
    --enable-unicode \
    --with-system-gmp=no \
    --without-cxx \
    --with-tcp \
    --with-serve-event \
    --with-clx \
    --with-clos-streams \
    --with-cmuformat \
    --with-asdf \
    --with-defsystem \
    --with-cmp \
    --with-bytecmp \
    --with-rt \
    --with-profile \
    --with-fpe \
    --with-signed-zero=yes \
    --with-ieee-fp=yes \
    --with-sse=no \
    --with-debug-cflags \
    --without-profile-cflags \
    --without-newcmp \
    --with-x \
&& make


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.





More information about the ecl-devel mailing list