@fvdb06
- please post on the correct page
- I don't have time for AUR helpers try with makepkg or devtools
- lyrionmusicserver have some problems but not related to build()
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.000107 |
First Submitted: | 2015-05-16 16:04 (UTC) |
Last Updated: | 2024-05-14 12:54 (UTC) |
@fvdb06
During install I get the message:
==> Starting build()... /tmp/yay/lyrionmusicserver/PKGBUILD: line 39: ./buildme.sh: Permission denied ==> ERROR: A failure occurred in build(). Aborting... -> error making: lyrionmusicserver-exit status 4 . . . Directory Permissions of /tmp:
total 0 srwxrwxrwx 1 root root 0 Apr 13 10:02
??? What happens during yay => aur/lyrionmusicserver 9.0.0-2
It seems that only dowgrading perl to version 5.38.2 will fix the problem
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.
-bin variant uploaded https://aur.archlinux.org/packages/logitechmediaserver-bin
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.
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.
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.
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?
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.
Pinned Comments
FabioLolix commented on 2024-05-26 08:41 (UTC)
-bin variant uploaded https://aur.archlinux.org/packages/logitechmediaserver-bin