aura icon indicating copy to clipboard operation
aura copied to clipboard

Cyclic Dependencies with `mangohud`?

Open fosskers opened this issue 2 years ago • 1 comments

How do you deal with cycling dependencies ? I have an issue with mangohud here, which prevents any update.

aura :: AUR packages to upgrade:
 celt                        :: 0.11.3-5                   -> 0.11.3-6
 dxvk-bin                    :: 1.10.3-1                   -> 2.1-3
 epson-inkjet-printer-escpr  :: 1.7.21-1                   -> 1.7.24-1
 epson-inkjet-printer-escpr2 :: 1.1.49-1                   -> 1.1.60-1
 goverlay-bin                :: 0.9-1                      -> 0.9.1-2
 kasts                       :: 22.09.2-2                  -> 23.01.0-1
 libkipi                     :: 21.12.3-1                  -> 22.04.0-1
 lldb-mi-git                 :: r74.89945aa-1              -> r83.2388bd7-1
 mangohud                    :: 0.6.8-2                    -> 0.6.8-5
 mediawriter                 :: 5.0.1-1                    -> 5.0.4-1
 mu                          :: 1.8.9-1                    -> 1.8.14-1
 pomatez                     :: 1.1.0-1                    -> 1.2.2-2
 wezterm-git                 :: 20230121.182429.9350795f-1 -> 20230125.180646.f15bb186-1
 zenpower3-dkms              :: 0.2.0-1                    -> 0.2.0-3
aura :: Resolving dependencies...
aura :: Repository dependencies:
 rust
aura :: AUR packages:
 celt
 dxvk-bin
 epson-inkjet-printer-escpr
 epson-inkjet-printer-escpr2
 goverlay-bin
 kasts
 libkipi
 lldb-mi-git
 mangohud
 mediawriter
 mu
 pomatez
 wezterm-git
 zenpower3-dkms
aura :: Proceed? [Y/n] 
aura :: There was a cyclic dependency involving: mangohud

For the record: mangohud seems to need mangoapp as an optional dependency, which hard requires mangohud.

Is there an option to at least ignore that package so it updates anything that doesn't touch this cycle?

Originally posted by @gagbo in https://github.com/fosskers/aura/discussions/775#discussioncomment-5373301

fosskers avatar Mar 23 '23 00:03 fosskers

@gagbo It looks like mangohud is actually a split package containing both mangohud and mangoapp in the same build process. Usually these are fine for Aura, but something weird seems to be happening in this case, so for now I'd recommend hand-building it via makepkg.

You can use aura -Aw to clone the package beforehand:

aura -Aw mangohud
cd mangohud
makepkg

fosskers avatar Mar 23 '23 00:03 fosskers

This doesn't seem to occur anymore.

fosskers avatar Jun 17 '24 10:06 fosskers