I cannot install nor build from source Zmusic in Arch linux.

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE/EDuke32/Raze? Did your computer break? Ask here.

Moderator: GZDoom Developers

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
xgoeshardcorex
Posts: 2
Joined: Tue Jun 20, 2023 6:00 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Arch

I cannot install nor build from source Zmusic in Arch linux.

Post by xgoeshardcorex »

Several months ago pamac (yay ect.) updated from gcc12 to gcc13. please address because I really don't want to downgrade yay and possible break my system just to install gzdoom. Especially since this occurred 6 months ago.
User avatar
Chris
Posts: 2945
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: I cannot install nor build from source Zmusic in Arch linux.

Post by Chris »

First thing to check, have you updated ZMusic to the latest Git version? If so, can you post the error output?
_mental_
 
 
Posts: 3814
Joined: Sun Aug 07, 2011 4:32 am

Re: I cannot install nor build from source Zmusic in Arch linux.

Post by _mental_ »

ZMusic 1.1.12 builds fine with GCC 13.1 on Ubuntu 22.04. Please do build into a new directory, and post complete output of CMake configure and actual build steps.
User avatar
-Stormwalker-
Posts: 15
Joined: Sun May 08, 2022 11:40 am

Re: I cannot install nor build from source Zmusic in Arch linux.

Post by -Stormwalker- »

I'm having this exact same issue, and like the OP I noticed that pamac updated from gcc12 to gcc13. This has not only affected GZDoom installation for me, but also SLADE installation. I am posting an output below:

Preparing...
Cloning gzdoom build files...
Generating gzdoom information...
Checking gzdoom dependencies...
Cloning zmusic build files...
Generating zmusic information...
Checking zmusic dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building zmusic...
==> Making package: zmusic 1.1.12-1 (Fri 23 Jun 2023 10:56:25 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found ZMusic-1.1.12.tar.gz
-> Found 0001-Use-correct-soundfont-path.patch
==> Validating source files with sha256sums...
ZMusic-1.1.12.tar.gz ... Passed
0001-Use-correct-soundfont-path.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting ZMusic-1.1.12.tar.gz with bsdtar
==> Starting prepare()...
/var/tmp/pamac-build-bobpage/zmusic/PKGBUILD: line 20: patch: command not found
==> ERROR: A failure occurred in prepare().
Aborting...
User avatar
axredneck
Posts: 358
Joined: Mon Dec 11, 2017 2:09 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Arch
Graphics Processor: nVidia with Vulkan support
Location: Russia

Re: I cannot install nor build from source Zmusic in Arch linux.

Post by axredneck »

Do you have base-devel installed?
User avatar
-Stormwalker-
Posts: 15
Joined: Sun May 08, 2022 11:40 am

Re: I cannot install nor build from source Zmusic in Arch linux.

Post by -Stormwalker- »

axredneck wrote: Fri Jun 23, 2023 10:42 am Do you have base-devel installed?
That was definitely the problem. Thanks for your advice!

Now I'm left wondering how base-devel came to be uninstalled in the first place... :?: :?:
User avatar
axredneck
Posts: 358
Joined: Mon Dec 11, 2017 2:09 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Arch
Graphics Processor: nVidia with Vulkan support
Location: Russia

Re: I cannot install nor build from source Zmusic in Arch linux.

Post by axredneck »

I guess it was never installed - it appeared in Arch only 5 months ago (https://archlinux.org/news/switch-to-th ... ervention/).
xgoeshardcorex
Posts: 2
Joined: Tue Jun 20, 2023 6:00 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Arch

Re: I cannot install nor build from source Zmusic in Arch linux.

Post by xgoeshardcorex »

axredneck wrote:
> Do you have base-devel installed?
Due to having to switch to another distro I wasn't able to reply as soon as I wanted. Anyways, like the other dude base-devel was the issue. Thank you for suggesting that!

Return to “Technical Issues”