Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#31257 closed defect (fixed)

clisp build failure - EACCES error

Reported by: anddam (Andrea D'Amore) Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: easye
Port: clisp

Description

While building clisp on 10.7.1 with XC 4.1 I got the following output:

/Developer/usr/bin/llvm-gcc-4.2 -arch i386 -W -Wswitch -Wcomment -Wpointer-arith
/-Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare
/-Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4
/-DUNIX_BINARY_DISTRIB -DENABLE_UNICODE -DDYNAMIC_MODULES -I.   spvw.o
/spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o
/stream.o socket.o io.o funarg.o array.o hashtabl.o list.o package.o record.o
/weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o
/lisparit.o i18n.o unixaux.o built.o ari80386.o modules.o -L/opt/local/lib
/-lintl -liconv -lc  -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib
/-lreadline -lncurses  -L/opt/local/lib -liconv -L/opt/local/lib -lsigsegv -lc
/-R/opt/local/lib libgnu_cl.a -o lisp.run
./lisp.run -B . -N locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -m 2MW -lp 
-x '(and (load "init.lisp") (sys::%saveinitmem) (ext::exit)) (ext::exit t)'
  i i i i i i i       ooooo    o        ooooooo   ooooo   ooooo
  I I I I I I I      8     8   8           8     8     o  8    8
  I  \ `+' /  I      8         8           8     8        8    8
   \  `-+-'  /       8         8           8      ooooo   8oooo
    `-__|__-'        8         8           8           8  8
        |            8     o   8           8     o     8  8
  ------+------       ooooo    8oooooo  ooo8ooo   ooooo   8

Welcome to GNU CLISP 2.49 (2010-07-07) <http://clisp.cons.org/>

Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2010

Type :h and hit Enter for context help.

*** - UNIX error 13 (EACCES): Permission denied
[eval.d:573] reset() found no driver frame (sp=0xc00fdbf0-0xc00f92e0)

Exiting on signal 6
Bye.

There's a permission issue on a file access but I wasn't able to find which one. Running either sudo -u macports bash -c 'ulimit -s 16384 && unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP && make' or sudo make in $worksrcpath/src gives a different error but much farther than the failing ./lisp.run of this ticket.

I've wrapped to 80 cols for ease of reading, I'm attaching full -d output.

This ticket is unlike #30338, i.e. not a duplicate.

Attachments (2)

Configure.txt (25.5 KB) - added by anddam (Andrea D'Amore) 13 years ago.
Build.txt (73.4 KB) - added by anddam (Andrea D'Amore) 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by anddam (Andrea D'Amore)

Attachment: Configure.txt added

Changed 13 years ago by anddam (Andrea D'Amore)

Attachment: Build.txt added

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

comment:2 Changed 13 years ago by anddam (Andrea D'Amore)

Fixed indeed, thanks.

As future reference the build script was trying to access $HOME/.clisp/, since HOME is not defined for user macports and port was being run with sudo this lead to /var/root/.clisp/ and subsequent access error.

It has to been noticed that the port built fine under the same circumstances (HOME not defined, running with sudo) in Snow Leopard.

Note: See TracTickets for help on using tickets.