Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823844 - dev-python/pip-21.2.4 - ERROR: dev-python/pip-21.2.4::gentoo failed (install phase):
Summary: dev-python/pip-21.2.4 - ERROR: dev-python/pip-21.2.4::gentoo failed (install ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 822354
  Show dependency tree
 
Reported: 2021-11-15 16:56 UTC by Toralf Förster
Modified: 2021-12-20 08:40 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.96 KB, text/plain)
2021-11-15 16:56 UTC, Toralf Förster
Details
dev-python:pip-21.2.4:20211115-121629.log (dev-python:pip-21.2.4:20211115-121629.log,224.29 KB, text/plain)
2021-11-15 16:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,141.16 KB, text/plain)
2021-11-15 16:56 UTC, Toralf Förster
Details
environment (environment,117.39 KB, text/plain)
2021-11-15 16:56 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.51 KB, application/x-bzip)
2021-11-15 16:56 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,35.44 KB, application/x-bzip)
2021-11-15 16:56 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-15 16:56:30 UTC
    frame.f_globals['__file__'].endswith('setup.py')
KeyError: '__file__'
 * ERROR: dev-python/pip-21.2.4::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_install

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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4_stable-20211114-100715

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.3.1
 [2] x86_64-pc-linux-gnu-11.2.0 *
Python 3.9.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.56.1 *
php cli:

  HEAD of ::gentoo
commit 8b99ff9bb6f90c91e2e2e9d6787c035ba517221f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 15 11:06:42 2021 +0000

    2021-11-15 11:06:40 UTC

emerge -qpvO dev-python/pip
[ebuild  N    ] dev-python/pip-21.2.4  USE="-test -vanilla" PYTHON_TARGETS="python3_9 (-pypy3) -python3_8 (-python3_10)"
Comment 1 Toralf Förster gentoo-dev 2021-11-15 16:56:31 UTC
Created attachment 751316 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-15 16:56:32 UTC
Created attachment 751318 [details]
dev-python:pip-21.2.4:20211115-121629.log
Comment 3 Toralf Förster gentoo-dev 2021-11-15 16:56:34 UTC
Created attachment 751320 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-11-15 16:56:35 UTC
Created attachment 751322 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-11-15 16:56:36 UTC
Created attachment 751324 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-15 16:56:38 UTC
Created attachment 751326 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-11-27 20:43:32 UTC
dev-python/pip-21.3.1-r1 usffers from that too
Comment 8 Larry the Git Cow gentoo-dev 2021-12-20 08:40:03 UTC
The bug has been closed via the following commit(s):

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

commit b67fe2372bcd92671125d9fb6220c9e6cdde9572
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-12-20 08:39:05 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-12-20 08:40:00 +0000

    dev-python/pip: Fix generating completions with vendored distutils
    
    Closes: https://bugs.gentoo.org/823844
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pip/pip-21.3.1-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)