Date: Fri, 30 Oct 2020 10:39:00 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 250739] games/widelands: fails to build with libglvnd Message-ID: <bug-250739-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250739 Bug ID: 250739 Summary: games/widelands: fails to build with libglvnd Product: Ports & Packages Version: Latest Hardware: Any URL: https://reviews.freebsd.org/P450 OS: Any Status: New Keywords: needs-patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: amdmi3@FreeBSD.org Reporter: jbeich@FreeBSD.org Blocks: 246767 Flags: maintainer-feedback?(amdmi3@FreeBSD.org) Assignee: amdmi3@FreeBSD.org Apply review D25020 then notice build fails (see URL for poudriere log). Replacing files/patch-CMakeLists.txt with USES=3Dlocalbase:ldflags fixes the build. -- Found OpenGL: /usr/local/lib/libOpenGL.so [...] FAILED: src/io/filesystem/test/test_io_filesystem=20 ld: error: undefined symbol: glReadPixels >>> referenced by screen.cc >>> screen.cc.o:(Screen::to_texture() const) in archive src/g= raphic/libgraphic_surface.a ld: error: undefined symbol: glGenTextures >>> referenced by texture.cc >>> texture.cc.o:(Texture::Texture(int, int)) in archive src/= graphic/libgraphic_surface.a ld: error: undefined symbol: glTexParameteri >>> referenced by texture.cc >>> texture.cc.o:(Texture::Texture(int, int)) in archive src/= graphic/libgraphic_surface.a ld: error: undefined symbol: glTexParameteri >>> referenced by texture.cc >>> texture.cc.o:(Texture::Texture(int, int)) in archive src/= graphic/libgraphic_surface.a ld: error: undefined symbol: glTexImage2D >>> referenced by texture.cc >>> texture.cc.o:(Texture::Texture(int, int)) in archive src/= graphic/libgraphic_surface.a ld: error: undefined symbol: glGenTextures >>> referenced by texture.cc >>> texture.cc.o:(Texture::init(unsigned short, unsigned shor= t)) in archive src/graphic/libgraphic_surface.a [...] $ grep -i OPENGL.\*LIBRARY.\*so $(make -V BUILD_WRKSRC)/CMakeCache.txt OPENGL_egl_LIBRARY:FILEPATH=3D/usr/local/lib/libEGL.so OPENGL_glu_LIBRARY:FILEPATH=3D/usr/local/lib/libGLU.so OPENGL_glx_LIBRARY:FILEPATH=3D/usr/local/lib/libGLX.so OPENGL_opengl_LIBRARY:FILEPATH=3D/usr/local/lib/libOpenGL.so $ pkg info -l libglvnd | grep '.so$' | xargs nm -A 2>&1 | fgrep 'T glReadPixels' /usr/local/lib/libGL.so:0000000000072ac0 T glReadPixels /usr/local/lib/libGLESv1_CM.so:0000000000006e40 T glReadPixels /usr/local/lib/libGLESv2.so:000000000000e040 T glReadPixels /usr/local/lib/libOpenGL.so:0000000000021620 T glReadPixels Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246767 [Bug 246767] graphics/mesa-libs: enable libglvnd support --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250739-7788>