Bug 17244 - Squeezeboxserver fails on Perl module YAML::syck
: Squeezeboxserver fails on Perl module YAML::syck
Status: REOPENED
Product: Logitech Media Server
Classification: Unclassified
Component: Debian
: 7.6.0
: PC Debian Linux
: -- normal with 2 votes (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-18 13:56 UTC by geephile
Modified: 2011-07-25 12:53 UTC (History)
2 users (show)

See Also:
Category: Bug


Attachments
squeezeboxserver console log (21.45 KB, application/LOG Files)
2011-05-19 06:30 UTC, BONNEAU Tanguy
Details
Perl -v output (576 bytes, text/plain)
2011-05-19 10:32 UTC, geephile
Details
CPAN module versions (14.65 KB, text/plain)
2011-05-19 10:35 UTC, geephile
Details

Note You need to log in before you can comment on or make changes to this bug.
Description geephile 2011-05-18 13:56:39 UTC
After upgrading my Debian Testing machine squeezeboxserver does not start anymore.

The upgrade contained perl 5.12
Versions 7.5.5_32420 and squeezeboxserver_7.6.0~32429_all.deb gave the error:

> Use of inherited AUTOLOAD for non-method YAML::Syck::DumpYAML() is deprecated 
> at /usr/share/squeezeboxserver/CPAN/YAML/Syck.pm line 65.
> The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser 
> JSON::XS Digest::SHA1 YAML::Syck Sub::Name

When using squeezeboxserver-7.6.0-32429.tgz
the error is shorter.

> Use of inherited AUTOLOAD for non-method YAML::Syck::DumpYAML() is deprecated 
> at /usr/src/squeezeboxserver-7.6.0-32429/squeezeboxserver-7.6.0-32429/CPAN/YAML/
> Syck.pm line 65.
> The following modules failed to load: YAML::Syck

my YAML::Syck module is version 1.17
Comment 1 BONNEAU Tanguy 2011-05-19 06:30:44 UTC
Created attachment 7291 [details]
squeezeboxserver console log
Comment 2 BONNEAU Tanguy 2011-05-19 06:35:35 UTC
Ive got the same problem than geephile
Since fresh update from my system, squeezeboxserver doesn't start anymore !

I think problem comes from perl update.

I'm running debian testing. Squeezeboxserver version is 7.5.5~3243 and libperl 5.12.3-6 according to aptitude
Squeezeboxserver is installed from aptitude using this repository "deb http://debian-origin.slimdevices.com testing main"

Console log of the command /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeezeboxserver/cache --charset=utf8 :
Use of inherited AUTOLOAD for non-method YAML::Syck::DumpYAML() is deprecated at /usr/share/squeezeboxserver/CPAN/YAML/Syck.pm line 65.
The following modules failed to load: DBI DBD::mysql EV HTML::Parser JSON::XS Digest::SHA1 YAML::Syck GD Sub::Name

Console log of the command /usr/sbin/squeezeboxserver --d_startup in attachment "squeezeboxserver console log"
Comment 3 geephile 2011-05-19 10:32:40 UTC
Created attachment 7293 [details]
Perl -v output
Comment 4 geephile 2011-05-19 10:35:52 UTC
Created attachment 7294 [details]
CPAN module versions
Comment 5 geephile 2011-05-20 13:26:05 UTC
Workaround 

Revert back to perl 5.10 by entering /var/cache/apt/archives and execute the command:
[code]dpkg -i perl_5.10.1-20_i386.deb perl-base_5.10.1-20_i386.deb perl-modules_5.10.1-20_i386.deb[/code]

Pin the Perl version until SBS is supporting Perl 5.12
Comment 6 Michael Herger 2011-05-27 09:02:56 UTC

*** This bug has been marked as a duplicate of bug 16253 ***
Comment 7 geephile 2011-05-27 17:14:43 UTC
Your probably right with the duplicate,

Although Architecture/Os/versions are all different and the solution is not really functioning on my Debian installation but i think that is more my knowledge (or the lack of it) of perl and CPAN.

seems to me that the CPAN directory conflicts with the installed CPAN modules on my system but havent yet managed to solve the problem.
Comment 8 mbo2 2011-06-04 23:41:38 UTC
*** This bug has been confirmed by popular vote. ***
Comment 9 geephile 2011-07-25 12:53:40 UTC
Better workaround then my proposed downgrade

http://forums.slimdevices.com/showthread.php?t=88250&highlight=cpan

The default debian installer still does not fix this so reopened the case.