D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/blobwars-2.00-5.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PJ8g3f + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf blobwars-2.00 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/blobwars-2.00.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd blobwars-2.00 + rm -rf /home/pterjan/rpmbuild/BUILD/blobwars-2.00-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/blobwars-2.00-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/blobwars-2.00-gcc7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/blobwars-2.00-Werror.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.daJQtY + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd blobwars-2.00 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j16 V=1 VERBOSE=1 RELEASE=1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CConfig.cpp In file included from src/CConfig.cpp:1: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CConfig.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CEffect.cpp In file included from src/CEffect.cpp:22: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CEffect.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CFileData.cpp In file included from src/CFileData.cpp:22: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CFileData.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CBoss.cpp In file included from src/CBoss.cpp:22: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CBoss.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CCollision.cpp In file included from src/CCollision.cpp:22: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CCollision.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CEngine.cpp In file included from src/CEngine.cpp:22: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CEngine.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CHub.cpp In file included from src/CHub.cpp:22: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CHub.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CEntity.cpp In file included from src/CEntity.cpp:22: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CEntity.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CAudio.cpp In file included from src/CAudio.cpp:22: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CAudio.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CGame.cpp In file included from src/CGame.cpp:22: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CGame.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CGameData.cpp In file included from src/CGameData.cpp:22: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CGameData.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CKeyboard.cpp In file included from src/CKeyboard.cpp:22: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CKeyboard.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CGameObject.cpp In file included from src/CGameObject.cpp:22: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CGameObject.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CGraphics.cpp In file included from src/CGraphics.cpp:22: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CGraphics.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CCutscene.cpp In file included from src/CCutscene.cpp:22: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CCutscene.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full `pkg-config --cflags sdl2 SDL2_mixer SDL2_image SDL2_ttf SDL2_net` -DVERSION=2.00 -DRELEASE=1 -DUSEPAK=0 -DPAKNAME=\"blobwars.pak\" -DPAKLOCATION=\"/usr/share/games/blobwars/\" -DUNIX -DGAMEPLAYMANUAL=\"/usr/share/doc/blobwars/index.html\" -Wall -DLOCALEDIR=\"/usr/share/locale/\" -DMEDAL_SERVER_HOST=\"www.parallelrealities.co.uk\" -DMEDAL_SERVER_PORT=80 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/CData.cpp In file included from src/CData.cpp:22: src/headers.h:60:20: error: ambiguating new declaration of 'void strlcat(char*, const char*, size_t)' 60 | static inline void strlcat(char *dest, const char *src, size_t n) { strncat(dest, src, n - 1); } | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/errno.h:25, from src/headers.h:22: /usr/include/bits/string_fortified.h:167:1: note: old declaration 'size_t strlcat(char*, const char*, size_t)' 167 | __NTH (strlcat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ src/headers.h:61:20: error: ambiguating new declaration of 'void strlcpy(char*, const char*, size_t)' 61 | static inline void strlcpy(char *dest, const char *src, size_t n) { strncpy(dest, src, n); dest[n - 1] = 0; } | ^~~~~~~ /usr/include/bits/string_fortified.h:150:1: note: old declaration 'size_t strlcpy(char*, const char*, size_t)' 150 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make: *** [Makefile:82: CData.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.daJQtY (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.daJQtY (%build) I: [iurt_root_command] ERROR: chroot