gmusicbrowser Forum

Main board => Questions => Topic started by: Einhard on June 30, 2015, 16:50:14

Title: [solved] Gmusicbrowser won't start with perl 5.22
Post by: Einhard on June 30, 2015, 16:50:14
I've updated perl from 5.20.2 to 5.22.0 yesterday and I got this trying to run gmusicbrowser (same result with 1.1.14 and git version):
Error loading gmusicbrowser_dbus.pm :
Base class package "Net::DBus::Object" is empty.
    (Perhaps you need to 'use' the module which defines that package first,
    or make that module available in @INC (@INC contains: /usr/bin/../share/gmusicbrowser /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .).
at /usr/bin/../share/gmusicbrowser/gmusicbrowser_dbus.pm line 13.
BEGIN failed--compilation aborted at /usr/bin/../share/gmusicbrowser/gmusicbrowser_dbus.pm line 13.
Compilation failed in require at /usr/bin/gmusicbrowser line 410.
=> controlling gmusicbrowser through DBus won't be possible.

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^sub { <-- HERE / at /usr/bin/../share/gmusicbrowser/gmusicbrowser_songs.pm line 1601.
Use of uninitialized value $thousandsep in substitution (s///) at /usr/bin/gmusicbrowser line 148.
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/auto/Glib/Object/Introspection/Introspection.so: undefined symbol: Perl_xs_apiversion_bootcheck

My system, 64bit Arch Linux, all standard vanilla perl packages.

Edit:
It seems perl-glib-object-introspection on my config wasn't rebuild properly when updating. Did it manually once more and gb started correctly and everything works fine now.
Title: Re: [solved] Gmusicbrowser won't start with perl 5.22
Post by: Quentin Sculo on July 03, 2015, 22:47:30
Thanks for reporting this. I'm glad it works, I'll fix the "Unescaped left brace in regex is deprecated" warnings.
I'm not sure about the first error, about DBus, did it work before and does it work now or not ?
Title: Re: [solved] Gmusicbrowser won't start with perl 5.22
Post by: Einhard on July 04, 2015, 14:48:38
Quote from: Quentin Sculo on July 03, 2015, 22:47:30
Thanks for reporting this. I'm glad it works, I'll fix the "Unescaped left brace in regex is deprecated" warnings.
I'm not sure about the first error, about DBus, did it work before and does it work now or not ?
I just didn't have perl-net-dbus installed so it's natural this kind of error emerged, it's not critical thing (program runs fine without it) and I never needed it anyway so I didn't even notice it to this day. When installed there is no error and DBus control works.
Title: Re: [solved] Gmusicbrowser won't start with perl 5.22
Post by: tumza on July 11, 2015, 20:52:09
QuoteIt seems perl-glib-object-introspection on my config wasn't rebuild properly when updating. Did it manually once more and gb started correctly and everything works fine now.
I have the exact same second error on 64-bit Arch system. How did you manually rebuild the perl-glib-object-introspection on your config? Thanks.
Title: Re: [solved] Gmusicbrowser won't start with perl 5.22
Post by: bucaneer on July 12, 2015, 13:15:04
Quote from: tumza on July 11, 2015, 20:52:09I have the exact same second error on 64-bit Arch system. How did you manually rebuild the perl-glib-object-introspection on your config? Thanks.

I think simply reinstalling the perl-glib-object-introspection package from AUR should do the trick.
Title: Re: [solved] Gmusicbrowser won't start with perl 5.22
Post by: tumza on July 14, 2015, 15:08:07
QuoteI think simply reinstalling the perl-glib-object-introspection package from AUR should do the trick.

Perfect! Thank you very much!