Opened 6 years ago

Closed 6 years ago

#55899 closed defect (worksforme)

ghostscript @9.22: autoreconf: /opt/local/bin/aclocal failed with exit status: 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 (3)

comment:1 Changed 6 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 $?

comment:2 Changed 6 years ago by StadeRochelais17

I don't understand ... It works This morning, I run your command:

sh-3.2# /usr/bin/m4 --help | grep reload-state ; echo $?
  -R, --reload-state=FILE      reload a frozen state from FILE at start
0

So, I try to reinstall ghostscript, and it works

port clean ghostscript
port -d -v install ghostscript

However yesterday, before creating a ticket, I tried:

  • to reboot my system
  • to reinstall Xcode
  • to clean and resinstall ghostcript
  • ...

but it did not work

Thank's

comment:3 Changed 6 years ago by kencu (Ken)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.