Opened 7 years ago

Last modified 7 years ago

#55899 closed defect

ghostscript @9.22: autoreconf: /opt/local/bin/aclocal failed with exit status: 1 — at Version 1

Reported by: StadeRochelais17 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: ghostscript

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

ghostscript 9.22

autoreconf: /opt/local/bin/aclocal failed with exit status: 1

It's a fresh install of MacPorts to install munin.

last log

--->  Configuring ghostscript
DEBUG: Preferred compilers: clang macports-clang-4.0
DEBUG: Using compiler 'Xcode Clang'
DEBUG: Executing org.macports.configure (ghostscript)
DEBUG: Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_ghostscript/ghostscript/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.13'
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.22" && autoreconf -fv 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.22" && autoreconf -fv 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: /opt/local/bin/aclocal --force 
autom4te: need GNU m4 1.4 or later: /usr/bin/m4
aclocal: error: echo failed with exit status: 1
autoreconf: /opt/local/bin/aclocal failed with exit status: 1
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.22" && autoreconf -fv 
Exit code: 1
Error: Failed to configure ghostscript: autoreconf failure: command execution failed
DEBUG: Error code: NONE
DEBUG: Backtrace: autoreconf failure: command execution failed
    while executing
"$procedure $targetname"
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_ghostscript/ghostscript/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port ghostscript failed

OSX version: 10.13.3
MacPorts version: 2.4.2
Xcode version: 9.2
m4 version: 1.4.6

Change History (1)

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

Cc: ryandesign added
Description: modified (diff)
Summary: ghostscript 9.22 autoreconf failedghostscript @9.22: autoreconf: /opt/local/bin/aclocal failed with exit status: 1

Strange. That shouldn't happen. It doesn't happen on our buildbot workers so something must be different on your system.

The way that autom4te determines whether GNU m4 1.4 or later is available is by running m4 --help and checking whether its output contains the string reload-state. Could you run this command and see what happens:

/usr/bin/m4 --help | grep reload-state ; echo $?
Note: See TracTickets for help on using tickets.