Package Details: unvanquished 0.56.2-3

Git Clone URL: https://aur.archlinux.org/unvanquished.git (read-only, click to copy)
Package Base: unvanquished
Description: A team-based, fast-paced, fps/rts hybrid game that pits aliens against humans
Upstream URL: https://www.unvanquished.net
Licenses: GPL-3.0-or-later
Conflicts: unvanquished-git
Provides: unvanquished
Submitter: Viech
Maintainer: Viech
Last Packager: Viech
Votes: 63
Popularity: 0.95
First Submitted: 2012-07-24 13:59 (UTC)
Last Updated: 2026-05-21 14:41 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

illwieckz commented on 2026-05-21 11:51 (UTC)

By reading this page, I notice that the PKGBUILD still depends on SDL2. But we migrated the Dæmon engine to SDL3 and we removed SDL2 support (being dual SDL would have been too costly).

I guess it works by luck because sdl2-compat is favored and sdl2-compat is implemented over SDL3 and then the sdl3 package is pulled and the dependency is satisfied. But on systems that would favor the sdl2 package for various reasons, the build would fail.

simona commented on 2026-05-21 10:37 (UTC)

solved. tnx.

Viech commented on 2026-05-21 10:34 (UTC)

Updated with the proposed fix; thank you!

illwieckz commented on 2026-05-21 08:01 (UTC)

This is likely a more accurate PKGBUILD patch:

30c30
< _daemon="Daemon-${_suffix}"
---
> _daemon="Daemon-379d88a0687995b6cb6074368fcc68c163e5242d"
43c43
<         "daemon_${pkgver}.tar.gz::https://github.com/DaemonEngine/Daemon/${_archive}"
---
>         "daemon_${pkgver}-nettlefix.tar.gz::https://github.com/DaemonEngine/Daemon/archive/379d88a0687995b6cb6074368fcc68c163e5242d.tar.gz"
56c56
<             '6f03358ca6fd523ee7accf9510e80445e0ed88b8845b9b34c3555bd889dbb9ed'
---
>             'e68b64330c02180e1e363985705248bd3b93e6d05b11b5d632c399dca8bf8f3a'

illwieckz commented on 2026-05-21 07:32 (UTC)

Ishq implemented a patch that hopefully fixes this compilation error:

This just got merged, so maybe this little change to the PKGBUILD file would bring that engine patch and fix the AUR build:

43c43
<         "daemon_${pkgver}.tar.gz::https://github.com/DaemonEngine/Daemon/${_archive}"
---
>         "daemon_${pkgver}.tar.gz::https://github.com/DaemonEngine/Daemon/archive/379d88a0687995b6cb6074368fcc68c163e5242d.tar.gz"

Viech commented on 2026-05-19 15:56 (UTC)

I'm currently not aware of a workaround or patch for this problem; as soon as someone provides one I will include it.

iyanmv commented on 2026-05-19 07:28 (UTC)

Fails to build for me, too.

simona commented on 2026-05-14 20:52 (UTC)

In file included from /home/simona/.cache/yay/unvanquished/src/Unvanquished-unvanquished-0.56.2/daemon/src/engine/framework/Crypto.cpp:39:
/home/simona/.cache/yay/unvanquished/src/Unvanquished-unvanquished-0.56.2/daemon/src/engine/framework/Crypto.cpp: In function ‘Crypto::Data Crypto::Hash::Sha256(const Crypto::Data&)’:
/home/simona/.cache/yay/unvanquished/src/Unvanquished-unvanquished-0.56.2/daemon/src/engine/framework/Crypto.cpp:250:33: error: invalid conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} [-fpermissive]
250 |     nettle_sha256_digest( &ctx, SHA256_DIGEST_SIZE, output.data() );
|                                 ^~
|                                 |
|                                 int
/home/simona/.cache/yay/unvanquished/src/Unvanquished-unvanquished-0.56.2/daemon/src/engine/framework/Crypto.cpp:250:25: error: too many arguments to function ‘void nettle_sha256_digest(sha256_ctx, uint8_t)’
250 |     nettle_sha256_digest( &ctx, SHA256_DIGEST_SIZE, output.data() );
|     ^
/usr/include/nettle/sha2.h:86:1: note: declared here
86 | sha256_digest(struct sha256_ctx ctx,
| ^
In file included from /home/simona/.cache/yay/unvanquished/src/Unvanquished-unvanquished-0.56.2/daemon/src/engine/framework/Crypto.cpp:38:
/home/simona/.cache/yay/unvanquished/src/Unvanquished-unvanquished-0.56.2/daemon/src/engine/framework/Crypto.cpp: In function ‘Crypto::Data Crypto::Hash::Md5(const Crypto::Data&)’:
/home/simona/.cache/yay/unvanquished/src/Unvanquished-unvanquished-0.56.2/daemon/src/engine/framework/Crypto.cpp:260:30: error: invalid conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} [-fpermissive]
260 |     nettle_md5_digest( &ctx, MD5_DIGEST_SIZE, output.data() );
|                              ^~~
|                              |
|                              int
/home/simona/.cache/yay/unvanquished/src/Unvanquished-unvanquished-0.56.2/daemon/src/engine/framework/Crypto.cpp:260:22: error: too many arguments to function ‘void nettle_md5_digest(md5_ctx, uint8_t)’
260 |     nettle_md5_digest( &ctx, MD5_DIGEST_SIZE, output.data() );
|     ~^~~~
/usr/include/nettle/md5.h:72:1: note: declared here
72 | md5_digest(struct md5_ctx ctx,
| ^~~~
make[2]: *** [daemon_build/CMakeFiles/engine-lib.dir/build.make:704: daemon_build/CMakeFiles/engine-lib.dir/src/engine/framework/Crypto.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:318: daemon_build/CMakeFiles/engine-lib.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Viech commented on 2026-03-25 18:02 (UTC)

@Mister_Ingar Your point is correct on a technical level, but I would assume that the vast majority of this package's users run my_pacman_wrapper -S unvanquished and expect a playable game to come out of it. I don't want to make the process less intuitive for them.

Mister_Ingar commented on 2026-03-25 17:35 (UTC)

No need to add unvanquished-data as a dependency, it builds fine without. If anything, unvanquished-data should depend on the engine and not the other way around, that way you can build both without having to actually install -data on the build host.