[Bug 1944554] Review Request: perl-Glib-IO - Perl binding to the GIO library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1944554



--- Comment #5 from Petr Pisar <ppisar@xxxxxxxxxx> ---
The usage is this one:

  my $loop = Glib::MainLoop->new ();

That does not load Glib module. The test just expects that Glib::MainLoop was
imported
implicitly somewhere somehow (probably by Glib transitively loaded by "use
Glib::IO;"
at line #5). It's maybe a deficiency in the test, but the RPM dependency should
not be there:

[test@fedora-35 Glib-IO-0.001]$ perl -Ilib -e 'Glib::MainLoop->new'
Can't locate object method "new" via package "Glib::MainLoop" (perhaps you
forgot to load "Glib::MainLoop"?) at -e line 1.
[test@fedora-35 Glib-IO-0.001]$ perl -Ilib -e 'use Glib::MainLoop;
Glib::MainLoop->new'
Can't locate Glib/MainLoop.pm in @INC (you may need to install the
Glib::MainLoop module) (@INC contains: lib /usr/local/lib64/perl5/5.32
/usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
[test@fedora-35 Glib-IO-0.001]$ perl -Ilib -e 'use Glib; Glib::MainLoop->new'
[test@fedora-35 Glib-IO-0.001]$ perl -Ilib -e 'use Glib::IO;
Glib::MainLoop->new'
[test@fedora-35 Glib-IO-0.001]$


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux