Package Details: mpd-light 0.22.6-1

Git Clone URL: https://aur.archlinux.org/mpd-light.git (read-only, click to copy)
Package Base: mpd-light
Description: Flexible, powerful, server-side application for playing music. Light version without ao, ffmpeg, jack, modplug, pulse, shout, sidplay, soundcloud, wavpack, avahi, smbclient and zziplib support.
Upstream URL: https://www.musicpd.org/
Licenses: GPL2
Conflicts: mpd
Provides: mpd=0.22.6
Replaces: mpd
Submitter: OK100
Maintainer: TZ86
Last Packager: TZ86
Votes: 10
Popularity: 0.024169
First Submitted: 2012-02-17 18:03
Last Updated: 2021-03-19 07:24

Required by (46)

Sources (3)

Latest Comments

1 2 3 Next › Last »

BachoSeven commented on 2021-05-12 20:44

Build is failing because of a dependency conflict for Sphynx(last part, when building documentation):

[594/599] Generating HTML documentation with a custom command
FAILED: doc/html
/usr/bin/sphinx-build -q -b html -d doc/doctrees /home/fra/.cache/paru/clone/mpd-light/src/mpd-0.22.6/doc doc/html
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 568, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 886, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 777, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (Jinja2 3.0.0 (/usr/lib/python3.9/site-packages), Requirement.parse('Jinja2<3.0,>=2.3'), {'Sphinx'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/sphinx-build", line 33, in <module>
    sys.exit(load_entry_point('Sphinx==4.0.1', 'console_scripts', 'sphinx-build')())
  File "/usr/bin/sphinx-build", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 855, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/sphinx/cmd/build.py", line 25, in <module>
    from sphinx.application import Sphinx
  File "/usr/lib/python3.9/site-packages/sphinx/application.py", line 25, in <module>
    from docutils.parsers.rst import Directive, roles
  File "/usr/lib/python3.9/site-packages/docutils/parsers/rst/__init__.py", line 75, in <module>
    from docutils.parsers.rst import roles, states
  File "/usr/lib/python3.9/site-packages/docutils/parsers/rst/roles.py", line 78, in <module>
    from docutils.utils.code_analyzer import Lexer, LexerError
  File "/usr/lib/python3.9/site-packages/docutils/utils/code_analyzer.py", line 12, in <module>
    from pkg_resources import DistributionNotFound as ResourceError
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3243, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Jinja2<3.0,>=2.3' distribution was not found and is required by Sphinx
[596/599] Generating Manpage documentation with a custom command
FAILED: doc/mpd.1 doc/mpd.conf.5
/usr/bin/sphinx-build -q -b man -d doc/man_doctrees /home/fra/.cache/paru/clone/mpd-light/src/mpd-0.22.6/doc doc
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 568, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 886, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 777, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (Jinja2 3.0.0 (/usr/lib/python3.9/site-packages), Requirement.parse('Jinja2<3.0,>=2.3'), {'Sphinx'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/sphinx-build", line 33, in <module>
    sys.exit(load_entry_point('Sphinx==4.0.1', 'console_scripts', 'sphinx-build')())
  File "/usr/bin/sphinx-build", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
 File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 855, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/sphinx/cmd/build.py", line 25, in <module>
    from sphinx.application import Sphinx
  File "/usr/lib/python3.9/site-packages/sphinx/application.py", line 25, in <module>
    from docutils.parsers.rst import Directive, roles
  File "/usr/lib/python3.9/site-packages/docutils/parsers/rst/__init__.py", line 75, in <module>
    from docutils.parsers.rst import roles, states
  File "/usr/lib/python3.9/site-packages/docutils/parsers/rst/roles.py", line 78, in <module>
    from docutils.utils.code_analyzer import Lexer, LexerError
  File "/usr/lib/python3.9/site-packages/docutils/utils/code_analyzer.py", line 12, in <module>
    from pkg_resources import DistributionNotFound as ResourceError
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3243, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Jinja2<3.0,>=2.3' distribution was not found and is required by Sphinx
[598/599] Compiling C++ object mpd.p/src_db_update_Archive.cxx.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'mpd-light-0.22.6-1':

LiteracyFanatic commented on 2019-10-14 08:27

No, mpg123 was not installed when I built the package.

TZ86 commented on 2019-10-14 07:20

@LiteracyFanatic

Is it possible you've mpg123 installed when you built that package?

LiteracyFanatic commented on 2019-10-14 04:27

I installed the package and started the user unit file for mpd. I received the following error in the journal.

/usr/bin/mpd: error while loading shared libraries: libmpg123.so.0: cannot open shared object file: No such file or directory

Installing mpg123 fixed it. Not sure if the package acutally needs to be added as a dependency or if there is a ./configure option or something that would make it work without it.

TZ86 commented on 2018-01-06 08:37

@cu6apum

Just add --disable-lsr, --disable-soxr, --disable-sqlite and --disable-nfs configure options to your PKGBUILD, and don't forgot to remove redundant depends. You're always can unpack source tarball, check ./configure --help for options which you don't need, then replace "enable" with "disable" and add them to PKGBUILD.

https://pastebin.com/BFJVMdJz

cu6apum commented on 2018-01-05 21:33

Hi there. Wonderful!!! A great fork of a nice but very fat daemon. Is there any way to cut out samplerate/soxr things and sqlite/nfs (assumed they're not needed for renderer-only purpose, no local content)?

Many thanks from a newbie.

TZ86 commented on 2016-12-25 06:31

@jpoppe
Done.

jpoppe commented on 2016-12-24 21:22

Could you please add 'armv7h' to the arch field so it will work with the later Raspberry models, thanks!

kvigor commented on 2015-09-25 15:49

The regular MPD package has started segfaulting in libsmbclient on my Raspberry Pi, so I installed this package. To do so, I had to add 'armv6h' to the arch field in PKGBUILD. Based on my experience, it works just fine and you can add it to the supported architectures.

Also, I note that while your description says smbclient is excluded, the config script will actually include it if libsmbclient happens to be installed on your system. I fixed this by explicitly adding --disable-smbclient to the configure call in PKGBUILD. I don't know if you would want to add this or not, but it made my life better.

Thanks for the build, solved my problem!

TZ86 commented on 2014-11-09 07:45

@ava1ar
Just rebuild the package.