Package Details: zmusic 1.1.12-1

Git Clone URL: (read-only, click to copy)
Package Base: zmusic
Description: GZDoom's music system as a standalone library
Upstream URL:
Licenses: GPL3, BSD, LGPL3, LGPL2.1, custom:dumb
Submitter: grubber
Maintainer: grubber
Last Packager: grubber
Votes: 23
Popularity: 0.58
First Submitted: 2020-02-12 18:36 (UTC)
Last Updated: 2023-05-11 05:36 (UTC)

Latest Comments

grubber commented on 2023-05-30 06:35 (UTC)

sixxgate: patch is a dependency of base-devel, which is assumed to be always installed, see

sixxgate commented on 2023-05-26 14:45 (UTC)

It seems patch isn't a build dependency and installing this is failing.

/var/tmp/pamac-build-matthew/zmusic/PKGBUILD: line 20: patch: command not found
==> ERROR: A failure occurred in prepare().

Shizumi commented on 2023-05-11 01:04 (UTC) (edited on 2023-05-11 01:05 (UTC) by Shizumi)

Package currently requires GCC 12 to build (Arch's gcc package is GCC 13).
AFAIK, upstream devs are aware, no ETA at this time.

PKGBUILD should be modified as follows:

  1. Add gcc12 to makedepends
makedepends=('cmake' 'gcc12')
  1. Add GCC env vars above cmake command (line 26)
export CC=gcc-12 CXX=g++-12

For newbies
1. git clone
2. cd zmusic
3. Modify PKGBUILD as outlined above
4. makepkg -si
(You may remove the zmusic directory and uninstall gcc12 if desired.)

smnpl commented on 2023-05-06 19:34 (UTC) (edited on 2023-05-09 18:05 (UTC) by smnpl)

Edit 2: First off, sorry for the confusion. I guess the current "solution" is even easier. GCC has recently been updated to v13 while this package currently only builds on gcc12. In order to successfully build zmusic currently one can install gcc12 from community and then, before starting to build zmusic within the same terminal session set the environment variables for gcc to 12..

So ...: 1) pacman -S gcc12 2) export CC=gcc-12 CXX=g++-12 3) build zmusic

The same of course works for AUR helpers.

In any case, I guess the package should be updated to the newest version which builds with gcc13.


Edit: So I managed to build and install zmusic by manually editing the package build. I've changed the package version from 1.1.11 to 1.1.12 (sha256 needed to be manually updated as well for the changed file that downloads). So I think this would be the update that the PKGBUILD needs.

git commit with version change:

Original message:

Hi, currently zmusic doesn't build. Error:

/home/username/.cache/yay/zmusic/src/ZMusic-1.1.11/thirdparty/timidityplus/timiditypp/../../../source/zmusic/fileio.h: In member function ‘virtual MusicIO::FileInterface MusicIO::SF2Reader::open_file(const char)’: /home/username/.cache/yay/zmusic/src/ZMusic-1.1.11/thirdparty/timidityplus/timiditypp/../../../source/zmusic/fileio.h:376:50: error: ‘uint8_t’ was not declared in this scope 376 | return new MemoryReader((uint8_t)mMainConfigForSF2.c_str(), (long)mMainConfigForSF2.length()); | ^~~~~~~ /home/username/.cache/yay/zmusic/src/ZMusic-1.1.11/thirdparty/timidityplus/timiditypp/../../../source/zmusic/fileio.h:376:50: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? /home/username/.cache/yay/zmusic/src/ZMusic-1.1.11/thirdparty/timidityplus/timiditypp/../../../source/zmusic/fileio.h:376:58: error: expected primary-expression before ‘)’ token 376 | return new MemoryReader((uint8_t)mMainConfigForSF2.c_str(), (long)mMainConfigForSF2.length()); | ^ make[2]: *** [thirdparty/timidityplus/CMakeFiles/timidityplus.dir/build.make:174: thirdparty/timidityplus/CMakeFiles/timidityplus.dir/instrum.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:422: thirdparty/timidityplus/CMakeFiles/timidityplus.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 make: Leaving directory '/home/username/.cache/yay/zmusic/src/ZMusic-1.1.11/build' ==> ERROR: A failure occurred in build(). Aborting...

mjr4077au commented on 2022-11-11 22:24 (UTC)

While fluidsynth is now internal, the internal fluidsynth still has a dependency on glib so ZMusic probably should as well, it may not be present on all systems.

<deleted-account> commented on 2022-03-25 01:03 (UTC)

Hi, is it possible you can add 'aarch64' to the architectures list? ZMusic and GZDoom build and work fine on aarch64 (Arch Linux ARM) as well.

krompus commented on 2021-08-20 17:16 (UTC)

@vox I had this issue up until today, turns out I needed to update my mirrorlist as the one I was synced to was a little out of date, and still had fluidsynth 2.1, while this AUR package was waiting for >=2.2

vox commented on 2021-08-05 23:29 (UTC)

having trouble installing. It says: - unable to satisfy dependency 'fluidsynth>=2.2' required by zmusic