Package Details: wargus 3.3.2-2

Git Clone URL: https://aur.archlinux.org/wargus.git (read-only, click to copy)
Package Base: wargus
Description: Warcraft2 Mod that allows you to play Warcraft2 with the Stratagus engine
Upstream URL: https://github.com/wargus/wargus
Licenses: GPL
Submitter: Marvn
Maintainer: ipochto
Last Packager: ipochto
Votes: 15
Popularity: 0.000000
First Submitted: 2010-02-07 14:21 (UTC)
Last Updated: 2025-04-17 08:58 (UTC)

Dependencies (10)

Required by (0)

Sources (1)

Latest Comments

1 2 3 4 5 6 Next › Last »

ipochto commented on 2025-04-17 09:00 (UTC)

As a temporary solution, I added StormLib to the dependencies. This should be fixed in the 3.3.3 release.

krouziciorel commented on 2025-04-17 05:45 (UTC)

Thank you very much for the information, yes, I can translate the stormlib package without any problems and after compiling it, the translation of the wargus package also works. The problem is now solved, thank you very much for the great cooperation.

ipochto commented on 2025-04-16 17:49 (UTC)

It seems the problem with stormlib Try to install it from aur before wargus installation.

krouziciorel commented on 2025-04-16 17:40 (UTC)

Hmm, that's interesting, here's a link to the pastebin service:

https://pastebin.com/9GvneCEi

I use Czech environment, however, the error message should be readable.

If you managed to compile both wargus and wargus-git packages without errors, it is possible that the error is on my side. I have been using the current version of Arch Linux for about 5 years and it is possible that my configuration is not working as it should. In that case, can I please send both compiled binary packages using a suitable service, e.g. dropbox?

If not, nothing happens, I'll try installing pure Arch Linux in a virtual environment and compiling the packages there.

ipochto commented on 2025-04-16 15:44 (UTC) (edited on 2025-04-16 15:56 (UTC) by ipochto)

It's very strange, but I'm able to build both - wargus and wargus-git packages even without -DCMAKE_POLICY_VERSION_MINIMUM=3.5 adding. Maybe problem with dependencies building, but I have all of them installed already.

Would you please provide full configuring log? Via pastebin.com or a similar service so as not to clog up the comments.

krouziciorel commented on 2025-04-16 11:21 (UTC)

@ipochto

Many thanks for your quick answer, yes, I had tried the line "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" in PKGBUILD and also in the source tarball from github, unfortunately I see the same errors. Interestingly, I compile the stratagus-git package without errors, but I see a similar error with stratagus package. However, when I edit the lines in the stratagus PKBUILD like this:

"build() { cd $srcdir

cmake ${pkgname} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ -DGAMEDIR=/usr/bin \ -DSBINDIR=/usr/bin \ -DLUA_INCLUDE_DIR=/usr/include/lua5.1 \ -DWITH_STACKTRACE=OFF \ -Bbuild

make -C build }"

package Stratagus is OK. The line "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" did not help in wargus nor wargus-git package. When you have time, please examine these errors, there is no need to rush.

ipochto commented on 2025-04-16 09:05 (UTC) (edited on 2025-04-16 09:05 (UTC) by ipochto)

@krouziciorel

Yep, there is an issue with the latest cmake.

I'll fix it soon, but I'm AFK right now.

For fast fix you should edit PKGBUILD to add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 for cmake args. Here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wargus#n29

It would look like this:

 cd ${srcdir}
  cmake "${pkgname}-${pkgver}" -DCMAKE_INSTALL_PREFIX=/usr -DGAMEDIR=/usr/bin -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -Bbuild
  make -C build
}

krouziciorel commented on 2025-04-15 23:15 (UTC)

Please check this error, with actual cmake I am not able to compile wargus package:

"[ 27%] Performing configure step for 'StormLib' CMake Warning (dev) at CMakeLists.txt:1 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 14.2.1 -- The CXX compiler identification is GNU 14.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

-- Configuring incomplete, errors occurred!".

The same error appears when manually compiling from github, I think wargus cannot be compiled with the current version of cmake.

ipochto commented on 2024-10-14 12:09 (UTC)

The ffmpeg2theora dependency has been removed as it's no longer required.

Singularity commented on 2024-10-13 23:24 (UTC)

-> No AUR package found for ffmpeg2theora -> could not find all required packages: ffmpeg2theora