D: [iurt_root_command] chroot warning: line 25: It's not recommended to have unversioned Obsoletes: Obsoletes: lincity Installing /home/pterjan/rpmbuild/SRPMS/lincity-ng-2.9-0.beta.13.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nDJJbD + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf lincity-ng-2.9.beta + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/lincity-ng-2.9.beta.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd lincity-ng-2.9.beta + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.x7TXZf + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd lincity-ng-2.9.beta + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./mk/autoconf/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./mk/autoconf/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./mk/autoconf/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./mk/autoconf/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./mk/autoconf/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./mk/autoconf/config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --bindir=/usr/games --datadir=/usr/share/games --with-gzip --with-svga --with-x --disable-rpath configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-gzip, --with-svga checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-g++... no checking for x86_64-mageia-linux-gnu-c++... no checking for x86_64-mageia-linux-gnu-gpp... no checking for x86_64-mageia-linux-gnu-aCC... no checking for x86_64-mageia-linux-gnu-CC... no checking for x86_64-mageia-linux-gnu-cxx... no checking for x86_64-mageia-linux-gnu-cc++... no checking for x86_64-mageia-linux-gnu-cl.exe... no checking for x86_64-mageia-linux-gnu-FCC... no checking for x86_64-mageia-linux-gnu-KCC... no checking for x86_64-mageia-linux-gnu-RCC... no checking for x86_64-mageia-linux-gnu-xlC_r... no checking for x86_64-mageia-linux-gnu-xlC... no checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking for xgettext... xgettext checking for xsltproc... xsltproc checking whether g++ is new enough... yes checking for x86_64-mageia-linux-gnu-gcc... no checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether time.h and sys/time.h may both be included... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for gettimeofday... yes checking for mkdir... yes checking for popen... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking whether binary relocation support should be enabled... no checking for zlib... found checking for pkg-config... /usr/bin/pkg-config checking for libxml-2.0 >= 2.6.11... yes checking LIBXML_CFLAGS... -I/usr/include/libxml2 checking LIBXML_LIBS... -lxml2 checking for X... libraries , headers checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether we are using the Microsoft C compiler... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for OpenGL library... -lGL checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.14... yes checking for SDL_mixer >= 1.2... found checking for SDL_image >= 1.2... found checking for SDL_ttf >= 2.0.8... found checking for SDL_gfx >= 2.0.13... found checking for physfs >= 1.0.0... found configure: creating ./config.status config.status: creating Jamconfig config.status: creating config.h config.status: executing Jamfile commands configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-gzip, --with-svga configure: Notice: This project uses jam (and not make) as build tool. + jam -j16 ...found 845 target(s)... ...updating 137 target(s)... MkDir1 ./build/x86_64-mageia-linux-gnu/optimize/src/gui MkDir1 ./build/x86_64-mageia-linux-gnu/optimize/src/gui/PainterGL MkDir1 ./build/x86_64-mageia-linux-gnu/optimize/src/gui/PainterSDL MkDir1 ./build/x86_64-mageia-linux-gnu/optimize/src/PhysfsStream MkDir1 ./build/x86_64-mageia-linux-gnu/optimize/src/tinygettext MkDir1 ./build/x86_64-mageia-linux-gnu/optimize/src/lincity MkDir1 ./build/x86_64-mageia-linux-gnu/optimize/src/lincity/modules MkDir1 ./build/x86_64-mageia-linux-gnu/optimize/src/lincity-ng MkDir1 ./build/x86_64-mageia-linux-gnu/optimize/src/tools/xmlgettext XGetText data/locale/messages.pot C++ ./build/x86_64-mageia-linux-gnu/optimize/src/gui/DocumentImage.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/gui/ComponentFactory.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/gui/Rect2D.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/gui/Color.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/gui/Window.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/gui/Image.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/gui/Component.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/gui/PainterGL/PainterGL.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/gui/PainterSDL/TextureManagerSDL.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/PhysfsStream/PhysfsStream.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/tinygettext/tinygettext.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/lincity/lintypes.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/lincity/modules/oremine.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/lincity-ng/EconomyGraph.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/tools/xmlgettext/main.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/tools/xmlgettext/XmlReader.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/lincity-ng/main.o C++ ./build/x86_64-mageia-linux-gnu/optimize/src/lincity-ng/MpsInterface.o src/PhysfsStream/PhysfsStream.cpp: In constructor 'IFileStreambuf::IFileStreambuf(const std::string&)': src/PhysfsStream/PhysfsStream.cpp:30:35: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 30 | << PHYSFS_getLastError(); | ~~~~~~~~~~~~~~~~~~~^~ In file included from src/PhysfsStream/PhysfsStream.hpp:22, from src/PhysfsStream/PhysfsStream.cpp:18: /usr/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ src/PhysfsStream/PhysfsStream.cpp: In member function 'virtual int IFileStreambuf::underflow()': src/PhysfsStream/PhysfsStream.cpp:46:44: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 46 | size_t bytesread = (size_t) PHYSFS_read(file, buf, 1, sizeof(buf)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/PhysfsStream/PhysfsStream.cpp: In constructor 'OFileStreambuf::OFileStreambuf(const std::string&)': src/PhysfsStream/PhysfsStream.cpp:62:35: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 62 | << PHYSFS_getLastError(); | ~~~~~~~~~~~~~~~~~~~^~ /usr/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ src/PhysfsStream/PhysfsStream.cpp: In member function 'virtual int OFileStreambuf::overflow(int)': src/PhysfsStream/PhysfsStream.cpp:82:37: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 82 | PHYSFS_sint64 res = PHYSFS_write(file, pbase(), 1, size); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/PhysfsStream/PhysfsStream.cpp:87:41: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 87 | PHYSFS_sint64 res = PHYSFS_write(file, &c, 1, 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ C++ ./build/x86_64-mageia-linux-gnu/optimize/src/lincity-ng/PbarInterface.o src/gui/Window.cpp: In member function 'void Window::parse(XmlReader&)': src/gui/Window.cpp:107:22: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 107 | std::auto_ptr