Opened 11 months ago
Last modified 11 months ago
#68965 new defect
MPlayer build error on Tiger: make: *** virtual memory exhausted. Stop.
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | tiger | Cc: | kencu (Ken) |
Port: | MPlayer |
Description
:notice:build ---> Building MPlayer :debug:build Executing org.macports.build (MPlayer) :debug:build Environment: :debug:build CC_PRINT_OPTIONS='YES' :debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_MPlayer/MPlayer/work/.CC_PRINT_OPTIONS' :debug:build CPATH='/opt/local/include' :debug:build DEVELOPER_DIR='/Developer' :debug:build LIBRARY_PATH='/opt/local/lib' :debug:build MACOSX_DEPLOYMENT_TARGET='10.4' :info:build Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_MPlayer/MPlayer/work/MPlayer-1.5" && /usr/bin/make -j4 -w all :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_MPlayer/MPlayer/work/MPlayer-1.5" && /usr/bin/make -j4 -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_MPlayer/MPlayer/work/MPlayer-1.5' :info:build make: *** virtual memory exhausted. Stop. :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_MPlayer/MPlayer/work/MPlayer-1.5' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_MPlayer/MPlayer/work/MPlayer-1.5" && /usr/bin/make -j4 -w all :info:build Exit code: 2
Attachments (1)
Change History (9)
Changed 11 months ago by barracuda156
Attachment: | mplayer.log added |
---|
comment:1 Changed 11 months ago by barracuda156
comment:2 Changed 11 months ago 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....
comment:3 Changed 11 months ago by barracuda156
I give up, it is just broken. Even disabling gl and altivec does not help:
libvo/osx_objc_common.m: In function 'vo_osx_init': libvo/osx_objc_common.m:73: warning: ISO C90 forbids mixed declarations and code libvo/osx_objc_common.m:74: warning: passing argument 1 of 'initWithAttributes:' discards qualifiers from pointer target type libvo/osx_objc_common.m: In function '-[MPCommonOpenGLView preinit]': libvo/osx_objc_common.m:163: error: 'GLint' undeclared (first use in this function) libvo/osx_objc_common.m:163: error: (Each undeclared identifier is reported only once libvo/osx_objc_common.m:163: error: for each function it appears in.) libvo/osx_objc_common.m:163: error: expected ';' before 'swapInterval' libvo/osx_objc_common.m:202: error: 'swapInterval' undeclared (first use in this function) libvo/osx_objc_common.m: In function '-[MPCommonOpenGLView configWidth:height:flags:]': libvo/osx_objc_common.m:232: warning: ISO C90 forbids mixed declarations and code libvo/osx_objc_common.m: In function '-[MPCommonOpenGLView reshape]': libvo/osx_objc_common.m:261: warning: ISO C90 forbids mixed declarations and code libvo/osx_objc_common.m: In function '-[MPCommonOpenGLView fullscreen:]': libvo/osx_objc_common.m:410: warning: 'NSWindow' may not respond to '-enterFullScreenMode:' libvo/osx_objc_common.m:410: warning: (Messages without a matching method signature libvo/osx_objc_common.m:410: warning: will be assumed to return 'id' and accept libvo/osx_objc_common.m:410: warning: '...' as arguments.) libvo/osx_objc_common.m:422: warning: ISO C90 forbids mixed declarations and code libvo/osx_objc_common.m:437: warning: 'NSWindow' may not respond to '-exitFullScreenMode:' gmake: *** [Makefile:736: libvo/osx_objc_common.o] Error 1
comment:4 follow-up: 5 Changed 11 months ago by kencu (Ken)
nobody ever ever ever tests builds on Tiger, especially PPC.
you can expect to come across many build failures due to assumptions that are not true on that system.
I used to run a webserver off a Tiger PPC system, for 15 years!, so I kept Tiger up to date from time to time.
but that hardware now runs Debian PPC Linux now that Adrian finally fixed that, and it’s 100x better than it was before, so I don’t spend any time fixing Tiger any more.
comment:5 Changed 11 months ago by barracuda156
Replying to kencu:
nobody ever ever ever tests builds on Tiger, especially PPC.
you can expect to come across many build failures due to assumptions that are not true on that system.
I used to run a webserver off a Tiger PPC system, for 15 years!, so I kept Tiger up to date from time to time.
but that hardware now runs Debian PPC Linux now that Adrian finally fixed that, and it’s 100x better than it was before, so I don’t spend any time fixing Tiger any more.
Tiger is not something I would waste time on myself, since every time I try something out of curiosity it just doesn’t work. (Which leaves me surprised how someone could be using it in context of development.)
I would invest some time in Leopard, provided ppc64 is fixed. That gonna make sense for G5.
comment:6 follow-up: 7 Changed 11 months ago by kencu (Ken)
my dualg5s running Linux ppc64 have the latest llvm, clang, rust, gcc, qt6, gtk, a fairly current web browser that can access github, octave, etc…
debian runs a full buildbot setup for all the software for them.
and they can dual boot into Leopard or Tiger any time you want (very rarely now for me).
There are a few hiccups of course, but…
comment:7 Changed 11 months ago by barracuda156
Replying to kencu:
my dualg5s running Linux ppc64 have the latest llvm, clang, rust, gcc, qt6, gtk, a fairly current web browser that can access github, octave, etc…
debian runs a full buildbot setup for all the software for them.
and they can dual boot into Leopard or Tiger any time you want (very rarely now for me).
There are a few hiccups of course, but…
I tried FreeBSD 13, and turned out they have broken multicpu support: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271826 Not interested in Linux really. If BSD ever gets fixed, will give it another try.
comment:8 Changed 11 months ago by kencu (Ken)
why always fight the tide?
debian 12 is the core of linux, and that is what works. many ppc/ppc64 users now.
everything else is a waste of time, I think…
Okay, so switching to
gmake
got me a step further, then it failed on: