#66342 closed defect (fixed)
libsdl2 @2.26.0_0+x11 build fail on OS X 10.8
Reported by: | chillin- | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | Cc: | chillin-, RobK88 | |
Port: | libsdl2 |
Description
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.26.0/src/video/cocoa/SDL_cocoaopengl.m:91:98: error: expected ')' CVDisplayLinkSetOutputCallback(self->displayLink, &DisplayLinkCallback, (__bridge void * _Nullable) self); ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.26.0/src/video/cocoa/SDL_cocoaopengl.m:91:81: note: to match this '(' CVDisplayLinkSetOutputCallback(self->displayLink, &DisplayLinkCallback, (__bridge void * _Nullable) self); ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.26.0/src/video/cocoa/SDL_cocoaopengl.m:103:107: error: no visible @interface for 'SDLOpenGLContext' declares the selector 'pixelFormat' CVDisplayLinkSetCurrentCGDisplayFromOpenGLContext(self->displayLink, [self CGLContextObj], [[self pixelFormat] CGLPixelFormatObj]); ~~~~ ^~~~~~~~~~~ 2 errors generated. make: *** [build/SDL_cocoaopengl.lo] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.26.0' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.26.0" && /usr/bin/make -j4 -w all V=1 Exit code: 2 Error: Failed to build libsdl2: command execution failed
Macmini5,2
OS X 10.8.5
Xcode 5.1.1
Attachments (3)
Change History (16)
Changed 2 years ago by chillin-
comment:1 Changed 2 years ago by chillin-
Summary: | libsdl2 build fail on OS X 10.8 → libsdl2 @2.26.0_0+x11 build fail on OS X 10.8 |
---|
comment:2 Changed 2 years ago by jmroot (Joshua Root)
Keywords: | libsdl2 removed |
---|---|
Owner: | set to jmroot |
Status: | new → accepted |
comment:4 Changed 2 years ago by RobK88
Cc: | RobK88 added |
---|
comment:5 Changed 2 years ago by jmroot (Joshua Root)
comment:6 Changed 2 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:7 Changed 2 years ago by chillin-
still fail
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.26.0/src/video/cocoa/SDL_cocoaopengl.m:91:98: error: expected ')' CVDisplayLinkSetOutputCallback(self->displayLink, &DisplayLinkCallback, (__bridge void * _Nullable) self); ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.26.0/src/video/cocoa/SDL_cocoaopengl.m:91:81: note: to match this '(' CVDisplayLinkSetOutputCallback(self->displayLink, &DisplayLinkCallback, (__bridge void * _Nullable) self); ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.26.0/src/video/cocoa/SDL_cocoaopengl.m:103:107: error: no visible @interface for 'SDLOpenGLContext' declares the selector 'pixelFormat' CVDisplayLinkSetCurrentCGDisplayFromOpenGLContext(self->displayLink, [self CGLContextObj], [[self pixelFormat] CGLPixelFormatObj]); ~~~~ ^~~~~~~~~~~ 2 errors generated. make: *** [build/SDL_cocoaopengl.lo] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.26.0' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.26.0" && /usr/bin/make -j4 -w all V=1 Exit code: 2 Error: Failed to build libsdl2: command execution failed
comment:8 Changed 2 years ago by chillin-
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:9 Changed 2 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Your log doesn't show any of the new patches I added being applied.
comment:10 Changed 2 years ago by chillin-
Does this one?
Sorry, I thought I waited long enough. How long does it usually take to replicate?
comment:11 Changed 2 years ago by jmroot (Joshua Root)
Now you have the first fix but not the second. I'm not sure exactly how long it takes for rsync to update (and it would depend on which mirror you use.) Probably give it a couple hours to be completely sure.
Note: See
TracTickets for help on using
tickets.
libsdl2 build fail main.log