Package Details: warzone2100-git r13131.6d6ee05-1

Git Clone URL: https://aur.archlinux.org/warzone2100-git.git (read-only)
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: 5
Popularity: 0.016101
First Submitted: 2010-11-28 08:49
Last Updated: 2016-01-29 07:38

Latest Comments

disastro commented on 2016-03-16 08:33

@mnovick1988
The package builds fine for me?

mnovick1988 commented on 2016-03-16 01:58

@disastro:

can you clean the config after generation to remove (-Werror=deprecated-declarations) as physfs has updated, but warzone2100 is not updated.

disastro commented on 2016-01-29 08:16

Thank you for notifying. Unfortunately it's not good to set the versioning manually either, changed to using revision number.

mnovick1988 commented on 2016-01-29 04:07

Please change the pkgver() function to be more arch-friendly. (master_base is not a integer) Current GIT version is 3.1.3.R(release), this pkgver script will insert 3.1.3(.r{release-version}.{commitID})
-----------------------------------------------
pkgver() {
cd "$_gitname"
_gversion=`git describe --long | sed -r 's/master_base//g' |sed -r 's/([^-]*-g)/r\1/;s/-/./g'`
echo "3.1.3"$_gversion
}

kalsan commented on 2015-06-04 19:35

By the way, missing dependency: sdl2

kalsan commented on 2015-06-04 19:26

Yay, it works now :-)
Nice job, thanks a lot!

ids1024 commented on 2015-02-11 03:27

I updated the package. It should work now.

mnovick1988 commented on 2015-02-11 03:11

"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

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

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

kalsan commented on 2015-02-10 12:39

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

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

laptender commented on 2015-01-01 00:30

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

@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 :)

Anonymous comment on 2013-01-11 18:32

@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

Needs older automake, not sure how to fix it.

Decepteiskon commented on 2012-11-18 14:39

Can't compile, error: make[2]: Entering directory `/tmp/yaourt-tmp/aur-warzone2100-git/src/warzone2100/lib/framework'
make[2]: *** No rule to make objective «resource_parser.h», needed for «all». Stop.

laftur commented on 2012-06-22 02:03

make seems to be complaining that resource_parser.h isn't present.

disastro commented on 2012-03-14 16:17

Finally updated it today and weirdly... qjson was not needed to build atleast for me. Correct me if the compiler is nagging to someone

gardar commented on 2011-11-20 08:54

Yep, adding qjson to the dependencies seems to have fixed it, I had quesoglc installed anyways so I am not sure if it's needed or not.

disastro commented on 2011-11-19 03:37

Oh yea... it was taking hours to download when I was meant to test it so I never got to pushing the updated package, add qjson to dependencies on PKGBUILD, not sure if quesoglc is needed for the Qt build really :/

gardar commented on 2011-11-19 00:27

checking for QJSON... configure: error: Package requirements (QJson >= 0.7.1) were not met:

No package 'QJson' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables QJSON_CFLAGS
and QJSON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

==> ERROR: A failure occurred in build().

disastro commented on 2011-11-03 21:06

Noted, will test and update this tomorrow

aspidites commented on 2011-11-03 20:41

Missing qjson and quesoglc