#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 ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => css@… * cc: css@… (removed) Old description:
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.
New description: 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. -- -- Ticket URL: <https://trac.macports.org/ticket/31783#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS