Search Criteria
Package Details: liquidctl-git 1.10.0.r1.c9d74f1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/liquidctl-git.git (read-only, click to copy) |
---|---|
Package Base: | liquidctl-git |
Description: | Cross-platform tool and drivers for liquid coolers and other devices |
Upstream URL: | https://github.com/liquidctl/liquidctl |
Licenses: | GPL3 |
Conflicts: | liquidctl |
Provides: | liquidctl |
Submitter: | jonasmalacofilho |
Maintainer: | jonasmalacofilho |
Last Packager: | jonasmalacofilho |
Votes: | 2 |
Popularity: | 0.010674 |
First Submitted: | 2020-02-18 22:49 (UTC) |
Last Updated: | 2022-07-03 05:33 (UTC) |
Dependencies (11)
- i2c-tools (i2c-tools-git)
- python (python38, python37, nogil-python, python39, python36, python32, python311)
- python-colorlog
- python-docopt
- python-hidapi (python-hidapi-git)
- python-pyusb (python-pyusb-git)
- python-setuptools
- python-build (make)
- python-installer (python-installer-git) (make)
- python-setuptools-scm (make)
- python-pytest (check)
Required by (3)
- coolero (requires liquidctl)
- gkraken (requires liquidctl)
- krakenx-git (requires liquidctl)
Latest Comments
gardotd426 commented on 2020-12-20 11:54 (UTC)
Exactly, using
provides
is what I would have expectedjonasmalacofilho commented on 2020-12-20 11:53 (UTC) (edited on 2020-12-20 11:55 (UTC) by jonasmalacofilho)
Well, I left a comment on
i2c-tools-git
about this, hopefully that maintainer can sort that out. It's the same maintainer forpython-smbus-git
as well, so that may help (ideally everything should be moved toi2c-tools-git
, with an addedprovides=(python-smbus-git)
for backwards compatibility).gardotd426 commented on 2020-12-20 11:49 (UTC)
This is the third time in the last like, two weeks where I've seen a -git package install completely different files from the non-git package. It's really annoying. Yeah, I'd had i2c-tools installed for months and months for OpenRGB, but I recently installed -git, and apparently that removed the smbus files. So then when I saw the errors I searched for python and smbus w/ yay and found python-smbus-git, installed it, and then everything worked fine.
So yeah, basically you need either i2c-tools, or i2c-tools-git and python-smbus-git.
jonasmalacofilho commented on 2020-12-20 11:46 (UTC)
I think I know what's going on:
python-smbus-git
installsi2c-tools-git
, but that doesn't really replacei2c-tools
correctly:i2c-tools
includes the Pythonsmbus
module,i2c-tools-git
doesn't (apparently it expects apython-smbus
package, maybe a relic from the past).Uninstall
i2c-tools-git
as well, then trymakepkg -s
again.jonasmalacofilho commented on 2020-12-20 11:39 (UTC)
I don't have python-smbus-git ; )
On the other hand:
gardotd426 commented on 2020-12-20 11:30 (UTC)
Also, building with python-smbus-git installed, during the successful build, this message is given:
byte-compiling /home/matt/tmp/makepkg/liquidctl-git/pkg/liquidctl-git/usr/lib/python3.9/site-packages/liquidctl/driver/smbus.py to smbus.cpython-39.pyc
And sure enough,
pacman -Ql python-smbus-git
gives/usr/lib/python3.9/site-packages/smbus.cpython-39-x86_64-linux-gnu.so
gardotd426 commented on 2020-12-20 11:28 (UTC)
I'm telling you, it requires python-smbus-git.
I just tried again in a fresh directory by running
WITHOUT python-smbus-git installed. And it fails.
And like I said, if I install python-smbus-git and then install liquidctl-git, but then remove python-smbus-git, liquidctl will fail to run as well.
Here's the full error list:
Python is flipping out because there's no
smbus
module, which is provided bypython-smbus-git
, or throughsudo pip install smbus
jonasmalacofilho commented on 2020-12-20 11:22 (UTC)
The
smbus
Python package is part ofi2c-tools
, and at the same time that I pushed that change to liquidctl, I made it adepends
here (was inoptdepends
before that).But... I forgot to update
.SRCINFO
; if you were using an AUR helper, perhaps it followed the dependencies on.SRCINFO
, instead ofPKGBUILD
?Anyway, it should be fixed now. Please give it a try and let me know.
gardotd426 commented on 2020-12-20 10:38 (UTC) (edited on 2020-12-20 10:39 (UTC) by gardotd426)
EDIT: I actually found the commit, it was 20 hours ago, and it's now non-optional according to the commit message: https://github.com/jonasmalacofilho/liquidctl/commit/120b6082da650841900657dd959af9f0a90951db
You're missing a dependency,
python-smbus-git
It wasn't required before, but it definitely is now (at least for X*3 coolers).
liquidctl won't even compile without it installed, and it's not a makedepend either because if you uninstall python-smbus-git after building and installing liquidctl-git, you also get errors.
Here's part of the compile error:
though there are also like 200 lines about the same error preceeding it.
And then if you try to run liquidctl-git after uninstalling python-smbus-git, you get:
So yeah, this is obviously a hard dependency now. I've run liquidctl-git for months (and compiled it manually before that), this was never needed, but it is now.