Package Details: python-opengl-accelerate 3.1.7-2

Git Clone URL: https://aur.archlinux.org/python-opengl-accelerate.git (read-only, click to copy)
Package Base: python-opengl-accelerate
Description: This is the Cython-coded accelerator module for PyOpenGL 3.x
Upstream URL: None
Licenses: BSD
Submitter: tobac
Maintainer: tobac
Last Packager: tobac
Votes: 3
Popularity: 0.009077
First Submitted: 2017-10-11 11:11 (UTC)
Last Updated: 2023-07-31 07:18 (UTC)

Latest Comments

kousu commented on 2023-12-04 10:17 (UTC)

Hi! Thanks for taking the time to maintain this :)

I'm getting

ERROR Missing dependencies:
        Cython>=0.28

when building this.

Adding cython to makedepends fixes it for me.

eclairevoyant commented on 2023-07-31 15:15 (UTC)

Thanks for taking a look, but the build still needs python-setuptools as well. I would suggest always building in a clean chroot as per https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot (using devtools) to catch any necessary deps.

tobac commented on 2023-07-31 07:18 (UTC) (edited on 2023-07-31 07:20 (UTC) by tobac)

@eclairevoiyant thanks for the hint, implemented as suggested in 3.1.7-2.

eclairevoyant commented on 2023-07-31 03:29 (UTC)

This doesn't work as is, because python-setuptools is missing in makedeps. Also, I suggest actually using the new standard as per https://wiki.archlinux.org/title/Python_package_guidelines#Standards_based_(PEP_517) since python-setuptools is basically dead.

kinu commented on 2023-06-20 07:26 (UTC) (edited on 2023-06-20 07:27 (UTC) by kinu)

Cannot compile. Having this error


src/wrapper.c: In function ‘__Pyx_AddTraceback’:
src/wrapper.c:438:62: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}
438 |   #define __Pyx_PyFrame_SetLineNumber(frame, lineno)  (frame)->f_lineno = (lineno)
|                                                              ^~
src/wrapper.c:28232:5: note: in expansion of macro ‘__Pyx_PyFrame_SetLineNumber’
28232 |     __Pyx_PyFrame_SetLineNumber(py_frame, py_line);
|     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
==> ERROR: A failure occurred in build().
Aborting...
-> error making: python-opengl-accelerate-exit status 4
-> Failed to install the following packages. Manual intervention is required:
python-opengl-accelerate - exit status 4

eclairevoyant commented on 2022-11-07 07:16 (UTC)

Missing python-setuptools in the makedepends.

carlosal1015 commented on 2021-12-20 20:25 (UTC)

Hi, I have the following message error:

building 'OpenGL_accelerate.vbo' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/tmp/makepkg/python-opengl-accelerate/src/pyopengl-3e9791ffb4cd4831dae261d6bea3049ce9e78f01/accelerate/.. -I/tmp/makepkg/python-opengl-accelerate/src/pyopengl-3e9791ffb4cd4831dae261d6bea3049ce9e78f01/accelerate/src -I/tmp/makepkg/python-opengl-accelerate/src/pyopengl-3e9791ffb4cd4831dae261d6bea3049ce9e78f01/accelerate -I/usr/include/python3.10 -c src/vbo.c -o build/temp.linux-x86_64-3.10/src/vbo.o
src/vbo.c: In function ‘__pyx_tp_dealloc_17OpenGL_accelerate_3vbo_VBO’:
src/vbo.c:11131:5: error: lvalue required as increment operand
11131 |     ++Py_REFCNT(o);
      |     ^~
src/vbo.c:11133:5: error: lvalue required as decrement operand
11133 |     --Py_REFCNT(o);
      |     ^~
src/vbo.c: In function ‘__pyx_tp_dealloc_17OpenGL_accelerate_3vbo_VBOOffset’:
src/vbo.c:11619:5: error: lvalue required as increment operand
11619 |     ++Py_REFCNT(o);
      |     ^~
src/vbo.c:11621:5: error: lvalue required as decrement operand
11621 |     --Py_REFCNT(o);
      |     ^~