Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/berusky.spec'], chrootPath='/var/lib/mock/f38-build-696807-86435/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=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': 'C.UTF-8'} and shell False warning: line 21: It's not recommended to have unversioned Obsoletes: Obsoletes: berusky-data Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674000000 Wrote: /builddir/build/SRPMS/berusky-1.7.1-25.fc38.src.rpm RPM build warnings: line 21: It's not recommended to have unversioned Obsoletes: Obsoletes: berusky-data 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/f38-build-696807-86435/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=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': 'C.UTF-8'} and shell False warning: line 21: It's not recommended to have unversioned Obsoletes: Obsoletes: berusky-data Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674000000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HW3SvU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf berusky-1.7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/berusky-data-1.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/berusky-1.7.1.tar.gz + 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 -f -p1 -b --suffix .sdl-build --fuzz=0 patching file configure.in + echo 'Patch #2 (berusky-1.7.1-data-dir.patch):' Patch #2 (berusky-1.7.1-data-dir.patch): + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -p1 -b --suffix .events-num --fuzz=0 patching file src/animation.h + echo 'Patch #4 (berusky-gcc11-build.patch):' Patch #4 (berusky-gcc11-build.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .build --fuzz=0 patching file src/level_game.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6WSAb1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd berusky-1.7.1 + export 'CXXFLAGS=-std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer' + CXXFLAGS='-std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer' + autoconf aclocal.m4:17: warning: this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'. 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:9680: 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:9982: 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:9988: 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 `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:70: GLIB_LC_MESSAGES is expanded from... aclocal.m4:338: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:437: 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:124: GLIB_WITH_NLS is expanded from... aclocal.m4:338: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:437: 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:124: GLIB_WITH_NLS is expanded from... aclocal.m4:338: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:437: 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:124: GLIB_WITH_NLS is expanded from... aclocal.m4:338: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:437: 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:566: 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. + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 2023-03-17 13:44:55.269235765 -0400 +++ ./configure 2023-03-17 13:44:55.499235915 -0400 @@ -1825,7 +1825,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 2023-03-17 13:44:55.499235915 -0400 +++ ./configure 2023-03-17 13:44:55.679236032 -0400 @@ -19693,7 +19693,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 ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./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 --runstatedir=/run --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 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... 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 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 dependency style of gcc... (cached) none checking for riscv64-redhat-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 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 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 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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o data_parser.o data_parser.cpp 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 | ^ 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 | ^ 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: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 { | ^~~~~~~~~~~~~~~ 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: 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ animation.h:164:15: note: 'class animation' declared here 164 | typedef class animation { | ^~~~~~~~~ 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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o editor.o editor.cpp 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: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: 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: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 | ^ 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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o events.o events.cpp 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: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.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, 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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o game_logic.o game_logic.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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o graphics.o graphics.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 | ^ 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 | ^ 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}; | ~~^~~~~~~ 2d_graph.cpp: In member function 'sprite_store::sprite_insert(char const*, int, int*)': 2d_graph.cpp:732:10: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] 732 | strncpy(filename, p_file, 200); | ^ 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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o input.o input.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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o level.o level.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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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.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 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 { | ^~~~~~~~~~~~ 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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o level_changer.o level_changer.cpp level_active.cpp: In member function 'level_store::level_load(dir_list*, char*)': level_active.cpp:62:10: warning: 'strncpy' specified bound 50 equals destination size [-Wstringop-truncation] 62 | strncpy(p_list[0].levelname, p_level, sizeof(p_list[0].levelname)); | ^ editor.cpp: In member function 'editor_gui::level_name_set(char*)': editor.cpp:1023:10: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1023 | strncpy(level_name,p_name,MAX_FILENAME); | ^ level_active.cpp: In member function 'level_store::levelset_load(dir_list*, char*)': level_active.cpp:133:12: warning: '__strncat_chk' output may be truncated copying 50 bytes from a string of length 4095 [-Wstringop-truncation] 133 | strncat(p_list[i].levelname,p_start,sizeof(p_list[i].levelname)); | ^ level_active.cpp:139:12: warning: 'strncpy' output may be truncated copying 50 bytes from a string of length 4095 [-Wstringop-truncation] 139 | strncpy(p_list[i].password,p_start,sizeof(p_list[i].password)); | ^ In file included from /usr/include/string.h:535, from berusky.h:46: In function 'strncat', inlined from 'level_store::levelset_load(dir_list*, char*)' at level_active.cpp:133:12: /usr/include/bits/string_fortified.h:138:34: warning: '__strncat_chk' specified bound 50 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__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 | ^ 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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o level_game.o level_game.cpp In file included from berusky.h:109, from level_game.cpp:35: 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 | ^ editor.cpp: In member function 'editor_gui::level_load(char*, int)': editor.cpp:1034:14: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1034 | strncpy(file,p_file,MAX_FILENAME); | ^ editor.cpp: In member function 'editor_gui::level_save_as(char*, int)': editor.cpp:1101:12: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1101 | strncpy(file, p_file, MAX_FILENAME); | ^ 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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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 | ^ In file included from berusky_gui.h:31, from utils.cpp:50: 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 utils.cpp:52: 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 { | ^~~~~~~~~~~~ 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); | ~~~~~^~~~~ 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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o data_parser_tables.o data_parser_tables.cpp In file included from berusky.h:109, from data_parser_tables.cpp:28: defines.h: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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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: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 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 | ^ 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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -o gui.o gui.cpp 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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:720:3: note: declared here 720 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ 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 /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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:578:26: note: declared here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from gui.cpp:29: 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 { | ^~~~~~~~~~~~~~~ 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 berusky_gui.h:31, from main.cpp:39: 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 main.cpp:41: 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 { | ^~~~~~~~~~~~ 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/sysprof-4 -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 -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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:906, from berusky.h:43: In function 'snprintf', inlined from 'berusky_profile::save()' at profile.cpp:105:11: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 51 and 4206 bytes into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Wint-to-pointer-cast -g -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -lSDL -lSDL_image libtool: link: g++ -Wall -Wint-to-pointer-cast -g -std=c++14 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -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:138:34: warning: '__builtin___strncat_chk' specified bound 50 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^ /usr/bin/ld: /tmp/ccBVBM5A.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.ZTxh8L + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd berusky-1.7.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.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-25.fc38.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-25.fc38.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-25.fc38.riscv64/usr/share/glib-2.0/gettext/po; \ /usr/bin/install -p -m 644 ./Makefile.in.in \ /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.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-25.fc38.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p berusky '/builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/bin' libtool: install: /usr/bin/install -p berusky /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.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-25.fc38.riscv64/usr/share/berusky' /usr/bin/install -p -m 644 berusky.ini '/builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.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-25.fc38.riscv64/usr/doc/berusky' /usr/bin/install -p -m 644 README COPYING AUTHORS ChangeLog INSTALL NEWS TODO '/builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.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-25.fc38.riscv64/usr/share/doc/berusky + mv /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/doc/berusky/AUTHORS /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/doc/berusky/COPYING /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/doc/berusky/ChangeLog /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/doc/berusky/INSTALL /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/doc/berusky/NEWS /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/doc/berusky/README /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/doc/berusky/TODO /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/share/doc/berusky + rm -rf /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64//usr/share/berusky + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/share/icons/hicolor/128x128/apps + cp /builddir/build/SOURCES/berusky.png /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/share/icons/hicolor/128x128/apps + desktop-file-install --dir /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/share/applications /builddir/build/SOURCES/berusky.desktop + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/share/appdata/ + cp /builddir/build/SOURCES/berusky.appdata.xml /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/share/appdata/ + cd ../berusky-data-1.7 + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/share/berusky + cp -r GameData /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/share/berusky + cp -r Graphics /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/share/berusky + cp -r Levels /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/share/berusky + cp README /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/share/berusky + cp COPYING /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/share/berusky + mkdir -p /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/share/berusky + /usr/bin/sed -e s,/__PREFIX__,/usr,g /builddir/build/SOURCES/berusky.ini.in + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.7.1-25.fc38 --unique-debug-suffix -1.7.1-25.fc38.riscv64 --unique-debug-src-base berusky-1.7.1-25.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/berusky-1.7.1 extracting debug info from /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64/usr/bin/berusky original debug info size: 4948kB, size after compression: 4752kB /usr/bin/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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: berusky-1.7.1-25.fc38.riscv64 Provides: application() application(berusky.desktop) berusky = 1.7.1-25.fc38 berusky(riscv-64) = 1.7.1-25.fc38 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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-25.fc38.riscv64 Provides: berusky-debugsource = 1.7.1-25.fc38 berusky-debugsource(riscv-64) = 1.7.1-25.fc38 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-25.fc38.riscv64 Provides: berusky-debuginfo = 1.7.1-25.fc38 berusky-debuginfo(riscv-64) = 1.7.1-25.fc38 debuginfo(build-id) = b00ef3039245605adefe273999e52fd07e76ccc9 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-25.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64 Wrote: /builddir/build/RPMS/berusky-debugsource-1.7.1-25.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/berusky-debuginfo-1.7.1-25.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/berusky-1.7.1-25.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eaWp5a + umask 022 + cd /builddir/build/BUILD + cd berusky-1.7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/berusky-1.7.1-25.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.Pn9Pi9 + umask 022 + cd /builddir/build/BUILD + rm -rf berusky-1.7.1 berusky-1.7.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: line 21: It's not recommended to have unversioned Obsoletes: Obsoletes: berusky-data Child return code was: 0