Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#56599 closed defect (duplicate)

emacs configure failure

Reported by: oliverangelil (Oliver Angélil) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.5.0
Keywords: Cc: emcrisostomo (Enrico Maria Crisostomo)
Port: emacs

Description

I've cleaned with:

sudo port clean emacs

See main.log attached after running:

sudo port install emacs

Attachments (1)

main.log (24.3 KB) - added by oliverangelil (Oliver Angélil) 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by oliverangelil (Oliver Angélil)

Attachment: main.log added

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

Cc: emcrisostomo added; dports@… removed
Owner: set to drkp
Status: newassigned

emacs patches configure.ac, but does not run autoreconf. This should be fixed. Dependencies on autoconf, automake, libtool need to be added as well.

Because this was not done, the configure phase fails when it tries to automatically run autoconf which fails because autoconf is not there:

Checking for autoconf (need at least version 2.65) ... missing

This problem was introduced in [46f24f45c2b924893a2a35e0d7ebcaa3a6a2762c/macports-ports] when patch-configure.diff was changed from patching configure to patching configure.ac.

The gtk and inline variants and the -devel subports already have autotools dependencies; they can be removed there once they are added to the port globally.

comment:2 Changed 6 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed

comment:3 Changed 6 years ago by wyuenho (Jimmy Yuen Ho Wong)

I have a fix for it here, since I'm working on a emacs port update anyway and CI happened to fail for the base port.

https://github.com/macports/macports-ports/pull/1936

Note: See TracTickets for help on using tickets.