+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/usermode.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.Phv2Na + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf usermode-1.111 + /usr/bin/xz -dc /builddir/build/SOURCES/usermode-1.111.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd usermode-1.111 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (usermode-1.111-format-security.patch):' Patch #0 (usermode-1.111-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format-security --fuzz=0 patching file userhelper.c Hunk #1 succeeded at 582 (offset -1 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UhJSVj + umask 022 + cd /builddir/build/BUILD + cd usermode-1.111 + 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 + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-selinux 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 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 for style of include used by make... GNU checking dependency style of gcc... none checking whether gcc and cc understand -c and -o together... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for mount... /bin/mount checking for umount... /bin/umount checking for mkfs... /sbin/mkfs checking for fdformat... /sbin/fdformat 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 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... /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking 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... (cached) /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... (cached) /usr/bin/msgfmt checking for gmsgfmt... (cached) /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 X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... 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 GLIB... yes checking for GTK... yes checking for LIBUSER... yes checking for startup notification... yes checking for SN... yes checking for pam_start... no checking for pam_start in -lpam... yes checking for misc_conv... no checking for misc_conv in -lpam_misc... yes checking whether we should avoid deprecated functions... no checking whether we should enable debugging messages... no checking whether we should use ElectricFence... no checking whether we should use SELinux... yes checking for available GCC warning flags... -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings checking whether we should use -Werror... no configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing po/stamp-it commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/usermode-1.111' Making all in po make[2]: Entering directory '/builddir/build/BUILD/usermode-1.111/po' file=`echo ar | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ar.po file=`echo as | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file as.po file=`echo ast | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ast.po file=`echo be | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file be.po file=`echo bg | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file bg.po file=`echo bn | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file bn.po file=`echo bn_IN | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file bn_IN.po file=`echo bs | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file bs.po file=`echo ca | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ca.po file=`echo cs | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file cs.po file=`echo cy | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file cy.po file=`echo da | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file da.po file=`echo de | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file de.po file=`echo de_CH | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file de_CH.po file=`echo el | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file el.po file=`echo en_GB | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file en_GB.po file=`echo es | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file es.po file=`echo et | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file et.po file=`echo fa | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file fa.po file=`echo fi | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file fi.po file=`echo fr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file fr.po file=`echo gl | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file gl.po file=`echo gu | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file gu.po file=`echo he | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file he.po file=`echo hi | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file hi.po file=`echo hr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file hr.po file=`echo hu | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file hu.po file=`echo id | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file id.po file=`echo is | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file is.po file=`echo it | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file it.po file=`echo ja | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ja.po file=`echo ka | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ka.po file=`echo kn | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file kn.po file=`echo ko | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ko.po file=`echo lv | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file lv.po file=`echo mai | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file mai.po file=`echo mk | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file mk.po file=`echo ml | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ml.po file=`echo mr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file mr.po file=`echo ms | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ms.po file=`echo nb | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file nb.po file=`echo nds | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file nds.po file=`echo nl | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file nl.po file=`echo or | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file or.po file=`echo pa | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file pa.po file=`echo pl | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file pl.po file=`echo pt | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file pt.po file=`echo pt_BR | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file pt_BR.po file=`echo ro | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ro.po file=`echo ru | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ru.po file=`echo si | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file si.po file=`echo sk | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file sk.po file=`echo sl | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file sl.po file=`echo sr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file sr.po file=`echo sr@latin | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file sr@latin.po file=`echo sv | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file sv.po file=`echo ta | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ta.po file=`echo te | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file te.po file=`echo tg | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file tg.po file=`echo tr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file tr.po file=`echo uk | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file uk.po file=`echo vi | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file vi.po file=`echo zh_CN | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file zh_CN.po file=`echo zh_TW | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file zh_TW.po make[2]: Leaving directory '/builddir/build/BUILD/usermode-1.111/po' make[2]: Entering directory '/builddir/build/BUILD/usermode-1.111' gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -DPIXMAPDIR='"/usr/share/pixmaps"' -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o liblib_a-userdialogs.o `test -f 'userdialogs.c' || echo './'`userdialogs.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -DPIXMAPDIR='"/usr/share/pixmaps"' -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o liblib_a-userhelper-messages.o `test -f 'userhelper-messages.c' || echo './'`userhelper-messages.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -DPIXMAPDIR='"/usr/share/pixmaps"' -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o liblib_a-userhelper-wrap.o `test -f 'userhelper-wrap.c' || echo './'`userhelper-wrap.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -DPIXMAPDIR='"/usr/share/pixmaps"' -DSBINDIR='"/usr/sbin"' -DPKGDATADIR='"/usr/share/usermode"' -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o userinfo-userinfo.o `test -f 'userinfo.c' || echo './'`userinfo.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -DPIXMAPDIR='"/usr/share/pixmaps"' -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o usermount-usermount.o `test -f 'usermount.c' || echo './'`usermount.c In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from userhelper-wrap.c:32: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from userdialogs.c:23: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -DSBINDIR='"/usr/sbin"' -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o userpasswd-userpasswd.o `test -f 'userpasswd.c' || echo './'`userpasswd.c In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from userinfo.c:42: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ userhelper-wrap.c: In function 'userhelper_write_childin': userhelper-wrap.c:319:2: warning: case value '100' not in enumerated type 'GtkResponseType {aka enum }' [-Wswitch] case RESPONSE_FALLBACK: { ^~~~ userhelper-wrap.c: In function 'userhelper_runv': userhelper-wrap.c:947:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(childin[1], "Go", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~ userhelper-wrap.c:967:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(childin[0], &byte, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~ userhelper-wrap.c: In function 'userhelper_write_childin': userhelper-wrap.c:324:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(childin[1], cmd, sizeof(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userhelper-wrap.c:333:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(childin[1], cmd, sizeof(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userhelper-wrap.c:357:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(childin[1], &cmd, sizeof(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userhelper-wrap.c:359:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(childin[1], &eol, sizeof(eol)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userhelper-wrap.c:383:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(childin[1], &cmd, sizeof(cmd)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userhelper-wrap.c:385:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(childin[1], &eol, sizeof(eol)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userhelper-wrap.c:391:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(childin[1], sync_point, sizeof(sync_point)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userhelper-wrap.c: In function 'write_childin_string': userhelper-wrap.c:299:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(childin[1], converted, converted_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userhelper-wrap.c:304:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(childin[1], s, s_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -DBINDIR='"/usr/bin"' -DSBINDIR='"/usr/sbin"' -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o consolehelper-consolehelper-nox.o `test -f 'consolehelper-nox.c' || echo './'`consolehelper-nox.c In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from usermount.c:58: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ usermount.c: In function 'build_mountinfo_list': usermount.c:237:10: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] && (major(dev_st.st_rdev) == 2 || /* fdc */ ^~~~~ gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -DSBINDIR='"/usr/sbin"' -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o consolehelper_gtk-consolehelper.o `test -f 'consolehelper.c' || echo './'`consolehelper.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -DBINDIR='"/usr/bin"' -DPIXMAPDIR='"/usr/share/pixmaps"' -DGETTEXT_PACKAGE=\"usermode\" -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o pam_panel_icon-pam-panel-icon.o `test -f 'pam-panel-icon.c' || echo './'`pam-panel-icon.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -DBINDIR='"/usr/bin"' -DPIXMAPDIR='"/usr/share/pixmaps"' -DGETTEXT_PACKAGE=\"usermode\" -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o pam_panel_icon-gsmclient.o `test -f 'gsmclient.c' || echo './'`gsmclient.c In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from userpasswd.c:26: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -DBINDIR='"/usr/bin"' -DPIXMAPDIR='"/usr/share/pixmaps"' -DGETTEXT_PACKAGE=\"usermode\" -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o pam_panel_icon-props.o `test -f 'props.c' || echo './'`props.c gsmclient.c: In function 'gsm_client_get_type': gsmclient.c:141:3: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations] g_type_init (); ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from gsmclient.h:27, from gsmclient.c:25: /usr/include/glib-2.0/gobject/gtype.h:686:23: note: declared here void g_type_init (void); ^~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from consolehelper.c:29: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -c test-userdialog.c gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -DSYSCONFDIR='"/etc"' -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o userhelper-userhelper.o `test -f 'userhelper.c' || echo './'`userhelper.c In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from pam-panel-icon.c:31: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -DSYSCONFDIR='"/etc"' -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -c -o userhelper-shvar.o `test -f 'shvar.c' || echo './'`shvar.c sed 's,@''BINDIR@,/usr/bin,g' < ./consolehelper.8.in > consolehelper.8 sed 's,@''SYSCONFDIR@,/etc,g' < ./userhelper.8.in > userhelper.8 rm -f liblib.a ar cru liblib.a liblib_a-userdialogs.o liblib_a-userhelper-messages.o liblib_a-userhelper-wrap.o ranlib liblib.a gcc -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o consolehelper consolehelper-consolehelper-nox.o -lglib-2.0 gcc -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o consolehelper-gtk consolehelper_gtk-consolehelper.o liblib.a -lstartup-notification-1 -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 -lfontconfig -lfreetype In file included from userhelper.c:49:0: /usr/include/selinux/flask.h:5:2: warning: #warning "Please remove any #include's of this header in your source code." [-Wcpp] #warning "Please remove any #include's of this header in your source code." ^~~~~~~ /usr/include/selinux/flask.h:6:2: warning: #warning "Instead, use string_to_security_class() to map the class name to a value." [-Wcpp] #warning "Instead, use string_to_security_class() to map the class name to a value." ^~~~~~~ gcc -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o pam-panel-icon pam_panel_icon-pam-panel-icon.o pam_panel_icon-gsmclient.o pam_panel_icon-props.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 -lfontconfig -lfreetype -lICE -lSM In file included from userhelper.c:50:0: /usr/include/selinux/av_permissions.h:1:2: warning: #warning "Please remove any #include of this header in your source code." [-Wcpp] #warning "Please remove any #include of this header in your source code." ^~~~~~~ /usr/include/selinux/av_permissions.h:2:2: warning: #warning "Instead, use string_to_av_perm() to map the permission name to a value." [-Wcpp] #warning "Instead, use string_to_av_perm() to map the permission name to a value." ^~~~~~~ userhelper.c: In function 'chfn': userhelper.c:1329:3: warning: 'g_value_array_get_nth' is deprecated: Use 'GArray' instead [-Wdeprecated-declarations] value = g_value_array_get_nth(values, 0); ^~~~~ In file included from /usr/include/glib-2.0/glib-object.h:35:0, from userhelper.c:40: /usr/include/glib-2.0/gobject/gvaluearray.h:63:10: note: declared here GValue* g_value_array_get_nth (GValueArray *value_array, ^~~~~~~~~~~~~~~~~~~~~ userhelper.c:1416:4: warning: 'g_value_array_get_nth' is deprecated: Use 'GArray' instead [-Wdeprecated-declarations] value = g_value_array_get_nth(values, 0); ^~~~~ In file included from /usr/include/glib-2.0/glib-object.h:35:0, from userhelper.c:40: /usr/include/glib-2.0/gobject/gvaluearray.h:63:10: note: declared here GValue* g_value_array_get_nth (GValueArray *value_array, ^~~~~~~~~~~~~~~~~~~~~ gcc -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o userinfo userinfo-userinfo.o liblib.a -lstartup-notification-1 -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 -lfontconfig -lfreetype gcc -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/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/atk-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -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 -Wall -W -Wcast-align -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o usermount usermount-usermount.o liblib.a -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 -lfontconfig -lfreetype -lblkid usermount-usermount.o: In function `build_mountinfo_list': /builddir/build/BUILD/usermode-1.111/usermount.c:188: undefined reference to `major' usermount-usermount.o: In function `stat': /usr/include/sys/stat.h:451: undefined reference to `major' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:609: usermount] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from test-userdialog.c:24: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/usermode-1.111' make[1]: *** [Makefile:966: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/usermode-1.111' make: *** [Makefile:446: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.UhJSVj (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.UhJSVj (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff