Package Details: forked-daapd 27.4-3

Git Clone URL: (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:
Licenses: GPL
Submitter: jmsq
Maintainer: jmsq
Last Packager: jmsq
Votes: 8
Popularity: 0.007805
First Submitted: 2016-06-06 00:51
Last Updated: 2021-04-02 01:37

Dependencies (15)

Required by (0)

Sources (4)

Pinned Comments

jmsq commented on 2021-05-23 13:55

forked-daapd has been renamed to owntone-server. Please see for future updates.

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

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: 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 ofoutput_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...

pac commented on 2019-12-03 14:55

I notice the following warning during build:

configure: WARNING: unrecognized options: --with-websockets

I guess it's because the option seems to be named --with-libwebsockets instead (see

i1314925 commented on 2018-04-06 08:50

Could you please add websocket support? Requires libwebsockets as depends and --with-libwebsockets as configure parameter.

i1314925 commented on 2017-09-01 06:17

On my system json-c was missing as dependency.

configure: error: Chromecast support requires json-c
==> ERROR: A failure occurred in build().
:: failed to build forked-daapd package(s)

fuzzy2 commented on 2017-08-20 15:54

Hi, I get a build (well, technically configure) error: "configure: error: Apple TV device verification requires libsodium"

It appears some new features have been added and now libsodium is required. The package is available in community. After installing it manually, building and using the upgraded version of forked-daapd work as expected.

Just adding the dependency should do it. Thanks!

midgard commented on 2017-08-13 10:59

Hi, in the PKGBUILD you should quote variables that can contain spaces. In particular: $PATH on lines 49,55, $OLDPATH on line 59 and $pkgdir and $srcdir on lines 65,66.

On line 52 $srcdir should also be written quoted to antlr3, but it's more complex because you can't know that the variable won't contain apostrophes. I would propose the following:

local safequotedsrcdir="'${srcdir//\'/\'\\\'\'}'" # Converts to '/path/that'\''s a bit/stupid' (incl the '')
echo "exec java -cp ${safequotedsrcdir}/antlr-3.4-complete.jar org.antlr.Tool \"\$@\"" >> antlr3

Also make the other variables that you introduce within build() local, to make sure they cannot interfere with the makepkg internals. NB: if you introduce vars outside of a function, prefix them with _.

Have a nice day and thanks for packaging software!

jmsq commented on 2017-06-06 02:02

Updated PKGBUILD to include the build fix until the next release of forked-daapd.

gergan_penkov commented on 2017-05-27 10:32

The gperf-3.1 update changed the type of the generated parameters and forked-daapd does not build anymore (systemd fix Relevant patches could be found on github

I have created a pull request with the fix upstream