Opened 7 years ago

Last modified 3 years ago

#56321 new defect

ghostscript @9.23: error: expected function body after function declarator — at Version 1

Reported by: pauldj (Paolo Bientinesi) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.3
Keywords: Cc:
Port: ghostscript

Description (last modified by ryandesign (Ryan Carsten Schmidt))

MacOS High Sierra 10.13.3

7:20 ~>sudo port clean ghostscript
--->  Cleaning ghostscript
7:20 ~>sudo port install ghostscript
--->  Computing dependencies for ghostscript
--->  Fetching archive for ghostscript
--->  Attempting to fetch ghostscript-9.23_2+x11.darwin_17.x86_64.tbz2 from https://packages.macports.org/ghostscript
--->  Attempting to fetch ghostscript-9.23_2+x11.darwin_17.x86_64.tbz2 from http://nue.de.packages.macports.org/ghostscript
--->  Attempting to fetch ghostscript-9.23_2+x11.darwin_17.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ghostscript
--->  Fetching distfiles for ghostscript
--->  Verifying checksums for ghostscript
--->  Extracting ghostscript
--->  Applying patches to ghostscript
--->  Configuring ghostscript
--->  Building ghostscript
Error: Failed to build ghostscript: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_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

Change History (2)

Changed 7 years ago by pauldj (Paolo Bientinesi)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log

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

Description: modified (diff)
Port: ghostscript added
Summary: Failed to build ghostscript: command execution failedghostscript @9.23: error: expected function body after function declarator

A similar problem was reported for El Capitan in #56258.

What version of Xcode and clang do you have?

Note: See TracTickets for help on using tickets.