Opened 6 months ago

Closed 6 months ago

#68711 closed defect (fixed)

fondu @060102_1: clang: error: no such file or directory: '/System/Library/Frameworks/CoreServices.framework/CoreServices'

Reported by: MaddTheSane (C.W. Betts) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: bigsur monterey ventura sonoma haspatch Cc:
Port: fondu

Description

Fondu wants to specifically link to /System/Library/Frameworks/CoreServices.framework/CoreServices, which is not a valid path in Sonoma and probably earlier releases (probably whenever macOS migrated completely to dyld cache).

I'll attach a patch that will make it work with newer versions of macOS.

Attachments (1)

fonduPatch.diff (533 bytes) - added by MaddTheSane (C.W. Betts) 6 months ago.
fondu patch

Download all attachments as: .zip

Change History (4)

Changed 6 months ago by MaddTheSane (C.W. Betts)

Attachment: fonduPatch.diff added

fondu patch

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

Keywords: bigsur monterey ventura sonoma haspatch added
Owner: set to ryandesign
Status: newaccepted
Summary: Fondu fails to build (missing framework?)fondu @060102_1: clang: error: no such file or directory: '/System/Library/Frameworks/CoreServices.framework/CoreServices'

Thanks. I see that a bug has also been filed upstream:

https://sourceforge.net/p/fondu/bugs/12/

There, it was discovered that this project doesn't seem to need CoreServices at all so the line you're patching can just be removed. Since that would change how the software is linked, the revision should be increased so everyone gets the change.

This project hasn't had a release since 2006 so it's clearly dead so we should just apply a patch in MacPorts.

comment:2 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Perhaps it is easier to just continue to link against CoreServices even if it is not needed. It avoids the need to revbump, and the need to verify that CoreServices really isn't ever needed. I've looked through the fondu CVS history a little but I can't fully figure it out.

comment:3 Changed 6 months ago by MaddTheSane (C.W. Betts)

Resolution: fixed
Status: acceptedclosed

In 536cde0e6851267e0bcb8b60c23d4b88eaeab418/macports-ports (master):

fondu: Fix linking with CoreServices on macOS 11+

Closes: #68711

Note: See TracTickets for help on using tickets.