[MacPorts] #56321: ghostscript @9.23: error: expected function body after function declarator (was: Failed to build ghostscript: command execution failed)

MacPorts noreply at macports.org
Thu Apr 19 06:06:51 UTC 2018


#56321: ghostscript @9.23: error: expected function body after function declarator
--------------------------+--------------------
  Reporter:  pauldj       |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.3
Resolution:               |   Keywords:
      Port:  ghostscript  |
--------------------------+--------------------
Changes (by ryandesign):

 * port:   => ghostscript


Old description:

> 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

New description:

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

--

Comment:

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

 What version of Xcode and clang do you have?

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


More information about the macports-tickets mailing list