Package Details: system76-driver 20.04.88-1

Git Clone URL: https://aur.archlinux.org/system76-driver.git (read-only, click to copy)
Package Base: system76-driver
Description: Universal driver for System76 computers
Upstream URL: https://github.com/pop-os/system76-driver
Licenses: GPL-2.0-or-later
Submitter: ava1ar
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 23
Popularity: 0.001762
First Submitted: 2013-08-18 05:41 (UTC)
Last Updated: 2024-03-19 01:10 (UTC)

Latest Comments

1 2 3 4 5 6 .. 16 Next › Last »

nikogura commented on 2023-05-30 20:39 (UTC)

False alarm. A fully clean build succeeds.

sr98vn commented on 2023-02-20 21:43 (UTC)

@Parker8283 Can confirm that python-setuptools version 67.3.2 (recently updated) allows system76-driver to build now, thanks!

Parker8283 commented on 2023-02-20 01:53 (UTC)

Downgrading python-setuptools 67.3.0 --> 67.2.0 worked for me, the package builds now. Found the real issue/PR: SetupTools #3823. This was released in 67.3.1. Looks like 67.3.2 is in testing currently, so once that moves to extra, it should build fine.

Eeems commented on 2023-02-19 01:28 (UTC)

@Parker8283 and @sr98vn this could be related to the issue with setuptools that @Parker8283 identified. That said, I've been having this package build daily with no issue, and it's using python-setuptools 1:67.3.0-1 https://github.com/Eeems/repo.eeems.codes/actions/runs/4208706435/jobs/7305093989#step:9:77

If you just need an updated build of the package for now, you can get the package from my repo if you trust my build mechanism. You can also try building it yourself with the container that I'm building with. You can find the Dockerfiles here: https://github.com/Eeems/images

Parker8283 commented on 2023-02-18 18:14 (UTC)

I am also running into the same issue as @sr98vn. Deleting my yay cache for the package first still does not fix it. This might be related up SetupTools issue #3452?

sr98vn commented on 2023-02-17 20:52 (UTC)

@electric_blue Thanks for the suggestion, but it still isn't working for me after running sudo systemctl restart reflector.service. I even tried cloning the git repo and running makepkg -si locally just to confirm it wasn't an issue with yay. Also tried reinstalling all python dependent packages with yay -S $(yay -Qoq /usr/lib/python3.10), still doesn't work.

electric_blue commented on 2023-02-17 19:02 (UTC)

@sr98vn If you use reflector try rerunning it or otherwise refreshing your mirrorlist. I had this problem and this fixed it, it looks like the mirrors I was using were missing some updates.

yochananmarqos commented on 2023-02-17 16:02 (UTC)

@sr98vn: It builds fine in a clean chroot.

sr98vn commented on 2023-02-17 12:08 (UTC)

I'm getting the following error when building 20.04.75-1

1  aur/system76-driver  20.04.74-1 -> 20.04.75-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==> 
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  system76-driver-20.04.75-1

  1 system76-driver                  (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/sravan/.cache/yay/system76-driver
:: (1/1) Downloaded PKGBUILD: system76-driver
  1 system76-driver                  (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: system76-driver
==> Making package: system76-driver 20.04.75-1 (Fri 17 Feb 2023 07:07:48 AM EST)
==> Retrieving sources...
  -> Cloning system76-driver git repo...
Cloning into bare repository '/home/sravan/.cache/yay/system76-driver/system76-driver'...
remote: Enumerating objects: 11216, done.
remote: Counting objects: 100% (1196/1196), done.
remote: Compressing objects: 100% (365/365), done.
remote: Total 11216 (delta 890), reused 1074 (delta 826), pack-reused 10020
Receiving objects: 100% (11216/11216), 9.82 MiB | 24.12 MiB/s, done.
Resolving deltas: 100% (8255/8255), done.
  -> Found cli.patch
  -> Found wayland.patch
  -> Found actions.patch
==> Validating source files with sha256sums...
    system76-driver ... Skipped
    cli.patch ... Passed
    wayland.patch ... Passed
    actions.patch ... Passed
==> Making package: system76-driver 20.04.75-1 (Fri 17 Feb 2023 07:07:50 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating system76-driver git repo...
  -> Found cli.patch
  -> Found wayland.patch
  -> Found actions.patch
==> Validating source files with sha256sums...
    system76-driver ... Skipped
    cli.patch ... Passed
    wayland.patch ... Passed
    actions.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of system76-driver git repo...
Cloning into 'system76-driver'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
patching file system76-driver-cli
patching file system76-driver-pkexec
patching file system76driver/actions.py
Hunk #3 succeeded at 1553 (offset 59 lines).
==> Starting pkgver()...
==> Sources are ready.
==> Making package: system76-driver 20.04.75-1 (Fri 17 Feb 2023 07:07:52 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
* Getting build dependencies for wheel...
/usr/lib/python3.10/site-packages/setuptools/dist.py:547: UserWarning: Normalizing '20.04.75' to '20.4.75'
  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...
 -> error making: system76-driver