Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326963 - media-sound/squeezeboxserver 7.5.1 installation issues
Summary: media-sound/squeezeboxserver 7.5.1 installation issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Joe Peterson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-05 09:32 UTC by Marcus Limosani
Modified: 2010-07-08 21:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Limosani 2010-07-05 09:32:11 UTC
I have recently tried to upgrade from 7.4.x (not sure what version) from a fresh Gentoo install to 7.5.1.

I have had the following issues occur during its installation.

1) Perl modules not recognised.  Many required install through CPAN to allow operation.  JSON-XS, GD and a few others

2) Configuration files non-existant.
   After following the advice of some posts to cleat configuration folders, I did, and was continually getting an error indicating the server.prefs file didn't exist.  This is true and was not re-created

3) After installing squeezebox server on a Virt PC running Debian and copying the contents of it to my gentoo box, It now 'starts' before failing with the following log error.

[10-07-05 19:32:56.2176] Slim::Utils::MySQLHelper::createConfig (175) Warning: Couldn't open /my.tt for reading: No such file or directory

As I understand it, this file is a my.cnf template file.  I have a 'copy' of it, but have so far been unable to identify where I should put it.

Reproducible: Didn't try
Comment 1 Marcus Limosani 2010-07-05 09:33:14 UTC
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Xeon-R-_CPU_X3220_@_2.40GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 04 Jul 2010 00:30:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo ftp://ftp.swin.edu.au/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gd gdbm gpm iconv ipv6 kerberos ldap mmx modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php pppd python readline reflection samba session spl sse sse2 ssl sysfs tcpd unicode x86 x86_64 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias mod_php proxy proxy_http" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2010-07-05 20:42:54 UTC
Don't add arch alias yourself, this has nothing to do with such installation issues.  Thanks.
Comment 3 Joe Peterson (RETIRED) gentoo-dev 2010-07-06 02:52:11 UTC
Please give more details about what errors you are seeing on emerging this.  You should not need to manually CPAN perl modules - all should be installed via portage - please let us know exactly what is happening when you try to install/upgrade this (attach build logs, etc.).
Comment 4 Stuart Hickinbottom 2010-07-06 07:33:35 UTC
Also, just in case you didn't, can you make sure you run etc-update to get the /etc/init.d and /etc/conf.d files up to date, and run "emerge --config =media-sound/squeezeboxserver-7.5.1" to make sure the database is correctly set up (you'll need to rescan your music library afterwards). Things moved around a bit between the 7.4 and 7.5 ebuilds and so this might point to why it's not finding Perl modules.

Upgrading is probably the least tested part of the ebuild (my fault). If you don't mind rescanning your music library, resetting preferences and adding back plugins, you could try:

1. emerge --unmerge squeezeboxserver
2. remove the contents of /etc/squeezeboxserver and child directories
3. remove /etc/init.d/squeezeboxserver
4. remove /etc/conf.d/squeezeboxserver
5. remove /var/lib/squeezeboxserver and child directories
6. emerge squeezeboxserver
7. emerge --config =media-sound/squeezeboxserver-7.5.1

That should get a clean install that should be unaffected by the previous version, so I would hope it will work following this.
Comment 5 Marcus Limosani 2010-07-06 14:37:35 UTC
(In reply to comment #4)
> Also, just in case you didn't, can you make sure you run etc-update to get the
> /etc/init.d and /etc/conf.d files up to date, and run "emerge --config
> =media-sound/squeezeboxserver-7.5.1" to make sure the database is correctly set
> up (you'll need to rescan your music library afterwards). Things moved around a
> bit between the 7.4 and 7.5 ebuilds and so this might point to why it's not
> finding Perl modules.
> 
> Upgrading is probably the least tested part of the ebuild (my fault). If you
> don't mind rescanning your music library, resetting preferences and adding back
> plugins, you could try:
> 
> 1. emerge --unmerge squeezeboxserver
> 2. remove the contents of /etc/squeezeboxserver and child directories
> 3. remove /etc/init.d/squeezeboxserver
> 4. remove /etc/conf.d/squeezeboxserver
> 5. remove /var/lib/squeezeboxserver and child directories
> 6. emerge squeezeboxserver
> 7. emerge --config =media-sound/squeezeboxserver-7.5.1
> 
> That should get a clean install that should be unaffected by the previous
> version, so I would hope it will work following this.
> 

Is there anyway to clear the perl modules, either the ones that were emerged or redone with CPAN?
Comment 6 Marcus Limosani 2010-07-06 14:53:22 UTC
> 1. emerge --unmerge squeezeboxserver
> 2. remove the contents of /etc/squeezeboxserver and child directories
> 3. remove /etc/init.d/squeezeboxserver
> 4. remove /etc/conf.d/squeezeboxserver
> 5. remove /var/lib/squeezeboxserver and child directories
> 6. emerge squeezeboxserver
> 7. emerge --config =media-sound/squeezeboxserver-7.5.1

After completing these processes, I get the following when i try and start squeezeboxserver

Your locale was detected as C, you may have problems with non-Latin filenames.  Consider changing your LANG variable to the correct locale, i.e. en_US.utf8
dirsFor: Didn't find a match request: [scprefs]
Use of uninitialized value $olddir in -d at /usr/lib/perl5/vendor_perl/5.10.1/Slim/Utils/OS/Unix.pm line 12  [ ok ]

The dirsFor and subsequent error occur as it can't find a server.prefs file.
If I copy a server.prefs file in to the /etc/squeezeboxserver folder, I then get the 'I cant find the my.ttf file'
Comment 7 Stuart Hickinbottom 2010-07-06 15:21:54 UTC
(In reply to comment #6)
> > 1. emerge --unmerge squeezeboxserver
> > 2. remove the contents of /etc/squeezeboxserver and child directories
> > 3. remove /etc/init.d/squeezeboxserver
> > 4. remove /etc/conf.d/squeezeboxserver
> > 5. remove /var/lib/squeezeboxserver and child directories
> > 6. emerge squeezeboxserver
> > 7. emerge --config =media-sound/squeezeboxserver-7.5.1
> 
> After completing these processes, I get the following when i try and start
> squeezeboxserver
> 
> Your locale was detected as C, you may have problems with non-Latin filenames. 
> Consider changing your LANG variable to the correct locale, i.e. en_US.utf8
> dirsFor: Didn't find a match request: [scprefs]
> Use of uninitialized value $olddir in -d at
> /usr/lib/perl5/vendor_perl/5.10.1/Slim/Utils/OS/Unix.pm line 12  [ ok ]
> 
> The dirsFor and subsequent error occur as it can't find a server.prefs file.
> If I copy a server.prefs file in to the /etc/squeezeboxserver folder, I then
> get the 'I cant find the my.ttf file'
> 

I normally see errors like the above when starting for the first time. Are you sure it's not running without you copying in the server.prefs file in? Have you checked to see if the web interface is available?
Comment 8 Marcus Limosani 2010-07-06 15:33:41 UTC
> I normally see errors like the above when starting for the first time. Are you
> sure it's not running without you copying in the server.prefs file in? Have you
> checked to see if the web interface is available?

No running processes, and no connectivity to the system on ip:9000 

Comment 9 Stuart Hickinbottom 2010-07-06 15:41:28 UTC
Thanks for checking. Could you:

1. edit the /etc/conf.d/squeezeboxserver file and enable the "--d_startup" option at the end (basically just swap which lines are commented)
2. remove the current contents of /var/log/squeezeboxserver/server.log
3. restart the server and capture the output of that (eg "/etc/init.d/squeezeboxserver restart 2>&1 | tee /tmp/start.log"), and wait for it to fail
4. attach the contents of /var/log/squeezeboxserver/server.log
5. attach the contents of /tmp/start.log

Hopefully that will give us a clue. Unfortunately the 'error messages' you see on first startup are misleading as it'll be working even with those showing.
Comment 10 Marcus Limosani 2010-07-06 15:45:43 UTC
It comes up [ok] at the end, but there is no running process or access.

 * Starting Squeezebox Server ...
Got @INC containing:
/usr/share/squeezeboxserver/CPAN
/usr/sbin
/usr/lib/perl5/site_perl/5.10.1/i686-linux
/usr/lib/perl5/site_perl/5.10.1
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.10.1/i686-linux
/usr/lib/perl5/vendor_perl/5.10.1
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.10.1/i686-linux
/usr/lib/perl5/5.10.1
.
/var/lib/squeezeboxserver

Extended @INC to contain:
/usr/lib/squeezeboxserver/CPAN/arch/5.10/i386-linux
/usr/lib/squeezeboxserver/CPAN/arch/5.10/i386-linux/auto
/usr/lib/squeezeboxserver/CPAN/arch/5.10.1/i686-linux
/usr/lib/squeezeboxserver/CPAN/arch/5.10.1/i686-linux/auto
/usr/lib/squeezeboxserver/CPAN/arch/5.10/i686-linux
/usr/lib/squeezeboxserver/CPAN/arch/5.10/i686-linux/auto
/usr/lib/squeezeboxserver/CPAN/arch/i686-linux
/usr/lib/squeezeboxserver/lib
/usr/lib/squeezeboxserver/CPAN
/usr/lib/squeezeboxserver
/usr/share/squeezeboxserver/CPAN
/usr/sbin
/usr/lib/perl5/site_perl/5.10.1/i686-linux
/usr/lib/perl5/site_perl/5.10.1
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.10.1/i686-linux
/usr/lib/perl5/vendor_perl/5.10.1
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.10.1/i686-linux
/usr/lib/perl5/5.10.1
.
/var/lib/squeezeboxserver

Loaded module: [version] ok!
Loaded module: [Time::HiRes] ok!
Loaded module: [DBI] ok!
Loaded module: [DBD::mysql] ok!
Loaded module: [EV] ok!
Loaded module: [XML::Parser::Expat] ok!
Loaded module: [HTML::Parser] ok!
Loaded module: [JSON::XS] ok!
Loaded module: [Digest::SHA1] ok!
Loaded module: [YAML::Syck] ok!
Loaded module: [GD] ok!
Loaded module: [Sub::Name] ok!
Loaded module: [Locale::Hebrew] ok!
The following modules are loaded after the first attempt:
        YAML/Syck.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/YAML/Syck.pm
        attributes.pm => /usr/lib/perl5/5.10.1/attributes.pm
        DBI/Const/GetInfo/ODBC.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/DBI/Const/GetInfo/ODBC.pm
        List/Util.pm => /usr/lib/perl5/5.10.1/i686-linux/List/Util.pm
        POSIX.pm => /usr/lib/perl5/5.10.1/i686-linux/POSIX.pm
        GD/Polygon.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/GD/Polygon.pm
        Tie/Hash.pm => /usr/lib/perl5/5.10.1/Tie/Hash.pm
        Cwd.pm => /usr/lib/perl5/5.10.1/i686-linux/Cwd.pm
        Slim/Utils/OSDetect.pm => /usr/lib/perl5/vendor_perl/5.10.1/Slim/Utils/OSDetect.pm
        Digest/base.pm => /usr/lib/perl5/5.10.1/Digest/base.pm
        Slim/Utils/OS/Linux.pm => /usr/lib/perl5/vendor_perl/5.10.1/Slim/Utils/OS/Linux.pm
        Fcntl.pm => /usr/lib/perl5/5.10.1/i686-linux/Fcntl.pm
        Symbol.pm => /usr/lib/perl5/5.10.1/Symbol.pm
        /usr/lib/perl5/5.10.1/i686-linux/auto/POSIX/autosplit.ix => /usr/lib/perl5/5.10.1/i686-linux/auto/POSIX/autosplit.ix
        Scalar/Util.pm => /usr/lib/perl5/5.10.1/i686-linux/Scalar/Util.pm
        Exporter.pm => /usr/lib/perl5/5.10.1/Exporter.pm
        Slim/Utils/OS.pm => /usr/lib/perl5/vendor_perl/5.10.1/Slim/Utils/OS.pm
        File/Spec.pm => /usr/lib/perl5/5.10.1/File/Spec.pm
        warnings/register.pm => /usr/lib/perl5/5.10.1/warnings/register.pm
        XSLoader.pm => /usr/lib/perl5/5.10.1/i686-linux/XSLoader.pm
        Slim/bootstrap.pm => /usr/lib/perl5/vendor_perl/5.10.1/Slim/bootstrap.pm
        XML/Parser/Expat.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/XML/Parser/Expat.pm
        DBI.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/DBI.pm
        Config_git.pl => /usr/lib/perl5/5.10.1/i686-linux/Config_git.pl
        GD/Image.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/GD/Image.pm
        EV.pm => /usr/lib/squeezeboxserver/CPAN/EV.pm
        common/sense.pm => /usr/lib/perl5/site_perl/5.10.1/common/sense.pm
        Exporter/Heavy.pm => /usr/lib/perl5/5.10.1/Exporter/Heavy.pm
        File/Spec/Unix.pm => /usr/lib/perl5/5.10.1/File/Spec/Unix.pm
        vars.pm => /usr/lib/perl5/5.10.1/vars.pm
        strict.pm => /usr/lib/perl5/5.10.1/strict.pm
        Config_heavy.pl => /usr/lib/perl5/5.10.1/i686-linux/Config_heavy.pl
        AutoLoader.pm => /usr/lib/perl5/5.10.1/AutoLoader.pm
        HTML/Entities.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/HTML/Entities.pm
        lib.pm => /usr/lib/perl5/5.10.1/i686-linux/lib.pm
        GD.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/GD.pm
        re.pm => /usr/lib/perl5/5.10.1/i686-linux/re.pm
        IO/Handle.pm => /usr/lib/perl5/5.10.1/i686-linux/IO/Handle.pm
        HTML/Parser.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/HTML/Parser.pm
        File/Spec/Functions.pm => /usr/lib/perl5/5.10.1/File/Spec/Functions.pm
        Getopt/Long.pm => /usr/lib/perl5/5.10.1/Getopt/Long.pm
        SelectSaver.pm => /usr/lib/perl5/5.10.1/SelectSaver.pm
        Locale/Hebrew.pm => /usr/lib/perl5/site_perl/5.10.1/i686-linux/Locale/Hebrew.pm
        DBD/mysql.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/DBD/mysql.pm
        warnings.pm => /usr/lib/perl5/5.10.1/warnings.pm
        /usr/lib/perl5/site_perl/5.10.1/i686-linux/auto/Locale/Hebrew/autosplit.ix => /usr/lib/perl5/site_perl/5.10.1/i686-linux/auto/Locale/Hebrew/autosplit.ix
        Sub/Name.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/Sub/Name.pm
        JSON/XS.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/JSON/XS.pm
        File/Path.pm => /usr/lib/perl5/5.10.1/File/Path.pm
        FindBin.pm => /usr/lib/perl5/5.10.1/FindBin.pm
        Digest/SHA1.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/Digest/SHA1.pm
        Time/HiRes.pm => /usr/lib/perl5/5.10.1/i686-linux/Time/HiRes.pm
        Slim/Utils/OS/Custom.pm => /usr/lib/perl5/vendor_perl/5.10.1/Slim/Utils/OS/Custom.pm
        IO/Seekable.pm => /usr/lib/perl5/5.10.1/i686-linux/IO/Seekable.pm
        version.pm => /usr/lib/perl5/5.10.1/version.pm
        base.pm => /usr/lib/perl5/5.10.1/base.pm
        File/Basename.pm => /usr/lib/perl5/5.10.1/File/Basename.pm
        Config.pm => /usr/lib/perl5/5.10.1/i686-linux/Config.pm
        DBI/Const/GetInfoType.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/DBI/Const/GetInfoType.pm
        IO.pm => /usr/lib/perl5/5.10.1/i686-linux/IO.pm
        Carp.pm => /usr/lib/perl5/5.10.1/Carp.pm
        FileHandle.pm => /usr/lib/perl5/5.10.1/FileHandle.pm
        constant.pm => /usr/lib/perl5/5.10.1/constant.pm
        /usr/lib/perl5/5.10.1/i686-linux/auto/POSIX/load_imports.al => /usr/lib/perl5/5.10.1/i686-linux/auto/POSIX/load_imports.al
        overload.pm => /usr/lib/perl5/5.10.1/overload.pm
        IO/File.pm => /usr/lib/perl5/5.10.1/i686-linux/IO/File.pm
        Slim/Utils/OS/Unix.pm => /usr/lib/perl5/vendor_perl/5.10.1/Slim/Utils/OS/Unix.pm
        DBI/Const/GetInfo/ANSI.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/DBI/Const/GetInfo/ANSI.pm
        DynaLoader.pm => /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm

The following modules are loaded after the second attempt:
        YAML/Syck.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/YAML/Syck.pm
        attributes.pm => /usr/lib/perl5/5.10.1/attributes.pm
        DBI/Const/GetInfo/ODBC.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/DBI/Const/GetInfo/ODBC.pm
        List/Util.pm => /usr/lib/perl5/5.10.1/i686-linux/List/Util.pm
        POSIX.pm => /usr/lib/perl5/5.10.1/i686-linux/POSIX.pm
        GD/Polygon.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/GD/Polygon.pm
        Tie/Hash.pm => /usr/lib/perl5/5.10.1/Tie/Hash.pm
        Cwd.pm => /usr/lib/perl5/5.10.1/i686-linux/Cwd.pm
        Slim/Utils/OSDetect.pm => /usr/lib/perl5/vendor_perl/5.10.1/Slim/Utils/OSDetect.pm
        Digest/base.pm => /usr/lib/perl5/5.10.1/Digest/base.pm
        Slim/Utils/OS/Linux.pm => /usr/lib/perl5/vendor_perl/5.10.1/Slim/Utils/OS/Linux.pm
        Fcntl.pm => /usr/lib/perl5/5.10.1/i686-linux/Fcntl.pm
        Symbol.pm => /usr/lib/perl5/5.10.1/Symbol.pm
        /usr/lib/perl5/5.10.1/i686-linux/auto/POSIX/autosplit.ix => /usr/lib/perl5/5.10.1/i686-linux/auto/POSIX/autosplit.ix
        Scalar/Util.pm => /usr/lib/perl5/5.10.1/i686-linux/Scalar/Util.pm
        Exporter.pm => /usr/lib/perl5/5.10.1/Exporter.pm
        Slim/Utils/OS.pm => /usr/lib/perl5/vendor_perl/5.10.1/Slim/Utils/OS.pm
        File/Spec.pm => /usr/lib/perl5/5.10.1/File/Spec.pm
        warnings/register.pm => /usr/lib/perl5/5.10.1/warnings/register.pm
        XSLoader.pm => /usr/lib/perl5/5.10.1/i686-linux/XSLoader.pm
        Slim/bootstrap.pm => /usr/lib/perl5/vendor_perl/5.10.1/Slim/bootstrap.pm
        XML/Parser/Expat.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/XML/Parser/Expat.pm
        DBI.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/DBI.pm
        Config_git.pl => /usr/lib/perl5/5.10.1/i686-linux/Config_git.pl
        GD/Image.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/GD/Image.pm
        EV.pm => /usr/lib/squeezeboxserver/CPAN/EV.pm
        common/sense.pm => /usr/lib/perl5/site_perl/5.10.1/common/sense.pm
        Exporter/Heavy.pm => /usr/lib/perl5/5.10.1/Exporter/Heavy.pm
        File/Your locale was detected as C, you may have problems with non-Latin filenames.  Consider changing your LANG variable to the correct locale, i.e. en_US.utf8
dirsFor: Didn't find a match request: [scprefs]
Use of uninitialized value $olddir in -d at /usr/lib/perl5/vendor_perl/5.10.1/Slim/Utils/OS/Unix.pm line 122.
Spec/Unix.pm => /usr/lib/perl5/5.10.1/File/Spec/Unix.pm
        vars.pm => /usr/lib/perl5/5.10.1/vars.pm
        strict.pm => /usr/lib/perl5/5.10.1/strict.pm
        Config_heavy.pl => /usr/lib/perl5/5.10.1/i686-linux/Config_heavy.pl
        AutoLoader.pm => /usr/lib/perl5/5.10.1/AutoLoader.pm
        HTML/Entities.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/HTML/Entities.pm
        lib.pm => /usr/lib/perl5/5.10.1/i686-linux/lib.pm
        GD.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/GD.pm
        re.pm => /usr/lib/perl5/5.10.1/i686-linux/re.pm
        IO/Handle.pm => /usr/lib/perl5/5.10.1/i686-linux/IO/Handle.pm
        HTML/Parser.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/HTML/Parser.pm
        File/Spec/Functions.pm => /usr/lib/perl5/5.10.1/File/Spec/Functions.pm
        Getopt/Long.pm => /usr/lib/perl5/5.10.1/Getopt/Long.pm
        SelectSaver.pm => /usr/lib/perl5/5.10.1/SelectSaver.pm
        Locale/Hebrew.pm => /usr/lib/perl5/site_perl/5.10.1/i686-linux/Locale/Hebrew.pm
        DBD/mysql.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/DBD/mysql.pm
        warnings.pm => /usr/lib/perl5/5.10.1/warnings.pm
        /usr/lib/perl5/site_perl/5.10.1/i686-linux/auto/Locale/Hebrew/autosplit.ix => /usr/lib/perl5/site_perl/5.10.1/i686-linux/auto/Locale/Hebrew/autosplit.ix
        Sub/Name.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/Sub/Name.pm
        JSON/XS.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/JSON/XS.pm
        File/Path.pm => /usr/lib/perl5/5.10.1/File/Path.pm
        FindBin.pm => /usr/lib/perl5/5.10.1/FindBin.pm
        Digest/SHA1.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/Digest/SHA1.pm
        Time/HiRes.pm => /usr/lib/perl5/5.10.1/i686-linux/Time/HiRes.pm
        Slim/Utils/OS/Custom.pm => /usr/lib/perl5/vendor_perl/5.10.1/Slim/Utils/OS/Custom.pm
        IO/Seekable.pm => /usr/lib/perl5/5.10.1/i686-linux/IO/Seekable.pm
        version.pm => /usr/lib/perl5/5.10.1/version.pm
        base.pm => /usr/lib/perl5/5.10.1/base.pm
        File/Basename.pm => /usr/lib/perl5/5.10.1/File/Basename.pm
        Config.pm => /usr/lib/perl5/5.10.1/i686-linux/Config.pm
        DBI/Const/GetInfoType.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/DBI/Const/GetInfoType.pm
        IO.pm => /usr/lib/perl5/5.10.1/i686-linux/IO.pm
        Carp.pm => /usr/lib/perl5/5.10.1/Carp.pm
        FileHandle.pm => /usr/lib/perl5/5.10.1/FileHandle.pm
        constant.pm => /usr/lib/perl5/5.10.1/constant.pm
        /usr/lib/perl5/5.10.1/i686-linux/auto/POSIX/load_imports.al => /usr/lib/perl5/5.10.1/i686-linux/auto/POSIX/load_imports.al
        overload.pm => /usr/lib/perl5/5.10.1/overload.pm
        IO/File.pm => /usr/lib/perl5/5.10.1/i686-linux/IO/File.pm
        Slim/Utils/OS/Unix.pm => /usr/lib/perl5/vendor_perl/5.10.1/Slim/Utils/OS/Unix.pm
        DBI/Const/GetInfo/ANSI.pm => /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/DBI/Const/GetInfo/ANSI.pm
        DynaLoader.pm => /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm
                                                                                                             [ ok ]
Comment 11 Stuart Hickinbottom 2010-07-06 16:30:53 UTC
Did you manage to capture the log /var/log/squeezeboxserver/server.log? I would think there would be contents there if the server started and then quickly fell over.

It would be best to attach that to the bug rather than copying it into the comment since it might be quite large...


(In reply to comment #10)
> It comes up [ok] at the end, but there is no running process or access.
Comment 12 Marcus Limosani 2010-07-06 21:22:35 UTC
(In reply to comment #11)
> Did you manage to capture the log /var/log/squeezeboxserver/server.log? I would
> think there would be contents there if the server started and then quickly fell
> over.
> 
> It would be best to attach that to the bug rather than copying it into the
> comment since it might be quite large...

[10-07-07 01:57:13.3136] main::init (323) Starting Squeezebox Server (v7.5.1, r30836, Tue Jun  1 07:00:00 MDT 2010) perl 5.010001
[10-07-07 01:57:14.0235] Slim::Web::HTTP::init (119) Warning: Can't locate Template.pm in @INC (@INC contains: /var/lib/squeezeboxserver/cache/InstalledPlugins /usr/lib/squeezeboxserver/CPAN/arch/5.10/i386-linux /usr/lib/squeezeboxserver/CPAN/arch/5.10/i386-linux/auto /usr/lib/squeezeboxserver/CPAN/arch/5.10.1/i686-linux /usr/lib/squeezeboxserver/CPAN/arch/5.10.1/i686-linux/auto /usr/lib/squeezeboxserver/CPAN/arch/5.10/i686-linux /usr/lib/squeezeboxserver/CPAN/arch/5.10/i686-linux/auto /usr/lib/squeezeboxserver/CPAN/arch/i686-linux /usr/lib/squeezeboxserver/lib /usr/lib/squeezeboxserver/CPAN /usr/lib/squeezeboxserver /usr/share/squeezeboxserver/CPAN /usr/sbin /usr/lib/perl5/site_perl/5.10.1/i686-linux /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.1/i686-linux /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.10.1/i686-linux /usr/lib/perl5/5.10.1 . /var/lib/squeezeboxserver) at /usr/lib/perl5/vendor_perl/5.10.1/Slim/Web/Template/SkinManager.pm line 14.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.1/Slim/Web/Template/SkinManager.pm line 14.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.10.1/Slim/Web/HTTP.pm line 119.

Line 119 of that file says 

   require Slim::Web::Template::SkinManager;

Comment 13 Stuart Hickinbottom 2010-07-07 07:16:29 UTC
(In reply to comment #12)
> [10-07-07 01:57:14.0235] Slim::Web::HTTP::init (119) Warning: Can't locate
> Template.pm in @INC (@INC contains:
> ...snip

That looks like dev-perl/Template-Toolkit isn't installed. You should find 'Template.pm' in the following directory, I think:
/usr/lib/perl5/vendor_perl/5.10.1/i686-linux

This directory is being searched by SBS (because it's in the dump of the @INC array), so it looks like it's not there.

Can you try manually emerging that ("emerge dev-perl/Template-Toolkit"), and starting the server again?

That package should be brought in as a dependency of the ebuild, but it's possible that it has files missing if you've been trying to remove manually installed CPAN packages.
Comment 14 Marcus Limosani 2010-07-08 13:29:47 UTC
So on a whim, I copied the names of all the perl module dependencies in the ebuild and emerged them again.

87 Modules later, squeezeboxserver is up and running.

The only issue I have now is the directory scanner bombing out.
I see it pop up regularly in google searches, but am yet to find a solution.
Comment 15 Stuart Hickinbottom 2010-07-08 14:06:22 UTC
Glad that helped.

If you think the scanning issue is a problem with Squeezebox server rather than our packaging then that can be considered upstream (a bug at http://bugs.slimdevices.com/), but if you think it might be a problem with the package then turn on some logging settings for the scanner and seeing if you can get some failure information logged (/var/log/squeezeboxserver/scanner.log).

If you think this installation problem is fixed, though, then please mark this as resolved. Thanks.
Comment 16 Marcus Limosani 2010-07-08 21:02:53 UTC
Hmm, I thought I had marked it as fixed when I submitted my last comment..