Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/uptimed.spec'], chrootPath='/var/lib/mock/f38-build-701204-88361/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Wrote: /builddir/build/SRPMS/uptimed-0.4.6-4.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/uptimed.spec'], chrootPath='/var/lib/mock/f38-build-701204-88361/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uBtPqj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf uptimed-0.4.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v0.4.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd uptimed-0.4.6 + /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 --no-backup-if-mismatch -f -p1 --fuzz=0 patching file etc/uptimed.service.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jLIfKO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd uptimed-0.4.6 aclocal... + ./autogen.sh autoheader... libtoolize... using libtoolize automake... configure.ac:5: installing './compile' 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... configure.ac:6: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.ac:6: You should run autoupdate. aclocal.m4:123: AM_PROG_LIBTOOL is expanded from... configure.ac:6: the top level configure.ac:18: warning: AC_OUTPUT should be used without arguments. configure.ac:18: You should run autoupdate. configure.ac:31: warning: AC_OUTPUT should be used without arguments. configure.ac:31: You should run autoupdate. configure.ac:32: warning: AC_OUTPUT should be used without arguments. configure.ac:32: You should run autoupdate. configure.ac:77: warning: AC_OUTPUT should be used without arguments. configure.ac:77: You should run autoupdate. ready to configure + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-03-26 15:12:28.382368901 -0400 +++ ./configure 2023-03-26 15:12:28.612369359 -0400 @@ -1739,7 +1739,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-03-26 15:12:28.612369359 -0400 +++ ./configure 2023-03-26 15:12:28.782369698 -0400 @@ -5976,7 +5976,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -13507,7 +13507,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' @@ -15824,7 +15824,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' @@ -18124,7 +18124,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' @@ -20530,7 +20530,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-file... no checking for file... file checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 5982: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none 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 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 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 -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6' Making all in libuptimed make[2]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6/libuptimed' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o misc.lo misc.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o milestone.lo milestone.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o urec.lo urec.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c misc.c -fPIC -DPIC -o .libs/misc.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c urec.c -fPIC -DPIC -o .libs/urec.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c milestone.c -fPIC -DPIC -o .libs/milestone.o misc.c: In function 'cat': misc.c:61:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | fgets(str, sizeof(str), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:65:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | fgets(str, sizeof(str), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urec.c: In function 'read_records': urec.c:295:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 295 | fgets(str, sizeof(str), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urec.c:312:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 312 | fgets(str, sizeof(str), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urec.c: In function 'readbootid': urec.c:446:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 446 | fgets(str, sizeof(str), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ urec.c:452:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 452 | fgets(str, sizeof(str), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -version-info 0:0:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o 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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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.6/libuptimed' Making all in src make[2]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../libuptimed -DSD_DAEMON_DISABLE_MQ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o uprecords.o uprecords.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libuptimed -DSD_DAEMON_DISABLE_MQ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o uptimed.o uptimed.c gcc -DHAVE_CONFIG_H -I. -I.. -I../libuptimed -DSD_DAEMON_DISABLE_MQ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o sd-daemon.o sd-daemon.c uprecords.c: In function 'print_availability': uprecords.c:476:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 476 | if (ctimec = ctime(&since)) { | ^~~~~~ uprecords.c: In function 'read_config': uptimed.c: In function 'main': uptimed.c:25:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=] 25 | #define SYSLOG_PREFIX "" | ^~ uptimed.c:87:34: note: in expansion of macro 'SYSLOG_PREFIX' 87 | syslog(LOG_INFO, SYSLOG_PREFIX "created bootid: %d", readbootid()); | ^~~~~~~~~~~~~ uptimed.c:87:66: note: format string is defined here 87 | syslog(LOG_INFO, SYSLOG_PREFIX "created bootid: %d", readbootid()); | ~^ | | | int | %ld uprecords.c:275:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 275 | fgets(str, sizeof(str), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ uprecords.c:285:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 285 | fgets(str, sizeof(str), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ uprecords.c: In function 'read_config_cgi': uprecords.c:298:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 298 | fgets(str, sizeof(str), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ uprecords.c:319:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 319 | fgets(str, sizeof(str), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ uptimed.c: In function 'bg': uptimed.c:221:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 221 | chdir("/"); | ^~~~~~~~~~ uptimed.c: In function 'read_config': uptimed.c:273:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 273 | fgets(str, sizeof(str), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ uptimed.c:313:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 313 | fgets(str, sizeof(str), f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ uptimed.c: In function 'mail': uptimed.c:471:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 471 | system(cmd); | ^~~~~~~~~~~ sd-daemon.c: In function 'sd_notify': sd-daemon.c:446:9: warning: 'strncpy' specified bound 108 equals destination size [-Wstringop-truncation] 446 | strncpy(sockaddr.un.sun_path, e, sizeof(sockaddr.un.sun_path)); | ^ uptimed.c:449:61: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 241 [-Wformat-truncation=] 449 | snprintf(buf, sizeof(buf)-1, "The uptime of %s has reached a milestone:\n\t%s (%s)\n", hostname, time2uptime(milestone->time), milestone->desc); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:906, from uptimed.h:19, from uptimed.c:19: In function 'snprintf', inlined from 'mail' at uptimed.c:449:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 46 or more bytes (assuming 557) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ uptimed.c: In function 'mail': uptimed.c:460:69: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 241 [-Wformat-truncation=] 460 | snprintf(buf, sizeof(buf)-1, "The uptime of %s moved up to position %d:\n\t%s\n", hostname, position, time2uptime(u_current->utime)); | ^~ ~~~~~~~~ uptimed.c:460:54: note: directive argument in the range [2, 2147483647] 460 | snprintf(buf, sizeof(buf)-1, "The uptime of %s moved up to position %d:\n\t%s\n", hostname, position, time2uptime(u_current->utime)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'mail' at uptimed.c:460:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 42 or more bytes (assuming 306) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ uptimed.c: In function 'mail': uptimed.c:458:86: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 224 [-Wformat-truncation=] 458 | snprintf(buf, sizeof(buf)-1, "The uptime is a new record for %s:\n\t%s\n", hostname, time2uptime(u_current->utime)); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'mail' at uptimed.c:458:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 36 or more bytes (assuming 291) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ uprecords.c: In function 'displayrecords': uprecords.c:248:17: warning: 'since' may be used uninitialized [-Wmaybe-uninitialized] 248 | print_availability(availability, since); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uprecords.c:103:16: note: 'since' was declared here 103 | time_t since, now, tmp, totalutime = 0, totaldtime = 0; | ^~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o uptimed uptimed.o sd-daemon.o ../libuptimed/libuptimed.la /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o uprecords uprecords.o ../libuptimed/libuptimed.la libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/uptimed uptimed.o sd-daemon.o ../libuptimed/.libs/libuptimed.so libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/uprecords uprecords.o ../libuptimed/.libs/libuptimed.so make[2]: Leaving directory '/builddir/build/BUILD/uptimed-0.4.6/src' Making all in man make[2]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/uptimed-0.4.6/man' Making all in etc make[2]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6/etc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/uptimed-0.4.6/etc' make[2]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6' make[2]: Leaving directory '/builddir/build/BUILD/uptimed-0.4.6' make[1]: Leaving directory '/builddir/build/BUILD/uptimed-0.4.6' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.e1cDze + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd uptimed-0.4.6 + make install DESTDIR=/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64 Making install in libuptimed make[1]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6/libuptimed' make[2]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6/libuptimed' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libuptimed.la '/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libuptimed.so.0.0.0 /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/lib64/libuptimed.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/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.6-4.fc38.riscv64/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.6-4.fc38.riscv64/usr/lib64/libuptimed.la libtool: 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.6/libuptimed' make[1]: Leaving directory '/builddir/build/BUILD/uptimed-0.4.6/libuptimed' Making install in src make[1]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6/src' make[2]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c uprecords '/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/bin' libtool: 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.6-4.fc38.riscv64/usr/bin/uprecords /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/sbin' /bin/sh ../libtool --mode=install /usr/bin/install -c uptimed '/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/sbin' libtool: 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.6-4.fc38.riscv64/usr/sbin/uptimed make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/uptimed-0.4.6/src' make[1]: Leaving directory '/builddir/build/BUILD/uptimed-0.4.6/src' Making install in man make[1]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6/man' make[2]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 uprecords.1 '/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/man/man8' /usr/bin/install -c -m 644 uptimed.8 '/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/uptimed-0.4.6/man' make[1]: Leaving directory '/builddir/build/BUILD/uptimed-0.4.6/man' Making install in etc make[1]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6/etc' make[2]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/etc' /usr/bin/install -c -m 644 uptimed.conf-dist '/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/lib/systemd/system' /usr/bin/install -c -m 644 uptimed.service '/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/lib/systemd/system' make[2]: Leaving directory '/builddir/build/BUILD/uptimed-0.4.6/etc' make[1]: Leaving directory '/builddir/build/BUILD/uptimed-0.4.6/etc' make[1]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6' make[2]: Entering directory '/builddir/build/BUILD/uptimed-0.4.6' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/install -c -d /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/var/spool/uptimed make[2]: Leaving directory '/builddir/build/BUILD/uptimed-0.4.6' make[1]: Leaving directory '/builddir/build/BUILD/uptimed-0.4.6' + rm /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64//usr/lib64/libuptimed.la + mkdir /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/include + cp libuptimed/urec.h /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/include/uptimed.h + install -m 755 -d /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/doc/uptimed/sample-cgi + install -m 644 sample-cgi/uprecords.conf sample-cgi/uprecords.footer sample-cgi/uprecords.header /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/doc/uptimed/sample-cgi + mv /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/etc/uptimed.conf-dist /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64//etc/uptimed.conf + mkdir -p /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/var/spool/uptimed + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.4.6-4.fc38 --unique-debug-suffix -0.4.6-4.fc38.riscv64 --unique-debug-src-base uptimed-0.4.6-4.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/uptimed-0.4.6 extracting debug info from /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/bin/uprecords extracting debug info from /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/lib64/libuptimed.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/sbin/uptimed original debug info size: 384kB, size after compression: 380kB /usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 145 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: uptimed-0.4.6-4.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yz5a4r + umask 022 + cd /builddir/build/BUILD + cd uptimed-0.4.6 + DOCDIR=/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/doc/uptimed + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/doc/uptimed + cp -pr AUTHORS /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/doc/uptimed + cp -pr CREDITS /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/doc/uptimed + cp -pr ChangeLog /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/doc/uptimed + cp -pr INSTALL.cgi /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/doc/uptimed + cp -pr INSTALL.upgrade /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/doc/uptimed + cp -pr README.md /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/doc/uptimed + cp -pr README.unsupported /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/doc/uptimed + cp -pr TODO /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/doc/uptimed + cp -pr sample-cgi/ /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/doc/uptimed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7tZ0GV + umask 022 + cd /builddir/build/BUILD + cd uptimed-0.4.6 + LICENSEDIR=/builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/licenses/uptimed + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/licenses/uptimed + cp -pr COPYING /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64/usr/share/licenses/uptimed + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(uptimed) = 0.4.6-4.fc38 libuptimed.so.0()(64bit) uptimed = 0.4.6-4.fc38 uptimed(riscv-64) = 0.4.6-4.fc38 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 systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libuptimed.so.0()(64bit) rtld(GNU_HASH) Processing files: uptimed-devel-0.4.6-4.fc38.riscv64 Provides: uptimed-devel = 0.4.6-4.fc38 uptimed-devel(riscv-64) = 0.4.6-4.fc38 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-debugsource-0.4.6-4.fc38.riscv64 Provides: uptimed-debugsource = 0.4.6-4.fc38 uptimed-debugsource(riscv-64) = 0.4.6-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: uptimed-debuginfo-0.4.6-4.fc38.riscv64 Provides: debuginfo(build-id) = 35b0161d9c3a5923bfe6505c6486a00a3a485b4a debuginfo(build-id) = 3b4433d6c4d4eb823e07311339629e3914dd92ca debuginfo(build-id) = 9d0395bf2b367c084857352c27c131a7290f8993 libuptimed.so.0.0.0-0.4.6-4.fc38.riscv64.debug()(64bit) uptimed-debuginfo = 0.4.6-4.fc38 uptimed-debuginfo(riscv-64) = 0.4.6-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: uptimed-debugsource(riscv-64) = 0.4.6-4.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64 Wrote: /builddir/build/RPMS/uptimed-devel-0.4.6-4.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/uptimed-debugsource-0.4.6-4.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/uptimed-0.4.6-4.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/uptimed-debuginfo-0.4.6-4.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tUABSq + umask 022 + cd /builddir/build/BUILD + cd uptimed-0.4.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/uptimed-0.4.6-4.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.eiNV4G + umask 022 + cd /builddir/build/BUILD + rm -rf uptimed-0.4.6 uptimed-0.4.6.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0