Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/uptimed.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1618509504.541723/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8x50mdk4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8x50mdk4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4061b8869b3c422a80f90ab0216bb1ec', '-D', '/var/lib/mock/epel-7-x86_64-1618509504.541723/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8x50mdk4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/uptimed.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/uptimed-0.4.3-1.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/uptimed.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1618509504.541723/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8x50mdk4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8x50mdk4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '27530928433e4d59b0990bddbac00021', '-D', '/var/lib/mock/epel-7-x86_64-1618509504.541723/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8x50mdk4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/uptimed.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.id5vHH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf uptimed-0.4.3 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.4.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd uptimed-0.4.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf src/getopt.c src/getopt.h + sed --in-place -e 's/AC_REPLACE_FUNCS(getopt)//' configure.ac + echo 'Patch #0 (uptimed-0001-systemd-unit-run-as-daemon-user-not-root.patch):' Patch #0 (uptimed-0001-systemd-unit-run-as-daemon-user-not-root.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/uptimed-0001-systemd-unit-run-as-daemon-user-not-root.patch patching file etc/uptimed.service.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jAaJit + umask 022 + cd /builddir/build/BUILD + cd uptimed-0.4.3 + ./autogen.sh aclocal... autoheader... libtoolize... using libtoolize automake... configure.ac:6: installing './config.guess' configure.ac:6: installing './config.sub' configure.ac:7: installing './install-sh' configure.ac:7: installing './missing' libuptimed/Makefile.am: installing './depcomp' autoconf... ready to configure + 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 --disable-static 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 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 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 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 for gawk... gawk 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 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 -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... no 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 whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of gcc... none 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 that generated files are newer than configure... done configure: creating ./config.status config.status: creating etc/uptimed.service config.status: creating config.h config.status: executing libtool commands config.status: executing depfiles commands checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for getdtablesize... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating etc/uptimed.service config.status: creating Makefile config.status: creating libuptimed/Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating etc/Makefile config.status: creating uptimed.spec config.status: creating config.h config.status: executing libtool commands config.status: executing depfiles commands --- Now type "gmake" to build Uptimed --- --- If gmake is not working, try "make" --- + make -j2 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3' Making all in libuptimed make[2]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3/libuptimed' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -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 misc.lo misc.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -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 milestone.lo milestone.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -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 misc.c -fPIC -DPIC -o .libs/misc.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -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 milestone.c -fPIC -DPIC -o .libs/milestone.o misc.c: In function 'cat': misc.c:61:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ misc.c:65:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -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 urec.lo urec.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -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 urec.c -fPIC -DPIC -o .libs/urec.o urec.c: In function 'read_records': urec.c:277:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ urec.c:293:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ urec.c: In function 'readbootid': urec.c:427:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ urec.c:433:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -version-info 0:0:0 -Wl,-z,relro -o libuptimed.la -rpath /usr/lib64 misc.lo milestone.lo urec.lo libtool: link: gcc -shared -fPIC -DPIC .libs/misc.o .libs/milestone.o .libs/urec.o -O2 -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,-soname -Wl,libuptimed.so.0 -o .libs/libuptimed.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libuptimed.so.0" && ln -s "libuptimed.so.0.0.0" "libuptimed.so.0") libtool: link: (cd ".libs" && rm -f "libuptimed.so" && ln -s "libuptimed.so.0.0.0" "libuptimed.so") libtool: link: ( cd ".libs" && rm -f "libuptimed.la" && ln -s "../libuptimed.la" "libuptimed.la" ) make[2]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3/libuptimed' Making all in src make[2]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../libuptimed -DSD_DAEMON_DISABLE_MQ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DFILE_CONFIG=\"/etc/uptimed.conf\" -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 uprecords.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libuptimed -DSD_DAEMON_DISABLE_MQ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DFILE_CONFIG=\"/etc/uptimed.conf\" -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 uptimed.c uptimed.c: In function 'main': uptimed.c:87:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t' [-Wformat=] syslog(LOG_INFO, SYSLOG_PREFIX "created bootid: %d", readbootid()); ^ uprecords.c: In function 'print_availability': uprecords.c:476:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ctimec = ctime(&since)) { ^ uprecords.c: In function 'read_config': uprecords.c:275:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ uprecords.c:285:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ uprecords.c: In function 'read_config_cgi': uprecords.c:298:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ uprecords.c:319:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ uptimed.c: In function 'bg': uptimed.c:221:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ uptimed.c: In function 'read_config': uptimed.c:273:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ uptimed.c:313:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(str, sizeof(str), f); ^ uptimed.c: In function 'mail': uptimed.c:471:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ uprecords.c: In function 'displayrecords': uprecords.c:248:21: warning: 'since' may be used uninitialized in this function [-Wmaybe-uninitialized] print_availability(availability, since); ^ gcc -DHAVE_CONFIG_H -I. -I.. -I../libuptimed -DSD_DAEMON_DISABLE_MQ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DFILE_CONFIG=\"/etc/uptimed.conf\" -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 sd-daemon.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DFILE_CONFIG=\"/etc/uptimed.conf\" -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 -o uprecords uprecords.o ../libuptimed/libuptimed.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DFILE_CONFIG=\"/etc/uptimed.conf\" -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 -o .libs/uprecords uprecords.o ../libuptimed/.libs/libuptimed.so /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DFILE_CONFIG=\"/etc/uptimed.conf\" -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 -o uptimed uptimed.o sd-daemon.o ../libuptimed/libuptimed.la libtool: link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DFILE_CONFIG=\"/etc/uptimed.conf\" -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 -o .libs/uptimed uptimed.o sd-daemon.o ../libuptimed/.libs/libuptimed.so make[2]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3/src' Making all in man make[2]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3/man' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3/man' Making all in etc make[2]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3/etc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3/etc' make[2]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3' make[2]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3' make[1]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2CFOxx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64 + cd uptimed-0.4.3 + make install DESTDIR=/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64 Making install in libuptimed make[1]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3/libuptimed' make[2]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3/libuptimed' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libuptimed.la '/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libuptimed.so.0.0.0 /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/lib64/libuptimed.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/lib64 && { ln -s -f libuptimed.so.0.0.0 libuptimed.so.0 || { rm -f libuptimed.so.0 && ln -s libuptimed.so.0.0.0 libuptimed.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/lib64 && { ln -s -f libuptimed.so.0.0.0 libuptimed.so || { rm -f libuptimed.so && ln -s libuptimed.so.0.0.0 libuptimed.so; }; }) libtool: install: /usr/bin/install -c .libs/libuptimed.lai /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/lib64/libuptimed.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3/libuptimed' make[1]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3/libuptimed' Making install in src make[1]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3/src' make[2]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c uprecords '/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/bin' libtool: install: warning: `../libuptimed/libuptimed.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/uprecords /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/bin/uprecords /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/sbin' /bin/sh ../libtool --mode=install /usr/bin/install -c uptimed '/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/sbin' libtool: install: warning: `../libuptimed/libuptimed.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/uptimed /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/sbin/uptimed make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3/src' make[1]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3/src' Making install in man make[1]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3/man' make[2]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3/man' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/man/man1' /usr/bin/install -c -m 644 uprecords.1 '/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 uptimed.8 '/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/man/man8' make[2]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3/man' make[1]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3/man' Making install in etc make[1]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3/etc' make[2]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/etc' /usr/bin/install -c -m 644 uptimed.conf-dist '/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/lib/systemd/system' /usr/bin/install -c -m 644 uptimed.service '/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/lib/systemd/system' make[2]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3/etc' make[1]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3/etc' make[1]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3' make[2]: Entering directory `/builddir/build/BUILD/uptimed-0.4.3' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/install -c -d /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/var/spool/uptimed make[2]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3' make[1]: Leaving directory `/builddir/build/BUILD/uptimed-0.4.3' + rm /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64//usr/lib64/libuptimed.la + mkdir /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/include + cp libuptimed/urec.h /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/include/uptimed.h + install -m 755 -d /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/doc/uptimed-0.4.3/sample-cgi + install -m 644 sample-cgi/uprecords.conf sample-cgi/uprecords.footer sample-cgi/uprecords.header /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/doc/uptimed-0.4.3/sample-cgi + mv /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/etc/uptimed.conf-dist /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64//etc/uptimed.conf + mkdir -p /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/var/spool/uptimed + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/uptimed-0.4.3 extracting debug info from /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/sbin/uptimed extracting debug info from /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/bin/uprecords extracting debug info from /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/lib64/libuptimed.so.0.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libuptimed.so.0.0.0.debug to /usr/lib/debug/usr/lib64/libuptimed.so.debug symlinked /usr/lib/debug/usr/lib64/libuptimed.so.0.0.0.debug to /usr/lib/debug/usr/lib64/libuptimed.so.0.debug 142 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /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: uptimed-0.4.3-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oFJWeD + umask 022 + cd /builddir/build/BUILD + cd uptimed-0.4.3 + DOCDIR=/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/doc/uptimed-0.4.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/doc/uptimed-0.4.3 + cp -pr AUTHORS /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/doc/uptimed-0.4.3 + cp -pr CREDITS /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/doc/uptimed-0.4.3 + cp -pr ChangeLog /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/doc/uptimed-0.4.3 + cp -pr INSTALL.cgi /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/doc/uptimed-0.4.3 + cp -pr INSTALL.upgrade /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/doc/uptimed-0.4.3 + cp -pr README.md /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/doc/uptimed-0.4.3 + cp -pr README.unsupported /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/doc/uptimed-0.4.3 + cp -pr TODO /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/doc/uptimed-0.4.3 + cp -pr sample-cgi/ /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/doc/uptimed-0.4.3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.C04CYI + umask 022 + cd /builddir/build/BUILD + cd uptimed-0.4.3 + LICENSEDIR=/builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/licenses/uptimed-0.4.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/licenses/uptimed-0.4.3 + cp -pr COPYING /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64/usr/share/licenses/uptimed-0.4.3 + exit 0 Provides: config(uptimed) = 0.4.3-1.el7 libuptimed.so.0()(64bit) uptimed = 0.4.3-1.el7 uptimed(x86-64) = 0.4.3-1.el7 Requires(interp): /bin/sh /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 systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) libuptimed.so.0()(64bit) rtld(GNU_HASH) Processing files: uptimed-devel-0.4.3-1.el7.x86_64 Provides: uptimed-devel = 0.4.3-1.el7 uptimed-devel(x86-64) = 0.4.3-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libuptimed.so.0()(64bit) Processing files: uptimed-debuginfo-0.4.3-1.el7.x86_64 Provides: uptimed-debuginfo = 0.4.3-1.el7 uptimed-debuginfo(x86-64) = 0.4.3-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64 Wrote: /builddir/build/RPMS/uptimed-0.4.3-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/uptimed-devel-0.4.3-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/uptimed-debuginfo-0.4.3-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.noJmWm + umask 022 + cd /builddir/build/BUILD + cd uptimed-0.4.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/uptimed-0.4.3-1.el7.x86_64 + exit 0 Child return code was: 0