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@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    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.