GNOME Bugzilla – Bug 793979
Possibly unneeded runtime dependency on ExtUtils::Depends and ExtUtils::PkgConfig
Last modified: 2021-07-05 12:22:28 UTC
Makefile.PL makes it clear that they are only needed at configuration time: they are only listed in %CONFIG_REQ_PM which i *not* passed to $meta_merge->{prereqs}->{runtime}->{requires}. But they end up as runtime dependencies in META.{yml,json} anyway, perhaps because of: WriteMakefile( […] PREREQ_PM => \%CONFIG_REQ_PM, […] ); … and then distro packaging tools that convert META.{yml,json} into distro-specific dependencies pick them up as runtime dependencies. I've verified that a Perl app that uses Gtk3 (and thus Glib::Object::Introspection) works correctly without these two dependencies installed. Could you please confirm that these dependencies are configure/build-time only and are not needed at runtime? If that's indeed the case, I'll try to (find time to) figure out why Makefile.PL adds them to runtime dependencies in META.*. Thanks!
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME?utf8=%E2%9C%93&filter=perl- Thank you for your understanding and your help.