FS#75765 - [ruby] 3.0.4-11 'dependency cycle' on install
Attached to Project:
Community Packages
Opened by Gene (GeneC) - Wednesday, 31 August 2022, 19:50 GMT
Last edited by Toolybird (Toolybird) - Saturday, 20 May 2023, 22:44 GMT
Opened by Gene (GeneC) - Wednesday, 31 August 2022, 19:50 GMT
Last edited by Toolybird (Toolybird) - Saturday, 20 May 2023, 22:44 GMT
|
Details
Little issue - when installing ruby there are bunches of
repeated cycle messages from pacman
40 of these: warning: ruby-stdlib will be installed before its ruby dependency warning: dependency cycle detected: 5 of these: warning: dependency cycle detected: warning: ruby-bundledgems will be installed before its ruby dependency Might be nice not to have this if possible. thanks! P.S. Forgive me if i miscounted :) |
This task depends upon
Closed by Toolybird (Toolybird)
Saturday, 20 May 2023, 22:44 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments from PM.
Saturday, 20 May 2023, 22:44 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments from PM.
FS#64003.While agree this is not a functional bug; everything works presumably, nonetheless, circular deps are seldom considered optimal :)
Whether these are driven by the underlying code or the packaging thereof is opaque to me.
If the latter then I would think it could be considered a packaging buglet.
If the former, then seems like sub-optimal code design that probably should be refactored upstream - if there's a head coding chef to drive that kind of thing.
Its good that pacman warns about this.
The standard loader also has options to deal with circular lib references (--start-group/--end-group), but its not really good practice.
The other bug you mention kind of seems like ruby as well :)
Anyway however you all want to handle, or not, is fine by me.
thanks!
Also there is a pacman "bug" that pacman reports the same cyclic dependency multiple times, but as far as I know this was already reported to pacman and if not will be soon.
Yes good idea to have pacman skip duplicate warnings.
Thanks again.