Package Details: mpdscribble 0.23-3

Git Clone URL: https://aur.archlinux.org/mpdscribble.git (read-only, click to copy)
Package Base: mpdscribble
Description: MPD client which submits track info to {Libre,Last}.fm
Upstream URL: https://github.com/MusicPlayerDaemon/mpdscribble
Licenses: GPL
Submitter: xyproto
Maintainer: jasonwryan
Last Packager: jasonwryan
Votes: 63
Popularity: 2.00
First Submitted: 2013-10-07 20:44
Last Updated: 2020-09-16 07:30

Latest Comments

1 2 3 4 Next › Last »

hexchain commented on 2020-11-12 18:03

The systemd service files seem to contain invalid paths.

EDIT: it seems to be my problem - sorry

WorMzy commented on 2020-09-21 19:23

'systemd-libs' doesn't contain the requisite /usr/share/pkgconfig/systemd.pc, 'systemd' does. base isn't installed in a devtools clean chroot, although thinking about it, it seems like an oversight if the new base package is meant to be present in all Arch systems.

grandchild commented on 2020-09-15 09:40

Oh, while we're at it -- I regularly use mpdscribble on aarch64! So you can add that to the arch list as well.

grandchild commented on 2020-09-15 09:35

Ah, systemd-libs is neither a dependency of base nor base-devel -- so technically systemd is present but not libsystemd.

So yeah, makedepends should include systemd-libs.

WorMzy commented on 2020-09-15 09:13

That's what I'm saying -- systemd isn't present in a devtools clean chroot so the systemd stuff is disabled. Adding systemd to the makedeps would ensure it's present.

jasonwryan commented on 2020-09-13 23:07

Hi WorMzy,

systemd is the only supported init. If people are not using it, I am sure they can work out how to build a music scrobbler without it.

Cheers.

WorMzy commented on 2020-09-13 21:29

package() fails in a clean chroot due to missing libsystemd in prepare():

==> Extracting sources...
  -> Extracting v0.23.tar.gz with bsdtar
==> Starting prepare()...
The Meson build system
Version: 0.55.3
Source dir: /build/mpdscribble/src/mpdscribble-0.23
Build dir: /build/mpdscribble/src/mpdscribble-0.23/build
Build type: native build
Project name: mpdscribble
Project version: 0.23
C++ compiler for the host machine: c++ (gcc 10.2.0 "c++ (GCC) 10.2.0")
C++ linker for the host machine: c++ ld.bfd 2.35
Host machine cpu family: x86_64
Host machine cpu: x86_64
Checking for function "syslog" : YES 
Run-time dependency threads found: YES
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency Boost found: YES 1.72.0 (/usr)
Run-time dependency libmpdclient found: YES 2.19
Run-time dependency libgcrypt found: YES 1.8.6
Run-time dependency libcurl found: YES 7.72.0
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libsystemd found: NO (tried pkgconfig and cmake)
Compiler for C++ supports arguments -Wno-deprecated-declarations -Wdeprecated-declarations: YES 
Compiler for C++ supports arguments -Wshadow: YES 
Compiler for C++ supports arguments -Wpointer-arith: YES 
Compiler for C++ supports arguments -Wcast-qual: YES 
Compiler for C++ supports arguments -Wcast-align: YES 
Compiler for C++ supports arguments -Wwrite-strings: YES 
Compiler for C++ supports arguments -Wmissing-declarations: YES 
Compiler for C++ supports arguments -Wmissing-noreturn: YES 
Compiler for C++ supports arguments -Wmissing-format-attribute: YES 
Compiler for C++ supports arguments -Wredundant-decls: YES 
Compiler for C++ supports arguments -Wundef: YES 
Compiler for C++ supports arguments -Wno-missing-field-initializers -Wmissing-field-initializers: YES 
Compiler for C++ supports arguments -Wno-non-virtual-dtor -Wnon-virtual-dtor: YES 
Compiler for C++ supports arguments -fvisibility=hidden: YES 
Configuring config.h using configuration
Build targets in project: 1

Found ninja-1.10.1 at /usr/bin/ninja
==> Starting build()...
Directory already configured.

Just run your build command (e.g. ninja) and Meson will regenerate as necessary.
If ninja fails, run "ninja reconfigure" or "meson --reconfigure"
to force Meson to regenerate.

If build failures persist, run "meson setup --wipe" to rebuild from scratch
using the same options as passed when configuring the build.
To change option values, run "meson configure" instead.
ninja: Entering directory `build'
[1/23] Compiling C++ object mpdscribble.p/src_Protocol.cxx.o
[2/23] Compiling C++ object mpdscribble.p/src_Form.cxx.o
[3/23] Compiling C++ object mpdscribble.p/src_lib_curl_Init.cxx.o
[4/23] Compiling C++ object mpdscribble.p/src_Daemon.cxx.o
[5/23] Compiling C++ object mpdscribble.p/src_CommandLine.cxx.o
[6/23] Compiling C++ object mpdscribble.p/src_util_StringStrip.cxx.o
[7/23] Compiling C++ object mpdscribble.p/src_lib_curl_Escape.cxx.o
[8/23] Compiling C++ object mpdscribble.p/src_util_PrintException.cxx.o
[9/23] Compiling C++ object mpdscribble.p/src_Journal.cxx.o
[10/23] Compiling C++ object mpdscribble.p/src_Log.cxx.o
[11/23] Compiling C++ object mpdscribble.p/src_util_StringView.cxx.o
[12/23] Compiling C++ object mpdscribble.p/src_util_Exception.cxx.o
[13/23] Compiling C++ object mpdscribble.p/src_util_OptionParser.cxx.o
[14/23] Compiling C++ object mpdscribble.p/src_ReadConfig.cxx.o
[15/23] Compiling C++ object mpdscribble.p/src_IniFile.cxx.o
[16/23] Compiling C++ object mpdscribble.p/src_lib_curl_Request.cxx.o
[17/23] Compiling C++ object mpdscribble.p/src_MultiScrobbler.cxx.o
[18/23] Compiling C++ object mpdscribble.p/src_Main.cxx.o
[19/23] Compiling C++ object mpdscribble.p/src_Scrobbler.cxx.o
[20/23] Compiling C++ object mpdscribble.p/src_lib_curl_Global.cxx.o
[21/23] Compiling C++ object mpdscribble.p/src_MpdObserver.cxx.o
[22/23] Compiling C++ object mpdscribble.p/src_Instance.cxx.o
[23/23] Linking target mpdscribble
Found runner: ['/usr/bin/ninja']
==> Entering fakeroot environment...
==> Starting package()...
ninja: Entering directory `build'
ninja: no work to do.
Installing mpdscribble to /build/mpdscribble/pkg/mpdscribble/usr/bin
Installing /build/mpdscribble/src/mpdscribble-0.23/doc/mpdscribble.1 to /build/mpdscribble/pkg/mpdscribble/usr/share/man/man1
Installing /build/mpdscribble/src/mpdscribble-0.23/AUTHORS to /build/mpdscribble/pkg/mpdscribble/usr/share/doc/mpdscribble
Installing /build/mpdscribble/src/mpdscribble-0.23/COPYING to /build/mpdscribble/pkg/mpdscribble/usr/share/doc/mpdscribble
Installing /build/mpdscribble/src/mpdscribble-0.23/NEWS to /build/mpdscribble/pkg/mpdscribble/usr/share/doc/mpdscribble
Installing /build/mpdscribble/src/mpdscribble-0.23/README.rst to /build/mpdscribble/pkg/mpdscribble/usr/share/doc/mpdscribble
Installing /build/mpdscribble/src/mpdscribble-0.23/doc/mpdscribble.conf to /build/mpdscribble/pkg/mpdscribble/etc
install: cannot stat 'build/systemd/system/mpdscribble.service': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
==> ERROR: Build failed, check /scratch/chroot64/build/build

Works fine if you add systemd to the makedepends.

namcap also points out that the source tarball should be renamed, and the finished package also contains an empty /etc (since you're removing the mpdscribble.conf file but not the directory):

Checking PKGBUILD
PKGBUILD (mpdscribble) W: Non-unique source name (v0.23.tar.gz). Use a unique filename.
Checking mpdscribble-0.23-2-x86_64.pkg.tar.zst
mpdscribble W: ELF file ('usr/bin/mpdscribble') lacks FULL RELRO, check LDFLAGS.
mpdscribble W: Directory (etc) is empty

grandchild commented on 2020-09-08 08:33

@jasonwryan cool, thanks for the quick fix! :)

keithspg commented on 2020-09-08 00:18

The PKGBUILD has this as arch=('any'). Doesn't this need to be built for each architecture? The previous PKGBUILD had x86_64, armv6h, armv7h and aarch64 that I have built and installed. Am I missing something? https://wiki.archlinux.org/index.php/PKGBUILD#arch

grandchild commented on 2020-09-07 10:18

And while you're at it: Consider changing from md5sums to sha256sums. It's not really critical, but there's also no point in using outdated hash methods.