[MacPorts] #35166: mplayer2 @2.0-20120606 Error: command execution failed

MacPorts noreply at macports.org
Wed Jul 18 19:44:14 PDT 2012


#35166: mplayer2 @2.0-20120606 Error: command execution failed
-------------------------------+--------------------------------------------
 Reporter:  sasoph@…           |       Owner:  cal@…           
     Type:  defect             |      Status:  new             
 Priority:  Normal             |   Milestone:                  
Component:  ports              |     Version:  2.1.1           
 Keywords:                     |        Port:  mplayer2        
-------------------------------+--------------------------------------------

Comment(by sasoph@…):

 '''Argh, mplayer2+mesa.2.log is a duplicate, added when the first
 attachment didn't show as uploaded, due to Javascript not being switched
 on.'''

 I cut and pasted the line above, without noticing there were two
 "/include"s in the path, and therefore couldn't find the file. So, I
 installed mesa as per advice.

 mplayer2 throws up different errors from above (mplayer2+mesa.log):
 {{{
 :info:build In file included from /opt/local/include/X11/Xlib.h:44,
 :info:build                  from libvo/gl_common.h:41,
 :info:build                  from libvo/vo_corevideo.m:38:
 :info:build /opt/local/include/X11/X.h:103: error: conflicting types for
 'Cursor'
 :info:build
 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:269:
 error: previous declaration of 'Cursor' was here
 :info:build make: *** [libvo/vo_corevideo.o] Error 1
 }}}

 I now noticed /usr/X11/include/GL/glext.h was dated over a year old.
 I uninstalled mesa and tried again. Different mplayer2 errors
 (mplayer2.log):
 {{{
 :info:build libvo/cocoa_common.m:43: error: cannot find protocol
 declaration for 'NSWindowDelegate'
 :info:build libvo/cocoa_common.m: In function 'vo_cocoa_init':
 :info:build libvo/cocoa_common.m:142: error:
 'NSApplicationActivationPolicyRegular' undeclared (first use in this
 function)
 :info:build libvo/cocoa_common.m:142: error: (Each undeclared identifier
 is reported only once
 :info:build libvo/cocoa_common.m:142: error: for each function it appears
 in.)
 :info:build libvo/cocoa_common.m:142: warning: no '-setActivationPolicy:'
 method found
 :info:build libvo/cocoa_common.m:142: warning: (Messages without a
 matching method signature
 :info:build libvo/cocoa_common.m:142: warning: will be assumed to return
 'id' and accept
 :info:build libvo/cocoa_common.m:142: warning: '...' as arguments.)
 :info:build libvo/cocoa_common.m: In function 'vo_cocoa_uninit':
 :info:build libvo/cocoa_common.m:150: error:
 'NSApplicationPresentationDefault' undeclared (first use in this function)
 :info:build libvo/cocoa_common.m:150: warning: no
 '-setPresentationOptions:' method found
 :info:build libvo/cocoa_common.m: In function '-[GLMPlayerWindow
 fullscreen]':
 :info:build libvo/cocoa_common.m:417: error:
 'NSApplicationPresentationHideDock' undeclared (first use in this
 function)
 :info:build libvo/cocoa_common.m:417: error:
 'NSApplicationPresentationHideMenuBar' undeclared (first use in this
 function)
 :info:build libvo/cocoa_common.m:417: warning: no
 '-setPresentationOptions:' method found
 :info:build libvo/cocoa_common.m:420: warning: 'GLMPlayerWindow' may not
 respond to '-setStyleMask:'
 :info:build libvo/cocoa_common.m:427: error:
 'NSApplicationPresentationDefault' undeclared (first use in this function)
 :info:build libvo/cocoa_common.m:427: warning: no
 '-setPresentationOptions:' method found
 :info:build libvo/cocoa_common.m:429: warning: 'GLMPlayerWindow' may not
 respond to '-setStyleMask:'
 :info:build libvo/cocoa_common.m: In function '-[GLMPlayerWindow
 applicationWillBecomeActive:]':
 :info:build libvo/cocoa_common.m:573: error:
 'NSApplicationPresentationHideDock' undeclared (first use in this
 function)
 :info:build libvo/cocoa_common.m:574: error:
 'NSApplicationPresentationHideMenuBar' undeclared (first use in this
 function)
 :info:build libvo/cocoa_common.m:574: warning: no
 '-setPresentationOptions:' method found
 :info:build libvo/cocoa_common.m: In function '-[GLMPlayerWindow
 applicationWillResignActive:]':
 :info:build libvo/cocoa_common.m:581: error:
 'NSApplicationPresentationDefault' undeclared (first use in this function)
 :info:build libvo/cocoa_common.m:581: warning: no
 '-setPresentationOptions:' method found
 :info:build make: *** [libvo/cocoa_common.o] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/35166#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list