tltr: Package base-devel
was missing.
Hi Manjaro users,
after using Debian for many years I wanted to try a Rolling Release distribution to avoid dist upgrade sessions. Unfortunately my favorite music player moc
is not in the official package sources so I tried to install it using the arch wiki instructions (sorry, I’m not allowed to post links).
I’m not familiar with installing AUR packages and had several errors caused by missing packages (patch
, autoconf
, automake
and libtool
) so my question is: How do I find out which additional packages an AUR package needs to be built without trial & error?
My second question is:
$ yay -S moc-pulse
AUR Explicit (1): moc-pulse-2.5.2-12
:: PKGBUILD up to date, skipping download: moc-pulse
1 moc-pulse (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/anon647/.cache/yay/moc-pulse
HEAD is now at 622bb9a move pulseaudio to optdepends
Removing moc-2.5.2.tar.bz2
Removing src/
1 moc-pulse (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
==> Making package: moc-pulse 2.5.2-12 (Mi 31 Jul 2024 00:06:51 CEST)
==> Retrieving sources...
-> Downloading moc-2.5.2.tar.bz2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 588k 100 588k 0 0 1202k 0 --:--:-- --:--:-- --:--:-- 1201k
-> Found pulseaudio.patch
-> Found moc-ffmpeg4.patch
-> Found moc-https.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha1sums...
moc-2.5.2.tar.bz2 ... Passed
pulseaudio.patch ... Passed
moc-ffmpeg4.patch ... Passed
moc-https.patch ... Passed
:: (1/1) Parsing SRCINFO: moc-pulse
==> Making package: moc-pulse 2.5.2-12 (Mi 31 Jul 2024 00:06:52 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found moc-2.5.2.tar.bz2
-> Found pulseaudio.patch
-> Found moc-ffmpeg4.patch
-> Found moc-https.patch
==> Validating source files with sha1sums...
moc-2.5.2.tar.bz2 ... Passed
pulseaudio.patch ... Passed
moc-ffmpeg4.patch ... Passed
moc-https.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting moc-2.5.2.tar.bz2 with bsdtar
==> Starting prepare()...
patching file decoder_plugins/ffmpeg/ffmpeg.c
Hunk #1 succeeded at 984 (offset 287 lines).
Hunk #2 succeeded at 993 with fuzz 2 (offset 288 lines).
Hunk #3 succeeded at 1025 (offset 300 lines).
patching file files.c
patching file audio.c
Hunk #2 succeeded at 895 (offset -1 lines).
patching file configure.in
Hunk #1 succeeded at 185 (offset 23 lines).
patching file options.c
patching file pulse.c
patching file pulse.h
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:394: error: macro PKG_CHECK_EXISTS is not defined; is a m4 file missing?
m4/ax_require_defined.m4:35: AX_REQUIRE_DEFINED is expanded from...
m4/ax_with_curses.m4:197: _FIND_CURSES_FLAGS is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
m4/ax_with_curses.m4:250: AX_WITH_CURSES is expanded from...
configure.in:394: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
aclocal: error: /usr/bin/autom4te failed with exit status: 1
autoreconf: error: aclocal failed with exit status: 1
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: moc-pulse-exit status 4
-> Failed to install the following packages. Manual intervention is required:
moc-pulse - exit status 4
$
What stops the build process here?