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.

  • azron
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    10 months ago

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

    • SpiceDealer@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      10 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
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        10 months ago

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

    • SpiceDealer@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      10 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
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        10 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.