Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#38068 closed defect (fixed)

emacs-app error build fail maybe due to missing dependencies

Reported by: mariouka@… Owned by: humem (humem)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: cssdev
Port: emacs-app

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

I tried installing emacs-app through macports and it fails to build. I'm on mac os x 10.5.8 and I have xcode 3.1.4

Error: org.macports.build for port emacs-mac-app returned: command execution failed
Please see the log file for port emacs-mac-app for details: 

Error: Processing of port emacs-mac-app failed

I attach the log file, which indicates that some dependencies were not found (e.g. libxml).

However, note that I also tried installing emacs from the binary downloaded from emacsformac.com and it also failed to build. So there might be some problem with my system rather than with the port.

Attachments (1)

main.log (194.5 KB) - added by mariouka@… 11 years ago.

Download all attachments as: .zip

Change History (6)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to hum@…
Port: emacs-mac-app added

If you downloaded a binary of emacs from elsewhere, then there is no build that could fail (a binary is already built; that is what "binary" means). But we're here to talk about MacPorts, not random third-party binaries, so let's address that problem.

The log you attached is incomplete. Please clean and try again. Then we can investigate further.

Changed 11 years ago by mariouka@…

Attachment: main.log added

comment:2 in reply to:  1 Changed 11 years ago by mariouka@…

Replying to ryandesign@…:

If you downloaded a binary of emacs from elsewhere, then there is no build that could fail (a binary is already built; that is what "binary" means). But we're here to talk about MacPorts, not random third-party binaries, so let's address that problem.

The log you attached is incomplete. Please clean and try again. Then we can investigate further.

Hi, I cleaned and tried again and just attached the new log.

comment:3 Changed 11 years ago by jmroot (Joshua Root)

Cc: css@… added
Port: emacs-app added; emacs-mac-app removed

The attached log is for emacs-app, not emacs-mac-app as quoted in the description. Anyway, here's your problem:

:info:configure checking for pkg-config... /usr/bin/pkg-config
:info:configure checking LIBXML2_CFLAGS... -I/Library/Frameworks/Mono.framework/Versions/2.10.9/include/libxml2
:info:configure checking LIBXML2_LIBS... -L/Library/Frameworks/Mono.framework/Versions/2.10.9/lib -lxml2

Probably just adding pkgconfig to depends_build will make it work, but it's really awful that Mono installs into /usr/bin at all.

comment:4 Changed 11 years ago by humem (humem)

Resolution: fixed
Status: newclosed

emacs-app was upgraded to 24.3 and pkgconfig was added to depends_build in r103994.

comment:5 in reply to:  3 Changed 11 years ago by cooljeanius (Eric Gallager)

Replying to jmr@…:

Probably just adding pkgconfig to depends_build will make it work, but it's really awful that Mono installs into /usr/bin at all.

I heard that it recently stopped doing that though? Forget where I heard that though...

Note: See TracTickets for help on using tickets.