[MacPorts] #40888: tuntaposx @20111101 fails to build on Mavericks

MacPorts noreply at macports.org
Thu Oct 24 01:49:41 PDT 2013


#40888: tuntaposx @20111101 fails to build on Mavericks
--------------------+--------------------------------
 Reporter:  john@…  |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.2.0
 Keywords:          |       Port:  tuntaposx
--------------------+--------------------------------
 Error is:

 {{{
 :info:build /usr/bin/clang++ -Wall -mkernel -force_cpusubtype_ALL -fno-
 builtin -fno-stack-protector -arch x86_64 -DKERNEL -D__APPLE__
 -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20111101\"
 -DTUN_KEXT_VERSION=\"20111101\" -I..
 -I/System/Library/Frameworks/Kernel.framework/Headers -c .>
 :info:build In file included from In file included from
 ../tuntap.cc../tuntap.cc::3030:
 :info:build In file included from :
 :info:build In file included from ../tuntap.h:35:
 :info:build ../tuntap.h:35:
 :info:build ../lock.h:35:10: ../lock.h:35:fatal error: 'kern/locks.h' file
 not found10: fatal error: 'kern/locks.h' file not found
 :info:build
 :info:build #include <kern/locks.h>
 :info:build          ^
 :info:build #include <kern/locks.h>
 :info:build          ^
 :info:build 1 error generated.
 :info:build 1 error generated.
 }}}

 (full log attached.)

 It looks as though there no longer is a
 `/System/Library/Frameworks/Kernel.framework/Headers`. If I replace that
 with
 `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers`
 the build seems fine, but I'm not sure off hand how to do that in a
 portable way.

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


More information about the macports-tickets mailing list