[MacPorts] #73991: grass assumes symbols in OpenGL which may not exist, which breaks the build
MacPorts
noreply at macports.org
Wed May 13 00:11:23 UTC 2026
#73991: grass assumes symbols in OpenGL which may not exist, which breaks the build
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.12.5
Keywords: | Port: grass
--------------------------+--------------------
These symbols do not exist in GL 2.x, I guess, so it should be configured
to use `mesa` on systems without GL 3.x.
{{{
:info:build make[3]: Entering directory `/opt/local/var/macports/build
/grass-883d94c7/work/grass-8.5.0/lib/nviz'
:info:build /opt/local/bin/gcc-mp-14 -dynamiclib -compatibility_version
8.5 -current_version 8.5 -install_name
/opt/local/lib/grass85/lib/libgrass_nviz.8.5.dylib -o
/opt/local/var/macports/build/grass-883d94c7/work/grass-8.5.0/dist
.powerpc-apple-darwin10.8.0/lib/libgrass_nviz.8.5.dylib
-L/opt/local/var/macports/build/grass-883d94c7/work/grass-8.5.0/dist
.powerpc-apple-darwin10.8.0/lib -L/opt/local/var/macports/build/grass-
883d94c7/work/grass-8.5.0/dist.powerpc-apple-darwin10.8.0/lib
-Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport
-arch ppc
-Wl,-rpath,/opt/local/lib/grass85/lib,-rpath,/opt/local/var/macports/build
/grass-883d94c7/work/grass-8.5.0/dist.powerpc-apple-darwin10.8.0/lib OBJ
.powerpc-apple-darwin10.8.0/change_view.o OBJ.powerpc-apple-
darwin10.8.0/cplanes_obj.o OBJ.powerpc-apple-darwin10.8.0/draw.o OBJ
.powerpc-apple-darwin10.8.0/exag.o OBJ.powerpc-apple-darwin10.8.0/lights.o
OBJ.powerpc-apple-darwin10.8.0/map_obj.o OBJ.powerpc-apple-
darwin10.8.0/nviz.o OBJ.powerpc-apple-darwin10.8.0/position.o OBJ.powerpc-
apple-darwin10.8.0/render.o -lgrass_ogsf.8.5 -lgrass_gis.8.5 -framework
OpenGL -framework ApplicationServices -framework AGL
:info:build Undefined symbols for architecture ppc:
:info:build "_glBindFramebuffer", referenced from:
:info:build _Nviz_make_current_render_window in render.o
:info:build "_glBindRenderbuffer", referenced from:
:info:build _Nviz_make_current_render_window in render.o
:info:build "_glCheckFramebufferStatus", referenced from:
:info:build _Nviz_make_current_render_window in render.o
:info:build "_glFramebufferRenderbuffer", referenced from:
:info:build _Nviz_make_current_render_window in render.o
:info:build "_glGenFramebuffers", referenced from:
:info:build _Nviz_make_current_render_window in render.o
:info:build "_glGenRenderbuffers", referenced from:
:info:build _Nviz_make_current_render_window in render.o
:info:build "_glRenderbufferStorage", referenced from:
:info:build _Nviz_make_current_render_window in render.o
:info:build ld: symbol(s) not found for architecture ppc
:info:build collect2: error: ld returned 1 exit status
:info:build --
:info:build Errors in:
:info:build /opt/local/var/macports/build/grass-
883d94c7/work/grass-8.5.0/lib/nviz
:info:build /opt/local/var/macports/build/grass-
883d94c7/work/grass-8.5.0/misc/m.nviz.image
:info:build --
:info:build In case of errors please change into the directory with error
and run 'make'.
:info:build If you get multiple errors, you need to deal with them in the
order they
:info:build appear in the error log. If you get an error building a
library, you will
:info:build also get errors from anything which uses the library.
:info:build --
:info:build Finished compilation: Wed May 13 08:03:26 CST 2026
:info:build make: *** [default] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/73991>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list