Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909036 - dev-python/Nuitka-1.6.4 - TypeError: BinaryDistribution.has_ext_modules() takes 0 positional arguments but 1 was given
Summary: dev-python/Nuitka-1.6.4 - TypeError: BinaryDistribution.has_ext_modules() tak...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: OzTiram
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-23 15:08 UTC by Toralf Förster
Modified: 2023-10-08 08:33 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.60 KB, text/plain)
2023-06-23 15:08 UTC, Toralf Förster
Details
dev-python:Nuitka-1.6.4:20230623-145827.log (dev-python:Nuitka-1.6.4:20230623-145827.log,18.39 KB, text/plain)
2023-06-23 15:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,88.44 KB, text/plain)
2023-06-23 15:08 UTC, Toralf Förster
Details
environment (environment,154.69 KB, text/plain)
2023-06-23 15:08 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,780 bytes, application/x-xz)
2023-06-23 15:08 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,14.38 KB, application/x-xz)
2023-06-23 15:08 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,35.31 KB, application/x-xz)
2023-06-23 15:08 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-06-23 15:08:48 UTC
  File "/usr/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 101, in finalize_options
    if self.distribution.has_ext_modules():
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/scikit_build_core/setuptools/build_cmake.py", line 184, in <lambda>
    dist.has_ext_modules = lambda: type(dist).has_ext_modules(dist) or _has_cmake(dist)  # type: ignore[method-assign]
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BinaryDistribution.has_ext_modules() takes 0 positional arguments but 1 was given
 * ERROR: dev-python/Nuitka-1.6.4::gentoo failed (compile phase):
 *   Wheel build failed

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

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

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

gcc-config -l:
 [1] 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.69.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit c0b17c808c85bc0ef7227fb475f7cfeeabffb8f7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jun 23 13:02:04 2023 +0000

    2023-06-23 13:02:04 UTC

emerge -qpvO dev-python/Nuitka
[ebuild  N    ] dev-python/Nuitka-1.6.4  USE="-test" PYTHON_TARGETS="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-06-23 15:08:49 UTC
Created attachment 864466 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-06-23 15:08:50 UTC
Created attachment 864467 [details]
dev-python:Nuitka-1.6.4:20230623-145827.log
Comment 3 Toralf Förster gentoo-dev 2023-06-23 15:08:51 UTC
Created attachment 864468 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-06-23 15:08:52 UTC
Created attachment 864469 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-06-23 15:08:53 UTC
Created attachment 864470 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-06-23 15:08:54 UTC
Created attachment 864471 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-06-23 15:08:55 UTC
Created attachment 864472 [details]
temp.tar.xz
Comment 8 OzTiram 2023-10-08 04:46:21 UTC
Toralf,
Is this bug reproducible with newer  versions, which are currently in the ebuild tree, of Nuitka?
Comment 9 Toralf Förster gentoo-dev 2023-10-08 08:33:47 UTC
(In reply to OzTiram from comment #8)
> Toralf,
> Is this bug reproducible with newer  versions, which are currently in the
> ebuild tree, of Nuitka?

no