Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/berusky.spec'], chrootPath='/var/lib/mock/f33-build-301456-56754/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/berusky.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: line 20: It's not recommended to have unversioned Obsoletes: Obsoletes: berusky-data Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Wrote: /builddir/build/SRPMS/berusky-1.7.1-18.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/berusky.spec'], chrootPath='/var/lib/mock/f33-build-301456-56754/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/berusky.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: line 20: It's not recommended to have unversioned Obsoletes: Obsoletes: berusky-data Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vbRj6A + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf berusky-1.7.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/berusky-data-1.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gzip -dc /builddir/build/SOURCES/berusky-1.7.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd berusky-1.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (berusky-1.7.1-sdl-build.patch):' Patch #1 (berusky-1.7.1-sdl-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sdl-build --fuzz=0 patching file configure.in Patch #2 (berusky-1.7.1-data-dir.patch): + echo 'Patch #2 (berusky-1.7.1-data-dir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .data-dir --fuzz=0 patching file src/defines.h + echo 'Patch #3 (berusky-1.7.1-events-num.patch):' Patch #3 (berusky-1.7.1-events-num.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .events-num --fuzz=0 patching file src/animation.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3a4zCC + umask 022 + cd /builddir/build/BUILD + cd berusky-1.7.1 + autoconf + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-15 04:24:48.399627239 -0400 +++ ./configure 2020-08-15 04:24:50.469626987 -0400 @@ -1916,7 +1916,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-15 04:24:50.469626987 -0400 +++ ./configure 2020-08-15 04:24:51.519626858 -0400 @@ -18471,7 +18471,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 thread-safe 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 for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for library containing strerror... none required checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking how to run the C preprocessor... gcc -E checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes 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... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-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 riscv64-redhat-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 riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-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 + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/berusky-1.7.1' Making all in po make[2]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/po' Making all in src make[2]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o 2d_graph.o 2d_graph.cpp g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o animation.o animation.cpp g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o berusky.o berusky.cpp g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o data_parser.o data_parser.cpp In file included from berusky.h:109, from animation.cpp:28: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky.h:109, from berusky.cpp:33: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky.h:109, from 2d_graph.cpp:36: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #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 { | ^~~~~~~~~~~~~~~ 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 { | ^~~~~~~~~ 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 { | ^~~~ g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o editor.o editor.cpp g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o events.o events.cpp In file included from berusky.h:109, from editor.cpp:45: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky.h:109, from events.cpp:28: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #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 { | ^~~~~~~~~~~~ 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:585:15: note: in expansion of macro 'EDIT_ITEM_PICT_START_Y' 585 | 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:586:15: note: in expansion of macro 'EDITOR_ITEM_SIZE_X' 586 | 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:587:15: note: in expansion of macro 'EDITOR_ITEM_SIZE_Y' 587 | EDITOR_ITEM_SIZE_Y}; | ^~~~~~~~~~~~~~~~~~ editor.cpp:599:56: warning: narrowing conversion of '((((20 * 3) * 2) + (berusky_config::cell_size_x * 3)) + 10)' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 599 | 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:600:15: note: in expansion of macro 'EDIT_ITEM_PICT_START_Y' 600 | 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:817:13: note: in expansion of macro 'EDITOR_LAYER_STATUS_DX' 817 | 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:958:13: note: in expansion of macro 'EDITOR_SCREEN_START_X' 958 | 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:958:35: note: in expansion of macro 'EDITOR_SCREEN_START_Y' 958 | 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:958:57: note: in expansion of macro 'LEVEL_RESOLUTION_X' 958 | 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:958:76: note: in expansion of macro 'LEVEL_RESOLUTION_Y' 958 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; | ^~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o game_logic.o game_logic.cpp In file included from berusky.h:109, from game_logic.cpp:28: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o graphics.o graphics.cpp In file included from berusky.h:109, from graphics.cpp:34: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ 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 'strncpy', inlined from 'sprite_store::sprite_insert(char const*, int, int*)' at 2d_graph.cpp:732:10: /usr/include/bits/string_fortified.h:106:34: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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}; | ~~^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ini.o ini.cpp g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o input.o input.cpp In file included from berusky.h:109, from input.cpp:30: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o level.o level.cpp g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o level_active.o level_active.cpp In file included from berusky.h:109, from level.cpp:28: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #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 { | ^~~~~~~~~~~~ In file included from berusky.h:109, from level_active.cpp:28: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from /usr/include/string.h:519, from editor.cpp:31: In function 'strncpy', inlined from 'editor_gui::level_name_set(char*)' at editor.cpp:1023:10: /usr/include/bits/string_fortified.h:106:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o level_changer.o level_changer.cpp In file included from /usr/include/string.h:519, from berusky.h:46, from level_active.cpp:28: In function 'strncpy', inlined from 'level_store::level_load(dir_list*, char*)' at level_active.cpp:62:10: /usr/include/bits/string_fortified.h:106:34: warning: 'strncpy' specified bound 50 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'editor_gui::level_load(char*, int)' at editor.cpp:1034:14: /usr/include/bits/string_fortified.h:106:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from berusky.h:109, from level_changer.cpp:28: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In function 'strncpy', inlined from 'editor_gui::level_save_as(char*, int)' at editor.cpp:1101:12: /usr/include/bits/string_fortified.h:106:34: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'level_store::levelset_load(dir_list*, char*)' at level_active.cpp:133:12: /usr/include/bits/string_fortified.h:137:34: warning: '__strncat_chk' output may be truncated copying 50 bytes from a string of length 4095 [-Wstringop-truncation] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'level_store::levelset_load(dir_list*, char*)' at level_active.cpp:139:12: /usr/include/bits/string_fortified.h:106:34: warning: 'strncpy' output may be truncated copying 50 bytes from a string of length 4095 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'level_store::levelset_load(dir_list*, char*)' at level_active.cpp:133:12: /usr/include/bits/string_fortified.h:137:34: warning: '__strncat_chk' specified bound 50 equals destination size [-Wstringop-overflow=] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o level_game.o level_game.cpp In file included from berusky.h:109, from level_game.cpp:34: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o utils.o utils.cpp In file included from berusky.h:109, from utils.cpp:49: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o data_parser_tables.o data_parser_tables.cpp In file included from berusky_gui.h:31, from utils.cpp:50: 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:52: 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:99:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 99 | chdir(cwd); | ~~~~~^~~~~ utils.cpp:100:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 100 | chdir(buffer); | ~~~~~^~~~~~~~ utils.cpp:101:9: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 101 | getcwd(p_dir,MAX_FILENAME); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ utils.cpp: In member function 'void dir_list::load(const char*)': utils.cpp:118:9: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | getcwd(cwd,MAX_FILENAME); | ~~~~~~^~~~~~~~~~~~~~~~~~ utils.cpp:125:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 125 | chdir(cwd); | ~~~~~^~~~~ In file included from berusky.h:109, from data_parser_tables.cpp:28: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o berusky_gui.o berusky_gui.cpp In file included from berusky.h:109, from berusky_gui.cpp:41: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o main.o main.cpp 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 { | ^~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gui.o gui.cpp In file included from berusky.h:109, from main.cpp:38: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky.h:109, from gui.cpp:28: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #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}; | ^~~~~~ 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 { | ^~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -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 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o profile.o profile.cpp In file included from berusky.h:109, from profile.cpp:28: defines.h:452:44: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_GLOBAL PACKAGE_DATA_DIR"/berusky/"INI_FILE_NAME | ^ defines.h:453:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 453 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME | ^ defines.h:454:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 454 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ profile.cpp: In member function '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: '__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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -lgtk-x11-2.0 -latk-1.0 -lgio-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_image -lSDL -lpthread -lSDL -lSDL_image libtool: link: g++ -Wall -Wint-to-pointer-cast -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -lgtk-x11-2.0 -latk-1.0 -lgio-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 -lpthread -lSDL -lSDL_image In function 'strncat', inlined from 'levelset_load' at level_active.cpp:133:12, inlined from 'levelset_load' at berusky.cpp:198:29: /usr/include/bits/string_fortified.h:137:34: warning: '__builtin___strncat_chk' specified bound 50 equals destination size [-Wstringop-overflow=] 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^ /usr/bin/ld: /tmp/berusky.5DM0FU.ltrans3.ltrans.o: in function `.L0 ': /builddir/build/BUILD/berusky-1.7.1/src/profile.cpp:122: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[2]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/src' Making all in data make[2]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/data' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/data' make[2]: Entering directory '/builddir/build/BUILD/berusky-1.7.1' make[2]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1' make[1]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.J7kZlB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64 + cd berusky-1.7.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64 'INSTALL=/usr/bin/install -p' Making install in po make[1]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/po' mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/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=/builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64$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 /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/glib-2.0/gettext/po; \ /usr/bin/install -p -m 644 ./Makefile.in.in \ /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/glib-2.0/gettext/po/Makefile.in.in; \ else \ : ; \ fi make[1]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/po' Making install in src make[1]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/src' make[2]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p berusky '/builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/bin' libtool: install: /usr/bin/install -p berusky /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/bin/berusky make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/src' make[1]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/src' Making install in data make[1]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/data' make[2]: Entering directory '/builddir/build/BUILD/berusky-1.7.1/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/berusky' /usr/bin/install -p -m 644 berusky.ini '/builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/berusky' make[2]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/data' make[1]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1/data' make[1]: Entering directory '/builddir/build/BUILD/berusky-1.7.1' make[2]: Entering directory '/builddir/build/BUILD/berusky-1.7.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/doc/berusky' /usr/bin/install -p -m 644 README COPYING AUTHORS ChangeLog INSTALL NEWS TODO '/builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/doc/berusky' make[2]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1' make[1]: Leaving directory '/builddir/build/BUILD/berusky-1.7.1' + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/doc/berusky + mv /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/doc/berusky/AUTHORS /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/doc/berusky/COPYING /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/doc/berusky/ChangeLog /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/doc/berusky/INSTALL /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/doc/berusky/NEWS /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/doc/berusky/README /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/doc/berusky/TODO /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/doc/berusky + rm -rf /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64//usr/share/berusky + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/icons/hicolor/128x128/apps + cp /builddir/build/SOURCES/berusky.png /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/icons/hicolor/128x128/apps + desktop-file-install --dir /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/applications /builddir/build/SOURCES/berusky.desktop + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/appdata/ + cp /builddir/build/SOURCES/berusky.appdata.xml /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/appdata/ + cd ../berusky-data-1.7 + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/berusky + cp -r GameData /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/berusky + cp -r Graphics /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/berusky + cp -r Levels /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/berusky + cp README /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/berusky + cp COPYING /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/berusky + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/share/berusky + /usr/bin/sed -e s,/__PREFIX__,/usr,g /builddir/build/SOURCES/berusky.ini.in + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.7.1-18.fc33 --unique-debug-suffix -1.7.1-18.fc33.riscv64 --unique-debug-src-base berusky-1.7.1-18.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/berusky-1.7.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/bin/berusky extracting debug info from /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64/usr/bin/berusky original debug info size: 4976kB, size after compression: 4692kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1147 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: berusky-1.7.1-18.fc33.riscv64 Provides: application() application(berusky.desktop) berusky = 1.7.1-18.fc33 berusky(riscv-64) = 1.7.1-18.fc33 metainfo() metainfo(berusky.appdata.xml) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(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) rtld(GNU_HASH) Conflicts: berusky-data Obsoletes: berusky-data Processing files: berusky-debugsource-1.7.1-18.fc33.riscv64 Provides: berusky-debugsource = 1.7.1-18.fc33 berusky-debugsource(riscv-64) = 1.7.1-18.fc33 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.1-18.fc33.riscv64 Provides: berusky-debuginfo = 1.7.1-18.fc33 berusky-debuginfo(riscv-64) = 1.7.1-18.fc33 debuginfo(build-id) = b9252b2674833e040d2dba979fc1350f74d7b1e8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: berusky-debugsource(riscv-64) = 1.7.1-18.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64 Wrote: /builddir/build/RPMS/berusky-debugsource-1.7.1-18.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/berusky-debuginfo-1.7.1-18.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/berusky-1.7.1-18.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tt1XhB + umask 022 + cd /builddir/build/BUILD + cd berusky-1.7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/berusky-1.7.1-18.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0