[MacPorts] #55899: ghostscript @9.22: autoreconf: /opt/local/bin/aclocal failed with exit status: 1 (was: ghostscript 9.22 autoreconf failed)

MacPorts noreply at macports.org
Tue Feb 27 00:01:14 UTC 2018


#55899: ghostscript @9.22: autoreconf: /opt/local/bin/aclocal failed with exit
status: 1
-------------------------------+-------------------
  Reporter:  StadeRochelais17  |      Owner:
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.4.2
Resolution:                    |   Keywords:
      Port:  ghostscript       |
-------------------------------+-------------------
Changes (by ryandesign):

 * cc: ryandesign (added)


Old description:

> 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[[BR]]
> MacPorts version: 2.4.2[[BR]]
> Xcode version: 9.2[[BR]]
> m4 version: 1.4.6[[BR]]

New description:

 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[[BR]]
 MacPorts version: 2.4.2[[BR]]
 Xcode version: 9.2[[BR]]
 m4 version: 1.4.6[[BR]]

--

Comment:

 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 $?
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/55899#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list