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: 6
Popularity: 0.011586
First Submitted: 2010-11-28 08:49
Last Updated: 2016-01-29 07:38

Latest Comments

mnovick1988 commented on 2017-07-16 03:26

@disastro

Even without optimisations, on 2 machines. Same result.
is your system out of date, or using different of the dependancy's... because unitialised error's occur on every machine without me editing the pkgbuild and stripping -Werror from nettypes/Makefile (NOTE: this is UNNEEDED as it has NO effect on nettypes.c ... Its just a reminder warning, for debugging purposes.

disastro commented on 2017-06-15 05:54

@mnovick1988
Holy o.o those CFLAGS. So nothing to do with physfs or -Werror, everything to do with your setup why it won't build. Package won't change, use -O2 and it builds fine even with your other "optimizations"

mnovick1988 commented on 2017-06-14 18:01

// Ok... ive said it before....
// So, following is from the build log... (I included CFLAGS, for reference)

\\
-march=native -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mlwp -mfma -mfma4 -mxop -mbmi -mno-bmi2 -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -O4 -pipe -fstack-protector-strong -fPIC -std=c++11 -fstack-protector -MT nettypes.o -MD -MP -MF .deps/nettypes.Tpo -c -o nettypes.o nettypes.cpp
mv -f .deps/netqueue.Tpo .deps/netqueue.Po
mv -f .deps/netjoin_stub.Tpo .deps/netjoin_stub.Po
mv -f .deps/netlog.Tpo .deps/netlog.Po
mv -f .deps/netsocket.Tpo .deps/netsocket.Po
nettypes.cpp: In function ‘void NETqstring(QString&)’:
nettypes.cpp:91:10: error: ‘c’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
uint8_t b[2] = {uint8_t(v >> 8), uint8_t(v)};
^
nettypes.cpp:679:12: note: ‘c’ was declared here
uint16_t c;
^
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:453: nettypes.o] Error 1
make[2]: *** Waiting for unfinished jobs....
//

disastro commented on 2017-06-10 07:42

Still builds fine... Without giving me the errors I can't really do anything. Maybe debug your issue on #warzone2100@freenode ?

mnovick1988 commented on 2017-05-25 04:31

Still throws that error...

find . -type f -iname "Makefile" -print0 | while IFS= read -r -d $'\0' line; do
tr -d '-Werror' "$line"
done

takes care of it

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

All comments