Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911370 - dev-python/grpcio-1.51.0 - ERROR: dev-python/grpcio-1.51.0::gentoo failed (compile phase):
Summary: dev-python/grpcio-1.51.0 - ERROR: dev-python/grpcio-1.51.0::gentoo failed (co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cython3-tracker
  Show dependency tree
 
Reported: 2023-07-28 07:06 UTC by Toralf Förster
Modified: 2023-11-06 14:40 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.92 KB, text/plain)
2023-07-28 07:06 UTC, Toralf Förster
Details
dev-python:grpcio-1.51.0:20230727-200804.log (dev-python:grpcio-1.51.0:20230727-200804.log,10.27 KB, text/plain)
2023-07-28 07:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,232.98 KB, text/plain)
2023-07-28 07:06 UTC, Toralf Förster
Details
environment (environment,159.34 KB, text/plain)
2023-07-28 07:06 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,976 bytes, application/x-xz)
2023-07-28 07:06 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,15.98 KB, application/x-xz)
2023-07-28 07:06 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.08 KB, application/x-xz)
2023-07-28 07:06 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-28 07:06:25 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: src/python/grpcio/grpc/_cython/cygrpc.pyx
 * ERROR: dev-python/grpcio-1.51.0::gentoo failed (compile phase):
 *   (no error message)
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20230724-090509

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

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 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 513b9249fd5a28c38a585206d0c0b469df0b76bb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jul 27 16:01:48 2023 +0000

    2023-07-27 16:01:48 UTC

emerge -qpvO dev-python/grpcio
[ebuild   R   ] dev-python/grpcio-1.51.0  USE="-debug" PYTHON_TARGETS="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-07-28 07:06:26 UTC
Created attachment 866457 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-07-28 07:06:27 UTC
Created attachment 866458 [details]
dev-python:grpcio-1.51.0:20230727-200804.log
Comment 3 Toralf Förster gentoo-dev 2023-07-28 07:06:28 UTC
Created attachment 866459 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-07-28 07:06:30 UTC
Created attachment 866460 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-07-28 07:06:30 UTC
Created attachment 866461 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-07-28 07:06:31 UTC
Created attachment 866462 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-07-28 07:06:32 UTC
Created attachment 866463 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2023-07-28 09:32:13 UTC
The bug has been referenced in the following commit(s):

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

commit fcf4477f6cab1ef6cbecd7fe2f0b645c0e81e536
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-28 09:31:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-28 09:31:21 +0000

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

 dev-python/grpcio/grpcio-1.51.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 9 Larry the Git Cow gentoo-dev 2023-11-06 14:40:25 UTC
The bug has been closed via the following commit(s):

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

commit d6f68f48a5d578608b07ec63017a0a23c80c9017
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-11-06 14:39:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-11-06 14:39:50 +0000

    dev-python/grpcio: fix cython-3 compat
    
    Closes: https://bugs.gentoo.org/911370
    Closes: https://bugs.gentoo.org/905740
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/grpcio/files/1.51.0-cython3.patch | 150 +++++++++++++++++++++++++++
 dev-python/grpcio/grpcio-1.51.0-r1.ebuild    |  50 +++++++++
 2 files changed, 200 insertions(+)