I understand LinuxCNC is not in the official Gentoo repository, however this bug may creep into other packages as well. I am not sure on the severity of this, and I don't fully understand what is happening either. Problems like: $ python3 -c 'from OpenGL.GLUT import *' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3/dist-packages/OpenGL/GLUT/__init__.py", line 5, in <module> from OpenGL.GLUT.fonts import * File "/usr/lib/python3/dist-packages/OpenGL/GLUT/fonts.py", line 20, in <module> p = platform.getGLUTFontPointer( name ) File "/usr/lib/python3/dist-packages/OpenGL/platform/baseplatform.py", line 350, in getGLUTFontPointer raise NotImplementedError( NotImplementedError: Platform does not define a GLUT font retrieval function Debian has already patched their pyopengl package: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029011 Reproducible: Always Steps to Reproduce: 1. Install dev-python/pyopengl-3.1.6 2. Install LinuxCNC: https://github.com/NTULINUX/ntu_overlay/tree/main/sci-electronics/linuxcnc 3. Try to launch LinuxCNC (login and then logout of X/Wayland so env variables for TCLLIBPATH take effect) Actual Results: Several issues: https://github.com/LinuxCNC/linuxcnc/issues/2264 Expected Results: LinuxCNC starts up With dev-python/pyopengl-3.1.5, the problem goes away. pyopengl-3.1.7 should have this issue fixed upstream.
The commit that needs/should be merged into the 3.1.6 ebuild is: https://github.com/mcfletch/pyopengl/pull/91/commits/2d2457b4d565bce1c58b76b427e1f9027e8b4bcc
Thanks for the patch!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f4e6aee5faf344e9b864fd854377071790d725e commit 6f4e6aee5faf344e9b864fd854377071790d725e Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2023-02-12 19:26:59 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2023-02-12 19:41:06 +0000 dev-python/pyopengl: Backport a patch needed for LinuxCNC Closes: https://bugs.gentoo.org/893160 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/pyopengl/Manifest | 1 + .../{pyopengl-3.1.6-r1.ebuild => pyopengl-3.1.6-r2.ebuild} | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-)