Opened 12 years ago
Closed 12 years ago
#35379 closed defect (fixed)
fontforge @20110222 compile fails on Xcode 4.4 (OS X 10.8)
Reported by: | machsna (J. ‘mach’ Wust) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | mountainlion | Cc: | rockinamadeus@…, devin.plompier@…, DanielO (Daniel O'Connor), ja_macports@…, nerdling (Jeremy Lavergne), msandersen@…, rlhamil, dc@… |
Port: | fontforge |
Description
I guess this might be pretty much the same error as Ticket #33284, an absolute path that no longer exists in the new Xcode version.
:info:build giomime.c:68:10: fatal error: '/Applications/Xcode.app/Contents/Developer/Headers/FlatCarbon/Files.h' file not found :info:build #include </Applications/Xcode.app/Contents/Developer/Headers/FlatCarbon/Files.h> :info:build ^
This issue (if I am not mistaken) has been reported to the fontforge developers: https://sourceforge.net/mailarchive/message.php?msg_id=29601573
Attachments (2)
Change History (21)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | mountainlion added |
---|
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | rockinamadeus@… added |
---|
comment:7 Changed 12 years ago by nerdling (Jeremy Lavergne)
It looks like we may be able to simply change the post-patch phase to accomodate using the 10.7 SDK on 10.8.
comment:8 Changed 12 years ago by nerdling (Jeremy Lavergne)
By using the 10.7 SDK I get past the original error and down to this one:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h:1791:41: error: typedef redefinition with different types ('struct AnchorPoint' vs 'struct anchorpoint') typedef struct AnchorPoint AnchorPoint; ^ ./splinefont.h:512:3: note: previous definition is here } AnchorPoint; ^
Changed 12 years ago by nerdling (Jeremy Lavergne)
Attachment: | Portfile-fontforge.diff added |
---|
use 10.7 SDK for Carbon
Changed 12 years ago by nerdling (Jeremy Lavergne)
Attachment: | Portfile-fontforge.2.diff added |
---|
use 10.7 SDK and find/replace AnchorPoint
comment:9 follow-up: 12 Changed 12 years ago by nerdling (Jeremy Lavergne)
I have a successful build with the latest suggested patch. Anyone else have success or failure with it?
comment:10 Changed 12 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed in r96396.
comment:11 Changed 12 years ago by jmroot (Joshua Root)
Using an older SDK isn't ideal; it would be better to use framework includes instead of FlatCarbon.
comment:12 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to snc@…:
I have a successful build with the latest suggested patch. Anyone else have success or failure with it?
Wouldn't Xcode 4.4 on 10.7 still fail the same way? Shouldn't the test be for ${xcodeversion} and not ${os.major}?
comment:13 Changed 12 years ago by nerdling (Jeremy Lavergne)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Probably not a bad idea. Do you know if it's xcode 4.4 that should serve at the first version having issues?
comment:14 follow-up: 16 Changed 12 years ago by msandersen@…
fontforge fails to build for me as well on 10.8, I have no idea from the above on how to fix it. Hoping there will be a fix soon.
comment:16 Changed 12 years ago by truthbk@…
Replying to msandersen@…:
fontforge fails to build for me as well on 10.8, I have no idea from the above on how to fix it. Hoping there will be a fix soon.
Make sure you set developer_dir appropriately in macports.conf (typically /opt/local/etc/macports/macports.conf):
for instance... developer_dir /Applications/Xcode.app/Contents/Developer
comment:19 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Has duplicate #35411.