[MacPorts] #40738: jack does not build OSX 10.9

MacPorts noreply at macports.org
Fri Oct 11 09:30:06 PDT 2013


#40738: jack does not build OSX 10.9
---------------------------------+-----------------------
  Reporter:  mattbrocklehurst@…  |      Owner:  eu@…
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.2.99
Resolution:                      |   Keywords:  mavericks
      Port:  jack                |
---------------------------------+-----------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => eu@…


Old description:

> Not had chance to fix this yet but...
>
> Getting error...
>
> :info:build <command line>:7:10: fatal error:
> '/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h' file not
> found
> :info:build #include
> "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h"
>
> :error:build Failed to install jack
> :debug:build couldn't open
> "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
> no such file or directory
>
> Reason being Frameworks are now part of the Xcode5 directory (Apple must
> of wanted a tidy up), think you can run xcrun to find the path..
>
> On my machine these two directories live
>
> /Applications/Xcode5-DP3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Headers
>
> /Applications/Xcode5-DP3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tcl.framework
>
> I did try (running out of time)...
>
> ln -s
> "/Applications/Xcode5-DP3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Headers"
> /System/Library/Frameworks/Carbon.framework/Headers
>
> ln -s
> "/Applications/Xcode5-DP3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tcl.framework"
> /System/Library/Frameworks/Tcl.framework
>
> And it does get a bit further but then its failing with
>
> :info:build In file included from <built-in>:162:
> :info:build In file included from <command line>:7:
> :info:build
> /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:29:10: fatal
> error: 'HIToolbox/HIToolbox.h' file not found
> :info:build #include <HIToolbox/HIToolbox.h>
>
> I *think* there is a --with-tcl-dir that we can pass to ./configure in
> the Portfile configure-amend directive and use xcrun to find out this
> path.. but i've run out of time (hopefully someone else has a patch or a
> quick solution)

New description:

 Not had chance to fix this yet but...

 Getting error...

 {{{
 :info:build <command line>:7:10: fatal error:
 '/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h' file not
 found
 :info:build #include
 "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h"

 :error:build Failed to install jack
 :debug:build couldn't open
 "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
 no such file or directory
 }}}

 Reason being Frameworks are now part of the Xcode5 directory (Apple must
 of wanted a tidy up), think you can run `xcrun` to find the path..

 On my machine these two directories live

  *
 /Applications/Xcode5-DP3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Headers
  *
 /Applications/Xcode5-DP3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tcl.framework

 I did try (running out of time)...

 {{{
 ln -s
 "/Applications/Xcode5-DP3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Headers"
 /System/Library/Frameworks/Carbon.framework/Headers

 ln -s
 "/Applications/Xcode5-DP3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tcl.framework"
 /System/Library/Frameworks/Tcl.framework
 }}}

 And it does get a bit further but then its failing with

 {{{
 :info:build In file included from <built-in>:162:
 :info:build In file included from <command line>:7:
 :info:build
 /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:29:10: fatal
 error: 'HIToolbox/HIToolbox.h' file not found
 :info:build #include <HIToolbox/HIToolbox.h>
 }}}

 I ''think'' there is a `--with-tcl-dir` that we can pass to ./configure in
 the Portfile configure-amend directive and use `xcrun` to find out this
 path.. but i've run out of time (hopefully someone else has a patch or a
 quick solution)

--

Comment:

 Remember to use WikiFormatting and to Cc the port's maintainer.

 The tclIndex error message is irrelevant; please [ticket:37231 ignore it].

 The other errors sound like jack is using Carbon, which was always just
 meant as a crutch to allow developers to move to OS X from OS 9 quickly
 and which is in every new OS X release becoming less and less supported.
 OS X is now 13 years old and it's high time for developers to stop using
 Carbon.

 It looks like there is something called [ticket:40745 jack2] now. Perhaps
 we need to either update the jack port to that, or create a new jack2 port
 for it.

-- 
Ticket URL: <https://trac.macports.org/ticket/40738#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list