Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.4.2-asneeded, glibc-2.11-r1, 2.6.32.2 i686) ================================================================= System uname: Linux-2.6.32.2-i686-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-gentoo-2.0.1 Timestamp of tree: Wed, 06 Jan 2010 17:30:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.0_p35 dev-java/java-config: 1.3.7-r1, 2.1.10 dev-lang/python: 2.6.4, 3.1.1-r1 dev-python/pycrypto: 2.1.0 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20 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="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /opt/openjms/config /usr/lib/ccs/conf /usr/lib/fax /usr/lib/tomoyo/conf /usr/share/X11/xkb /usr/share/bufrtables /usr/share/config /usr/share/qpsmtpd/plugins /var/bind /var/lib/hsqldb /var/phxd /var/qmail/alias /var/qmail/control /var/spool/fax/etc /var/spool/torque /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/var/cache/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms split-log strict test test-fail-continue unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo" INSTALL_MASK=" /usr/share/doc /usr/share/info" LANG="en_US.utf8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j14" PKGDIR="/var/spool/portage/packages" PORTAGE_COMPRESS="" 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="/var/cache/portage/tree-tinderbox" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 java5 java6 modules mudflap ncurses nls nostatic nptl nptlonly openmp pam pcre perl pppd python qt3support readline reflection ruby session spl ssl sysfs tcpd unicode x86 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 auth_digest" ELIBC="glibc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, LC_ALL, LINGUAS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 215557 [details] Build log
Same problem here on my machine after emerge perl5.10.1
I've modified ebuild a little: # Install compiled Perl modules because of bug#287264 and bug#287857. # dodir "/usr/lib/squeezeboxserver/CPAN/arch" # cp -r CPAN-arch/* "${D}/usr/lib/squeezeboxserver/CPAN/arch" || die "Unable to install compiled CPAN modules" # cp -r CPAN-pm/* "${D}/usr/share/squeezeboxserver/CPAN" || die "Unable to install compiled CPAN modules" This means I've omitted step with installing manually Audio-Scan and EV CPAN modules - instead of this I've emerge dev-perl/Audio-Scan and dev-perl/EV Squeezeboxserver compiled without errors and works fine now :-)
Stuart: Are you going to replace those Perl modules by their portage versions? (I mean at least dev-perl/Audio-Scan because this ebuild is in poratage while EV not)
*** Bug 306355 has been marked as a duplicate of this bug. ***
(In reply to comment #3) I am still unable to build squeezeboxserver - not sure what your fix entails, am I to merge dev-perl/Audio-Scan? And dev-perl/EV does not exist. Please enlighten - I'm stuck!!
(In reply to comment #4) > Stuart: Are you going to replace those Perl modules by their portage versions? > (I mean at least dev-perl/Audio-Scan because this ebuild is in poratage while > EV not) > Yes, that's the plan. I believe Squeezebox Server 7.4.2 is just around the corner and I'll be trying to get a cleaner ebuild out to support that. That should include using Audio-Scan, but also a few others if I can get SBS to work with them.
(In reply to comment #6) > (In reply to comment #3) > I am still unable to build squeezeboxserver - not sure what your fix entails, > am I to merge dev-perl/Audio-Scan? And dev-perl/EV does not exist. > Please enlighten - I'm stuck!! > There's a patch for the ebuild in bug#287257 that I believe works OK. If you're not comfortable applying that (and rebuild the associated manifest file), it would probably be best to wait until I can get 7.4.2 out (and use an older version of the ebuild) - that should be soon as I think Logitech are prepping 7.4.2 for release in the not too distant future.
Stuart, I get the same thing as Diego gets when trying to install SBS (attachment in Comment 1). This happened after the perl upgrade. Now, once again I am stuck because SBS cannot restart due to some perl problem, and I cannot rebuild it using the new perl. Are you saying the patch in Comment 8 fixes this problem? I really don't want to wait untill the next SBS rev.
(In reply to comment #9) > Stuart, > > I get the same thing as Diego gets when trying to install SBS (attachment in > Comment 1). This happened after the perl upgrade. Now, once again I am stuck > because SBS cannot restart due to some perl problem, and I cannot rebuild it > using the new perl. Are you saying the patch in Comment 8 fixes this problem? > I really don't want to wait untill the next SBS rev. > Yes, I believe that patch will fix your problem if you're on Perl 5.10.1, if you're able to apply it. SqueezeboxServer 7.4.2 is now out so I hope to get a build out for that soon - it would be sooner if 14 hour work days didn't get in the way!
(In reply to comment #10) > > Yes, I believe that patch will fix your problem if you're on Perl 5.10.1, if > you're able to apply it. > > SqueezeboxServer 7.4.2 is now out so I hope to get a build out for that soon - > it would be sooner if 14 hour work days didn't get in the way! > Any news from that dept.? I'd like to install squeezeboxserver on a friend's HTPC, and the current ebuild still bails due to the bug we're discussing.
(In reply to comment #11) > Any news from that dept.? I'd like to install squeezeboxserver on a friend's > HTPC, and the current ebuild still bails due to the bug we're discussing. > I'm just putting together the finishing touches - the ebuild seems to work for me now. I should get that submitted for inclusion in the next day or two, then it'll get reviewed and (hopefully) included. If you're able to work with local ebuilds then you could try grabbing it from my development git repository (you'd want the stuff in the 'stage' directory): http://github.com/hickinbottoms/squeezecenter-ebuild-for-gentoo/tree/develop-7.4
(In reply to comment #12) > http://github.com/hickinbottoms/squeezecenter-ebuild-for-gentoo/tree/develop-7.4 | CPANKEEP=" | Tie/LLHash.pm | Tie/RegexpHash.pm These two packages are available in the tree. dev-perl/EV is still not in the tree because of the bundled libev (#287857).
(In reply to comment #13) > | CPANKEEP=" > | Tie/LLHash.pm > | Tie/RegexpHash.pm > > These two packages are available in the tree. Hmmm - I've eradicated that from a version I pushed to Github a couple of days ago but it doesn't seem to have showed up. Thanks for the tip-off I'll look into it. It's in this specific tree, which should be the HEAD so I don't know what's gone on there... http://github.com/hickinbottoms/squeezecenter-ebuild-for-gentoo/tree/4e75f4cc6b5f60c15bb2ce9397becf4a200b9bf0 Just to confirm, though, the ebuild definitely no longer bundles those two (but does still include EV for the bug you quote).
I've just submitted the ebuild of squeezeboxserver-7.4.2 to Joe for checking and, hopefully, inclusion in Portage soon. That includes the attached patch and I believe it should address this bug. If someone could test that when it hits Portage it would be handy - we could then use that as evidence for closing the bug. I'll mark this as resolved when the ebuild is in Portage.
I fetched the files from git and I should have done something wrong : /etc/init.d/squeezeboxserver start * Caching service dependencies ... [ ok ] * Starting Squeezebox Server ... dirsFor: Didn't find a match request: [scprefs] Use of uninitialized value $olddir in -d at /usr/lib64/perl5/vendor_perl/5.10.1/Slim/Utils/OS/Unix.pm line 122. Anyway thanks for the hard work !
oops, I forgot the : emerge --config =media-sound/squeezeboxserver-7.4.2 Everything seems fine, sorry for previous repport.
Still another problem : I can't finish the configuration of the serverhttp://localhost:9000/settings/server/wizard.html as when I press the "Finish" I got "The connection was reset The connection to the server was reset while the page was loading." And squeezeboxserver isn't running anymore.
(In reply to comment #18) > Still another problem : I can't finish the configuration of the > serverhttp://localhost:9000/settings/server/wizard.html as when I press the > "Finish" I got "The connection was reset > The connection to the server was reset while the page was loading." > And squeezeboxserver isn't running anymore. > That sounds like the server crashed - are there any useful clues in the server log file? (/var/log/squeezeboxserver/server.log)? As to those initial messages - yes I've seen those too, but they only appear the first time around.
Well it can't connect to mysql : [10-03-31 01:31:32.0131] main::init (320) Starting Squeezebox Server (v7.4.2, r30215, Fri Feb 19 16:24:40 MST 2010) perl 5.010001 [10-03-31 01:32:05.3439] Slim::Schema::Storage::throw_exception (82) Error: DBI Connection failed: DBI connect('database=squeezeboxserver;mysql_socket=/var/run/mysqld/mysqld.sock','squeezeboxserver',...) failed: Access denied for user 'squeezeboxserver'@'localhost' (using password: YES) at /usr/lib64/perl5/vendor_perl/5.10.1/DBIx/Class/Storage/DBI.pm line 1052 [10-03-31 01:32:05.3443] Slim::Schema::Storage::throw_exception (82) Backtrace: frame 0: Slim::Utils::Log::logBacktrace (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Schema/Storage.pm line 82) frame 1: Slim::Schema::Storage::throw_exception (/usr/lib64/perl5/vendor_perl/5.10.1/DBIx/Class/Storage/DBI.pm line 1076) frame 2: DBIx::Class::Storage::DBI::_connect (/usr/lib64/perl5/vendor_perl/5.10.1/DBIx/Class/Storage/DBI.pm line 906) frame 3: DBIx::Class::Storage::DBI::_populate_dbh (/usr/lib64/perl5/vendor_perl/5.10.1/DBIx/Class/Storage/DBI.pm line 842) frame 4: DBIx::Class::Storage::DBI::ensure_connected (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Schema/Storage.pm line 41) frame 5: (eval) (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Schema/Storage.pm line 41) frame 6: Slim::Schema::Storage::dbh (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Schema.pm line 291) frame 7: Slim::Schema::_connect (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Schema.pm line 127) frame 8: Slim::Schema::init (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Music/Import.pm line 745) frame 9: Slim::Music::Import::_checkLibraryStatus (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Music/Import.pm line 678) frame 10: Slim::Music::Import::useImporter (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Music/MusicFolderScan.pm line 48) frame 11: Slim::Music::MusicFolderScan::init (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Utils/Prefs.pm line 732) frame 12: Slim::Utils::Prefs::__ANON__ (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Utils/Prefs/Base.pm line 307) frame 13: Slim::Utils::Prefs::Base::set (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Web/Settings/Server/Wizard.pm line 106) frame 14: Slim::Web::Settings::Server::Wizard::handler (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Web/HTTP.pm line 1107) frame 15: Slim::Web::HTTP::generateHTTPResponse (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Web/HTTP.pm line 913) frame 16: Slim::Web::HTTP::processURL (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Web/HTTP.pm line 724) frame 17: Slim::Web::HTTP::processHTTP (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Networking/IO/Select.pm line 139) frame 18: (eval) (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Networking/IO/Select.pm line 123) frame 19: Slim::Networking::IO::Select::__ANON__ (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Networking/IO/Select.pm line 183) frame 20: (eval) (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Networking/IO/Select.pm line 183) frame 21: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 621) frame 22: main::idle (/usr/sbin/squeezeboxserver line 575) frame 23: main::main (/usr/sbin/squeezeboxserver line 1066) [10-03-31 01:32:05.3446] Slim::Schema::init (130) Error: Couldn't connect to database! Fatal error: [] Exiting! [10-03-31 01:32:05.3449] Slim::Schema::init (130) Backtrace: frame 0: Slim::Utils::Log::logBacktrace (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Schema.pm line 130) frame 1: Slim::Schema::init (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Music/Import.pm line 745) frame 2: Slim::Music::Import::_checkLibraryStatus (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Music/Import.pm line 678) frame 3: Slim::Music::Import::useImporter (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Music/MusicFolderScan.pm line 48) frame 4: Slim::Music::MusicFolderScan::init (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Utils/Prefs.pm line 732) frame 5: Slim::Utils::Prefs::__ANON__ (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Utils/Prefs/Base.pm line 307) frame 6: Slim::Utils::Prefs::Base::set (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Web/Settings/Server/Wizard.pm line 106) frame 7: Slim::Web::Settings::Server::Wizard::handler (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Web/HTTP.pm line 1107) frame 8: Slim::Web::HTTP::generateHTTPResponse (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Web/HTTP.pm line 913) frame 9: Slim::Web::HTTP::processURL (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Web/HTTP.pm line 724) frame 10: Slim::Web::HTTP::processHTTP (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Networking/IO/Select.pm line 139) frame 11: (eval) (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Networking/IO/Select.pm line 123) frame 12: Slim::Networking::IO::Select::__ANON__ (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Networking/IO/Select.pm line 183) frame 13: (eval) (/usr/lib64/perl5/vendor_perl/5.10.1/Slim/Networking/IO/Select.pm line 183) frame 14: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 621) frame 15: main::idle (/usr/sbin/squeezeboxserver line 575) frame 16: main::main (/usr/sbin/squeezeboxserver line 1066) And from mysql : mysql> show tables in squeezeboxserver; Empty set (0.01 sec) mysql> show tables in squeezecenter; +-------------------------+ | Tables_in_squeezecenter | +-------------------------+ | albums | | comments | | contributor_album | | contributor_track | | contributors | | dbix_migration | | genre_track | | genres | | metainformation | | playlist_track | | pluginversion | | progress | | rescans | | tracks | | tracks_persistent | | unreadable_tracks | | years | +-------------------------+ 17 rows in set (0.09 sec)
(In reply to comment #20) > Well it can't connect to mysql : > ... snip Thanks for looking into it. A couple of things to try... The preferences have been moved to the correct location (under /etc/squeezeboxserver rather than under /var/cache/squeezecenter). Can you check the password listed in the correct preferences file matches that which you expect? It'll be listed in the following text file: /etc/squeezeboxserver/squeezeboxserver.prefs Also, if you had the previous version of the ebuild installed you'll need to make sure the /etc/init.d/squeezeboxserver script was updated - that's important since it's this file that has the location of the above prefs file within it. Ca you check that /etc/init.d/squeezeboxserver contains the following line exactly: prefsfile=/etc/squeezeboxserver/squeezeboxserver.prefs If it's not there then it looks like you didn't run "dispatch-conf" or "cfg-update" following the installation of the 7.4.2 ebuild.
Both files are right as I did use etc-update after each merge asking for it. And I can connect to mysql with the listed username and password from /etc/squeezeboxserver/squeezeboxserver.prefs Strange ?
Yes, it is strange. I have it working OK (at least it gets further than this and I can scan and play music with it), on my test virtual machine with Perl 5.10.1. As I'm not sure whether this is related to Perl 5.10.1, or whether it's some other ebuild-related problem, I'd like to carry this on in bug#307119 if possible as it's also been reported there, to avoid duplication.
Hello everyone, I managed to emerge 7.4.1 after commenting a few lines in the ebuild (comment #3) but I can't seem to start the service. I keep on getting those errors : The following modules failed to load: DBI DBD::mysql EV JSON::XS GD I have installed those modules via portage and CPAN. Anyone know what I should do to get everything up and running or is it a bug ? Thanks, Alex
Ok my bad : I had forgotten to run the perl-cleaner. Everything seems to be working now thank you for the ebuild :)
I believe this is resolved now - 7.4.2 has been committed to Portage and that installs on Perl 5.10.1.