Opened 9 years ago

Closed 9 years ago

#48999 closed defect (worksforme)

ghostscript @9.16 autoreconf failed

Reported by: stephane.jublin@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: ghostscript

Description

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_release_tarballs_ports_print_ghostscript/ghostscript/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.16" && autoreconf -fv'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.16" && 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_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.16" && autoreconf -fv 
Exit code: 1
Error: org.macports.configure for port ghostscript returned: autoreconf failure: command execution failed
DEBUG: Error code: NONE
DEBUG: Backtrace: autoreconf failure: command execution failed
    while executing
"portconfigure::configure_main org.macports.configure"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
Warning: targets not executed for ghostscript: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Please see the log file for port ghostscript for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port ghostscript failed

trying to install port munin, failed when install dependency ghostscript. I try this command manualy cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.16" && autoreconf -fv , it's ok I try to reinstall ghostscript: port clean --all ghostscript port -d install ghostscript, same issue

Change History (7)

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

I guess a port:m4 dependency needs to be added. As a workaround for now, you can manually install the m4 port.

comment:2 in reply to:  1 Changed 9 years ago by stephane.jublin@…

Replying to ryandesign@…:

I guess a port:m4 dependency needs to be added. As a workaround for now, you can manually install the m4 port.

Thank's for the answer. m4 is already installed, but I install it via macports (port install m4) I try to reinstall ghostscript but I have the same mistake.

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

What version of OS X are you using?

What version of Xcode?

What version is /usr/bin/m4? You can find out by running:

/usr/bin/m4 --version

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

Sorry, now I see in the log it's OS X 10.10. On my 10.10 system, /usr/bin/m4 is version 1.4.6, which should satisfy autom4te's needs.

comment:5 in reply to:  3 Changed 9 years ago by stephane.jublin@…

Xcode version is 6.1.1

m4 version is 1.4.6

comment:6 Changed 9 years ago by stephane.jublin@…

I've no explication but, it works.

I did a lot of things, every day, (port clean, port selfupdate, port upgrade outdated,...), change sudo command by connecting root, check xcode-select,... try and looking for a solution every day and this morning it's works.

The only difference, port find an update of xorg-kbproto, first time the update failed, i need to install xmlto and fop.

After that, I test port clean ghostscript, port selfupdate, port install ghostscript and there was no error.

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

Resolution: worksforme
Status: newclosed

Ok, I don't know what fixed it either but I'm glad you got it working.

Note: See TracTickets for help on using tickets.