[MacPorts] #51571: glfw @3.2_0 fails building on 10.6.8

MacPorts noreply at macports.org
Sun Jun 5 16:23:45 PDT 2016


#51571: glfw @3.2_0 fails building on 10.6.8
------------------------+--------------------------------
 Reporter:  braumann@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.3.4
 Keywords:              |       Port:  glfw
------------------------+--------------------------------
 While upgrading ``glfw @3.1.2_1'' to ``3.2_0'' on 10.6.8 I run into this
 trouble:

 {{{
 ...
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_glfw/glfw/work/build/src
 && /Developer/usr/bin/llvm-gcc-4.2  -D_GLFW_USE_CONFIG_H -Dglfw_EXPORTS
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_glfw/glfw/work/glfw-3.2/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_glfw/glfw/work/glfw-3.2/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_glfw/glfw/work/build/src
 -pipe -Os  -arch x86_64 -mmacosx-version-min=10.6 -fPIC   -Wall -fno-
 common -o CMakeFiles/glfw.dir/nsgl_context.m.o   -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_glfw/glfw/work/glfw-3.2/src/nsgl_context.m
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_glfw/glfw/work/glfw-3.2/src/nsgl_context.m:
 In function ‘_glfwCreateContextNSGL’:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_glfw/glfw/work/glfw-3.2/src/nsgl_context.m:176:
 error: ‘NSOpenGLPFAOpenGLProfile’ undeclared (first use in this function)
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_glfw/glfw/work/glfw-3.2/src/nsgl_context.m:176:
 error: (Each undeclared identifier is reported only once
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_glfw/glfw/work/glfw-3.2/src/nsgl_context.m:176:
 error: for each function it appears in.)
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_glfw/glfw/work/glfw-3.2/src/nsgl_context.m:176:
 error: ‘NSOpenGLProfileVersion3_2Core’ undeclared (first use in this
 function)
 :info:build make[2]: *** [src/CMakeFiles/glfw.dir/nsgl_context.m.o] Error
 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 ...
 }}}

 Some ideas?

-- 
Ticket URL: <https://trac.macports.org/ticket/51571>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list