18

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.

top 8 comments
sorted by: hot top controversial new old
[-] azron@lemmy.ml 6 points 5 months ago

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

[-] SpiceDealer@lemmy.world 0 points 5 months ago

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@programming.dev 1 points 5 months ago

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

[-] yum13241@lemm.ee 3 points 5 months ago

Manjaro borks with AUR packages again. Install the flatpak, or switch to a different distro like EndeavorOS or Garuda.

https://manjarno.pages.dev

[-] plague_sapiens@lemmy.world 0 points 5 months ago* (last edited 5 months ago)
[-] SpiceDealer@lemmy.world 0 points 5 months ago

In the first forum post, the user having the same problem as I didn't have base-devel installed and presumably neither did I. I go to intall and it returns this error:

archlinuxfr.db failed to download error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : The requested URL returned error: 404 error: failed to synchronize all databases (failed to retrieve some files)

The second forum suggest that I have to compile ZMusic. I do that and get this error:

fatal: destination path 'ZMusic' already exists and is not an empty directory. mkdir: cannot create directory ‘ZMusic/build’: File exists VGM/GYM: Nuked OPN2 emulator will be used 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! make: Makefile: No such file or directory make: *** No rule to make target 'Makefile'. Stop.

[-] Laavu@sopuli.xyz 0 points 5 months ago

Have you tried the fixes in the comments of this page?

https://aur.archlinux.org/packages/gzdoom

I find the comments in the AUR package page the best source of information to debug AUR issues.

Anyway, if you don't want to use exactly that AUR package, there are multiple ways to install gzdoom witch some may be easier to install. You many different packages come up when you search gzdoom.

And what comes to other options, for Steam users there is luxtorpeda that integrates with Steam. Lutris users have their gzdoom runner. For the rest there is flatpak version available.

[-] eldain@feddit.nl 0 points 5 months ago

Do a pacman -Syyu before you continue.

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

Linux Gaming

14324 readers
23 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 1 year ago
MODERATORS