Opened 16 years ago

Closed 15 years ago

#18885 closed defect (duplicate)

CLisp 2.47: Compilation fails on Mac OSX (10.5.6) intel

Reported by: nitralime@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: CLISP, Common Lisp Cc:
Port: clisp @2.47

Description (last modified by blb@…)

I got the following error messages while installing CLisp 2.47 with variant dynffi:

gcc -D_NONSTD_SOURCE -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falign-functions=4 -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -I. -x none 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 foreign.o unixaux.o built.o ari80386.o gllib/uniwidth/width.o gllib/uniname/uniname.o gllib/localcharset.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 -o lisp.run
Undefined symbols:
  "___vacall_r", referenced from:
      ___vacall_r$non_lazy_ptr in foreign.o
  "___builtin_avcall", referenced from:
      _C_foreign_call_out in foreign.o
  "_trampoline_r_address", referenced from:
      _free_foreign_callin in foreign.o
      _convert_function_from_foreign in foreign.o
  "_free_trampoline_r", referenced from:
      _free_foreign_callin in foreign.o
  "___structcpy", referenced from:
      _do_av_arg in foreign.o
      _do_va_return in foreign.o
  "_alloc_trampoline_r", referenced from:
      _convert_to_foreign in foreign.o
      _convert_to_foreign in foreign.o
  "___va_error1", referenced from:
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
  "_trampoline_r_data0", referenced from:
      _free_foreign_callin in foreign.o
      _convert_function_from_foreign in foreign.o
  "_trampoline_r_data1", referenced from:
      _free_foreign_callin in foreign.o
      _convert_function_from_foreign in foreign.o
  "_is_trampoline_r", referenced from:
      _free_foreign_callin in foreign.o
      _convert_function_from_foreign in foreign.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [lisp.run] Error 1
Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_clisp/work/clisp-2.47/src && ulimit -s 16384 &&  unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP &&  make" returned error 2
Command output:       _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
      _do_va_return in foreign.o
  "_trampoline_r_data0", referenced from:
      _free_foreign_callin in foreign.o
      _convert_function_from_foreign in foreign.o
  "_trampoline_r_data1", referenced from:
      _free_foreign_callin in foreign.o
      _convert_function_from_foreign in foreign.o
  "_is_trampoline_r", referenced from:
      _free_foreign_callin in foreign.o
      _convert_function_from_foreign in foreign.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [lisp.run] Error 1

Warning: the following items did not execute (for clisp): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (7)

comment:1 Changed 16 years ago by blb@…

Description: modified (diff)
Owner: changed from macports-tickets@… to waqar@…

What version of ffcall do you have?

port installed ffcall

comment:2 Changed 16 years ago by andrew@…

I didn't have ffcall installed, but once I installed it the clisp port installed properly. ffcall is not currently a dependency of clisp, but it appears that it should be.

comment:3 in reply to:  2 ; Changed 16 years ago by blb@…

Replying to andrew@…:

I didn't have ffcall installed, but once I installed it the clisp port installed properly. ffcall is not currently a dependency of clisp, but it appears that it should be.

Right, that would be ticket #18820.

comment:4 in reply to:  3 ; Changed 16 years ago by nitralime@…

Replying to blb@…:

Replying to andrew@…:

I didn't have ffcall installed, but once I installed it the clisp port installed properly. ffcall is not currently a dependency of clisp, but it appears that it should be.

Right, that would be ticket #18820.

Before openning this ticket I have already checked the ticket #18820 and installed the latest available version of "ffcall" port. After repeating "sudo port install clisp +dynffi" I got the above mentioned errors. I will try a fresh installation run today (sudo port uninstall clisp; sudo port install clisp +dynffi). Maybe it works! I will inform you about it.

comment:5 in reply to:  4 Changed 16 years ago by nitralime@…

Replying to nitralime@…:

Replying to blb@…:

Replying to andrew@…:

I didn't have ffcall installed, but once I installed it the clisp port installed properly. ffcall is not currently a dependency of clisp, but it appears that it should be.

Right, that would be ticket #18820.

Before openning this ticket I have already checked the ticket #18820 and installed the latest available version of "ffcall" port. After repeating "sudo port install clisp +dynffi" I got the above mentioned errors. I will try a fresh installation run today (sudo port uninstall clisp; sudo port install clisp +dynffi). Maybe it works! I will inform you about it.

After doing "sudo port clean clisp" the installation run "sudo port install clisp +dynffi" has finished successfully. With variant dynffi the dependency list should be extended by ffcall.

Best regards Nik

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:7 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.