After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 793979 - Possibly unneeded runtime dependency on ExtUtils::Depends and ExtUtils::PkgConfig
Possibly unneeded runtime dependency on ExtUtils::Depends and ExtUtils::PkgCo...
Status: RESOLVED OBSOLETE
Product: gnome-perl
Classification: Bindings
Component: Glib::Object::Introspection
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2018-03-02 07:46 UTC by intrigeri
Modified: 2021-07-05 12:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description intrigeri 2018-03-02 07:46:14 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!
Comment 1 GNOME Infrastructure Team 2021-07-05 12:22:28 UTC
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.