[MacPorts] #42117: ess @13.09-1_0 +emacs_app: Install fails with "No such file or directory"

MacPorts noreply at macports.org
Mon Jan 13 12:38:19 PST 2014


#42117: ess @13.09-1_0 +emacs_app: Install fails with "No such file or directory"
------------------------+--------------------------------
 Reporter:  cubranic@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.2.1
 Keywords:  haspatch    |       Port:  ess
------------------------+--------------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/42117>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list