[MacPorts] #17152: slime 20080901_4 +app installation failure
MacPorts
noreply at macports.org
Sun Nov 9 07:03:11 PST 2008
#17152: slime 20080901_4 +app installation failure
---------------------------------+------------------------------------------
Reporter: jrh at theptrgroup.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: slime emacs-app | Port: slime
---------------------------------+------------------------------------------
This is a variation of #16518. A clean install of slime on a new computer
which has the emacs-app package installed, and does '''not''' have the
emacs package installed, fails with the error mentioned in that ticket:
{{{
$ sudo port -d install slime +app +sbcl
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/slime
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/slime
DEBUG: Requested variant darwin is not provided by port slime.
DEBUG: Requested variant i386 is not provided by port slime.
DEBUG: Requested variant macosx is not provided by port slime.
DEBUG: Executing variant app provides app
DEBUG: Executing variant sbcl provides sbcl
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua
/emacs-app
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua
/emacs-app
DEBUG: Requested variant sbcl is not provided by port emacs-app.
DEBUG: Requested variant darwin is not provided by port emacs-app.
DEBUG: Requested variant app is not provided by port emacs-app.
DEBUG: Requested variant i386 is not provided by port emacs-app.
DEBUG: Requested variant macosx is not provided by port emacs-app.
DEBUG: Searching for dependency: emacs-app
DEBUG: Found Dependency: receipt exists for emacs-app
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua
/emacs-app
DEBUG: Searching for dependency: emacs-app
DEBUG: Found Dependency: receipt exists for emacs-app
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/sbcl
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/sbcl
DEBUG: Requested variant sbcl is not provided by port sbcl.
DEBUG: Requested variant darwin is not provided by port sbcl.
DEBUG: Requested variant app is not provided by port sbcl.
DEBUG: Requested variant i386 is not provided by port sbcl.
DEBUG: Requested variant macosx is not provided by port sbcl.
DEBUG: Executing variant darwin_9_i386 provides darwin_9_i386
DEBUG: Executing variant test provides test
DEBUG: Searching for dependency: sbcl
DEBUG: Found Dependency: receipt exists for sbcl
DEBUG: Executing org.macports.main (slime)
---> Fetching slime
DEBUG: Executing org.macports.fetch (slime)
DEBUG: Environment:
CVS_PASSFILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_slime/work/.cvspass'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_slime/work"
&& echo anonymous | /usr/bin/cvs -z9 -f -d :pserver:anonymous at common-
lisp.net:/project/slime/cvsroot login'
Logging in to :pserver:anonymous at common-
lisp.net:2401/project/slime/cvsroot
CVS password: cvs login: warning: failed to open
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_slime/work/.cvspass
for reading: No such file or directory
DEBUG: Environment:
CVS_PASSFILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_slime/work/.cvspass'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_slime/work"
&& /usr/bin/cvs -z9 -f -d :pserver:anonymous at common-
lisp.net:/project/slime/cvsroot co -D 20080901 slime'
cvs checkout: Updating slime
U slime/.cvsignore
U slime/ChangeLog
U slime/HACKING
U slime/NEWS
U slime/PROBLEMS
U slime/README
U slime/hyperspec.el
U slime/metering.lisp
U slime/mkdist.sh
U slime/nregex.lisp
U slime/sbcl-pprint-patch.lisp
U slime/slime-autoloads.el
U slime/slime.el
U slime/swank-abcl.lisp
U slime/swank-allegro.lisp
U slime/swank-backend.lisp
U slime/swank-clisp.lisp
U slime/swank-cmucl.lisp
U slime/swank-corman.lisp
U slime/swank-ecl.lisp
U slime/swank-gray.lisp
U slime/swank-lispworks.lisp
U slime/swank-loader.lisp
U slime/swank-openmcl.lisp
U slime/swank-sbcl.lisp
U slime/swank-scl.lisp
U slime/swank-source-file-cache.lisp
U slime/swank-source-path-parser.lisp
U slime/swank.asd
U slime/swank.lisp
U slime/test-all.sh
U slime/test.sh
U slime/xref.lisp
cvs checkout: Updating slime/contrib
U slime/contrib/ChangeLog
U slime/contrib/README
U slime/contrib/bridge.el
U slime/contrib/inferior-slime.el
U slime/contrib/slime-asdf.el
U slime/contrib/slime-autodoc.el
U slime/contrib/slime-banner.el
U slime/contrib/slime-c-p-c.el
U slime/contrib/slime-clipboard.el
U slime/contrib/slime-editing-commands.el
U slime/contrib/slime-fancy-inspector.el
U slime/contrib/slime-fancy.el
U slime/contrib/slime-fontifying-fu.el
U slime/contrib/slime-fuzzy.el
U slime/contrib/slime-highlight-edits.el
U slime/contrib/slime-indentation.el
U slime/contrib/slime-mdot-fu.el
U slime/contrib/slime-motd.el
U slime/contrib/slime-package-fu.el
U slime/contrib/slime-parse.el
U slime/contrib/slime-presentation-streams.el
U slime/contrib/slime-presentations.el
U slime/contrib/slime-references.el
U slime/contrib/slime-scheme.el
U slime/contrib/slime-scratch.el
U slime/contrib/slime-tramp.el
U slime/contrib/slime-typeout-frame.el
U slime/contrib/slime-xref-browser.el
U slime/contrib/swank-arglists.lisp
U slime/contrib/swank-asdf.lisp
U slime/contrib/swank-c-p-c.lisp
U slime/contrib/swank-clipboard.lisp
U slime/contrib/swank-fancy-inspector.lisp
U slime/contrib/swank-fuzzy.lisp
U slime/contrib/swank-goo.goo
U slime/contrib/swank-indentation.lisp
U slime/contrib/swank-kawa.scm
U slime/contrib/swank-listener-hooks.lisp
U slime/contrib/swank-mit-scheme.scm
U slime/contrib/swank-motd.lisp
U slime/contrib/swank-package-fu.lisp
U slime/contrib/swank-presentation-streams.lisp
U slime/contrib/swank-presentations.lisp
cvs checkout: Updating slime/doc
U slime/doc/.cvsignore
U slime/doc/Makefile
U slime/doc/slime-refcard.pdf
U slime/doc/slime-refcard.tex
U slime/doc/slime-small.eps
U slime/doc/slime-small.pdf
U slime/doc/slime.texi
U slime/doc/texinfo-tabulate.awk
---> Verifying checksum(s) for slime
DEBUG: Executing org.macports.checksum (slime)
---> Extracting slime
DEBUG: Executing org.macports.extract (slime)
DEBUG: Executing org.macports.patch (slime)
DEBUG: Executing proc-post-org.macports.patch-patch-0
---> Configuring slime
DEBUG: Executing org.macports.configure (slime)
Error: Target org.macports.configure returned: Registry error: emacs not
registered as installed.
Warning: the following items did not execute (for slime):
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
}}}
Applying the changes in Portfile-slime.diff (equivalent to #16518's
Portfile-slime.2.diff) fixes the problem with a clean install by checking
{{{
[ variant_isset app ]
}}}
before
{{{
[regexp carbon [join [registry_installed emacs]]]
}}}
in the if statement in the slime_emacs_binary assignment. It is calling
[registry_installed emacs] which causes the error, "Error: Target
org.macports.configure returned: Registry error: emacs not registered as
installed.", so the safest thing to do is to check the variant setting
first. The fundamental quirk here is that Cocoa Emacs (v23) is its own
package (emacs-app) rather than a variant of the regular Emacs (v22)
package; it'll be nice when GNU officially releases Emacs 23 so that
emacs-app can be folded into emacs.
--
Ticket URL: <http://trac.macports.org/ticket/17152>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list