Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822537 - dev-python/snakeoil-0.9.7 with dev-python/setuptools-60 - ImportError: cannot import name install from setuptools._distutils.command (/usr/lib/python3.9/site-pa
Summary: dev-python/snakeoil-0.9.7 with dev-python/setuptools-60 - ImportError: cannot...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 822354
  Show dependency tree
 
Reported: 2021-11-09 08:17 UTC by Toralf Förster
Modified: 2022-01-02 08:00 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.49 KB, text/plain)
2021-11-09 08:17 UTC, Toralf Förster
Details
dev-python:snakeoil-0.9.7:20211109-052906.log (dev-python:snakeoil-0.9.7:20211109-052906.log,3.33 KB, text/plain)
2021-11-09 08:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,96.69 KB, text/plain)
2021-11-09 08:17 UTC, Toralf Förster
Details
environment (environment,111.02 KB, text/plain)
2021-11-09 08:17 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.57 KB, application/x-bzip)
2021-11-09 08:17 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.02 KB, application/x-bzip)
2021-11-09 08:17 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 2021-11-09 08:17:06 UTC
  File "/usr/lib/python3.9/site-packages/setuptools/command/install.py", line 6, in <module>
    import distutils.command.install as orig
ImportError: cannot import name 'install' from 'setuptools._distutils.command' (/usr/lib/python3.9/site-packages/setuptools/_distutils/command/__init__.py)
 * ERROR: dev-python/snakeoil-0.9.7::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20211108-155141

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit b7d9ade0b35c10d18807c6cf7537b7d2a3beadf4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 8 22:51:43 2021 +0000

    2021-11-08 22:51:40 UTC

emerge -qpvO dev-python/snakeoil
[ebuild  N    ] dev-python/snakeoil-0.9.7  USE="-test" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2021-11-09 08:17:07 UTC
Created attachment 749700 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-09 08:17:08 UTC
Created attachment 749703 [details]
dev-python:snakeoil-0.9.7:20211109-052906.log
Comment 3 Toralf Förster gentoo-dev 2021-11-09 08:17:09 UTC
Created attachment 749706 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-11-09 08:17:10 UTC
Created attachment 749709 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-11-09 08:17:11 UTC
Created attachment 749712 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-09 08:17:12 UTC
Created attachment 749715 [details]
temp.tar.bz2
Comment 7 Mike Gilbert gentoo-dev 2021-12-23 01:59:24 UTC
I can reproduce this with dev-python/setuptools-60.0.3.

Downgrading to setuptools-59.x makes it work again.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-02 08:00:54 UTC
Fixed in pkgcore 0.10.9 / snakeoil 0.9.10.