[MacPorts] #66342: libsdl2 @2.26.0_0+x11 build fail on OS X 10.8
MacPorts
noreply at macports.org
Sun Nov 27 00:54:43 UTC 2022
#66342: libsdl2 @2.26.0_0+x11 build fail on OS X 10.8
-----------------------+--------------------
Reporter: chillin- | Owner: jmroot
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Resolution: fixed | Keywords:
Port: libsdl2 |
-----------------------+--------------------
Comment (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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66342#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list