Here's one that gets me every time. Slimserver breaks after upgrading.
The fix is to force install Scalar::Util. Don't ask me why - I dabble in perl but this sort of thing is totally beyond me. Anyways, here are the obligatory screengrabs;
[root] deckard:/root # uname -a
SunOS deckard 5.11 snv_104 i86pc i386 i86pc
[root] deckard:/root # su - slim
Sun Microsystems Inc. SunOS 5.11 snv_104 November 2008
[slim] deckard:/usr/local/squeezecenter-7.3.1-24296 $ ./slimserver.pl
Weak references are not implemented in the version of perl at /usr/local/squeezecenter-7.3.1-24296/Slim/Utils/Accessor.pm line 25
BEGIN failed--compilation aborted at /usr/local/squeezecenter-7.3.1-24296/Slim/Utils/Accessor.pm line 25.
Compilation failed in require at (eval 161) line 3.
...propagated at /usr/perl5/5.8.4/lib/base.pm line 85.
BEGIN failed--compilation aborted at /usr/local/squeezecenter-7.3.1-24296/Slim/Player/Client.pm line 17.
Compilation failed in require at /usr/local/squeezecenter-7.3.1-24296/Slim/Utils/Alarm.pm line 47.
BEGIN failed--compilation aborted at /usr/local/squeezecenter-7.3.1-24296/Slim/Utils/Alarm.pm line 47.
Compilation failed in require at /usr/local/squeezecenter-7.3.1-24296/Slim/Buttons/Alarm.pm line 12.
BEGIN failed--compilation aborted at /usr/local/squeezecenter-7.3.1-24296/Slim/Buttons/Alarm.pm line 12.
Compilation failed in require at /usr/local/squeezecenter-7.3.1-24296/Slim/Buttons/Common.pm line 42.
BEGIN failed--compilation aborted at /usr/local/squeezecenter-7.3.1-24296/Slim/Buttons/Common.pm line 42.
Compilation failed in require at ./slimserver.pl line 140.
BEGIN failed--compilation aborted at ./slimserver.pl line 140.
[slim] deckard:/usr/local/squeezecenter-7.3.1-24296 $ perl -v
This is perl, v5.8.4 built for i86pc-solaris-64int
(with 31 registered patches, see perl -V for more detail)
Copyright 1987-2004, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
[slim] deckard:/usr/local/squeezecenter-7.3.1-24296 $ su -
Password:
Sun Microsystems Inc. SunOS 5.11 snv_104 November 2008
[root] deckard:/root # cpan
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support enabled
cpan> force install Scalar::Util
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Sun, 14 Dec 2008 19:26:50 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.ticklers.org/pub/CPAN/authors/01mailrc.txt.gz
LWP failed with code[404] message[File '01mailrc.txt.gz' not found]
Fetching with Net::FTP:
ftp://ftp.ticklers.org/pub/CPAN/authors/01mailrc.txt.gz
Couldn't fetch 01mailrc.txt.gz from ftp.ticklers.org
Fetching with LWP:
ftp://cpan.etla.org/pub/CPAN/authors/01mailrc.txt.gz
LWP failed with code[404] message[File '01mailrc.txt.gz' not found]
Fetching with Net::FTP:
ftp://cpan.etla.org/pub/CPAN/authors/01mailrc.txt.gz
Couldn't fetch 01mailrc.txt.gz from cpan.etla.org
Trying with "/opt/csw/bin/lynx -source" to get
ftp://ftp.ticklers.org/pub/CPAN/authors/01mailrc.txt.gz
Syntax Error parsing COLOR in configuration file:
The line must be of the form:
COLOR:INTEGER:FOREGROUND:BACKGROUND
Here FOREGROUND and BACKGROUND must be one of:
The special strings 'nocolor' or 'default', or
black red green brown
blue magenta cyan lightgray
gray brightred brightgreen yellow
brightblue brightmagenta brightcyan white
Offending line:
System call "/opt/csw/bin/lynx -source "ftp://ftp.ticklers.org/pub/CPAN/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist
Trying with "/usr/bin/ncftpget" to get
ftp://ftp.ticklers.org/pub/CPAN/authors/01mailrc.txt.gz
01mailrc.txt.gz: 146.31 kB 722.30 kB/s
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
Use of uninitialized value in concatenation (.) or string at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/Scalar/Util.pm line 30.
Trying with "/opt/csw/bin/lynx -source" to get
ftp://ftp.ticklers.org/pub/CPAN/modules/02packages.details.txt.gz
Syntax Error parsing COLOR in configuration file:
The line must be of the form:
COLOR:INTEGER:FOREGROUND:BACKGROUND
Here FOREGROUND and BACKGROUND must be one of:
The special strings 'nocolor' or 'default', or
black red green brown
blue magenta cyan lightgray
gray brightred brightgreen yellow
brightblue brightmagenta brightcyan white
Offending line:
System call "/opt/csw/bin/lynx -source "ftp://ftp.ticklers.org/pub/CPAN/modules/02packages.details.txt.gz" > /root/.cpan/sources/modules/02packages.details.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist
Trying with "/usr/bin/ncftpget" to get
ftp://ftp.ticklers.org/pub/CPAN/modules/02packages.details.txt.gz
02packages.details.txt.gz: 704.12 kB 493.35 kB/s
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Use of uninitialized value in concatenation (.) or string at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/Scalar/Util.pm line 30.
Database was generated on Tue, 16 Dec 2008 16:27:00 GMT
There's a new CPAN.pm version (v1.9301) available!
[Current version is v1.7601]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrade
while we are running...
Trying with "/opt/csw/bin/lynx -source" to get
ftp://ftp.ticklers.org/pub/CPAN/modules/03modlist.data.gz
Syntax Error parsing COLOR in configuration file:
The line must be of the form:
COLOR:INTEGER:FOREGROUND:BACKGROUND
Here FOREGROUND and BACKGROUND must be one of:
The special strings 'nocolor' or 'default', or
black red green brown
blue magenta cyan lightgray
gray brightred brightgreen yellow
brightblue brightmagenta brightcyan white
Offending line:
System call "/opt/csw/bin/lynx -source "ftp://ftp.ticklers.org/pub/CPAN/modules/03modlist.data.gz" > /root/.cpan/sources/modules/03modlist.data"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist
Trying with "/usr/bin/ncftpget" to get
ftp://ftp.ticklers.org/pub/CPAN/modules/03modlist.data.gz
03modlist.data.gz: 151.92 kB 653.80 kB/s
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Use of uninitialized value in concatenation (.) or string at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/Scalar/Util.pm line 30.
Going to write /root/.cpan/Metadata
Running install for module Scalar::Util
Running make for G/GB/GBARR/Scalar-List-Utils-1.19.tar.gz
CPAN: Digest::MD5 loaded ok
Use of uninitialized value in concatenation (.) or string at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/Scalar/Util.pm line 30.
Checksum for /root/.cpan/sources/authors/id/G/GB/GBARR/Scalar-List-Utils-1.19.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Use of uninitialized value in concatenation (.) or string at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/Scalar/Util.pm line 30.
Use of uninitialized value in concatenation (.) or string at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/Scalar/Util.pm line 30.
x Scalar-List-Utils-1.19, 0 bytes, 0 tape blocks
x Scalar-List-Utils-1.19/t, 0 bytes, 0 tape blocks
x Scalar-List-Utils-1.19/t/refaddr.t, 1793 bytes, 4 tape blocks
x Scalar-List-Utils-1.19/t/p_tainted.t, 228 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/t/p_maxstr.t, 156 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/t/p_blessed.t, 156 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/t/tainted.t, 672 bytes, 2 tape blocks
x Scalar-List-Utils-1.19/t/maxstr.t, 717 bytes, 2 tape blocks
x Scalar-List-Utils-1.19/t/p_minstr.t, 156 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/t/p_readonly.t, 156 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/t/p_min.t, 156 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/t/p_refaddr.t, 156 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/t/reftype.t, 1180 bytes, 3 tape blocks
x Scalar-List-Utils-1.19/t/blessed.t, 748 bytes, 2 tape blocks
x Scalar-List-Utils-1.19/t/lln.t, 1105 bytes, 3 tape blocks
x Scalar-List-Utils-1.19/t/proto.t, 1476 bytes, 3 tape blocks
x Scalar-List-Utils-1.19/t/p_first.t, 217 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/t/minstr.t, 716 bytes, 2 tape blocks
x Scalar-List-Utils-1.19/t/first.t, 3187 bytes, 7 tape blocks
x Scalar-List-Utils-1.19/t/p_shuffle.t, 156 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/t/min.t, 628 bytes, 2 tape blocks
x Scalar-List-Utils-1.19/t/reduce.t, 3647 bytes, 8 tape blocks
x Scalar-List-Utils-1.19/t/p_lln.t, 156 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/t/max.t, 629 bytes, 2 tape blocks
x Scalar-List-Utils-1.19/t/p_openhan.t, 156 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/t/p_max.t, 156 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/t/openhan.t, 574 bytes, 2 tape blocks
x Scalar-List-Utils-1.19/t/readonly.t, 1041 bytes, 3 tape blocks
x Scalar-List-Utils-1.19/t/isvstring.t, 648 bytes, 2 tape blocks
x Scalar-List-Utils-1.19/t/p_sum.t, 156 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/t/p_reduce.t, 217 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/t/sum.t, 596 bytes, 2 tape blocks
x Scalar-List-Utils-1.19/t/shuffle.t, 626 bytes, 2 tape blocks
x Scalar-List-Utils-1.19/t/dualvar.t, 1152 bytes, 3 tape blocks
x Scalar-List-Utils-1.19/t/00version.t, 416 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/t/weak.t, 3001 bytes, 6 tape blocks
x Scalar-List-Utils-1.19/t/p_reftype.t, 156 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/inc, 0 bytes, 0 tape blocks
x Scalar-List-Utils-1.19/inc/Test, 0 bytes, 0 tape blocks
x Scalar-List-Utils-1.19/inc/Test/Builder.pm, 25016 bytes, 49 tape blocks
x Scalar-List-Utils-1.19/inc/Test/Builder, 0 bytes, 0 tape blocks
x Scalar-List-Utils-1.19/inc/Test/Builder/Module.pm, 1239 bytes, 3 tape blocks
x Scalar-List-Utils-1.19/inc/Test/More.pm, 14095 bytes, 28 tape blocks
x Scalar-List-Utils-1.19/inc/Module, 0 bytes, 0 tape blocks
x Scalar-List-Utils-1.19/inc/Module/Install.pm, 8073 bytes, 16 tape blocks
x Scalar-List-Utils-1.19/inc/Module/Install, 0 bytes, 0 tape blocks
x Scalar-List-Utils-1.19/inc/Module/Install/InstallDirs.pm, 656 bytes, 2 tape blocks
x Scalar-List-Utils-1.19/inc/Module/Install/Include.pm, 524 bytes, 2 tape blocks
x Scalar-List-Utils-1.19/inc/Module/Install/Makefile.pm, 5883 bytes, 12 tape blocks
x Scalar-List-Utils-1.19/inc/Module/Install/Metadata.pm, 7998 bytes, 16 tape blocks
x Scalar-List-Utils-1.19/inc/Module/Install/Win32.pm, 1806 bytes, 4 tape blocks
x Scalar-List-Utils-1.19/inc/Module/Install/Fetch.pm, 2456 bytes, 5 tape blocks
x Scalar-List-Utils-1.19/inc/Module/Install/Base.pm, 1053 bytes, 3 tape blocks
x Scalar-List-Utils-1.19/inc/Module/Install/Can.pm, 1788 bytes, 4 tape blocks
x Scalar-List-Utils-1.19/Changes, 9573 bytes, 19 tape blocks
x Scalar-List-Utils-1.19/lib, 0 bytes, 0 tape blocks
x Scalar-List-Utils-1.19/lib/List, 0 bytes, 0 tape blocks
x Scalar-List-Utils-1.19/lib/List/Util.pm, 7088 bytes, 14 tape blocks
x Scalar-List-Utils-1.19/lib/Scalar, 0 bytes, 0 tape blocks
x Scalar-List-Utils-1.19/lib/Scalar/Util.pm, 9079 bytes, 18 tape blocks
x Scalar-List-Utils-1.19/MANIFEST, 851 bytes, 2 tape blocks
x Scalar-List-Utils-1.19/META.yml, 302 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/Util.xs, 10579 bytes, 21 tape blocks
x Scalar-List-Utils-1.19/mytypemap, 250 bytes, 1 tape blocks
x Scalar-List-Utils-1.19/multicall.h, 4598 bytes, 9 tape blocks
x Scalar-List-Utils-1.19/Makefile.PL, 1021 bytes, 2 tape blocks
x Scalar-List-Utils-1.19/README, 795 bytes, 2 tape blocks
x Scalar-List-Utils-1.19/SIGNATURE, 4186 bytes, 9 tape blocks
Removing previously used /root/.cpan/build/Scalar-List-Utils-1.19
CPAN.pm: Going to build G/GB/GBARR/Scalar-List-Utils-1.19.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for List::Util
cp lib/List/Util.pm blib/lib/List/Util.pm
cp lib/Scalar/Util.pm blib/lib/Scalar/Util.pm
/usr/perl5/5.8.4/bin/perl "-Iinc" /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap Util.xs > Util.xsc && mv Util.xsc Util.c
cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.19\" -DXS_VERSION=\"1.19\" -KPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE" -DPERL_EXT Util.c
Running Mkbootstrap for List::Util ()
chmod 644 Util.bs
rm -f blib/arch/auto/List/Util/Util.so
LD_RUN_PATH="" cc -G Util.o -o blib/arch/auto/List/Util/Util.so
chmod 755 blib/arch/auto/List/Util/Util.so
cp Util.bs blib/arch/auto/List/Util/Util.bs
chmod 644 blib/arch/auto/List/Util/Util.bs
Manifying blib/man3/List::Util.3
Manifying blib/man3/Scalar::Util.3
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/perl5/5.8.4/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00version.....ok
t/blessed.......ok
t/dualvar.......ok
t/first.........ok
2/17 skipped: Poor man's MULTICALL can't cope
t/isvstring.....ok
t/lln...........ok
t/max...........ok
t/maxstr........ok
t/min...........ok
t/minstr........ok
t/openhan.......ok
t/p_blessed.....ok
t/p_first.......ok
t/p_lln.........ok
t/p_max.........ok
t/p_maxstr......ok
t/p_min.........ok
t/p_minstr......ok
t/p_openhan.....ok
t/p_readonly....ok
t/p_reduce......ok
t/p_refaddr.....ok
t/p_reftype.....ok
t/p_shuffle.....ok
t/p_sum.........ok
t/p_tainted.....ok
t/proto.........ok
t/readonly......ok
t/reduce........ok
2/23 skipped: Poor man's MULTICALL can't cope
t/refaddr.......ok
t/reftype.......ok
t/shuffle.......ok
t/sum...........ok
t/tainted.......ok
t/weak..........ok
All tests successful, 4 subtests skipped.
Files=35, Tests=380, 1 wallclock secs ( 1.02 cusr + 0.02 csys = 1.04 CPU)
/usr/bin/make test -- OK
Running make install
Installing /usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/List/Util/Util.so
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Writing /usr/perl5/5.8.4/lib/i86pc-solaris-64int/auto/List/Util/.packlist
Appending installation info to /usr/perl5/5.8.4/lib/i86pc-solaris-64int/perllocal.pod
/usr/bin/make install -- OK
cpan> Lockfile removed.
[root] deckard:/root #
[slim] deckard:/usr/local/squeezecenter-7.3.1-24296 $ ./slimserver.pl
[08-12-16 19:00:28.2242] Slim::Utils::PluginManager::enablePlugins (423) Couldn't load Plugins::Alien::Plugin. Error: Plugin is incompatible with this version of SqueezeCenter. Please update.
[08-12-16 19:00:28.3508] Slim::Utils::PluginManager::enablePlugins (423) Couldn't load Plugins::WeatherTime::Plugin. Error: Plugin is incompatible with this version of SqueezeCenter. Please update.
^C[slim] deckard:/usr/local/squeezecenter-7.3.1-24296 $
[root] deckard:/root # svcadm enable slimserver
[root] deckard:/root # svcadm disable slimserver
[root] deckard:/root # svcadm enable slimserver
[root] deckard:/root # ps -fu slim
UID PID PPID C STIME TTY TIME CMD
slim 5772 1 3 19:00:41 ? 0:01 /usr/bin/perl -w /usr/local/slimserver/slimserver.pl --logfile=/usr/local/slims
[root] deckard:/root # ps -fu slim
UID PID PPID C STIME TTY TIME CMD
slim 5772 1 7 19:00:41 ? 0:03 /usr/bin/perl -w /usr/local/slimserver/slimserver.pl --logfile=/usr/local/slims
[root] deckard:/root #
Tuesday, December 16, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment