D: [iurt_root_command] chroot warning: line 25: It's not recommended to have unversioned Obsoletes: Obsoletes: lincity Installing /home/iurt/rpmbuild/SRPMS/lincity-ng-2.9-0.beta.11.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.zLmqcX + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf lincity-ng-2.9.beta + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/lincity-ng-2.9.beta.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lincity-ng-2.9.beta + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -af /usr/lib/rpm/config.guess /usr/lib/rpm/config.sub mk/autoconf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.sWJGEU + umask 022 + cd /home/iurt/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 -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /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=aarch64-mageia-linux-gnu --build=aarch64-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... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking target system type... aarch64-mageia-linux-gnu checking for aarch64-mageia-linux-gnu-g++... aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking for xgettext... xgettext checking for xsltproc... no checking whether g++ is new enough... yes checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-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... aarch64-mageia-linux-gnu-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... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... aarch64-mageia-linux-gnu-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 -j8 ...found 845 target(s)... ...updating 137 target(s)... MkDir1 ./build/aarch64-mageia-linux-gnu/optimize/src/gui MkDir1 ./build/aarch64-mageia-linux-gnu/optimize/src/gui/PainterGL MkDir1 ./build/aarch64-mageia-linux-gnu/optimize/src/gui/PainterSDL MkDir1 ./build/aarch64-mageia-linux-gnu/optimize/src/PhysfsStream MkDir1 ./build/aarch64-mageia-linux-gnu/optimize/src/tinygettext MkDir1 ./build/aarch64-mageia-linux-gnu/optimize/src/lincity MkDir1 ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules MkDir1 ./build/aarch64-mageia-linux-gnu/optimize/src/lincity-ng C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/Color.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/PainterGL/TextureManagerGL.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/PainterSDL/TextureManagerSDL.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/PhysfsStream/PhysfsSDL.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/tinygettext/tinygettext.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/loadsave.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/tip.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/university.o src/PhysfsStream/PhysfsSDL.cpp: In function 'int funcSeek(SDL_RWops*, int, int)': src/PhysfsStream/PhysfsSDL.cpp:48:71: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 48 | std::cerr << "Error seeking in file: " << PHYSFS_getLastError() << "\n"; | ^ In file included from src/PhysfsStream/PhysfsSDL.cpp:20: /usr/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ src/PhysfsStream/PhysfsSDL.cpp:48:71: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 48 | std::cerr << "Error seeking in file: " << PHYSFS_getLastError() << "\n"; | ^ In file included from src/PhysfsStream/PhysfsSDL.cpp:20: /usr/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ src/PhysfsStream/PhysfsSDL.cpp: In function 'int funcRead(SDL_RWops*, void*, int, int)': src/PhysfsStream/PhysfsSDL.cpp:59:50: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 59 | int res = PHYSFS_read(file, ptr, size, maxnum); | ^ In file included from src/PhysfsStream/PhysfsSDL.cpp:20: /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/PhysfsStream/PhysfsSDL.cpp:59:50: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] 59 | int res = PHYSFS_read(file, ptr, size, maxnum); | ^ In file included from src/PhysfsStream/PhysfsSDL.cpp:20: /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/PhysfsStream/PhysfsSDL.cpp: In function 'SDL_RWops* getPhysfsSDLRWops(const string&)': src/PhysfsStream/PhysfsSDL.cpp:79:36: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 79 | << PHYSFS_getLastError(); | ^ In file included from src/PhysfsStream/PhysfsSDL.cpp:20: /usr/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ src/PhysfsStream/PhysfsSDL.cpp:79:36: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 79 | << PHYSFS_getLastError(); | ^ In file included from src/PhysfsStream/PhysfsSDL.cpp:20: /usr/include/physfs.h:654:25: note: declared here 654 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/shanty.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/recycle.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/windpower.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/residence.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/coal_power.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/pottery.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/waterwell.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/heavy_industry.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/oremine.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/organic_farm.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/light_industry.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/windmill.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/mill.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/market.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/power_line.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/health_centre.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/track_road_rail.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/all_modules.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/port.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/solar_power.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/school.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/blacksmith.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/substation.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/coalmine.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/water.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/firestation.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/rocket_pad.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/monument.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/commune.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/cricket.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/fire.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/modules/parkland.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/UserOperation.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/engglobs.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/fileutil.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/xmlloadsave.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/ConstructionRequest.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/all_buildings.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/ConstructionManager.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/lc_locale.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/init_game.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/ConstructionCount.o src/lincity/fileutil.cpp: In function 'void init_path_strings()': src/lincity/fileutil.cpp:381:45: warning: 'const char* PHYSFS_getUserDir()' is deprecated [-Wdeprecated-declarations] 381 | const char* homedir = PHYSFS_getUserDir(); | ^ In file included from src/lincity/fileutil.cpp:11: /usr/include/physfs.h:792:25: note: declared here 792 | PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:381:45: warning: 'const char* PHYSFS_getUserDir()' is deprecated [-Wdeprecated-declarations] 381 | const char* homedir = PHYSFS_getUserDir(); | ^ In file included from src/lincity/fileutil.cpp:11: /usr/include/physfs.h:792:25: note: declared here 792 | PHYSFS_DECL const char *PHYSFS_getUserDir(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~ C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/old_ldsvguts.o src/lincity/fileutil.cpp: In function 'void find_libdir()': src/lincity/fileutil.cpp:231:50: warning: '%s' directive output may be truncated writing up to 10 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 231 | snprintf(filename_buf, LC_PATH_MAX, "%s%c%s", cwd_buf, PATH_SLASH, searchfile); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from src/lincity/fileutil.cpp:7: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 2 and 267 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from src/lincity/fileutil.cpp:10: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void find_libdir()' at src/lincity/fileutil.cpp:223:20: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp: In function 'void find_localized_paths()': src/lincity/fileutil.cpp:321:59: warning: '%s' directive output may be truncated writing 8 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 321 | snprintf(message_path, sizeof(message_path), "%s%c%s%c%s%c", LIBDIR, | ^~ 322 | PATH_SLASH, "messages", PATH_SLASH, intl_suffix, PATH_SLASH); | ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from src/lincity/fileutil.cpp:7: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output 12 or more bytes (assuming 267) into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:328:53: warning: '%s' directive output may be truncated writing 4 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 328 | snprintf(help_path, sizeof(help_path), "%s%c%s%c%s%c", LIBDIR, PATH_SLASH, | ^~ 329 | "help", PATH_SLASH, intl_suffix, PATH_SLASH); | ~~~~~~ In file included from /usr/include/stdio.h:867, from src/lincity/fileutil.cpp:7: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 263) into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:347:40: warning: '%s' directive writing 8 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 347 | sprintf(message_path, "%s%c%s%c%s%c", LIBDIR, PATH_SLASH, "messages", PATH_SLASH, intl_suffix, PATH_SLASH); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from src/lincity/fileutil.cpp:7: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 12 and 394 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:355:37: warning: '%s' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 355 | sprintf(help_path, "%s%c%s%c%s%c", LIBDIR, PATH_SLASH, "help", PATH_SLASH, intl_suffix, PATH_SLASH); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from src/lincity/fileutil.cpp:7: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 8 and 390 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:368:36: warning: '%s' directive writing 8 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 368 | sprintf(message_path, "%s%c%s%c", LIBDIR, PATH_SLASH, "messages", PATH_SLASH); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from src/lincity/fileutil.cpp:7: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 11 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:372:33: warning: '%s' directive writing 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 372 | sprintf(help_path, "%s%c%s%c", LIBDIR, PATH_SLASH, "help", PATH_SLASH); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from src/lincity/fileutil.cpp:7: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp: In function 'void init_path_strings()': src/lincity/fileutil.cpp:388:35: warning: '%s' directive writing 10 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 388 | sprintf(colour_pal_file, "%s%c%s", LIBDIR, PATH_SLASH, "colour.pal"); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from src/lincity/fileutil.cpp:7: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:389:32: warning: '%s' directive writing 7 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 389 | sprintf(opening_path, "%s%c%s", LIBDIR, PATH_SLASH, "opening"); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:867, from src/lincity/fileutil.cpp:7: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 9 and 264 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:393:31: warning: '%s' directive writing 11 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 393 | sprintf(opening_pic, "%s%c%s", opening_path, PATH_SLASH, "open.tga.gz"); | ^~ ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from src/lincity/fileutil.cpp:7: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 13 and 268 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:395:32: warning: '%s' directive writing 5 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 395 | sprintf(graphic_path, "%s%c%s%c", LIBDIR, PATH_SLASH, "icons", PATH_SLASH); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:867, from src/lincity/fileutil.cpp:7: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 8 and 263 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lincity/fileutil.cpp:402:28: warning: '%s' directive writing 17 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 402 | sprintf(fontfile, "%s%c%s", opening_path, PATH_SLASH, "iso8859-1-8x8.raw"); | ^~ ~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from src/lincity/fileutil.cpp:7: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 19 and 274 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/simulate.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/lclib.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/engine.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/world.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/lintypes.o In file included from src/lincity/../lincity-ng/GameView.hpp:32, from src/lincity/simulate.cpp:51: src/lincity/../lincity-ng/MiniMap.hpp:86:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 86 | std::auto_ptr mTexture; | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from src/lincity/../lincity-ng/MiniMap.hpp:26, from src/lincity/../lincity-ng/GameView.hpp:32, from src/lincity/simulate.cpp:51: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/stats.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/lincity/transport.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/tinygettext/findlocale.o Archive ./build/aarch64-mageia-linux-gnu/optimize/src/tinygettext/libtinygettext.a ar: creating ./build/aarch64-mageia-linux-gnu/optimize/src/tinygettext/libtinygettext.a Ranlib ./build/aarch64-mageia-linux-gnu/optimize/src/tinygettext/libtinygettext.a C++ ./build/aarch64-mageia-linux-gnu/optimize/src/PhysfsStream/PhysfsStream.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/PainterSDL/TextureSDL.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/PainterSDL/PainterSDL.o src/PhysfsStream/PhysfsStream.cpp: In constructor 'IFileStreambuf::IFileStreambuf(const string&)': src/PhysfsStream/PhysfsStream.cpp:30:36: 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:30:36: 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:70: 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)); | ^ In file included from src/PhysfsStream/PhysfsStream.hpp:22, from src/PhysfsStream/PhysfsStream.cpp:18: /usr/include/physfs.h:1333:27: note: declared here 1333 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ src/PhysfsStream/PhysfsStream.cpp:46:70: 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)); | ^ In file included from src/PhysfsStream/PhysfsStream.hpp:22, from src/PhysfsStream/PhysfsStream.cpp:18: /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 string&)': src/PhysfsStream/PhysfsStream.cpp:62:36: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 62 | << 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:62:36: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] 62 | << 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 OFileStreambuf::overflow(int)': src/PhysfsStream/PhysfsStream.cpp:82:60: 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); | ^ In file included from src/PhysfsStream/PhysfsStream.hpp:22, from src/PhysfsStream/PhysfsStream.cpp:18: /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/PhysfsStream/PhysfsStream.cpp:82:60: 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); | ^ In file included from src/PhysfsStream/PhysfsStream.hpp:22, from src/PhysfsStream/PhysfsStream.cpp:18: /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/PhysfsStream/PhysfsStream.cpp:87:56: 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); | ^ In file included from src/PhysfsStream/PhysfsStream.hpp:22, from src/PhysfsStream/PhysfsStream.cpp:18: /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ src/PhysfsStream/PhysfsStream.cpp:87:56: 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); | ^ In file included from src/PhysfsStream/PhysfsStream.hpp:22, from src/PhysfsStream/PhysfsStream.cpp:18: /usr/include/physfs.h:1362:27: note: declared here 1362 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/PainterGL/TextureGL.o Archive ./build/aarch64-mageia-linux-gnu/optimize/src/PhysfsStream/libphysfsstream.a ar: creating ./build/aarch64-mageia-linux-gnu/optimize/src/PhysfsStream/libphysfsstream.a Ranlib ./build/aarch64-mageia-linux-gnu/optimize/src/PhysfsStream/libphysfsstream.a C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/PainterGL/PainterGL.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/TableLayout.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/DocumentImage.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/SwitchComponent.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/Child.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/FilledRectangle.o In file included from src/gui/TableLayout.cpp:29: src/gui/TableLayout.cpp: In member function 'virtual Component* INTERN_TableLayoutFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 73 | std::auto_ptr component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/TableLayout.cpp:466:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 466 | IMPLEMENT_COMPONENT_FACTORY(TableLayout) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/9/memory:80, from src/gui/ComponentFactory.hpp:29, from src/gui/TableLayout.cpp:29: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/Desktop.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/Component.o In file included from src/gui/SwitchComponent.cpp:30: src/gui/SwitchComponent.cpp: In member function 'virtual Component* INTERN_SwitchComponentFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 73 | std::auto_ptr component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/SwitchComponent.cpp:179:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 179 | IMPLEMENT_COMPONENT_FACTORY(SwitchComponent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/9/memory:80, from src/gui/ComponentFactory.hpp:29, from src/gui/SwitchComponent.cpp:30: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/FontManager.o In file included from src/gui/FilledRectangle.cpp:32: src/gui/FilledRectangle.cpp: In member function 'virtual Component* INTERN_FilledRectangleFactory::createComponent(XmlReader&)': src/gui/ComponentFactory.hpp:73:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 73 | std::auto_ptr component (new CLASS()); \ | ^~~~~~~~ src/gui/ComponentFactory.hpp:79:1: note: in expansion of macro 'DECLARE_COMPONENT_FACTORY' 79 | DECLARE_COMPONENT_FACTORY(CLASS) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/gui/FilledRectangle.cpp:75:1: note: in expansion of macro 'IMPLEMENT_COMPONENT_FACTORY' 75 | IMPLEMENT_COMPONENT_FACTORY(FilledRectangle) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/9/memory:80, from src/gui/ComponentFactory.hpp:29, from src/gui/FilledRectangle.cpp:32: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/Window.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/Gradient.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/ScrollBar.o C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/Style.o In file included from src/gui/Gradient.cpp:31: src/gui/Gradient.hpp:54:10: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] 54 | std::auto_ptr texture; | ^~~~~~~~ In file included from /usr/include/c++/9/memory:80, from src/gui/Gradient.hpp:28, from src/gui/Gradient.cpp:31: /usr/include/c++/9/bits/unique_ptr.h:53:28: note: declared here 53 | template class auto_ptr; | ^~~~~~~~ C++ ./build/aarch64-mageia-linux-gnu/optimize/src/gui/Rect2D.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 [-Wdeprecated-declarations] 107 | std::auto_ptr