New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #33284 (closed defect: fixed)

Opened 15 months ago

Last modified 14 months ago

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

fontforge-xcode43.patch (793 bytes) - added by a2piratesoft@… 15 months ago.
Patch made! It successfully compiles under Xcode 4.3 and it should work with previous versions, too!

Change History

comment:1 Changed 15 months ago by ryandesign@…

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.

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@…

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@…

Patch made! It successfully compiles under Xcode 4.3 and it should work with previous versions, too!

comment:6 Changed 15 months ago by a2piratesoft@…

  • Cc a2piratesoft@… added

Cc Me!

comment:7 Changed 14 months ago by snc@…

  • Cc snc@… added

Cc Me!

comment:8 Changed 14 months ago by snc@…

  • Status changed from new to closed
  • Resolution set to fixed

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.

Note: See TracTickets for help on using tickets.