Opened 10 years ago

Closed 5 years ago

#43581 closed defect (fixed)

Pallet: error: garbage collection is no longer supported

Reported by: paola.mucciarelli@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: ksammons@…, p-bro, slgarwood@…, ender@…, doctor@…, Polyergic (Shad Sterling), diazona+macportstrac@…, lpgaff (Liam Gaffney), SickTeddyBear, crhickerson@…
Port: Pallet

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi all,

I tried to install Pallet on my new macBook Pro with macOSX 10.9.1, MacPorts 2.2.1. The errors in the log file (attached) are of the following kind:

_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_Pallet/Pallet/work/Pallet/build/Pallet.build/Release/Pallet.build/Objects-normal/x86_64/StateTransformer.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “StateTransformer.d” couldn’t be opened because there is no such file." 

Thanks for any help! Paola

Attachments (3)

main.log (30.4 KB) - added by paola.mucciarelli@… 10 years ago.
log file
patch-remove-GC.diff (4.3 KB) - added by jerryyhom 9 years ago.
patch-disable-GC.diff (1.9 KB) - added by jerryyhom 9 years ago.

Download all attachments as: .zip

Change History (19)

Changed 10 years ago by paola.mucciarelli@…

Attachment: main.log added

log file

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

Description: modified (diff)
Port: Pallet added
Summary: Palled installation failed on MavericksPallet: error: garbage collection is no longer supported

Sorry, the Pallet code has not been maintained in some time. It evidently still uses garbage collection, a memory management technique Apple no longer supports. Pallet code needs to be updated to use automatic reference counting (ARC) instead. But this would also make it require a newer version of OS X than it currently requires. ARC is supported on OS X 10.7 Lion or later (some ARC features work on Mac OS X 10.6 Snow Leopard if Xcode 4.2 is used); the current version of Pallet supports back to Mac OS X 10.5 Leopard.

comment:2 Changed 10 years ago by p-bro

Cc: p.bro@… added

Cc Me!

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Duplicate #43922 claims that modifying the Xcode directory to use MacPorts clang 3.5 instead works. However, we would want instead to do as I said above: rewrite Pallet to not use garbage collection.

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

Cc: slgarwood@… added

Has duplicate #43945.

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

Cc: ender@… added

Has duplicate #44372.

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

Cc: doctor@… added

Has duplicate #44724.

comment:7 Changed 9 years ago by Polyergic (Shad Sterling)

Cc: me@… added

Cc Me!

comment:8 Changed 9 years ago by diazona+macportstrac@…

Cc: diazona+macportstrac@… added

Cc Me!

comment:9 Changed 9 years ago by kmfs69@…

Cc Me!

comment:10 Changed 9 years ago by jerryyhom

Similar to ticket:45835#comment:8, I made a batch patch for Pallet. It builds on my 10.9 system, it runs, but I did not test any actions. However, it quits with a crash.

I am confused with this ticket. The OP has 10.9 and the log file says trying to build for a 32-bit arch - but 10.9 requires a 64-bit arch.

Even more confusion, Ryan says Pallet & MacPorts_Framework need conversion to ARC, but binary packages were already built for 10.{6-9}, older than this ticket. For 10.10 systems, the patch would be necessary to build from source.

Changed 9 years ago by jerryyhom

Attachment: patch-remove-GC.diff added

comment:11 Changed 9 years ago by jerryyhom

Before Pallet can work, you will need to patch MacPorts_Framework with the patches in #45835. For Pallet, please disregard the previous patch I made. I will attach a new, simpler patch to disable GC.

Changed 9 years ago by jerryyhom

Attachment: patch-disable-GC.diff added

comment:12 Changed 9 years ago by lpgaff (Liam Gaffney)

Cc: lpgaff@… added

Cc Me!

comment:13 Changed 9 years ago by jmroot (Joshua Root)

Cc: ksammons@… added

comment:14 Changed 9 years ago by SickTeddyBear

Cc: amcgee@… added

Cc Me!

comment:15 Changed 8 years ago by crhickerson@…

Cc: crhickerson@… added

Cc Me!

comment:16 Changed 5 years ago by Ken <21211439+kencu@…>

Resolution: fixed
Status: newclosed

In be1c71657c6c58b40146a74f202d280b2aee55b0/macports-ports (master):

Pallet: fix build on darwin 14

closes: #43581

Note: See TracTickets for help on using tickets.