#17152 closed defect (fixed)
slime 20080901_4 +app installation failure
Reported by: | jrhope | Owned by: | easye |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | slime emacs-app | Cc: | |
Port: | slime |
Description
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@common-lisp.net:/project/slime/cvsroot login' Logging in to :pserver:anonymous@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@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.
Attachments (1)
Change History (5)
Changed 16 years ago by jrhope
Attachment: | Portfile-slime.diff added |
---|
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to easieste@… |
---|
Assigning to maintainer.
comment:2 Changed 16 years ago by easye
Status: | new → assigned |
---|
comment:3 Changed 16 years ago by easye
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed by changeset:41759 with recommended patch from jrh AT theptgroup.com.
avoids error during installation in conjunction with emacs-app