Opened 9 years ago

Last modified 9 years ago

#46334 closed defect

Ghostscript build failure on Yosemite — at Initial Version

Reported by: brookemgilbert@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ghostscript

Description

Hi, on a fresh install of macports 2.3.3 following upgrade to Yosemite (10.10.1), Ghostscript was failing to build/install (but I found a workaround).

This appears to be a different problem from this other similar ticket https://trac.macports.org/ticket/46332 on examination of the log files.

My output was...

$ sudo port clean ghostscript
--->  Cleaning ghostscript
$ 
$ 
$ sudo port install -d ghostscript
--->  Computing dependencies for ghostscript
--->  Fetching archive for ghostscript
Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers>
--->  Attempting to fetch ghostscript-9.10_2+x11.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ghostscript
--->  Attempting to fetch ghostscript-9.10_2+x11.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/ghostscript
--->  Attempting to fetch ghostscript-9.10_2+x11.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/ghostscript
--->  Fetching distfiles for ghostscript
--->  Verifying checksums for ghostscript
--->  Extracting ghostscript
--->  Applying patches to ghostscript
--->  Configuring ghostscript
Error: org.macports.configure for port ghostscript returned: autoreconf failure: command execution failed
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

The main.log is attached; of interest was:

:info:configure aclocal: error: aclocal: file '/opt/local/share/aclocal/wxwin.m4' does not exist
:info:configure autoreconf: aclocal failed with exit status: 1

Since wxwin.m4 is part of wxWidgets, I tried installing wxWidgets-3.0 manually. Then I tried again to install ghostscript and it worked just fine! So I guess that means ghostscript needs wxWidgets-3.0 but it isn't identified as a dependency in the ports tree.

I can replicate the failure by uninstalling ghostscript and wxWidgets-3.0, then trying to re-install ghostscript.

Cheers

Change History (1)

Changed 9 years ago by brookemgilbert@…

Attachment: ghostscript_main.log added

Ghostscript main.log (failing)

Note: See TracTickets for help on using tickets.