Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: deepforest on 10 May 2024, 04:32:36

Title: How get Quake World client at Artix?
Post by: deepforest on 10 May 2024, 04:32:36
qzQuake from AUR or source build gives error
Code: [Select]
[CC] .ezquake/src/sv_mod_frags.o
src/sv_mod_frags.c: In function ‘parse_mod_string’:
src/sv_mod_frags.c:181:51: error: passing argument 1 of ‘pcre2_substring_list_free_8’ from incompatible pointer type [-Wincompatible-pointer-types]
  181 |                         pcre2_substring_list_free((const PCRE2_UCHAR8**)buf);
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                   |
      |                                                   const PCRE2_UCHAR8 ** {aka const unsigned char **}
In file included from src/sv_mod_frags.c:33:
/usr/include/pcre2.h:949:1: note: expected ‘PCRE2_UCHAR8 **’ {aka ‘unsigned char **’} but argument is of type ‘const PCRE2_UCHAR8 **’ {aka ‘const unsigned char **’}
  949 | PCRE2_TYPES_STRUCTURES_AND_FUNCTIONS
      | ^
make: *** [Makefile:630: .ezquake/src/sv_mod_frags.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
home:[freeartist-artix]:/tmp/ezquake$
nQuake AppImage run error
Fuse2 installed
Code: [Select]
home:[freeartist-artix]:~/nquake$ ./ezQuake-x86_64.AppImage
executing with native libc
Received signal 4, exiting...

home:[freeartist-artix]:~/nquake$
Title: Re: How get Quake World client at Artix?
Post by: deepforest on 12 May 2024, 02:37:09
after downgrading gcc to 13.2.1 ezquake from AUR building well
but nQuake AppImage still not start
Title: Re: How get Quake World client at Artix?
Post by: ####### on 12 May 2024, 04:42:19
nquake is in the AUR, perhaps that would work if the appimage doesn't, don't know, but there are no recent posts on the page reporting problems:
https://aur.archlinux.org/packages/nquake (https://aur.archlinux.org/packages/nquake)
Native repo or AUR  packages are usually a better option than things like appimages, when they are available.
Title: Re: How get Quake World client at Artix?
Post by: syndrome2 on 12 May 2024, 08:15:31
Instead of downgrading GCC you can add this command line argument to build script:
Code: [Select]
export CFLAGS="$CFLAGS -Wno-error=incompatible-pointer-types"
Title: Re: How get Quake World client at Artix?
Post by: deepforest on 12 May 2024, 22:33:12
nquake is in the AUR, perhaps that would work if the appimage doesn't, don't know, but there are no recent posts on the page reporting problems:
https://aur.archlinux.org/packages/nquake (https://aur.archlinux.org/packages/nquake)
Native repo or AUR  packages are usually a better option than things like appimages, when they are available.
thanks, i will try
Title: Re: How get Quake World client at Artix?
Post by: deepforest on 12 May 2024, 22:39:11
Instead of downgrading GCC you can add this command line argument to build script:
Code: [Select]
export CFLAGS="$CFLAGS -Wno-error=incompatible-pointer-types"
thanks, that parameter for diagnostic error?

ps build problem solved here https://github.com/QW-Group/ezquake-source/issues/916
Title: Re: How get Quake World client at Artix?
Post by: deepforest on 12 May 2024, 22:42:48
but how trace nquake appimage error,?
i am cheked others appimages working good.
Title: Re: How get Quake World client at Artix?
Post by: deepforest on 13 May 2024, 12:22:21
nquake is in the AUR, perhaps that would work if the appimage doesn't, don't know, but there are no recent posts on the page reporting problems:
https://aur.archlinux.org/packages/nquake (https://aur.archlinux.org/packages/nquake)
Native repo or AUR  packages are usually a better option than things like appimages, when they are available.
Build but conflict at the end,
maybe with ezquake also from AUR installed here?
Is were way to have both - ezquake and nquake from AUR?
Code: [Select]
==> Finished making: nquake latest-14 (Mon 13 May 2024 10:03:18 UTC)
==> Cleaning up...
[sudo] password for freeartist-artix:
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) nquake-latest-14

Total Installed Size:  101.31 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
error: failed to commit transaction (conflicting files)
nquake: /opt/quake/id1/pak0.pak exists in filesystem
Errors occurred, no packages were upgraded.
 -> error installing: [/home/freeartist-artix/.cache/yay/nquake/nquake-latest-14-any.pkg.tar.zst] - exit status 1
home:[freeartist-artix]:~$
Title: Re: How get Quake World client at Artix?
Post by: ####### on 13 May 2024, 23:18:04
If you install both of those from the AUR it would hopefully work, it seems some of the maintainers assist with both of these packages,  and if it still conflicts, then post a message on the respective AUR package page, they would hopefully be able to solve it.
Title: Re: How get Quake World client at Artix?
Post by: deepforest on 14 May 2024, 14:23:51
how i install both from AUR ezquake and nquake if when i install second it give error and installation not ends property?
Title: Re: How get Quake World client at Artix?
Post by: ####### on 14 May 2024, 15:46:27
Ask the AUR package maintainer on the comments, either they will change it for you so you can install both, explain how to get around the problem or why you shouldn't install both together, or possibly ignore you completely:
https://aur.archlinux.org/packages/ezquake (https://aur.archlinux.org/packages/ezquake)

In any case the odds are better you will get a more helpful response there from someone who has specialist experience with Quake clients, and has the ability to make the changes to the PKGBUILD if required. I'm sure I've eaten porridge made with Quaker oats in the past but I doubt that's going to be much use even if I could remember the recipe.
(And as I am not using this it wouldn't be practical for me to report it as the reporter might be asked for more details, and if any subsequent fix is working.)