Opened 10 years ago

Closed 10 years ago

Last modified 2 months ago

#42850 closed defect (fixed)

tk @8.6.1_1 fails to build on 10.9.2 (mavericks)

Reported by: posita (Matt Bogosian) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch Cc: raphael-st (Raphael Straub), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), jgmath2000@…, gilbert.ahn@…, maverickwoo (Maverick Woo), skymoo (Adam Mercer), anddam (Andrea D'Amore)
Port: tk

Description


Attachments (3)

tk_main.log (25.3 KB) - added by posita (Matt Bogosian) 10 years ago.
patch-unix_configure.diff (431 bytes) - added by raphael-st (Raphael Straub) 10 years ago.
patch-macosx_configure.diff (435 bytes) - added by raphael-st (Raphael Straub) 10 years ago.

Download all attachments as: .zip

Change History (20)

comment:1 Changed 10 years ago by posita (Matt Bogosian)

I don't think this issue has been created yet, but it's difficult to tell when searching for "tk" because the trac wants search terms of at least three characters.... :o\

In any event, main.log is attached. The error ("error: garbage collection is no longer supported") is foreign to me....

[Apologies: this comment should have been in the description. I submitted too soon.]

Last edited 10 years ago by posita (Matt Bogosian) (previous) (diff)

comment:2 Changed 10 years ago by mf2k (Frank Schima)

This is not a clean build log. Please clean the port and try again. Then attach the new main.log file.

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

Cc: mww@… removed
Owner: changed from macports-tickets@… to mww@…

Changed 10 years ago by posita (Matt Bogosian)

Attachment: tk_main.log added

comment:4 Changed 10 years ago by posita (Matt Bogosian)

Clean version attached.

comment:5 in reply to:  1 Changed 10 years ago by raphael-st (Raphael Straub)

Replying to mtb19@…:

The error ("error: garbage collection is no longer supported") is foreign to me....

This means that the Objective-C compiler does no longer support garbage collection, which is requested by tk with the command line option -fobjc-gc.

The attached patches work for me. I think, they should only be applied if the compiler does not support garbage collection (clang in Xcode 5.1 and above?).

Changed 10 years ago by raphael-st (Raphael Straub)

Attachment: patch-unix_configure.diff added

Changed 10 years ago by raphael-st (Raphael Straub)

Attachment: patch-macosx_configure.diff added

comment:6 Changed 10 years ago by raphael-st (Raphael Straub)

Keywords: haspatch added

comment:7 Changed 10 years ago by raphael-st (Raphael Straub)

Cc: raphael@… added

Cc Me!

comment:8 Changed 10 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:9 Changed 10 years ago by jgmath2000@…

Cc: jgmath2000@… added

Cc Me!

comment:10 Changed 10 years ago by gilbert.ahn@…

Cc: gilbert.ahn@… added

Cc Me!

comment:11 Changed 10 years ago by maverickwoo (Maverick Woo)

Cc: maverick.woo@… added

Cc Me!

comment:12 Changed 10 years ago by accrama@…

Hi. I am new here. I understand the solution but where am I to change the command line? Thank you.

comment:13 Changed 10 years ago by slarew

Cc: stephen@… added

Cc Me!

comment:14 Changed 10 years ago by skymoo (Adam Mercer)

Cc: ram@… added

Cc Me!

comment:15 Changed 10 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:16 Changed 10 years ago by anddam (Andrea D'Amore)

Resolution: fixed
Status: newclosed

Committed r121688, ticket closed.

comment:17 Changed 2 months ago by slarew

Cc: slarew removed
Note: See TracTickets for help on using tickets.