Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/uptimed.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-157569-9986/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/uptimed-0.4.6-1.ocs23.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/uptimed.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-157569-9986/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.b4OQBg + 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.S3qXRS + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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 + ./autogen.sh aclocal... 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 + '[' '-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 2024-05-09 01:55:51.987688173 +0800 +++ ./configure 2024-05-09 01:55:52.017688137 +0800 @@ -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 2024-05-09 01:55:52.017688137 +0800 +++ ./configure 2024-05-09 01:55:52.045688103 +0800 @@ -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/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-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/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-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-opencloudos-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... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-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 x86_64-opencloudos-linux-gnu file names to x86_64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert x86_64-opencloudos-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-opencloudos-linux-gnu-file... no checking for file... file checking for x86_64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for x86_64-opencloudos-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 x86_64-opencloudos-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... yes 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 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 x86_64-opencloudos-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 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 -j32 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c milestone.c -fPIC -DPIC -o .libs/milestone.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c urec.c -fPIC -DPIC -o .libs/urec.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -version-info 0:0:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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': 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 '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 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); | ^~~~~~~~~~~ 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:964, 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 ()); | ~~~~~~~~~~~~~~~~~ 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)); | ^ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DFILE_CONFIG=\"/etc/uptimed.conf\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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.bRlK8g + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64 + cd uptimed-0.4.6 + make install DESTDIR=/builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64 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-1.ocs23.x86_64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libuptimed.la '/builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libuptimed.so.0.0.0 /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/lib64/libuptimed.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.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.6-1.ocs23.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.6-1.ocs23.x86_64/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-1.ocs23.x86_64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c uprecords '/builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/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-1.ocs23.x86_64/usr/bin/uprecords /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/sbin' /bin/sh ../libtool --mode=install /usr/bin/install -c uptimed '/builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/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-1.ocs23.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.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-1.ocs23.x86_64/usr/share/man/man1' /usr/bin/install -c -m 644 uprecords.1 '/builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 uptimed.8 '/builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/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-1.ocs23.x86_64/etc' /usr/bin/install -c -m 644 uptimed.conf-dist '/builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/lib/systemd/system' /usr/bin/install -c -m 644 uptimed.service '/builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/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-1.ocs23.x86_64/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-1.ocs23.x86_64//usr/lib64/libuptimed.la + mkdir /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/include + cp libuptimed/urec.h /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/include/uptimed.h + install -m 755 -d /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/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-1.ocs23.x86_64/usr/share/doc/uptimed/sample-cgi + mv /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/etc/uptimed.conf-dist /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64//etc/uptimed.conf + mkdir -p /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/var/spool/uptimed + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.4.6-1.ocs23 --unique-debug-suffix -0.4.6-1.ocs23.x86_64 --unique-debug-src-base uptimed-0.4.6-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/uptimed-0.4.6 extracting debug info from /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/bin/uprecords extracting debug info from /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/lib64/libuptimed.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/sbin/uptimed 145 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: uptimed-0.4.6-1.ocs23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Szf7zq + umask 022 + cd /builddir/build/BUILD + cd uptimed-0.4.6 + DOCDIR=/builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/doc/uptimed + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/doc/uptimed + cp -pr AUTHORS /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/doc/uptimed + cp -pr CREDITS /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/doc/uptimed + cp -pr ChangeLog /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/doc/uptimed + cp -pr INSTALL.cgi /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/doc/uptimed + cp -pr INSTALL.upgrade /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/doc/uptimed + cp -pr README.md /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/doc/uptimed + cp -pr README.unsupported /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/doc/uptimed + cp -pr TODO /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/doc/uptimed + cp -pr sample-cgi/ /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/doc/uptimed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hNAaAz + umask 022 + cd /builddir/build/BUILD + cd uptimed-0.4.6 + LICENSEDIR=/builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/licenses/uptimed + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/licenses/uptimed + cp -pr COPYING /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64/usr/share/licenses/uptimed + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(uptimed) = 0.4.6-1.ocs23 libuptimed.so.0()(64bit) uptimed = 0.4.6-1.ocs23 uptimed(x86-64) = 0.4.6-1.ocs23 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: 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.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(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.6-1.ocs23.x86_64 Provides: uptimed-devel = 0.4.6-1.ocs23 uptimed-devel(x86-64) = 0.4.6-1.ocs23 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-1.ocs23.x86_64 Provides: uptimed-debugsource = 0.4.6-1.ocs23 uptimed-debugsource(x86-64) = 0.4.6-1.ocs23 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-1.ocs23.x86_64 Provides: debuginfo(build-id) = 43c8d8502a73846a9ccc5231635c7e03d020ed33 debuginfo(build-id) = 87dc29a672e5cd276fa759d28514cb40d818f296 debuginfo(build-id) = b2ea32f913a7663db0920ad6031acee46a453669 libuptimed.so.0.0.0-0.4.6-1.ocs23.x86_64.debug()(64bit) uptimed-debuginfo = 0.4.6-1.ocs23 uptimed-debuginfo(x86-64) = 0.4.6-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: uptimed-debugsource(x86-64) = 0.4.6-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/uptimed-0.4.6-1.ocs23.x86_64 Wrote: /builddir/build/RPMS/uptimed-devel-0.4.6-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/uptimed-0.4.6-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/uptimed-debuginfo-0.4.6-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/uptimed-debugsource-0.4.6-1.ocs23.x86_64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0