id summary reporter owner description type status priority milestone component version resolution keywords cc port 31783 "emacs-app @23.3 +universal fails compiling with ""unexec: input file not in Mach-O format"" error" philippe.bernery@… cssdev "I use MacPorts on Lion with Xcode 4.2. I found a similar ticket about emacs @22 (#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." defect closed Normal ports 2.0.3 duplicate humem daitakahashi emacs-app