The following issue has been CLOSED ====================================================================== https://www.opencsw.org/mantis/view.php?id=4325 ====================================================================== Reported By: ghenry Assigned To: pfelecan ====================================================================== Project: emacs Issue ID: 4325 Category: packaging Reproducibility: always Severity: block Priority: normal Status: closed Resolution: fixed Fixed in Version: ====================================================================== Date Submitted: 2010-03-08 08:06 CET Last Modified: 2012-06-18 13:18 CEST ====================================================================== Summary: postinstall fails with "ln: emacs not found" Description: on solaris 10 sparc, the postinstall script failed. I added "set -x" in the script emacs-chooser, and got: + printf '%s: current default toolkit: ' emacs-chooser emacs-chooser: current default toolkit: + '[' -h emacs ']' + printf 'none\n' emacs-chooser none + '[' '!' -z athena ']' ++ ls emacs-athena-22.1 emacs-athena-23.1 + '[' '!' -z 'emacs-athena-22.1 emacs-athena-23.1' ']' + '[' -h emacs ']' + ln -s emacs-athena-22.1 emacs-athena-23.1 emacs ln: emacs not found + Error emacs-chooser 'cannot link the new toolkit' + PrintAnomaly emacs-chooser 'cannot link the new toolkit' + printf '%s : anomaly : %s\n' emacs-chooser 'cannot link the new toolkit' emacs-chooser : anomaly : cannot link the new toolkit
i think it's because there are several emacs binaries?: calypso-root% ls -l /opt/csw/bin/emacs* -rwxr-xr-x 1 root bin 5591108 Sep 21 2005 /opt/csw/bin/emacs-21.4 -rwxr-xr-x 1 root bin 7074860 Jun 6 2007 /opt/csw/bin/emacs-athena-22.1 -rwxr-xr-x 1 root bin 9585896 Aug 19 2009 /opt/csw/bin/emacs-athena-23.1 -rwxr-xr-x 1 root bin 6418 Mar 8 08:01 /opt/csw/bin/emacs-chooser -rwxr-xr-x 1 root bin 26580 Aug 19 2009 /opt/csw/bin/emacsclient if i did: calypso-root% mv /opt/csw/bin/emacs-athena-22.1 /tmp/ because: calypso-root% pkgchk -l -l /opt/csw/bin/emacs-athena-22.1 WARNING: no pathnames were associated with </opt/csw/bin/emacs-athena-22.1> the postinstall script succeeds! so i suggest that the script prevents the user that there are several emcas binaries, doesn'nt it? thanks ====================================================================== ---------------------------------------------------------------------- (0009957) pfelecan (manager) - 2012-06-18 13:18 https://www.opencsw.org/mantis/view.php?id=4325#c9957 ---------------------------------------------------------------------- Emacs 23.4 available _______________________________________________ bug-notifications mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/bug-notifications
