New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #30850 (closed defect: duplicate)

Opened 22 months ago

Last modified 19 months ago

emacs-app @23.3 doesn't build on Snow Leopard

Reported by: plasmaball@… Owned by: css@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: manuel.deljesuspe@…, hum@…
Port: emacs-app

Description

I installed the latest macports and followed https://trac.macports.org/wiki/Migration by uninstalling all ports first, but emacs failed to build. Please help.

The build log will be uploaded as an attachment.

Attachments

main.log (1.4 MB) - added by plasmaball@… 22 months ago.
emacs-app build log

Change History

Changed 22 months ago by plasmaball@…

emacs-app build log

comment:1 Changed 22 months ago by plasmaball@…

The system information is as below:

  • OS: Mac OS X 10.6.8
  • Xcode: Xcode 4.2 Developer Preview 5

comment:2 Changed 22 months ago by jmr@…

  • Owner changed from macports-tickets@… to css@…

Please remember to cc the maintainer.

comment:3 Changed 22 months ago by manuel.deljesuspe@…

  • Cc manuel.deljesuspe@… added

Cc Me!

comment:4 Changed 21 months ago by hum@…

  • Cc hum@… added

Cc Me!

comment:5 Changed 20 months ago by css@…

I only have Snow Leopard and XCode 3.2, so I'm unable to verify what might be needed to resolve this.

comment:6 Changed 20 months ago by hum@…

It seems that clang compiler could not build emacs-app properly and gcc should be used instead of clang. I recommend that you use Xcode 3.2.* rather than 4.2 on Snow Leopard or upgrade to Lion.

comment:7 follow-up: ↓ 8 Changed 20 months ago by hum@…

I have found a treatment of clang compiler in aspell port:

# BUILD FIX TODO: clang C++
# clang fails to build this project due to buggy C++ as of 2011.06.28 0.60.6
if {${configure.compiler} == "clang"} {
    configure.compiler llvm-gcc-4.2 
}

I am not sure, but emacs-app might build as well if you add the above to the Portfile and try to compile.

comment:8 in reply to: ↑ 7 Changed 20 months ago by boris.dusek@…

Replying to hum@…:

I have found a treatment of clang compiler in aspell port:

That fixed it for me. For the record, I am using Xcode 4.2 DP<something> (build 4C5163c)

comment:9 Changed 19 months ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to duplicate

Superseded by #31508, which fixed emacs-app so that it can compile with clang.

Note: See TracTickets for help on using tickets.