Ticket #33284 (closed defect: fixed)
fontforge @20110222 compile fails on Xcode 4.3 / non-/Developer install
| Reported by: | smparkes@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | Cc: | a2piratesoft@…, snc@… | |
| Port: | fontforge |
Description
Some include files reference absolute paths rooted at /Developer which don't exist in Xcode 4.3.
:info:build giomime.c:68:10: fatal error: '/Developer/Headers/FlatCarbon/Files.h' file not found :info:build #include </Developer/Headers/FlatCarbon/Files.h> :info:build ^
Attachments
Change History
comment:2 Changed 15 months ago by smparkes@…
Sure, I expected hiccups (and I have other rather compelling reasons to use Xcode 4.3). I just thought I'd add the ticket to help keep track (so to speak).
There's a simple hack/workaround until then to just add a symlink from /Applications/XCode.app/Contents/Developer during the install.
comment:3 Changed 15 months ago by ryandesign@…
Also, since the problem is in the fontforge source code, and not the MacPorts Portfile, please report the problem to the developers of fontforge so they can fix it. Once they release a new version of fontforge containing such a fix, we'll be happy to update the MacPorts fontforge Portfile to that new version.
comment:4 Changed 15 months ago by smparkes@…
Is it within the scope of macports to patch upstream until they fix it?
comment:5 Changed 15 months ago by ryandesign@…
If someone made a reasonable patch, we might apply it, yes.
See also wiki:ProblemHotlist#xcode43
Changed 15 months ago by a2piratesoft@…
- Attachment fontforge-xcode43.patch added
Patch made! It successfully compiles under Xcode 4.3 and it should work with previous versions, too!


Xcode 4.3 was just released and several aspects of MacPorts 2.0.3 and the ports we currently have are probably incompatible with it. I recommend you use Xcode 4.2.x until we can sort this out.