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

MacPorts noreply at macports.org
Tue Oct 25 20:44:09 PDT 2011


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

 I found a similar ticket about emacs @22
 (http://trac.macports.org/ticket/24913) and applied the given patch. The
 compilation went further but failed at some point. Here is an extract of
 the error:

 {{{
 /bin/sh: line 0: cd:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_aqua_emacs-app/emacs-
 app/work/emacs-23.3-x86_64/nextstep/Emacs.app/Contents/MacOS/libexec: No
 such file or directory
 mv: rename emacs/*/*/* to ./*: No such file or directory
 /bin/sh: line 0: cd:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_aqua_emacs-app/emacs-
 app/work/emacs-23.3-x86_64/nextstep/Emacs.app/Contents/MacOS/bin: No such
 file or directory
 make: *** No rule to make target `leim/Makefile', needed by `install-
 leim'.  Stop.
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_aqua_emacs-app/emacs-
 app/work/emacs-23.3-x86_64'
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_aqua_emacs-app/emacs-
 app/work/emacs-23.3-x86_64" && /usr/bin/make -w install
 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_aqua_emacs-app/emacs-app/work/destroot-x86_64
 " returned error 2
 }}}

 I tried with both clang (the default) and llvm-gcc-4.2 compiler.

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


More information about the macports-tickets mailing list