this post was submitted on 24 Jan 2024
18 points (95.0% liked)

Linux Gaming

15507 readers
592 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
 

I've tried to install gzdoom both through the terminal and GUI and both times it returns the same error: _==> ERROR: A failure occurred in prepare()._

The line of code before that says this: /var/tmp/pamac-build-[user]/zmusic/PKGBUILD: line 20: patch: command not found

I go to that file, open it in Mousepad and that specific line says this: patch -i "$srcdir"/0001-Use-correct-soundfont-path.patch -p 1

I go to that patch file and only mentions the file path for Ubuntu. I know that this makes me really dumb but I really help with this. Thanks in advance.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 11 months ago (2 children)

Install the "patch" package with pacman -S patch and try again.

[–] [email protected] 0 points 11 months ago (1 children)

Tried it. Everything was good until it returned a couple of errors.

First:

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindPkgConfig.cmake:99 (find_package_handle_standard_args) thirdparty/fluidsynth/src/CMakeLists.txt:157 (find_package)

-- Configuring incomplete, errors occurred! ==> ERROR: A failure occurred in build(). Aborting... -> Failed to install layer, rolling up to next layer.error:error making: zmusic - exit status 4

Second: Same as the first one

Third:

==> ERROR: Could not resolve all dependencies. -> error making: gzdoom-exit status 8 -> Failed to install the following packages. Manual intervention is required: zmusic - exit status 4 gzdoom - exit status

[–] stewie410 1 points 11 months ago

Looks like you need to manually install pkgbuild (mkpkg? Don't remember off hand) & zmusic.