-bin variant uploaded https://aur.archlinux.org/packages/logitechmediaserver-bin
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.073912 |
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) (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-compatAUR) (make)
- lib32-gcc-libs (lib32-gcc-libs-gitAUR, lib32-gcc-libs-snapshotAUR, lib32-gccrs-libs-gitAUR) (optional, x86_64) – transcoding on 64-bit systems
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR) (optional, x86_64) – transcoding on 64-bit systems
Required by (0)
Sources (3)
FabioLolix commented on 2024-05-26 08:41 (UTC)
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?
jasonwryan commented on 2024-05-11 22:27 (UTC)
Build is currently failing:
gif_hash.c: In function '_InitHashTable':
gif_hash.c:71:43: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
71 | if ((HashTable = (GifHashTableType *) malloc(sizeof(GifHashTableType)))
| ^~~~~~
gif_hash.c:54:1: note: include '<stdlib.h>' or provide a declaration of 'malloc'
FabioLolix commented on 2024-03-17 21:00 (UTC)
Can you add 'wget' to the makedepends?
Why? This build fine in clean chroot without wget
Pinned Comments
FabioLolix commented on 2024-05-26 08:41 (UTC)
-bin variant uploaded https://aur.archlinux.org/packages/logitechmediaserver-bin