It seems that only dowgrading perl to version 5.38.2 will fix the problem
Search Criteria
Package Details: logitechmediaserver-git 20240514.22852.251c1b0de-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/logitechmediaserver-git.git (read-only, click to copy) |
---|---|
Package Base: | logitechmediaserver-git |
Description: | Slimserver for Logitech Squeezebox players. This server is also called Logitech Media Server. (Git-Version, if you prefer stability consider using logitechmediaserver instead) |
Upstream URL: | https://github.com/Logitech/slimserver |
Keywords: | logitech slimserver squeezebox |
Licenses: | GPL, custom |
Provides: | logitechmediaserver |
Submitter: | stef.an |
Maintainer: | stef.an (FabioLolix) |
Last Packager: | stef.an |
Votes: | 9 |
Popularity: | 0.001234 |
First Submitted: | 2015-05-16 16:04 (UTC) |
Last Updated: | 2024-05-14 12:54 (UTC) |
Dependencies (10)
- perl (perl-gitAUR)
- perl-io-socket-ssl
- gd (gd-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- nasm (nasm-gitAUR) (make)
- rsync (rsync-gitAUR, rsync-reflinkAUR, rsync-reflink-gitAUR) (make)
- yasm (yasm-gitAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
- lib32-gcc-libs (lib32-gcc-libs-gitAUR, lib32-gccrs-libs-gitAUR, lib32-gcc-libs-snapshotAUR) (optional, x86_64) – transcoding on 64-bit systems
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR, lib32-glibc-eac-rocoAUR) (optional, x86_64) – transcoding on 64-bit systems
Required by (0)
Sources (3)
blackhole commented on 2024-10-03 09:49 (UTC)
blackhole commented on 2024-09-30 21:54 (UTC)
Same problem as before:
logitechmediaserver-git.service - Logitech Media Server Daemon
Loaded: loaded (/usr/lib/systemd/system/logitechmediaserver-git.service; enabled; preset: disabled)
Active: inactive (dead) since Mon 2024-09-30 23:47:06 CEST; 2min 51s ago
Duration: 82ms
Invocation: 3346fca0c4c241c2803c46f3640b0ada
Process: 172702 ExecStart=/opt/logitechmediaserver-git/slimserver.pl --prefsdir /opt/logitechmediaserver-git/prefs --cachedir /opt/logitechmediase>
Main PID: 172702 (code=exited, status=0/SUCCESS)
Mem peak: 20.1M
CPU: 66ms
set 30 23:47:06 archlinux systemd[1]: Started Logitech Media Server Daemon.
set 30 23:47:06 archlinux slimserver.pl[172702]: Old package separator "'" deprecated at /opt/logitechmediaserver-git/CPAN/Carp/Assert.pm line 385.
set 30 23:47:06 archlinux slimserver.pl[172702]: The following CPAN modules were found but cannot work with Lyrion Music Server:
set 30 23:47:06 archlinux slimserver.pl[172702]: Image::Scale (loaded 0.14, need 0.08)
set 30 23:47:06 archlinux slimserver.pl[172702]: To fix this problem you have several options:
set 30 23:47:06 archlinux slimserver.pl[172702]: 1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
set 30 23:47:06 archlinux slimserver.pl[172702]: 2. Update the module's package using apt-get, yum, etc.
set 30 23:47:06 archlinux slimserver.pl[172702]: 3. Run the .tar.gz version of Lyrion Music Server which includes all required CPAN modules.
set 30 23:47:06 archlinux systemd[1]: logitechmediaserver-git.service: Deactivated successfully.
FabioLolix commented on 2024-05-26 08:41 (UTC)
-bin variant uploaded https://aur.archlinux.org/packages/logitechmediaserver-bin
blackhole commented on 2024-05-25 05:55 (UTC) (edited on 2024-05-25 05:58 (UTC) by blackhole)
The package is compiling but it will not start:
mag 25 07:43:07 archlinux systemd[1]: Started Logitech Media Server Daemon.
mag 25 07:43:07 archlinux slimserver.pl[1111]: Old package separator "'" deprecated at /opt/logitechmediaserver-git/CPAN/Carp/Assert.pm line 38>
mag 25 07:43:07 archlinux slimserver.pl[1111]: The following CPAN modules were found but cannot work with Lyrion Music Server:
mag 25 07:43:07 archlinux slimserver.pl[1111]: Image::Scale (loaded 0.14, need 0.08)
mag 25 07:43:07 archlinux slimserver.pl[1111]: To fix this problem you have several options:
mag 25 07:43:07 archlinux slimserver.pl[1111]: 1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
mag 25 07:43:07 archlinux slimserver.pl[1111]: 2. Update the module's package using apt-get, yum, etc.
mag 25 07:43:07 archlinux slimserver.pl[1111]: 3. Run the .tar.gz version of Lyrion Music Server which includes all required CPAN modules.
mag 25 07:43:07 archlinux systemd[1]: logitechmediaserver-git.service: Deactivated successfully.
bananabrain commented on 2024-05-14 21:37 (UTC)
I did this the painful way - download and extract "slimserver-vendor-public-8.4.tar.gz"; extract "CPAN/giflib-4.1.6.tar.gz"; edit "lib/gif_hash.c".
...then backed out, recompressed the two gz files; edited PKGBUILD to reflect new checksums.
All looks great so far. As for creating a fix in the middle of that buried .c file... man, there are some clever people around here.
Thanks.
stef.an commented on 2024-05-14 13:16 (UTC) (edited on 2024-05-14 13:19 (UTC) by stef.an)
Hopefully this patch will fix the issue. There was no update of the vendor-soruce so I believe the latest gcc is more picky or whatever.
jasonwryan commented on 2024-05-14 05:13 (UTC)
Thanks @painlessjeff - gif_hash.c
is overwritten when I makepkg -e
so I'm not sure how the fix works.
I'm also lost as to why it impacts some of us, but @FabioLolix can build without issues?
painlessjeff commented on 2024-05-13 13:03 (UTC) (edited on 2024-05-13 13:16 (UTC) by painlessjeff)
I have the same problem as jasonwryan. In fact, the package is built even if the build fails on gif_hash.c. But LMS can't be started as the build failed and an incomplete package has been installed. EDIT: giflib-4.1.6 seems to be the culprit here. Adding the line "#include <stdlib.h>" at line 52 in "src/slimserver-vendor/CPAN/giflib-4.1.6/lib/gif_hash.c" fixes the problem.
jasonwryan commented on 2024-05-12 18:49 (UTC)
@FabioLolix in a clean chroot on x_64 Both this and the stable version fail the same way, on two different machines (both up-to-date, one on [testing]).
FabioLolix commented on 2024-05-12 10:57 (UTC)
@jasonwryan can't reproduce with both makepkg and devtools, how are you building this?
Pinned Comments
FabioLolix commented on 2024-05-26 08:41 (UTC)
-bin variant uploaded https://aur.archlinux.org/packages/logitechmediaserver-bin