@brucehsieh Yes, I have the same problem. That's why I did not update the PKGBUILD in the repository. Now I do not have a powerful PC for debugging and rebuilding mpd. One compilation takes about 40-50 minutes on my hardware. Sorry.
Search Criteria
Package Details: mpd-sacd 0.25-8
Package Actions
| Git Clone URL: | https://aur.archlinux.org/mpd-sacd.git (read-only, click to copy) |
|---|---|
| Package Base: | mpd-sacd |
| Description: | MPD with patches for SACD and DVD-A ISO playback. |
| Upstream URL: | https://github.com/manisiutkin/MPD |
| Keywords: | dsd dvda mpd sacd |
| Licenses: | GPL-2.0-or-later |
| Conflicts: | mpd |
| Provides: | mpd |
| Submitter: | melvinvermeeren |
| Maintainer: | dewdude |
| Last Packager: | dewdude |
| Votes: | 8 |
| Popularity: | 0.000013 |
| First Submitted: | 2016-02-08 18:52 (UTC) |
| Last Updated: | 2026-03-16 01:35 (UTC) |
Dependencies (66)
- adplugAUR (adplug-gitAUR)
- alsa-lib
- audiofile (audiofile-gitAUR)
- avahi
- bzip2 (bzip2-gitAUR)
- chromaprint (chromaprint-fftwAUR, chromaprint-fftw-llvmAUR)
- curl (curl-gitAUR, curl-c-aresAUR)
- dbus (dbus-gitAUR, dbus-selinuxAUR, dbus-nosystemd-gitAUR)
- expat (expat-gitAUR)
- faad2 (faad2-gitAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-amd-full-gitAUR, librempeg-gitAUR, ffmpeg-whisper-gitAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR, ffmpeg-cuda-fullAUR, ffmpeg-fullAUR, ffmpeg-full-llvmAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-headlessAUR, ffmpeg-whisperAUR)
- flac (flac-gitAUR)
- fluidsynth (fluidsynth-gitAUR)
- fmt (fmt-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-eacAUR, glibc-git-native-pgoAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- icu (icu-gitAUR)
- jack2 (jack2-gitAUR, jack2-gitAUR, pipewire-jack-gitAUR)
- lame (lame-svnAUR, lame-altivecAUR)
- Show 46 more dependencies...
Required by (63)
- cantata (requires mpd) (optional)
- cantata-git (requires mpd) (optional)
- cantata-legacy (requires mpd) (optional)
- conkyluanv-autoscale-fixed (requires mpd) (optional)
- davis (requires mpd) (optional)
- dmscripts-git (requires mpd) (optional)
- emms-git (requires mpd) (optional)
- euphonica (requires mpd)
- evad (requires mpd)
- evad-svn (requires mpd)
- go-musicfox (requires mpd) (optional)
- impd-git (requires mpd)
- inori (requires mpd)
- kunst-git (requires mpd)
- mcg (requires mpd) (optional)
- mixramp (requires mpd) (optional)
- mmtc (requires mpd)
- moped (requires mpd)
- mpd-rich-presence-bin (requires mpd)
- mpdcovergrabber-git (requires mpd)
- Show 43 more...
Sources (4)
mo3r commented on 2020-11-09 13:23 (UTC)
brucehsieh commented on 2020-11-09 13:10 (UTC)
@mo3r Your PKGBUILD can build the mpd-sacd package successfully but the mpd crashes on the update and rescan operations.
melvinvermeeren commented on 2020-10-27 03:19 (UTC)
@mo3r Added you as a co-maintainer if that's ok with you, don't have access to an arch system right now. Thanks!
mo3r commented on 2020-10-27 01:25 (UTC) (edited on 2020-10-27 02:02 (UTC) by mo3r)
@melvinvermeeren Hi, please update PKGBUILD
# Maintainer: Melvin Vermeeren <mail@mel.vin>
pkgname=mpd-sacd
pkgver=0.23~git
pkgrel=1
pkgdesc='MPD with patches for SACD and DVDA ISO playback.'
url='https://sourceforge.net/p/sacddecoder/mpd/MPD.git/ci/master/tree/'
license=('GPL')
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2'
'sqlite' 'jack' 'libmms' 'wavpack' 'avahi' 'libid3tag' 'yajl' 'libmpdclient'
'icu' 'libupnp' 'libnfs' 'libsamplerate' 'libsoxr' 'smbclient' 'libcdio-paranoia'
'libgme' 'zziplib' 'fluidsynth' 'libmikmod' 'wildmidi')
makedepends=('boost' 'meson' 'python-sphinx' 'clang' 'ninja')
conflicts=('mpd')
provides=("mpd=${pkgver}")
source=('mpd::git+https://git.code.sf.net/p/sacddecoder/mpd/MPD.git#commit=ad585e179f900ce1038c8a026182a8201d19474c'
'sysusers.d'
'tmpfiles.d'
'conf')
sha1sums=('SKIP'
'7c7de7b30c6c8e1c705dd415692f6a08a3f62c82'
'd82864959d1a1a07bf75d87c7586dbb713892f3a'
'291fd5cda9f0845834a553017327c4586bd853f6')
backup=('etc/mpd.conf')
prepare() {
cd "${srcdir}/mpd"
rm -rf build
install -d build
}
build() {
cd "${srcdir}/mpd/build"
_opts=('-Ddocumentation=enabled'
'-Dstrip=true'
'-Dchromaprint=disabled' # appears not to be used for anything
'-Dsidplay=disabled' # unclear why but disabled in the past
'-Dadplug=disabled' # not in an official repo
'-Dsndio=disabled' # interferes with detection of alsa devices
'-Dshine=disabled' # not in an official repo
'-Dtremor=disabled' # not in official repo
'-Dcdio_paranoia=enabled'
'-Diso9660=enabled'
'-Djack=enabled'
'-Dlibmpdclient=enabled'
'-Dpipe=true'
'-Dpulse=enabled'
'-Dsoundcloud=enabled'
'-Dzzip=enabled'
'-Dsacdiso=true'
'-Ddvdaiso=true'
'-Diconv=enabled'
'-Dc_std=c99'
'-Dcpp_std=c++17'
)
env CC=clang CXX=clang++ arch-meson .. ${_opts[@]}
ninja
}
package() {
cd "${srcdir}/mpd/build"
DESTDIR="${pkgdir}" ninja install
install -Dm644 ../doc/mpdconf.example "${pkgdir}"/usr/share/doc/mpd/mpdconf.example
install -Dm644 doc/mpd.conf.5 "${pkgdir}"/usr/share/man/man5/mpd.conf.5
install -Dm644 doc/mpd.1 "${pkgdir}"/usr/share/man/man1/mpd.1
install -Dm644 ../../sysusers.d "${pkgdir}"/usr/lib/sysusers.d/mpd.conf
install -Dm644 ../../conf "${pkgdir}"/etc/mpd.conf
install -Dm644 ../../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mpd.conf
sed \
-e '/\[Service\]/a User=mpd' \
-e '/WantedBy=/c WantedBy=default.target' \
-i "${pkgdir}"/usr/lib/systemd/system/mpd.service
}
melvinvermeeren commented on 2020-10-06 14:14 (UTC)
Hi, I don't think I'll be able to check this out and fix it anytime soon. Would it work for you if I add you as a co-maintainer so you can push some fixes?
brucehsieh commented on 2020-10-06 09:37 (UTC)
This package doesn't work.
https://git.code.sf.net/p/sacddecoder/mpd/MPD.git#commit=3a0c90a1155ecfd2eb57e172818153c1c95ec363
This version has compiling errors.
https://git.code.sf.net/p/sacddecoder/mpd/MPD.git
The mater branch has linking errors.
brucehsieh commented on 2019-11-16 06:56 (UTC)
It needs to be patched. For your reference.
https://github.com/MusicPlayerDaemon/MPD/commit/818b7e0641f25f55c46bf654d8edb7911c10d584
mistic commented on 2019-01-06 22:58 (UTC)
Hi
Great!!!. Now all works fine... And last but not least, I have been able to understand, where the fault came from...
Best regards and thank's a lot again
melvinvermeeren commented on 2019-01-04 05:05 (UTC) (edited on 2019-01-06 13:27 (UTC) by melvinvermeeren)
Edit: fixed upstream also in 0.21.5-1
src/lib/sacdiso/sacd_dsdiff.cpp:464
id3_byte_t* dsdid3 = (id3_byte_t*)&id3tags[_track_index].data[0];
With some odd/malformed tags, this may be NULL. the crash happens after when id3_tag_parse() is called with this NULL value.
id3_byte_t* dsdid3 = (id3_byte_t*)&id3tags[_track_index].data[0];
if (dsdid3 == nullptr) {
return;
}
I simply changed it to this and this time the database finished updating properly with 0.21.4-1, skipping the poor tag causing the issue. I will notify upstream about this bug tomorrow.
@mistic can you check if your error is the same if you run with mpd --no-daemon --stderr --verbose?
Pinned Comments
dewdude commented on 2026-03-16 02:31 (UTC)
We're up to -8 now. If you noticed you skipped a few releases; you're right. Here's what happened:
The fork source moved from sourceforge to github. We had a new dependency. I fixed additional dependencies to enable more features. I had to tweak the PKGBUILD due to repo change.
-5, -6, and -7 were non-functioning PKGBUILDS due to having missed declared paths. Additionally, -5 had a dependency for shine that I later removed.
Things enabled:
SidPlay & AdPlug
I had issues with these last year when I tried them because....my testing for dependencies didn't check AUR.
The only things remaining disabled from when I adopted this are: sndio, tremor, shine. sndio was still causing issues with ALSA last I tried. Tremor and Shine are floating-point decoders for Vorbis and MP3; which we really don't need.
dewdude commented on 2026-02-03 15:38 (UTC)
FYI,
This fork sees infrequent updates. I have not had to force a rebuild in several months. Please do not let a lack of activity indicate abandonment. I use this myself and notice within a day or two of big system updates if it breaks. Poke me at my email if you notice it breaks before I do and I'll get on it. Sometimes I'm lazy getting pacman to do it's thing.
Archttila commented on 2024-04-28 17:34 (UTC) (edited on 2024-05-01 14:10 (UTC) by Archttila)
Please do not mark the package as out of date, because mpd-sacd is a fork of regular MPD