Opened 8 years ago

Closed 8 years ago

#40477 closed defect (worksforme)

ghostscript 9.10 build fails

Reported by: mattcottrell Owned by: takanori@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: ghostscript

Description (last modified by ryandesign (Ryan Schmidt))

ghostscript 9.10 build fails for me with MacPorts 2.2.0 on OS X 10.8.4.

Many errors like this one:

:info:build /opt/local/include/tiffio.h:440:77: error: expected ')'

See the attached main.log file.

Attachments (1)

main.log (365.4 KB) - added by mattcottrell 8 years ago.
Log file

Download all attachments as: .zip

Change History (6)

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

Cc: takanori@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to takanori@…

The log you attached is incomplete. Please clean and try again.

comment:2 in reply to:  1 Changed 8 years ago by mattcottrell

Replying to ryandesign@…:

The log you attached is incomplete. Please clean and try again.

A clean build still fails.

I hope the attached log file is complete this time.

[cottrell-air:~] cottrell% sudo port clean --all ghostscript
Password:
--->  Cleaning ghostscript
[cottrell-air:~] cottrell% sudo port install 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.
--->  Attempting to fetch ghostscript-9.10_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/ghostscript
--->  Attempting to fetch ghostscript-9.10_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ghostscript
--->  Attempting to fetch ghostscript-9.10_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/ghostscript
--->  Fetching distfiles for ghostscript
--->  Attempting to fetch ghostscript-9.10.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/ghostscript
--->  Attempting to fetch ghostscript-fonts-other-6.0.tar.gz from http://superb-dca3.dl.sourceforge.net/gs-fonts
--->  Attempting to fetch mappingresources4pdf_2unicode_20091116.tar.Z from http://superb-dca3.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Attempting to fetch mappingresources4pdf_other_20091116.tar.Z from http://superb-dca3.dl.sourceforge.net/mapping-for-pdf.adobe
--->  Verifying checksums for ghostscript
--->  Extracting ghostscript
--->  Applying patches to ghostscript
--->  Configuring ghostscript
--->  Building ghostscript
Error: org.macports.build for port ghostscript returned: 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

Changed 8 years ago by mattcottrell

Attachment: main.log added

Log file

comment:3 Changed 8 years ago by takanori@…

Maybe your tiffio.h is broken. Could you try:

$ sudo port upgrade --force tiff

before building ghostscript?

comment:4 Changed 8 years ago by mattcottrell

Problem solved. After force upgrading of tiff I can now build ghostscript.

Thanks

comment:5 Changed 8 years ago by takanori@…

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