Package Details: qstat 2.17-3

Git Clone URL: https://aur.archlinux.org/qstat.git (read-only, click to copy)
Package Base: qstat
Description: A command-line program that displays information about Internet game servers.
Upstream URL: https://github.com/Unity-Technologies/qstat
Licenses: Artistic-2.0
Conflicts: qstat-cvs, qstat-git, qstat-svn
Submitter: ilpianista
Maintainer: Slash
Last Packager: Slash
Votes: 14
Popularity: 0.000000
First Submitted: 2010-11-13 15:25 (UTC)
Last Updated: 2025-05-29 20:10 (UTC)

Latest Comments

1 2 Next › Last »

Slash commented on 2025-05-29 20:12 (UTC)

@squeeze thanks for the information, I updated the PKGBUILD!

squeeze commented on 2025-05-26 18:48 (UTC) (edited on 2025-05-26 18:51 (UTC) by squeeze)

The package won't compile with GCC 15 since C23 became the default there. See this upstream issue and the fix applied in gentoo.

gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/XXX/pkg/build/qstat/src=/usr/src/debug/qstat -flto=auto -Wall -MT packet_manip.o -MD -MP -MF .deps/packet_manip.Tpo -c -o packet_manip.o packet_manip.c
packet_manip.c: In function ‘combine_packets’:
packet_manip.c:134:24: error: too many arguments to function ‘(int (*)(void))server->type->packet_func’; expected 0, have 3
  134 |                 ret = ((int (*)())server->type->packet_func)(server, combined, datalen);

I took that patch and applied it to the PKGbuild:

prepare() {
    patch -d $pkgname-$pkgver -Np1 -i "../${pkgname}-${pkgver}-remove-unneeded-cast.patch"
}

Patch contents:

$ cat qstat-2.17-remove-unneeded-cast.patch
diff -u -ura qstat-2.17.orig/packet_manip.c qstat-2.17.new/packet_manip.c
--- qstat-2.17.orig/packet_manip.c      2021-09-28 13:17:51.000000000 +0200
+++ qstat-2.17.new/packet_manip.c       2025-05-26 20:23:03.010914277 +0200
@@ -131,7 +131,7 @@
                }
                // Call the server's packet processing method flagging as a combine call
                server->combined = 1;
-               ret = ((int (*)())server->type->packet_func)(server, combined, datalen);
+               ret = (server->type->packet_func)(server, combined, datalen);
                free(combined);
                server->combined = 0;

micwoj92 commented on 2024-08-20 19:55 (UTC)

Please use unique source name, for example source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Unity-Technologies/qstat/archive/refs/tags/v${pkgver}.tar.gz")

Slash commented on 2024-02-18 03:27 (UTC)

@Maniaxx - Thanks for the report! The build runs git commands to set the version number. I didn't notice because I was in the git repository for this package. The PKGBUILD now sets the version number explicitly, so the qstat build process won't invoke git anymore.

Maniaxx commented on 2024-02-17 16:40 (UTC) (edited on 2024-02-17 18:11 (UTC) by Maniaxx)

Edit: 'autoupdate' before 'autogen.sh' fixes the issue.

Doesn't compile here:

$ makepkg   
==> Making package: qstat 2.17-1 (Sat Feb 17 17:35:19 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v2.17.tar.gz
==> Validating source files with sha512sums...
    v2.17.tar.gz ... Passed
==> Extracting sources...
  -> Extracting v2.17.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Checking autoconf version...
Checking automake version...
Running aclocal...
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
egrep: warning: egrep is obsolescent; using grep -E
configure.ac:7: error: AC_INIT should be called with package and version arguments
/usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:7: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
aclocal: error: autom4te failed with exit status: 1
==> ERROR: A failure occurred in build().
    Aborting...

Slash commented on 2017-04-08 18:56 (UTC)

Updated to 2.14

raspher commented on 2017-04-07 12:25 (UTC)

upstream url do not work, please update to sf page

Slash commented on 2015-09-06 18:22 (UTC)

There are mirrors that can be found with a quick search so you don't need to use Tor. Here is one that will work: http://pkgs.fedoraproject.org/repo/pkgs/qstat/qstat-2.11.tar.gz/26c09831660ef9049fe74b786b80d091/qstat-2.11.tar.gz The stable release of qstat is very old, I'm not sure if it works, you may want to use the qstat-git package.

Slash commented on 2014-11-14 23:44 (UTC)

Updated with patch from @mathias.steiger and modernized the PKGBUILD.