Opened 13 years ago

Last modified 12 years ago

#31783 closed defect

emacs-app @23.3 fails compiling with "unexec: input file not in Mach-O format" error — at Version 1

Reported by: philippe.bernery@… Owned by: css@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: emacs-app

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (1)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: css@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to css@…
Note: See TracTickets for help on using tickets.