Mock Version: 1.2.12 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/udevil.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-2571/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/udevil.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-510547112.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/udevil-0.4.4-2.el7.centos.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/udevil.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-2571/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/udevil.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OT8xE2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf udevil-0.4.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/0.4.4.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd udevil-0.4.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/-o root -g root -m 4755//g' src/Makefile.in + sed -i 's#\$(libdir)/systemd/system#$(prefix)/lib/systemd/system#g' etc/Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qHC0oT + umask 022 + cd /builddir/build/BUILD + cd udevil-0.4.4 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -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 . -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' + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 --enable-systemd=yes 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 NLS is requested... yes checking for style of include used by make... GNU checking for x86_64-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 intltool >= 0.21... 0.50.2 found 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.16.3 checking for XML::Parser... ok checking whether to enable maintainer-specific portions of Makefiles... no checking for library containing strerror... none required 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 build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed 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 x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-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 x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-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 x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 -m elf_x86_64) 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... yes checking whether /usr/bin/ld -m elf_x86_64 accepts --as-needed... yes checking whether /usr/bin/ld -m elf_x86_64 accepts -O1... yes checking whether /usr/bin/ld -m elf_x86_64 accepts -Bsymbolic-functions... yes checking for x86_64-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for LIBUDEV... 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... ru checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating man/Makefile config.status: creating etc/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands udevil....................................... : Version 0.4.4 Linux device support......................... : libudev mount program................................ : /bin/mount umount program............................... : /bin/umount losetup program.............................. : /sbin/losetup setfacl program.............................. : /usr/bin/setfacl Install devmon systemd service files ?....... : yes Installation Prefix.......................... : /usr The binary will be installed as /usr/bin/udevil sysconfdir................................... : /etc The configuration will be installed in /etc/udevil Homepage: http://ignorantguru.github.io/udevil/ + make -j2 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/udevil-0.4.4' Making all in etc make[2]: Entering directory `/builddir/build/BUILD/udevil-0.4.4/etc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/udevil-0.4.4/etc' Making all in po make[2]: Entering directory `/builddir/build/BUILD/udevil-0.4.4/po' file=`echo de | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file de.po file=`echo es | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file es.po file=`echo fr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file fr.po file=`echo it | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file it.po file=`echo pl | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file pl.po file=`echo pt_BR | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file pt_BR.po file=`echo ru | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ru.po file=`echo sv | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file sv.po make[2]: Leaving directory `/builddir/build/BUILD/udevil-0.4.4/po' Making all in src make[2]: Entering directory `/builddir/build/BUILD/udevil-0.4.4/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DSYSCONFDIR=\""/etc"\" -fstrict-aliasing -fmessage-length=0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Werror-implicit-function-declaration -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o udevil-udevil.o `test -f 'udevil.c' || echo './'`udevil.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DSYSCONFDIR=\""/etc"\" -fstrict-aliasing -fmessage-length=0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Werror-implicit-function-declaration -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o udevil-device-info.o `test -f 'device-info.c' || echo './'`device-info.c device-info.c: In function 'info_is_system_internal': device-info.c:224:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( value = udev_device_get_property_value( device->udevice, "UDISKS_SYSTEM_INTERNAL" ) ) ^ udevil.c: In function 'parse_mounts': udevil.c:250:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while ( m = m->next ) ^ udevil.c: In function 'cb_udev_monitor_watch': udevil.c:440:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( udevice = udev_monitor_receive_device( umonitor ) ) ^ udevil.c:438:17: warning: unused variable 'acted' [-Wunused-variable] const char *acted = NULL; ^ udevil.c: In function 'get_known_filesystems': udevil.c:640:13: warning: variable 'error' set but not used [-Wunused-but-set-variable] GError *error; ^ udevil.c: In function 'parse_config': udevil.c:784:11: warning: unused variable 'sline' [-Wunused-variable] char* sline; ^ udevil.c: In function 'lock_log': udevil.c:978:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( file = fopen( log_lock_file, "w" ) ) ^ udevil.c:956:11: warning: unused variable 'name' [-Wunused-variable] char* name; ^ udevil.c: In function 'expire_log': udevil.c:1059:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( file = fopen( str, "w" ) ) ^ udevil.c: In function 'dump_log': udevil.c:1139:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( daystr = read_config( "log_keep_days", NULL ) ) ^ udevil.c: In function 'validate_in_list': udevil.c:1193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( comma = strchr( list, ',' ) ) ^ device-info.c: In function 'info_drive_connection': device-info.c:262:9: warning: unused variable 'q' [-Wunused-variable] char *q; ^ udevil.c: In function 'validate_in_groups': udevil.c:1270:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( comma = strchr( list, ',' ) ) ^ device-info.c: In function 'info_drive_properties': device-info.c:549:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( value = udev_device_get_property_value( device->udevice, "ID_VENDOR_ENC" ) ) ^ udevil.c:1255:11: warning: unused variable 'str' [-Wunused-variable] char* str; ^ udevil.c: In function 'validate_options': udevil.c:1339:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( comma = strchr( opts, ',' ) ) ^ udevil.c:1358:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( comma = strchr( list, ',' ) ) ^ udevil.c:1318:11: warning: unused variable 'str' [-Wunused-variable] char* str; ^ device-info.c:555:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if ( value = udev_device_get_property_value( device->udevice, "ID_VENDOR" ) ) ^ udevil.c: In function 'detach_loop': udevil.c:1507:9: warning: variable 'exit_status' set but not used [-Wunused-but-set-variable] int exit_status = 1; ^ udevil.c:1505:11: warning: unused variable 'str' [-Wunused-variable] char* str; ^ device-info.c:561:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( value = udev_device_get_property_value( device->udevice, "ID_MODEL_ENC" ) ) ^ udevil.c: In function 'attach_fd_to_loop': udevil.c:1603:11: warning: unused variable 'str' [-Wunused-variable] char* str; ^ udevil.c: In function 'get_loop_from_file': udevil.c:1671:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( str = strchr( stdout, ':' ) ) ^ device-info.c:567:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if ( value = udev_device_get_property_value( device->udevice, "ID_MODEL" ) ) ^ udevil.c: In function 'device_is_mounted_mtab': udevil.c:1753:11: warning: unused variable 'str' [-Wunused-variable] char* str; ^ udevil.c: In function 'path_is_mounted_mtab': udevil.c:1817:11: warning: unused variable 'file' [-Wunused-variable] char* file; ^ udevil.c:1816:11: warning: unused variable 'str' [-Wunused-variable] char* str; ^ device-info.c:577:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( value = udev_device_get_property_value( device->udevice, "ID_SCSI_SERIAL" ) ) ^ udevil.c: In function 'path_is_mounted_block': udevil.c:1940:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( udev = udev_new() ) ^ device-info.c:585:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if ( value = udev_device_get_property_value( device->udevice, "ID_SERIAL_SHORT" ) ) ^ device-info.c:591:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( value = udev_device_get_property_value( device->udevice, "ID_WWN_WITH_EXTENSION" ) ) ^ device-info.c:595:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if ( value = udev_device_get_property_value( device->udevice, "ID_WWN" ) ) ^ device-info.c:607:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( value = udev_device_get_property_value( device->udevice, "ID_DRIVE_EJECTABLE" ) ) ^ device-info.c:687:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( value = udev_device_get_property_value( device->udevice, "ID_DRIVE_DETACHABLE" ) ) ^ udevil.c: In function 'get_default_mount_dir': device-info.c: In function 'info_device_properties': udevil.c:2412:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( comma = strchr( list, ',' ) ) ^ device-info.c:732:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( value = udev_device_get_property_value( device->udevice, "UDISKS_PARTITION_TYPE") ) ^ device-info.c:750:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( value = udev_device_get_property_value( device->udevice, "ID_FS_LABEL_ENC" ) ) ^ device-info.c:756:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if ( value = udev_device_get_property_value( device->udevice, "ID_FS_LABEL" ) ) ^ device-info.c:777:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( value = udev_device_get_property_value( device->udevice, "ID_CDROM" ) ) ^ device-info.c:782:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( value = udev_device_get_property_value( device->udevice, "ID_DRIVE_FLOPPY" ) ) ^ device-info.c:799:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if ( value = udev_device_get_property_value( device->udevice, "ID_CDROM_MEDIA" ) ) ^ device-info.c:802:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if ( value = udev_device_get_property_value( device->udevice, "ID_CDROM_MEDIA" ) ) ^ udevil.c: In function 'parse_network_url': udevil.c:2540:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( str = g_find_program_in_path( "curlftpfs" ) ) ^ device-info.c: In function 'info_mount_points': device-info.c:978:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while ( l = l->next ) ^ udevil.c:2641:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( str = strchr( xurl, '@' ) ) ^ udevil.c:2643:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( str2 = strchr( str + 1, '@' ) ) ^ udevil.c:2649:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( str2 = strchr( xurl, ':' ) ) ^ udevil.c:2661:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( str = strchr( xurl, '/' ) ) ^ udevil.c:2671:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( str = strchr( xurl, ']' ) ) ^ udevil.c:2682:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( str = strchr( xurl, ':' ) ) ^ udevil.c: In function 'command_mount': udevil.c:2832:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( i = parse_network_url( data->device_file, data->fstype, &netmount ) ) ^ udevil.c:3019:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( str2 = strchr( str, '/' ) ) ^ udevil.c:3042:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( str = get_loop_from_file( data->device_file ) ) ^ udevil.c:3282:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( comma = strchr( list, ',' ) ) ^ udevil.c:3731:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( str = strchr( netmount->user, '/' ) ) ^ udevil.c:3813:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( str = validate_options( "allowed_options", fstype, options ) ) ^ udevil.c: In function 'command_remove': udevil.c:4570:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while ( c = strrchr( host_path, '/' ) ) ^ udevil.c:4565:11: warning: unused variable 'f' [-Wunused-variable] FILE *f; ^ udevil.c:4332:9: warning: unused variable 'ret' [-Wunused-variable] int ret = 0; ^ udevil.c: In function 'command_clean': udevil.c:4688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( comma = strchr( list, ',' ) ) ^ udevil.c:4708:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while ( name = g_dir_read_name( dir ) ) ^ udevil.c: In function 'restore_privileges': udevil.c:625:12: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid( 0 ); ^ udevil.c:626:12: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid( orig_egid ); ^ udevil.c: In function 'create_auto_media': udevil.c:2358:10: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown( AUTO_MEDIA_DIR, 0, 0 ); ^ udevil.c:2360:10: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown( auto_media, 0, 0 ); ^ udevil.c:2387:14: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown( auto_media, orig_ruid, 0 ); ^ udevil.c: In function 'umount_path': udevil.c:2148:13: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid( 0, -1 ); // mount needs real uid ^ udevil.c:2149:13: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid( 0, -1 ); ^ udevil.c:2170:13: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid( orig_ruid, -1 ); ^ udevil.c:2171:13: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid( orig_rgid, -1 ); ^ udevil.c: In function 'mount_knows': udevil.c:2298:13: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid( 0, -1 ); // mount needs real uid ^ udevil.c:2299:13: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid( 0, -1 ); ^ udevil.c:2312:13: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid( orig_ruid, -1 ); ^ udevil.c:2313:13: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid( orig_rgid, -1 ); ^ udevil.c: In function 'mount_device': udevil.c:2219:17: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid( 0, -1 ); // mount needs real uid ^ udevil.c:2220:17: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid( 0, -1 ); ^ udevil.c:2245:17: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid( orig_ruid, -1 ); ^ udevil.c:2246:17: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid( orig_rgid, -1 ); ^ udevil.c: In function 'exec_program': udevil.c:2016:17: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid( 0, -1 ); // mount needs real uid ^ udevil.c:2017:17: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid( 0, -1 ); ^ udevil.c:2035:17: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid( orig_ruid, -1 ); ^ udevil.c:2036:17: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid( orig_rgid, -1 ); ^ gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DSYSCONFDIR=\""/etc"\" -fstrict-aliasing -fmessage-length=0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Werror-implicit-function-declaration -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o udevil-canonicalize.o `test -f 'canonicalize.c' || echo './'`canonicalize.c /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Werror-implicit-function-declaration -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -Wl,--as-needed -Wl,-O1 -Wl,-Bsymbolic-functions -o udevil udevil-udevil.o udevil-device-info.o udevil-canonicalize.o -lglib-2.0 -ludev libtool: link: gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Werror-implicit-function-declaration -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-O1 -Wl,-Bsymbolic-functions -o udevil udevil-udevil.o udevil-device-info.o udevil-canonicalize.o -lglib-2.0 -ludev make[2]: Leaving directory `/builddir/build/BUILD/udevil-0.4.4/src' make[2]: Entering directory `/builddir/build/BUILD/udevil-0.4.4' make[2]: Leaving directory `/builddir/build/BUILD/udevil-0.4.4' make[1]: Leaving directory `/builddir/build/BUILD/udevil-0.4.4' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eAJVlX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64 + cd udevil-0.4.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64 Making install in etc make[1]: Entering directory `/builddir/build/BUILD/udevil-0.4.4/etc' make[2]: Entering directory `/builddir/build/BUILD/udevil-0.4.4/etc' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/make install-data-hook make[3]: Entering directory `/builddir/build/BUILD/udevil-0.4.4/etc' test -d /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64//etc/udevil || mkdir -p -- \ /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64//etc/udevil test -f /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64//etc/udevil/udevil.conf || /usr/bin/install -c -m 644 \ ./udevil.conf \ /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64//etc/udevil/udevil.conf test -d /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64//etc/conf.d || mkdir -p -- \ /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64//etc/conf.d test -f /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64//etc/conf.d/devmon || /usr/bin/install -c -m 644 \ ./systemd/devmon \ /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64//etc/conf.d/devmon test -d /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64//usr/lib/systemd/system || \ mkdir -p -- /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64//usr/lib/systemd/system /usr/bin/install -c -m 644 ./systemd/devmon@.service \ /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64//usr/lib/systemd/system/devmon@.service make[3]: Leaving directory `/builddir/build/BUILD/udevil-0.4.4/etc' make[2]: Leaving directory `/builddir/build/BUILD/udevil-0.4.4/etc' make[1]: Leaving directory `/builddir/build/BUILD/udevil-0.4.4/etc' Making install in po make[1]: Entering directory `/builddir/build/BUILD/udevil-0.4.4/po' linguas="de es fr it pl pt_BR ru sv "; \ for lang in $linguas; do \ dir=/builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/share/locale/$lang/LC_MESSAGES; \ /bin/sh /builddir/build/BUILD/udevil-0.4.4/install-sh -d $dir; \ if test -r $lang.gmo; then \ /usr/bin/install -c -m 644 $lang.gmo $dir/udevil.mo; \ echo "installing $lang.gmo as $dir/udevil.mo"; \ else \ /usr/bin/install -c -m 644 ./$lang.gmo $dir/udevil.mo; \ echo "installing ./$lang.gmo as" \ "$dir/udevil.mo"; \ fi; \ if test -r $lang.gmo.m; then \ /usr/bin/install -c -m 644 $lang.gmo.m $dir/udevil.mo.m; \ echo "installing $lang.gmo.m as $dir/udevil.mo.m"; \ else \ if test -r ./$lang.gmo.m ; then \ /usr/bin/install -c -m 644 ./$lang.gmo.m \ $dir/udevil.mo.m; \ echo "installing ./$lang.gmo.m as" \ "$dir/udevil.mo.m"; \ else \ true; \ fi; \ fi; \ done installing de.gmo as /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/share/locale/de/LC_MESSAGES/udevil.mo installing es.gmo as /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/share/locale/es/LC_MESSAGES/udevil.mo installing fr.gmo as /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/share/locale/fr/LC_MESSAGES/udevil.mo installing it.gmo as /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/share/locale/it/LC_MESSAGES/udevil.mo installing pl.gmo as /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/share/locale/pl/LC_MESSAGES/udevil.mo installing pt_BR.gmo as /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/share/locale/pt_BR/LC_MESSAGES/udevil.mo installing ru.gmo as /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/share/locale/ru/LC_MESSAGES/udevil.mo installing sv.gmo as /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/share/locale/sv/LC_MESSAGES/udevil.mo make[1]: Leaving directory `/builddir/build/BUILD/udevil-0.4.4/po' Making install in src make[1]: Entering directory `/builddir/build/BUILD/udevil-0.4.4/src' make[2]: Entering directory `/builddir/build/BUILD/udevil-0.4.4/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/bin' /usr/bin/install -c devmon '/builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/bin' /usr/bin/make install-data-hook make[3]: Entering directory `/builddir/build/BUILD/udevil-0.4.4/src' test -z /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64//usr/bin || mkdir -p -- /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64//usr/bin /usr/bin/install -c -m 644 -D ../src/udevil /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64//usr/bin/udevil make[3]: Leaving directory `/builddir/build/BUILD/udevil-0.4.4/src' make[2]: Leaving directory `/builddir/build/BUILD/udevil-0.4.4/src' make[1]: Leaving directory `/builddir/build/BUILD/udevil-0.4.4/src' make[1]: Entering directory `/builddir/build/BUILD/udevil-0.4.4' make[2]: Entering directory `/builddir/build/BUILD/udevil-0.4.4' 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/udevil-0.4.4' make[1]: Leaving directory `/builddir/build/BUILD/udevil-0.4.4' + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64 udevil + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: udevil-0.4.4-2.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Ccar41 + umask 022 + cd /builddir/build/BUILD + cd udevil-0.4.4 + DOCDIR=/builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/share/doc/udevil-0.4.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/share/doc/udevil-0.4.4 + cp -pr AUTHORS /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/share/doc/udevil-0.4.4 + cp -pr COPYING /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/share/doc/udevil-0.4.4 + cp -pr README /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64/usr/share/doc/udevil-0.4.4 + exit 0 Provides: config(udevil) = 0.4.4-2.el7.centos udevil = 0.4.4-2.el7.centos udevil(x86-64) = 0.4.4-2.el7.centos Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64 Wrote: /builddir/build/RPMS/udevil-0.4.4-2.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Swxhic + umask 022 + cd /builddir/build/BUILD + cd udevil-0.4.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/udevil-0.4.4-2.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->