Package Details: warzone2100-git r15440.ca2727322-1

Git Clone URL: https://aur.archlinux.org/warzone2100-git.git (read-only, click to copy)
Package Base: warzone2100-git
Description: 3D realtime strategy game on a future Earth (Git version)
Upstream URL: http://wz2100.net/
Keywords: game
Licenses: GPL
Conflicts: warzone2100
Provides: warzone, warzone-svn, warzone2100, warzone2100-beta
Submitter: disastro
Maintainer: disastro
Last Packager: disastro
Votes: 10
Popularity: 0.001425
First Submitted: 2010-11-28 08:49 (UTC)
Last Updated: 2020-07-07 13:00 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

ids1024 commented on 2015-02-11 03:27 (UTC)

I updated the package. It should work now.

EndlessEden commented on 2015-02-11 03:11 (UTC)

"cc1plus: all warnings being treated as errors" Because -Werror-all is enabled, remove it from the config before make, and problem is solved. (i did this before on a debian system, quite a while ago. but i dont have the build script nor remember how i did it)

ids1024 commented on 2015-02-10 23:53 (UTC)

You can try changing this line in the PKGBUILD: sed -i 's/-Werror/-Werror -Wno-error=clobbered/g' configure to this: sed -i 's/-Werror/-Werror -Wno-error=clobbered -Wno-error=maybe-uninitialized/g' configure

ids1024 commented on 2015-02-10 23:48 (UTC)

@kalsan It builds fine for me. I don't know what is causing you issue, sorry.

kalsan commented on 2015-02-10 12:39 (UTC)

Unable to compile: g++ -DHAVE_CONFIG_H -I. -I../.. -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DDEBUG -DWZ_DATADIR="\"/usr/share/warzone2100\"" -DLOCALEDIR="\"/usr/share/locale\"" -I../.. -I../../3rdparty -I../../3rdparty/quesoglc -I/usr/include/qt/QtWidgets -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt -I/usr/include/qt/QtScript -I/usr/include/qt -I/usr/include/qt/QtCore -I/usr/include/qt -D_FORTIFY_SOURCE=2 -O0 -ggdb -Werror -Wno-error=clobbered -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/qt/QtWidgets -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt -I/usr/include/qt/QtScript -I/usr/include/qt -I/usr/include/qt/QtCore -I/usr/include/qt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -std=c++11 -fstack-protector -MT nettypes.o -MD -MP -MF .deps/nettypes.Tpo -c -o nettypes.o nettypes.cpp nettypes.cpp: In Funktion »void NETqstring(QString&)«: nettypes.cpp:271:3: Fehler: »c« könnte in dieser Funktion uninitialisiert verwendet werden [-Werror=maybe-uninitialized] queue(writer, v); ^ nettypes.cpp:679:12: Anmerkung: »c« wurde hier deklariert uint16_t c; ^ cc1plus: Alle Warnungen werden als Fehler behandelt Makefile:453: die Regel für Ziel „nettypes.o“ scheiterte make[2]: *** [nettypes.o] Fehler 1 make[2]: Verzeichnis „/tmp/yaourt-tmp-sandro/aur-warzone2100-git/src/warzone2100/lib/netplay“ wird verlassen Makefile:584: die Regel für Ziel „all-recursive“ scheiterte make[1]: *** [all-recursive] Fehler 1 make[1]: Verzeichnis „/tmp/yaourt-tmp-sandro/aur-warzone2100-git/src/warzone2100“ wird verlassen Makefile:504: die Regel für Ziel „all“ scheiterte make: *** [all] Fehler 2 ==> FEHLER: Ein Fehler geschah in build(). Breche ab... ==> FEHLER:Makepkg konnte warzone2100-git nicht erstellen. ==> Erstellen von warzone2100-git neu starten?[j/N] ==> ----------------------------------------------- ==>

ids1024 commented on 2015-01-01 01:40 (UTC)

@laptender I updated the PKGBUILD. It should work now.

<deleted-account> commented on 2015-01-01 00:30 (UTC)

In file included from /usr/include/c++/4.9.2/x86_64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/4.9.2/x86_64-unknown-linux-gnu/bits/c++config.h:430, from /usr/include/c++/4.9.2/utility:68, from /usr/include/qt/QtCore/qcompilerdetection.h:882, from /usr/include/qt/QtCore/qglobal.h:70, from /usr/include/qt/QtCore/qchar.h:37, from /usr/include/qt/QtCore/qstring.h:37, from /usr/include/qt/QtCore/QString:1, from ../../lib/framework/wzglobal.h:528, from ../../lib/framework/frame.h:26, from frameresource.h:27, from frameresource.cpp:26: /usr/include/features.h:328:4: ошибка: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ In file included from /usr/include/c++/4.9.2/x86_64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/4.9.2/x86_64-unknown-linux-gnu/bits/c++config.h:430, from /usr/include/c++/4.9.2/utility:68, from /usr/include/qt/QtCore/qcompilerdetection.h:882, from /usr/include/qt/QtCore/qglobal.h:70, from /usr/include/qt/QtCore/qchar.h:37, from /usr/include/qt/QtCore/qstring.h:37, from /usr/include/qt/QtCore/QString:1, from wzglobal.h:528, from frame.h:26, from debug.cpp:27: /usr/include/features.h:328:4: ошибка: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ In file included from /usr/include/c++/4.9.2/x86_64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/4.9.2/x86_64-unknown-linux-gnu/bits/c++config.h:430, from /usr/include/c++/4.9.2/utility:68, from /usr/include/qt/QtCore/qcompilerdetection.h:882, from /usr/include/qt/QtCore/qglobal.h:70, from /usr/include/qt/QtCore/qchar.h:37, from /usr/include/qt/QtCore/qstring.h:37, from /usr/include/qt/QtCore/QString:1, from wzglobal.h:528, from types.h:27, from crc.h:23, from crc.cpp:21: /usr/include/features.h:328:4: ошибка: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ In file included from /usr/include/c++/4.9.2/x86_64-unknown-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/4.9.2/x86_64-unknown-linux-gnu/bits/c++config.h:430, from /usr/include/c++/4.9.2/utility:68, from /usr/include/qt/QtCore/qcompilerdetection.h:882, from /usr/include/qt/QtCore/qglobal.h:70, from /usr/include/qt/QtCore/qchar.h:37, from /usr/include/qt/QtCore/qstring.h:37, from /usr/include/qt/QtCore/QString:1, from wzglobal.h:528, from frame.h:26, from frame.cpp:29: /usr/include/features.h:328:4: ошибка: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ cc1plus: all warnings being treated as errors Makefile:511: ошибка выполнения рецепта для цели «frameresource.o» make[2]: *** [frameresource.o] Ошибка 1 make[2]: *** Ожидание завершения заданий… cc1plus: all warnings being treated as errors Makefile:511: ошибка выполнения рецепта для цели «frame.o» make[2]: *** [frame.o] Ошибка 1 cc1plus: all warnings being treated as errors Makefile:511: ошибка выполнения рецепта для цели «crc.o» make[2]: *** [crc.o] Ошибка 1 cc1plus: all warnings being treated as errors Makefile:511: ошибка выполнения рецепта для цели «debug.o» make[2]: *** [debug.o] Ошибка 1 make[2]: выход из каталога «/tmp/yaourt-tmp-ndr/aur-warzone2100-git/src/warzone2100/lib/framework» Makefile:575: ошибка выполнения рецепта для цели «all-recursive» make[1]: *** [all-recursive] Ошибка 1 make[1]: выход из каталога «/tmp/yaourt-tmp-ndr/aur-warzone2100-git/src/warzone2100» Makefile:494: ошибка выполнения рецепта для цели «all» make: *** [all] Ошибка 2 ==> ERROR: <failed in build().> <Early exit...> ==> ERROR: Makepkg was unable to build warzone2100-git. ==> Restart building warzone2100-git ? [y/N] ==> ---------------------------------------- ==>

disastro commented on 2013-01-11 19:04 (UTC)

@Flavius: Please, do! I sadly use Windows a lot lately(gaming) and haven't actually played this for a long time, just kept the package going until the automake problems :)

<deleted-account> commented on 2013-01-11 18:32 (UTC)

@disastro would you like to pass it over to me? I've created a working package at https://gist.github.com/f5a83d63cf988a0c2006

disastro commented on 2012-11-19 15:57 (UTC)

Needs older automake, not sure how to fix it.