Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gel.] Fehler dev-python/setuptools_scm
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1789

PostPosted: Wed Jun 22, 2022 8:01 am    Post subject: [gel.] Fehler dev-python/setuptools_scm Reply with quote

Hallo zusammen,

ich bin gerade dabei, gentoo-unstable (systemd) zu aktualisieren.

54 Pakete kde-plasma, darunter auch das Paket dev-python/setupstools_scm.

Hier die build.log:

Code:

 * Package:    dev-python/setuptools_scm-7.0.1
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_9 userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking setuptools_scm-7.0.1.tar.gz to /var/tmp/portage/dev-python/setuptools_scm-7.0.1/work
>>> Source unpacked in /var/tmp/portage/dev-python/setuptools_scm-7.0.1/work
>>> Preparing source in /var/tmp/portage/dev-python/setuptools_scm-7.0.1/work/setuptools_scm-7.0.1 ...
 * Build system packages:
 *   dev-python/gpep517            : 6-r1
 *   dev-python/installer          : 0.5.1-r1
 *   dev-python/setuptools         : 62.6.0
 *   dev-python/setuptools_scm     : 6.4.2
 *   dev-python/wheel              : 0.37.1-r1
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/setuptools_scm-7.0.1/work/setuptools_scm-7.0.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/setuptools_scm-7.0.1/work/setuptools_scm-7.0.1 ...
 * python3_9: running distutils-r1_run_phase distutils-r1_python_compile
 *   Building the wheel for setuptools_scm-7.0.1 via setuptools.build_meta
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.9/gpep517", line 4, in <module>
    sys.exit(main())
  File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 191, in main
    return func(args)
  File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 87, in build_wheel
    wheel_name = backend.build_wheel(args.wheel_dir, args.config_json)
  File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 244, in build_wheel
    return self._build_with_temp_dir(['bdist_wheel'], '.whl',
  File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 229, in _build_with_temp_dir
    self.run_setup()
  File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 174, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 51, in <module>
    version=scm_version(),
  File "setup.py", line 26, in scm_version
    from setuptools_scm import get_version
  File "/var/tmp/portage/dev-python/setuptools_scm-7.0.1/work/setuptools_scm-7.0.1/src/setuptools_scm/__init__.py", line 13, in <module>
    from . import _types as _t
  File "/var/tmp/portage/dev-python/setuptools_scm-7.0.1/work/setuptools_scm-7.0.1/src/setuptools_scm/_types.py", line 16, in <module>
    from typing_extensions import ParamSpec, TypeAlias, Protocol
ModuleNotFoundError: No module named 'typing_extensions'
 * ERROR: dev-python/setuptools_scm-7.0.1::gentoo failed (compile phase):
 *   Wheel build failed
 *
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 3398:  Called distutils-r1_src_compile
 *   environment, line 1610:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  728:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3090:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2653:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2651:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1083:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1592:  Called distutils-r1_python_compile
 *   environment, line 1417:  Called distutils_pep517_install '/var/tmp/portage/dev-python/setuptools_scm-7.0.1/work/setuptools_scm-7.0.1-python3_9/install'
 *   environment, line 1915:  Called die
 * The specific snippet of code:
 *       einfo "  Installing ${wheel} to ${root}";
 *
 * If you need support, post the output of `emerge --info '=dev-python/setuptools_scm-7.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/setuptools_scm-7.0.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/setuptools_scm-7.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/setuptools_scm-7.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/setuptools_scm-7.0.1/work/setuptools_scm-7.0.1'
 * S: '/var/tmp/portage/dev-python/setuptools_scm-7.0.1/work/setuptools_scm-7.0.1'


Was ist da passiert?

Danke im voraus für Hinweise oder Lösung,

Gruß
Manfred

P.S
Code:

inxi -F
System:
  Host: stableKn14 Kernel: 5.18.5-gentoo-dist arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5 Distro: Gentoo Base System release 2.8
Machine:
  Type: Desktop Mobo: Micro-Star model: MPG X570 GAMING PLUS (MS-7C37) v: 2.0
    serial: 07C3722_L41D060312 UEFI: American Megatrends LLC. v: A.F0
    date: 12/16/2021
CPU:
  Info: 16-core model: AMD Ryzen 9 5950X bits: 64 type: MT MCP cache:
    L2: 8 MiB
  Speed (MHz): avg: 2331 min/max: 2200/5083 cores: 1: 2200 2: 2200 3: 3400
    4: 2800 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200
    13: 3400 14: 2200 15: 2200 16: 2200 17: 2200 18: 2200 19: 2200 20: 2200
    21: 2200 22: 2200 23: 2200 24: 2200 25: 2200 26: 2200 27: 2200 28: 2200
    29: 2200 30: 2200 31: 3400 32: 2200
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nouveau v: kernel
  Display: x11 server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.2 driver:
    X: loaded: nouveau unloaded: modesetting gpu: nouveau
    resolution: <missing: xdpyinfo/xrandr> resolution: 1920x1080
  Message: GL data unavailable for root.
Audio:
  Device-1: NVIDIA GP106 High Definition Audio driver: snd_hda_intel
  Device-2: AMD Starship/Matisse HD Audio driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.18.5-gentoo-dist running: yes
  Sound Server-2: PulseAudio v: 16.0 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp39s0 state: up speed: 1000 Mbps duplex: full
    mac: d8:bb:c1:53:f3:ff
Drives:
  Local Storage: total: 2.27 TiB used: 56.03 GiB (2.4%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 1TB
    size: 931.51 GiB
  ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB
  ID-3: /dev/sda type: USB model: TO Exter nal USB 3.0 size: 465.76 GiB
Partition:
  ID-1: / size: 29.36 GiB used: 13.58 GiB (46.3%) fs: ext4
    dev: /dev/nvme0n1p16
Swap:
  ID-1: swap-1 type: partition size: 8.56 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: nouveau temp: 34.0 C
  Fan Speeds (RPM): N/A gpu: nouveau fan: 1753
Info:
  Processes: 394 Uptime: 36m Memory: 31.27 GiB used: 1.97 GiB (6.3%)
  Shell: Bash inxi: 3.3.17


Last edited by ManfredB on Wed Jun 22, 2022 8:29 am; edited 1 time in total
Back to top
View user's profile Send private message
ManfredB
Veteran
Veteran


Joined: 27 Dec 2007
Posts: 1789

PostPosted: Wed Jun 22, 2022 8:29 am    Post subject: Reply with quote

Das Problem ist gelöst.

Das fehlende Programm ist erst jetzt gekommen:
dev-python/typing-extensions.

Nachdem das installiert war, wurde das andere problemlos installiert.

Gruß
Manfred
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum