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/lterm.spec'], chrootPath='/var/lib/mock/f40-build-805855-144855/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/lterm.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=1706140800 Wrote: /builddir/build/SRPMS/lterm-1.5.1-17.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lterm.spec'], chrootPath='/var/lib/mock/f40-build-805855-144855/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/lterm.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=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Kj3mjE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lterm-1.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lterm-1.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lterm-1.5.1 + rm -rf /builddir/build/BUILD/lterm-1.5.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/lterm-1.5.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lterm-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lterm-c99-2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lterm-c99-3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lterm-c99-4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lterm-c99-5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lterm-c99-6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lterm-c99-7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lterm-c99-8.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lterm-c99-9.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3eEcjf + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 lterm-1.5.1 + CFLAGS='-O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 --with-gtk2 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/lterm-1.5.1/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/lterm-1.5.1/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking 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 xmlcatalog... /usr/bin/xmlcatalog checking for update-desktop-database... /usr/bin/update-desktop-database checking for update-mime-database... /usr/bin/update-mime-database checking for gtk libs... found gtk 2.0 checking for vte emulator widget... found vte checking for openssl lib... yes checking for libssh... yes no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for size_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking for memset... yes checking for mkdir... yes checking for regcomp... yes checking for setlocale... yes checking for strcasecmp... yes checking for strchr... yes checking for strncasecmp... yes checking for strrchr... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating img/Makefile config.status: creating img/types/Makefile config.status: creating data/Makefile config.status: creating src/config.h config.status: src/config.h is unchanged config.status: executing depfiles commands + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.prQGEb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64 + CFLAGS='-O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 lterm-1.5.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/lterm-1.5.1/src' gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -c -o connection.o connection.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from connection.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ connection.c: In function ‘detect_serverlist_file_version’: connection.c:133:8: warning: unused variable ‘v2_s’ [-Wunused-variable] 133 | char v2_s[] = ";mtsl-2"; | ^~~~ connection.c:130:8: warning: unused variable ‘line’ [-Wunused-variable] 130 | char line[1024]; | ^~~~ connection.c:129:9: warning: unused variable ‘fp’ [-Wunused-variable] 129 | FILE *fp; | ^~ connection.c: In function ‘save_connections_to_file_xml’: connection.c:572:7: warning: unused variable ‘i’ [-Wunused-variable] 572 | int i; | ^ connection.c: In function ‘save_connections_to_file_xml_from_glist’: connection.c:642:22: warning: unused variable ‘c’ [-Wunused-variable] 642 | struct Connection *c; | ^ connection.c:640:7: warning: unused variable ‘i’ [-Wunused-variable] 640 | int i; | ^ connection.c: In function ‘read_connection_node’: connection.c:723:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 723 | if (child = xml_node_get_child (node, "last_user")) | ^~~~~ connection.c:726:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 726 | if (child = xml_node_get_child (node, "user")) | ^~~~~ connection.c:731:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 731 | if (child = xml_node_get_child (node, "password")) | ^~~~~ connection.c:750:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 750 | if (child = xml_node_get_child (node, "directory")) | ^~~~~ connection.c:753:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 753 | if (child = xml_node_get_child (node, "note")) | ^~~~~ connection.c:756:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 756 | if (node_auth = xml_node_get_child (node, "authentication")) | ^~~~~~~~~ connection.c:766:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 766 | if (child = xml_node_get_child (node_auth, "mode")) | ^~~~~ connection.c:773:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 773 | if (child = xml_node_get_child (node_auth, "auth_user")) | ^~~~~ connection.c:776:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 776 | if (child = xml_node_get_child (node_auth, "auth_password")) | ^~~~~ connection.c:792:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 792 | if (child = xml_node_get_child (node_auth, "identityFile")) | ^~~~~ connection.c:797:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 797 | if (node_hist = xml_node_get_child (node, "history")) | ^~~~~~~~~ connection.c:815:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 815 | if (child = xml_node_get_child (node, "upload_dir")) | ^~~~~ connection.c:818:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 818 | if (child = xml_node_get_child (node, "download_dir")) | ^~~~~ connection.c:822:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 822 | if (child = xml_node_get_child (node, "x11Forwarding")) | ^~~~~ connection.c:830:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 830 | if (child = xml_node_get_child (node, "options")) | ^~~~~ connection.c:702:20: warning: unused variable ‘pc’ [-Wunused-variable] 702 | char name[256], *pc; | ^~ connection.c:702:8: warning: unused variable ‘name’ [-Wunused-variable] 702 | char name[256], *pc; | ^~~~ connection.c: In function ‘read_xml_connection_item’: connection.c:865:32: warning: unused variable ‘node_hist’ [-Wunused-variable] 865 | XMLNode *child, *node_auth, *node_hist; | ^~~~~~~~~ connection.c:865:20: warning: unused variable ‘node_auth’ [-Wunused-variable] 865 | XMLNode *child, *node_auth, *node_hist; | ^~~~~~~~~ connection.c:865:12: warning: unused variable ‘child’ [-Wunused-variable] 865 | XMLNode *child, *node_auth, *node_hist; | ^~~~~ connection.c: In function ‘get_xml_doc’: connection.c:918:20: warning: unused variable ‘tmp_s’ [-Wunused-variable] 918 | char line[2048], tmp_s[32]; | ^~~~~ connection.c: In function ‘load_connections_from_file_xml’: connection.c:970:8: warning: unused variable ‘line’ [-Wunused-variable] 970 | char line[2048], tmp_s[32]; | ^~~~ connection.c:968:22: warning: unused variable ‘p_conn’ [-Wunused-variable] 968 | struct Connection *p_conn; | ^~~~~~ connection.c: In function ‘load_connections’: connection.c:1085:22: warning: unused variable ‘p_conn’ [-Wunused-variable] 1085 | struct Connection *p_conn; | ^~~~~~ connection.c: In function ‘add_update_connection’: connection.c:1625:7: warning: unused variable ‘sig_handler_prot’ [-Wunused-variable] 1625 | int sig_handler_prot = g_signal_connect (G_OBJECT (GTK_COMBO_BOX (protocol_combo)), "changed", G_CALLBACK (change_protocol_cb), NULL); | ^~~~~~~~~~~~~~~~ connection.c:1512:32: warning: variable ‘p_conn_ctrl’ set but not used [-Wunused-but-set-variable] 1512 | struct Connection conn_new, *p_conn_ctrl = NULL; | ^~~~~~~~~~~ connection.c:1510:7: warning: unused variable ‘len’ [-Wunused-variable] 1510 | int len; | ^~~ connection.c:1509:9: warning: unused variable ‘p_enc_b64’ [-Wunused-variable] 1509 | char *p_enc_b64; | ^~~~~~~~~ connection.c:1508:9: warning: unused variable ‘p_enc’ [-Wunused-variable] 1508 | char *p_enc; | ^~~~~ connection.c:1499:14: warning: unused variable ‘table’ [-Wunused-variable] 1499 | GtkWidget *table; | ^~~~~ connection.c:1498:30: warning: variable ‘ok_button’ set but not used [-Wunused-but-set-variable] 1498 | GtkWidget *cancel_button, *ok_button; | ^~~~~~~~~ connection.c:1498:14: warning: variable ‘cancel_button’ set but not used [-Wunused-but-set-variable] 1498 | GtkWidget *cancel_button, *ok_button; | ^~~~~~~~~~~~~ connection.c:1496:19: warning: unused variable ‘y_pad’ [-Wunused-variable] 1496 | int x_pad = 10, y_pad = 5; | ^~~~~ connection.c:1496:7: warning: unused variable ‘x_pad’ [-Wunused-variable] 1496 | int x_pad = 10, y_pad = 5; | ^~~~~ connection.c:1494:9: warning: unused variable ‘emu_tmp’ [-Wunused-variable] 1494 | char *emu_tmp, connection_name[1024], s_tmp[1024]; | ^~~~~~~ connection.c:1493:19: warning: unused variable ‘temp’ [-Wunused-variable] 1493 | char title[64], temp[256]; | ^~~~ connection.c: In function ‘add_update_folder’: connection.c:2000:30: warning: variable ‘ok_button’ set but not used [-Wunused-but-set-variable] 2000 | GtkWidget *cancel_button, *ok_button; | ^~~~~~~~~ connection.c:2000:14: warning: variable ‘cancel_button’ set but not used [-Wunused-but-set-variable] 2000 | GtkWidget *cancel_button, *ok_button; | ^~~~~~~~~~~~~ connection.c:1998:10: warning: unused variable ‘proceed’ [-Wunused-variable] 1998 | int i, proceed, err_name_validation, result; | ^~~~~~~ connection.c:1998:7: warning: unused variable ‘i’ [-Wunused-variable] 1998 | int i, proceed, err_name_validation, result; | ^ connection.c:1996:19: warning: unused variable ‘temp’ [-Wunused-variable] 1996 | char title[64], temp[256]; | ^~~~ connection.c: In function ‘cursor_changed_cb’: connection.c:2293:21: warning: unused variable ‘selection’ [-Wunused-variable] 2293 | GtkTreeSelection *selection; | ^~~~~~~~~ connection.c: In function ‘row_activated_quick_cb’: connection.c:2392:10: warning: unused variable ‘sel_name’ [-Wunused-variable] 2392 | gchar *sel_name; | ^~~~~~~~ connection.c:2391:8: warning: unused variable ‘sel_port’ [-Wunused-variable] 2391 | gint sel_port; | ^~~~~~~~ connection.c:2390:20: warning: unused variable ‘p_prot’ [-Wunused-variable] 2390 | struct Protocol *p_prot; | ^~~~~~ connection.c:2389:34: warning: unused variable ‘conn1’ [-Wunused-variable] 2389 | struct Connection *p_conn_new, conn1; | ^~~~~ connection.c:2389:22: warning: unused variable ‘p_conn_new’ [-Wunused-variable] 2389 | struct Connection *p_conn_new, conn1; | ^~~~~~~~~~ connection.c:2388:22: warning: unused variable ‘p_conn_selected’ [-Wunused-variable] 2388 | struct Connection *p_conn_selected, conn; | ^~~~~~~~~~~~~~~ connection.c:2387:12: warning: unused variable ‘have_iter’ [-Wunused-variable] 2387 | gboolean have_iter; | ^~~~~~~~~ connection.c:2386:15: warning: unused variable ‘iter’ [-Wunused-variable] 2386 | GtkTreeIter iter; | ^~~~ connection.c: In function ‘on_drag_data_inserted’: connection.c:2526:23: warning: unused variable ‘tree_view’ [-Wunused-variable] 2526 | struct GtkTreeView *tree_view = (struct GtkTreeView *) user_data; | ^~~~~~~~~ connection.c: In function ‘create_connections_tree_view’: connection.c:2674:10: warning: unused variable ‘sel_name’ [-Wunused-variable] 2674 | gchar *sel_name; | ^~~~~~~~ connection.c:2673:8: warning: unused variable ‘sel_port’ [-Wunused-variable] 2673 | gint sel_port; | ^~~~~~~~ connection.c:2672:20: warning: unused variable ‘p_prot’ [-Wunused-variable] 2672 | struct Protocol *p_prot; | ^~~~~~ connection.c:2671:22: warning: unused variable ‘p_conn_new’ [-Wunused-variable] 2671 | struct Connection *p_conn_new; | ^~~~~~~~~~ connection.c:2670:22: warning: unused variable ‘p_conn_selected’ [-Wunused-variable] 2670 | struct Connection *p_conn_selected; | ^~~~~~~~~~~~~~~ connection.c:2668:7: warning: unused variable ‘retcode’ [-Wunused-variable] 2668 | int retcode = 0; | ^~~~~~~ connection.c:2667:7: warning: unused variable ‘port’ [-Wunused-variable] 2667 | int port; | ^~~~ connection.c:2666:43: warning: unused variable ‘port_tmp’ [-Wunused-variable] 2666 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~~~~~ connection.c:2666:29: warning: unused variable ‘protocol’ [-Wunused-variable] 2666 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~~~~~ connection.c:2666:18: warning: unused variable ‘host’ [-Wunused-variable] 2666 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~ connection.c:2666:8: warning: unused variable ‘name’ [-Wunused-variable] 2666 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~ connection.c:2665:20: warning: unused variable ‘s_path’ [-Wunused-variable] 2665 | char line[1024], s_path[16]; | ^~~~~~ connection.c:2665:8: warning: unused variable ‘line’ [-Wunused-variable] 2665 | char line[1024], s_path[16]; | ^~~~ connection.c:2664:9: warning: unused variable ‘fp’ [-Wunused-variable] 2664 | FILE *fp; | ^~ connection.c:2660:15: warning: unused variable ‘iter’ [-Wunused-variable] 2660 | GtkTreeIter iter; | ^~~~ connection.c:2659:17: warning: unused variable ‘tree_model’ [-Wunused-variable] 2659 | GtkTreeModel *tree_model; | ^~~~~~~~~~ connection.c: In function ‘get_selected_connection’: connection.c:2779:12: warning: unused variable ‘have_iter’ [-Wunused-variable] 2779 | gboolean have_iter; | ^~~~~~~~~ connection.c: In function ‘edit_button_clicked_cb’: connection.c:2880:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2880 | if (p_node = add_update_connection (g_selected_node, NULL)) | ^~~~~~ connection.c:2885:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2885 | if (p_node = add_update_folder (g_selected_node)) | ^~~~~~ connection.c: In function ‘delete_button_clicked_cb’: connection.c:2955:16: warning: unused variable ‘path’ [-Wunused-variable] 2955 | GtkTreePath *path; | ^~~~ connection.c: In function ‘ok_button_clicked_cb’: connection.c:3021:18: warning: unused variable ‘buffer’ [-Wunused-variable] 3021 | GtkTextBuffer *buffer = (GtkTextBuffer *) user_data; | ^~~~~~ connection.c: In function ‘choose_manage_connection’: connection.c:3067:10: warning: unused variable ‘sel_name’ [-Wunused-variable] 3067 | gchar *sel_name; | ^~~~~~~~ connection.c:3066:8: warning: unused variable ‘sel_port’ [-Wunused-variable] 3066 | gint sel_port; | ^~~~~~~~ connection.c:3065:21: warning: unused variable ‘p_node’ [-Wunused-variable] 3065 | struct GroupNode *p_node; | ^~~~~~ connection.c:3064:20: warning: unused variable ‘p_prot’ [-Wunused-variable] 3064 | struct Protocol *p_prot; | ^~~~~~ connection.c:3063:22: warning: unused variable ‘p_conn_new’ [-Wunused-variable] 3063 | struct Connection *p_conn_new; | ^~~~~~~~~~ connection.c:3062:22: warning: unused variable ‘p_conn_selected’ [-Wunused-variable] 3062 | struct Connection *p_conn_selected; | ^~~~~~~~~~~~~~~ connection.c:3058:7: warning: unused variable ‘port’ [-Wunused-variable] 3058 | int port; | ^~~~ connection.c:3056:43: warning: unused variable ‘port_tmp’ [-Wunused-variable] 3056 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~~~~~ connection.c:3056:29: warning: unused variable ‘protocol’ [-Wunused-variable] 3056 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~~~~~ connection.c:3056:18: warning: unused variable ‘host’ [-Wunused-variable] 3056 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~ connection.c:3056:8: warning: unused variable ‘name’ [-Wunused-variable] 3056 | char name[64], host[128], protocol[64], port_tmp[16]; | ^~~~ connection.c:3055:20: warning: unused variable ‘s_path’ [-Wunused-variable] 3055 | char line[1024], s_path[16]; | ^~~~~~ connection.c:3055:8: warning: unused variable ‘line’ [-Wunused-variable] 3055 | char line[1024], s_path[16]; | ^~~~ connection.c:3054:9: warning: unused variable ‘fp’ [-Wunused-variable] 3054 | FILE *fp; | ^~ connection.c:3052:12: warning: unused variable ‘have_iter’ [-Wunused-variable] 3052 | gboolean have_iter; | ^~~~~~~~~ connection.c:3041:22: warning: unused variable ‘column’ [-Wunused-variable] 3041 | GtkTreeViewColumn *column; | ^~~~~~ connection.c:3040:20: warning: unused variable ‘cell’ [-Wunused-variable] 3040 | GtkCellRenderer *cell; | ^~~~ connection.c:3039:15: warning: unused variable ‘iter’ [-Wunused-variable] 3039 | GtkTreeIter iter; | ^~~~ connection.c:3035:14: warning: unused variable ‘vpaned’ [-Wunused-variable] 3035 | GtkWidget *vpaned; | ^~~~~~ connection.c: In function ‘connection_import_file_chooser’: connection.c:3449:22: warning: unused variable ‘p_conn’ [-Wunused-variable] 3449 | struct Connection *p_conn; | ^~~~~~ connection.c:3448:7: warning: unused variable ‘err’ [-Wunused-variable] 3448 | int err = 0; | ^~~ connection.c: In function ‘connection_import_MobaXterm’: connection.c:3582:19: warning: unused variable ‘sshId’ [-Wunused-variable] 3582 | const int sshId = '0'; | ^~~~~ connection.c:3580:34: warning: variable ‘pConn’ set but not used [-Wunused-but-set-variable] 3580 | struct Connection conn, *pConn; | ^~~~~ connection.c:3516:15: warning: unused variable ‘err’ [-Wunused-variable] 3516 | int result, err = 0; | ^~~ connection.c: In function ‘connection_import_Putty’: connection.c:3619:28: warning: unused variable ‘pConn’ [-Wunused-variable] 3619 | struct Connection conn, *pConn; | ^~~~~ connection.c:3616:15: warning: unused variable ‘err’ [-Wunused-variable] 3616 | int result, err = 0, n = 0; | ^~~ connection.c: In function ‘connection_export_CSV’: connection.c:3918:47: warning: unused variable ‘template’ [-Wunused-variable] 3918 | char filename[512], templateFilename[512], *template, *connectionEntry; | ^~~~~~~~ connection.c:3918:23: warning: unused variable ‘templateFilename’ [-Wunused-variable] 3918 | char filename[512], templateFilename[512], *template, *connectionEntry; | ^~~~~~~~~~~~~~~~ connection.c: At top level: connection.c:2648:23: warning: ‘row_targets’ defined but not used [-Wunused-variable] 2648 | static GtkTargetEntry row_targets[] = { | ^~~~~~~~~~~ connection.c: In function ‘add_update_connection’: connection.c:1522:19: warning: ‘/edit-connection.glade’ directive writing 22 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1522 | sprintf (ui, "%s/edit-connection.glade", globals.data_dir); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:51, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31: In function ‘sprintf’, inlined from ‘add_update_connection’ at connection.c:1522:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 23 and 278 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ connection.c: In function ‘duplicate_connection_button_clicked_cb’: connection.c:2917:29: warning: ‘ (’ directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2917 | sprintf (new_name, "%s (%d)", p_conn->name, i); | ^~ connection.c:2917:26: note: directive argument in the range [1, 2147483647] 2917 | sprintf (new_name, "%s (%d)", p_conn->name, i); | ^~~~~~~~~ In function ‘sprintf’, inlined from ‘duplicate_connection_button_clicked_cb’ at connection.c:2917:7: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 5 and 269 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from connection.c:37: connection.c: In function ‘delete_button_clicked_cb’: connection.c:2964:40: warning: ‘%s’ directive writing up to 255 bytes into a region of size 241 [-Wformat-overflow=] 2964 | sprintf (confirm_remove_message, _("Remove folder '%s' and all his connections?"), g_selected_node->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro ‘_’ 41 | #define _(x) x | ^ connection.c:2964:56: note: format string is defined here 2964 | sprintf (confirm_remove_message, _("Remove folder '%s' and all his connections?"), g_selected_node->name); | ^~ In function ‘sprintf’, inlined from ‘delete_button_clicked_cb’ at connection.c:2964:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 42 and 297 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ connection.c: In function ‘delete_button_clicked_cb’: connection.c:2962:40: warning: ‘%s’ directive writing up to 255 bytes into a region of size 237 [-Wformat-overflow=] 2962 | sprintf (confirm_remove_message, _("Remove connection '%s'?"), g_selected_node->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro ‘_’ 41 | #define _(x) x | ^ connection.c:2962:60: note: format string is defined here 2962 | sprintf (confirm_remove_message, _("Remove connection '%s'?"), g_selected_node->name); | ^~ In function ‘sprintf’, inlined from ‘delete_button_clicked_cb’ at connection.c:2962:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 22 and 277 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ connection.c: In function ‘connection_import_MobaXterm’: connection.c:3603:17: warning: ‘pFolderNode’ may be used uninitialized [-Wmaybe-uninitialized] 3603 | pNode = group_node_add_child (pFolderNode, GN_TYPE_CONNECTION, conn.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ connection.c:3519:21: note: ‘pFolderNode’ was declared here 3519 | struct GroupNode *pFolderNode, *pNode; | ^~~~~~~~~~~ connection.c: In function ‘connection_export_CSV’: connection.c:3943:7: warning: ‘connectionEntry’ may be used uninitialized [-Wmaybe-uninitialized] 3943 | free (connectionEntry); | ^~~~~~~~~~~~~~~~~~~~~~ connection.c:3918:58: note: ‘connectionEntry’ was declared here 3918 | char filename[512], templateFilename[512], *template, *connectionEntry; | ^~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -c -o gui.o gui.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gui.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ gui.c: In function ‘tabResetFlag’: gui.c:610:16: warning: operation on ‘pConn->flags’ may be undefined [-Wsequence-point] 610 | pConn->flags = pConn->flags &= ~bitmask; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function ‘show_login_mask’: gui.c:950:1: warning: label ‘run_dialog’ defined but not used [-Wunused-label] 950 | run_dialog: | ^~~~~~~~~~ gui.c:892:23: warning: unused variable ‘i’ [-Wunused-variable] 892 | int result, rc = 0, i; | ^ gui.c: In function ‘connection_tab_close’: gui.c:1053:14: warning: unused variable ‘child’ [-Wunused-variable] 1053 | GtkWidget *child; | ^~~~~ gui.c: In function ‘close_button_clicked_cb’: gui.c:1116:22: warning: unused variable ‘can_close’ [-Wunused-variable] 1116 | int page, retcode, can_close; | ^~~~~~~~~ gui.c:1116:13: warning: unused variable ‘retcode’ [-Wunused-variable] 1116 | int page, retcode, can_close; | ^~~~~~~ gui.c:1116:7: warning: unused variable ‘page’ [-Wunused-variable] 1116 | int page, retcode, can_close; | ^~~~ gui.c: In function ‘query_tooltip_cb’: gui.c:1156:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1156 | if (p_conn = get_connection_by_host (g_match.matched_string)) | ^~~~~~ gui.c: In function ‘connection_tab_add’: gui.c:1236:7: warning: unused variable ‘font_size’ [-Wunused-variable] 1236 | int font_size; | ^~~~~~~~~ gui.c:1234:11: warning: unused variable ‘h’ [-Wunused-variable] 1234 | gint w, h; | ^ gui.c:1234:8: warning: unused variable ‘w’ [-Wunused-variable] 1234 | gint w, h; | ^ gui.c: In function ‘connection_tab_getcwd’: gui.c:1477:11: warning: value computed is not used [-Wunused-value] 1477 | *pc ++; | ^~~~~~ gui.c: In function ‘connection_log_on_param’: gui.c:1496:20: warning: unused variable ‘p_prot’ [-Wunused-variable] 1496 | struct Protocol *p_prot; | ^~~~~~ gui.c: In function ‘connection_duplicate’: gui.c:1617:8: warning: unused variable ‘command’ [-Wunused-variable] 1617 | char command[1024]; | ^~~~~~~ gui.c: In function ‘connection_new_terminal_dir’: gui.c:1667:7: warning: unused variable ‘rc’ [-Wunused-variable] 1667 | int rc; | ^~ gui.c:1663:20: warning: unused variable ‘p_prot’ [-Wunused-variable] 1663 | struct Protocol *p_prot; | ^~~~~~ gui.c: In function ‘application_quit’: gui.c:1731:10: warning: unused variable ‘item’ [-Wunused-variable] 1731 | GList *item; | ^~~~ gui.c: In function ‘open_recent_session_from_info’: gui.c:1802:8: warning: unused variable ‘s_tmp’ [-Wunused-variable] 1802 | char s_tmp[256]; | ^~~~~ gui.c:1800:22: warning: unused variable ‘p_conn’ [-Wunused-variable] 1800 | struct Connection *p_conn; | ^~~~~~ gui.c:1799:10: warning: unused variable ‘item’ [-Wunused-variable] 1799 | GList *item; | ^~~~ gui.c: In function ‘session_recent_cb’: gui.c:1819:22: warning: unused variable ‘p_conn’ [-Wunused-variable] 1819 | struct Connection *p_conn; | ^~~~~~ gui.c:1818:10: warning: unused variable ‘item’ [-Wunused-variable] 1818 | GList *item; | ^~~~ gui.c:1817:8: warning: unused variable ‘s_tmp’ [-Wunused-variable] 1817 | char s_tmp[256]; | ^~~~~ gui.c:1816:7: warning: unused variable ‘i’ [-Wunused-variable] 1816 | int i; | ^ gui.c: In function ‘update_recent_sessions_menu’: gui.c:1965:12: warning: unused variable ‘s_tmp’ [-Wunused-variable] 1965 | char s_tmp[256]; | ^~~~~ gui.c:1964:14: warning: unused variable ‘location’ [-Wunused-variable] 1964 | GFile *location; | ^~~~~~~~ gui.c:1961:14: warning: unused variable ‘tip’ [-Wunused-variable] 1961 | gchar *tip; | ^~~ gui.c:1960:14: warning: unused variable ‘ruri’ [-Wunused-variable] 1960 | gchar *ruri; | ^~~~ gui.c:1959:14: warning: unused variable ‘uri’ [-Wunused-variable] 1959 | gchar *uri; | ^~~ gui.c: In function ‘add_recent_connection’: gui.c:2050:7: warning: unused variable ‘found’ [-Wunused-variable] 2050 | int found = 0; | ^~~~~ gui.c:2046:22: warning: unused variable ‘p_conn_recent’ [-Wunused-variable] 2046 | struct Connection *p_conn_recent; | ^~~~~~~~~~~~~ gui.c: In function ‘recent_chooser_item_activated’: gui.c:2178:8: warning: unused variable ‘s_tmp’ [-Wunused-variable] 2178 | char s_tmp[256]; | ^~~~~ gui.c:2177:8: warning: unused variable ‘display_name’ [-Wunused-variable] 2177 | char display_name[1024]; | ^~~~~~~~~~~~ gui.c:2176:22: warning: unused variable ‘p_conn’ [-Wunused-variable] 2176 | struct Connection *p_conn; | ^~~~~~ gui.c:2174:10: warning: unused variable ‘item’ [-Wunused-variable] 2174 | GList *item; | ^~~~ gui.c: In function ‘load_recent_connections’: gui.c:2248:22: warning: unused variable ‘c’ [-Wunused-variable] 2248 | struct Connection *c; | ^ gui.c:2247:26: warning: unused variable ‘cl’ [-Wunused-variable] 2247 | struct Connection_List cl; | ^~ gui.c:2246:10: warning: unused variable ‘item’ [-Wunused-variable] 2246 | GList *item; | ^~~~ gui.c:2245:7: warning: unused variable ‘rc’ [-Wunused-variable] 2245 | int rc; | ^~ gui.c: In function ‘save_recent_connections’: gui.c:2306:10: warning: unused variable ‘item’ [-Wunused-variable] 2306 | GList *item; | ^~~~ gui.c:2305:7: warning: unused variable ‘i’ [-Wunused-variable] 2305 | int i; | ^ gui.c:2304:12: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 2304 | int len, rc = 0; | ^~ gui.c:2304:7: warning: unused variable ‘len’ [-Wunused-variable] 2304 | int len, rc = 0; | ^~~ gui.c:2303:8: warning: unused variable ‘name_tmp’ [-Wunused-variable] 2303 | char name_tmp[256]; | ^~~~~~~~ gui.c:2302:9: warning: unused variable ‘p_enc_b64’ [-Wunused-variable] 2302 | char *p_enc_b64; | ^~~~~~~~~ gui.c:2301:9: warning: unused variable ‘p_enc’ [-Wunused-variable] 2301 | char *p_enc; | ^~~~~ gui.c:2300:26: warning: unused variable ‘cl’ [-Wunused-variable] 2300 | struct Connection_List cl; | ^~ gui.c:2299:22: warning: unused variable ‘p_conn’ [-Wunused-variable] 2299 | struct Connection *p_conn; | ^~~~~~ gui.c:2298:21: warning: unused variable ‘conn’ [-Wunused-variable] 2298 | struct Connection conn; | ^~~~ gui.c: In function ‘edit_find’: gui.c:2514:1: warning: label ‘run_dialog’ defined but not used [-Wunused-label] 2514 | run_dialog: | ^~~~~~~~~~ gui.c:2472:23: warning: unused variable ‘i’ [-Wunused-variable] 2472 | int result, rc = 0, i; | ^ gui.c: In function ‘edit_current_profile’: gui.c:2553:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2553 | if (p_profile = profile_get_by_id (&g_profile_list, p_current_connection_tab->profile_id)) | ^~~~~~~~~ gui.c: At top level: gui.c:2781:2: warning: "/*" within comment [-Wcomment] 2781 | \/* gui.c: In function ‘view_fullscreen’: gui.c:2902:14: warning: variable ‘toggle’ set but not used [-Wunused-but-set-variable] 2902 | GtkWidget *toggle; | ^~~~~~ gui.c: In function ‘terminal_toggled_cb’: gui.c:3182:16: warning: unused variable ‘path’ [-Wunused-variable] 3182 | GtkTreePath *path = gtk_tree_path_new_from_string (path_str); | ^~~~ gui.c: In function ‘terminal_cluster’: gui.c:3235:17: warning: unused variable ‘tree_model’ [-Wunused-variable] 3235 | GtkTreeModel *tree_model; | ^~~~~~~~~~ gui.c:3232:21: warning: unused variable ‘select’ [-Wunused-variable] 3232 | GtkTreeSelection *select; | ^~~~~~ gui.c:3198:17: warning: unused variable ‘tmp’ [-Wunused-variable] 3198 | char ui[256], tmp[512]; | ^~~ gui.c:3196:26: warning: unused variable ‘button_cancel’ [-Wunused-variable] 3196 | GtkWidget *button_ok, *button_cancel; | ^~~~~~~~~~~~~ gui.c:3196:14: warning: unused variable ‘button_ok’ [-Wunused-variable] 3196 | GtkWidget *button_ok, *button_cancel; | ^~~~~~~~~ gui.c: In function ‘sftp_upload_files’: gui.c:3424:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3424 | if (p_conn = cl_get_by_name (&conn_list, p_current_connection_tab->connection.name)) | ^~~~~~ gui.c:3407:1: warning: label ‘l_upl_dialog’ defined but not used [-Wunused-label] 3407 | l_upl_dialog: | ^~~~~~~~~~~~ gui.c:3366:9: warning: unused variable ‘s_tmp’ [-Wunused-variable] 3366 | char *s_tmp; | ^~~~~ gui.c: In function ‘sftp_download_files’: gui.c:3534:1: warning: label ‘l_dwl_dialog’ defined but not used [-Wunused-label] 3534 | l_dwl_dialog: | ^~~~~~~~~~~~ gui.c:3491:23: warning: unused variable ‘remote_directory’ [-Wunused-variable] 3491 | char pattern[1024], remote_directory[1024] = ""; | ^~~~~~~~~~~~~~~~ gui.c:3491:8: warning: unused variable ‘pattern’ [-Wunused-variable] 3491 | char pattern[1024], remote_directory[1024] = ""; | ^~~~~~~ gui.c:3490:32: warning: unused variable ‘s_tmp’ [-Wunused-variable] 3490 | char *local_directory=NULL, *s_tmp; | ^~~~~ gui.c: In function ‘go_to_url’: gui.c:3572:7: warning: variable ‘exit_code’ set but not used [-Wunused-but-set-variable] 3572 | int exit_code; | ^~~~~~~~~ gui.c: In function ‘Info’: gui.c:3632:9: warning: unused variable ‘fp’ [-Wunused-variable] 3632 | FILE *fp; | ^~ gui.c:3631:27: warning: unused variable ‘vbox_versions’ [-Wunused-variable] 3631 | GtkWidget *hbox_title, *vbox_versions; | ^~~~~~~~~~~~~ gui.c:3631:14: warning: unused variable ‘hbox_title’ [-Wunused-variable] 3631 | GtkWidget *hbox_title, *vbox_versions; | ^~~~~~~~~~ gui.c:3629:18: warning: unused variable ‘info’ [-Wunused-variable] 3629 | struct utsname info; | ^~~~ gui.c:3627:8: warning: unused variable ‘s’ [-Wunused-variable] 3627 | char s[1024], text[1024]; | ^ gui.c: In function ‘activate_radio_action’: gui.c:3825:12: warning: unused variable ‘active’ [-Wunused-variable] 3825 | gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (current)); | ^~~~~~ gui.c:3824:16: warning: unused variable ‘typename’ [-Wunused-variable] 3824 | const gchar *typename = G_OBJECT_TYPE_NAME (GTK_ACTION (current)); | ^~~~~~~~ gui.c:3823:16: warning: unused variable ‘name’ [-Wunused-variable] 3823 | const gchar *name = gtk_action_get_name (GTK_ACTION (current)); | ^~~~ gui.c: In function ‘profile_radio_action_cb’: gui.c:3843:8: warning: unused variable ‘value’ [-Wunused-variable] 3843 | gint value = gtk_radio_action_get_current_value (GTK_RADIO_ACTION (current)); | ^~~~~ gui.c:3842:12: warning: unused variable ‘active’ [-Wunused-variable] 3842 | gboolean active = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (current)); | ^~~~~~ gui.c: In function ‘refresh_profile_menu’: gui.c:3948:14: warning: unused variable ‘action’ [-Wunused-variable] 3948 | GtkAction *action; | ^~~~~~ gui.c:3947:24: warning: unused variable ‘items’ [-Wunused-variable] 3947 | GList *actions, *l, *items; | ^~~~~ gui.c: In function ‘get_main_menu’: gui.c:4007:8: warning: unused variable ‘recent_connections_desc’ [-Wunused-variable] 4007 | char recent_connections_desc[10000]; | ^~~~~~~~~~~~~~~~~~~~~~~ gui.c:4004:21: warning: unused variable ‘recent_manager’ [-Wunused-variable] 4004 | GtkRecentManager *recent_manager; | ^~~~~~~~~~~~~~ gui.c: In function ‘refresh_search_completion’: gui.c:4249:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4249 | while (p_conn = cl_get_by_index (/*cl_get_current ()*/ &conn_list, i)) | ^~~~~~ gui.c: In function ‘statusbar_push’: gui.c:4403:8: warning: unused variable ‘result’ [-Wunused-variable] 4403 | gint result; | ^~~~~~ gui.c: In function ‘statusbar_msg’: gui.c:4434:8: warning: unused variable ‘result’ [-Wunused-variable] 4434 | gint result; | ^~~~~~ gui.c: In function ‘hyperlink_add_host’: gui.c:4607:21: warning: variable ‘p_node’ set but not used [-Wunused-but-set-variable] 4607 | struct GroupNode *p_node; | ^~~~~~ gui.c: In function ‘child_exited_cb’: gui.c:4796:7: warning: unused variable ‘code’ [-Wunused-variable] 4796 | int code; | ^~~~ gui.c: In function ‘button_press_event_cb’: gui.c:4942:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 4942 | if (p_conn = get_connection_by_host (g_match.matched_string)) | ^~~~~~ gui.c:4901:17: warning: unused variable ‘tag’ [-Wunused-variable] 4901 | int row, col, tag; | ^~~ gui.c: In function ‘contents_changed_cb’: gui.c:5046:3: warning: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5046 | MD5_Init (&mdContext); | ^~~~~~~~ In file included from gui.c:28: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ gui.c:5047:3: warning: ‘MD5_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5047 | MD5_Update (&mdContext, bufferTmp, strlen(bufferTmp)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ gui.c:5048:3: warning: ‘MD5_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5048 | MD5_Final (digest, &mdContext); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ gui.c: In function ‘char_size_changed_cb’: gui.c:5282:3: warning: ‘vte_terminal_get_padding’ is deprecated [-Wdeprecated-declarations] 5282 | vte_terminal_get_padding (terminal, &xpad, &ypad); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/vte-0.0/vte/vte.h:529, from gui.c:26: /usr/include/vte-0.0/vte/vtedeprecated.h:93:6: note: declared here 93 | void vte_terminal_get_padding(VteTerminal *terminal, int *xpad, int *ypad) G_GNUC_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function ‘apply_preferences’: gui.c:5507:12: warning: unused variable ‘terminal_back_color’ [-Wunused-variable] 5507 | GdkColor terminal_back_color; | ^~~~~~~~~~~~~~~~~~~ gui.c:5506:12: warning: unused variable ‘terminal_fore_color’ [-Wunused-variable] 5506 | GdkColor terminal_fore_color; | ^~~~~~~~~~~~~~~~~~~ gui.c: In function ‘apply_profile_terminal’: gui.c:5565:12: warning: unused variable ‘object’ [-Wunused-variable] 5565 | GObject *object; | ^~~~~~ gui.c: In function ‘start_gtk’: gui.c:5740:37: warning: unused variable ‘ifr_function’ [-Wunused-variable] 5740 | struct Iteration_Function_Request ifr_function; | ^~~~~~~~~~~~ gui.c:5739:7: warning: unused variable ‘font_size’ [-Wunused-variable] 5739 | int font_size; | ^~~~~~~~~ gui.c:5738:25: warning: unused variable ‘font_desc’ [-Wunused-variable] 5738 | PangoFontDescription *font_desc; | ^~~~~~~~~ gui.c:5737:14: warning: unused variable ‘scrollbar’ [-Wunused-variable] 5737 | GtkWidget *scrollbar; | ^~~~~~~~~ gui.c:5736:14: warning: unused variable ‘hbox_terminal’ [-Wunused-variable] 5736 | GtkWidget *hbox_terminal; /* vte + scrollbar */ | ^~~~~~~~~~~~~ gui.c:5734:8: warning: unused variable ‘s_tmp’ [-Wunused-variable] 5734 | char s_tmp[256]; | ^~~~~ gui.c:5733:7: warning: unused variable ‘i’ [-Wunused-variable] 5733 | int i; | ^ gui.c: In function ‘edit_find’: gui.c:2479:19: warning: ‘/find.glade’ directive writing 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2479 | sprintf (ui, "%s/find.glade", globals.data_dir); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:51, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31: In function ‘sprintf’, inlined from ‘edit_find’ at gui.c:2479:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 12 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gui.c: In function ‘Info’: gui.c:3639:19: warning: ‘/credits.glade’ directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 3639 | sprintf (ui, "%s/credits.glade", globals.data_dir); | ^~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘Info’ at gui.c:3639:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 15 and 270 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gui.c: In function ‘Info’: gui.c:3660:31: warning: ‘/main_icon.png’ directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 3660 | sprintf (image_filename, "%s/main_icon.png", globals.img_dir); | ^~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘Info’ at gui.c:3660:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 15 and 270 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gui.c: In function ‘terminal_cluster’: gui.c:3207:19: warning: ‘/cluster.glade’ directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 3207 | sprintf (ui, "%s/cluster.glade", globals.data_dir); | ^~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘terminal_cluster’ at gui.c:3207:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 15 and 270 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gui.c: In function ‘set_title’: gui.c:626:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=] 626 | sprintf (title, "%s - %s", user_s, appname); | ^~ ~~~~~~~ In function ‘sprintf’, inlined from ‘set_title’ at gui.c:626:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 4 or more bytes (assuming 259) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from gui.c:35: gui.c: In function ‘expand_args’: gui.c:811:37: warning: ‘%s’ directive writing up to 255 bytes into a region of size 238 [-Wformat-overflow=] 811 | sprintf (label, _("Enter user for %s:"), p_conn->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro ‘_’ 41 | #define _(x) x | ^ gui.c:811:56: note: format string is defined here 811 | sprintf (label, _("Enter user for %s:"), p_conn->name); | ^~ In function ‘sprintf’, inlined from ‘expand_args’ at gui.c:811:19: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 24 and 279 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gui.c: In function ‘expand_args’: gui.c:856:37: warning: ‘%s’ directive writing up to 255 bytes into a region of size 233 [-Wformat-overflow=] 856 | sprintf (label, _("Enter directory for %s:"), p_conn->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro ‘_’ 41 | #define _(x) x | ^ gui.c:856:61: note: format string is defined here 856 | sprintf (label, _("Enter directory for %s:"), p_conn->name); | ^~ In function ‘sprintf’, inlined from ‘expand_args’ at gui.c:856:19: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 29 and 284 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gui.c: In function ‘expand_args’: gui.c:841:37: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 202 and 233 [-Wformat-overflow=] 841 | sprintf (label, _("Enter password for %s@%s:"), p_conn->user, p_conn->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro ‘_’ 41 | #define _(x) x | ^ gui.c:841:63: note: format string is defined here 841 | sprintf (label, _("Enter password for %s@%s:"), p_conn->user, p_conn->name); | ^~ In function ‘sprintf’, inlined from ‘expand_args’ at gui.c:841:19: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 29 and 315 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gui.c: In function ‘show_login_mask’: gui.c:896:19: warning: ‘/login.glade’ directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 896 | sprintf (ui, "%s/login.glade", globals.data_dir); | ^~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘show_login_mask’ at gui.c:896:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 13 and 268 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gui.c: In function ‘show_login_mask’: gui.c:902:36: warning: ‘/keys-64.png’ directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 902 | sprintf (image_auth_filename, "%s/keys-64.png", globals.img_dir); | ^~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘show_login_mask’ at gui.c:902:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 13 and 268 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:30: gui.c: In function ‘update_recent_sessions_menu’: gui.c:1924:127: warning: ‘i’ may be used uninitialized [-Wmaybe-uninitialized] 1924 | g_signal_handlers_disconnect_by_func (GTK_ACTION (l->data), G_CALLBACK (session_recent_cb), (gpointer) recent_entries[i].name); | ~~~~~~~~~~~~~~~~~^~~~~ /usr/include/glib-2.0/gobject/gsignal.h:592:64: note: in definition of macro ‘g_signal_handlers_disconnect_by_func’ 592 | 0, 0, NULL, (func), (data)) | ^~~~ gui.c:1913:8: note: ‘i’ was declared here 1913 | gint i; | ^ gui.c: In function ‘add_recent_connection’: gui.c:2110:23: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 224 and 255 [-Wformat-overflow=] 2110 | sprintf (s_tmp, "%s@%s[%s]", p_conn->user, p_conn->name, p_conn->protocol); | ^~ In function ‘sprintf’, inlined from ‘add_recent_connection’ at gui.c:2110:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 4 and 353 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gui.c: In function ‘sftp_upload_files’: gui.c:3389:21: warning: ‘%s’ directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] 3389 | sprintf (title, _("Upload to %s (%s)"), p_current_connection_tab->connection.name, p_current_connection_tab->connection.host); | ^~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro ‘_’ 41 | #define _(x) x | ^ gui.c:3389:32: note: format string is defined here 3389 | sprintf (title, _("Upload to %s (%s)"), p_current_connection_tab->connection.name, p_current_connection_tab->connection.host); | ^~ In function ‘sprintf’, inlined from ‘sftp_upload_files’ at gui.c:3389:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 14 and 524 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gui.c: In function ‘sftp_download_files’: gui.c:3551:6: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized] 3551 | if (result == GTK_RESPONSE_ACCEPT && local_directory) | ^ gui.c:3489:8: note: ‘result’ was declared here 3489 | gint result; | ^~~~~~ gui.c: In function ‘update_title’: gui.c:4391:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size 253 [-Wformat-overflow=] 4391 | sprintf (title, "%s - %s", label, appname); | ^~ ~~~~~~~ In function ‘sprintf’, inlined from ‘update_title’ at gui.c:4391:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 4 or more bytes (assuming 259) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gui.c: In function ‘update_statusbar’: gui.c:4494:31: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 224 and 255 [-Wformat-overflow=] 4494 | sprintf (s, "%s@%s (%s)", | ^~ In function ‘sprintf’, inlined from ‘update_statusbar’ at gui.c:4494:15: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 5 and 546 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gui.c: In function ‘connection_tab_close’: gui.c:1063:28: warning: ‘%s’ directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=] 1063 | sprintf (prompt, _("Close connection to %s?"), p_ct->connection.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro ‘_’ 41 | #define _(x) x | ^ gui.c:1063:49: note: format string is defined here 1063 | sprintf (prompt, _("Close connection to %s?"), p_ct->connection.name); | ^~ In function ‘sprintf’, inlined from ‘connection_tab_close’ at gui.c:1063:9: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 22 and 277 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gui.c: In function ‘terminal_popup_menu’: gui.c:4683:26: warning: ‘ (’ directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 4683 | sprintf (s_tmp, "%s (%s)", p_conn->name, p_conn->host); | ^~ In function ‘sprintf’, inlined from ‘terminal_popup_menu’ at gui.c:4683:7: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 4 and 514 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gui.c: In function ‘open_recent_connection_from_info’: gui.c:1775:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 224 and 255 [-Wformat-overflow=] 1775 | sprintf (s_tmp, "%s@%s[%s]", p_conn->user, p_conn->name, p_conn->protocol); | ^~ In function ‘sprintf’, inlined from ‘open_recent_connection_from_info’ at gui.c:1775:7: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 4 and 353 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -c -o main.o main.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from main.c:33: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ main.c: In function ‘log_write’: main.c:114:8: warning: unused variable ‘log_file’ [-Wunused-variable] 114 | char log_file[256]; | ^~~~~~~~ main.c: In function ‘lterm_iteration’: main.c:202:25: warning: unused variable ‘lterminal’ [-Wunused-variable] 202 | struct ConnectionTab *lterminal; | ^~~~~~~~~ main.c: In function ‘main’: main.c:545:13: warning: Deprecated pre-processor symbol 545 | if (!g_thread_supported()) | ^~~~~~~~~~~~~~~~ main.c:546:7: warning: ‘g_thread_init’ is deprecated [-Wdeprecated-declarations] 546 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:115: /usr/include/glib-2.0/glib/deprecated/gthread.h:271:10: note: declared here 271 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ main.c:557:3: warning: ‘G_APPLICATION_FLAGS_NONE’ is deprecated: Use 'G_APPLICATION_DEFAULT_FLAGS' instead [-Wdeprecated-declarations] 557 | application = g_application_new ("lterm.application", G_APPLICATION_FLAGS_NONE); | ^~~~~~~~~~~ /usr/include/glib-2.0/gio/gioenums.h:1545:3: note: declared here 1545 | G_APPLICATION_FLAGS_NONE GIO_DEPRECATED_ENUMERATOR_IN_2_74_FOR(G_APPLICATION_DEFAULT_FLAGS), | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:346:7: warning: unused variable ‘digit_optind’ [-Wunused-variable] 346 | int digit_optind; | ^~~~~~~~~~~~ main.c:345:7: warning: unused variable ‘c’ [-Wunused-variable] 345 | int c, n, rc; | ^ main.c: In function ‘save_settings’: main.c:798:7: warning: unused variable ‘err’ [-Wunused-variable] 798 | int err; | ^~~ main.c: In function ‘cmpver’: main.c:881:19: warning: unused variable ‘cmp3’ [-Wunused-variable] 881 | int cmp1, cmp2, cmp3; | ^~~~ main.c:881:13: warning: unused variable ‘cmp2’ [-Wunused-variable] 881 | int cmp1, cmp2, cmp3; | ^~~~ main.c:881:7: warning: unused variable ‘cmp1’ [-Wunused-variable] 881 | int cmp1, cmp2, cmp3; | ^~~~ main.c: At top level: main.c:157:13: warning: ‘handle_signals’ defined but not used [-Wunused-function] 157 | static void handle_signals (void) | ^~~~~~~~~~~~~~ main.c: In function ‘log_write’: main.c:137:23: warning: ‘%s’ directive writing up to 2047 bytes into a region of size between 1983 and 2046 [-Wformat-overflow=] 137 | sprintf (line, "%s: %s", time_s, msg); | ^~ ~~~ In file included from /usr/include/stdio.h:980, from main.c:32: In function ‘sprintf’, inlined from ‘log_write’ at main.c:137:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 3 and 2113 bytes into a destination of size 2048 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:460:35: warning: ‘/serverlist’ directive writing 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 460 | sprintf (globals.serverlist, "%s/serverlist", globals.app_dir); /* deprecated */ | ^~~~~~~~~~~ In function ‘sprintf’, inlined from ‘main’ at main.c:460:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 12 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:461:40: warning: ‘/connections.xml’ directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 461 | sprintf (globals.connections_xml, "%s/connections.xml", globals.app_dir); | ^~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘main’ at main.c:461:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 17 and 272 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:462:37: warning: ‘/session.xml’ directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 462 | sprintf (globals.session_file, "%s/session.xml", globals.app_dir); | ^~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘main’ at main.c:462:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 13 and 268 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:463:33: warning: ‘/lterm.log’ directive writing 10 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 463 | sprintf (globals.log_file, "%s/lterm.log", globals.app_dir); | ^~~~~~~~~~ In function ‘sprintf’, inlined from ‘main’ at main.c:463:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 11 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:464:38: warning: ‘/profiles.xml’ directive writing 13 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 464 | sprintf (globals.profiles_file, "%s/profiles.xml", globals.app_dir); | ^~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘main’ at main.c:464:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 14 and 269 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:465:39: warning: ‘/protocols.xml’ directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 465 | sprintf (globals.protocols_file, "%s/protocols.xml", globals.app_dir); | ^~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘main’ at main.c:465:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 15 and 270 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:467:48: warning: ‘/recents.xml’ directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 467 | sprintf (globals.recent_connections_file, "%s/recents.xml", globals.app_dir); | ^~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘main’ at main.c:467:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 13 and 268 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:468:45: warning: ‘/recent_sessions’ directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 468 | sprintf (globals.recent_sessions_file, "%s/recent_sessions", globals.app_dir); | ^~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘main’ at main.c:468:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 17 and 272 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:469:35: warning: ‘%s’ directive writing 5 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 469 | sprintf (globals.conf_file, "%s/%s.conf", globals.app_dir, PACKAGE_NAME); | ^~ In function ‘sprintf’, inlined from ‘main’ at main.c:469:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 12 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -c -o preferences.o preferences.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from preferences.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ preferences.c: In function ‘profile_selected_cb’: preferences.c:334:15: warning: unused variable ‘iter’ [-Wunused-variable] 334 | GtkTreeIter iter; | ^~~~ preferences.c: In function ‘show_preferences’: preferences.c:626:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 626 | if (p_profile = profile_get_by_position (&g_profile_list, | ^~~~~~~~~ preferences.c:472:15: warning: unused variable ‘iter’ [-Wunused-variable] 472 | GtkTreeIter iter; | ^~~~ preferences.c:471:17: warning: unused variable ‘tree_model’ [-Wunused-variable] 471 | GtkTreeModel *tree_model; | ^~~~~~~~~~ preferences.c:388:17: warning: unused variable ‘tmp’ [-Wunused-variable] 388 | char ui[256], tmp[512]; | ^~~ preferences.c:384:44: warning: unused variable ‘bg_color_entry’ [-Wunused-variable] 384 | GtkWidget *font_entry, *fg_color_entry, *bg_color_entry; | ^~~~~~~~~~~~~~ preferences.c:384:27: warning: unused variable ‘fg_color_entry’ [-Wunused-variable] 384 | GtkWidget *font_entry, *fg_color_entry, *bg_color_entry; | ^~~~~~~~~~~~~~ preferences.c:384:14: warning: unused variable ‘font_entry’ [-Wunused-variable] 384 | GtkWidget *font_entry, *fg_color_entry, *bg_color_entry; | ^~~~~~~~~~ preferences.c:382:26: warning: unused variable ‘button_cancel’ [-Wunused-variable] 382 | GtkWidget *button_ok, *button_cancel; | ^~~~~~~~~~~~~ preferences.c:382:14: warning: unused variable ‘button_ok’ [-Wunused-variable] 382 | GtkWidget *button_ok, *button_cancel; | ^~~~~~~~~ preferences.c: In function ‘profile_edit’: preferences.c:123:19: warning: ‘/profile.glade’ directive writing 14 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 123 | sprintf (ui, "%s/profile.glade", globals.data_dir); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:51, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31: In function ‘sprintf’, inlined from ‘profile_edit’ at preferences.c:123:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 15 and 270 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ preferences.c: In function ‘show_preferences’: preferences.c:392:19: warning: ‘/preferences.glade’ directive writing 18 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 392 | sprintf (ui, "%s/preferences.glade", globals.data_dir); | ^~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘show_preferences’ at preferences.c:392:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 19 and 274 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -c -o profile.o profile.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from main.h:11, from profile.c:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ profile.c: In function ‘profile_get_name_param’: profile.c:45:10: warning: unused variable ‘nmatch’ [-Wunused-variable] 45 | size_t nmatch; | ^~~~~~ profile.c: In function ‘profile_load_int’: profile.c:162:8: warning: unused variable ‘buffer’ [-Wunused-variable] 162 | char buffer[33]; | ^~~~~~ profile.c: In function ‘profile_modify_string’: profile.c:182:10: warning: unused variable ‘nmatch’ [-Wunused-variable] 182 | size_t nmatch; | ^~~~~~ profile.c: In function ‘profile_delete_section’: profile.c:403:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 403 | while (pl = fgets (line, 1024, fp)) | ^~ profile.c: In function ‘load_profiles’: profile.c:687:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 687 | if (child = xml_node_get_child (node, "fg-color")) | ^~~~~ profile.c:690:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 690 | if (node_2 = xml_node_get_child (node, "fonts")) | ^~~~~~ profile.c:692:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 692 | if (child = xml_node_get_child (node_2, "use-system")) | ^~~~~ profile.c:699:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 699 | if (child = xml_node_get_child (node_2, "font")) | ^~~~~ profile.c:703:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 703 | if (node_2 = xml_node_get_child (node, "background")) | ^~~~~~ profile.c:705:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 705 | if (child = xml_node_get_child (node_2, "color")) | ^~~~~ profile.c:708:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 708 | if (child = xml_node_get_child (node_2, "alpha")) | ^~~~~ profile.c:719:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 719 | if (node_2 = xml_node_get_child (node, "cursor")) | ^~~~~~ profile.c:721:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 721 | if (child = xml_node_get_child (node_2, "shape")) | ^~~~~ profile.c:729:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 729 | if (child = xml_node_get_child (node_2, "blinking")) | ^~~~~ profile.c:738:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 738 | if (node_2 = xml_node_get_child (node, "bell")) | ^~~~~~ profile.c:740:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 740 | if (child = xml_node_get_child (node_2, "audible")) | ^~~~~ profile.c:748:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 748 | if (child = xml_node_get_child (node_2, "visible")) | ^~~~~ profile.c:626:20: warning: unused variable ‘pc’ [-Wunused-variable] 626 | char tmp_s[32], *pc; | ^~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -c -o protocol.o protocol.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from protocol.c:21: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ protocol.c: In function ‘load_protocols_from_file_xml’: protocol.c:282:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 282 | if (child = xml_node_get_child (node, "command")) | ^~~~~ protocol.c:285:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 285 | if (child = xml_node_get_child (node, "port")) | ^~~~~ protocol.c:292:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 292 | if (child = xml_node_get_child (node, "arguments")) | ^~~~~ protocol.c:295:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 295 | if (node_2 = xml_node_get_child (node, "flags")) | ^~~~~~ protocol.c:297:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 297 | if (child = xml_node_get_child (node_2, "askuser")) | ^~~~~ protocol.c:305:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 305 | if (child = xml_node_get_child (node_2, "askpassword")) | ^~~~~ protocol.c:313:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 313 | if (child = xml_node_get_child (node_2, "disconnectclose")) | ^~~~~ protocol.c:228:20: warning: unused variable ‘pc’ [-Wunused-variable] 228 | char tmp_s[32], *pc; | ^~ protocol.c:225:7: warning: unused variable ‘rc’ [-Wunused-variable] 225 | int rc = 0; | ^~ protocol.c: In function ‘save_protocols_to_file_xml’: protocol.c:341:8: warning: unused variable ‘s_flags’ [-Wunused-variable] 341 | char s_flags[1024]; | ^~~~~~~ protocol.c:340:8: warning: unused variable ‘line’ [-Wunused-variable] 340 | char line[1024]; | ^~~~ protocol.c: In function ‘prot_save_clicked_cb’: protocol.c:569:8: warning: unused variable ‘s_port’ [-Wunused-variable] 569 | char s_port[256]; | ^~~~~~ protocol.c: In function ‘manage_protocols’: protocol.c:713:8: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] 713 | gint result; | ^~~~~~ protocol.c:712:20: warning: unused variable ‘p’ [-Wunused-variable] 712 | struct Protocol *p; | ^ protocol.c:711:10: warning: unused variable ‘client_glist’ [-Wunused-variable] 711 | GList *client_glist = NULL; | ^~~~~~~~~~~~ protocol.c:710:30: warning: variable ‘ok_button’ set but not used [-Wunused-but-set-variable] 710 | GtkWidget *cancel_button, *ok_button; | ^~~~~~~~~ protocol.c:710:14: warning: unused variable ‘cancel_button’ [-Wunused-variable] 710 | GtkWidget *cancel_button, *ok_button; | ^~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -c -o utils.o utils.c utils.c:37:19: warning: extra tokens at end of #include directive 37 | #include x | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from main.h:11, from utils.c:43: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from utils.c:23: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ utils.c: In function ‘seconds_to_hhmmdd’: utils.c:137:23: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 137 | sprintf (buf, "%02lld:%02lld:%02lld", hour, min, sec); | ~~~~~^ ~~~~ | | | | long long int uint64_t {aka long unsigned int} | %02ld utils.c:137:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 137 | sprintf (buf, "%02lld:%02lld:%02lld", hour, min, sec); | ~~~~~^ ~~~ | | | | long long int uint64_t {aka long unsigned int} | %02ld utils.c:137:37: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 137 | sprintf (buf, "%02lld:%02lld:%02lld", hour, min, sec); | ~~~~~^ ~~~ | | | | long long int uint64_t {aka long unsigned int} | %02ld utils.c: In function ‘permissions_octal_to_string’: utils.c:150:38: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] 150 | triple[i] = (value & (0x01 << 8-i)) ? flags[i] : '-'; | ~^~ utils.c:145:10: warning: unused variable ‘n’ [-Wunused-variable] 145 | int i, n; | ^ utils.c: In function ‘get_desktop_environment’: utils.c:701:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 701 | if (value = getenv ("DESKTOP_SESSION")) | ^~~~~ utils.c:713:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 713 | if (value = getenv ("GNOME_KEYRING_PID")) | ^~~~~ utils.c: In function ‘Encrypt’: utils.c:776:3: warning: ‘DES_set_odd_parity’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 776 | DES_set_odd_parity (&Key2); | ^~~~~~~~~~~~~~~~~~ In file included from utils.c:25: /usr/include/openssl/des.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); | ^~~~~~~~~~~~~~~~~~ utils.c:777:3: warning: ‘DES_set_key_checked’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 777 | DES_set_key_checked (&Key2, &schedule); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:190:5: note: declared here 190 | int DES_set_key_checked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~ utils.c:780:3: warning: ‘DES_cfb64_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 780 | DES_cfb64_encrypt ((unsigned char *) Msg, (unsigned char *) Res, size, &schedule, &Key2, &n, DES_ENCRYPT); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:197:6: note: declared here 197 | void DES_cfb64_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~~~ utils.c: In function ‘Decrypt’: utils.c:798:3: warning: ‘DES_set_odd_parity’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 798 | DES_set_odd_parity (&Key2); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); | ^~~~~~~~~~~~~~~~~~ utils.c:799:3: warning: ‘DES_set_key_checked’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 799 | DES_set_key_checked (&Key2, &schedule); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:190:5: note: declared here 190 | int DES_set_key_checked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~ utils.c:802:3: warning: ‘DES_cfb64_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 802 | DES_cfb64_encrypt (( unsigned char *) Msg, (unsigned char *) Res, size, &schedule, &Key2, &n, DES_DECRYPT); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:197:6: note: declared here 197 | void DES_cfb64_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~~~ utils.c: In function ‘des_encrypt_b64’: utils.c:816:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 816 | p_enc = Encrypt (KEY, clear_text, strlen (clear_text)); | ^ utils.c:818:15: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 818 | if (strlen (p_enc) > strlen (clear_text)) | ^~~~~ | | | unsigned char * In file included from /usr/include/glib-2.0/glib/galloca.h:35: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ utils.c:821:71: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 821 | p_enc_b64 = g_base64_encode ((const unsigned char *) p_enc, strlen (p_enc)); | ^~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ utils.c: In function ‘des_decrypt_b64’: utils.c:838:9: warning: pointer targets in assignment from ‘guchar *’ {aka ‘unsigned char *’} to ‘char *’ differ in signedness [-Wpointer-sign] 838 | p_enc = g_base64_decode (ecrypted_text, &len); | ^ utils.c: In function ‘readFile’: utils.c:1025:11: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1025 | fread (buffer, 1, length, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -c -o grouptree.o grouptree.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from connection_list.h:5, from grouptree.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ grouptree.c: In function ‘group_node_find’: grouptree.c:135:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 135 | if (p_node = group_node_find (p_parent->child[i], name)) | ^~~~~~ grouptree.c: In function ‘group_node_find_by_path’: grouptree.c:230:8: warning: unused variable ‘s_tmp’ [-Wunused-variable] 230 | char s_tmp[64]; | ^~~~~ grouptree.c: In function ‘group_node_find_by_numeric_path’: grouptree.c:263:8: warning: unused variable ‘s_tmp’ [-Wunused-variable] 263 | char s_tmp[64]; | ^~~~~ grouptree.c: In function ‘group_node_get_child_next’: grouptree.c:355:21: warning: unused variable ‘p_child_next’ [-Wunused-variable] 355 | struct GroupNode *p_child_next = NULL; | ^~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -c -o connection_list.o connection_list.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from connection.h:5, from connection_list.c:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ connection_list.c: In function ‘cl_check’: connection_list.c:240:31: warning: unused variable ‘pc’ [-Wunused-variable] 240 | struct Connection *p_conn, *pc; | ^~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -c -o xml.o xml.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from main.h:11, from xml.c:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ xml.c: In function ‘xml_load’: xml.c:663:10: warning: unused variable ‘rc’ [-Wunused-variable] 663 | int i, rc = 0; | ^~ xml.c:663:7: warning: unused variable ‘i’ [-Wunused-variable] 663 | int i, rc = 0; | ^ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -c -o sftp-panel.o sftp-panel.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from sftp-panel.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ sftp-panel.c: In function ‘sftp_set_status’: sftp-panel.c:162:8: warning: unused variable ‘text’ [-Wunused-variable] 162 | char text[4096]; | ^~~~ sftp-panel.c: In function ‘sftp_copy_file_upload’: sftp-panel.c:267:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 267 | lockSSH (__func__, TRUE); | ^~~~~~~~ In file included from sftp-panel.c:40: async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:280:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 280 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:298:16: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 298 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:306:16: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 306 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:319:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 319 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:323:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 323 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c: In function ‘sftp_copy_file_download’: sftp-panel.c:353:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 353 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:363:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 363 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:386:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 386 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:390:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 390 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:408:16: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 408 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:414:16: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 414 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:444:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 444 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:448:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 448 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:345:25: warning: unused variable ‘rc’ [-Wunused-variable] 345 | int nbytes, nwritten, rc; | ^~ sftp-panel.c: In function ‘upload_directory’: sftp-panel.c:489:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 489 | if (pc = (char *) strrchr (rootdir, '/')) | ^~ sftp-panel.c:499:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 499 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:505:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 505 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c: In function ‘download_directory’: sftp-panel.c:575:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 575 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:579:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 579 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:586:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 586 | if (pc = (char *) strrchr (rootdir, '/')) | ^~ sftp-panel.c:606:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 606 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:610:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 610 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:669:16: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 669 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:678:18: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 678 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:685:16: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 685 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:690:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 690 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:694:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 694 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c: In function ‘sftp_panel_check_inotify’: sftp-panel.c:867:18: warning: unused variable ‘timeout’ [-Wunused-variable] 867 | struct timeval timeout; | ^~~~~~~ sftp-panel.c:822:12: warning: unused variable ‘isModified’ [-Wunused-variable] 822 | gboolean isModified = FALSE; | ^~~~~~~~~~ sftp-panel.c: In function ‘sftp_panel_create_mirror_file’: sftp-panel.c:925:8: warning: unused variable ‘mirrorFile’ [-Wunused-variable] 925 | char mirrorFile[2048]; | ^~~~~~~~~~ sftp-panel.c:923:7: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] 923 | int result; | ^~~~~~ sftp-panel.c: In function ‘sftp_panel_open’: sftp-panel.c:1067:12: warning: unused variable ‘success’ [-Wunused-variable] 1067 | gboolean success; | ^~~~~~~ sftp-panel.c:1066:42: warning: unused variable ‘command’ [-Wunused-variable] 1066 | gchar *filename, *uri, filepath[2048], command[2048]; | ^~~~~~~ sftp-panel.c:1066:21: warning: unused variable ‘uri’ [-Wunused-variable] 1066 | gchar *filename, *uri, filepath[2048], command[2048]; | ^~~ sftp-panel.c:1065:8: warning: unused variable ‘folder_name’ [-Wunused-variable] 1065 | char folder_name[1024]; | ^~~~~~~~~~~ sftp-panel.c:1064:19: warning: unused variable ‘i’ [-Wunused-variable] 1064 | int create, rc, i; | ^ sftp-panel.c:1064:15: warning: unused variable ‘rc’ [-Wunused-variable] 1064 | int create, rc, i; | ^~ sftp-panel.c:1064:7: warning: unused variable ‘create’ [-Wunused-variable] 1064 | int create, rc, i; | ^~~~~~ sftp-panel.c: In function ‘sftp_panel_create_folder’: sftp-panel.c:1128:16: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1128 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:1134:16: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1134 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c: In function ‘sftp_panel_create_file’: sftp-panel.c:1174:16: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1174 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:1180:16: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1180 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:1159:15: warning: unused variable ‘rc’ [-Wunused-variable] 1159 | int create, rc = 0; | ^~ sftp-panel.c: In function ‘sftp_panel_rename’: sftp-panel.c:1218:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1218 | if (e = dl_search_by_name (&p_ssh_current->dirlist, filename)) | ^ sftp-panel.c:1231:20: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1231 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:1237:20: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1237 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:1202:8: warning: unused variable ‘folder_name’ [-Wunused-variable] 1202 | char folder_name[1024]; | ^~~~~~~~~~~ sftp-panel.c:1201:7: warning: unused variable ‘create’ [-Wunused-variable] 1201 | int create, rc; | ^~~~~~ sftp-panel.c: In function ‘sftp_panel_delete’: sftp-panel.c:1319:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1319 | if (e = dl_search_by_name (&p_ssh_current->dirlist, filename)) | ^ sftp-panel.c:1324:20: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1324 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:1338:20: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1338 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:1301:8: warning: unused variable ‘folder_name’ [-Wunused-variable] 1301 | char folder_name[1024]; | ^~~~~~~~~~~ sftp-panel.c:1300:7: warning: unused variable ‘create’ [-Wunused-variable] 1300 | int create, rc; | ^~~~~~ sftp-panel.c: In function ‘sftp_panel_change_time’: sftp-panel.c:1422:15: warning: pointer targets in passing argument 1 of ‘localtime_r’ differ in signedness [-Wpointer-sign] 1422 | localtime_r(&e->mtime, &dateTime); | ^~~~~~~~~ | | | long unsigned int * In file included from /usr/include/glib-2.0/glib/gtypes.h:41: /usr/include/time.h:160:57: note: expected ‘const time_t * restrict’ {aka ‘const long int * restrict’} but argument is of type ‘long unsigned int *’ 160 | extern struct tm *localtime_r (const time_t *__restrict __timer, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ sftp-panel.c:1437:54: warning: pointer targets in passing argument 2 of ‘gtk_calendar_get_date’ differ in signedness [-Wpointer-sign] 1437 | gtk_calendar_get_date (GTK_CALENDAR(calendarDate), &year, &month, &day); | ^~~~~ | | | int * In file included from /usr/include/gtk-2.0/gtk/gtk.h:53: /usr/include/gtk-2.0/gtk/gtkcalendar.h:185:55: note: expected ‘guint *’ {aka ‘unsigned int *’} but argument is of type ‘int *’ 185 | guint *year, | ~~~~~~~~~~~~~^~~~ sftp-panel.c:1437:61: warning: pointer targets in passing argument 3 of ‘gtk_calendar_get_date’ differ in signedness [-Wpointer-sign] 1437 | gtk_calendar_get_date (GTK_CALENDAR(calendarDate), &year, &month, &day); | ^~~~~~ | | | int * /usr/include/gtk-2.0/gtk/gtkcalendar.h:186:55: note: expected ‘guint *’ {aka ‘unsigned int *’} but argument is of type ‘int *’ 186 | guint *month, | ~~~~~~~~~~~~~^~~~~ sftp-panel.c:1437:69: warning: pointer targets in passing argument 4 of ‘gtk_calendar_get_date’ differ in signedness [-Wpointer-sign] 1437 | gtk_calendar_get_date (GTK_CALENDAR(calendarDate), &year, &month, &day); | ^~~~ | | | int * /usr/include/gtk-2.0/gtk/gtkcalendar.h:187:55: note: expected ‘guint *’ {aka ‘unsigned int *’} but argument is of type ‘int *’ 187 | guint *day); | ~~~~~~~~~~~~~^~~ sftp-panel.c:1476:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1476 | if (e = dl_search_by_name (&p_ssh_current->dirlist, filename)) | ^ sftp-panel.c:1487:22: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1487 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:1491:22: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1491 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:1430:1: warning: label ‘run_dialog’ defined but not used [-Wunused-label] 1430 | run_dialog: | ^~~~~~~~~~ sftp-panel.c:1367:8: warning: unused variable ‘folder_name’ [-Wunused-variable] 1367 | char folder_name[1024]; | ^~~~~~~~~~~ sftp-panel.c:1365:23: warning: unused variable ‘i’ [-Wunused-variable] 1365 | int result, rc = 0, i; | ^ sftp-panel.c: In function ‘refresh_panel_history’: sftp-panel.c:1618:10: warning: unused variable ‘s’ [-Wunused-variable] 1618 | gchar *s; | ^ sftp-panel.c:1617:10: warning: unused variable ‘n_items’ [-Wunused-variable] 1617 | int i, n_items; | ^~~~~~~ sftp-panel.c:1616:20: warning: unused variable ‘b’ [-Wunused-variable] 1616 | struct Bookmark *b; | ^ sftp-panel.c: In function ‘sftp_panel_change_directory’: sftp-panel.c:1716:7: warning: unused variable ‘rc’ [-Wunused-variable] 1716 | int rc; | ^~ sftp-panel.c: In function ‘row_activated_sftp_cb’: sftp-panel.c:1798:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1798 | if (e = dl_search_by_name (&p_ssh_current->dirlist, name)) | ^ sftp-panel.c:1786:7: warning: unused variable ‘retcode’ [-Wunused-variable] 1786 | int retcode; | ^~~~~~~ sftp-panel.c:1785:12: warning: unused variable ‘have_iter’ [-Wunused-variable] 1785 | gboolean have_iter; | ^~~~~~~~~ sftp-panel.c: In function ‘sftp_go_up_cb’: sftp-panel.c:1833:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1833 | if (pc = (char *) strrchr (newpath, '/')) | ^~ sftp-panel.c: In function ‘follow_terminal_folder’: sftp-panel.c:1905:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1905 | if (path = get_remote_directory ()) | ^~~~ sftp-panel.c: In function ‘sort_name_compare_func’: sftp-panel.c:2035:14: warning: unused variable ‘size2’ [-Wunused-variable] 2035 | int size1, size2; | ^~~~~ sftp-panel.c:2035:7: warning: unused variable ‘size1’ [-Wunused-variable] 2035 | int size1, size2; | ^~~~~ sftp-panel.c: In function ‘sftp_cell_tooltip_cb’: sftp-panel.c:2120:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2120 | if (e = dl_search_by_name (&p_ssh_current->dirlist, name)) | ^ sftp-panel.c: In function ‘create_sftp_panel’: sftp-panel.c:2505:17: warning: unused variable ‘icon_theme’ [-Wunused-variable] 2505 | GtkIconTheme *icon_theme; | ^~~~~~~~~~ sftp-panel.c:2422:15: warning: unused variable ‘iter’ [-Wunused-variable] 2422 | GtkTreeIter iter; | ^~~~ sftp-panel.c: In function ‘load_additional_ssh_menu’: sftp-panel.c:2782:15: warning: unused variable ‘i’ [-Wunused-variable] 2782 | int action, i; | ^ sftp-panel.c: In function ‘load_types’: sftp-panel.c:2875:36: warning: unused variable ‘pc’ [-Wunused-variable] 2875 | char filename[256], tmp_s[128], *pc; | ^~ sftp-panel.c:2875:23: warning: unused variable ‘tmp_s’ [-Wunused-variable] 2875 | char filename[256], tmp_s[128], *pc; | ^~~~~ sftp-panel.c: In function ‘show_output’: sftp-panel.c:3007:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 3007 | if (font_desc = pango_font_description_from_string (prefs.font_fixed)) | ^~~~~~~~~ sftp-panel.c:3013:8: warning: unused variable ‘result’ [-Wunused-variable] 3013 | gint result = gtk_dialog_run (GTK_DIALOG (dialog)); | ^~~~~~ sftp-panel.c:3002:17: warning: unused variable ‘w_height’ [-Wunused-variable] 3002 | gint w_width, w_height; | ^~~~~~~~ sftp-panel.c:3002:8: warning: unused variable ‘w_width’ [-Wunused-variable] 3002 | gint w_width, w_height; | ^~~~~~~ sftp-panel.c: In function ‘sftp_queue_count’: sftp-panel.c:3047:18: warning: passing argument 1 of ‘lockSFTPQueue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 3047 | lockSFTPQueue (__func__, TRUE); | ^~~~~~~~ async.h:9:27: note: expected ‘char *’ but argument is of type ‘const char *’ 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:3066:18: warning: passing argument 1 of ‘lockSFTPQueue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 3066 | lockSFTPQueue (__func__, FALSE); | ^~~~~~~~ async.h:9:27: note: expected ‘char *’ but argument is of type ‘const char *’ 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c: In function ‘sftp_queue_add’: sftp-panel.c:3125:22: warning: passing argument 1 of ‘lockSFTPQueue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 3125 | lockSFTPQueue (__func__, TRUE); | ^~~~~~~~ async.h:9:27: note: expected ‘char *’ but argument is of type ‘const char *’ 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:3142:22: warning: passing argument 1 of ‘lockSFTPQueue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 3142 | lockSFTPQueue (__func__, FALSE); | ^~~~~~~~ async.h:9:27: note: expected ‘char *’ but argument is of type ‘const char *’ 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ sftp-panel.c:3085:15: warning: unused variable ‘info’ [-Wunused-variable] 3085 | struct stat info; | ^~~~ sftp-panel.c:3084:27: warning: unused variable ‘e’ [-Wunused-variable] 3084 | struct Directory_Entry *e; | ^ sftp-panel.c: In function ‘sftp_panel_copy_path_clipboard.part.0’: sftp-panel.c:1580:35: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1580 | sprintf (currentPath, "%s/%s", p_ssh_current->directory, filename); | ^ In file included from /usr/include/stdio.h:980, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:51, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31: In function ‘sprintf’, inlined from ‘sftp_panel_copy_path_clipboard.part.0’ at sftp-panel.c:1580:7: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘sftp_panel_create_mirror_file’: sftp-panel.c:932:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 932 | sprintf (mirrorDir, "%s/%s/%s", prefs.tempDir, get_current_connection_tab ()->connection.host, pSSH->directory); | ^~ In function ‘sprintf’, inlined from ‘sftp_panel_create_mirror_file’ at sftp-panel.c:932:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 3 and 2304 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘sftp_panel_create_mirror_file’: sftp-panel.c:959:29: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 959 | sprintf (ti.source, "%s/%s", pSSH->directory, filename); | ^ In function ‘sprintf’, inlined from ‘sftp_panel_create_mirror_file’ at sftp-panel.c:959:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘sftp_panel_create_mirror_file’: sftp-panel.c:960:34: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 960 | sprintf (ti.destination, "%s/%s", mirrorDir, filename); | ^ In function ‘sprintf’, inlined from ‘sftp_panel_create_mirror_file’ at sftp-panel.c:960:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘sftp_panel_create_mirror_file’: sftp-panel.c:1037:31: warning: ‘%s’ directive writing up to 2047 bytes into a region of size between 1917 and 2044 [-Wformat-overflow=] 1037 | sprintf (command, "\"%s\" \"%s\"", prefs.text_editor, pMirror.localFile); | ^~ ~~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘sftp_panel_create_mirror_file’ at sftp-panel.c:1037:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 6 and 2180 bytes into a destination of size 2048 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘sftp_panel_copy_path_terminal’: sftp-panel.c:1546:28: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1546 | sprintf (path, "%s/%s", p_ssh_current->directory, filename); | ^ In function ‘sprintf’, inlined from ‘sftp_panel_copy_path_terminal’ at sftp-panel.c:1546:7: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘load_types’: sftp-panel.c:2883:25: warning: ‘/types.xml’ directive writing 10 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2883 | sprintf (filename, "%s/types.xml", globals.data_dir); | ^~~~~~~~~~ In function ‘sprintf’, inlined from ‘load_types’ at sftp-panel.c:2883:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 11 and 266 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘load_types’: sftp-panel.c:2902:42: warning: ‘/types/’ directive writing 7 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2902 | sprintf (p_type->imagefile, "%s/types/%s", globals.img_dir, xml_node_get_value (node)); | ^~~~~~~ In function ‘sprintf’, inlined from ‘load_types’ at sftp-panel.c:2902:11: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 8 or more bytes (assuming 263) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘create_sftp_panel’: sftp-panel.c:2338:19: warning: ‘/sftp.glade’ directive writing 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2338 | sprintf (ui, "%s/sftp.glade", globals.data_dir); | ^~~~~~~~~~~ In function ‘sprintf’, inlined from ‘create_sftp_panel’ at sftp-panel.c:2338:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 12 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘create_sftp_panel’: sftp-panel.c:2512:25: warning: ‘/file_16.png’ directive writing 12 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2512 | sprintf (filename, "%s/file_16.png", globals.img_dir); | ^~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘create_sftp_panel’ at sftp-panel.c:2512:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 13 and 268 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘create_sftp_panel’: sftp-panel.c:2515:25: warning: ‘/directory_16.png’ directive writing 17 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2515 | sprintf (filename, "%s/directory_16.png", globals.img_dir); | ^~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘create_sftp_panel’ at sftp-panel.c:2515:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 18 and 273 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘create_sftp_panel’: sftp-panel.c:2532:25: warning: ‘/additionals.xml’ directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2532 | sprintf (filename, "%s/additionals.xml", globals.data_dir); | ^~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘create_sftp_panel’ at sftp-panel.c:2532:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 17 and 272 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘create_sftp_panel’: sftp-panel.c:2535:27: warning: ‘/additionals.xml’ directive writing 16 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 2535 | sprintf (filename, "%s/additionals.xml", globals.app_dir); | ^~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘create_sftp_panel’ at sftp-panel.c:2535:5: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 17 and 272 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘refresh_sftp_list_store.part.0’: sftp-panel.c:2629:31: warning: ‘*’ directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=] 2629 | sprintf (tmp_s, "*%s*", p_ssh_current->match_string); | ^ In function ‘sprintf’, inlined from ‘refresh_sftp_list_store.part.0’ at sftp-panel.c:2629:11: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 3 and 1026 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘sftp_panel_change_time’: sftp-panel.c:1376:19: warning: ‘/time.glade’ directive writing 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 1376 | sprintf (ui, "%s/time.glade", globals.data_dir); | ^~~~~~~~~~~ In function ‘sprintf’, inlined from ‘sftp_panel_change_time’ at sftp-panel.c:1376:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 12 and 267 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘row_activated_sftp_cb’: sftp-panel.c:1802:40: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1802 | sprintf (position, "%s/%s", p_ssh_current->directory, name); | ^ In function ‘sprintf’, inlined from ‘row_activated_sftp_cb’ at sftp-panel.c:1802:15: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘sftp_queue_add’: sftp-panel.c:3117:39: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 3117 | sprintf (pTi->source, "%s/%s", p_ssh->directory, gfile); | ^ In function ‘sprintf’, inlined from ‘sftp_queue_add’ at sftp-panel.c:3117:11: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sftp-panel.c: In function ‘sftp_queue_add’: sftp-panel.c:3108:44: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 3108 | sprintf (pTi->destination, "%s/%s", p_ssh->directory, (char *) basename (gfile)); | ^ In function ‘sprintf’, inlined from ‘sftp_queue_add’ at sftp-panel.c:3108:11: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -c -o ssh.o ssh.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ssh.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ssh.c: In function ‘ssh_list_dump’: ssh.c:160:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 160 | if (c = ssh_node_open_channel (node)) | ^ ssh.c: In function ‘ssh_node_connect’: ssh.c:213:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 213 | if (p_node = ssh_list_search (p_ssh_list, p_auth->host, p_auth->user)) | ^~~~~~ ssh.c:235:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 235 | if (c = ssh_node_open_channel (p_node)) | ^ ssh.c: In function ‘lt_ssh_connect’: ssh.c:810:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 810 | lockSSH (__func__, TRUE); | ^~~~~~~~ In file included from ssh.c:35: async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ ssh.c:829:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 829 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ ssh.c: In function ‘lt_ssh_disconnect’: ssh.c:844:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 844 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ ssh.c:852:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 852 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ ssh.c: In function ‘sftp_refresh_directory_list’: ssh.c:1021:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1021 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ ssh.c:1113:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1113 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ ssh.c: In function ‘lt_ssh_exec’: ssh.c:1128:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1128 | lockSSH (__func__, TRUE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ ssh.c:1194:12: warning: passing argument 1 of ‘lockSSH’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1194 | lockSSH (__func__, FALSE); | ^~~~~~~~ async.h:17:21: note: expected ‘char *’ but argument is of type ‘const char *’ 17 | void lockSSH (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -c -o terminal.o terminal.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from terminal.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ terminal.c: In function ‘terminal_new’: terminal.c:67:3: warning: ‘vte_terminal_fork_command’ is deprecated [-Wdeprecated-declarations] 67 | p_connection_tab->pid = vte_terminal_fork_command (VTE_TERMINAL (p_connection_tab->vte), | ^~~~~~~~~~~~~~~~ In file included from /usr/include/vte-0.0/vte/vte.h:529, from terminal.c:25: /usr/include/vte-0.0/vte/vtedeprecated.h:82:7: note: declared here 82 | pid_t vte_terminal_fork_command(VteTerminal *terminal, | ^~~~~~~~~~~~~~~~~~~~~~~~~ terminal.c:55:7: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 55 | int rc; | ^~ terminal.c:51:20: warning: unused variable ‘p_prot’ [-Wunused-variable] 51 | struct Protocol *p_prot; | ^~~~~~ terminal.c: In function ‘log_on’: terminal.c:386:3: warning: ‘vte_terminal_fork_command’ is deprecated [-Wdeprecated-declarations] 386 | p_conn_tab->pid = vte_terminal_fork_command (VTE_TERMINAL (p_conn_tab->vte), p_prot->command, p_params, NULL, NULL, TRUE, TRUE, TRUE); | ^~~~~~~~~~ /usr/include/vte-0.0/vte/vtedeprecated.h:82:7: note: declared here 82 | pid_t vte_terminal_fork_command(VteTerminal *terminal, | ^~~~~~~~~~~~~~~~~~~~~~~~~ terminal.c:159:7: warning: unused variable ‘i’ [-Wunused-variable] 159 | int i, ret; | ^ terminal.c: In function ‘asked_for_user’: terminal.c:629:16: warning: variable ‘vteterminal’ set but not used [-Wunused-but-set-variable] 629 | VteTerminal *vteterminal; | ^~~~~~~~~~~ terminal.c: In function ‘asked_for_password’: terminal.c:653:16: warning: variable ‘vteterminal’ set but not used [-Wunused-but-set-variable] 653 | VteTerminal *vteterminal; | ^~~~~~~~~~~ terminal.c: In function ‘load_session_file’: terminal.c:828:26: warning: unused variable ‘cl’ [-Wunused-variable] 828 | struct Connection_List cl; | ^~ terminal.c:827:25: warning: unused variable ‘p_ct’ [-Wunused-variable] 827 | struct ConnectionTab *p_ct; | ^~~~ terminal.c:826:9: warning: unused variable ‘fp’ [-Wunused-variable] 826 | FILE *fp; | ^~ terminal.c:824:7: warning: unused variable ‘rc’ [-Wunused-variable] 824 | int rc; | ^~ terminal.c: In function ‘save_session_file’: terminal.c:903:7: warning: unused variable ‘len’ [-Wunused-variable] 903 | int len, rc = 0; | ^~~ terminal.c:902:9: warning: unused variable ‘p_enc_b64’ [-Wunused-variable] 902 | char *p_enc_b64; | ^~~~~~~~~ terminal.c:901:9: warning: unused variable ‘p_enc’ [-Wunused-variable] 901 | char *p_enc; | ^~~~~ terminal.c:900:26: warning: unused variable ‘cl’ [-Wunused-variable] 900 | struct Connection_List cl; | ^~ terminal.c:899:25: warning: unused variable ‘p_ct’ [-Wunused-variable] 899 | struct ConnectionTab *p_ct; | ^~~~ terminal.c:898:28: warning: unused variable ‘addedConn’ [-Wunused-variable] 898 | struct Connection conn, *addedConn; | ^~~~~~~~~ terminal.c:898:21: warning: unused variable ‘conn’ [-Wunused-variable] 898 | struct Connection conn, *addedConn; | ^~~~ terminal.c:897:9: warning: unused variable ‘fp’ [-Wunused-variable] 897 | FILE *fp; | ^~ terminal.c:896:10: warning: unused variable ‘item’ [-Wunused-variable] 896 | GList *item; | ^~~~ terminal.c: In function ‘check_log_in_parameter’: terminal.c:620:10: warning: ‘feed_child’ may be used uninitialized [-Wmaybe-uninitialized] 620 | return (feed_child); | ^ terminal.c:597:7: note: ‘feed_child’ was declared here 597 | int feed_child; | ^~~~~~~~~~ In file included from terminal.c:30: terminal.c: In function ‘asked_for_user’: terminal.c:638:21: warning: ‘%s’ directive writing up to 255 bytes into a region of size 238 [-Wformat-overflow=] 638 | sprintf (label, _("Enter user for %s:"), p_ct->connection.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro ‘_’ 41 | #define _(x) x | ^ terminal.c:638:40: note: format string is defined here 638 | sprintf (label, _("Enter user for %s:"), p_ct->connection.name); | ^~ In file included from /usr/include/stdio.h:980, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:51, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31: In function ‘sprintf’, inlined from ‘asked_for_user’ at terminal.c:638:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 24 and 279 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ terminal.c: In function ‘asked_for_user’: terminal.c:644:10: warning: ‘feed_child’ may be used uninitialized [-Wmaybe-uninitialized] 644 | return (feed_child); | ^ terminal.c:597:7: note: ‘feed_child’ was declared here 597 | int feed_child; | ^~~~~~~~~~ terminal.c: In function ‘asked_for_password’: terminal.c:662:21: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 202 and 233 [-Wformat-overflow=] 662 | sprintf (label, _("Enter password for %s@%s:"), p_ct->connection.user, p_ct->connection.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:41:16: note: in definition of macro ‘_’ 41 | #define _(x) x | ^ terminal.c:662:47: note: format string is defined here 662 | sprintf (label, _("Enter password for %s@%s:"), p_ct->connection.user, p_ct->connection.name); | ^~ In function ‘sprintf’, inlined from ‘asked_for_password’ at terminal.c:662:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 29 and 315 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ terminal.c: In function ‘asked_for_password’: terminal.c:668:10: warning: ‘feed_child’ may be used uninitialized [-Wmaybe-uninitialized] 668 | return (feed_child); | ^ terminal.c:597:7: note: ‘feed_child’ was declared here 597 | int feed_child; | ^~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -c -o async.o async.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from async.c:30: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ async.c: In function ‘async_lterm_loop’: async.c:99:8: warning: unused variable ‘i’ [-Wunused-variable] 99 | gint i; | ^ async.c: In function ‘async_sftp_transfer’: async.c:163:20: warning: passing argument 1 of ‘lockSFTPQueue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 163 | lockSFTPQueue (__func__, TRUE); | ^~~~~~~~ async.c:64:22: note: expected ‘char *’ but argument is of type ‘const char *’ 64 | lockSFTPQueue (char *caller, gboolean flagLock) | ~~~~~~^~~~~~ async.c:179:20: warning: passing argument 1 of ‘lockSFTPQueue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 179 | lockSFTPQueue (__func__, FALSE); | ^~~~~~~~ async.c:64:22: note: expected ‘char *’ but argument is of type ‘const char *’ 64 | lockSFTPQueue (char *caller, gboolean flagLock) | ~~~~~~^~~~~~ async.c:153:8: warning: unused variable ‘transferReport’ [-Wunused-variable] 153 | char transferReport[256]; | ^~~~~~~~~~~~~~ async.c:141:12: warning: unused variable ‘nDown’ [-Wunused-variable] 141 | int nUp, nDown; | ^~~~~ async.c:141:7: warning: unused variable ‘nUp’ [-Wunused-variable] 141 | int nUp, nDown; | ^~~ async.c:140:10: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 140 | int i, rc; | ^~ async.c:237:30: warning: ‘%s’ directive writing up to 2047 bytes into a region of size between 1024 and 2047 [-Wformat-overflow=] 237 | sprintf (message, "%s\n%s", pTi->filename, pTi->result ? pTi->errorDesc : "successfully transferred"); | ^~ In file included from /usr/include/stdio.h:980, from async.c:29: In function ‘sprintf’, inlined from ‘async_sftp_transfer’ at async.c:237:7: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 2 and 3072 bytes into a destination of size 2048 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DLOCALEDIR=\"/usr/share/locale\" -DIMGDIR=\"/usr/share/lterm/img\" -DPKGDATADIR=\"/usr/share/lterm/data\" -DHAVE_CONFIG_H -I. -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -c -o transfer_window.o transfer_window.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from transfer_window.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ transfer_window.c: In function ‘transfer_details’: transfer_window.c:126:11: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 7 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 126 | "Action: %s\n" | ^~~~~~~~~~~~~~~~~~~~~ ...... 139 | bytes_to_human_readable (pTi->size, tmpSize), pTi->size, | ~~~~~~~~~ | | | uint64_t {aka long unsigned int} transfer_window.c:129:32: note: format string is defined here 129 | "Size: %s (%lld bytes)\n" | ~~~^ | | | long long int | %ld transfer_window.c:126:11: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 9 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 126 | "Action: %s\n" | ^~~~~~~~~~~~~~~~~~~~~ ...... 140 | bytes_to_human_readable (pTi->worked, tmpWorked), pTi->worked, | ~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} transfer_window.c:130:39: note: format string is defined here 130 | "Transferred: %s (%lld bytes)\n" | ~~~^ | | | long long int | %ld transfer_window.c:155:7: warning: unused variable ‘result’ [-Wunused-variable] 155 | int result = gtk_dialog_run (GTK_DIALOG (dialog)); | ^~~~~~ transfer_window.c:115:14: warning: unused variable ‘ok_button’ [-Wunused-variable] 115 | GtkWidget *ok_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_OK, GTK_RESPONSE_OK); | ^~~~~~~~~ transfer_window.c: In function ‘transfer_cancel’: transfer_window.c:178:18: warning: passing argument 1 of ‘lockSFTPQueue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 178 | lockSFTPQueue (__func__, TRUE); | ^~~~~~~~ In file included from transfer_window.c:28: async.h:9:27: note: expected ‘char *’ but argument is of type ‘const char *’ 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ transfer_window.c:196:18: warning: passing argument 1 of ‘lockSFTPQueue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | lockSFTPQueue (__func__, FALSE); | ^~~~~~~~ async.h:9:27: note: expected ‘char *’ but argument is of type ‘const char *’ 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ transfer_window.c:172:21: warning: unused variable ‘iter’ [-Wunused-variable] 172 | GtkTreeIter iter; | ^~~~ transfer_window.c:171:21: warning: unused variable ‘model’ [-Wunused-variable] 171 | GtkTreeModel *model; | ^~~~~ transfer_window.c:170:21: warning: unused variable ‘selection’ [-Wunused-variable] 170 | GtkTreeSelection *selection; | ^~~~~~~~~ transfer_window.c: In function ‘transfer_remove_completed’: transfer_window.c:216:18: warning: passing argument 1 of ‘lockSFTPQueue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 216 | lockSFTPQueue (__func__, TRUE); | ^~~~~~~~ async.h:9:27: note: expected ‘char *’ but argument is of type ‘const char *’ 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ transfer_window.c:236:18: warning: passing argument 1 of ‘lockSFTPQueue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 236 | lockSFTPQueue (__func__, FALSE); | ^~~~~~~~ async.h:9:27: note: expected ‘char *’ but argument is of type ‘const char *’ 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ transfer_window.c:209:7: warning: unused variable ‘i’ [-Wunused-variable] 209 | int i, nDel = 0; | ^ transfer_window.c: In function ‘create_transfer_window_tree_view’: transfer_window.c:446:15: warning: unused variable ‘iter’ [-Wunused-variable] 446 | GtkTreeIter iter; | ^~~~ transfer_window.c: In function ‘refresh_transfer_list_store’: transfer_window.c:585:18: warning: passing argument 1 of ‘lockSFTPQueue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 585 | lockSFTPQueue (__func__, TRUE); | ^~~~~~~~ async.h:9:27: note: expected ‘char *’ but argument is of type ‘const char *’ 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ transfer_window.c:609:18: warning: passing argument 1 of ‘lockSFTPQueue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 609 | lockSFTPQueue (__func__, FALSE); | ^~~~~~~~ async.h:9:27: note: expected ‘char *’ but argument is of type ‘const char *’ 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ transfer_window.c:583:7: warning: unused variable ‘n’ [-Wunused-variable] 583 | int n=0; | ^ transfer_window.c:579:21: warning: unused variable ‘actionIcon’ [-Wunused-variable] 579 | GdkPixbuf *icon, *actionIcon; | ^~~~~~~~~~ transfer_window.c: In function ‘transfer_window_refresh’: transfer_window.c:619:18: warning: passing argument 1 of ‘lockSFTPQueue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 619 | lockSFTPQueue (__func__, TRUE); | ^~~~~~~~ async.h:9:27: note: expected ‘char *’ but argument is of type ‘const char *’ 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ transfer_window.c:684:25: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 684 | sprintf (tmp_s, "%lld", pTi->size); | ~~~^ ~~~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long int | %ld transfer_window.c:644:14: warning: variable ‘sensitive’ set but not used [-Wunused-but-set-variable] 644 | gboolean sensitive; | ^~~~~~~~~ transfer_window.c:720:18: warning: passing argument 1 of ‘lockSFTPQueue’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 720 | lockSFTPQueue (__func__, FALSE); | ^~~~~~~~ async.h:9:27: note: expected ‘char *’ but argument is of type ‘const char *’ 9 | void lockSFTPQueue (char *caller, gboolean flagLock); | ~~~~~~^~~~~~ transfer_window.c: In function ‘view_transfer_window’: transfer_window.c:839:27: warning: unused variable ‘iter’ [-Wunused-variable] 839 | GList *children, *iter; | ^~~~ transfer_window.c:839:16: warning: unused variable ‘children’ [-Wunused-variable] 839 | GList *children, *iter; | ^~~~~~~~ transfer_window.c:730:17: warning: unused variable ‘tmp’ [-Wunused-variable] 730 | char ui[256], tmp[512]; | ^~~ transfer_window.c:726:7: warning: unused variable ‘i’ [-Wunused-variable] 726 | int i; | ^ transfer_window.c:734:19: warning: ‘/transfer.glade’ directive writing 15 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 734 | sprintf (ui, "%s/transfer.glade", globals.data_dir); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:51, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31: In function ‘sprintf’, inlined from ‘view_transfer_window’ at transfer_window.c:734:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 16 and 271 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -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 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/vte-0.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/webp -I/usr/include/fribidi -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 lterm connection.o gui.o main.o preferences.o profile.o protocol.o utils.o grouptree.o connection_list.o xml.o sftp-panel.o ssh.o terminal.o async.o transfer_window.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lvte -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lharfbuzz -lfontconfig -lfreetype -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lX11 -lXext -lssl -lcrypto -lssh -lssh_threads -lX11 make[2]: Entering directory '/builddir/build/BUILD/lterm-1.5.1/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/bin' /usr/bin/install -p lterm '/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/lterm-1.5.1/src' make[1]: Leaving directory '/builddir/build/BUILD/lterm-1.5.1/src' Making install in img make[1]: Entering directory '/builddir/build/BUILD/lterm-1.5.1/img' Making install in types make[2]: Entering directory '/builddir/build/BUILD/lterm-1.5.1/img/types' make[3]: Entering directory '/builddir/build/BUILD/lterm-1.5.1/img/types' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/lterm/img/types' /usr/bin/install -p -m 644 class.png conf.png c.png cpp.png css.png h.png html.png jar.png java.png pl.png py.png log.png o.png php.png jsp.png asp.png shell.png txt.png xml.png zip.png sql.png img.png iso.png pdf.png xls.png wav.png video.png '/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/lterm/img/types' make[3]: Leaving directory '/builddir/build/BUILD/lterm-1.5.1/img/types' make[2]: Leaving directory '/builddir/build/BUILD/lterm-1.5.1/img/types' make[2]: Entering directory '/builddir/build/BUILD/lterm-1.5.1/img' make[3]: Entering directory '/builddir/build/BUILD/lterm-1.5.1/img' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/lterm/img' /usr/bin/install -p -m 644 main_icon.png lterm-small.png terminal_32.png duplicate.png keys-64.png user.png plus.png less.png pencil.png copy.png folder.png post-it.png upload.png download.png directory_16.png file_16.png sidebar.png splitH.png splitV.png regroup.png cluster.png preferences.png transfers.png folder_up.png folder_new.png home.png file_new.png rename.png '/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/lterm/img' make[3]: Leaving directory '/builddir/build/BUILD/lterm-1.5.1/img' make[2]: Leaving directory '/builddir/build/BUILD/lterm-1.5.1/img' make[1]: Leaving directory '/builddir/build/BUILD/lterm-1.5.1/img' Making install in data make[1]: Entering directory '/builddir/build/BUILD/lterm-1.5.1/data' sed -e 's!IMGDIR!/usr/share/lterm/img!' < lterm.desktop.in > lterm.desktop make[2]: Entering directory '/builddir/build/BUILD/lterm-1.5.1/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/applications' /usr/bin/install -p -m 644 lterm.desktop '/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/applications' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/mime/packages' /usr/bin/install -p -m 644 lterm.xml '/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/mime/packages' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/lterm/data' /usr/bin/install -p -m 644 credits.txt lterm.desktop.in lterm.xml preferences.glade profile.glade transfer.glade edit-connection.glade sftp.glade login.glade find.glade credits.glade preferences.glade.gtk2 profile.glade.gtk2 transfer.glade.gtk2 edit-connection.glade.gtk2 sftp.glade.gtk2 login.glade.gtk2 find.glade.gtk2 credits.glade.gtk2 cluster.glade cluster.glade.gtk2 time.glade time.glade.gtk2 transfer-item.glade transfer-item.glade.gtk2 additionals.xml types.xml PuttyExportTemplate.txt '/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/lterm/data' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/lterm-1.5.1/data' /usr/bin/update-mime-database /builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/mime Note that '/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share' is not in the search path set by the XDG_DATA_HOME and XDG_DATA_DIRS environment variables, so applications may not be able to find it until you set them. The directories currently searched are: - /builddir/.local/share - /usr/local/share/ - /usr/share/ make[3]: Leaving directory '/builddir/build/BUILD/lterm-1.5.1/data' make[2]: Leaving directory '/builddir/build/BUILD/lterm-1.5.1/data' make[1]: Leaving directory '/builddir/build/BUILD/lterm-1.5.1/data' make[1]: Entering directory '/builddir/build/BUILD/lterm-1.5.1' make[2]: Entering directory '/builddir/build/BUILD/lterm-1.5.1' 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/lterm-1.5.1' make[1]: Leaving directory '/builddir/build/BUILD/lterm-1.5.1' + desktop-file-install --add-category=TerminalEmulator --delete-original --dir=/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/applications /builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64//usr/share/applications/lterm.desktop + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.5.1-17.fc40 --unique-debug-suffix -1.5.1-17.fc40.riscv64 --unique-debug-src-base lterm-1.5.1-17.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lterm-1.5.1 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/lterm-1.5.1-17.fc40.riscv64 1338 blocks find-debuginfo: done + /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 *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/terminal.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/transfer_window.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/ssh.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/sftp-panel.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/terminal.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/async.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/ssh.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/connection_list.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/main.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/grouptree.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/preferences.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/sftp-panel.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/connection.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/gui.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/gui.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/utils.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/async.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/profile.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/xml.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/utils.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/connection.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/protocol.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/protocol.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/xml.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/connection_list.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/preferences.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/profile.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/transfer_window.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/main.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/lterm-1.5.1-17.fc40.riscv64/src/grouptree.h is executable but has no shebang, removing executable bit + /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: lterm-1.5.1-17.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FoJ90a + umask 022 + cd /builddir/build/BUILD + cd lterm-1.5.1 + DOCDIR=/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/doc/lterm + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/doc/lterm + cp -pr /builddir/build/BUILD/lterm-1.5.1/README /builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/doc/lterm + cp -pr /builddir/build/BUILD/lterm-1.5.1/TODO /builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/doc/lterm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QL1ZKR + umask 022 + cd /builddir/build/BUILD + cd lterm-1.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/licenses/lterm + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/licenses/lterm + cp -pr /builddir/build/BUILD/lterm-1.5.1/COPYING /builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64/usr/share/licenses/lterm + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(lterm.desktop) lterm = 1.5.1-17.fc40 lterm(riscv-64) = 1.5.1-17.fc40 mimehandler(application/lterm-connection) mimehandler(application/lterm-session) 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) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libpango-1.0.so.0()(64bit) libssh.so.4()(64bit) libssh.so.4(LIBSSH_4_5_0)(64bit) libvte.so.9()(64bit) rtld(GNU_HASH) Processing files: lterm-debugsource-1.5.1-17.fc40.riscv64 Provides: lterm-debugsource = 1.5.1-17.fc40 lterm-debugsource(riscv-64) = 1.5.1-17.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lterm-debuginfo-1.5.1-17.fc40.riscv64 Provides: debuginfo(build-id) = b7453699fb0e981645e1fdbd6a0fb93cfce2647b lterm-debuginfo = 1.5.1-17.fc40 lterm-debuginfo(riscv-64) = 1.5.1-17.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lterm-debugsource(riscv-64) = 1.5.1-17.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64 Wrote: /builddir/build/RPMS/lterm-debuginfo-1.5.1-17.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/lterm-1.5.1-17.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/lterm-debugsource-1.5.1-17.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OQEIeL + umask 022 + cd /builddir/build/BUILD + cd lterm-1.5.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lterm-1.5.1-17.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.t5Vlg2 + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/lterm-1.5.1-SPECPARTS + rm -rf lterm-1.5.1 lterm-1.5.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0