Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919277 - dev-python/pyopengl_accelerate-3.1.7 - src/numpy_formathandler.c: error: passing argument 1 of (int ( )(PyArrayObject , PyObject )) (PyArray_API + 832
Summary: dev-python/pyopengl_accelerate-3.1.7 - src/numpy_formathandler.c: error: pass...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-05 14:15 UTC by Toralf Förster
Modified: 2023-12-14 05:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,21.58 KB, text/plain)
2023-12-05 14:15 UTC, Toralf Förster
Details
dev-python:pyopengl_accelerate-3.1.7:20231205-125901.log (dev-python:pyopengl_accelerate-3.1.7:20231205-125901.log,20.90 KB, text/plain)
2023-12-05 14:15 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,89.55 KB, application/x-xz)
2023-12-05 14:16 UTC, Toralf Förster
Details
environment (environment,156.54 KB, text/plain)
2023-12-05 14:16 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-05 14:16 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.78 KB, application/x-xz)
2023-12-05 14:16 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,98.41 KB, application/x-xz)
2023-12-05 14:16 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-05 14:15:57 UTC
                 from /usr/lib/python3.11/site-packages/numpy/core/include/numpy/arrayobject.h:5,
                 from src/numpy_formathandler.c:1216:
/usr/lib/python3.11/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
   17 | #warning "Using deprecated NumPy API, disable it with " \
      |  ^~~~~~~
src/numpy_formathandler.c: In function __pyx_f_17OpenGL_accelerate_19numpy_formathandler_12NumpyHandler_c_asArray:
src/numpy_formathandler.c:6415:43: error: passing argument 1 of (int (*)(PyArrayObject *, PyObject *))*(PyArray_API + 832) from incompatible pointer type [-Wincompatible-pointer-types]
 6415 |     __pyx_v_res = PyArray_FillWithScalar(((PyObject *)__pyx_v_working), __pyx_v_instance);
      |                                          ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231123-170505

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit dddfee353423c1560f6e74a090798145c829bd7d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 5 12:16:57 2023 +0000

    2023-12-05 12:16:57 UTC

emerge -qpvO dev-python/pyopengl_accelerate
[ebuild  N    ] dev-python/pyopengl_accelerate-3.1.7  USE="-debug -test" PYTHON_TARGETS="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-12-05 14:15:58 UTC
Created attachment 877448 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-05 14:15:59 UTC
Created attachment 877449 [details]
dev-python:pyopengl_accelerate-3.1.7:20231205-125901.log
Comment 3 Toralf Förster gentoo-dev 2023-12-05 14:16:00 UTC
Created attachment 877450 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-12-05 14:16:01 UTC
Created attachment 877451 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-05 14:16:03 UTC
Created attachment 877452 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-05 14:16:04 UTC
Created attachment 877453 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-05 14:16:05 UTC
Created attachment 877454 [details]
qlist-info.txt.xz
Comment 8 Larry the Git Cow gentoo-dev 2023-12-14 05:22:11 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786a1575c3be3d8680b2b4aec6254cbae90ab30d

commit 786a1575c3be3d8680b2b4aec6254cbae90ab30d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-11 18:26:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-14 05:21:54 +0000

    distutils-r1.eclass: workaround cython bug for Modern C
    
    Pass -Wno-error=incompatible-pointer-types for now to avoid many dupes for
    the same cython bug.
    
    Bug: https://github.com/cython/cython/issues/2747
    Bug: https://bugs.gentoo.org/918983
    Bug: https://bugs.gentoo.org/919261
    Bug: https://bugs.gentoo.org/919277
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/distutils-r1.eclass | 5 +++++
 1 file changed, 5 insertions(+)