Opened 6 years ago

Closed 6 years ago

#56564 closed defect (fixed)

emacs @26.1: emacs port requires autoconf

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

Description

I'm running macOS High Sierra 10.13.5 Beta (17F70a), Xcode 9.4 Build version 9F1027a. The command I used was sudo port install emacs.

When installing emacs 26.1, I found that I had to first manually install autoconf (sudo port install autoconf), which was not installed automatically as a dependency.

Following is the log from the failure:

:info:configure Checking whether you have the necessary tools...
:info:configure (Read INSTALL.REPO for more details on building Emacs)
:info:configure Checking for autoconf (need at least version 2.65) ... missing
:info:configure Building Emacs from the repository requires the following specialized programs:
:info:configure autoconf (minimum version 2.65)
:info:configure Your system seems to be missing the following tool(s):
:info:configure autoconf (missing)
:info:configure If you think you have the required tools, please add them to your PATH
:info:configure and re-run this script.
:info:configure Otherwise, please try installing them.
:info:configure On systems using rpm and yum, try: "yum install PACKAGE"
:info:configure On systems using dpkg and apt, try: "apt-get install PACKAGE"
:info:configure Then re-run this script.
:info:configure If you do not have permission to do this, or if the version provided
:info:configure by your system is too old, it is normally straightforward to build
:info:configure these packages from source.  You can find the sources at:
:info:configure https://ftp.gnu.org/gnu/PACKAGE/
:info:configure Download the package (make sure you get at least the minimum version
:info:configure listed above), extract it using tar, then run configure, make,
:info:configure make install.  Add the installation directory to your PATH and re-run
:info:configure this script.
:info:configure If you know that the required versions are in your PATH, but this
:info:configure script has made an error, then you can simply re-run this script with
:info:configure the --no-check option.
:info:configure Please report any problems with this script to bug-gnu-emacs@gnu.org .
:info:configure Command failed: sh ./autogen.sh
:info:configure Exit code: 1
:error:configure Failed to configure emacs: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: command execution failed

Change History (4)

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Cc: drkp removed
Owner: set to drkp
Status: newassigned

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

Cc: oliverangelil emcrisostomo added

Has duplicate #56599. I added an explanation of the problem in comment:ticket:56599:1. Dan, can you fix the problem please?

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

I have a fix for this in my PR, I'm working on updating the emacs-app port but the base port happened to fail CI, might as well.

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

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

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.