Opened 6 years ago

Last modified 2 years ago

#56321 new defect

ghostscript @9.23: error: expected function body after function declarator

Reported by: pauldj (Paolo Bientinesi) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.3
Keywords: Cc: cooljeanius (Eric Gallager)
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

Attachments (1)

main.log (272.2 KB) - added by pauldj (Paolo Bientinesi) 6 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log

Download all attachments as: .zip

Change History (6)

Changed 6 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 6 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?

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Well, I see from the log that it's clang 902.0.39.1, which is from Xcode 9.3. So an outdated Xcode is not the problem here.

comment:3 Changed 6 years ago by pmetzger (Perry E. Metzger)

Seems to build for me under 10.3.4.

comment:4 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:5 in reply to:  1 Changed 2 years ago by cooljeanius (Eric Gallager)

Replying to ryandesign:

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

...so... does that mean that this is a dup of that, then?

Note: See TracTickets for help on using tickets.