Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 832417

Summary: dev-python/pip-22.0.1 fails tests
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-01-31 09:37:11 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pip-22.0.1 fails tests.
Discovered on: amd64 (internal ref: ci)

NOTE:
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-31 09:37:13 UTC
Created attachment 764024 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-31 09:37:15 UTC
Error(s) that match a know pattern:


Check the permissions.
Consider using the `--user` option or check the permissions.
E               OSError: [Errno 8] Exec format error: 'fake_pip'
E               OSError: [Errno 8] Exec format error: 'version_pkg'
errpipe_data = bytearray(b'OSError:8:')
] PASSED [ 40%]
tests/unit/test_command_install.py::test_create_os_error_message[error4-False-True-Could not install packages due to an OSError: Illegal byte sequence
tests/unit/test_command_install.py::test_create_os_error_message[error5-False-True-Could not install packages due to an OSError: [Errno 13] No file permission
tests/unit/test_command_install.py::test_create_os_error_message[error6-False-False-Could not install packages due to an OSError: Illegal byte sequence
tests/unit/test_command_install.py::test_create_os_error_message[error7-False-False-Could not install packages due to an OSError: [Errno 13] No file permission
E               OSError: [Errno 8] Exec format error: 'fake_pip'
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-01-31 10:41:55 UTC
Could you 'find' and 'head -1' the fake_pip executable somewhere in $WORKDIR?  I suspect there's something wrong about the shebangs.