unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#63156: guix package -u failure on pyopengl-accelerate-3.1.5
@ 2023-04-28 19:57 Andy Tai
       [not found] ` <handler.63156.B.168271189528774.ack@debbugs.gnu.org>
  2023-05-11  7:45 ` bug#63156: guix package -u failure on pyopengl-accelerate-3.1.5 Lars-Dominik Braun
  0 siblings, 2 replies; 4+ messages in thread
From: Andy Tai @ 2023-04-28 19:57 UTC (permalink / raw)
  To: 63156

doing guix package -u with the guix post merge of core-updates (thus
using the main branch,

gux package -u fails with

| 'build' phase2023-04-28 12:02:50,512 Error: cannot execute signal listener
2023-04-28 12:02:50,512  [Errno 2] No such file or directory: 'python3.9'
\ 'build' phasebuilder for
`/gnu/store/9clhgrmqzlvfawmshalg16imh15sjsmy-python-pyopengl-accelerate-3.1.5.drv'
failed with exit code 1
build of /gnu/store/9clhgrmqzlvfawmshalg16imh15sjsmy-python-pyopengl-accelerate-3.1.5.drv
failed
View build log at
'/var/log/guix/drvs/9c/lhgrmqzlvfawmshalg16imh15sjsmy-python-pyopengl-accelerate-3.1.5.drv.bz2'.

last part of this bug log:

In file included from
/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/include/python3.10/unicodeobject.h:1046,
                 from
/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/include/python3.10/Python.h:83,
                 from src/vbo.c:4:
/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/include/python3.10/cpython/unicodeobject.h:446:26:
note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/vbo.c:13032:25: warning: ‘PyUnicode_AsUnicode’ is deprecated
[-Wdeprecated-declarations]
13032 |                         (PyUnicode_GET_SIZE(**argname) !=
PyUnicode_GET_SIZE(key)) ? 1 :
      |                         ^
In file included from
/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/include/python3.10/unicodeobject.h:1046,
                 from
/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/include/python3.10/Python.h:83,
                 from src/vbo.c:4:
/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/include/python3.10/cpython/unicodeobject.h:580:45:
note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src/vbo.c:13032:25: warning: ‘_PyUnicode_get_wstr_length’ is
deprecated [-Wdeprecated-declarations]
13032 |                         (PyUnicode_GET_SIZE(**argname) !=
PyUnicode_GET_SIZE(key)) ? 1 :
      |                         ^
In file included from
/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/include/python3.10/unicodeobject.h:1046,
                 from
/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/include/python3.10/Python.h:83,
                 from src/vbo.c:4:
/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/include/python3.10/cpython/unicodeobject.h:446:26:
note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
error: command '/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/gcc'
failed with exit code 1
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("-c" "import
setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open',
open)(__file__);code=f.read().replace('\\r\\n',
'\\n');f.close();exec(compile(code, __file__, 'exec'))" "build")
exit-status: 1 term-signal: #f stop-signal: #f>
phase `build' failed after 10.4 seconds
command "python" "-c" "import setuptools,
tokenize;__file__='setup.py';f=getattr(tokenize, 'open',
open)(__file__);code=f.read().replace('\\r\\n',
'\\n');f.close();exec(compile(code, __file__, 'exec'))" "build" failed
with status 1




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#63156: Acknowledgement (guix package -u failure on pyopengl-accelerate-3.1.5)
       [not found] ` <handler.63156.B.168271189528774.ack@debbugs.gnu.org>
@ 2023-04-29  6:10   ` Andy Tai
  2023-04-29  6:44     ` Andy Tai
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Tai @ 2023-04-29  6:10 UTC (permalink / raw)
  To: 63156

These may be the key error lines:

gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall
-fno-semantic-interposition -fPIC
-I/tmp/guix-build-python-pyopengl-accelerate-3.1.5.drv-0/PyOpenGL-accelerate-3.1.5/..
-I/tmp/guix-build-python-pyopengl-accelerate-3.1.5.drv-0/PyOpenGL-accelerate-3.1.5/src
-I/tmp/guix-build-python-pyopengl-accelerate-3.1.5.drv-0/PyOpenGL-accelerate-3.1.5
-I/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/include/python3.10
-c src/vbo.c -o build/temp.linux-x86_64-cpython-310/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);
      |     ^~




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#63156: Acknowledgement (guix package -u failure on pyopengl-accelerate-3.1.5)
  2023-04-29  6:10   ` bug#63156: Acknowledgement (guix package -u failure on pyopengl-accelerate-3.1.5) Andy Tai
@ 2023-04-29  6:44     ` Andy Tai
  0 siblings, 0 replies; 4+ messages in thread
From: Andy Tai @ 2023-04-29  6:44 UTC (permalink / raw)
  To: 63156

may be fixed by patch in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63168




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#63156: guix package -u failure on pyopengl-accelerate-3.1.5
  2023-04-28 19:57 bug#63156: guix package -u failure on pyopengl-accelerate-3.1.5 Andy Tai
       [not found] ` <handler.63156.B.168271189528774.ack@debbugs.gnu.org>
@ 2023-05-11  7:45 ` Lars-Dominik Braun
  1 sibling, 0 replies; 4+ messages in thread
From: Lars-Dominik Braun @ 2023-05-11  7:45 UTC (permalink / raw)
  To: Andy Tai; +Cc: 63156-done

Hi,

I discovered this issue independently and fixed it in commit 3d05d549184d5399d2949535cf5cad8b92b263dd.

Cheers,
Lars





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-11  7:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-28 19:57 bug#63156: guix package -u failure on pyopengl-accelerate-3.1.5 Andy Tai
     [not found] ` <handler.63156.B.168271189528774.ack@debbugs.gnu.org>
2023-04-29  6:10   ` bug#63156: Acknowledgement (guix package -u failure on pyopengl-accelerate-3.1.5) Andy Tai
2023-04-29  6:44     ` Andy Tai
2023-05-11  7:45 ` bug#63156: guix package -u failure on pyopengl-accelerate-3.1.5 Lars-Dominik Braun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).