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/cgdb.spec'], chrootPath='/var/lib/mock/f38-build-711013-93572/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cgdb.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674000000 Wrote: /builddir/build/SRPMS/cgdb-0.8.0-4.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cgdb.spec'], chrootPath='/var/lib/mock/f38-build-711013-93572/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cgdb.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674000000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0Ti3iN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cgdb-0.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cgdb-0.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cgdb-0.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.epRXTQ + 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 cgdb-0.8.0 + 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'. cat: VERSION: No such file or directory cat: VERSION: No such file or directory cat: VERSION: No such file or directory cat: VERSION: No such file or directory cat: VERSION: No such file or directory cat: VERSION: No such file or directory cat: VERSION: No such file or directory cat: VERSION: No such file or directory cat: VERSION: No such file or directory cat: VERSION: No such file or directory cat: VERSION: No such file or directory configure.ac:14: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... aclocal.m4:658: AM_PROG_LEX is expanded from... configure.ac:14: the top level configure.ac:32: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:32: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:32: the top level configure.ac:92: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.ac:92: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.ac:92: the top level configure.ac:102: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:102: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:102: the top level configure.ac:120: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:120: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:120: the top level configure.ac:121: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:121: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:121: the top level configure.ac:122: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:122: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:122: the top level configure.ac:207: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:207: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:207: the top level configure.ac:220: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:220: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN 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... config/readline_check_version.m4:55: RL_LIB_READLINE_VERSION is expanded from... configure.ac:220: the top level configure.ac:242: warning: AC_OUTPUT should be used without arguments. configure.ac:242: 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='-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-05-12 05:44:30.457962816 -0400 +++ ./configure 2023-05-12 05:44:30.587962406 -0400 @@ -1806,7 +1806,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 + mv ./configure.backup ./configure + '[' 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/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name 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 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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none 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 riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for flex... flex checking for lex output file root... lex.yy checking for lex library... none needed checking for library containing yywrap... no checking whether yytext is a pointer... yes checking for bison... no checking for byacc... no checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu 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 for sys/wait.h that is POSIX.1 compatible... yes checking for pty.h... yes checking for sys/stropts.h... no checking for util.h... no checking for libutil.h... no checking for termios.h... yes checking for sys/select.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for pwd.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/stat.h... (cached) yes checking for sys/time.h... yes checking for time.h... yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for ctype.h... yes checking for limits.h... yes checking for math.h... yes checking for regex.h... yes checking for curses.h... yes checking for getopt.h... yes checking for /dev/ptmx... yes checking for /proc/self/status... yes checking for pty.h... (cached) yes checking for openpty in -lutil... yes checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... gcc -E checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking whether setpgrp requires zero arguments... yes checking return type of signal handlers... void checking for vprintf... yes checking for putenv... yes checking for select... yes checking for strdup... yes checking for strerror... yes checking for ttyname_r... yes checking for makeinfo... yes checking for initscr in -lncurses... yes checking for initscr in -lncursesw... yes checking Checking attribute printf support... yes checking for tgetent... no checking for tgetent in -lncursesw... yes checking which library has the termcap functions... using libncursesw checking version of installed readline library... 8.2 checking for readline.h... no checking for readline/readline.h... yes checking for history.h... no checking for readline/history.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating cgdb_custom_config.h config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib/kui/Makefile config.status: creating lib/rline/Makefile config.status: creating lib/tgdb/Makefile config.status: creating lib/tokenizer/Makefile config.status: creating lib/util/Makefile config.status: creating lib/vterm/Makefile config.status: creating doc/Makefile config.status: creating cgdb/Makefile config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib' Making all in util make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/util' g++ -DHAVE_CONFIG_H -I. -I../.. -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 cgdb_clog.o cgdb_clog.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -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 fork_util.o fork_util.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -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 fs_util.o fs_util.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -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 io.o io.cpp fs_util.cpp: In function 'fs_util_is_valid(char const*)': fs_util.cpp:46:12: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 46 | strncpy(actual_dir, dir, strlen(dir) + 1); | ^ fs_util.cpp:46:36: note: length computed here 46 | strncpy(actual_dir, dir, strlen(dir) + 1); | ~~~~~~^~~~~ g++ -DHAVE_CONFIG_H -I. -I../.. -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 pseudo.o pseudo.cpp fs_util.cpp: In function 'fs_util_create_dir(char const*)': fs_util.cpp:75:12: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 75 | strncpy(actual_dir, dir, strlen(dir) + 1); | ^ fs_util.cpp:75:36: note: length computed here 75 | strncpy(actual_dir, dir, strlen(dir) + 1); | ~~~~~~^~~~~ g++ -DHAVE_CONFIG_H -I. -I../.. -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 stretchy.o stretchy.cpp pseudo.cpp: In function 'int pty_release(const char*)': pseudo.cpp:495:10: warning: ignoring return value of 'int chown(const char*, __uid_t, __gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 495 | chown(slavename, (uid_t) 0, (gid_t) 0); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../.. -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 sys_util.o sys_util.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -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 sys_win.o sys_win.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -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 terminal.o terminal.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -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 driver.o driver.cpp rm -f libcgdbutil.a ar cru libcgdbutil.a cgdb_clog.o fork_util.o fs_util.o io.o pseudo.o stretchy.o sys_util.o sys_win.o terminal.o ranlib libcgdbutil.a g++ -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 -L../../lib/util -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 cgdbutil_driver driver.o libcgdbutil.a -lreadline -lncursesw -lutil make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/util' Making all in rline make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/rline' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -std=c++11 -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 rline.o rline.cpp rm -f librline.a ar cru librline.a rline.o ranlib librline.a make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/rline' Making all in tgdb make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/tgdb' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -I../../lib/tgdb -std=c++11 -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 tgdb.o tgdb.cpp gcc -DHAVE_CONFIG_H -I. -I../.. -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 gdbwire.o gdbwire.c g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -I../../lib/tgdb -std=c++11 -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 driver.o driver.cpp driver.cpp: In function 'int stdin_input()': driver.cpp:143:14: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 143 | if (size == -1) { | ~~~~~^~~~~ tgdb.cpp:678:13: warning: 'void tgdb_command_error(void*, const std::string&)' defined but not used [-Wunused-function] 678 | static void tgdb_command_error(void *context, const std::string &msg) | ^~~~~~~~~~~~~~~~~~ tgdb.cpp:672:13: warning: 'void tgdb_source_location_changed(void*)' defined but not used [-Wunused-function] 672 | static void tgdb_source_location_changed(void *context) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'break_info', inlined from 'gdbwire_get_mi_command' at gdbwire.c:3328:22: gdbwire.c:2994:25: warning: 'cur_bkpt' may be used uninitialized [-Wmaybe-uninitialized] 2994 | if (cur_bkpt->multi_breakpoints) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~ gdbwire.c: In function 'gdbwire_get_mi_command': gdbwire.c:2927:53: note: 'cur_bkpt' was declared here 2927 | struct gdbwire_mi_breakpoint *breakpoints = 0, *cur_bkpt; | ^~~~~~~~ rm -f libtgdb.a ar cru libtgdb.a tgdb.o gdbwire.o ranlib libtgdb.a g++ -I../../lib/util -I../../lib/tgdb -std=c++11 -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 -L../../lib/util -L../../lib/tgdb -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 tgdb_driver driver.o libtgdb.a ../../lib/util/libcgdbutil.a -lreadline -lncursesw -lutil make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/tgdb' Making all in kui make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/kui' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -std=c++11 -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 kui.o kui.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -std=c++11 -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 kui_term.o kui_term.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -std=c++11 -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 kui_tree.o kui_tree.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -std=c++11 -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 kui_driver-kui_driver.o `test -f 'kui_driver.cpp' || echo './'`kui_driver.cpp In function 'kui_set_blocking_ms(kuictx*, unsigned long)', inlined from 'kui_manager_getkey_blocking(kui_manager*)' at kui.cpp:1029:24: kui.cpp:814:14: warning: 'terminal_keys_msec' may be used uninitialized [-Wmaybe-uninitialized] 814 | kctx->ms = msec; | ~~~~~~~~~^~~~~~ kui.cpp: In function 'kui_manager_getkey_blocking(kui_manager*)': kui.cpp:1015:19: note: 'terminal_keys_msec' was declared here 1015 | unsigned long terminal_keys_msec, normal_keys_msec, val; | ^~~~~~~~~~~~~~~~~~ In function 'kui_set_blocking_ms(kuictx*, unsigned long)', inlined from 'kui_manager_getkey_blocking(kui_manager*)' at kui.cpp:1030:24: kui.cpp:814:14: warning: 'normal_keys_msec' may be used uninitialized [-Wmaybe-uninitialized] 814 | kctx->ms = msec; | ~~~~~~~~~^~~~~~ kui.cpp: In function 'kui_manager_getkey_blocking(kui_manager*)': kui.cpp:1015:39: note: 'normal_keys_msec' was declared here 1015 | unsigned long terminal_keys_msec, normal_keys_msec, val; | ^~~~~~~~~~~~~~~~ rm -f libkui.a ar cru libkui.a kui.o kui_term.o kui_tree.o ranlib libkui.a g++ -I../../lib/util -std=c++11 -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 -L../../lib/util -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 kui_driver kui_driver-kui_driver.o libkui.a ../../lib/util/libcgdbutil.a -lreadline -lncursesw -lutil make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/kui' Making all in tokenizer make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/tokenizer' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -std=c++11 -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 adalexer.o adalexer.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -std=c++11 -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 clexer.o clexer.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -std=c++11 -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 asmlexer.o asmlexer.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -std=c++11 -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 dlexer.o dlexer.cpp adalexer.cpp: In function 'int yy_get_next_buffer()': adalexer.cpp:1830:51: warning: comparison of integer expressions of different signedness: 'int' and 'yy_size_t' {aka 'long unsigned int'} [-Wsign-compare] 1830 | if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ asmlexer.cpp: In function 'int yy_get_next_buffer()': asmlexer.cpp:2120:51: warning: comparison of integer expressions of different signedness: 'int' and 'yy_size_t' {aka 'long unsigned int'} [-Wsign-compare] 2120 | if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clexer.cpp: In function 'int yy_get_next_buffer()': clexer.cpp:2056:51: warning: comparison of integer expressions of different signedness: 'int' and 'yy_size_t' {aka 'long unsigned int'} [-Wsign-compare] 2056 | if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dlexer.cpp: In function 'int yy_get_next_buffer()': dlexer.cpp:3044:51: warning: comparison of integer expressions of different signedness: 'int' and 'yy_size_t' {aka 'long unsigned int'} [-Wsign-compare] 3044 | if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -std=c++11 -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 golexer.o golexer.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -std=c++11 -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 cgdbhelplexer.o cgdbhelplexer.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -std=c++11 -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 rustlexer.o rustlexer.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -std=c++11 -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 tokenizer.o tokenizer.cpp cgdbhelplexer.cpp: In function 'int yy_get_next_buffer()': cgdbhelplexer.cpp:1561:51: warning: comparison of integer expressions of different signedness: 'int' and 'yy_size_t' {aka 'long unsigned int'} [-Wsign-compare] 1561 | if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ golexer.cpp: In function 'int yy_get_next_buffer()': golexer.cpp:1809:51: warning: comparison of integer expressions of different signedness: 'int' and 'yy_size_t' {aka 'long unsigned int'} [-Wsign-compare] 1809 | if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rustlexer.cpp: In function 'int yy_get_next_buffer()': rustlexer.cpp:2299:51: warning: comparison of integer expressions of different signedness: 'int' and 'yy_size_t' {aka 'long unsigned int'} [-Wsign-compare] 2299 | if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tokenizer.cpp: In function 'tokenizer_language_support tokenizer_get_default_file_type(const char*)': tokenizer.cpp:150:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 150 | for (i = 0; i < sizeof (c_extensions) / sizeof (char *); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tokenizer.cpp:154:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 154 | for (i = 0; i < sizeof (asm_extensions) / sizeof (char *); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tokenizer.cpp:158:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 158 | for (i = 0; i < sizeof (d_extensions) / sizeof (char *); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tokenizer.cpp:162:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 162 | for (i = 0; i < sizeof (go_extensions) / sizeof (char *); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tokenizer.cpp:166:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 166 | for (i = 0; i < sizeof (rust_extensions) / sizeof (char *); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tokenizer.cpp:170:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 170 | for (i = 0; i < sizeof (ada_extensions) / sizeof (char *); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -std=c++11 -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 tokenizer_driver.o tokenizer_driver.cpp tokenizer_driver.cpp: In function 'char* load_file(const char*)': tokenizer_driver.cpp:57:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 57 | if (bytes_read != file_size) { | ~~~~~~~~~~~^~~~~~~~~~~~ rm -f libtokenizer.a ar cru libtokenizer.a adalexer.o clexer.o asmlexer.o dlexer.o golexer.o cgdbhelplexer.o rustlexer.o tokenizer.o ranlib libtokenizer.a g++ -I../../lib/util -std=c++11 -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 -L. -L../../lib/util -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 tokenizer_driver tokenizer_driver.o ./libtokenizer.a ../../lib/util/libcgdbutil.a -lreadline -lncursesw -lutil make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/tokenizer' Making all in vterm make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/vterm' gcc -DHAVE_CONFIG_H -I. -I../.. -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 encoding.o encoding.c gcc -DHAVE_CONFIG_H -I. -I../.. -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 keyboard.o keyboard.c gcc -DHAVE_CONFIG_H -I. -I../.. -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 mouse.o mouse.c gcc -DHAVE_CONFIG_H -I. -I../.. -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 parser.o parser.c gcc -DHAVE_CONFIG_H -I. -I../.. -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 pen.o pen.c gcc -DHAVE_CONFIG_H -I. -I../.. -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 screen.o screen.c gcc -DHAVE_CONFIG_H -I. -I../.. -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 state.o state.c parser.c: In function 'vterm_input_write': parser.c:145:55: warning: 'string_start' may be used uninitialized [-Wmaybe-uninitialized] 145 | string_fragment(vt, string_start, bytes + pos - string_start, false); | ~~~~~~~~~~~~^~~~~~~~~~~~~~ parser.c:114:15: note: 'string_start' was declared here 114 | const char *string_start; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -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 unicode.o unicode.c unicode.c:306:12: warning: 'mk_wcswidth_cjk' defined but not used [-Wunused-function] 306 | static int mk_wcswidth_cjk(const uint32_t *pwcs, size_t n) | ^~~~~~~~~~~~~~~ unicode.c:215:12: warning: 'mk_wcswidth' defined but not used [-Wunused-function] 215 | static int mk_wcswidth(const uint32_t *pwcs, size_t n) | ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -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 vterm.o vterm.c In function 'request_status_string', inlined from 'on_dcs' at state.c:1828:5: state.c:1807:14: warning: 'reply' may be used uninitialized [-Wmaybe-uninitialized] 1807 | reply--; | ~~~~~^~ state.c: In function 'on_dcs': state.c:1800:11: note: 'reply' was declared here 1800 | int reply; | ^~~~~ rm -f libcgdbvterm.a ar cru libcgdbvterm.a encoding.o keyboard.o mouse.o parser.o pen.o screen.o state.o unicode.o vterm.o ranlib libcgdbvterm.a make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/vterm' make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib' make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib' Making all in cgdb make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/cgdb' g++ -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -DTOPBUILDDIR=\"/builddir/build/BUILD/cgdb-0.8.0\" -I. -I.. -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb -I../lib/tokenizer -I../lib/vterm -std=c++11 -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 cgdb.o cgdb.cpp g++ -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -DTOPBUILDDIR=\"/builddir/build/BUILD/cgdb-0.8.0\" -I. -I.. -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb -I../lib/tokenizer -I../lib/vterm -std=c++11 -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 cgdbrc.o cgdbrc.cpp g++ -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -DTOPBUILDDIR=\"/builddir/build/BUILD/cgdb-0.8.0\" -I. -I.. -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb -I../lib/tokenizer -I../lib/vterm -std=c++11 -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 command_lexer.o command_lexer.cpp g++ -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -DTOPBUILDDIR=\"/builddir/build/BUILD/cgdb-0.8.0\" -I. -I.. -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb -I../lib/tokenizer -I../lib/vterm -std=c++11 -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 filedlg.o filedlg.cpp command_lexer.cpp: In function 'int yy_get_next_buffer()': command_lexer.cpp:1177:51: warning: comparison of integer expressions of different signedness: 'int' and 'yy_size_t' {aka 'long unsigned int'} [-Wsign-compare] 1177 | if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filedlg.cpp: In function 'void print_in_middle(SWINDOW*, int, int, const char*)': filedlg.cpp:60:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] 60 | int x, y; | ^ cgdb.cpp: In function 'int cgdb_resize_term(int)': cgdb.cpp:715:36: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 715 | if (read(fd, &c, sizeof (int)) < sizeof (int)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ cgdb.cpp: In function 'int cgdb_handle_signal_in_main_loop(int)': cgdb.cpp:758:39: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 758 | if (read(fd, &signo, sizeof(int)) < sizeof(int)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ cgdb.cpp: In function 'int main(int, char**)': cgdb.cpp:1087:17: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 1087 | read(0, &c, 1); | ~~~~^~~~~~~~~~ g++ -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -DTOPBUILDDIR=\"/builddir/build/BUILD/cgdb-0.8.0\" -I. -I.. -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb -I../lib/tokenizer -I../lib/vterm -std=c++11 -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 highlight.o highlight.cpp cgdb.cpp:353:48: warning: '/logs' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 353 | snprintf(cgdb_log_dir, FSUTIL_PATH_MAX, "%s/logs", cgdb_home_dir); | ^~~~~ In file included from /usr/include/stdio.h:906, from cgdb.cpp:26: In function 'snprintf', inlined from 'init_home_dir()' at cgdb.cpp:353:13, inlined from 'main' at cgdb.cpp:1073:22: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -DTOPBUILDDIR=\"/builddir/build/BUILD/cgdb-0.8.0\" -I. -I.. -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb -I../lib/tokenizer -I../lib/vterm -std=c++11 -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 highlight_groups.o highlight_groups.cpp g++ -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -DTOPBUILDDIR=\"/builddir/build/BUILD/cgdb-0.8.0\" -I. -I.. -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb -I../lib/tokenizer -I../lib/vterm -std=c++11 -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 interface.o interface.cpp g++ -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -DTOPBUILDDIR=\"/builddir/build/BUILD/cgdb-0.8.0\" -I. -I.. -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb -I../lib/tokenizer -I../lib/vterm -std=c++11 -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 logo.o logo.cpp g++ -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -DTOPBUILDDIR=\"/builddir/build/BUILD/cgdb-0.8.0\" -I. -I.. -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb -I../lib/tokenizer -I../lib/vterm -std=c++11 -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 scroller.o scroller.cpp highlight_groups.cpp: In function 'int ansi_get_closest_color_value(int, int, int)': highlight_groups.cpp:823:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 823 | for (i = 0; i < sizeof(standard_ansi_colors) / sizeof(standard_ansi_colors[0]); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logo.cpp: In function 'int logos_available()': logo.cpp:226:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 226 | for (int cur = 0; cur < CGDB_NUM_LOGOS; ++cur, ++num_logos) { | ^ g++ -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -DTOPBUILDDIR=\"/builddir/build/BUILD/cgdb-0.8.0\" -I. -I.. -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb -I../lib/tokenizer -I../lib/vterm -std=c++11 -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 vterminal.o vterminal.cpp scroller.cpp: In function 'void scr_ring_bell(void*)': scroller.cpp:132:22: warning: unused variable 'scr' [-Wunused-variable] 132 | struct scroller *scr = (struct scroller *)data; | ^~~ scroller.cpp: In function 'void scr_refresh(scroller*, int, win_refresh)': scroller.cpp:657:29: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 657 | if ( status_len < width ) { | ~~~~~~~~~~~^~~~~~~ interface.cpp: In function 'get_src_height()': interface.cpp:203:12: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 203 | return result; | ^~~~~~ interface.cpp:192:9: note: 'result' was declared here 192 | int result; | ^~~~~~ interface.cpp: In function 'if_print_internal(char const*)': interface.cpp:1519:5: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 1519 | if (get_gdb_height() > 0) { | ^~ interface.cpp:294:9: note: 'result' was declared here 294 | int result; | ^~~~~~ interface.cpp: In function 'get_gdb_height()': interface.cpp:309:12: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 309 | return result; | ^~~~~~ interface.cpp:294:9: note: 'result' was declared here 294 | int result; | ^~~~~~ interface.cpp: In function 'get_gdb_width()': interface.cpp:329:12: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 329 | return result; | ^~~~~~ interface.cpp:314:9: note: 'result' was declared here 314 | int result; | ^~~~~~ interface.cpp: In function 'if_display_message(win_refresh, char const*, char const*)': interface.cpp:455:5: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 455 | if (header_length > width) | ^~ interface.cpp:208:9: note: 'result' was declared here 208 | int result; | ^~~~~~ interface.cpp: In function 'if_draw()': interface.cpp:490:31: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 490 | if (get_src_height() != 0 && get_gdb_height() != 0) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:294:9: note: 'result' was declared here 294 | int result; | ^~~~~~ In function 'separator_display(int)', inlined from 'if_draw()' at interface.cpp:496:22: interface.cpp:370:19: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 370 | create_swindow(&vseparator_win, h, w, y, x); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp: In function 'if_draw()': interface.cpp:208:9: note: 'result' was declared here 208 | int result; | ^~~~~~ interface.cpp:498:5: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 498 | if (get_gdb_height() > 0) | ^~ interface.cpp:294:9: note: 'result' was declared here 294 | int result; | ^~~~~~ In function 'create_swindow(SWINDOW**, int, int, int, int)', inlined from 'if_layout()' at interface.cpp:555:19: interface.cpp:353:22: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 353 | if ((nlines > 0) && (ncols > 0)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ interface.cpp: In function 'if_layout()': interface.cpp:208:9: note: 'result' was declared here 208 | int result; | ^~~~~~ interface.cpp:563:24: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 563 | tgdb_resize_console(tgdb, get_gdb_height(), get_gdb_width()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:314:9: note: 'result' was declared here 314 | int result; | ^~~~~~ interface.cpp:563:24: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 563 | tgdb_resize_console(tgdb, get_gdb_height(), get_gdb_width()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:294:9: note: 'result' was declared here 294 | int result; | ^~~~~~ In function 'create_swindow(SWINDOW**, int, int, int, int)', inlined from 'if_layout()' at interface.cpp:566:19: interface.cpp:356:27: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 356 | *win = swin_newwin(nlines, ncols, begin_y, begin_x); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp: In function 'if_layout()': interface.cpp:278:9: note: 'result' was declared here 278 | int result; | ^~~~~~ In function 'create_swindow(SWINDOW**, int, int, int, int)', inlined from 'if_layout()' at interface.cpp:566:19: interface.cpp:356:27: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 356 | *win = swin_newwin(nlines, ncols, begin_y, begin_x); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp: In function 'if_layout()': interface.cpp:262:9: note: 'result' was declared here 262 | int result; | ^~~~~~ In function 'create_swindow(SWINDOW**, int, int, int, int)', inlined from 'if_layout()' at interface.cpp:566:19: interface.cpp:353:22: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 353 | if ((nlines > 0) && (ncols > 0)) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ interface.cpp: In function 'if_layout()': interface.cpp:314:9: note: 'result' was declared here 314 | int result; | ^~~~~~ In function 'create_swindow(SWINDOW**, int, int, int, int)', inlined from 'if_layout()' at interface.cpp:566:19: interface.cpp:353:5: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 353 | if ((nlines > 0) && (ncols > 0)) | ^~ interface.cpp: In function 'if_layout()': interface.cpp:294:9: note: 'result' was declared here 294 | int result; | ^~~~~~ interface.cpp:575:19: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 575 | create_swindow(&status_win, get_src_status_height(), | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 576 | get_src_status_width(), get_src_status_row(), get_src_status_col()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp:208:9: note: 'result' was declared here 208 | int result; | ^~~~~~ g++ -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -DTOPBUILDDIR=\"/builddir/build/BUILD/cgdb-0.8.0\" -I. -I.. -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb -I../lib/tokenizer -I../lib/vterm -std=c++11 -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 sources.o sources.cpp interface.cpp: In function 'if_clear_line()': interface.cpp:1731:16: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 1731 | line.append(get_gdb_width(), ' '); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ interface.cpp:314:9: note: 'result' was declared here 314 | int result; | ^~~~~~ vterminal.cpp: In constructor 'VTerminal::VTerminal(VTerminalOptions)': vterminal.cpp:176:17: warning: unused variable 'state' [-Wunused-variable] 176 | VTermState *state = vterm_obtain_state(vt); | ^~~~~ vterminal.cpp: In member function 'bool VTerminal::fetch_cell(int, int, VTermScreenCell*)': vterminal.cpp:419:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 419 | if(-row > sb_current) { | ~~~~~^~~~~~~~~~~~ vterminal.cpp: In member function 'void VTerminal::scroll_delta(int)': vterminal.cpp:450:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 450 | if(scroll_offset + delta > sb_current) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ vterminal.cpp: In function 'void vterminal_fetch_row(VTerminal*, int, int, int, std::string&)': vterminal.cpp:523:19: warning: the address of 'VTerminal::textbuf' will never be NULL [-Waddress] 523 | if (terminal->textbuf) { | ~~~~~~~~~~^~~~~~~ vterminal.cpp:117:10: note: 'VTerminal::textbuf' declared here 117 | char textbuf[0x1fff]; | ^~~~~~~ vterminal.cpp: In function 'void vterminal_fetch_row_col(VTerminal*, int, int, std::string&, int&, int&)': vterminal.cpp:534:19: warning: the address of 'VTerminal::textbuf' will never be NULL [-Waddress] 534 | if (terminal->textbuf) { | ~~~~~~~~~~^~~~~~~ vterminal.cpp:117:10: note: 'VTerminal::textbuf' declared here 117 | char textbuf[0x1fff]; | ^~~~~~~ In function 'gdb_input(int, int*)', inlined from 'internal_if_input(int, int*)' at interface.cpp:1471:29: interface.cpp:918:23: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 918 | scr_up(gdb_scroller, get_gdb_height() - 1); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp: In function 'internal_if_input(int, int*)': interface.cpp:294:9: note: 'result' was declared here 294 | int result; | ^~~~~~ In function 'gdb_input(int, int*)', inlined from 'internal_if_input(int, int*)' at interface.cpp:1471:29: interface.cpp:838:23: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 838 | scr_up(gdb_scroller, get_gdb_height() / 2); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp: In function 'internal_if_input(int, int*)': interface.cpp:294:9: note: 'result' was declared here 294 | int result; | ^~~~~~ In function 'gdb_input(int, int*)', inlined from 'internal_if_input(int, int*)' at interface.cpp:1471:29: interface.cpp:844:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 844 | scr_down(gdb_scroller, get_gdb_height() / 2); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp: In function 'internal_if_input(int, int*)': interface.cpp:294:9: note: 'result' was declared here 294 | int result; | ^~~~~~ In function 'gdb_input(int, int*)', inlined from 'internal_if_input(int, int*)' at interface.cpp:1471:29: interface.cpp:847:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 847 | scr_down(gdb_scroller, get_gdb_height() - 1); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp: In function 'internal_if_input(int, int*)': interface.cpp:294:9: note: 'result' was declared here 294 | int result; | ^~~~~~ In function 'gdb_input(int, int*)', inlined from 'internal_if_input(int, int*)' at interface.cpp:1471:29: interface.cpp:841:23: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 841 | scr_up(gdb_scroller, get_gdb_height() - 1); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cpp: In function 'internal_if_input(int, int*)': interface.cpp:294:9: note: 'result' was declared here 294 | int result; | ^~~~~~ g++ -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -DTOPBUILDDIR=\"/builddir/build/BUILD/cgdb-0.8.0\" -I. -I.. -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb -I../lib/tokenizer -I../lib/vterm -std=c++11 -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 usage.o usage.cpp sources.cpp: In function 'int load_file_buf(buffer*, const char*)': sources.cpp:250:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 250 | if (bytes_read != file_size) { | ~~~~~~~~~~~^~~~~~~~~~~~ sources.cpp:280:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 280 | if (line_len > buf->max_width) | ~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from sources.cpp:53: ../lib/util/stretchy.h:27:67: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 27 | #define stb__sbneedgrow( a, n ) ( ( a ) == 0 || stb__sbn( a ) + n >= stb__sbm( a ) ) | ^ ../lib/util/stretchy.h:28:36: note: in expansion of macro 'stb__sbneedgrow' 28 | #define stb__sbmaybegrow( a, n ) ( stb__sbneedgrow( a, ( n ) ) ? stb__sbgrow( a, n ) : 0 ) | ^~~~~~~~~~~~~~~ ../lib/util/stretchy.h:18:30: note: in expansion of macro 'stb__sbmaybegrow' 18 | #define sbsetcount( a, n ) ( stb__sbmaybegrow( a, n ), stb__sbn( a ) = n ) | ^~~~~~~~~~~~~~~~ sources.cpp:285:17: note: in expansion of macro 'sbsetcount' 285 | sbsetcount(sline.line, line_len + 1); | ^~~~~~~~~~ sources.cpp: In function 'void source_add_disasm_line(list_node*, const char*)': ../lib/util/stretchy.h:27:67: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 27 | #define stb__sbneedgrow( a, n ) ( ( a ) == 0 || stb__sbn( a ) + n >= stb__sbm( a ) ) | ^ ../lib/util/stretchy.h:28:36: note: in expansion of macro 'stb__sbneedgrow' 28 | #define stb__sbmaybegrow( a, n ) ( stb__sbneedgrow( a, ( n ) ) ? stb__sbgrow( a, n ) : 0 ) | ^~~~~~~~~~~~~~~ ../lib/util/stretchy.h:18:30: note: in expansion of macro 'stb__sbmaybegrow' 18 | #define sbsetcount( a, n ) ( stb__sbmaybegrow( a, n ), stb__sbn( a ) = n ) | ^~~~~~~~~~~~~~~~ sources.cpp:566:5: note: in expansion of macro 'sbsetcount' 566 | sbsetcount(sline.line, strlen(line) + 1); | ^~~~~~~~~~ sources.cpp: In function 'int source_del(sviewer*, const char*)': sources.cpp:628:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 628 | for (i = 0; i < sizeof(sview->global_marks) / sizeof(sview->global_marks[0]); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sources.cpp: In function 'void source_hscroll(sviewer*, int)': sources.cpp:1114:16: warning: variable 'height' set but not used [-Wunused-but-set-variable] 1114 | int width, height; | ^~~~~~ sources.cpp: In function 'int source_reload(sviewer*, const char*, int)': sources.cpp:1376:23: warning: variable 'prev' set but not used [-Wunused-but-set-variable] 1376 | struct list_node *prev = NULL; | ^~~~ sources.cpp: In function 'source_highlight(list_node*)': sources.cpp:302:24: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 302 | strncpy(sline.line, line_start, len); | ^ In function 'load_file_buf(buffer*, char const*)', inlined from 'source_highlight(list_node*)' at sources.cpp:471:22: sources.cpp:299:33: note: length computed here 299 | int len = strlen(line_start); | ~~~~~~^~~~~~~~~~~~ g++ -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb -I../lib/tokenizer -I../lib/vterm -std=c++11 -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 -L../lib/kui -L../lib/rline -L../lib/tokenizer -L../lib/util -L../lib/vterm -L../lib/tgdb -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 cgdb cgdb.o cgdbrc.o command_lexer.o filedlg.o highlight.o highlight_groups.o interface.o logo.o scroller.o vterminal.o sources.o usage.o ../lib/tgdb/libtgdb.a ../lib/tokenizer/libtokenizer.a ../lib/kui/libkui.a ../lib/rline/librline.a ../lib/vterm/libcgdbvterm.a ../lib/util/libcgdbutil.a -lreadline -lncursesw -lutil make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/cgdb' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/doc' Updating ./version.texi make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/doc' Making all in test make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/test' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/test' make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0' make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0' make[1]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.g0gKSu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cgdb-0.8.0-4.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 cgdb-0.8.0 + rm -rf /builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64 'INSTALL=/usr/bin/install -p' Making install in lib make[1]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib' Making install in util make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/util' make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/util' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/util' make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/util' Making install in rline make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/rline' make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/rline' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/rline' make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/rline' Making install in tgdb make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/tgdb' make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/tgdb' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/tgdb' make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/tgdb' Making install in kui make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/kui' make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/kui' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/kui' make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/kui' Making install in tokenizer make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/tokenizer' make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/tokenizer' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/tokenizer' make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/tokenizer' Making install in vterm make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/vterm' make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib/vterm' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/vterm' make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib/vterm' make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib' make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/lib' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib' make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib' make[1]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/lib' Making install in cgdb make[1]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/cgdb' make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/cgdb' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64/usr/bin' /usr/bin/install -p cgdb '/builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/cgdb' make[1]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/cgdb' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/doc' restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \ rm -rf $backupdir && mkdir $backupdir && \ if (/bin/sh /builddir/build/BUILD/cgdb-0.8.0/config/missing makeinfo --version) >/dev/null 2>&1; then \ for f in cgdb.info cgdb.info-[0-9] cgdb.info-[0-9][0-9] cgdb.i[0-9] cgdb.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if /bin/sh /builddir/build/BUILD/cgdb-0.8.0/config/missing makeinfo -I . \ -o cgdb.info cgdb.texi; \ then \ rc=0; \ CDPATH="${ZSH_VERSION+.}:" && cd .; \ else \ rc=$?; \ CDPATH="${ZSH_VERSION+.}:" && cd . && \ $restore $backupdir/* `echo "./cgdb.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc rm -rf cgdb.htp if /bin/sh /builddir/build/BUILD/cgdb-0.8.0/config/missing makeinfo --plaintext -I . \ -o cgdb.htp cgdb.texi; \ then \ rm -rf cgdb.txt; \ if test ! -d cgdb.htp && test -d cgdb; then \ mv cgdb cgdb.txt; else mv cgdb.htp cgdb.txt; fi; \ else \ if test ! -d cgdb.htp && test -d cgdb; then \ rm -rf cgdb; else rm -Rf cgdb.htp cgdb.txt; fi; \ exit 1; \ fi make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64/usr/share/cgdb' /usr/bin/install -p -m 644 cgdb.txt '/builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64/usr/share/cgdb' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64/usr/share/info' /usr/bin/install -p -m 644 ./cgdb.info '/builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64/usr/share/info' '/builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64/usr/share/info/cgdb.info' make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/doc' make[1]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/doc' Making install in test make[1]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/test' make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0/test' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/test' make[1]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0/test' make[1]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0' make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.8.0' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0' make[1]: Leaving directory '/builddir/build/BUILD/cgdb-0.8.0' + rm -rf /builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64//usr/share/info/dir + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.8.0-4.fc38 --unique-debug-suffix -0.8.0-4.fc38.riscv64 --unique-debug-src-base cgdb-0.8.0-4.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cgdb-0.8.0 extracting debug info from /builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64/usr/bin/cgdb original debug info size: 5624kB, size after compression: 5284kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 3409 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: cgdb-0.8.0-4.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.plGOMG + umask 022 + cd /builddir/build/BUILD + cd cgdb-0.8.0 + DOCDIR=/builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64/usr/share/doc/cgdb + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64/usr/share/doc/cgdb + cp -pr AUTHORS /builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64/usr/share/doc/cgdb + cp -pr COPYING /builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64/usr/share/doc/cgdb + cp -pr NEWS /builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64/usr/share/doc/cgdb + cp -pr ChangeLog /builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64/usr/share/doc/cgdb + RPM_EC=0 ++ jobs -p + exit 0 Provides: cgdb = 0.8.0-4.fc38 cgdb(riscv-64) = 0.8.0-4.fc38 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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.32)(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) libncursesw.so.6()(64bit) libreadline.so.8()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: cgdb-debugsource-0.8.0-4.fc38.riscv64 Provides: cgdb-debugsource = 0.8.0-4.fc38 cgdb-debugsource(riscv-64) = 0.8.0-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cgdb-debuginfo-0.8.0-4.fc38.riscv64 Provides: cgdb-debuginfo = 0.8.0-4.fc38 cgdb-debuginfo(riscv-64) = 0.8.0-4.fc38 debuginfo(build-id) = df5ef9475aef698b327b5eed03448ab028c92e43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cgdb-debugsource(riscv-64) = 0.8.0-4.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64 Wrote: /builddir/build/RPMS/cgdb-0.8.0-4.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/cgdb-debugsource-0.8.0-4.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/cgdb-debuginfo-0.8.0-4.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.A6SAN1 + umask 022 + cd /builddir/build/BUILD + cd cgdb-0.8.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cgdb-0.8.0-4.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.3iFOnE + umask 022 + cd /builddir/build/BUILD + rm -rf cgdb-0.8.0 cgdb-0.8.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0