#61307 closed defect (duplicate)
ghostscript 9.52 fails to build on macOS 10.13.6
Reported by: | bK4gYuRo | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | Cc: | bK4gYuRo, chrstphrchvz (Christopher Chavez) | |
Port: | ghostscript |
Description
The log looks similar to the one in ticket #61306
:info:build ./base/fapi_ft.c:129:1: error: expected function body after function declarator :info:build FF_alloc(FT_Memory memory, long size) :info:build ^ :info:build ./base/fapi_ft.c:236:34: error: use of undeclared identifier 'file_default_buffer_size' :info:build file_default_buffer_size, &ps, pfn.iodev, :info:build ^ :info:build ./base/fapi_ft.c:259:20: error: use of undeclared identifier 'FF_stream_read' :info:build ftstrm->read = FF_stream_read; :info:build ^ :info:build ./base/fapi_ft.c:260:21: error: use of undeclared identifier 'FF_stream_close' :info:build ftstrm->close = FF_stream_close; :info:build ^
Attachments (1)
Change History (9)
Changed 4 years ago by bK4gYuRo
comment:1 Changed 4 years ago by bK4gYuRo
Cc: | bK4gYuRo added |
---|
comment:2 Changed 4 years ago by kencu (Ken)
comment:3 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
comment:4 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
FF_stream_read()
, FF_stream_close()
, etc. are all functions defined (without prior declaration but before any subsequent usage) in the same file, base/fapi_ft.c. There are errors problems defining them, so clang doesn't recognize FF_stream_read
, FF_stream_close
, etc. when it proceeds anyway.
comment:5 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
I think https://github.com/macports/macports-ports/pull/8747 would fix this, but wonder if this ticket should just be closed as duplicate of #61306.
comment:6 Changed 4 years ago by kencu (Ken)
Yeah - looks like a combo of things in the end -- the freetype update did indeed break all ghostcript builds on all systems, as figured, but there are also other errors that relate to xcode12 specifically that needed other fixes.
fun, fun, fun :>
comment:7 Changed 4 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
AIUI this wasn't specific to Xcode 12 and so this new ticket wasn't really needed.
the FF_ structs may come from freetype, which I see was very recently updated.... might be a place to look.