Search Criteria
Package Details: forked-daapd 27.2-1
Git Clone URL: | https://aur.archlinux.org/forked-daapd.git (read-only, click to copy) |
---|---|
Package Base: | forked-daapd |
Description: | iTunes-compatible media server, originally intended as a rewrite of Firefly Media Server (mt-daapd). |
Upstream URL: | https://github.com/ejurgensen/forked-daapd |
Licenses: | |
Submitter: | jmsq |
Maintainer: | jmsq |
Last Packager: | jmsq |
Votes: | 8 |
Popularity: | 0.150563 |
First Submitted: | 2016-06-06 00:51 |
Last Updated: | 2020-07-24 09:34 |
Dependencies (15)
- avahi (avahi-nosystemd, avahi-git, avahi-gtk2)
- confuse
- ffmpeg (ffmpeg-semifull-git, ffmpeg-tmblock-git, ffmpeg4.0, ffmpeg-cuda, ffmpeg-v4l2-request-git, ffmpeg-svt, ffmpeg-gl-transition, ffmpeg-git, ffmpeg-decklink, ffmpeg-intel-full-git, ffmpeg-mmal, ffmpeg-svt-av1-git, ffmpeg-libfdk_aac, ffmpeg-full, ffmpeg-nox-git, ffmpeg-svt-vp9-git, ffmpeg-nocuda, ffmpeg-ndi, ffmpeg-amd-full, ffmpeg-full-git, ffmpeg-amd-full-git, ffmpeg-headless)
- json-c (json-c-git)
- libantlr3c
- libevent (libevent-git, libevent-fb)
- libplist (libplist-git)
- libsodium (libsodium-git)
- libunistring (libunistring-git)
- libwebsockets (libwebsockets-libuv)
- mxml
- protobuf-c
- sqlite3 (sqlite-replication, sqlite-minimal-git, sqlite)
- gperf (gperf-git) (make)
- java-runtime-headless (jdk5, tuxjdk, jre7-openjdk-headless-infinality, java-8-openjdk-shenandoah, jre8-openjdk-headless-infinality, jdk9, jre9, jdk-devel, jre10, jdk8-arm64, jdk6, jdk12-openj9-bin, zulu-12-bin, jre6, jre12, jdk8-openjdk-dcevm, server-jre, jdk8-arm, jdk13-openj9-bin, jdk9-openj9-bin, jdk10, jdk11-openjdk-dcevm, jre8-openjdk-jetbrains-headless, jre8-openjdk-shenandoah-headless, jdk10-openj9-bin, jdk14-openj9-bin, jdk7, jre7, jre14, jdk8-jetbrains, jdk7r1-j9-bin, jdk7-j9-bin, zulu-14-bin, zulu-13-bin, jdk-bcl, jre-bcl, amazon-corretto-15, jre-openj9-headless, jdk11-openj9-bin, java-openjdk-bin, amazon-corretto-8, amazon-corretto-11, jdk11-openjdk-dcevm-conflicts-fixed, jre8, jdk8, jdk-openj9-bin, jre, jdk11-adoptopenjdk, jdk-adoptopenjdk, zulu-8-bin, zulu-11-bin, zulu-15-bin, liberica-jdk-11-bin, liberica-jdk-11-lite-bin, liberica-jre-11-full-bin, liberica-jdk-8-full-bin, liberica-jdk-full-bin, liberica-jdk-11-full-bin, liberica-jre-11-bin, liberica-jre-8-full-bin, jdk8-j9-bin, zulu-embedded-jdk11, jdk8-openj9-bin, zulu-embedded-jdk8, jre11, sapmachine-jdk-bin, jre11-jetbrains-headless-imfix, jre-jetbrains, jre8-adoptopenjdk-headless, jdk-arm, jdk-jetbrains, java-openjdk-ea-bin, java-openjdk-loom-ea-bin, jre-openjdk-headless, jre11-openjdk-headless, jre7-openjdk-headless, jre8-openjdk-headless) (make)
Latest Comments
1 2 3 Next › Last »
jmsq commented on 2020-07-03 23:42
I've backported the upstream libplist workaround since it hasn't made it into a release yet.
sozialarbeiter commented on 2020-06-25 07:29
They maintainer of forked-daapd is already aware of the issue and in discussions with the libplist maintainer. https://github.com/libimobiledevice/libplist/commit/137716df
sozialarbeiter commented on 2020-06-24 23:35
I just did that.
Thanks!
jmsq commented on 2020-06-24 23:21
@sozialarbeiter,
That sounds very much like a bug with the updated libplist package. Can you please post that pkg-config info into a bug against that Arch package?
Thanks, JM
sozialarbeiter commented on 2020-06-24 23:07
Hi again,
upfront, the issue seems related to an upgraded library, not forked-daapd. Just mentioning it here if someone has the same issue.
After upgrading libplist (with a full system upgrade) to version 2.2.0-1 configure stops with: configure: error: iTunes Music Library XML support requires libplist ==> ERROR: A failure occurred in build(). Aborting...
After downgrading package libplist (2.2.0-1 => 2.1.0-3) it works again. That also happens when I load fdaapd from github.
I don't see the reason why pkg-config doesn't find the newer version.
With the old version I get:
forked-daapd]$ pkg-config --modversion libplist
2.1.0
When the newer version is installed it doesn't find it:
$ pkg-config --modversion libplist
Package libplist was not found in the pkg-config search path. Perhaps you should add the directory containing `libplist.pc' to the PKG_CONFIG_PATH environment variable Package 'libplist', required by 'virtual:world', not found
Tested on two systems, with the same result.
Best regards
sozialarbeiter commented on 2020-05-19 20:39
Finally I found at least a workaround, just in case someone else is facing similar issues. Added this linker flag to the PKGBUILD configure: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-itunes --enable-chromecast --enable-lastfm --with-libwebsockets --sbindir=/usr/bin LDFLAGS="-Wl,--allow-multiple-definition"
sozialarbeiter commented on 2020-05-19 16:39
@jmsq, another update: I just took the forked-daapd from GitHub and built it with the same options as they are by default in your AUR: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-itunes --enable-chromecast --enable-lastfm --with-libwebsockets --sbindir=/usr/bin
Same result, linking fails. So no problem with your package. Still I don't know what's going wrong on my two systems, but nothing wrong with your PKGBUILD.
Thanks!
sozialarbeiter commented on 2020-05-19 16:34
@jmsq thank's that you tried it out for me.
I took now a different system that is used for completely different purposes, and shouldn't have similar changes in system configurations. After doing there a full system upgrade and trying to makepkg forked-daapd I get the exact same errors from the linker at that point shown below.
That's really strange. Did you also do a 'pacman -Suy' before? I wonder what else could be different in our systems. Btw., I'm building version 27.1 of forked-daapd.
/bin/sh ../libtool --tag=CC --mode=link gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o forked-daapd main.o db.o db_init.o db_upgrade.o logger.o conffile.o cache.o library/filescanner.o library/filescanner_ffmpeg.o library/filescanner_playlist.o library/filescanner_smartpl.o library/filescanner_itunes.o library.o mdns_avahi.o remote_pairing.o avio_evbuffer.o httpd.o httpd_rsp.o httpd_daap.o httpd_dacp.o httpd_jsonapi.o httpd_streaming.o httpd_oauth.o httpd_artworkapi.o http.o dmap_common.o transcode.o artwork.o misc.o misc_json.o rng.o rsp_query.o daap_query.o smartpl_query.o player.o worker.o settings.o input.o inputs/file_http.o inputs/pipe.o outputs.o outputs/rtp_common.o outputs/raop.o outputs/raop_verification.o outputs/streaming.o outputs/dummy.o outputs/fifo.o outputs/alsa.o outputs/pulse.o outputs/cast.o outputs/cast_channel.pb-c.o evrtsp/rtsp.o lastfm.o mpd.o listener.o commands.o websocket.o RSPLexer.o RSPParser.o RSP2SQL.o DAAPLexer.o DAAPParser.o DAAP2SQL.o SMARTPLLexer.o SMARTPLParser.o SMARTPL2SQL.o -lavformat -lavcodec -lavutil -lavfilter -lgpg-error -lgcrypt -lantlr3c -ljson-c -levent -lmxml -lpthread -lconfuse -lz -lgnutls -lprotobuf-c -lavahi-common -lavahi-client -levent_pthreads -levent -lplist -lsodium -lwebsockets -lcurl -lpulse -pthread -lasound -lsqlite3 -lunistring -lpthread -lrt
jmsq commented on 2020-05-18 22:20
@sozialarbeiter I think that may be something wrong with your Arch installation, as it looks like you have duplicate library symbols. I just reinstalled forked-daapd on my end and wasn't able to reproduce any compilation errors.
sozialarbeiter commented on 2020-05-18 15:42
Hi, after full system upgrade forked-daapd didn't startup due to: May 18 13:48:55 carrier forked-daapd[2040517]: /usr/sbin/forked-daapd: error while loading shared libraries: libjson-c.so.4: cannot open shared object file: No such file or directo>
So I wanted to rebuild it.I started with a clean git clone, and the build breaks here. Any thoughts where to look further?
... /usr/bin/ld: DAAP2SQL.o:(.bss+0x20): multiple definition of
output_buffer'; main.o:(.bss+0x20): first defined here /usr/bin/ld: SMARTPL2SQL.o:(.bss+0x0): multiple definition of
output_device_list'; main.o:(.bss+0x8): first defined here /usr/bin/ld: SMARTPL2SQL.o:(.bss+0x20): multiple definition of `output_buffer'; main.o:(.bss+0x20): first defined here collect2: error: ld returned 1 exit status make[3]: [Makefile:750: forked-daapd] Error 1 make[3]: Leaving directory '/home/adrian/forked-daapd/src/forked-daapd-27.1/src' make[2]: [Makefile:601: all] Error 2 make[2]: Leaving directory '/home/adrian/forked-daapd/src/forked-daapd-27.1/src' make[1]: [Makefile:626: all-recursive] Error 1 make[1]: Leaving directory '/home/adrian/forked-daapd/src/forked-daapd-27.1' make: [Makefile:468: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...