Opened 13 months ago

Closed 4 months ago

#30459 closed defect (worksforme)

sage make fails to install pip on WSL

Reported by: gh-tobiasdiez Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: build Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

On WSL 1.0 running Ubuntu 20.04, sage make fails to install pip with the following error message:

[pip-20.1.1] Package 'pip' is currently not installed
[pip-20.1.1] No legacy uninstaller found for 'pip'; nothing to do
[pip-20.1.1] Non-user install because site-packages writeable
[pip-20.1.1] Ignoring indexes: https://pypi.org/simple
[pip-20.1.1] Created temporary directory: /tmp/pip-ephem-wheel-cache-2ujzp3dv
[pip-20.1.1] Created temporary directory: /tmp/pip-req-tracker-iv6amah8
[pip-20.1.1] Initialized build tracking at /tmp/pip-req-tracker-iv6amah8
[pip-20.1.1] Created build tracker: /tmp/pip-req-tracker-iv6amah8
[pip-20.1.1] Entered build tracker: /tmp/pip-req-tracker-iv6amah8
[pip-20.1.1] Created temporary directory: /tmp/pip-install-xzanay43
[pip-20.1.1] Processing /mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src
[pip-20.1.1]   Created temporary directory: /tmp/pip-req-build-klonbekr
[pip-20.1.1] ERROR: Could not install packages due to an EnvironmentError.
[pip-20.1.1] Traceback (most recent call last):
[pip-20.1.1]   File "/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/commands/install.py", line 333, in run
[pip-20.1.1]     reqs, check_supported_wheels=not options.target_dir
[pip-20.1.1]   File "/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/resolution/legacy/resolver.py", line 179, in resolve
[pip-20.1.1]     discovered_reqs.extend(self._resolve_one(requirement_set, req))
[pip-20.1.1]   File "/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/resolution/legacy/resolver.py", line 362, in _resolve_one
[pip-20.1.1]     abstract_dist = self._get_abstract_dist_for(req_to_install)
[pip-20.1.1]   File "/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/resolution/legacy/resolver.py", line 314, in _get_abstract_dist_for
[pip-20.1.1]     abstract_dist = self.preparer.prepare_linked_requirement(req)
[pip-20.1.1]   File "/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/operations/prepare.py", line 469, in prepare_linked_requirement
[pip-20.1.1]     hashes=hashes,
[pip-20.1.1]   File "/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/operations/prepare.py", line 246, in unpack_url
[pip-20.1.1]     _copy_source_tree(link.file_path, location)
[pip-20.1.1]   File "/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/operations/prepare.py", line 186, in _copy_source_tree
[pip-20.1.1]     shutil.copytree(source, target, **kwargs)
[pip-20.1.1]   File "/mnt/d/Programming/Projects/sage/local/lib/python3.7/shutil.py", line 365, in copytree
[pip-20.1.1]     raise Error(errors)
[pip-20.1.1] shutil.Error: [('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/docs/html/development/architecture', '/tmp/pip-req-build-klonbekr/docs/html/development/architecture', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/docs/html/development/architecture'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/docs/html/development', '/tmp/pip-req-build-klonbekr/docs/html/development', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/docs/html/development'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/docs/html/reference', '/tmp/pip-req-build-klonbekr/docs/html/reference', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/docs/html/reference'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/docs/html', '/tmp/pip-req-build-klonbekr/docs/html', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/docs/html'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/docs/man/commands', '/tmp/pip-req-build-klonbekr/docs/man/commands', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/docs/man/commands'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/docs/man', '/tmp/pip-req-build-klonbekr/docs/man', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/docs/man'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/docs', '/tmp/pip-req-build-klonbekr/docs', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/docs'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/cli/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_internal/cli/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/cli/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/cli', '/tmp/pip-req-build-klonbekr/src/pip/_internal/cli', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/cli'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/commands/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_internal/commands/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/commands/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/commands', '/tmp/pip-req-build-klonbekr/src/pip/_internal/commands', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/commands'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/distributions/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_internal/distributions/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/distributions/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/distributions', '/tmp/pip-req-build-klonbekr/src/pip/_internal/distributions', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/distributions'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/index/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_internal/index/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/index/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/index', '/tmp/pip-req-build-klonbekr/src/pip/_internal/index', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/index'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/models/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_internal/models/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/models/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/models', '/tmp/pip-req-build-klonbekr/src/pip/_internal/models', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/models'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/network/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_internal/network/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/network/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/network', 
'/tmp/pip-req-build-klonbekr/src/pip/_internal/network', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/network'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/operations/build/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_internal/operations/build/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/operations/build/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/operations/build', '/tmp/pip-req-build-klonbekr/src/pip/_internal/operations/build', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/operations/build'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/operations/install/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_internal/operations/install/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/operations/install/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/operations/install', '/tmp/pip-req-build-klonbekr/src/pip/_internal/operations/install', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/operations/install'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/operations/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_internal/operations/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/operations/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/operations', '/tmp/pip-req-build-klonbekr/src/pip/_internal/operations', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/operations'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/req/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_internal/req/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/req/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/req', '/tmp/pip-req-build-klonbekr/src/pip/_internal/req', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/req'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/resolution/legacy/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_internal/resolution/legacy/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/resolution/legacy/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/resolution/legacy', '/tmp/pip-req-build-klonbekr/src/pip/_internal/resolution/legacy', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/resolution/legacy'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/resolution/resolvelib', '/tmp/pip-req-build-klonbekr/src/pip/_internal/resolution/resolvelib', "[Errno 22] 
Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/resolution/resolvelib'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/resolution/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_internal/resolution/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/resolution/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/resolution', '/tmp/pip-req-build-klonbekr/src/pip/_internal/resolution', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/resolution'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/utils/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_internal/utils/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/utils/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/utils', '/tmp/pip-req-build-klonbekr/src/pip/_internal/utils', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/utils'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/vcs/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_internal/vcs/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/vcs/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/vcs', '/tmp/pip-req-build-klonbekr/src/pip/_internal/vcs', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/vcs'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_internal/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_internal', '/tmp/pip-req-build-klonbekr/src/pip/_internal', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_internal'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/cachecontrol/caches/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/cachecontrol/caches/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/cachecontrol/caches/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/cachecontrol/caches', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/cachecontrol/caches', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/cachecontrol/caches'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/cachecontrol/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/cachecontrol/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/cachecontrol/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/cachecontrol', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/cachecontrol', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/cachecontrol'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/certifi/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/certifi/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/certifi/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/certifi', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/certifi', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/certifi'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/chardet/cli', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/chardet/cli', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/chardet/cli'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/chardet/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/chardet/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/chardet/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/chardet', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/chardet', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/chardet'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/colorama/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/colorama/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/colorama/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/colorama', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/colorama', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/colorama'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/distlib/_backport', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/distlib/_backport', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/distlib/_backport'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/distlib/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/distlib/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/distlib/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/distlib', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/distlib', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/distlib'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/html5lib/filters', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/filters', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/filters'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/html5lib/treeadapters', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/treeadapters', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/treeadapters'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/html5lib/treebuilders/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/treebuilders/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/treebuilders/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/html5lib/treebuilders', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/treebuilders', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/treebuilders'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/html5lib/treewalkers/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/treewalkers/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/treewalkers/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/html5lib/treewalkers', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/treewalkers', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/treewalkers'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/html5lib/_trie/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/_trie/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/_trie/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/html5lib/_trie', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/_trie', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/_trie'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/html5lib/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/html5lib', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/html5lib'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/idna/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/idna/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/idna/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/idna', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/idna', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/idna'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/msgpack/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/msgpack/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/msgpack/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/msgpack', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/msgpack', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/msgpack'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/packaging/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/packaging/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/packaging/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/packaging', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/packaging', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/packaging'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/pep517/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/pep517/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/pep517/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/pep517', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/pep517', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/pep517'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/pkg_resources/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/pkg_resources/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/pkg_resources/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/pkg_resources', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/pkg_resources', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/pkg_resources'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/progress/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/progress/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/progress/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/progress', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/progress', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/progress'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/requests/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/requests/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/requests/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/requests', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/requests', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/requests'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/resolvelib', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/resolvelib', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/resolvelib'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/toml/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/toml/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/toml/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/toml', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/toml', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/toml'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/urllib3/contrib/_securetransport', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/contrib/_securetransport', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/contrib/_securetransport'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/urllib3/contrib/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/contrib/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/contrib/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/urllib3/contrib', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/contrib', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/contrib'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/urllib3/packages/backports', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/packages/backports', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/packages/backports'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/urllib3/packages/ssl_match_hostname/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/packages/ssl_match_hostname/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/packages/ssl_match_hostname/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/urllib3/packages/ssl_match_hostname', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/packages/ssl_match_hostname', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/packages/ssl_match_hostname'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/urllib3/packages/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/packages/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/packages/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/urllib3/packages', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/packages', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/packages'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/urllib3/util/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/util/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/util/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/urllib3/util', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/util', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/util'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/urllib3/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/urllib3', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/urllib3'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/webencodings/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/webencodings/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/webencodings/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/webencodings', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/webencodings', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/webencodings'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/_vendor/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/_vendor', '/tmp/pip-req-build-klonbekr/src/pip/_vendor', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/_vendor'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip/__pycache__', '/tmp/pip-req-build-klonbekr/src/pip/__pycache__', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip/__pycache__'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip', '/tmp/pip-req-build-klonbekr/src/pip', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src/pip.egg-info', '/tmp/pip-req-build-klonbekr/src/pip.egg-info', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src/pip.egg-info'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src/src', '/tmp/pip-req-build-klonbekr/src', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr/src'"), ('/mnt/d/Programming/Projects/sage/local/var/tmp/sage/build/pip-20.1.1/src', '/tmp/pip-req-build-klonbekr', "[Errno 22] Invalid argument: '/tmp/pip-req-build-klonbekr'")]
[pip-20.1.1] Removed build tracker: '/tmp/pip-req-tracker-iv6amah8'
[pip-20.1.1] **************************************************************************************************************************************************************************************************************************************************************************************************
[pip-20.1.1] Error building / installing pip3
[pip-20.1.1] **************************************************************************************************************************************************************************************************************************************************************************************************

Change History (9)

comment:1 Changed 13 months ago by mkoeppe

Try with the upgrade in #30317 please

comment:2 Changed 13 months ago by mkoeppe

  • Status changed from new to needs_info
  • Summary changed from sage make fails to install pip to sage make fails to install pip on WSL

This seems to be WSL-specific and would need more investigation

Preferably via replication of this error on GH Actions - see #30216

comment:3 Changed 13 months ago by mkoeppe

Let's use this ticket to make progress on the various build problems mentioned in #30216.

It would be good to find a "minimal", reproducible failure. Then strace could be used to find out exactly what is failing.

comment:4 Changed 13 months ago by mkoeppe

  • Priority changed from major to critical

comment:5 Changed 11 months ago by mkoeppe

  • Milestone changed from sage-9.2 to sage-9.3

comment:6 Changed 9 months ago by mkoeppe

Is this problem still current?

comment:7 Changed 8 months ago by mkoeppe

  • Milestone changed from sage-9.3 to sage-duplicate/invalid/wontfix
  • Priority changed from critical to major
  • Status changed from needs_info to needs_review

comment:8 Changed 8 months ago by gh-tobiasdiez

  • Status changed from needs_review to positive_review

This seems to be fixed indeed.

comment:9 Changed 4 months ago by chapoton

  • Resolution set to worksforme
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.