too long lines were shrinked: [351/549] x86_64-pc-linux-gnu-g++ -Isrc/decoder/plugins/libdecoder_plugins.a.p -Isrc/decoder/plugins -I../mpd-0.23.13/src/decoder/plugins -Isrc -I../mpd-0.23.13/src -I. -I../mpd-0.23.13 -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -ffast-math -ftree-vectorize -Wcast-q [352/549] x86_64-pc-linux-gnu-g++ -Isrc/decoder/plugins/libdecoder_plugins.a.p -Isrc/decoder/plugins -I../mpd-0.23.13/src/decoder/plugins -Isrc -I../mpd-0.23.13/src -I. -I../mpd-0.23.13 -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -ffast-math -ftree-vectorize -Wcast-q [353/549] x86_64-pc-linux-gnu-g++ -Isrc/decoder/plugins/libdecoder_plugins.a.p -Isrc/decoder/plugins -I../mpd-0.23.13/src/decoder/plugins -Isrc -I../mpd-0.23.13/src -I. -I../mpd-0.23.13 -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -ffast-math -ftree-vectorize -Wcast-q FAILED: src/decoder/plugins/libdecoder_plugins.a.p/FfmpegIo.cxx.o x86_64-pc-linux-gnu-g++ -Isrc/decoder/plugins/libdecoder_plugins.a.p -Isrc/decoder/plugins -I../mpd-0.23.13/src/decoder/plugins -Isrc -I../mpd-0.23.13/src -I. -I../mpd-0.23.13 -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -ffast-math -ftree-vectorize -Wcast-qual -Wdoub ../mpd-0.23.13/src/decoder/plugins/FfmpegIo.cxx: In member function int AvioStream::Read(void*, int): ../mpd-0.23.13/src/decoder/plugins/FfmpegIo.cxx:44:24: error: AVERROR_EOF was not declared in this scope 44 | return AVERROR_EOF; | ^~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib-20231127-152538 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.6 Available Rust versions: [1] rust-bin-1.73.0 * The following VMs are available for generation-2: 1) OpenJDK 17.0.8.1_p1 [openjdk-17] 2) OpenJDK 21.0.1_p12 [openjdk-21] 3) OpenJDK 8.382_p05 [openjdk-8] 4) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] Available Java Virtual Machines: [1] openjdk-8 [2] openjdk-17 [3] openjdk-21 [4] openjdk-bin-17 [5] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.21.4 linux/amd64 HEAD of ::gentoo commit 10538a3c85d0e157c14cd8f065b06b9a9c39ae1e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Dec 1 03:47:55 2023 +0000 2023-12-01 03:47:53 UTC emerge -qpvO media-sound/mpd [ebuild N ] media-sound/mpd-0.23.13 USE="alsa audiofile bzip2 cue curl dbus eventfd ffmpeg fifo icu id3tag inotify mad network udisks zlib -ao -cdio -chromaprint -doc -expat -faad -flac -fluidsynth -gme -jack -lame -libmpdclient -libsamplerate -libsoxr -mikmod -mms -modplug -mpg123 -musepack -nfs -openal -openmpt -opus -oss -pipe -pipewire -pulseaudio -qobuz -recorder -samba (-selinux) -sid -signalfd -snapcast -sndfile -sndio -soundcloud -sqlite -systemd -test -twolame -upnp -vorbis -wavpack -webdav -wildmidi -zeroconf -zip"
Created attachment 876121 [details] emerge-info.txt
Created attachment 876122 [details] emerge-history.txt
Created attachment 876123 [details] environment
Created attachment 876124 [details] etc.clang.tar.xz
Created attachment 876125 [details] etc.portage.tar.xz
Created attachment 876126 [details] logs.tar.xz
Created attachment 876127 [details] media-sound:mpd-0.23.13:20231201-052901.log.xz
Created attachment 876128 [details] qlist-info.txt.xz
Created attachment 876129 [details] temp.tar.xz
Created attachment 876217 [details, diff] mpd-0.23.13-add-ffmpeg-error-include.patch I've also bumped into this bug a couple of times as of late. Apparently the proper define -- at least as of whatever version of media-libs/ffmpeg:6.1 I've got on my remote box -- lives in `/usr/include/libavutil/error.h'. I just checked on my desktop as well and the same applies to =ffmpeg-4.4.4-r8: the define lives in that same header. Attached is a patch that fixes the build on my machine. The server also seems to output audio just fine over the network.
Oh, upstream has already dealt with this in their own source tree too: https://github.com/MusicPlayerDaemon/MPD/commit/50c1e3738a672f933560247b5527d365d17b1c02
I think this one is a dupe of bug 918421. *** This bug has been marked as a duplicate of bug 918421 ***