[MacPorts] #67263: supertuxkart @1.4: builds fail for 10.12 and earlier: IOSurface/IOSurfaceRef.h not found

MacPorts noreply at macports.org
Tue May 16 09:19:21 UTC 2023


#67263: supertuxkart @1.4: builds fail for 10.12 and earlier:
IOSurface/IOSurfaceRef.h not found
---------------------------+------------------------
  Reporter:  mascguy       |      Owner:  evanmiller
      Type:  defect        |     Status:  closed
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:  fixed         |   Keywords:
      Port:  supertuxkart  |
---------------------------+------------------------

Comment (by jmroot):

 Failing on 10.9:
 {{{
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_games_supertuxkart/supertuxkart/work/SuperTuxKart-1.4-src/lib/irrlicht/source/Irrlicht/MoltenVK.mm:8:
 In file included from
 /System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:8:
 In file included from
 /System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:9:
 In file included from
 /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:9:
 In file included from
 /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
 In file included from
 /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43:
 In file included from
 /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:9:
 In file included from
 /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h:13:
 In file included from
 /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:30:
 In file included from /usr/include/xpc/xpc.h:31:
 /usr/include/xpc/base.h:105:13: error: expected value in expression
 #if __OBJC__
             ^
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_games_supertuxkart/supertuxkart/work/SuperTuxKart-1.4-src/lib/irrlicht/source/Irrlicht/MoltenVK.mm:8:
 In file included from
 /System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:8:
 In file included from
 /System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:9:
 In file included from
 /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:9:
 In file included from
 /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
 In file included from
 /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43:
 In file included from
 /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:9:
 /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h:17:29:
 error: typedef redefinition with different types ('struct __IOSurface *'
 vs 'void *')
 typedef struct __IOSurface *IOSurfaceRef;
                             ^
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_games_supertuxkart/supertuxkart/work/SuperTuxKart-1.4-src/lib/graphics_engine/include/vk_mvk_moltenvk.h:33:15:
 note: previous definition is here
 typedef void *IOSurfaceRef;
               ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67263#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list