Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1

    gentoo and perl-5.20

    gentoo has stabilized perl-5.20; the ebuild logitechmediaserver-bin
    does not work now

    I don't know if Stuart H is still interested but is there an updated
    ebuild in the works or available?

  2. #2
    oops - replying to myself:

    I missed the update already present in squeezebox overlay

    thanks - lms-7.9 works fine with perl-5.20

  3. #3
    Junior Member
    Join Date
    May 2009
    Posts
    26
    Anyone know if this works on x86? Or how to get it working on x86 with perl-5.20

    I'm already running lms-7.9 with perl5.18(?), but the ebuild explicitly states different versions of perl for different architectures. So since Gentoo have upgraded Perl I'm stuck and can't update because it just blocks.

    Code:
    # Runtime dependencies.
    RDEPEND="
            !prefix? ( >=sys-apps/baselayout-2.0.0 )
            !prefix? ( virtual/logger )
            >=dev-lang/perl-5.8.8[ithreads]
            x86? ( <dev-lang/perl-5.19[ithreads] )
            amd64? ( <dev-lang/perl-5.21[ithreads] )
            >=dev-perl/Data-UUID-1.202
            "

  4. #4
    Senior Member
    Join Date
    Aug 2012
    Location
    Austria
    Posts
    809
    Quote Originally Posted by RobertCL View Post
    Anyone know if this works on x86?
    The ebuild seems to be older than the update which added perl 20 / x86 support to LMS 7.9, so it won't

    Or how to get it working on x86 with perl-5.20
    If you don't want to wait for an update of the ebuild in the overlay, you can always create a local ebuild for a newer LMS 7.9 version

  5. #5
    Member
    Join Date
    Jan 2007
    Location
    Waterloo Belgium
    Posts
    83
    Same problem here with Funtoo.

    After a emerge world, I have perl 5.20 installed and SqueezeBoxServer crash at startup.

    I get this info :

    Code:
    asuss1 logitechmediaserver # perl slimserver.pl
    The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name
    
    
    *******
    
    NOTE:
    
    If you're running some unsupported Linux/Unix platform, please use the buildme.sh
    script located here:
    
    https://github.com/Logitech/slimserver-vendor/tree/public/7.9/CPAN
    
    If 7.9 is outdated by the time you read this, Replace "7.9" with the major version
    You should never need to do this if you're on Windows or Mac OSX. If the installers
    don't work for you, ask for help and/or report a bug.
    After last emerge I get this infos :

    Code:
    !!! The following installed packages are masked:
    - virtual/perl-Attribute-Handlers-0.940.0-r1::gentoo (masked by: package.mask)
    /usr/portage/profiles/package.mask/00-gentoo:
    # Andreas K. Huettel <dilfridge@gentoo.org> (29 Mar 2015)
    # Mask Perl 5.18 for removal. Please upgrade to Perl 5.20
    
    - virtual/perl-libnet-1.220.0-r3::gentoo (masked by: package.mask)
    - virtual/perl-Module-Build-0.400.300-r1::gentoo (masked by: package.mask)
    - virtual/perl-Compress-Raw-Zlib-2.60.0-r2::gentoo (masked by: package.mask)
    - virtual/perl-Storable-2.410.0-r1::gentoo (masked by: package.mask)
    - virtual/perl-Sys-Syslog-0.320.0-r2::gentoo (masked by: package.mask)
    - net-misc/nxnode-3.5.0.4::gentoo (masked by: package.mask)
    /usr/portage/profiles/package.mask/00-gentoo:
    
    - virtual/perl-IO-Compress-2.60.0-r1::gentoo (masked by: package.mask)
    - virtual/perl-Digest-MD5-2.520.0-r2::gentoo (masked by: package.mask)
    - virtual/perl-IO-1.280.0-r1::gentoo (masked by: package.mask)
    - net-misc/nxserver-freeedition-3.5.0.5::gentoo (masked by: package.mask)
    - virtual/perl-Locale-Maketext-1.230.0-r1::gentoo (masked by: package.mask)
    - virtual/perl-ExtUtils-MakeMaker-6.660.0-r1::gentoo (masked by: package.mask)
    - virtual/perl-Encode-2.490.0-r2::gentoo (masked by: package.mask)
    - virtual/perl-MIME-Base64-3.130.0-r4::gentoo (masked by: package.mask)
    - virtual/perl-Scalar-List-Utils-1.270.0-r2::gentoo (masked by: package.mask)
    - net-misc/nxclient-3.5.0.7::gentoo (masked by: package.mask)
    - virtual/perl-File-Spec-3.400.0-r2::gentoo (masked by: package.mask)
    I don't think I can do a downgrade to perl 5.18.


    Here they say that LMS work with perl 5.20 but I don't know if it's ok for X86 :
    http://forums.slimdevices.com/showth...-and-perl-5-20

    Here : I don't think there is a version running with Perl 5.20
    http://forums.slimdevices.com/showth...-overlay/page5

    Thanks for your advice.
    Last edited by esa; 2015-04-07 at 12:44.
    ASUS S1 D525 ATOM with 2GB on Linux Gentoo i686-linux
    Logitech Media Server Version: 7.9.0 (Previous Version : 7.7.3 - 7.5.5 - r32671)
    Perl Version: Perl Version: 5.20.2 - i686-linux-thread-multi (5.18.2 - i686-linux-thread-multi)
    Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) (Previously : MySQL : 5.1.70)
    1 x Squeezebox Touch : 7.8.0-r16754 (7.5.1-r9009) + 1 x Squeezebox Boom + 1 x Squeezebox Receiver
    Squeeze Lite on Raspberry
    SqueezeCommander (0.9.6.1) on ACER A1-810

  6. #6
    Junior Member
    Join Date
    May 2009
    Posts
    26
    Quote Originally Posted by Roland0 View Post
    The ebuild seems to be older than the update which added perl 20 / x86 support to LMS 7.9, so it won't
    Ah, thats a pity, thanks for the clarification.


    Quote Originally Posted by Roland0 View Post
    If you don't want to wait for an update of the ebuild in the overlay, you can always create a local ebuild for a newer LMS 7.9 version
    I think I can see how to go about this, at least I can see how I can easily install the latest 7.9 version from git, I'm not sure about picking a specific version.

    It looks like perl 5.2 support for x86 was added back in Nov 2014 looking at the history here: https://github.com/Logitech/slimserv...ublic/7.9/CPAN

  7. #7
    Senior Member
    Join Date
    Aug 2012
    Location
    Austria
    Posts
    809
    Quote Originally Posted by RobertCL View Post
    I think I can see how to go about this, at least I can see how I can easily install the latest 7.9 version from git, I'm not sure about picking a specific version.
    Adjust this line in the ebuild:
    GIT_COMMIT="c05d9360b3d2141eaa2083237243777f8dd1cb 42"
    or use logitechmediaserver-bin-9999.ebuild, which will give you the latest version (=commit)

    It looks like perl 5.2 support for x86 was added back in Nov 2014 looking at the history here: https://github.com/Logitech/slimserv...ublic/7.9/CPAN
    For i386, it was added 5 months ago

  8. #8
    Member
    Join Date
    Jan 2007
    Location
    Waterloo Belgium
    Posts
    83
    I'm lost.
    I have a ATOM D525 (64 bits) with Funtoo 32 bits (uname -r give me i686).
    Currently I have Perl 5.18 installed but the system want to upgrade to 5.20.
    Squeezebox info are :
    Code:
    Logitech Media Server Version: 7.9.0 - TRUNK @ UNKNOWN
    Hostname: localhost
    Server IP Address: 192.168.1.20
    Server HTTP Port Number: 9000
    Operating system: Linux - EN - utf8
    Platform Architecture: i686-linux
    Perl Version: 5.18.2 - i686-linux-thread-multi
    I don't know how to install CPAN.
    So, I plan to :
    1) uninstall LMS
    2) Uninstall PERL 5.18
    3) Install Perl 5.20
    4) Reinstall last LMS ebuild (but I don't know exactly how to do it).

    Can you help me and advice me for the easiest way to make LMS work with PERL 5.20?
    Thank
    Eric
    ASUS S1 D525 ATOM with 2GB on Linux Gentoo i686-linux
    Logitech Media Server Version: 7.9.0 (Previous Version : 7.7.3 - 7.5.5 - r32671)
    Perl Version: Perl Version: 5.20.2 - i686-linux-thread-multi (5.18.2 - i686-linux-thread-multi)
    Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) (Previously : MySQL : 5.1.70)
    1 x Squeezebox Touch : 7.8.0-r16754 (7.5.1-r9009) + 1 x Squeezebox Boom + 1 x Squeezebox Receiver
    Squeeze Lite on Raspberry
    SqueezeCommander (0.9.6.1) on ACER A1-810

  9. #9
    Senior Member
    Join Date
    Aug 2012
    Location
    Austria
    Posts
    809
    Quote Originally Posted by esa View Post
    I don't know how to install CPAN.
    Not neccessary

    4) Reinstall last LMS ebuild (but I don't know exactly how to do it).
    Read the section "USING THESE EBUILDS" in the LMS ebuild README
    Use logitechmediaserver-bin-9999.ebuild
    Before step 2, change
    Code:
    x86? ( <dev-lang/perl-5.19[ithreads] )
    to
    Code:
    x86? ( <dev-lang/perl-5.21[ithreads] )

  10. #10
    Member
    Join Date
    Jan 2007
    Location
    Waterloo Belgium
    Posts
    83
    Hi,
    Thank for the info.

    But I had a very strange behavior :
    Firstly, I did a mistake because I try to emerge the root package and not the subfolder "media-sound/logitechmediaserver-bin" :
    It complains about a missing source but the ebuild downloaded the "distfiles/c05d9360b3d2141eaa2083237243777f8dd1cb42.zip"
    In fact, this mistake helped me to solve the second problem discribed below.

    Code:
    ebuild /usr/local/portage/media-sound/logitechmediaserver-bin/lo* digest
    >>> Downloading 'https://github.com/Logitech/slimserver/archive/c05d9360b3d2141eaa2083237243777f8dd1cb42.zip'
    --2015-06-21 18:11:11--  https://github.com/Logitech/slimserver/archive/c05d9360b3d2141eaa2083237243777f8dd1cb42.zip
    Resolving github.com... 192.30.252.130
    Connecting to github.com|192.30.252.130|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://codeload.github.com/Logitech/slimserver/zip/c05d9360b3d2141eaa2083237243777f8dd1cb42 [following]
    --2015-06-21 18:11:12--  https://codeload.github.com/Logitech/slimserver/zip/c05d9360b3d2141eaa2083237243777f8dd1cb42
    Resolving codeload.github.com... 192.30.252.144
    Connecting to codeload.github.com|192.30.252.144|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 174045272 (166M) [application/zip]
    Saving to: ‘/usr/portage/distfiles/c05d9360b3d2141eaa2083237243777f8dd1cb42.zip’
    
    /usr/portage/distfiles/c05d93 100%[===================================================>] 165.98M  2.90MB/s   in 60s
    
    2015-06-21 18:12:12 (2.79 MB/s) - ‘/usr/portage/distfiles/c05d9360b3d2141eaa2083237243777f8dd1cb42.zip’ saved [174045272/174045272]
    
    >>> Creating Manifest for /usr/local/portage/media-sound/logitechmediaserver-bin
    localhost ~ # emerge -a logitechmediaserver-bin
    WARNING: One or more repositories have missing repo_name entries:
    
            /usr/local/portage/profiles/repo_name
    
    NOTE: Each repo_name entry should be a plain text file containing a
    unique name for the repository on the first line.
    
    
    
     * IMPORTANT: 3 news items need reading for repository 'gentoo'.
     * Use eselect news to read news items.
    
    
    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild   R   ~] media-sound/logitechmediaserver-bin-7.9.0_pre20140928 [7.9.0_pre20140928]
    
    !!! The following installed packages are masked:
    - www-apps/wordpress-4.0::gentoo (masked by: package.mask)
    /usr/portage/profiles/package.mask/00-gentoo:
    # Sebastian Pipping <sping@gentoo.org> (28 Apr 2015)
    # Get rid of vulnerable releases.
    # Masked for removal in 30 days.
    
    For more information, see the MASKED PACKAGES section in the emerge
    man page or refer to the Gentoo Handbook.
    
    
    Would you like to merge these packages? [Yes/No] y
    >>> Verifying ebuild manifests
    >>> Emerging (1 of 1) media-sound/logitechmediaserver-bin-7.9.0_pre20140928 from x-portage
    >>> Failed to emerge media-sound/logitechmediaserver-bin-7.9.0_pre20140928, Log file:
    >>>  '/var/tmp/portage/media-sound/logitechmediaserver-bin-7.9.0_pre20140928/temp/build.log'
    >>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 3.47, 1.42, 0.77
     * Package:    media-sound/logitechmediaserver-bin-7.9.0_pre20140928
     * Repository: x-portage
     * Maintainer: stuart@hickinbottom.com
     * USE:        elibc_glibc kernel_linux userland_GNU x86
     * FEATURES:   preserve-libs sandbox
    >>> Unpacking source...
    >>> Unpacking c05d9360b3d2141eaa2083237243777f8dd1cb42.zip to /var/tmp/portage/media-sound/logitechmediaserver-bin-7.9.0_pre20140928/work
    >>> Source unpacked in /var/tmp/portage/media-sound/logitechmediaserver-bin-7.9.0_pre20140928/work
    >>> Preparing source in /var/tmp/portage/media-sound/logitechmediaserver-bin-7.9.0_pre20140928/work/slimserver-c05d9360b3d2141eaa2083237243777f8dd1cb42 ...
    
     * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
     *
     *   /usr/local/portage/media-sound/logitechmediaserver-bin/files/logitechmediaserver-bin-7.9.0_pre20140928-uuid-gentoo.patch
     *   ( logitechmediaserver-bin-7.9.0_pre20140928-uuid-gentoo.patch )
    
     * ERROR: media-sound/logitechmediaserver-bin-7.9.0_pre20140928 failed (prepare phase):
     *   Cannot find $EPATCH_SOURCE!
     *
     * Call stack:
     *     ebuild.sh, line   93:  Called src_prepare
     *   environment, line 2434:  Called epatch '/usr/local/portage/media-sound/logitechmediaserver-bin/files/logitechmediaserver-bin-7.9.0_pre20140928-uuid-gentoo.patch'
     *   environment, line  899:  Called die
     * The specific snippet of code:
     *                   die "Cannot find \$EPATCH_SOURCE!";
     *
     * If you need support, post the output of `emerge --info '=media-sound/logitechmediaserver-bin-7.9.0_pre20140928'`,
     * the complete build log and the output of `emerge -pqv '=media-sound/logitechmediaserver-bin-7.9.0_pre20140928'`.
     * This ebuild is from an overlay named 'x-portage': '/usr/local/portage/'
     * The complete build log is located at '/var/tmp/portage/media-sound/logitechmediaserver-bin-7.9.0_pre20140928/temp/build.log'.
     * The ebuild environment file is located at '/var/tmp/portage/media-sound/logitechmediaserver-bin-7.9.0_pre20140928/temp/environment'.
     * Working directory: '/var/tmp/portage/media-sound/logitechmediaserver-bin-7.9.0_pre20140928/work/slimserver-c05d9360b3d2141eaa2083237243777f8dd1cb42'
     * S: '/var/tmp/portage/media-sound/logitechmediaserver-bin-7.9.0_pre20140928/work/slimserver-c05d9360b3d2141eaa2083237243777f8dd1cb42'
    After realized my mistake, I put the correct subfolder in "/usr/portage/media-sound/logitechmediaserver-bin"

    But doing this, ebuilt doesn't realize the download of the distfile.
    And the "emerge -a logitechmediaserver-bin" complains about a checksum error :

    Code:
    2015-06-21 21:38:38 (2.81 MB/s) - ‘/usr/portage/distfiles/c05d9360b3d2141eaa2083237243777f8dd1cb42.zip’ saved [174045272/174045272]
    
    !!! Fetched file: c05d9360b3d2141eaa2083237243777f8dd1cb42.zip VERIFY FAILED!
    !!! Reason: Failed on SHA256 verification
    !!! Got:      ac62945ad28d7216589a3162fe248d6487d340654aaa7c1602a4d319ab731afb
    !!! Expected: 1388eee3f84e0dfcf2ad5eda4411920f6376243f45438a14d03fd06bf0300649
    Refetching... File renamed to '/usr/portage/distfiles/c05d9360b3d2141eaa2083237243777f8dd1cb42.zip._checksum_failure_.71fRhT'
    
    !!! Couldn't download 'c05d9360b3d2141eaa2083237243777f8dd1cb42.zip'. Aborting.
     * Fetch failed for 'media-sound/logitechmediaserver-bin-7.9.0_pre20140928', Log file:
     *  '/var/tmp/portage/media-sound/logitechmediaserver-bin-7.9.0_pre20140928/temp/build.log'
    Finally, I succeed doing :

    1) generated the Manifest with the root package placed under portage.
    Doing this, the ebuild downloads the distfile and it creates the Manifest with the correct checksum :

    Code:
    DIST c05d9360b3d2141eaa2083237243777f8dd1cb42.zip 174045272 SHA256 ac62945ad28d7216589a3162fe248d6487d340654aaa7c1602a4d319ab731afb SHA512 15babcc0520b8be17ae986bf2a18a84b404e748a653dba52fc1ef9d51a860e8e51124d82e44892443e82d929a52ea62d19f154b60f2421ac4297b9d9da5935d5 WHIRLPOOL 5d626e18c25d585667ebba9a0e7127e2a3e318b8c7f0cf237b4a2ac6824756cecf4588dbf1937df2881919beb7a9272c67ff58acc385f3ce6bdd41aa81c5ff35
    2) Copy the subfolder "media-sound/logitechmediaserver-bin" to "/usr/local/portage/media-sound/logitechmediaserver-bin"
    3) Copy the Manifest in step 1 to the folder.
    4) doing a emerge

    I'm certainly doing something wrong.
    If you can give an explanation.

    A third question is : why it always use the library perl 5.18?
    Code:
    !!! existing preserved libs:
    >>> package: dev-lang/perl-5.18.2-r2
     *  - /usr/lib/libperl.so.5.18
     *  - /usr/lib/libperl.so.5.18.2
     *      used by /opt/logitechmediaserver/CPAN/arch/5.18/i386-linux-thread-multi/auto/Audio/Scan/Scan.so (media-sound/logitechmediaserver-bin-7.9.0_pre20140928)
     *      used by /opt/logitechmediaserver/CPAN/arch/5.18/i386-linux-thread-multi/auto/Class/XSAccessor/XSAccessor.so (media-sound/logitechmediaserver-bin-7.9.0_pre20140928)
     *      used by /opt/logitechmediaserver/CPAN/arch/5.18/i386-linux-thread-multi/auto/DBD/SQLite/SQLite.so (media-sound/logitechmediaserver-bin-7.9.0_pre20140928)
    And finaly it doesn't start :

    logitechmediaserver [ crashed ]

    Thank for your advices.
    Last edited by esa; 2015-06-21 at 13:41.
    ASUS S1 D525 ATOM with 2GB on Linux Gentoo i686-linux
    Logitech Media Server Version: 7.9.0 (Previous Version : 7.7.3 - 7.5.5 - r32671)
    Perl Version: Perl Version: 5.20.2 - i686-linux-thread-multi (5.18.2 - i686-linux-thread-multi)
    Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) (Previously : MySQL : 5.1.70)
    1 x Squeezebox Touch : 7.8.0-r16754 (7.5.1-r9009) + 1 x Squeezebox Boom + 1 x Squeezebox Receiver
    Squeeze Lite on Raspberry
    SqueezeCommander (0.9.6.1) on ACER A1-810

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •