Opened 6 years ago

Last modified 5 years ago

#56739 assigned defect

gildas fails to install due to unexpected token

Reported by: kateyalatalo (Dr. Katherine Alatalo) Owned by: bardeau
Priority: Normal Milestone:
Component: ports Version: 2.5.2
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: gildas

Description

System: Mac Pro (late 2013) macOS High Sierra 10.13.5

Xcode Version 9.4.1 (9F2000)

XQuartz 2.7.11

using: cfitsio +gcc7

log is attached.

Attachments (1)

gildas_error.log (543.8 KB) - added by kateyalatalo (Dr. Katherine Alatalo) 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by kateyalatalo (Dr. Katherine Alatalo)

Attachment: gildas_error.log added

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

Cc: jeremyhu added

This error sounds very much like you are using a linker that is too old for your operating system. What variant of the ld64 port is installed? On High Sierra and later, until the ld64-latest subport is updated to a newer version, you need to use the ld64_xcode variant.

comment:2 Changed 6 years ago by jmroot (Joshua Root)

Cc: bardeau added
Owner: set to smaret
Status: newassigned

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Cc: bardeau removed
Owner: changed from smaret to bardeau@…

comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from bardeau@… to bardeau

comment:5 Changed 5 years ago by bardeau

Hi,

sorry for the late answer, I wasn't aware of this ticket.

This error

:info:build ld: unexpected token: !tapi-tbd-v3 file '/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd' for architecture x86_64

should be solved by switching to the right version of the linker:

sudo port install ld64 +ld64_xcode

Then restart Gildas compilation from scratch:

sudo port clean gildas
sudo port install gildas
Note: See TracTickets for help on using tickets.