Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911152 - dev-python/pyfuse3-3.2.3 - fails to build with cython 3.0.0: src/internal.pxi:40:20: Cannot assign type 'void (void *, fuse_conn_info *) except *' to 'void (*)(void *, fuse_conn_info *) noexcept'
Summary: dev-python/pyfuse3-3.2.3 - fails to build with cython 3.0.0: src/internal.pxi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Piotr Karbowski (RETIRED)
URL:
Whiteboard:
Keywords:
: 911425 (view as bug list)
Depends on:
Blocks: cython3-tracker
  Show dependency tree
 
Reported: 2023-07-24 17:47 UTC by Toralf Förster
Modified: 2023-08-07 05:08 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.92 KB, text/plain)
2023-07-24 17:47 UTC, Toralf Förster
Details
dev-python:pyfuse3-3.2.3:20230723-215550.log (dev-python:pyfuse3-3.2.3:20230723-215550.log,2.86 KB, text/plain)
2023-07-24 17:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,70.29 KB, text/plain)
2023-07-24 17:47 UTC, Toralf Förster
Details
environment (environment,153.39 KB, text/plain)
2023-07-24 17:47 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-07-24 17:47 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,11.25 KB, application/x-xz)
2023-07-24 17:47 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,33.43 KB, application/x-xz)
2023-07-24 17:47 UTC, Toralf Förster
Details
build log (pyfuse3-3.2.3:20230729-153537.log.xz,1.25 KB, application/x-xz)
2023-07-29 16:45 UTC, Magnus Granberg
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-24 17:47:33 UTC
 * python3_11: running distutils-r1_run_phase python_configure
python3.11 setup.py build_cython
running build_cython
Need Cython 0.29 or newer, found Cython version 3.0.0
Cython version 3.0.0

 * ERROR: dev-python/pyfuse3-3.2.3::gentoo failed (configure phase):
 *   (no error message)
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20230723-032140

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

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 *
php cli (if any):
go version go1.20.6 linux/amd64

  HEAD of ::gentoo
commit 174f3e28145120d6679ba936846ea81664803ab3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jul 23 21:01:54 2023 +0000

    2023-07-23 21:01:54 UTC

emerge -qpvO dev-python/pyfuse3
[ebuild  N    ] dev-python/pyfuse3-3.2.3  USE="-debug -test" PYTHON_TARGETS="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-07-24 17:47:34 UTC
Created attachment 866062 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-07-24 17:47:35 UTC
Created attachment 866063 [details]
dev-python:pyfuse3-3.2.3:20230723-215550.log
Comment 3 Toralf Förster gentoo-dev 2023-07-24 17:47:36 UTC
Created attachment 866064 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-07-24 17:47:38 UTC
Created attachment 866065 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-07-24 17:47:39 UTC
Created attachment 866066 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-07-24 17:47:39 UTC
Created attachment 866067 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-07-24 17:47:40 UTC
Created attachment 866068 [details]
temp.tar.xz
Comment 8 Magnus Granberg gentoo-dev 2023-07-29 16:42:58 UTC
It fail on my buildbot to with
Compiling /var/tmp/portage/dev-python/pyfuse3-3.2.3/work/pyfuse3-3.2.3/src/pyfuse3.pyx

Error compiling Cython file:
------------------------------------------------------------
...
cdef void init_fuse_ops():
    '''Initialize fuse_lowlevel_ops structure'''

    string.memset(&fuse_ops, 0, sizeof(fuse_lowlevel_ops))

    fuse_ops.init = fuse_init
                    ^
------------------------------------------------------------

src/internal.pxi:40:20: Cannot assign type 'void (void *, fuse_conn_info *) except *' to 'void (*)(void *, fuse_conn_info *) noexcept'
Cython compilation failed
 * ERROR: dev-python/pyfuse3-3.2.3::gentoo failed (configure phase):
 *   (no error message)
Comment 9 Magnus Granberg gentoo-dev 2023-07-29 16:45:18 UTC
Created attachment 866568 [details]
build log
Comment 10 Magnus Granberg gentoo-dev 2023-07-29 17:42:05 UTC
*** Bug 911425 has been marked as a duplicate of this bug. ***
Comment 11 Piotr Karbowski (RETIRED) gentoo-dev 2023-07-30 08:53:43 UTC
Breaking changes with cython-3, cannot find a way to get it to work with it, for time being I will pin the pre-cython-3 BDEPEND and report issue upstream to support cython 3.0.0.
Comment 12 Larry the Git Cow gentoo-dev 2023-07-30 10:04:48 UTC
The bug has been referenced in the following commit(s):

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

commit c40318645b693df675c7a85095406e219e120c81
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2023-07-30 10:03:51 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2023-07-30 10:04:46 +0000

    dev-python/pyfuse3: <cython-3 dep; py3.12 support.
    
    Bug: https://bugs.gentoo.org/911152
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 dev-python/pyfuse3/pyfuse3-3.2.3-r1.ebuild | 40 ++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
Comment 13 Piotr Karbowski (RETIRED) gentoo-dev 2023-08-07 05:08:57 UTC
commit 8a5224e15a7a811a44cfce976723070a50142a2f
Author: Michał Górny <mgorny@gentoo.org>
Date:   2023-08-07 04:21:26 +0200

    dev-python/pyfuse3: Bump to 3.3.0
    
    Signed-off-by: Michał Górny <mgorny@gentoo.org>