Opened 18 years ago

Closed 18 years ago

#9517 closed defect (worksforme)

BUG: maxima does not run

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

Description

I have maxima 5.9.3 installed. Previously it ran fine, but at some point started crashing with the following error:

dyld: lazy symbol binding failed: Symbol not found: _locale_charset

Referenced from: /opt/local/lib/maxima/5.9.3/binary-clisp/lisp.run Expected in: /opt/local/lib/libintl.3.dylib

dyld: Symbol not found: _locale_charset

Referenced from: /opt/local/lib/maxima/5.9.3/binary-clisp/lisp.run Expected in: /opt/local/lib/libintl.3.dylib

libintl is supplied by gettext. I have gettext 0.14.5_1 installed.

As maxima ran fine for quite a while, and as I have done nothing to my system except try to keep my ports up to date, I can only surmise that something that occurred in one of the subsequent port upgrades broke it.

Change History (11)

comment:1 Changed 18 years ago by gwright@…

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

Does the error occur if you uninstall, clean and rebuild maxima? It may be that clisp is somewhat flakey in how it handles bindings to the underlying libraries.

I will likely change the maxima default build to sbcl, since clisp seems to be going through another spate of hard to reproduce failures. That may also fix this issue.

Greg

comment:2 Changed 18 years ago by gwright@…

Status: newassigned

The output of

nm /opt/local/lib/libintl.3.dylib | grep _locale_charset

would also be interesting. That would let us know if the problem is really in gettext or in clisp.

-Greg

comment:3 Changed 18 years ago by ghenshaw@…

(In reply to comment #2)

The output of

nm /opt/local/lib/libintl.3.dylib | grep _locale_charset

would also be interesting. That would let us know if the problem is really in gettext or in clisp.

-Greg

Okay...

$ nm /opt/local/lib/libintl.3.dylib | grep _locale_charset

shows:

U _locale_charset

comment:4 Changed 18 years ago by ghenshaw@…

(In reply to comment #1)

Does the error occur if you uninstall, clean and rebuild maxima?

Hmmm. No, it doesn't fix it; in fact, it doesn't build at all. It fails with the following error:

$ sudo port install maxima ---> Fetching maxima ---> Attempting to fetch maxima-5.9.3.tar.gz from http://puzzle.dl.sourceforge.net/maxima ---> Verifying checksum(s) for maxima ---> Extracting maxima ---> Configuring maxima ---> Building maxima with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_maxima/work/maxima-5.9.3" && make all" returned error 2 Command output: Making all in src

test -d binary-clisp
mkdir binary-clisp

clisp -norc -q -x '(progn (load "../lisp-utils/defsystem.lisp") (funcall (intern (symbol-name :operate-on-system) :mk) "maxima" :compile :verbose t))' && \ clisp -norc -q -x '(progn (load "../lisp-utils/defsystem.lisp") (funcall (intern (symbol-name :operate-on-system) :mk) "maxima" :load :verbose t) (ext:saveinitmem "binary-clisp/maxima.mem" :init-function (function cl-user::run)))' dyld: lazy symbol binding failed: Symbol not found: _locale_charset

Referenced from: /opt/local/lib/clisp/base/lisp.run Expected in: /opt/local/lib/libintl.3.dylib

dyld: Symbol not found: _locale_charset

Referenced from: /opt/local/lib/clisp/base/lisp.run Expected in: /opt/local/lib/libintl.3.dylib

make[1]: * [binary-clisp/maxima.mem] Error 133 make: * [all-recursive] Error 1

Error: /opt/local/bin/port: Status 1 encountered during processing.

Looks like the error is in gettext after all.

comment:5 Changed 18 years ago by ghenshaw@…

For what it's worth, deactivating gettext 0.14.5_1 and activating gettext 0.14.5_0 seems to make things better.

comment:6 Changed 18 years ago by ghenshaw@…

(In reply to comment #5)

For what it's worth, deactivating gettext 0.14.5_1 and activating gettext 0.14.5_0 seems to make things better.

Sigh. Spoke too soon. With gettext 0.14.5_0, build fails with:

$ sudo port install maxima ---> Building maxima with target all ---> Staging maxima into destroot Error: Target com.apple.destroot returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_maxima/work/maxima-5.9.3" && make install DESTDIR=/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_maxima/work/destroot" returned error 2 Command output: Making install in src

test -z "/opt/local/bin"
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_maxima/work/maxima-5.9.3/install-sh -d "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_maxima/work/destroot/opt/local/bin"

/opt/local/bin/ginstall -c 'maxima' '/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_maxima/work/destroot/opt/local/bin/maxima' /opt/local/bin/ginstall -c 'rmaxima' '/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_maxima/work/destroot/opt/local/bin/rmaxima'

/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_maxima/work/maxima-5.9.3/install-sh -d "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_maxima/work/destroot/opt/local/lib/maxima/5.9.3/binary-clisp" /opt/local/bin/ginstall -c -m 644 binary-clisp/maxima.mem "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_maxima/work/destroot/opt/local/lib/maxima/5.9.3/binary-clisp/maxima.mem" /opt/local/bin/ginstall -c "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_maxima/work/destroot/opt/local/lib/maxima/5.9.3/binary-clisp/" /opt/local/bin/ginstall: missing destination file operand after `/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_maxima/work/destroot/opt/local/lib/maxima/5.9.3/binary-clisp/' Try `/opt/local/bin/ginstall --help' for more information. make[2]: * [install-clisp] Error 1 make[1]: * [install-am] Error 2 make: * [install-recursive] Error 1

Error: /opt/local/bin/port: Status 1 encountered during processing.

comment:7 Changed 18 years ago by ghenshaw@…

I take it all back, the problem must be in clisp. Maxima 5.9.3 builds and runs just fine if I use the +sbcl variant.

comment:8 Changed 18 years ago by gwright@…

I guess it's tim eto make that the default....

Thanks for checking.

Best Wishes, Greg

comment:9 Changed 18 years ago by mww@…

Summary: maxima does not runBUG: maxima does not run

comment:10 Changed 18 years ago by markd@…

Cc: markd@… added

I see maxima is updated, along with clisp and gettext. Can this be closed?

comment:11 Changed 18 years ago by markd@…

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.