[aur-general] Cycled dependencies in AUR
mario at finel.li
Wed Aug 25 02:03:57 UTC 2021
On 8/24/21 11:12 AM, Mikhail f. Shiryaev via aur-general wrote:
> Today I tried to build ruby-rubocop  package and it's in a strange
> state. A lot of packages for the package are cross-dependent for the check,
> for example ruby-ruby-progressbar  and ruby-fuubar . The proposal of
> how to solve it from Mario  is to skip the check() phase, see comment
> The same is valid for package ruby-rubocop-performance  that is
> dependency for rubocop check and requires it to be built
> IMHO the state when the packages aren't able to be built by the simple AUR
> helper command like `yay -S ruby-rubocop` should be considered as room for
> If I'm wrong, please say so. But I'd like to have AUR packages in an easily
> installable state and not passing additional arguments like `--nocheck` for
> makepackage commands.
I've been debating with myself for a little while now on how to best to
respond to this. On the one hand I totally get it that it's annoying to
not be able to just `$helper -S package` and need to either manually
edit the pkgbuild, or call --nocheck, or whatever. On the other hand
running the test suite is extremely valuable to pick up breakage between
both gem versions and ruby versions. Fortunately, for ruby packages the
dependency cycle is usually only for checkdepends so once you've built
and installed the package the first time upgrades should be smooth even
with the check.
It's possible that this is actually only something that we care about
for the official repositories and so I'm out of place by including them
on these AUR packages. I admit that I haven't seen circular dependencies
elsewhere on the AUR, but I also don't install that many packages so
maybe they just exist on packages that I haven't seen or don't use.
Anyway, if the consensus (or even just some TU telling me to do it) is
to get rid of the check() functions and checkdepends then I of course
will comply -- I'll just be a little sad about it :)
>  - https://aur.archlinux.org/packages/ruby-rubocop
>  - https://aur.archlinux.org/packages/ruby-ruby-progressbar/
>  - https://aur.archlinux.org/packages/ruby-fuubar/
>  - https://aur.archlinux.org/account/supermario
>  - https://aur.archlinux.org/packages/ruby-rubocop-rspec/#comment-823420
>  - https://aur.archlinux.org/packages/ruby-rubocop-performance/
> Best regards,
> Mikhail f. Shiryaev
> p.s. Mario, sorry for sending you two messages.
No worries :) I think I may have done the same to you since I needed to
subscribe this address to the list in order to respond, sorry!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the aur-general