+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/spacefm.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wE1Uel + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spacefm-1.0.5 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/spacefm-1.0.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd spacefm-1.0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (spacefm-1.0.5-force-x11-backend.patch):' Patch #0 (spacefm-1.0.5-force-x11-backend.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .x11 --fuzz=0 patching file src/main.c + echo 'Patch #1 (spacefm-1.0.5-drag_suggested_action_internal.patch):' Patch #1 (spacefm-1.0.5-drag_suggested_action_internal.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .drag_struct_size --fuzz=0 patching file src/ptk/ptk-dir-tree-view.c + find . -name '*.c' -print0 + xargs --null chmod 0644 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.401CDJ + umask 022 + cd /builddir/build/BUILD + cd spacefm-1.0.5 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-gtk3 --disable-video-thumbnails checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for 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 dependency style of gcc... none checking for library containing strerror... none required checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether NLS is requested... yes checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.26.1 checking for XML::Parser... ok checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for pow in -lm... yes checking for XClearWindow in -lX11... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTK... yes checking for SN... no checking for SN... yes checking whether /usr/bin/ld accepts --as-needed... yes checking whether /usr/bin/ld accepts -O1... yes checking whether /usr/bin/ld accepts -Bsymbolic-functions... yes checking for LIBUDEV... yes checking for euidaccess... yes checking for eaccess... yes checking for statvfs... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for catalogs to be installed... af ar da ca cs de es et eu fa fi fr gl he hr hu id it ja ko lt ml ms nb nl nn pl ps pt pt_BR ru sk sl sv tr uk ur ur_PK vi zh_CN zh_TW checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating etc/Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating data/Makefile config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands SpaceFM...................................... : Version 1.0.5 Prefix....................................... : /usr Executable................................... : /usr/bin/spacefm Configuration Dir............................ : /etc/spacefm/ Icon Dir..................................... : /usr/share/icons/hicolor/ Documentation Dir............................ : /usr/share/doc/spacefm/ Linux device support......................... : libudev Linux file change monitor support............ : inotify 64-bit Large file support.................... : yes GTK+ Version................................. : GTK 3 Desktop manager integration.................. : yes Startup notification......................... : yes Video thumbnail support...................... : no Homepage: http://ignorantguru.github.io/spacefm/ Please read README carefully if you are packaging SpaceFM. IMPORTANT: After make and install, run: sudo gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor sudo gtk-update-icon-cache -q -t -f /usr/share/icons/Faenza + make -j4 Making all in etc make[1]: Entering directory '/builddir/build/BUILD/spacefm-1.0.5/etc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/spacefm-1.0.5/etc' Making all in src make[1]: Entering directory '/builddir/build/BUILD/spacefm-1.0.5/src' gcc -DPACKAGE_NAME=\"spacefm\" -DPACKAGE_TARNAME=\"spacefm\" -DPACKAGE_VERSION=\"1.0.5\" -DPACKAGE_STRING=\"spacefm\ 1.0.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"spacefm\" -DVERSION=\"1.0.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DG_DISABLE_ASSERT=1 -DG_LOG_DOMAIN=\"SpaceFM\" -DBASHPATH=\"/bin/bash\" -DHAVE_GTK3=1 -DHAVE_SN=1 -DUSE_INOTIFY=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DSUPER_USER_CHECKS=1 -DDESKTOP_INTEGRATION=1 -DHAVE_EUIDACCESS=/\*\*/ -DHAVE_EACCESS=/\*\*/ -DHAVE_STATVFS=/\*\*/ -DGETTEXT_PACKAGE=\"spacefm\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I. -I../src/mime-type -I../src/compat -I../src/ptk -I../src/vfs -I../src/libmd5-rfc -I../src/desktop -I../src/exo -DPACKAGE_DATA_DIR=\""/usr/share/spacefm"\" -DPACKAGE_UI_DIR=\""/usr/share/spacefm/ui"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DSYSCONFDIR=\""/etc"\" -Wno-deprecated-declarations -Wformat -Wformat-security -Wreturn-type -Wunused-value -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fstrict-aliasing -fmessage-length=0 -DDATADIR=\"/usr/share\" -DHTMLDIR=\"/usr/share/doc/spacefm\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/startup-notification-1.0 -DG_DISABLE_CAST_CHECKS -Werror-implicit-function-declaration -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o spacefm-main.o `test -f 'main.c' || echo './'`main.c gcc -DPACKAGE_NAME=\"spacefm\" -DPACKAGE_TARNAME=\"spacefm\" -DPACKAGE_VERSION=\"1.0.5\" -DPACKAGE_STRING=\"spacefm\ 1.0.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"spacefm\" -DVERSION=\"1.0.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DG_DISABLE_ASSERT=1 -DG_LOG_DOMAIN=\"SpaceFM\" -DBASHPATH=\"/bin/bash\" -DHAVE_GTK3=1 -DHAVE_SN=1 -DUSE_INOTIFY=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DSUPER_USER_CHECKS=1 -DDESKTOP_INTEGRATION=1 -DHAVE_EUIDACCESS=/\*\*/ -DHAVE_EACCESS=/\*\*/ -DHAVE_STATVFS=/\*\*/ -DGETTEXT_PACKAGE=\"spacefm\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I. -I../src/mime-type -I../src/compat -I../src/ptk -I../src/vfs -I../src/libmd5-rfc -I../src/desktop -I../src/exo -DPACKAGE_DATA_DIR=\""/usr/share/spacefm"\" -DPACKAGE_UI_DIR=\""/usr/share/spacefm/ui"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DSYSCONFDIR=\""/etc"\" -Wno-deprecated-declarations -Wformat -Wformat-security -Wreturn-type -Wunused-value -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fstrict-aliasing -fmessage-length=0 -DDATADIR=\"/usr/share\" -DHTMLDIR=\"/usr/share/doc/spacefm\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/startup-notification-1.0 -DG_DISABLE_CAST_CHECKS -Werror-implicit-function-declaration -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o spacefm-main-window.o `test -f 'main-window.c' || echo './'`main-window.c gcc -DPACKAGE_NAME=\"spacefm\" -DPACKAGE_TARNAME=\"spacefm\" -DPACKAGE_VERSION=\"1.0.5\" -DPACKAGE_STRING=\"spacefm\ 1.0.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"spacefm\" -DVERSION=\"1.0.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DG_DISABLE_ASSERT=1 -DG_LOG_DOMAIN=\"SpaceFM\" -DBASHPATH=\"/bin/bash\" -DHAVE_GTK3=1 -DHAVE_SN=1 -DUSE_INOTIFY=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DSUPER_USER_CHECKS=1 -DDESKTOP_INTEGRATION=1 -DHAVE_EUIDACCESS=/\*\*/ -DHAVE_EACCESS=/\*\*/ -DHAVE_STATVFS=/\*\*/ -DGETTEXT_PACKAGE=\"spacefm\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I. -I../src/mime-type -I../src/compat -I../src/ptk -I../src/vfs -I../src/libmd5-rfc -I../src/desktop -I../src/exo -DPACKAGE_DATA_DIR=\""/usr/share/spacefm"\" -DPACKAGE_UI_DIR=\""/usr/share/spacefm/ui"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DSYSCONFDIR=\""/etc"\" -Wno-deprecated-declarations -Wformat -Wformat-security -Wreturn-type -Wunused-value -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fstrict-aliasing -fmessage-length=0 -DDATADIR=\"/usr/share\" -DHTMLDIR=\"/usr/share/doc/spacefm\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/startup-notification-1.0 -DG_DISABLE_CAST_CHECKS -Werror-implicit-function-declaration -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o spacefm-settings.o `test -f 'settings.c' || echo './'`settings.c gcc -DPACKAGE_NAME=\"spacefm\" -DPACKAGE_TARNAME=\"spacefm\" -DPACKAGE_VERSION=\"1.0.5\" -DPACKAGE_STRING=\"spacefm\ 1.0.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"spacefm\" -DVERSION=\"1.0.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DG_DISABLE_ASSERT=1 -DG_LOG_DOMAIN=\"SpaceFM\" -DBASHPATH=\"/bin/bash\" -DHAVE_GTK3=1 -DHAVE_SN=1 -DUSE_INOTIFY=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DSUPER_USER_CHECKS=1 -DDESKTOP_INTEGRATION=1 -DHAVE_EUIDACCESS=/\*\*/ -DHAVE_EACCESS=/\*\*/ -DHAVE_STATVFS=/\*\*/ -DGETTEXT_PACKAGE=\"spacefm\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I. -I../src/mime-type -I../src/compat -I../src/ptk -I../src/vfs -I../src/libmd5-rfc -I../src/desktop -I../src/exo -DPACKAGE_DATA_DIR=\""/usr/share/spacefm"\" -DPACKAGE_UI_DIR=\""/usr/share/spacefm/ui"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DSYSCONFDIR=\""/etc"\" -Wno-deprecated-declarations -Wformat -Wformat-security -Wreturn-type -Wunused-value -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fstrict-aliasing -fmessage-length=0 -DDATADIR=\"/usr/share\" -DHTMLDIR=\"/usr/share/doc/spacefm\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/startup-notification-1.0 -DG_DISABLE_CAST_CHECKS -Werror-implicit-function-declaration -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o spacefm-pref-dialog.o `test -f 'pref-dialog.c' || echo './'`pref-dialog.c pref-dialog.c: In function 'on_response': pref-dialog.c:790:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( str = strchr( terminal, ' ' ) ) ^~~ pref-dialog.c:237:9: warning: unused variable 'cur_tabx' [-Wunused-variable] int cur_tabx, p; ^~~~~~~~ pref-dialog.c:223:14: warning: unused variable 'single_hover' [-Wunused-variable] gboolean single_hover; ^~~~~~~~~~~~ pref-dialog.c:213:17: warning: unused variable 'filename_encoding' [-Wunused-variable] const char* filename_encoding; ^~~~~~~~~~~~~~~~~ pref-dialog.c:211:14: warning: unused variable 'b' [-Wunused-variable] gboolean b; ^ pref-dialog.c: In function 'fm_edit_preference': pref-dialog.c:914:17: warning: unused variable 'filename_encoding' [-Wunused-variable] const char* filename_encoding; ^~~~~~~~~~~~~~~~~ settings.c: In function 'swap_menu_label': settings.c:506:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( set = xset_is( set_name ) ) ^~~ main-window.c: In function 'import_all_plugins': main-window.c:510:14: warning: variable 'found_plugins' set but not used [-Wunused-but-set-variable] gboolean found_plugins = FALSE; ^~~~~~~~~~~~~ main-window.c:509:14: warning: variable 'found' set but not used [-Wunused-but-set-variable] gboolean found = FALSE; ^~~~~ settings.c: In function 'load_settings': settings.c:839:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( term = g_find_program_in_path( terminal_programs[i] ) ) ^~~~ main-window.c: In function 'create_devices_menu': main-window.c:601:16: warning: unused variable 'item' [-Wunused-variable] GtkWidget* item; ^~~~ main.c: In function 'get_inode_tag': main.c:189:42: error: implicit declaration of function 'major' [-Werror=implicit-function-declaration] major( stat_buf.st_dev ), ^~~~~ main.c:190:42: error: implicit declaration of function 'minor'; did you mean 'mknod'? [-Werror=implicit-function-declaration] minor( stat_buf.st_dev ), ^~~~~ mknod main.c: In function 'on_socket_event': main.c:202:17: warning: unused variable 'cmd' [-Wunused-variable] SocketEvent cmd; ^~~ main-window.c: In function 'main_update_fonts': main-window.c:867:15: warning: unused variable 'icon' [-Wunused-variable] GtkImage* icon; ^~~~ main-window.c:866:12: warning: unused variable 'children' [-Wunused-variable] GList* children; ^~~~~~~~ main-window.c:865:15: warning: unused variable 'text' [-Wunused-variable] GtkLabel* text; ^~~~ main-window.c:864:19: warning: unused variable 'hbox' [-Wunused-variable] GtkContainer* hbox; ^~~~ main-window.c:863:16: warning: unused variable 'label' [-Wunused-variable] GtkWidget* label; ^~~~~ main.c: In function 'receive_socket_command': main.c:531:12: warning: unused variable 'arg' [-Wunused-variable] char** arg; ^~~ settings.c:595:11: warning: variable 'section_name' set but not used [-Wunused-but-set-variable] char* section_name; ^~~~~~~~~~~~ main-window.c: In function 'show_panels': main-window.c:1562:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if ( end = strstr( tabs, "///" ) ) ^~~ main-window.c:1399:22: warning: unused variable 'i' [-Wunused-variable] int p, cur_tabx, i; ^ settings.c: In function 'get_valid_su': settings.c:2064:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( use_su = g_find_program_in_path( su_commands[i] ) ) ^~~~~~ settings.c: In function 'get_valid_gsu': settings.c:2127:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( use_gsu = g_find_program_in_path( gsu_commands[i] ) ) ^~~~~~~ main.c: In function 'handle_parsed_commandline_args': main.c:1127:9: warning: unused variable 'p' [-Wunused-variable] int p; ^ settings.c:2145:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( gsu_path = strchr( stdout, '\n' ) ) ^~~~~~~~ main-window.c: In function 'rebuild_menus': main-window.c:1776:16: warning: unused variable 'submenu' [-Wunused-variable] GtkWidget* submenu; ^~~~~~~ main.c: At top level: main.c:171:13: warning: 'check_icon_theme' declared 'static' but never defined [-Wunused-function] static void check_icon_theme(); ^~~~~~~~~~~~~~~~ main-window.c: In function 'fm_main_window_init': main-window.c:1971:15: warning: unused variable 'closure' [-Wunused-variable] GClosure* closure; ^~~~~~~ main-window.c:1970:20: warning: unused variable 'edit_accel_group' [-Wunused-variable] GtkAccelGroup *edit_accel_group; ^~~~~~~~~~~~~~~~ main-window.c:1969:15: warning: unused variable 'label' [-Wunused-variable] GtkLabel *label; ^~~~~ main-window.c:1968:16: warning: unused variable 'hbox' [-Wunused-variable] GtkWidget *hbox; ^~~~ main-window.c:1967:18: warning: unused variable 'toolitem' [-Wunused-variable] GtkToolItem *toolitem; ^~~~~~~~ main-window.c:1966:45: warning: unused variable 'history_menu' [-Wunused-variable] GtkWidget *edit_menu_item, *edit_menu, *history_menu; ^~~~~~~~~~~~ main.c: In function 'receive_socket_command': main.c:585:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( client, &cmd, sizeof(char) ); // send exit status ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main-window.c:1966:33: warning: unused variable 'edit_menu' [-Wunused-variable] GtkWidget *edit_menu_item, *edit_menu, *history_menu; ^~~~~~~~~ main.c:587:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( client, reply, strlen( reply ) ); // send reply or error msg ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main-window.c:1966:16: warning: unused variable 'edit_menu_item' [-Wunused-variable] GtkWidget *edit_menu_item, *edit_menu, *history_menu; ^~~~~~~~~~~~~~ main-window.c:1964:16: warning: unused variable 'bookmark_menu' [-Wunused-variable] GtkWidget *bookmark_menu; ^~~~~~~~~~~~~ main.c: In function 'send_socket_command': main.c:628:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( sock, &cmd, sizeof(char) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:632:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( sock, inode_tag, strlen( inode_tag ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:633:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( sock, "\n", 1 ); ^~~~~~~~~~~~~~~~~~~~~~ main.c:640:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( sock, argv[i], strlen( argv[i] ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:641:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( sock, "\n", 1 ); ^~~~~~~~~~~~~~~~~~~~~~ main.c:643:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( sock, "\n", 1 ); ^~~~~~~~~~~~~~~~~~~~~~ settings.c: In function 'xset_is': settings.c:2618:11: warning: unused variable 'set' [-Wunused-variable] XSet* set; ^~~ main.c: In function 'single_instance_check': main.c:393:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( sock, &cmd, sizeof(char) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:400:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( sock, &cmd, sizeof(char) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:434:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( sock, &cmd, sizeof(char) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:438:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( sock, &cmd, sizeof(char) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:457:21: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( sock, real_path, strlen( real_path ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:459:21: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write( sock, "\n", 1 ); ^~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'dup_to_absolute_file_path': main.c:1033:9: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd( cwd_path, cwd_size ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: main.c:971:8: warning: 'get_file_info_list' defined but not used [-Wunused-function] GList* get_file_info_list( char** file_paths ) ^~~~~~~~~~~~~~~~~~ main.c:96:17: warning: 'old_show_desktop' defined but not used [-Wunused-variable] static gboolean old_show_desktop = FALSE; ^~~~~~~~~~~~~~~~ In file included from main.c:54:0: cust-dialog.h:141:20: warning: 'cdlg_cmd' defined but not used [-Wunused-variable] static const char* cdlg_cmd[] = ^~~~~~~~ cust-dialog.h:9:20: warning: 'cdlg_option' defined but not used [-Wunused-variable] static const char* cdlg_option[] = // order must match ElementType order ^~~~~~~~~~~ In file included from ../src/ptk/ptk-file-task.h:15:0, from main-window.h:6, from main.c:33: ./settings.h:360:20: warning: 'gsu_commands' defined but not used [-Wunused-variable] static const char* gsu_commands[] = // order and contents must match prefdlg.ui ^~~~~~~~~~~~ ./settings.h:353:20: warning: 'su_commands' defined but not used [-Wunused-variable] static const char* su_commands[] = // order and contents must match prefdlg.ui ^~~~~~~~~~~ ./settings.h:331:20: warning: 'terminal_programs' defined but not used [-Wunused-variable] static const char* terminal_programs[] = //for pref-dialog.c ^~~~~~~~~~~~~~~~~ main-window.c: In function 'fm_main_window_update_tab_label': main-window.c:2951:15: warning: variable 'icon' set but not used [-Wunused-but-set-variable] GtkImage* icon; ^~~~ main-window.c: In function 'fm_main_window_add_new_tab': main-window.c:3003:9: warning: unused variable 'i' [-Wunused-variable] int i = main_window->curpanel -1; ^ main-window.c: In function 'on_about_activate': main-window.c:3188:17: warning: unused variable 'builder' [-Wunused-variable] GtkBuilder* builder = gtk_builder_new(); ^~~~~~~ main-window.c: In function 'fm_main_window_add_new_window': main-window.c:3257:16: warning: unused variable 'new_win' [-Wunused-variable] GtkWidget* new_win = fm_main_window_new(); ^~~~~~~ main-window.c: In function 'on_folder_notebook_switch_pape': main-window.c:3516:11: warning: unused variable 'disp_path' [-Wunused-variable] char* disp_path; ^~~~~~~~~ main-window.c:3515:17: warning: unused variable 'path' [-Wunused-variable] const char* path; ^~~~ main-window.c: In function 'fm_main_window_update_status_bar': main-window.c:3773:19: warning: unused variable 'hnc' [-Wunused-variable] char *hnc = NULL; ^~~ main-window.c: In function 'main_context_fill': main-window.c:4317:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( sel_files = ptk_file_browser_get_selected_files( file_browser ) ) ^~~~~~~~~ main-window.c:4567:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( ptask = get_selected_task( file_browser->task_view ) ) ^~~~~ main-window.c:4601:13: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while ( gtk_tree_model_iter_next( model_task, &it ) ); ^~~~~ main-window.c:4602:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' task_count++; ^~~~~~~~~~ settings.c: In function 'xset_get_image': settings.c:3766:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( stockid = icon_stock_to_id( icon ) ) ^~~~~~~ main-window.c:4288:30: warning: unused variable 'no_read_access' [-Wunused-variable] int no_write_access = 0, no_read_access = 0; ^~~~~~~~~~~~~~ main-window.c:4288:9: warning: unused variable 'no_write_access' [-Wunused-variable] int no_write_access = 0, no_read_access = 0; ^~~~~~~~~~~~~~~ main-window.c: In function 'get_task_view_window': main-window.c:4612:19: warning: unused variable 'a_window' [-Wunused-variable] FMMainWindow* a_window; ^~~~~~~~ main-window.c: In function 'main_write_exports': main-window.c:4667:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( cwd_needs_quote = !!strchr( cwd, '\'' ) ) ^~~~~~~~~~~~~~~ main-window.c:5033:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( ptask = get_selected_task( file_browser->task_view ) ) ^~~~~ pref-dialog.c: In function 'on_response': pref-dialog.c:581:41: warning: 'tool_icon' may be used uninitialized in this function [-Wmaybe-uninitialized] app_settings.tool_icon_size = tool_icon; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ settings.c: In function 'clean_plugin_mirrors': settings.c:4708:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while ( name = g_dir_read_name( dir ) ) ^~~~ settings.c:4674:11: warning: unused variable 'set_key' [-Wunused-variable] XSet* set_key; ^~~~~~~ main-window.c: In function 'get_selected_task': main-window.c:5580:24: warning: unused variable 'col' [-Wunused-variable] GtkTreeViewColumn* col = NULL; ^~~ main-window.c: In function 'on_task_button_press_event': main-window.c:5642:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( is_tasks = gtk_tree_model_get_iter_first( model, &it ) ) ^~~~~~~~ settings.c: In function 'xset_import_plugin': settings.c:5039:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( set->plugin_top = top ) ^~~ settings.c:4950:11: warning: variable 'section_name' set but not used [-Wunused-but-set-variable] char* section_name; ^~~~~~~~~~~~ settings.c: In function 'on_install_plugin_cb': settings.c:5115:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while ( set = xset_get( set->next ) ); ^~~ main-window.c:5625:23: warning: unused variable 'tree_sel' [-Wunused-variable] GtkTreeSelection* tree_sel; ^~~~~~~~ main-window.c: In function 'main_task_view_new': main-window.c:6073:11: warning: unused variable 'name' [-Wunused-variable] char* name; ^~~~ main-window.c:6072:11: warning: unused variable 'space' [-Wunused-variable] char* space; ^~~~~ main-window.c:6071:11: warning: unused variable 'elements' [-Wunused-variable] char* elements; ^~~~~~~~ settings.c: In function 'xset_custom_activate': settings.c:5879:23: warning: unused variable 'path' [-Wunused-variable] char* path; ^~~~ settings.c:5941:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( sep = strchr( specs, ';' ) ) ^~~ settings.c: In function 'xset_design_job': settings.c:7049:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( custom_file = xset_file_dialog( parent, GTK_FILE_CHOOSER_ACTION_OPEN, ^~~~~~~~~~~ settings.c:7038:9: warning: label '_XSET_JOB_CUSTOM' defined but not used [-Wunused-label] _XSET_JOB_CUSTOM: ^~~~~~~~~~~~~~~~ settings.c:6918:11: warning: unused variable 'keyset' [-Wunused-variable] XSet* keyset; ^~~~~~ settings.c:6917:21: warning: unused variable 'newkeymod' [-Wunused-variable] int newkey = 0, newkeymod = 0; ^~~~~~~~~ settings.c:6917:9: warning: unused variable 'newkey' [-Wunused-variable] int newkey = 0, newkeymod = 0; ^~~~~~ settings.c:6916:16: warning: unused variable 'vbox' [-Wunused-variable] GtkWidget* vbox; ^~~~ settings.c:6915:11: warning: unused variable 'keymsg' [-Wunused-variable] char* keymsg; ^~~~~~ main-window.c: In function 'main_window_socket_command': main-window.c:6290:17: warning: unused variable 'column_names' [-Wunused-variable] const char* column_names[] = ^~~~~~~~~~~~ settings.c: In function 'xset_job_is_valid': settings.c:7704:11: warning: unused variable 'sett' [-Wunused-variable] XSet* sett; ^~~~ settings.c:7701:14: warning: unused variable 'toolexecsub' [-Wunused-variable] gboolean toolexecsub = FALSE; ^~~~~~~~~~~ main-window.c: At top level: main-window.c:91:13: warning: 'fm_main_window_next_tab' declared 'static' but never defined [-Wunused-function] static void fm_main_window_next_tab ( FMMainWindow* widget ); ^~~~~~~~~~~~~~~~~~~~~~~ main-window.c:92:13: warning: 'fm_main_window_prev_tab' declared 'static' but never defined [-Wunused-function] static void fm_main_window_prev_tab ( FMMainWindow* widget ); ^~~~~~~~~~~~~~~~~~~~~~~ main-window.c:120:13: warning: 'on_file_browser_splitter_pos_change' declared 'static' but never defined [-Wunused-function] static void on_file_browser_splitter_pos_change( PtkFileBrowser* file_browser, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.c: In function 'xset_design_show_menu': settings.c:8050:11: warning: variable 'mset' set but not used [-Wunused-but-set-variable] XSet* mset; ^~~~ settings.c:8049:11: warning: unused variable 'sett' [-Wunused-variable] XSet* sett; ^~~~ settings.c:8048:14: warning: variable 'open_all' set but not used [-Wunused-but-set-variable] gboolean open_all = FALSE; ^~~~~~~~ settings.c:8045:11: warning: unused variable 'path' [-Wunused-variable] char* path; ^~~~ settings.c:8044:11: warning: unused variable 'label' [-Wunused-variable] char* label; ^~~~~ settings.c:8043:13: warning: unused variable 'radio_group' [-Wunused-variable] GSList* radio_group; ^~~~~~~~~~~ settings.c:8040:16: warning: unused variable 'newitem4' [-Wunused-variable] GtkWidget* newitem4; ^~~~~~~~ settings.c:8039:16: warning: unused variable 'newitem3' [-Wunused-variable] GtkWidget* newitem3; ^~~~~~~~ settings.c:8038:16: warning: unused variable 'newitem2' [-Wunused-variable] GtkWidget* newitem2; ^~~~~~~~ settings.c: In function 'xset_menu_cb': settings.c:8723:15: warning: unused variable 'file' [-Wunused-variable] char* file = xset_file_dialog( parent, GTK_FILE_CHOOSER_ACTION_SAVE, ^~~~ settings.c: In function 'xset_msg_dialog': settings.c:8810:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while ( response = gtk_dialog_run( GTK_DIALOG( dlg ) ) ) ^~~~~~~~ settings.c: In function 'xset_icon_chooser_dialog': settings.c:9031:23: warning: unused variable 'siter' [-Wunused-variable] GtkTextIter iter, siter; ^~~~~ settings.c:9031:17: warning: unused variable 'iter' [-Wunused-variable] GtkTextIter iter, siter; ^~~~ settings.c: In function 'xset_text_dialog': settings.c:9239:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while ( response = gtk_dialog_run( GTK_DIALOG( dlg ) ) ) ^~~~~~~~ settings.c: In function 'xset_color_dialog': settings.c:9522:16: warning: unused variable 'dlgparent' [-Wunused-variable] GtkWidget* dlgparent = parent ? gtk_widget_get_toplevel( parent ) : NULL; ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gi18n.h:23:0, from settings.c:26: settings.c: In function 'xset_get_builtin_toolitem_label': settings.c:9671:31: warning: array subscript has type 'char' [-Wchar-subscripts] return _(builtin_tool_name[ tool_type ]); ^ settings.c:9671:12: note: in expansion of macro '_' return _(builtin_tool_name[ tool_type ]); ^ settings.c: In function 'xset_add_toolitem': settings.c:9942:60: warning: array subscript has type 'char' [-Wchar-subscripts] set->shared_key = g_strdup( builtin_tool_shared_key[set->tool] ); ^ settings.c:9994:58: warning: array subscript has type 'char' [-Wchar-subscripts] image = xset_get_image( builtin_tool_icon[set->tool], ^ settings.c:10075:54: warning: array subscript has type 'char' [-Wchar-subscripts] image = xset_get_image( builtin_tool_icon[set->tool], ^ settings.c:10141:42: warning: array subscript has type 'char' [-Wchar-subscripts] icon_name = builtin_tool_icon[ set->tool ]; ^ In file included from ../src/vfs/vfs-volume.h:16:0, from ../src/ptk/ptk-location-view.h:17, from main-window.c:33: ./settings.h:360:20: warning: 'gsu_commands' defined but not used [-Wunused-variable] static const char* gsu_commands[] = // order and contents must match prefdlg.ui ^~~~~~~~~~~~ ./settings.h:353:20: warning: 'su_commands' defined but not used [-Wunused-variable] static const char* su_commands[] = // order and contents must match prefdlg.ui ^~~~~~~~~~~ ./settings.h:331:20: warning: 'terminal_programs' defined but not used [-Wunused-variable] static const char* terminal_programs[] = //for pref-dialog.c ^~~~~~~~~~~~~~~~~ settings.c:10326:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( set_next = xset_is( set->next ) ) ^~~~~~~~ settings.c:9906:20: warning: unused variable 'req' [-Wunused-variable] GtkRequisition req; ^~~ gcc -DPACKAGE_NAME=\"spacefm\" -DPACKAGE_TARNAME=\"spacefm\" -DPACKAGE_VERSION=\"1.0.5\" -DPACKAGE_STRING=\"spacefm\ 1.0.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"spacefm\" -DVERSION=\"1.0.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_LIBM=1 -DHAVE_LIBX11=1 -DG_DISABLE_ASSERT=1 -DG_LOG_DOMAIN=\"SpaceFM\" -DBASHPATH=\"/bin/bash\" -DHAVE_GTK3=1 -DHAVE_SN=1 -DUSE_INOTIFY=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DSUPER_USER_CHECKS=1 -DDESKTOP_INTEGRATION=1 -DHAVE_EUIDACCESS=/\*\*/ -DHAVE_EACCESS=/\*\*/ -DHAVE_STATVFS=/\*\*/ -DGETTEXT_PACKAGE=\"spacefm\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I. -I../src/mime-type -I../src/compat -I../src/ptk -I../src/vfs -I../src/libmd5-rfc -I../src/desktop -I../src/exo -DPACKAGE_DATA_DIR=\""/usr/share/spacefm"\" -DPACKAGE_UI_DIR=\""/usr/share/spacefm/ui"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DSYSCONFDIR=\""/etc"\" -Wno-deprecated-declarations -Wformat -Wformat-security -Wreturn-type -Wunused-value -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fstrict-aliasing -fmessage-length=0 -DDATADIR=\"/usr/share\" -DHTMLDIR=\"/usr/share/doc/spacefm\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/startup-notification-1.0 -DG_DISABLE_CAST_CHECKS -Werror-implicit-function-declaration -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o spacefm-find-files.o `test -f 'find-files.c' || echo './'`find-files.c settings.c: In function 'xset_defaults': settings.c:12531:12: warning: unused variable 'i' [-Wunused-variable] int p, i; ^ settings.c: In function 'xset_default_keys': settings.c:12747:11: warning: unused variable 'set' [-Wunused-variable] XSet* set; ^~~ cc1: some warnings being treated as errors settings.c: In function 'load_settings': settings.c:682:9: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown( settings_shared_tmp_dir, 0, 0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:1745: spacefm-main.o] Error 1 make[1]: *** Waiting for unfinished jobs.... main-window.c: In function 'fm_main_window_create_tab_label': main-window.c:2872:17: warning: 'tab_text' may be used uninitialized in this function [-Wmaybe-uninitialized] if (strlen( gtk_label_get_text( GTK_LABEL( tab_text ) ) ) < 30) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ find-files.c: In function 'on_open_files': find-files.c:190:25: warning: unused variable 'sel_files' [-Wunused-variable] GList *row, *rows, *sel_files; ^~~~~~~~~ find-files.c: In function 'get_date_offset': find-files.c:291:38: warning: pointer targets in passing argument 2 of 'gtk_calendar_get_date' differ in signedness [-Wpointer-sign] gtk_calendar_get_date( calendar, &y, &m, &d ); ^ In file included from /usr/include/gtk-3.0/gtk/gtk.h:55:0, from find-files.c:31: /usr/include/gtk-3.0/gtk/gtkcalendar.h:156:9: note: expected 'guint * {aka unsigned int *}' but argument is of type 'int *' void gtk_calendar_get_date (GtkCalendar *calendar, ^~~~~~~~~~~~~~~~~~~~~ find-files.c:291:42: warning: pointer targets in passing argument 3 of 'gtk_calendar_get_date' differ in signedness [-Wpointer-sign] gtk_calendar_get_date( calendar, &y, &m, &d ); ^ In file included from /usr/include/gtk-3.0/gtk/gtk.h:55:0, from find-files.c:31: /usr/include/gtk-3.0/gtk/gtkcalendar.h:156:9: note: expected 'guint * {aka unsigned int *}' but argument is of type 'int *' void gtk_calendar_get_date (GtkCalendar *calendar, ^~~~~~~~~~~~~~~~~~~~~ find-files.c:291:46: warning: pointer targets in passing argument 4 of 'gtk_calendar_get_date' differ in signedness [-Wpointer-sign] gtk_calendar_get_date( calendar, &y, &m, &d ); ^ In file included from /usr/include/gtk-3.0/gtk/gtk.h:55:0, from find-files.c:31: /usr/include/gtk-3.0/gtk/gtkcalendar.h:156:9: note: expected 'guint * {aka unsigned int *}' but argument is of type 'int *' void gtk_calendar_get_date (GtkCalendar *calendar, ^~~~~~~~~~~~~~~~~~~~~ find-files.c: In function 'process_found_files': find-files.c:583:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( ff = (FoundFile*)g_queue_pop_head(queue) ) ^~ find-files.c:549:16: warning: unused variable 'term' [-Wunused-variable] gsize len, term; ^~~~ find-files.c:549:11: warning: unused variable 'len' [-Wunused-variable] gsize len, term; ^~~ find-files.c: In function 'search_thread': find-files.c:617:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( eol = strchr( pbuf, '\n' ) ) /* end of line is reached */ ^~~ find-files.c: In function 'on_start_search': find-files.c:662:15: warning: unused variable 'stde' [-Wunused-variable] int stdo, stde; ^~~~ find-files.c:662:9: warning: unused variable 'stdo' [-Wunused-variable] int stdo, stde; ^~~~ find-files.c: In function 'on_add_search_folder': find-files.c:839:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( dir = vfs_get_desktop_dir() ) ^~~ find-files.c: In function 'init_search_result': find-files.c:888:17: warning: unused variable 'it' [-Wunused-variable] GtkTreeIter it; ^~ In file included from ../src/vfs/vfs-volume.h:16:0, from find-files.c:47: At top level: ./settings.h:360:20: warning: 'gsu_commands' defined but not used [-Wunused-variable] static const char* gsu_commands[] = // order and contents must match prefdlg.ui ^~~~~~~~~~~~ ./settings.h:353:20: warning: 'su_commands' defined but not used [-Wunused-variable] static const char* su_commands[] = // order and contents must match prefdlg.ui ^~~~~~~~~~~ ./settings.h:331:20: warning: 'terminal_programs' defined but not used [-Wunused-variable] static const char* terminal_programs[] = //for pref-dialog.c ^~~~~~~~~~~~~~~~~ settings.c: In function 'xset_import_plugin': settings.c:5000:12: warning: 'func' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( func ) ^ main-window.c: In function 'focus_panel': main-window.c:1370:13: warning: 'hidepanel' may be used uninitialized in this function [-Wmaybe-uninitialized] xset_set_b_panel( hidepanel, "show", FALSE ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.c: In function 'xset_text_dialog': settings.c:9277:17: warning: 'btn_edit' may be used uninitialized in this function [-Wmaybe-uninitialized] gtk_widget_set_sensitive( btn_default, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk_toggle_button_get_active( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GTK_TOGGLE_BUTTON( btn_edit ) ) ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.c: In function 'xset_opener': settings.c:3380:32: warning: 'open_all_set' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( open_all_tset == open_all_set ) ^ make[1]: Leaving directory '/builddir/build/BUILD/spacefm-1.0.5/src' make: *** [Makefile:507: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.401CDJ (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.401CDJ (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff