D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/berusky-1.7.2-1.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.LA2s6y + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf berusky-1.7.2 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/berusky-1.7.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd berusky-1.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/berusky-1.7.2-mga-fix-working-paths.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ytWB0z + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd berusky-1.7.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: /usr/bin/autoconf --force configure.in:7: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2433: AC_DIAGNOSE is expanded from... aclocal.m4:10295: AM_INIT_AUTOMAKE is expanded from... configure.in:7: the top level configure.in:8: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:8: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2433: AC_DIAGNOSE is expanded from... aclocal.m4:10629: AM_CONFIG_HEADER is expanded from... configure.in:8: the top level configure.in:11: warning: The macro `AC_ISC_POSIX' is obsolete. configure.in:11: You should run autoupdate. ./lib/autoconf/specific.m4:550: AC_ISC_POSIX is expanded from... configure.in:11: the top level configure.in:13: warning: 'AM_PROG_CC_STDC': this macro is obsolete. configure.in:13: You should simply use the 'AC_PROG_CC' macro instead. configure.in:13: Also, your code should no longer depend upon 'am_cv_prog_cc_stdc', configure.in:13: but upon 'ac_cv_prog_cc_stdc'. ./lib/autoconf/general.m4:2433: AC_DIAGNOSE is expanded from... aclocal.m4:10635: AM_PROG_CC_STDC is expanded from... configure.in:13: the top level configure.in:14: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:14: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:14: the top level configure.in:25: warning: The macro `GLIB_GNU_GETTEXT' is obsolete. configure.in:25: You should run autoupdate. aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.in:25: the top level configure.in:25: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:25: You should run autoupdate. ./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2248: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2269: AC_CACHE_CHECK is expanded from... aclocal.m4:73: GLIB_LC_MESSAGES is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.in:25: the top level configure.in:25: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:25: You should run autoupdate. ./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2248: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2269: AC_CACHE_CHECK is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... aclocal.m4:172: GLIB_WITH_NLS is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.in:25: the top level configure.in:25: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:25: You should run autoupdate. ./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... aclocal.m4:172: GLIB_WITH_NLS is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.in:25: the top level configure.in:25: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete. configure.in:25: You should run autoupdate. ./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from... aclocal.m4:172: GLIB_WITH_NLS is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.in:25: the top level configure.in:27: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.in:27: You should run autoupdate. aclocal.m4:609: AM_PROG_LIBTOOL is expanded from... configure.in:27: the top level configure.in:97: warning: AC_OUTPUT should be used without arguments. configure.in:97: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot' autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and autoheader: WARNING: 'AC_DEFINE' allows one to define a template without autoheader: WARNING: 'acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function 'main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. autoreconf: running: automake --add-missing --copy --force-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:7: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:7: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:11: installing './compile' configure.in:7: installing './missing' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' + 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=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + /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 Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-gcc 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 the compiler supports GNU C... yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to enable C11 features... none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... yes checking dependency style of aarch64-mageia-linux-gnu-gcc... none checking for library containing strerror... none required checking for aarch64-mageia-linux-gnu-gcc... (cached) aarch64-mageia-linux-gnu-gcc checking whether the compiler supports GNU C... (cached) yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... (cached) yes checking for aarch64-mageia-linux-gnu-gcc option to enable C11 features... (cached) none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of aarch64-mageia-linux-gnu-gcc... (cached) none checking for aarch64-mageia-linux-gnu-gcc... (cached) aarch64-mageia-linux-gnu-gcc checking whether the compiler supports GNU C... (cached) yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... (cached) yes checking for aarch64-mageia-linux-gnu-gcc option to enable C11 features... (cached) none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of aarch64-mageia-linux-gnu-gcc... (cached) none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking how to run the C preprocessor... aarch64-mageia-linux-gnu-gcc -E checking for aarch64-mageia-linux-gnu-g++... aarch64-mageia-linux-gnu-g++ checking whether the compiler supports GNU C++... yes checking whether aarch64-mageia-linux-gnu-g++ accepts -g... yes checking for aarch64-mageia-linux-gnu-g++ option to enable C++11 features... none needed checking dependency style of aarch64-mageia-linux-gnu-g++... none checking for locale.h... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by aarch64-mageia-linux-gnu-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/aarch64-mageia-linux-gnu-nm -p checking the name lister (/usr/bin/aarch64-mageia-linux-gnu-nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop checking how to convert aarch64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-mageia-linux-gnu-ar... aarch64-mageia-linux-gnu-ar checking for archiver @FILE support... @ checking for aarch64-mageia-linux-gnu-strip... no checking for strip... strip checking for aarch64-mageia-linux-gnu-ranlib... aarch64-mageia-linux-gnu-ranlib checking command to parse /usr/bin/aarch64-mageia-linux-gnu-nm -p output from aarch64-mageia-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if aarch64-mageia-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for aarch64-mageia-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if aarch64-mageia-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if aarch64-mageia-linux-gnu-gcc static flag -static works... no checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... yes checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the aarch64-mageia-linux-gnu-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... aarch64-mageia-linux-gnu-g++ -E checking for ld used by aarch64-mageia-linux-gnu-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the aarch64-mageia-linux-gnu-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for aarch64-mageia-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if aarch64-mageia-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if aarch64-mageia-linux-gnu-g++ static flag -static works... no checking if aarch64-mageia-linux-gnu-g++ supports -c -o file.o... yes checking if aarch64-mageia-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the aarch64-mageia-linux-gnu-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for aarch64-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for PACKAGE... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating data/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing libtool commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in po make[2]: Nothing to be done for 'all'. Making all in src make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o data_parser.o data_parser.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o events.o events.cpp In file included from berusky.h:109, from events.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o berusky.o berusky.cpp In file included from berusky.h:109, from berusky.cpp:33: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky_gui.h:31, from berusky.cpp:34: gui.h: In constructor 'checkbox_config::checkbox_config()': gui.h:159:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] 159 | memset(this,0,sizeof(*this)); | ^ gui.h:106:16: note: 'struct checkbox_config' declared here 106 | typedef struct checkbox_config { | ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o ini.o ini.cpp make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o animation.o animation.cpp In file included from berusky.h:109, from animation.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ animation.cpp: In constructor 'animation::animation()': animation.cpp:282:30: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class animation'; use assignment or value-initialization instead [-Wclass-memaccess] 282 | memset(this,0,sizeof(*this)); | ^ In file included from berusky.h:132, from animation.cpp:28: animation.h:164:15: note: 'class animation' declared here 164 | typedef class animation { | ^~~~~~~~~ animation.cpp: In member function 'void animation::init(anim_template_handle, tpos, tpos, tpos, int)': animation.cpp:291:30: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class animation'; use assignment or value-initialization instead [-Wclass-memaccess] 291 | memset(this,0,sizeof(*this)); | ^ In file included from berusky.h:132, from animation.cpp:28: animation.h:164:15: note: 'class animation' declared here 164 | typedef class animation { | ^~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o level.o level.cpp In file included from berusky.h:109, from level.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o graphics.o graphics.cpp In file included from berusky.h:109, from graphics.cpp:34: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ graphics.cpp: In member function 'virtual bool screen_editor::draw()': graphics.cpp:305:29: warning: narrowing conversion of '((min_x * ((screen_editor*)this)->screen_editor::.screen::cell_x) + ((screen_editor*)this)->screen_editor::.screen::start_x)' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; | ~~~~~~~~~~~~^~~~~~~~ graphics.cpp:305:50: warning: narrowing conversion of '((min_y * ((screen_editor*)this)->screen_editor::.screen::cell_y) + ((screen_editor*)this)->screen_editor::.screen::start_y)' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; | ~~~~~~~~~~~~^~~~~~~~ graphics.cpp:305:61: warning: narrowing conversion of '(dx * ((screen_editor*)this)->screen_editor::.screen::cell_x)' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; | ~~^~~~~~~ graphics.cpp:305:71: warning: narrowing conversion of '(dy * ((screen_editor*)this)->screen_editor::.screen::cell_y)' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; | ~~^~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o game_logic.o game_logic.cpp In file included from berusky.h:109, from game_logic.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o level_active.o level_active.cpp In file included from berusky.h:109, from level_active.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from /usr/include/string.h:519, from berusky.h:46, from level_active.cpp:28: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'bool level_store::level_load(DIR_LIST*, char*)' at level_active.cpp:62:10: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'bool level_store::levelset_load(DIR_LIST*, char*)' at level_active.cpp:139:12: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 50 bytes from a string of length 4095 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncat(char*, const char*, size_t)', inlined from 'bool level_store::levelset_load(DIR_LIST*, char*)' at level_active.cpp:133:12: /usr/include/bits/string_fortified.h:122:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-overflow=] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o level_changer.o level_changer.cpp In file included from berusky.h:109, from level_changer.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o data_parser_tables.o data_parser_tables.cpp In file included from berusky.h:109, from data_parser_tables.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o 2d_graph.o 2d_graph.cpp In file included from berusky.h:109, from 2d_graph.cpp:36: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ 2d_graph.cpp: In constructor 'surface::surface(surface*, tpos, tpos, tpos, tpos)': 2d_graph.cpp:289:15: warning: narrowing conversion of 'sx' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 289 | RECT src = {sx,sy,width,height}; | ^~ 2d_graph.cpp:289:18: warning: narrowing conversion of 'sy' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 289 | RECT src = {sx,sy,width,height}; | ^~ 2d_graph.cpp:289:21: warning: narrowing conversion of 'width' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 289 | RECT src = {sx,sy,width,height}; | ^~~~~ 2d_graph.cpp:289:27: warning: narrowing conversion of 'height' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 289 | RECT src = {sx,sy,width,height}; | ^~~~~~ 2d_graph.cpp: In member function 'void surface::fill(tpos, tpos, tpos, tpos, tcolor)': 2d_graph.cpp:328:20: warning: narrowing conversion of 'x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 328 | SDL_Rect rec = { x, y, dx, dy }; | ^ 2d_graph.cpp:328:23: warning: narrowing conversion of 'y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 328 | SDL_Rect rec = { x, y, dx, dy }; | ^ 2d_graph.cpp:328:26: warning: narrowing conversion of 'dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 328 | SDL_Rect rec = { x, y, dx, dy }; | ^~ 2d_graph.cpp:328:30: warning: narrowing conversion of 'dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 328 | SDL_Rect rec = { x, y, dx, dy }; | ^~ 2d_graph.cpp: In member function 'void surface::blit(surface*, tpos, tpos)': 2d_graph.cpp:336:23: warning: narrowing conversion of 'tx' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 336 | SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; | ^~ 2d_graph.cpp:336:26: warning: narrowing conversion of 'ty' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 336 | SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; | ^~ 2d_graph.cpp:336:37: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::w' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 336 | SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; | ~~~~~~~~^ 2d_graph.cpp:336:47: warning: narrowing conversion of '((surface*)this)->surface::p_surf->SDL_Surface::h' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 336 | SDL_Rect dst_rec = {tx,ty,p_surf->w,p_surf->h}; | ~~~~~~~~^ 2d_graph.cpp: In member function 'void surface::blit(tpos, tpos, tpos, tpos, surface*, tpos, tpos)': 2d_graph.cpp:344:23: warning: narrowing conversion of 'sx' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 344 | SDL_Rect src_rec = {sx,sy,dx,dy}; | ^~ 2d_graph.cpp:344:26: warning: narrowing conversion of 'sy' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 344 | SDL_Rect src_rec = {sx,sy,dx,dy}; | ^~ 2d_graph.cpp:344:29: warning: narrowing conversion of 'dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 344 | SDL_Rect src_rec = {sx,sy,dx,dy}; | ^~ 2d_graph.cpp:344:32: warning: narrowing conversion of 'dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 344 | SDL_Rect src_rec = {sx,sy,dx,dy}; | ^~ 2d_graph.cpp:345:23: warning: narrowing conversion of 'tx' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 345 | SDL_Rect dst_rec = {tx,ty,dx,dy}; | ^~ 2d_graph.cpp:345:26: warning: narrowing conversion of 'ty' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 345 | SDL_Rect dst_rec = {tx,ty,dx,dy}; | ^~ 2d_graph.cpp:345:29: warning: narrowing conversion of 'dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 345 | SDL_Rect dst_rec = {tx,ty,dx,dy}; | ^~ 2d_graph.cpp:345:32: warning: narrowing conversion of 'dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 345 | SDL_Rect dst_rec = {tx,ty,dx,dy}; | ^~ 2d_graph.cpp: In member function 'void sprite::blit(tpos, tpos, tpos, tpos, sprite*, tpos, tpos)': 2d_graph.cpp:618:23: warning: narrowing conversion of 'sx' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 618 | SDL_Rect src_rec = {sx, sy, dx, dy}; | ^~ 2d_graph.cpp:618:27: warning: narrowing conversion of 'sy' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 618 | SDL_Rect src_rec = {sx, sy, dx, dy}; | ^~ 2d_graph.cpp:618:31: warning: narrowing conversion of 'dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 618 | SDL_Rect src_rec = {sx, sy, dx, dy}; | ^~ 2d_graph.cpp:618:35: warning: narrowing conversion of 'dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 618 | SDL_Rect src_rec = {sx, sy, dx, dy}; | ^~ 2d_graph.cpp: In member function 'spr_handle sprite_store::sprite_insert(surf_handle, tflag, RECT*, spr_handle)': 2d_graph.cpp:816:45: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'SPRITE' {aka 'class sprite'}; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 816 | memcpy(p_sprites+shandle,&tmp, sizeof(tmp)); | ^ In file included from berusky.h:117, from 2d_graph.cpp:36: 2d_graph.h:271:15: note: 'SPRITE' {aka 'class sprite'} declared here 271 | typedef class sprite | ^~~~~~ 2d_graph.cpp: In member function 'spr_handle sprite_store::sprite_insert(SURFACE*, tflag, RECT*, spr_handle)': 2d_graph.cpp:834:45: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'SPRITE' {aka 'class sprite'}; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 834 | memcpy(p_sprites+shandle,&tmp, sizeof(tmp)); | ^ In file included from berusky.h:117, from 2d_graph.cpp:36: 2d_graph.h:271:15: note: 'SPRITE' {aka 'class sprite'} declared here 271 | typedef class sprite | ^~~~~~ 2d_graph.cpp: In member function 'spr_handle sprite_store::sprite_insert(SPRITE*, int, spr_handle)': 2d_graph.cpp:845:52: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'SPRITE' {aka 'class sprite'}; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 845 | memcpy(p_sprites+start,p_spr,sizeof(p_spr[0])*num); | ^ In file included from berusky.h:117, from 2d_graph.cpp:36: 2d_graph.h:271:15: note: 'SPRITE' {aka 'class sprite'} declared here 271 | typedef class sprite | ^~~~~~ 2d_graph.cpp: In constructor 'font::font(GRAPH_2D*)': 2d_graph.cpp:1056:30: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class font'; use assignment instead [-Wclass-memaccess] 1056 | memset(this,0,sizeof(*this)); | ^ In file included from berusky.h:117, from 2d_graph.cpp:36: 2d_graph.h:896:15: note: 'class font' declared here 896 | typedef class font { | ^~~~ In file included from /usr/include/string.h:519, from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from 2d_graph.cpp:31: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'spr_handle sprite_store::sprite_insert(const char*, spr_handle, spr_handle*)' at 2d_graph.cpp:732:10: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 200 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o profile.o profile.cpp In file included from berusky.h:109, from profile.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ profile.cpp: In member function 'void berusky_profile::save()': profile.cpp:106:20: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1017 [-Wformat-truncation=] 106 | "name = %s\nl0 = %d\nl1 = %d\nl2 = %d\nl3 = %d\nl4 = %d\nl5 = %d\n", | ^~ In file included from /usr/include/stdio.h:866, from berusky.h:43, from profile.cpp:28: /usr/include/bits/stdio2.h:70:35: note: '__builtin___snprintf_chk' output between 51 and 4206 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o utils.o utils.cpp In file included from berusky.h:109, from utils.cpp:51: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky_gui.h:31, from utils.cpp:52: gui.h: In constructor 'checkbox_config::checkbox_config()': gui.h:159:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] 159 | memset(this,0,sizeof(*this)); | ^ gui.h:106:16: note: 'struct checkbox_config' declared here 106 | typedef struct checkbox_config { | ^~~~~~~~~~~~~~~ In file included from utils.cpp:54: editor.h: In constructor 'editor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)': editor.h:335:32: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class editor_panel' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 335 | memset(this,0,sizeof(*this)); | ^ editor.h:102:15: note: 'class editor_panel' declared here 102 | typedef class editor_panel { | ^~~~~~~~~~~~ utils.cpp: In member function 'void dir_list::update_path(char*)': utils.cpp:101:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 101 | chdir(cwd); | ~~~~~^~~~~ utils.cpp:102:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 102 | chdir(buffer); | ~~~~~^~~~~~~~ utils.cpp:103:9: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 103 | getcwd(p_dir,MAX_FILENAME); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ utils.cpp: In member function 'void dir_list::load(const char*)': utils.cpp:125:9: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 125 | getcwd(cwd,MAX_FILENAME); | ~~~~~~^~~~~~~~~~~~~~~~~~ utils.cpp:131:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 131 | chdir(cwd); | ~~~~~^~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o level_game.o level_game.cpp In file included from berusky.h:109, from level_game.cpp:34: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o main.o main.cpp In file included from berusky.h:109, from main.cpp:38: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from main.cpp:29: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.cpp:29: /usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from main.cpp:29: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.cpp:29: /usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here 545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from berusky_gui.h:31, from main.cpp:39: gui.h: In constructor 'checkbox_config::checkbox_config()': gui.h:159:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] 159 | memset(this,0,sizeof(*this)); | ^ gui.h:106:16: note: 'struct checkbox_config' declared here 106 | typedef struct checkbox_config { | ^~~~~~~~~~~~~~~ In file included from main.cpp:41: editor.h: In constructor 'editor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)': editor.h:335:32: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class editor_panel' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 335 | memset(this,0,sizeof(*this)); | ^ editor.h:102:15: note: 'class editor_panel' declared here 102 | typedef class editor_panel { | ^~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o gui.o gui.cpp In file included from berusky.h:109, from gui.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from gui.cpp:29: gui.h: In constructor 'checkbox_config::checkbox_config()': gui.h:159:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] 159 | memset(this,0,sizeof(*this)); | ^ gui.h:106:16: note: 'struct checkbox_config' declared here 106 | typedef struct checkbox_config { | ^~~~~~~~~~~~~~~ gui.cpp: In member function 'void gui_base::menu_item_draw_sprite(char*, MENU_TYPE, int, LEVEL_EVENT, LEVEL_EVENT, LEVEL_EVENT)': gui.cpp:138:27: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; | ^~~~~~ gui.cpp:138:35: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; | ^~~~~~ gui.cpp:138:43: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; | ^~~~~~~~~~~~~~~~ gui.cpp:138:61: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; | ^~~~~~~~~~~~~~~~ gui.cpp:197:27: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; | ^~~~~~ gui.cpp:197:35: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; | ^~~~~~ gui.cpp:197:43: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; | ^~~~~~~~~~~~~~~~ gui.cpp:197:61: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; | ^~~~~~~~~~~~~~~~ gui.cpp: In member function 'void gui_base::menu_item_draw_checkbox(char*, MENU_TYPE, bool, int, int, LEVEL_EVENT, LEVEL_EVENT, LEVEL_EVENT)': gui.cpp:402:25: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 402 | RECT r_box = {last_x, last_y, 20, 20}; | ^~~~~~ gui.cpp:402:33: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_y' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 402 | RECT r_box = {last_x, last_y, 20, 20}; | ^~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o editor.o editor.cpp In file included from berusky.h:109, from editor.cpp:45: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky_gui.h:31, from editor.cpp:46: gui.h: In constructor 'checkbox_config::checkbox_config()': gui.h:159:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] 159 | memset(this,0,sizeof(*this)); | ^ gui.h:106:16: note: 'struct checkbox_config' declared here 106 | typedef struct checkbox_config { | ^~~~~~~~~~~~~~~ In file included from editor.cpp:48: editor.h: In constructor 'editor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)': editor.h:335:32: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class editor_panel' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 335 | memset(this,0,sizeof(*this)); | ^ editor.h:102:15: note: 'class editor_panel' declared here 102 | typedef class editor_panel { | ^~~~~~~~~~~~ editor.h: In constructor 'editor_gui::editor_gui(ITEM_REPOSITORY*, DIR_LIST*)': editor.h:605:16: warning: 'editor_gui::p_side_event_first' will be initialized after [-Wreorder] 605 | LLIST_ITEM * p_side_event_first; | ^~~~~~~~~~~~~~~~~~ editor.h:571:19: warning: 'ITEM_PANEL editor_gui::panel_items' [-Wreorder] 571 | ITEM_PANEL panel_items; | ^~~~~~~~~~~ editor.cpp:464:1: warning: when initialized here [-Wreorder] 464 | editor_gui::editor_gui(ITEM_REPOSITORY *p_repo_, DIR_LIST *p_dir_): | ^~~~~~~~~~ In file included from berusky.h:109, from editor.cpp:45: editor.cpp: In member function 'void editor_gui::selection_draw(bool)': defines.h:101:66: warning: narrowing conversion of '(((((berusky_config::editor_screen_start_y + berusky_config::level_resolution_y) - 140) + 20) + 20) + 10)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 101 | #define EDIT_ITEM_PICT_START_Y (EDIT_ITEM_START_Y+EDIT_ITEM_DY+10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ editor.cpp:587:15: note: in expansion of macro 'EDIT_ITEM_PICT_START_Y' 587 | EDIT_ITEM_PICT_START_Y, | ^~~~~~~~~~~~~~~~~~~~~~ defines.h:79:63: warning: narrowing conversion of '(berusky_config::cell_size_x * 3)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 79 | #define EDITOR_ITEM_SIZE_X (berusky_config::cell_size_x*3) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ editor.cpp:588:15: note: in expansion of macro 'EDITOR_ITEM_SIZE_X' 588 | EDITOR_ITEM_SIZE_X, | ^~~~~~~~~~~~~~~~~~ defines.h:80:63: warning: narrowing conversion of '(berusky_config::cell_size_y * 3)' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 80 | #define EDITOR_ITEM_SIZE_Y (berusky_config::cell_size_y*3) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ editor.cpp:589:15: note: in expansion of macro 'EDITOR_ITEM_SIZE_Y' 589 | EDITOR_ITEM_SIZE_Y}; | ^~~~~~~~~~~~~~~~~~ editor.cpp:601:56: warning: narrowing conversion of '((((20 * 3) * 2) + (berusky_config::cell_size_x * 3)) + 10)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 601 | RECT r = {EDIT_ITEM_PICT_START_X+EDITOR_ITEM_SIZE_X+10, In file included from berusky.h:109, from editor.cpp:45: defines.h:101:66: warning: narrowing conversion of '(((((berusky_config::editor_screen_start_y + berusky_config::level_resolution_y) - 140) + 20) + 20) + 10)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 101 | #define EDIT_ITEM_PICT_START_Y (EDIT_ITEM_START_Y+EDIT_ITEM_DY+10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ editor.cpp:602:15: note: in expansion of macro 'EDIT_ITEM_PICT_START_Y' 602 | EDIT_ITEM_PICT_START_Y, | ^~~~~~~~~~~~~~~~~~~~~~ editor.cpp: In member function 'void editor_gui::layer_status_create()': defines.h:84:55: warning: narrowing conversion of '(berusky_config::editor_resolution_x - ((20 * 3) * 2))' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 84 | #define EDITOR_LAYER_STATUS_DX (EDITOR_RESOLUTION_X-EDITOR_LAYER_STATUS_X) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ editor.cpp:819:13: note: in expansion of macro 'EDITOR_LAYER_STATUS_DX' 819 | EDITOR_LAYER_STATUS_DX, | ^~~~~~~~~~~~~~~~~~~~~~ editor.cpp: In member function 'void editor_gui::level_config()': defines.h:87:52: warning: narrowing conversion of 'berusky_config::editor_screen_start_x' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 87 | #define EDITOR_SCREEN_START_X (berusky_config::editor_screen_start_x) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ editor.cpp:960:13: note: in expansion of macro 'EDITOR_SCREEN_START_X' 960 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; | ^~~~~~~~~~~~~~~~~~~~~ defines.h:88:52: warning: narrowing conversion of 'berusky_config::editor_screen_start_y' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 88 | #define EDITOR_SCREEN_START_Y (berusky_config::editor_screen_start_y) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ editor.cpp:960:35: note: in expansion of macro 'EDITOR_SCREEN_START_Y' 960 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; | ^~~~~~~~~~~~~~~~~~~~~ defines.h:51:52: warning: narrowing conversion of 'berusky_config::level_resolution_x' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 51 | #define LEVEL_RESOLUTION_X (berusky_config::level_resolution_x) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ editor.cpp:960:57: note: in expansion of macro 'LEVEL_RESOLUTION_X' 960 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; | ^~~~~~~~~~~~~~~~~~ defines.h:52:52: warning: narrowing conversion of 'berusky_config::level_resolution_y' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 52 | #define LEVEL_RESOLUTION_Y (berusky_config::level_resolution_y) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ editor.cpp:960:76: note: in expansion of macro 'LEVEL_RESOLUTION_Y' 960 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from editor.cpp:31: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void editor_gui::level_name_set(char*)' at editor.cpp:1033:10: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void editor_gui::level_load(char*, int)' at editor.cpp:1044:14: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'void editor_gui::level_save_as(char*, int)' at editor.cpp:1111:12: /usr/include/bits/string_fortified.h:91:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o input.o input.cpp In file included from berusky.h:109, from input.cpp:30: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky_gui.h:31, from input.cpp:31: gui.h: In constructor 'checkbox_config::checkbox_config()': gui.h:159:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] 159 | memset(this,0,sizeof(*this)); | ^ gui.h:106:16: note: 'struct checkbox_config' declared here 106 | typedef struct checkbox_config { | ^~~~~~~~~~~~~~~ In file included from input.cpp:32: editor.h: In constructor 'editor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)': editor.h:335:32: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class editor_panel' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] 335 | memset(this,0,sizeof(*this)); | ^ editor.h:102:15: note: 'class editor_panel' declared here 102 | typedef class editor_panel { | ^~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' aarch64-mageia-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o berusky_gui.o berusky_gui.cpp In file included from berusky.h:109, from berusky_gui.cpp:41: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky_gui.h:31, from berusky_gui.cpp:42: gui.h: In constructor 'checkbox_config::checkbox_config()': gui.h:159:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] 159 | memset(this,0,sizeof(*this)); | ^ gui.h:106:16: note: 'struct checkbox_config' declared here 106 | typedef struct checkbox_config { | ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' /bin/sh ../libtool --tag=CXX --mode=link aarch64-mageia-linux-gnu-g++ -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o berusky 2d_graph.o animation.o berusky.o data_parser.o editor.o events.o game_logic.o graphics.o ini.o input.o level.o level_active.o level_changer.o level_game.o utils.o data_parser_tables.o berusky_gui.o main.o gui.o profile.o -lSDL_image -lSDL -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lSDL -lSDL_image libtool: link: aarch64-mageia-linux-gnu-g++ -Wall -Wint-to-pointer-cast -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o berusky 2d_graph.o animation.o berusky.o data_parser.o editor.o events.o game_logic.o graphics.o ini.o input.o level.o level_active.o level_changer.o level_game.o utils.o data_parser_tables.o berusky_gui.o main.o gui.o profile.o -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lgmodule-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lSDL -lSDL_image -pthread /usr/bin/ld: profile.o: in function `berusky_profile::create(char const*)': /home/iurt/rpmbuild/BUILD/berusky-1.7.2/src/profile.cpp:122: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' Making all in data make[2]: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.r7XECy + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64 + cd berusky-1.7.2 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64 'INSTALL=/usr/bin/install -p' Making install in po make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/po' mkdir -p /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share; \ catalogs=''; \ for cat in $catalogs; do \ cat=`basename $cat`; \ case "$cat" in \ *.gmo) destdir=/usr/share/locale;; \ *) destdir=/usr/lib64/locale;; \ esac; \ lang=`echo $cat | sed 's/\.gmo$//'`; \ dir=/home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64$destdir/$lang/LC_MESSAGES; \ mkdir -p $dir; \ if test -r $cat; then \ /usr/bin/install -p -m 644 $cat $dir/berusky.mo; \ echo "installing $cat as $dir/berusky.mo"; \ else \ /usr/bin/install -p -m 644 ./$cat $dir/berusky.mo; \ echo "installing ./$cat as" \ "$dir/berusky.mo"; \ fi; \ if test -r $cat.m; then \ /usr/bin/install -p -m 644 $cat.m $dir/berusky.mo.m; \ echo "installing $cat.m as $dir/berusky.mo.m"; \ else \ if test -r ./$cat.m ; then \ /usr/bin/install -p -m 644 ./$cat.m \ $dir/berusky.mo.m; \ echo "installing ./$cat as" \ "$dir/berusky.mo.m"; \ else \ true; \ fi; \ fi; \ done if test "berusky" = "glib"; then \ mkdir -p /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/glib-2.0/gettext/po; \ /usr/bin/install -p -m 644 ./Makefile.in.in \ /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/glib-2.0/gettext/po/Makefile.in.in; \ else \ : ; \ fi make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/po' Making install in src make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p berusky '/home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/bin' libtool: install: /usr/bin/install -p berusky /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/bin/berusky make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' Making install in data make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/data' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/berusky' /usr/bin/install -p -m 644 berusky.ini '/home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/berusky' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/data' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/data' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/doc/berusky' /usr/bin/install -p -m 644 README COPYING AUTHORS ChangeLog INSTALL NEWS TODO '/home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/doc/berusky' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2' + rm -rf /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/doc + install -D -p /home/iurt/rpmbuild/SOURCES/berusky.png /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/icons/hicolor/32x32/apps/berusky.png + mkdir -p /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/applications + cat + mkdir -p /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/etc/berusky + mv /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/berusky/berusky.ini /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/etc/berusky + rm -fR /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/berusky + mkdir -p /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/games/berusky + mv /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/bin /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/games + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.7.2-1.mga8 --unique-debug-suffix -1.7.2-1.mga8.aarch64 --unique-debug-src-base berusky-1.7.2-1.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/berusky-1.7.2 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/games/berusky extracting debug info from /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/games/berusky original debug info size: 2528kB, size after compression: 2240kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1151 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: berusky-1.7.2-1.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.EEEIzy + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd berusky-1.7.2 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/doc/berusky + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/doc/berusky + cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/doc/berusky + cp -pr ChangeLog /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/doc/berusky + cp -pr INSTALL /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/doc/berusky + cp -pr NEWS /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/doc/berusky + cp -pr README /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/doc/berusky + cp -pr TODO /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64/usr/share/doc/berusky + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(berusky.desktop) berusky = 1.7.2-1.mga8 berusky(aarch-64) = 1.7.2-1.mga8 config(berusky) = 1.7.2-1.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgtk-x11-2.0.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) Processing files: berusky-debugsource-1.7.2-1.mga8.aarch64 Provides: berusky-debugsource = 1.7.2-1.mga8 berusky-debugsource(aarch-64) = 1.7.2-1.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: berusky-debuginfo-1.7.2-1.mga8.aarch64 Provides: berusky-debuginfo = 1.7.2-1.mga8 berusky-debuginfo(aarch-64) = 1.7.2-1.mga8 debuginfo(build-id) = 1e36f397ce470555c7543037a9a4d56157911128 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: berusky-debugsource(aarch-64) = 1.7.2-1.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/berusky-1.7.2-1.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/berusky-debugsource-1.7.2-1.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/berusky-debuginfo-1.7.2-1.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.MD9YcA + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd berusky-1.7.2 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/berusky-1.7.2-1.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.nxBNFB + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf berusky-1.7.2 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!