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/f37-build-672052-75361/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/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=1626825600 Wrote: /builddir/build/SRPMS/cgdb-0.6.8-18.fc37.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/f37-build-672052-75361/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/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=1626825600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Y4TklP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cgdb-0.6.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cgdb-0.6.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cgdb-0.6.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (disable_style.patch):' Patch #0 (disable_style.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p2 -b --suffix .disable_shell_style --fuzz=0 patching file lib/util/fork_util.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SDGG5y + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6.8 + 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.ac:13: 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:655: AM_PROG_LEX is expanded from... configure.ac:13: the top level configure.ac:31: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:31: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:31: the top level configure.ac:81: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.ac:81: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.ac:81: the top level configure.ac:101: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:101: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:101: the top level configure.ac:102: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:102: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:102: the top level configure.ac:103: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:103: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:103: the top level configure.ac:187: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:187: 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:39: RL_LIB_READLINE_VERSION is expanded from... configure.ac:187: the top level configure.ac:207: warning: AC_OUTPUT should be used without arguments. configure.ac:207: You should run autoupdate. + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 2022-11-10 10:34:53.588761682 -0500 +++ ./configure 2022-11-10 10:34:53.718761727 -0500 @@ -1757,7 +1757,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 + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a 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 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 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 gcc needs -traditional... no 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 openpty... yes checking for makeinfo... yes checking for help2man... yes checking for log10 in -lm... yes checking for initscr in -lncurses... yes checking for tgetent in -lncurses... yes checking which library has the termcap functions... using libncurses checking version of installed readline library... 8.1 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 Makefile config.status: creating lib/Makefile config.status: creating lib/adt/Makefile config.status: creating lib/gdbmi/Makefile config.status: creating lib/kui/Makefile config.status: creating lib/rline/Makefile config.status: creating lib/tgdb/Makefile config.status: creating lib/tgdb/annotate-two/Makefile config.status: creating lib/tgdb/gdbmi/Makefile config.status: creating lib/tgdb/tgdb-base/Makefile config.status: creating lib/tokenizer/Makefile config.status: creating lib/util/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.6.8' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.6.8/lib' Making all in util make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.6.8/lib/util' gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fork_util.o fork_util.c gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fs_util.o fs_util.c gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o io.o io.c gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o logger.o logger.c fs_util.c: In function 'fs_util_is_valid': fs_util.c:62:5: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 62 | strncpy(actual_dir, dir, strlen(dir) + 1); | ^ fs_util.c:62:30: note: length computed here 62 | strncpy(actual_dir, dir, strlen(dir) + 1); | ^~~~~~~~~~~ fs_util.c: In function 'fs_util_create_dir': fs_util.c:100:5: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 100 | strncpy(actual_dir, dir, strlen(dir) + 1); | ^ fs_util.c:100:30: note: length computed here 100 | strncpy(actual_dir, dir, strlen(dir) + 1); | ^~~~~~~~~~~ fs_util.c: In function 'fs_util_get_path': fs_util.c:148:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 148 | strncpy(path, dir, strlen(dir) + 1); | ^ fs_util.c:148:24: note: length computed here 148 | strncpy(path, dir, strlen(dir) + 1); | ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o pseudo.o pseudo.c gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o sys_util.o sys_util.c gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o terminal.o terminal.c pseudo.c: In function 'pty_release': pseudo.c:494:5: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 494 | chown(slavename, (uid_t) 0, (gid_t) 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f libutil.a ar cru libutil.a fork_util.o fs_util.o io.o logger.o pseudo.o sys_util.o terminal.o ranlib libutil.a make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.6.8/lib/util' Making all in rline make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.6.8/lib/rline' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/adt -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rline.o rline.c rm -f librline.a ar cru librline.a rline.o ranlib librline.a make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.6.8/lib/rline' Making all in adt make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.6.8/lib/adt' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ibuf.o ibuf.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o queue.o queue.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tgdb_list.o tgdb_list.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o std_bbtree.o std_bbtree.c std_bbtree.c:704:13: warning: 'std_bbtree_node_check' defined but not used [-Wunused-function] 704 | static void std_bbtree_node_check(struct std_bbtreenode *node) | ^~~~~~~~~~~~~~~~~~~~~ std_bbtree.c:580:1: warning: 'std_bbtree_node_post_order' defined but not used [-Wunused-function] 580 | std_bbtree_node_post_order(struct std_bbtreenode *node, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ std_bbtree.c:544:1: warning: 'std_bbtree_node_pre_order' defined but not used [-Wunused-function] 544 | std_bbtree_node_pre_order(struct std_bbtreenode *node, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o std_btree.o std_btree.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o std_hash.o std_hash.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o std_list.o std_list.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ibuf_driver-ibuf_driver.o `test -f 'ibuf_driver.c' || echo './'`ibuf_driver.c std_list.c: In function 'std_list_find': std_list.c:306:23: warning: variable 'found' set but not used [-Wunused-but-set-variable] 306 | std_list_iterator found; | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o std_hash_driver-std_hash_driver.o `test -f 'std_hash_driver.c' || echo './'`std_hash_driver.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o std_list_driver-std_list_driver.o `test -f 'std_list_driver.c' || echo './'`std_list_driver.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o std_btree_driver-std_btree_driver.o `test -f 'std_btree_driver.c' || echo './'`std_btree_driver.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o std_bbtree_driver-std_bbtree_driver.o `test -f 'std_bbtree_driver.c' || echo './'`std_bbtree_driver.c rm -f libadt.a ar cru libadt.a ibuf.o queue.o tgdb_list.o std_bbtree.o std_btree.o std_hash.o std_list.o ranlib libadt.a gcc -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ibuf_driver ibuf_driver-ibuf_driver.o libadt.a ../../lib/util/libutil.a -lreadline -lncurses -lm gcc -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 std_list_driver std_list_driver-std_list_driver.o libadt.a ../../lib/util/libutil.a -lreadline -lncurses -lm gcc -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 std_btree_driver std_btree_driver-std_btree_driver.o libadt.a ../../lib/util/libutil.a -lreadline -lncurses -lm gcc -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 std_bbtree_driver std_bbtree_driver-std_bbtree_driver.o libadt.a ../../lib/util/libutil.a -lreadline -lncurses -lm gcc -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 std_hash_driver std_hash_driver-std_hash_driver.o libadt.a ../../lib/util/libutil.a -lreadline -lncurses -lm make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.6.8/lib/adt' Making all in gdbmi make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.6.8/lib/gdbmi' gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdbmi_grammar.o gdbmi_grammar.c gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdbmi_lexer.o gdbmi_lexer.c gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdbmi_oc.o gdbmi_oc.c gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdbmi_parser.o gdbmi_parser.c gdbmi_lexer.c:1298:16: warning: 'input' defined but not used [-Wunused-function] 1298 | static int input (void) | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdbmi_pt.o gdbmi_pt.c gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdbmi_driver.o gdbmi_driver.c rm -f libgdbmi.a ar cru libgdbmi.a gdbmi_grammar.o gdbmi_lexer.o gdbmi_oc.o gdbmi_parser.o gdbmi_pt.o ranlib libgdbmi.a gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gdbmi_driver gdbmi_driver.o libgdbmi.a -lreadline -lncurses -lm make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.6.8/lib/gdbmi' Making all in tgdb make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.6.8/lib/tgdb' Making all in annotate-two make[4]: Entering directory '/builddir/build/BUILD/cgdb-0.6.8/lib/tgdb/annotate-two' gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/adt -I../../../lib/util -I../../../lib/tgdb/tgdb-base -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libtgdb_a2_a-a2-tgdb.o `test -f 'a2-tgdb.c' || echo './'`a2-tgdb.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/adt -I../../../lib/util -I../../../lib/tgdb/tgdb-base -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libtgdb_a2_a-annotate.o `test -f 'annotate.c' || echo './'`annotate.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/adt -I../../../lib/util -I../../../lib/tgdb/tgdb-base -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libtgdb_a2_a-commands.o `test -f 'commands.c' || echo './'`commands.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/adt -I../../../lib/util -I../../../lib/tgdb/tgdb-base -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libtgdb_a2_a-data.o `test -f 'data.c' || echo './'`data.c a2-tgdb.c: In function 'a2_parse_io': a2-tgdb.c:280:9: warning: variable 'val' set but not used [-Wunused-but-set-variable] 280 | int val; | ^~~ a2-tgdb.c: In function 'a2_return_client_command': a2-tgdb.c:373:5: warning: enumeration value 'TGDB_ERROR' not handled in switch [-Wswitch] 373 | switch (c) { | ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/adt -I../../../lib/util -I../../../lib/tgdb/tgdb-base -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libtgdb_a2_a-globals.o `test -f 'globals.c' || echo './'`globals.c a2-tgdb.c: In function 'a2_create_context': a2-tgdb.c:162:5: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 162 | strncpy(a2->config_dir, dir, strlen(dir) + 1); | ^ In function 'tgdb_setup_config_file', inlined from 'a2_create_context' at a2-tgdb.c:185:10: a2-tgdb.c:162:34: note: length computed here 162 | strncpy(a2->config_dir, dir, strlen(dir) + 1); | ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/adt -I../../../lib/util -I../../../lib/tgdb/tgdb-base -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libtgdb_a2_a-state_machine.o `test -f 'state_machine.c' || echo './'`state_machine.c rm -f libtgdb_a2.a ar cru libtgdb_a2.a libtgdb_a2_a-a2-tgdb.o libtgdb_a2_a-annotate.o libtgdb_a2_a-commands.o libtgdb_a2_a-data.o libtgdb_a2_a-globals.o libtgdb_a2_a-state_machine.o ranlib libtgdb_a2.a make[4]: Leaving directory '/builddir/build/BUILD/cgdb-0.6.8/lib/tgdb/annotate-two' Making all in gdbmi make[4]: Entering directory '/builddir/build/BUILD/cgdb-0.6.8/lib/tgdb/gdbmi' gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/util -I../../../lib/adt -I../../../lib/tgdb/tgdb-base -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gdbmi_tgdb.o gdbmi_tgdb.c gdbmi_tgdb.c: In function 'gdbmi_create_context': gdbmi_tgdb.c:232:5: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 232 | strncpy(gdbmi->config_dir, dir, strlen(dir) + 1); | ^ In function 'tgdb_setup_config_file', inlined from 'gdbmi_create_context' at gdbmi_tgdb.c:255:10: gdbmi_tgdb.c:232:37: note: length computed here 232 | strncpy(gdbmi->config_dir, dir, strlen(dir) + 1); | ^~~~~~~~~~~ rm -f libtgdb_mi.a ar cru libtgdb_mi.a gdbmi_tgdb.o ranlib libtgdb_mi.a make[4]: Leaving directory '/builddir/build/BUILD/cgdb-0.6.8/lib/tgdb/gdbmi' Making all in tgdb-base make[4]: Entering directory '/builddir/build/BUILD/cgdb-0.6.8/lib/tgdb/tgdb-base' gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/adt -I../../../lib/rline -I../../../lib/util -I../../../lib/tgdb/annotate-two -I../../../lib/tgdb/gdbmi -I../../../lib/tgdb/tgdb-base -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tgdb.o tgdb.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/adt -I../../../lib/rline -I../../../lib/util -I../../../lib/tgdb/annotate-two -I../../../lib/tgdb/gdbmi -I../../../lib/tgdb/tgdb-base -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tgdb_client_interface.o tgdb_client_interface.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/adt -I../../../lib/rline -I../../../lib/util -I../../../lib/tgdb/annotate-two -I../../../lib/tgdb/gdbmi -I../../../lib/tgdb/tgdb-base -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tgdb_command.o tgdb_command.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/adt -I../../../lib/rline -I../../../lib/util -I../../../lib/tgdb/annotate-two -I../../../lib/tgdb/gdbmi -I../../../lib/tgdb/tgdb-base -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tgdb_types.o tgdb_types.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/adt -I../../../lib/rline -I../../../lib/util -I../../../lib/tgdb/annotate-two -I../../../lib/tgdb/gdbmi -I../../../lib/tgdb/tgdb-base -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o driver.o driver.c driver.c: In function 'main': driver.c:460:17: warning: unused variable 'child_fd' [-Wunused-variable] 460 | int gdb_fd, child_fd, slavefd, masterfd; | ^~~~~~~~ rm -f libtgdb.a ar cru libtgdb.a tgdb.o tgdb_client_interface.o tgdb_command.o tgdb_types.o ranlib libtgdb.a gcc -I../../../lib/adt -I../../../lib/rline -I../../../lib/util -I../../../lib/tgdb/annotate-two -I../../../lib/tgdb/gdbmi -I../../../lib/tgdb/tgdb-base -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -L../../../lib/adt -L../../../lib/rline -L../../../lib/util -L../../../lib/tgdb/annotate-two -L../../../lib/tgdb/gdbmi -L../../../lib/tgdb/tgdb-base -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/tgdb/annotate-two/libtgdb_a2.a ../../../lib/tgdb/gdbmi/libtgdb_mi.a ../../../lib/rline/librline.a ../../../lib/adt/libadt.a ../../../lib/util/libutil.a -lreadline -lncurses -lm make[4]: Leaving directory '/builddir/build/BUILD/cgdb-0.6.8/lib/tgdb/tgdb-base' make[4]: Entering directory '/builddir/build/BUILD/cgdb-0.6.8/lib/tgdb' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/builddir/build/BUILD/cgdb-0.6.8/lib/tgdb' make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.6.8/lib/tgdb' Making all in kui make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.6.8/lib/kui' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/adt -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o kui.o kui.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/adt -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o kui_term.o kui_term.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/adt -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o kui_tree.o kui_tree.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/adt -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o kui_driver-kui_driver.o `test -f 'kui_driver.c' || echo './'`kui_driver.c In function 'kui_set_blocking_ms', inlined from 'kui_manager_getkey_blocking' at kui.c:1259:5: kui.c:1035:14: warning: 'normal_keys_msec' may be used uninitialized [-Wmaybe-uninitialized] 1035 | kctx->ms = msec; | ~~~~~~~~~^~~~~~ kui.c: In function 'kui_manager_getkey_blocking': kui.c:1244:39: note: 'normal_keys_msec' was declared here 1244 | unsigned long terminal_keys_msec, normal_keys_msec, val; | ^~~~~~~~~~~~~~~~ In function 'kui_set_blocking_ms', inlined from 'kui_manager_getkey_blocking' at kui.c:1258:5: kui.c:1035:14: warning: 'terminal_keys_msec' may be used uninitialized [-Wmaybe-uninitialized] 1035 | kctx->ms = msec; | ~~~~~~~~~^~~~~~ kui.c: In function 'kui_manager_getkey_blocking': kui.c:1244:19: note: 'terminal_keys_msec' was declared here 1244 | unsigned long terminal_keys_msec, normal_keys_msec, val; | ^~~~~~~~~~~~~~~~~~ kui.c: In function 'kui_manager_get_terminal_keys_kui_map': kui.c:1319:9: warning: 'map_set' may be used uninitialized [-Wmaybe-uninitialized] 1319 | kui_ms_register_map(map_set, data, keycode_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kui.c:1286:25: note: 'map_set' was declared here 1286 | struct kui_map_set *map_set; | ^~~~~~~ rm -f libkui.a ar cru libkui.a kui.o kui_term.o kui_tree.o ranlib libkui.a gcc -I../../lib/adt -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -L../../lib/adt -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/adt/libadt.a ../../lib/util/libutil.a -lreadline -lncurses -lm make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.6.8/lib/kui' Making all in tokenizer make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.6.8/lib/tokenizer' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/adt -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o adalexer.o adalexer.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/adt -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o clexer.o clexer.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/adt -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o dlexer.o dlexer.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/adt -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o golexer.o golexer.c adalexer.c:1734:12: warning: 'input' defined but not used [-Wunused-function] 1734 | static int input() | ^~~~~ clexer.c:2043:12: warning: 'input' defined but not used [-Wunused-function] 2043 | static int input() | ^~~~~ golexer.c:1909:16: warning: 'input' defined but not used [-Wunused-function] 1909 | static int input (void) | ^~~~~ dlexer.c:3144:16: warning: 'input' defined but not used [-Wunused-function] 3144 | static int input (void) | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/adt -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tokenizer.o tokenizer.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/adt -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o tokenizer_driver.o tokenizer_driver.c rm -f libtokenizer.a ar cru libtokenizer.a adalexer.o clexer.o dlexer.o golexer.o tokenizer.o ranlib libtokenizer.a gcc -I../../lib/adt -I../../lib/util -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -L. -L../../lib/adt -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/adt/libadt.a ../../lib/util/libutil.a -lreadline -lncurses -lm make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.6.8/lib/tokenizer' make[3]: Entering directory '/builddir/build/BUILD/cgdb-0.6.8/lib' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/cgdb-0.6.8/lib' make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.6.8/lib' Making all in cgdb make[2]: Entering directory '/builddir/build/BUILD/cgdb-0.6.8/cgdb' gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -I. -I.. -I../lib/adt -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb/tgdb-base -I../lib/tgdb/annotate-two -I../lib/tgdb/gdbmi -I../lib/tokenizer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cgdb.o cgdb.c gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -I. -I.. -I../lib/adt -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb/tgdb-base -I../lib/tgdb/annotate-two -I../lib/tgdb/gdbmi -I../lib/tokenizer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cgdbrc.o cgdbrc.c gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -I. -I.. -I../lib/adt -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb/tgdb-base -I../lib/tgdb/annotate-two -I../lib/tgdb/gdbmi -I../lib/tokenizer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o command_lexer.o command_lexer.c gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -I. -I.. -I../lib/adt -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb/tgdb-base -I../lib/tgdb/annotate-two -I../lib/tgdb/gdbmi -I../lib/tokenizer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o filedlg.o filedlg.c ../../cgdb/cgdb/command_lexer.c:1300:16: warning: 'input' defined but not used [-Wunused-function] filedlg.c: In function 'print_in_middle': filedlg.c:63:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] 63 | int x, y; | ^ filedlg.c: In function 'filedlg_recv_char': filedlg.c:475:17: warning: variable 'width' set but not used [-Wunused-but-set-variable] 475 | int height, width; | ^~~~~ cgdbrc.c: In function 'command_set_syntax_type': cgdbrc.c:425:5: warning: 'lang' may be used uninitialized [-Wmaybe-uninitialized] 425 | if_highlight_sviewer(lang); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cgdbrc.c:410:37: note: 'lang' was declared here 410 | enum tokenizer_language_support lang; | ^~~~ filedlg.c: In function 'filedlg_display': filedlg.c:296:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 296 | sprintf(fmt, "%%%dd", lwidth); | ^~ filedlg.c:296:18: note: directive argument in the range [-2147483647, 2147483647] 296 | sprintf(fmt, "%%%dd", lwidth); | ^~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/curses.h:232, from filedlg.c:6: In function 'sprintf', inlined from 'filedlg_display' at filedlg.c:296:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 4 and 14 bytes into a destination of size 5 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -I. -I.. -I../lib/adt -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb/tgdb-base -I../lib/tgdb/annotate-two -I../lib/tgdb/gdbmi -I../lib/tokenizer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o highlight.o highlight.c gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -I. -I.. -I../lib/adt -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb/tgdb-base -I../lib/tgdb/annotate-two -I../lib/tgdb/gdbmi -I../lib/tokenizer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o highlight_groups.o highlight_groups.c highlight_groups.c:88:43: warning: 'default_groups_for_curses' defined but not used [-Wunused-const-variable=] 88 | static const struct default_hl_group_info default_groups_for_curses[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -I. -I.. -I../lib/adt -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb/tgdb-base -I../lib/tgdb/annotate-two -I../lib/tgdb/gdbmi -I../lib/tokenizer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o interface.o interface.c gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -I. -I.. -I../lib/adt -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb/tgdb-base -I../lib/tgdb/annotate-two -I../lib/tgdb/gdbmi -I../lib/tokenizer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o logo.o logo.c interface.c: In function 'update_status_win': interface.c:316:9: error: format not a string literal and no format arguments [-Werror=format-security] 316 | mvwprintw(tty_status_win, 0, 0, (char *) tgdb_tty_name(tgdb)); | ^~~~~~~~~ gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/cgdb\" -I. -I.. -I../lib/adt -I../lib/kui -I../lib/rline -I../lib/util -I../lib/tgdb/tgdb-base -I../lib/tgdb/annotate-two -I../lib/tgdb/gdbmi -I../lib/tokenizer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o scroller.o scroller.c logo.c: In function 'center_line': logo.c:111:5: error: format not a string literal and no format arguments [-Werror=format-security] 111 | mvwprintw(win, row, (width - strlen(data))/2, data); | ^~~~~~~~~ scroller.c: In function 'scr_up': scroller.c:156:9: warning: variable 'height' set but not used [-Wunused-but-set-variable] 156 | int height, width; | ^~~~~~ scroller.c: In function 'scr_down': scroller.c:188:9: warning: variable 'height' set but not used [-Wunused-but-set-variable] 188 | int height, width; | ^~~~~~ scroller.c: In function 'scr_end': scroller.c:226:9: warning: variable 'height' set but not used [-Wunused-but-set-variable] 226 | int height, width; | ^~~~~~ scroller.c: In function 'scr_add': scroller.c:237:9: warning: variable 'length' set but not used [-Wunused-but-set-variable] 237 | int length; /* Length of the current line */ | ^~~~~~ cc1: some warnings being treated as errors make[2]: *** [Makefile:441: logo.o] Error 1 make[2]: *** Waiting for unfinished jobs.... scroller.c:250:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 250 | strncpy(buf2, buf, distance); | ^ scroller.c:243:30: note: length computed here 243 | distance = x ? x - buf : strlen(buf); | ^~~~~~~~~~~ scroller.c: In function 'scr_refresh': scroller.c:309:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 309 | buffer[width] = 0; | ~~~~~~~~~~~~~~^~~ scroller.c:308:14: note: at offset -1 into destination object of size 0 allocated by 'malloc' 308 | buffer = malloc(width + 1); | ^~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [Makefile:441: interface.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/cgdb-0.6.8/cgdb' make[1]: *** [Makefile:373: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/cgdb-0.6.8' make: *** [Makefile:313: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.SDGG5y (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.SDGG5y (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cgdb.spec