Opened 13 years ago
Closed 13 years ago
#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: | g5pw (Aljaž Srebrnič), nerdling (Jeremy Lavergne) | |
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 (1)
Change History (9)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 13 years 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 13 years ago by ryandesign (Ryan Carsten Schmidt)
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 13 years ago by smparkes@…
Is it within the scope of macports to patch upstream until they fix it?
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
If someone made a reasonable patch, we might apply it, yes.
See also wiki:ProblemHotlist#xcode43
Changed 13 years ago by g5pw (Aljaž Srebrnič)
Attachment: | fontforge-xcode43.patch added |
---|
Patch made! It successfully compiles under Xcode 4.3 and it should work with previous versions, too!
comment:8 Changed 13 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | new → closed |
We don't want to hardcode locations. Instead, rely on MacPorts finding the path for us and setting it in ${developer_dir}. Patched in r90799.
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.