Opened 19 years ago

Closed 19 years ago

#7254 closed defect (later)

clisp fails to compile on Mac-Intel

Reported by: jjramsey@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port:

Description

DarwinPorts was building clisp as part of installing Maxima. The command to install was simply "sudo port install maxima". The error messages I got were as follows:

---> Building clisp with target all Error: Target com.apple.build returned: shell command "CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib make" returned error 2 Command output: installing clisplow_es.gmo as ../locale/es/LC_MESSAGES/clisplow.mo installing nl.gmo as ../locale/nl/LC_MESSAGES/clisp.mo installing clisplow_nl.gmo as ../locale/nl/LC_MESSAGES/clisplow.mo installing ru.gmo as ../locale/ru/LC_MESSAGES/clisp.mo installing clisplow_ru.gmo as ../locale/ru/LC_MESSAGES/clisplow.mo rm -rf data mkdir data cd data && ln -s ../../utils/unicode/UnicodeDataFull.txt . cd data && ln -s ../../doc/Symbol-Table.text . gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNIX_BINARY_DISTRIB -DUNICODE -I. -L/opt/local/lib -L/opt/local/lib -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.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 -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation libcharset.a -lreadline -lncurses -liconv -L/opt/local/lib -lsigsegv -lc -o lisp.run /usr/bin/ld: warning multiple definitions of symbol _PC /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libncurses.dylib(lib_tputs.o) definition of _PC /opt/local/lib/libreadline.dylib(terminal.so) definition of _PC /usr/bin/ld: warning multiple definitions of symbol _BC /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libncurses.dylib(lib_termcap.o) definition of _BC /opt/local/lib/libreadline.dylib(terminal.so) definition of _BC /usr/bin/ld: warning multiple definitions of symbol _UP /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libncurses.dylib(lib_termcap.o) definition of _UP /opt/local/lib/libreadline.dylib(terminal.so) definition of _UP /usr/bin/ld: warning multiple definitions of symbol _locale_charset /opt/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset /opt/local/lib/libiconv.dylib(localcharset.o) definition of _locale_charset /usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used symbol _UP used from dynamic library /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libncurses.dylib(lib_termcap.o) not from earlier dynamic library /opt/local/lib/libreadline.5.0.dylib(terminal.so) symbol _BC used from dynamic library /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libncurses.dylib(lib_termcap.o) not from earlier dynamic library /opt/local/lib/libreadline.5.0.dylib(terminal.so) symbol _PC used from dynamic library /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libncurses.dylib(lib_tputs.o) not from earlier dynamic library /opt/local/lib/libreadline.5.0.dylib(terminal.so) ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -Emisc 1:1 -norc -m 1400KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" C_CODE_ALIGNMENT is wrong. &EVAL-WHEN = 0x27dc1. Add -falign-functions=4 to CFLAGS in the Makefile. make: * [interpreted.mem] Abort trap

Error: The following dependencies failed to build: clisp Error: /opt/local/bin/port: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 19 years ago by gwright@…

Owner: changed from darwinports-bugs@… to gwright@…

Hi, This will not be fixed any time soon. Mac-intel is not supported by the clisp developers yet. In the short term, I'll change the portfile to have it fail with a message saying that this platform is broken.

Unfortunately, the Rosetta tool from Apple has a major bug (failure to implement precise exceptions) which makes it impossible to test and x86 build on a non-Intel mac.

Greg

comment:2 Changed 19 years ago by gwright@…

Status: newassigned

comment:3 Changed 19 years ago by gwright@…

Resolution: later
Status: assignedclosed

Portfile should now fail with an error message on Mac-Intel. I will add Mac-Intel support to the portfile when the developers upstream provide it.

-Greg

Note: See TracTickets for help on using tickets.