[MacPorts] #30268: emacs-app @23.3 fails to build on Lion ("unexec: cannot write section __data")

MacPorts noreply at macports.org
Thu Jul 21 05:08:43 PDT 2011


#30268: emacs-app @23.3 fails to build on Lion ("unexec: cannot write section
__data")
--------------------------------+-------------------------------------------
 Reporter:  jmdeldin@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.9.2                                
 Keywords:  lion xcode4         |        Port:                                       
--------------------------------+-------------------------------------------

Comment(by jmdeldin@…):

 I found an [https://github.com/mxcl/homebrew/issues/6495 identical bug] in
 Homebrew with a fix from
 [http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8395 upstream]. This allows
 Emacs to build, but it's launching the GUI without a frame (see above
 screenshots). Upstream mentions Bob Halley will be committing a patch, but
 I couldn't find it anywhere. Any ideas?

 {{{
 Index: Portfile
 ===================================================================
 --- Portfile    (revision 80925)
 +++ Portfile    (working copy)
 @@ -33,6 +33,8 @@
  use_parallel_build      yes

  configure.args --with-ns --without-x --without-dbus
 +configure.cflags-append -fno-pie -O2
 +configure.ldflags-append -fno-pie

  patchfiles      patch-src_unexmacosx.c.diff

 }}}

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


More information about the macports-tickets mailing list