On a just installed Manjaro, the package builds but fails to run with:
The following CPAN modules were found but cannot work with Logitech Media Server: Image::Scale (loaded 0.08 but missing object file, need 0.08)
Git Clone URL: | https://aur.archlinux.org/logitechmediaserver.git (read-only, click to copy) |
---|---|
Package Base: | logitechmediaserver |
Description: | Slimserver for Logitech Squeezebox players. This server is also called Logitech Media Server. (Release-Version, if you prefer bleeding edge consider using logitechmediaserver-git instead) |
Upstream URL: | https://github.com/LMS-Community/slimserver |
Keywords: | logitech slimserver squeezebox |
Licenses: | GPL, custom |
Submitter: | vesath |
Maintainer: | stef.an (FabioLolix) |
Last Packager: | stef.an |
Votes: | 72 |
Popularity: | 0.000020 |
First Submitted: | 2011-11-03 06:54 (UTC) |
Last Updated: | 2024-07-01 19:06 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 50 Next › Last »
On a just installed Manjaro, the package builds but fails to run with:
The following CPAN modules were found but cannot work with Logitech Media Server: Image::Scale (loaded 0.08 but missing object file, need 0.08)
Hi, I've updated the package. Since I don't actively use LMS anymore, I'm not aware of such breaking updates, so thanks for the heads up and the patch! Feel free to contact me if you'd like to adopt the package, the reason I don't orphan it is because I'm afraid it will die if I do...
Okay, the solution was to update the version of slimserver-vendor to 8.4. Here's the diff for anyone who is interested. I'll flag this as outdated.
diff --git a/PKGBUILD b/PKGBUILD
index d51c9ad..ee7a11e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Stefan Sielaff <aur AT stefan-sielaff DOT de>
pkgname=logitechmediaserver
-pkgver=8.3.0
+pkgver=8.3.1
pkgrel=1
pkgdesc='Slimserver for Logitech Squeezebox players. This server is also called Logitech Media Server. (Release-Version, if you prefer blee>
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
@@ -12,12 +12,12 @@ makedepends=('nasm' 'yasm' 'rsync' 'gd' 'zlib')
optdepends_x86_64=('lib32-glibc: transcoding on 64-bit systems' 'lib32-gcc libs: transcoding on 64-bit systems')
install=logitechmediaserver.install
-_vendorver=8.0
+_vendorver=8.4
source=("slimserver-${pkgver}.tar.gz::https://github.com/Logitech/slimserver/archive/${pkgver}.tar.gz"
"slimserver-vendor-public-${_vendorver}.tar.gz::https://github.com/Logitech/slimserver-vendor/archive/public/${_vendorver}.tar.gz"
'logitechmediaserver.service')
-sha256sums=('58f7a7857be9b9e8c795bb469620cf1edaa0c2a9498722a0228b35efc99d27be'
- 'e13f0e3529234693953e32382776ea965b87a758d1bc75cf453819fb0d76d502'
+sha256sums=('71086192f93ba5b3e94440d87bf7125e02dbaacb073f372ff9030a00d544d891'
+ '21ab3699ed77abd641ac66b5627fcfa877cb2fad5a24d80cd0dfcc13da58ecfb'
'1b89638a18511e02a298bde20bb6a6608d92fd4c1ec89028475bd569e324cb67')
prepare() {
Now back to the music.
Hello there, LMS isn't working for me following the upgrade to perl 5.38.0-1. I've done a clean rebuild, but see the following on startup:
The following modules failed to load: XML::Parser::Expat YAML::XS Sub::Name
(A similar error was reported below, but I do have wget installed.)
While rebuilding, I also see the following errors related to the bundled FFMPEG:
...
libavcodec/x86/mathops.h:114: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:114: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:114: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:114: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:114: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:114: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:114: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:114: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:114: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:114: Error: operand type mismatch for `shr'
libavcodec/x86/mathops.h:114: Error: operand type mismatch for `shr'
make: *** [common.mak:31: libavcodec/aacdec.o] Error 1
make: *** [common.mak:31: libavcodec/aacsbr.o] Error 1
make failed
I've also tried version 8.3.1 of LMS (released on Feb 17th 2023) but see the same error. (I haven't tried logitechmediaserver-git, but would prefer to use the stable release.)
@sphere101 you have to rebuild and reinstall the package after a perl update. Your settings and database should be safe, but a backup is better than no backup...
Anyone getting the following error after a recent Arch upgrade?
systemctl status logitechmediaserver.service × logitechmediaserver.service - Logitech Media Server Daemon Loaded: loaded (/usr/lib/systemd/system/logitechmediaserver.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Wed 2022-06-22 13:28:05 CDT; 1s ago Duration: 57ms Process: 3241178 ExecStart=/opt/logitechmediaserver/slimserver.pl --prefsdir /opt/logitechmediaserver/prefs --cachedir /opt/logitechmediaserver/cache --logdir /opt/logitechmediaserver/Logs -> Main PID: 3241178 (code=exited, status=1/FAILURE) CPU: 44ms
Jun 22 13:28:05 thor systemd[1]: Started Logitech Media Server Daemon. Jun 22 13:28:05 thor slimserver.pl[3241178]: EV.c: loadable library and perl binaries are mismatched (got first handshake key 0xeb00080, needed 0xeb80080) Jun 22 13:28:05 thor systemd[1]: logitechmediaserver.service: Main process exited, code=exited, status=1/FAILURE Jun 22 13:28:05 thor systemd[1]: logitechmediaserver.service: Failed with result 'exit-code'.
Thanks..
wget seems to be a build dependency.
It was not installed when I built the package, build seemed successful but then server failed to start with error "The following modules failed to load: XML::Parser::Expat JSON::XS YAML::XS Sub::Name".
Looking at the build log I saw
../update-config.sh: line 3: wget: command not found ../update-config.sh: line 4: wget: command not found cp: cannot stat '/tmp/config.guess.12210': No such file or directory cp: cannot stat '/tmp/config.sub.12210': No such file or directory
Installed wget, built again and then it worked.
It would be nice also to stop the build if something fails.
Thanks FabioLolix for the patch :) I've applied your changes and updated a bit more, which shold make things run a little smoother.
@mikegb clean your download cache and try again, downloaded sources are unversioned, I have emailed the maintainer about this
Can't build with recently updated system. logitechmediaserver is the only update available via "Add/Remove Software" app. I get the following error:
ERROR: One or more files did not pass the validity check!
Pinned Comments
FabioLolix commented on 2024-05-26 08:40 (UTC)
-bin variant uploaded https://aur.archlinux.org/packages/logitechmediaserver-bin