[MacPorts] #31783: emacs-app @23.3 fails compiling with "unexec: input file not in Mach-O format" error

MacPorts noreply at macports.org
Thu Nov 24 00:37:09 PST 2011


#31783: emacs-app @23.3 fails compiling with "unexec: input file not in Mach-O
format" error
----------------------------------------+-----------------------------------
 Reporter:  philippe.bernery@…          |       Owner:  css@…           
     Type:  defect                      |      Status:  new             
 Priority:  Normal                      |   Milestone:                  
Component:  ports                       |     Version:  2.0.3           
 Keywords:                              |        Port:  emacs-app       
----------------------------------------+-----------------------------------

Comment(by dtakahashi42@…):

 Same error occurred here. When the destroot phase stopped with an error
 {{{No such file or directory}}} with muniversal workaround, working
 directory for i386 contained only one symbolic link.
 {{{
 $ ls -la work/emacs-23.3-x86_64/
 total 2720
 drwxr-xr-x   37 macports  admin    1258 11 24 15:51 .
 drwxr-xr-x    9 macports  admin     306 11 24 15:52 ..
 -rw-r--r--    1 macports  admin     480 11 14  2010 .dir-locals.el
 -rw-r--r--    1 macports  admin     949 10 13  2010 BUGS
 -rw-r--r--    1 macports  admin   35147  3  8  2011 COPYING
 -rw-r--r--    1 macports  admin  242510  3  7  2011 ChangeLog
  ... a lot of files
 $ ls -la work/emacs-23.3-i386
 total 16
 lrwxr-xr-x  1 root      admin   12 11 24 15:52 * -> ../libexec/*
 drwxr-xr-x  4 macports  admin  136 11 24 15:52 .
 drwxr-xr-x  9 macports  admin  306 11 24 15:52 ..
 -rw-r--r--  1 macports  admin  480 11 14  2010 .dir-locals.el
 $ ls -la work/emacs-23.3-i386/../libexec
 ls: work/emacs-23.3-i386/../libexec: No such file or directory
 }}}
 The main.log at line 8079 seems to be the creation of this file since
 there were no files named {{{../libexec}}} in that directory.
 {{{
 8071:info:destroot if test "/opt/local/var/macports/build
 /_LocalPort_port_aqua_emacs-app/emacs-
 app/work/emacs-23.3-i386/nextstep/Emacs.app" != ""; then \
 8072:info:destroot        ( cd /opt/local/var/macports/build
 /_LocalPort_port_aqua_emacs-app/emacs-
 app/work/emacs-23.3-i386/nextstep/Emacs.app/Contents/Resources ; \
 8073:info:destroot          if test -d share/emacs ; then
 dir=share/emacs/*/*; for i in $dir; do rm -fr `basename "$i"` ; mv "$i" .
 ; done; fi;\
 8074:info:destroot          if test -d share/info ; then dir=share/info;
 for i in $dir; do rm -fr `basename "$i"` ; mv "$i" . ; done ; fi ; \
 8075:info:destroot          rm -fr share ) ; \
 8076:info:destroot        ( cd /opt/local/var/macports/build
 /_LocalPort_port_aqua_emacs-app/emacs-
 app/work/emacs-23.3-i386/nextstep/Emacs.app/Contents/MacOS/libexec ;
 dir=emacs/*/*/* ; for i in $dir; do rm -fr `basename "$i"` ; mv "$i" . ;
 done; \
 8077:info:destroot          rm -fr emacs ) ; \
 8078:info:destroot        ( cd /opt/local/var/macports/build
 /_LocalPort_port_aqua_emacs-app/emacs-
 app/work/emacs-23.3-i386/nextstep/Emacs.app/Contents/MacOS/bin ; rm -f
 emacs emacs-23* ; \
 8079:info:destroot          ln -sf ../libexec/* .) ; \
 8080:info:destroot      else true ; fi
 8081:info:destroot /bin/sh: line 0: cd: /opt/local/var/macports/build
 /_LocalPort_port_aqua_emacs-app/emacs-
 app/work/emacs-23.3-i386/nextstep/Emacs.app/Contents/MacOS/libexec: No
 such file or directory
 8082:info:destroot mv: rename emacs/*/*/* to ./*: No such file or
 directory
 8083:info:destroot /bin/sh: line 0: cd: /opt/local/var/macports/build
 /_LocalPort_port_aqua_emacs-app/emacs-
 app/work/emacs-23.3-i386/nextstep/Emacs.app/Contents/MacOS/bin: No such
 file or directory
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/31783#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list