[PATCH cygport] pkg_info.cygpart: Do not detect dependencies on itself in ruby package

Jon Turney jon.turney@dronecode.org.uk
Sun Mar 10 13:34:52 GMT 2024


On 16/02/2024 12:51, Daisuke Fujimura via Cygwin-apps wrote:
> Attempting to create a package for ruby-3.3, but it fails when trying
> to detect a dependency on itself.

Thanks for this patch.

Can you clarify what the "failure" is here?

> To avoid this, skip them if the target is `ruby`.

The second hunk seems like a removes the dependency on ruby_xy for the 
ruby package, which also provides ruby_xy.

Historically, we've allowed self-dependencies like this, because they 
seem to be benign, although it seems like we could do with some generic 
code to suppress them

(e.g. cygport also ends up generating cygwin-debuginfo with a dependency 
on itself, which is harmless but could be suppressed)



More information about the Cygwin-apps mailing list