Opened 11 years ago
Closed 11 years ago
#42117 closed defect (fixed)
ess @13.09-1_0 +emacs_app: Install fails with "No such file or directory"
Reported by: | cubranic@… | Owned by: | jrblevin@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | haspatch | Cc: | |
Port: | ess |
Description
The relevant part of the log:
if [ -n "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_ess/ess/work/destroot/opt/local/share/emacs/site-lisp" -a ! -f "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_ess/ess/work/destroot/opt/local/share/emacs/site-lisp/ess-site.el" ] ; \ then \ ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_ess/ess/work/destroot/Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp/ess/ess-site.el /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_ess/ess/work/destroot/opt/local/share/emacs/site-lisp/ess-site.el ; \ fi; ln: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_ess/ess/work/destroot/opt/local/share/emacs/site-lisp/ess-site.el: No such file or directory make[1]: *** [install] Error 1
This happens because the Port's Makefile tries to create a link in ${SITELISP} without checking whether the directory exists. The problem is that SITELISP for the +emacs_app variant needs to be redefined to be in its application directory, not the default ${prefix}/share/emacs/site-lisp.
Attachments (1)
Change History (4)
Changed 11 years ago by cubranic@…
Attachment: | ess-emacs_app.diff added |
---|
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jrblevin@… openmaintainer@… removed |
---|---|
Owner: | changed from macports-tickets@… to jrblevin@… |
comment:2 Changed 11 years ago by jrblevin@…
comment:3 Changed 11 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I can confirm the error when installing the emacs_app variant and that the attached patch fixes the issue.
Thanks for updating the port to install the latest version of ESS (in #42078) and for this fix.