[MacPorts] #35166: mplayer2 @2.0-20120606 Error: command execution failed
#35166: mplayer2 @2.0-20120606 Error: command execution failed -------------------------------+-------------------------------------------- Reporter: sasoph@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: mplayer2 -------------------------------+-------------------------------------------- 10.5.8 PPC, Xcode 3.1.4 Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_mplayer2/mplayer2/work/mplayer2-2.0-20120606" && /usr/bin/make -w mplayer V=1 -- Ticket URL: <https://trac.macports.org/ticket/35166> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -------------------------------+-------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => cal@… Old description:
10.5.8 PPC, Xcode 3.1.4
Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_mplayer2/mplayer2/work/mplayer2-2.0-20120606" && /usr/bin/make -w mplayer V=1
New description: 10.5.8 PPC, Xcode 3.1.4 {{{ Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_mplayer2/mplayer2/work/mplayer2-2.0-20120606" && /usr/bin/make -w mplayer V=1 }}} -- Comment: In the future, please Cc the maintainer(s). Error is: {{{ :info:build /usr/bin/gcc-4.0 -MD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -arch ppc -maltivec -mabi=altivec -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -falign-loops=16 -shared- libgcc -mdynamic-no-pic -I. -I/opt/local/include -I/opt/local/include/freetype2 -O2 -arch ppc -Wno-pointer-sign -I/opt/local/include -I/opt/local/include/freetype2 -I/usr/X11/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include -I/opt/local/include/fribidi -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libdvdread -c -o libvo/gl_common.o libvo/gl_common.c :info:build libvo/gl_common.c: In function 'glFmt2bpp': :info:build libvo/gl_common.c:599: error: 'GL_RG' undeclared (first use in this function) :info:build libvo/gl_common.c:599: error: (Each undeclared identifier is reported only once :info:build libvo/gl_common.c:599: error: for each function it appears in.) :info:build make: *** [libvo/gl_common.o] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/35166#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 cal@…): `GL_RG` is defined in `/usr/X11/include/include/GL/glext.h` on my system. If it isn't on yours, try installing the `mesa` port. -- Ticket URL: <https://trac.macports.org/ticket/35166#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#35166: mplayer2 @2.0-20120606 Error: command execution failed --------------------------------+------------------------------------------- Reporter: sasoph@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: Port: mplayer2 | --------------------------------+------------------------------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: Your original issue should be fixed by r95710, the conflicting types for 'Cursor' problem is being tracked in #35177. -- Ticket URL: <https://trac.macports.org/ticket/35166#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts