[MacPorts] #58206: libVLC-3.0.6_0+qtkit+quartz.darwin_15.x86_64 fails to build 10.11.6 El Capitan

MacPorts noreply at macports.org
Mon Mar 18 17:00:52 UTC 2019


#58206: libVLC-3.0.6_0+qtkit+quartz.darwin_15.x86_64 fails to build 10.11.6 El
Capitan
---------------------------+--------------------
 Reporter:  mikealeonetti  |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:  2.5.2
 Keywords:                 |       Port:  libVLC
---------------------------+--------------------
 When installing libVLC with +qtkit +quarts -x11 +no_x11 libVLC seems to
 choke on the files:
 modules/audio_output/coreaudio_common.c
 modules/access/qtsound.m

 Complaining about some uncompilable code:
 {{{
 :info:build access/qtsound.m:51:36: error: expected a type
 :info:build + (void)requestAccessForMediaType:(AVMediaType)mediaType
 completionHandler:(void (^)(BOOL granted))handler
 API_AVAILABLE(macos(10.14), ios(7.0));
 :info:build                                    ^
 :info:build access/qtsound.m:51:121: error: expected ':'
 :info:build + (void)requestAccessForMediaType:(AVMediaType)mediaType
 completionHandler:(void (^)(BOOL granted))handler
 API_AVAILABLE(macos(10.14), ios(7.0));
 :info:build
 ^
 :info:build
 :
 :info:build access/qtsound.m:51:121: error: expected ';' after method
 prototype
 :info:build + (void)requestAccessForMediaType:(AVMediaType)mediaType
 completionHandler:(void (^)(BOOL granted))handler
 API_AVAILABLE(macos(10.14), ios(7.0));
 :info:build
 ^
 :info:build
 ;
 :info:build access/qtsound.m:321:13: error: unexpected '@' in program
 :info:build         if (@available(macOS 10.14, *)) {
 :info:build             ^
 :info:build 4 errors generated.
 }}}
 {{{
 :info:build audio_output/coreaudio_common.h:35:9: fatal error: 'os/lock.h'
 file not found
 :info:build #import <os/lock.h>
 :info:build         ^
 :info:build In file included from audio_output/coreaudio_common.c:25:
 :info:build audio_output/coreaudio_common.h:35:9: fatal error: 'os/lock.h'
 file not found
 :info:build #import <os/lock.h>
 :info:build         ^
 :info:build 1 error generated.
 }}}

 I've attached the whole log file.

-- 
Ticket URL: <https://trac.macports.org/ticket/58206>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list