Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934817 - dev-python/pyopengl_accelerate-3.1.7 - [perl-5.40] [ncurses-6.5] [icu-75.1] Error compiling Cython file:
Summary: dev-python/pyopengl_accelerate-3.1.7 - [perl-5.40] [ncurses-6.5] [icu-75.1] E...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 930951
  Show dependency tree
 
Reported: 2024-06-24 17:50 UTC by Toralf Förster
Modified: 2024-09-18 02:46 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.04 KB, text/plain)
2024-06-24 17:50 UTC, Toralf Förster
Details
dev-python:pyopengl_accelerate-3.1.7:20240624-172316.log (dev-python:pyopengl_accelerate-3.1.7:20240624-172316.log,23.88 KB, text/plain)
2024-06-24 17:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,162.71 KB, text/plain)
2024-06-24 17:50 UTC, Toralf Förster
Details
environment (environment,158.08 KB, text/plain)
2024-06-24 17:50 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-06-24 17:50 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.39 KB, application/x-xz)
2024-06-24 17:50 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,48.47 KB, application/x-xz)
2024-06-24 17:50 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 2024-06-24 17:50:45 UTC
too long lines were shrinked:

2024-06-24 17:24:09,047 root INFO building 'OpenGL_accelerate.buffers_formathandler' extension
2024-06-24 17:24:09,047 root INFO x86_64-pc-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -fPIC -I/var/tmp/portage/dev-python/pyopengl_accelerate-3.1.7/work/pyopengl-release-3.1.7/accelerate/src -I/v
2024-06-24 17:24:12,168 root INFO x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG /var/tmp/portage/dev-python/pyopengl_accelerate-3.1.7/work/pyopengl-release-3.1.7/acce
/usr/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /var/tmp/portage/dev-python/pyopengl_accelerate-3.1.7/work/pyopengl-release-3.1.7/accelerate/src/numpy_fo
  tree = Parsing.p_module(s, pxd, full_module_name)

Error compiling Cython file:
------------------------------------------------------------
...

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-20240621-221521

  UNMASKED:
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1
    Requested by sam
  >=sys-libs/ncurses-6.5
    Requested by sam
  ~dev-lang/perl-5.40.0
  ~virtual/perl-Archive-Tar-3.20.10_rc
  ~virtual/perl-CPAN-Meta-Requirements-2.143.0
  ~virtual/perl-Compress-Raw-Bzip2-2.212.0
  ~virtual/perl-DB_File-1.859.0
  ~virtual/perl-Data-Dumper-2.189.0
  ~virtual/perl-Devel-PPPort-3.720.0
  ~virtual/perl-Exporter-5.780.0
  ~virtual/perl-ExtUtils-CBuilder-0.280.240
  ~virtual/perl-ExtUtils-Manifest-1.750.0
  ~virtual/perl-File-Spec-3.900.0
  ~virtual/perl-HTTP-Tiny-0.88.0
  ~virtual/perl-IO-1.550.0
  ~virtual/perl-IO-Compress-2.212.0
  ~virtual/perl-IO-Socket-IP-0.420.0
  ~virtual/perl-IO-Zlib-1.150.0
  ~virtual/perl-Math-BigInt-2.3.2
  ~virtual/perl-Math-BigInt-FastCalc-0.501.800
  ~virtual/perl-Math-BigRat-2.3.2
  ~virtual/perl-Module-CoreList-5.202.406.90
  ~virtual/perl-Module-Metadata-1.0.38
  ~virtual/perl-Pod-Simple-3.450.0
  ~virtual/perl-Safe-2.460.0
  ~virtual/perl-Socket-2.38.0
  ~virtual/perl-Test-Harness-3.480.0
  ~virtual/perl-Test-Simple-1.302.199
  ~virtual/perl-Text-Tabs+Wrap-2024.1.0
  ~virtual/perl-Time-HiRes-1.977.700
  ~virtual/perl-Time-Local-1.350.0
  ~virtual/perl-autodie-2.370.0
  ~virtual/perl-bignum-0.670.0
  ~virtual/perl-podlators-5.10.200_rc
  ~virtual/perl-threads-2.400.0
  ~virtual/perl-threads-shared-1.690.0
  ~virtual/perl-version-0.993.0
    Requested by dilfridge and sam

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.7
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.78.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 27bdc75f550eba461f7d8eda2a55d19b6777b651
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jun 24 16:19:09 2024 +0000

    2024-06-24 16:19:08 UTC

emerge -qpvO dev-python/pyopengl_accelerate
[ebuild  N    ] dev-python/pyopengl_accelerate-3.1.7  USE="numpy -debug -test" PYTHON_TARGETS="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2024-06-24 17:50:46 UTC
Created attachment 896359 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-24 17:50:47 UTC
Created attachment 896360 [details]
dev-python:pyopengl_accelerate-3.1.7:20240624-172316.log
Comment 3 Toralf Förster gentoo-dev 2024-06-24 17:50:49 UTC
Created attachment 896361 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-06-24 17:50:50 UTC
Created attachment 896362 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-06-24 17:50:51 UTC
Created attachment 896363 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-24 17:50:52 UTC
Created attachment 896364 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-06-24 17:50:53 UTC
Created attachment 896365 [details]
qlist-info.txt.xz
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-25 00:34:27 UTC
Error compiling Cython file:
------------------------------------------------------------
...
    cdef int PyArray_CheckScalar( object )
    int NPY_ARRAY_CARRAY
    int NPY_ARRAY_FORCECAST
    int PyArray_ISCARRAY( np.ndarray instance )
    int PyArray_ISCARRAY_RO( np.ndarray instance )
    cdef np.ndarray PyArray_Zeros(int nd, np.Py_intptr_t* dims, np.dtype, int fortran)
                                          ^
------------------------------------------------------------

src/numpy_formathandler.pyx:22:42: 'Py_intptr_t' is not a type identifier
Comment 9 Tamas Jantvik 2024-09-17 20:02:35 UTC
Yes, this needs <dev-python/numpy-2. dev-libs/boost-1.84.0-r3 has the same problem.
Comment 11 Tamas Jantvik 2024-09-17 20:37:01 UTC
Cool. Although OT in this bugrep, I still need <dev-python/numpy-2 for dev-libs/boost-1.84 as some stuff I use from guru overlay needs it.
Comment 12 Larry the Git Cow gentoo-dev 2024-09-18 02:46:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=676782b7057fa7772134b4f7d889b7ac2833cbf9

commit 676782b7057fa7772134b4f7d889b7ac2833cbf9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-09-18 02:44:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-18 02:45:34 +0000

    dev-python/pyopengl_accelerate: add 3.1.8
    
    Closes: https://bugs.gentoo.org/876945
    Closes: https://bugs.gentoo.org/919277
    Closes: https://bugs.gentoo.org/934817
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/pyopengl_accelerate/Manifest            |  1 +
 .../pyopengl_accelerate-3.1.8.ebuild               | 63 ++++++++++++++++++++++
 2 files changed, 64 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31cb07ebadc2954af29259b0246e72bb3e9883a3

commit 31cb07ebadc2954af29259b0246e72bb3e9883a3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-09-18 02:42:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-18 02:45:34 +0000

    dev-python/pyopengl: add 3.1.8
    
    Bug: https://bugs.gentoo.org/934817
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/pyopengl/Manifest                       |  1 +
 .../files/pyopengl-3.1.8-fix-version.patch         | 17 +++++
 dev-python/pyopengl/pyopengl-3.1.8.ebuild          | 74 ++++++++++++++++++++++
 3 files changed, 92 insertions(+)