System76-driver update error

Hello team -
I’m running Plasma 5.26.5 on Kernel 5.15.102-1, on a System76 Galago Pro

I was recently prompted to update the system76-driver but am getting the error shown below. Any advice troubleshooting would be great. To me it looks like a build issue but my view is not too informed… If there are steps I can take I’m happy to do so.
Reid

.....
.....
==> Starting pkgver()...
==> Starting build()...
* Getting build dependencies for wheel...
/usr/lib/python3.10/site-packages/setuptools/dist.py:547: UserWarning: Normalizing '20.04.78' to '20.4.78'
  warnings.warn(tmpl.format(**locals()))
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    main()
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
    return hook(config_settings)
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=['wheel'])
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 320, in _get_build_requires
    self.run_setup()
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 484, in run_setup
    super(_BuildMetaLegacyBackend,
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
    exec(code, locals())
  File "<string>", line 83, in <module>
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 1221, in run_command
    super().run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.ensure_finalized()
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
    self.finalize_options()
  File "/usr/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 253, in finalize_options
    if pd is not None and pd.key == self.egg_name.lower():
AttributeError: 'PathDistribution' object has no attribute 'key'

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
==> ERROR: A failure occurred in build().
    Aborting...
Finished with result: exit-code
Main processes terminated with: code=exited/status=4
Service runtime: 2.452s
CPU time consumed: 2.285s

Hello,

Have you read the pinned comment by @Yochanan on the package page AUR (en) - system76-driver ?

Also, make sure your system is fully updated before building system76-driver package:
sudo pacman-mirrors -f5 && sudo pacman -Syyu

I’ve unpinned that comment, it’s no longer relevant.

Recent comments there divulge that the issue was with SetupTools and was fixed with 67.3.2. However, the Manjaro stable branch still has 67.3.0. Switch to the testing or unstable branch for a newer version.

1 Like

thanks

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.