Log:
# pamac upgrade
Warning: Building packages as root
Warning: Setting build directory to /var/cache/pamac
Preparing...
Cloning python-pynput build files...
Running as unit: run-u335.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 912ms
Checking python-pynput dependencies...
bsdtar: Failed to set default locale
Synchronizing package databases...
Resolving dependencies...
Checking inter-conflicts...
To build (1):
python-pynput 1.7.2-1 (1.7.1-1) AUR
Edit build files : [e]
Apply transaction ? [e/y/N] y
Building python-pynput...
Running as unit: run-u336.service
Press ^] three times within 1s to disconnect TTY.
==> Making package: python-pynput 1.7.2-1 (Fri 29 Jan 2021 09:02:34 AM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading pynput-1.7.2.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 272 100 272 0 0 1283 0 --:--:-- --:--:-- --:--:-- 1283
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 75193 100 75193 0 0 179k 0 --:--:-- --:--:-- --:--:-- 179k
-> Found python-pynput.patch
==> Validating source files with sha256sums...
pynput-1.7.2.tar.gz ... Passed
python-pynput.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting pynput-1.7.2.tar.gz with bsdtar
==> Starting prepare()...
patching file setup.py
==> Starting build()...
WARNING: The wheel package is not available.
WARNING: The directory '/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-3m503_ol/setuptools-lint/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-3m503_ol/setuptools-lint/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-5ba75jkp
cwd: /tmp/pip-wheel-3m503_ol/setuptools-lint/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for setuptools-lint
ERROR: Failed to build one or more wheels
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/setuptools/installer.py", line 126, in fetch_build_egg
subprocess.check_call(cmd)
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpllrpimn2', '--quiet', 'setuptools-lint>=0.5']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/var/cache/private/pamac/python-pynput/src/pynput-1.7.2/setup.py", line 85, in <module>
setuptools.setup(
File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 152, in setup
_install_setup_requires(attrs)
File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 147, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 673, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 764, in resolve
dist = best[req.key] = env.best_match(
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1049, in best_match
return self.obtain(req, installer)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1061, in obtain
return installer(requirement)
File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 732, in fetch_build_egg
return fetch_build_egg(self, req)
File "/usr/lib/python3.9/site-packages/setuptools/installer.py", line 128, in fetch_build_egg
raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpllrpimn2', '--quiet', 'setuptools-lint>=0.5']' returned non-zero exit status 1.
==> ERROR: A failure occurred in build().
Aborting...
Finished with result: exit-code
Main processes terminated with: code=exited/status=4
Service runtime: 2.988s