[MacPorts] #68965: MPlayer build error on Tiger: make: *** virtual memory exhausted. Stop.

MacPorts noreply at macports.org
Sat Dec 23 07:48:19 UTC 2023


#68965: MPlayer build error on Tiger: make: *** virtual memory exhausted.  Stop.
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  tiger
      Port:  MPlayer       |
---------------------------+--------------------

Comment (by barracuda156):

 And with `gcc-7` it fails on:
 {{{
 :info:build libvo/gl_common.c: In function 'init_mpglcontext':
 :info:build libvo/gl_common.c:2757:24: warning: assignment from
 incompatible pointer type [-Wincompatible-pointer-types]
 :info:build      ctx->swapGlBuffers = vo_osx_swap_buffers;
 :info:build                         ^
 :info:build libvo/osx_objc_common.m: In function 'vo_osx_init':
 :info:build libvo/osx_objc_common.m:73:5: warning: ISO C90 forbids mixed
 declarations and code [-Wdeclaration-after-statement]
 :info:build      const NSOpenGLPixelFormatAttribute *attribs =
 vo_doublebuffering ? double_attribs : nodouble_attribs;
 :info:build      ^~~~~
 :info:build libvo/osx_objc_common.m:74:5: warning: passing argument 1 of
 'initWithAttributes:' discards 'const' qualifier from pointer target type
 [-Wdiscarded-qualifiers]
 :info:build      pixfmt = [[NSOpenGLPixelFormat alloc]
 initWithAttributes:attribs];
 :info:build      ^~~~~~
 :info:build libvo/osx_objc_common.m:74:5: note: expected
 'NSOpenGLPixelFormatAttribute * {aka enum <anonymous> *}' but argument is
 of type 'const NSOpenGLPixelFormatAttribute * {aka const enum <anonymous>
 *}'
 :info:build libvo/osx_objc_common.m: In function '-[MPCommonOpenGLView
 preinit]':
 :info:build libvo/osx_objc_common.m:163:2: error: unknown type name
 'GLint'; did you mean 'Point'?
 :info:build   GLint swapInterval = 1;
 :info:build   ^~~~~
 :info:build   Point
 :info:build libvo/osx_objc_common.m:202:2: warning: passing argument 1 of
 'setValues:forParameter:' from incompatible pointer type [-Wincompatible-
 pointer-types]
 :info:build   [glContext setValues:&swapInterval
 forParameter:NSOpenGLCPSwapInterval];
 :info:build   ^
 :info:build libvo/osx_objc_common.m:202:2: note: expected 'const long int
 *' but argument is of type 'int *'
 :info:build libvo/osx_objc_common.m: In function '-[MPCommonOpenGLView
 configWidth:height:flags:]':
 :info:build libvo/osx_objc_common.m:232:2: warning: ISO C90 forbids mixed
 declarations and code [-Wdeclaration-after-statement]
 :info:build   NSPoint topleft = NSMakePoint(vo_dx, 2*xinerama_y +
 vo_screenheight - vo_dy);
 :info:build   ^~~~~~~
 :info:build libvo/osx_objc_common.m: In function '-[MPCommonOpenGLView
 reshape]':
 :info:build libvo/osx_objc_common.m:261:2: warning: ISO C90 forbids mixed
 declarations and code [-Wdeclaration-after-statement]
 :info:build   NSRect frame = [self frame];
 :info:build   ^~~~~~
 :info:build libvo/osx_objc_common.m: In function '-[MPCommonOpenGLView
 fullscreen:]':
 :info:build libvo/osx_objc_common.m:410:3: warning: 'NSWindow' may not
 respond to '-enterFullScreenMode:'
 :info:build    [window enterFullScreenMode:[self fullscreen_screen]];
 :info:build    ^
 :info:build libvo/osx_objc_common.m:410:3: warning: (Messages without a
 matching method signature
 :info:build libvo/osx_objc_common.m:410:3: warning: will be assumed to
 return 'id' and accept
 :info:build libvo/osx_objc_common.m:410:3: warning: '...' as arguments.)
 :info:build libvo/osx_objc_common.m:422:3: warning: ISO C90 forbids mixed
 declarations and code [-Wdeclaration-after-statement]
 :info:build    NSSize size = { vo_screenwidth, vo_screenheight };
 :info:build    ^~~~~~
 :info:build libvo/osx_objc_common.m:437:3: warning: 'NSWindow' may not
 respond to '-exitFullScreenMode:'
 :info:build    [window exitFullScreenMode:[self fullscreen_screen]];
 :info:build    ^
 :info:build gmake: *** [Makefile:736: libvo/osx_objc_common.o] Error 1
 :info:build gmake: *** Waiting for unfinished jobs....
 }}}

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


More information about the macports-tickets mailing list