D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/berusky-1.7.2-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ntN2XM + 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 -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.8RZ2LZ + 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:2434: 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:2434: AC_DIAGNOSE is expanded from... aclocal.m4:10647: 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:2434: AC_DIAGNOSE is expanded from... aclocal.m4:10653: 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:2920: 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:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: 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:2920: 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:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: 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:2920: 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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./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... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for library containing strerror... none required checking for aarch64-mageia-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for aarch64-mageia-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of 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... gcc -E checking for aarch64-mageia-linux-gnu-g++... no checking for aarch64-mageia-linux-gnu-c++... no checking for aarch64-mageia-linux-gnu-gpp... no checking for aarch64-mageia-linux-gnu-aCC... no checking for aarch64-mageia-linux-gnu-CC... no checking for aarch64-mageia-linux-gnu-cxx... no checking for aarch64-mageia-linux-gnu-cc++... no checking for aarch64-mageia-linux-gnu-cl.exe... no checking for aarch64-mageia-linux-gnu-FCC... no checking for aarch64-mageia-linux-gnu-KCC... no checking for aarch64-mageia-linux-gnu-RCC... no checking for aarch64-mageia-linux-gnu-xlC_r... no checking for aarch64-mageia-linux-gnu-xlC... no checking for aarch64-mageia-linux-gnu-clang++... no checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of 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 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/nm -B checking the name lister (/usr/bin/nm -B) 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... no checking for ar... 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... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from 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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the 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... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the 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' 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' 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' 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:11: 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' 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 surface::blend(tpos, tpos, tpos, tpos, tcolor, BLEND_OP)': 2d_graph.cpp:367:3: error: reference to 'byte' is ambiguous 367 | byte r,g,b; | ^~~~ In file included from /usr/include/c++/11/cmath:42, from /usr/include/c++/11/math.h:36, from 2d_graph.cpp:34: /usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: 'enum class std::byte' 404 | enum class byte : unsigned char; | ^~~~ In file included from berusky.h:111, from 2d_graph.cpp:36: types.h:35:24: note: 'typedef unsigned char byte' 35 | typedef unsigned char byte; | ^~~~ 2d_graph.cpp:368:23: error: 'r' was not declared in this scope 368 | color_unmap(color, &r, &g, &b); | ^ 2d_graph.cpp:368:27: error: 'g' was not declared in this scope 368 | color_unmap(color, &r, &g, &b); | ^ 2d_graph.cpp:368:31: error: 'b' was not declared in this scope 368 | color_unmap(color, &r, &g, &b); | ^ 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:9: 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:9: 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:9: 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:9: 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 { | ^~~~ make[2]: *** [Makefile:554: 2d_graph.o] Error 1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/berusky-1.7.2/src' 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' 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:9: 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:9: 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' 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' 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' 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' 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:11: 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:11: 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:95:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__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:95:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__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:95:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__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' 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:11: 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:11: 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[1]: *** [Makefile:496: all-recursive] Error 1 make: *** [Makefile:407: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.8RZ2LZ (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.8RZ2LZ (%build) I: [iurt_root_command] ERROR: chroot