Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911412 - dev-python/peewee-3.16.2 - ERROR: dev-python/peewee-3.16.2::gentoo failed (compile phase):
Summary: dev-python/peewee-3.16.2 - ERROR: dev-python/peewee-3.16.2::gentoo failed (co...
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: cython3-tracker
  Show dependency tree
 
Reported: 2023-07-29 08:32 UTC by Toralf Förster
Modified: 2023-07-30 12:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.30 KB, text/plain)
2023-07-29 08:32 UTC, Toralf Förster
Details
dev-python:peewee-3.16.2:20230729-011143.log (dev-python:peewee-3.16.2:20230729-011143.log,9.46 KB, text/plain)
2023-07-29 08:32 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,61.48 KB, application/x-xz)
2023-07-29 08:32 UTC, Toralf Förster
Details
environment (environment,152.05 KB, text/plain)
2023-07-29 08:32 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,980 bytes, application/x-xz)
2023-07-29 08:32 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,21.37 KB, application/x-xz)
2023-07-29 08:32 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,33.87 KB, application/x-xz)
2023-07-29 08:32 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-07-29 08:32:18 UTC
                ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1139, in cythonize
    cythonize_one(*args)
  File "/usr/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1306, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: playhouse/_sqlite_ext.pyx
 * ERROR: dev-python/peewee-3.16.2::gentoo failed (compile phase):
 *   (no error message)
 * 

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.71.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.19_p7 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.20.6 linux/amd64

  HEAD of ::gentoo
commit fa5ba500cd279ea82bde507cf9a3a7b860d32109
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jul 28 21:17:04 2023 +0000

    2023-07-28 21:17:04 UTC

emerge -qpvO dev-python/peewee
[ebuild  N    ] dev-python/peewee-3.16.2  USE="examples native-extensions -debug -doc -test" PYTHON_TARGETS="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-07-29 08:32:19 UTC
Created attachment 866540 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-07-29 08:32:20 UTC
Created attachment 866541 [details]
dev-python:peewee-3.16.2:20230729-011143.log
Comment 3 Toralf Förster gentoo-dev 2023-07-29 08:32:21 UTC
Created attachment 866542 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-07-29 08:32:23 UTC
Created attachment 866543 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-07-29 08:32:24 UTC
Created attachment 866544 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-07-29 08:32:24 UTC
Created attachment 866545 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-07-29 08:32:25 UTC
Created attachment 866546 [details]
temp.tar.xz
Comment 8 ZappeL 2023-07-29 16:02:25 UTC
I had the same issue, as a temporary workaround downgrade cython to something below 3.0.0 - for me it worked using "dev-python/cython-0.29.35".

It seems like this (might be related):
https://github.com/coleifer/peewee/issues/2684


cheers.
Comment 10 Larry the Git Cow gentoo-dev 2023-07-30 12:44:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0db7801fbdd8dfd542ecb65ff5070fd4a8f3ddcf

commit 0db7801fbdd8dfd542ecb65ff5070fd4a8f3ddcf
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-30 12:43:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-30 12:43:50 +0000

    dev-python/peewee: backport cython-3 fix
    
    Closes: https://bugs.gentoo.org/911412
    Signed-off-by: Sam James <sam@gentoo.org>

 .../peewee/files/peewee-3.16.2-cython3.patch       | 102 +++++++++++++++++++++
 dev-python/peewee/peewee-3.16.2-r1.ebuild          |  60 ++++++++++++
 2 files changed, 162 insertions(+)

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

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

commit fff6b3e4fe4648133d0f13aabc65925d14ef23f4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-30 12:44:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-30 12:44:10 +0000

    dev-python/peewee: depend on <cython-3 for old
    
    Bug: https://bugs.gentoo.org/911412
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/peewee/peewee-3.16.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)