Opened 11 years ago
Closed 6 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)
Change History (19)
Changed 11 years ago by paola.mucciarelli@…
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | Pallet added |
Summary: | Palled installation failed on Mavericks → Pallet: 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: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:10 Changed 10 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 10 years ago by jerryyhom
Attachment: | patch-remove-GC.diff added |
---|
comment:11 Changed 10 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 10 years ago by jerryyhom
Attachment: | patch-disable-GC.diff added |
---|
comment:13 Changed 9 years ago by jmroot (Joshua Root)
Cc: | ksammons@… added |
---|
comment:16 Changed 6 years ago by Ken <21211439+kencu@…>
Resolution: | → fixed |
---|---|
Status: | new → closed |
log file