Author Topic: [solved] Gmusicbrowser won't start with perl 5.22  (Read 3827 times)

Einhard

  • Newbie
  • *
  • Posts: 12
    • View Profile
[solved] Gmusicbrowser won't start with perl 5.22
« on: June 30, 2015, 21: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):
Code: [Select]
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.
« Last Edit: July 02, 2015, 08:51:22 by Einhard »

Quentin Sculo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1082
    • View Profile
Re: [solved] Gmusicbrowser won't start with perl 5.22
« Reply #1 on: July 04, 2015, 03: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 ?

Einhard

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [solved] Gmusicbrowser won't start with perl 5.22
« Reply #2 on: July 04, 2015, 19:48:38 »
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.
« Last Edit: July 04, 2015, 19:50:55 by Einhard »

tumza

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [solved] Gmusicbrowser won't start with perl 5.22
« Reply #3 on: July 12, 2015, 01:52:09 »
Quote
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.
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.

bucaneer

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Re: [solved] Gmusicbrowser won't start with perl 5.22
« Reply #4 on: July 12, 2015, 18:15:04 »
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.

I think simply reinstalling the perl-glib-object-introspection package from AUR should do the trick.

tumza

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [solved] Gmusicbrowser won't start with perl 5.22
« Reply #5 on: July 14, 2015, 20:08:07 »
Quote
I think simply reinstalling the perl-glib-object-introspection package from AUR should do the trick.

Perfect! Thank you very much!