Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/uts-server.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1612202082.965728/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.om9i6go2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.om9i6go2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ed8157940739405ebbf49a83f9a62d95', '-D', '/var/lib/mock/epel-7-x86_64-1612202082.965728/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.om9i6go2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/uts-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/uts-server-0.2.0-0.3.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/uts-server.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1612202082.965728/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.om9i6go2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.om9i6go2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd9d8023cdb38464ea7df9962f292f9d4', '-D', '/var/lib/mock/epel-7-x86_64-1612202082.965728/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.om9i6go2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/uts-server.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Iz7J7l + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf uts-server-0.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/0.2.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd uts-server-0.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bmLdva + umask 022 + cd /builddir/build/BUILD + cd uts-server-0.2.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON . -- The C compiler identification is GNU 4.8.5 -- The CXX compiler identification is GNU 4.8.5 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.2k") -- OpenSSL include dir: /usr/include -- OpenSSL libraries: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so -- OpenSSL version: 1.0.2k -- LibreSSL Detected: FALSE -- OS Detected: Linux -- Find Header Directory for libcivetweb: /usr/include -- Find Dynamic Library for libcivetweb: /usr/lib64/libcivetweb.so -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_SHARED_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/uts-server-0.2.0 + /usr/bin/make -j2 /usr/bin/cmake -H/builddir/build/BUILD/uts-server-0.2.0 -B/builddir/build/BUILD/uts-server-0.2.0 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/uts-server-0.2.0/CMakeFiles /builddir/build/BUILD/uts-server-0.2.0/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/builddir/build/BUILD/uts-server-0.2.0' /usr/bin/make -f CMakeFiles/uts-server.dir/build.make CMakeFiles/uts-server.dir/depend make[2]: Entering directory `/builddir/build/BUILD/uts-server-0.2.0' cd /builddir/build/BUILD/uts-server-0.2.0 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/uts-server-0.2.0 /builddir/build/BUILD/uts-server-0.2.0 /builddir/build/BUILD/uts-server-0.2.0 /builddir/build/BUILD/uts-server-0.2.0 /builddir/build/BUILD/uts-server-0.2.0/CMakeFiles/uts-server.dir/DependInfo.cmake --color= Scanning dependencies of target uts-server make[2]: Leaving directory `/builddir/build/BUILD/uts-server-0.2.0' /usr/bin/make -f CMakeFiles/uts-server.dir/build.make CMakeFiles/uts-server.dir/build make[2]: Entering directory `/builddir/build/BUILD/uts-server-0.2.0' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/uts-server-0.2.0/CMakeFiles 1 /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/uts-server-0.2.0/CMakeFiles 2 [ 25%] [ 50%] Building C object CMakeFiles/uts-server.dir/src/cmd/uts-server.c.o Building C object CMakeFiles/uts-server.dir/src/lib/rfc3161.c.o /usr/bin/cc --std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -DUTS_VERSION='"0.2.0"' -I/builddir/build/BUILD/uts-server-0.2.0/./inc -o CMakeFiles/uts-server.dir/src/lib/rfc3161.c.o -c /builddir/build/BUILD/uts-server-0.2.0/src/lib/rfc3161.c /usr/bin/cc --std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -DUTS_VERSION='"0.2.0"' -I/builddir/build/BUILD/uts-server-0.2.0/./inc -o CMakeFiles/uts-server.dir/src/cmd/uts-server.c.o -c /builddir/build/BUILD/uts-server-0.2.0/src/cmd/uts-server.c In file included from /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:1:0, from /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:1, from /builddir/build/BUILD/uts-server-0.2.0/./inc/http.h:1, from /builddir/build/BUILD/uts-server-0.2.0/src/cmd/uts-server.c:1: /builddir/build/BUILD/uts-server-0.2.0/./inc/context.h:62:30: warning: 'rfc3161_options' defined but not used [-Wunused-variable] static struct rfc3161_option rfc3161_options[] = { ^ In file included from /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:1:0, from /builddir/build/BUILD/uts-server-0.2.0/./inc/http.h:1, from /builddir/build/BUILD/uts-server-0.2.0/src/cmd/uts-server.c:1: /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:50:21: warning: 'txt2obj' declared 'static' but never defined [-Wunused-function] static ASN1_OBJECT *txt2obj(const char *oid); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:58:22: warning: 'serial_cb' declared 'static' but never defined [-Wunused-function] static ASN1_INTEGER *serial_cb(TS_RESP_CTX *ctx, void *data); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:54:17: warning: 'read_PKCS7' declared 'static' but never defined [-Wunused-function] static TS_RESP *read_PKCS7(BIO *in_bio); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:59:22: warning: 'next_serial' declared 'static' but never defined [-Wunused-function] static ASN1_INTEGER *next_serial(const char *serialfile); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:60:12: warning: 'save_ts_serial' declared 'static' but never defined [-Wunused-function] static int save_ts_serial(const char *serialfile, ASN1_INTEGER *serial); ^ In file included from /builddir/build/BUILD/uts-server-0.2.0/./inc/http.h:1:0, from /builddir/build/BUILD/uts-server-0.2.0/src/cmd/uts-server.c:1: /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:8:13: warning: 'signal_handler_general' declared 'static' but never defined [-Wunused-function] static void signal_handler_general(int sig_num); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:9:13: warning: 'signal_handler_up' declared 'static' but never defined [-Wunused-function] static void signal_handler_up(int sig_num); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:18:14: warning: 'rand_string' declared 'static' but never defined [-Wunused-function] static char *rand_string(char *str, size_t size); ^ /builddir/build/BUILD/uts-server-0.2.0/src/lib/rfc3161.c: In function 'create_response': /builddir/build/BUILD/uts-server-0.2.0/src/lib/rfc3161.c:225:10: warning: unused variable 'out_bio' [-Wunused-variable] BIO *out_bio = NULL; ^ In file included from /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:1:0, from /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:1, from /builddir/build/BUILD/uts-server-0.2.0/src/lib/rfc3161.c:6: /builddir/build/BUILD/uts-server-0.2.0/src/lib/rfc3161.c: At top level: /builddir/build/BUILD/uts-server-0.2.0/./inc/context.h:62:30: warning: 'rfc3161_options' defined but not used [-Wunused-variable] static struct rfc3161_option rfc3161_options[] = { ^ In file included from /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:1:0, from /builddir/build/BUILD/uts-server-0.2.0/src/lib/rfc3161.c:6: /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:50:21: warning: 'txt2obj' declared 'static' but never defined [-Wunused-function] static ASN1_OBJECT *txt2obj(const char *oid); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:54:17: warning: 'read_PKCS7' declared 'static' but never defined [-Wunused-function] static TS_RESP *read_PKCS7(BIO *in_bio); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:59:22: warning: 'next_serial' declared 'static' but never defined [-Wunused-function] static ASN1_INTEGER *next_serial(const char *serialfile); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:60:12: warning: 'save_ts_serial' declared 'static' but never defined [-Wunused-function] static int save_ts_serial(const char *serialfile, ASN1_INTEGER *serial); ^ In file included from /builddir/build/BUILD/uts-server-0.2.0/src/lib/rfc3161.c:6:0: /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:8:13: warning: 'signal_handler_general' declared 'static' but never defined [-Wunused-function] static void signal_handler_general(int sig_num); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:9:13: warning: 'signal_handler_up' declared 'static' but never defined [-Wunused-function] static void signal_handler_up(int sig_num); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:18:14: warning: 'rand_string' declared 'static' but never defined [-Wunused-function] static char *rand_string(char *str, size_t size); ^ /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/uts-server-0.2.0/CMakeFiles 3 /builddir/build/BUILD/uts-server-0.2.0/src/lib/rfc3161.c: In function 'add_oid_section': /builddir/build/BUILD/uts-server-0.2.0/src/lib/rfc3161.c:30:19: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] uts_logger(ct, LOG_ERR, "problem loading oid section %s\n", p); ^ [ 75%] Building C object CMakeFiles/uts-server.dir/src/lib/http.c.o /usr/bin/cc --std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -DUTS_VERSION='"0.2.0"' -I/builddir/build/BUILD/uts-server-0.2.0/./inc -o CMakeFiles/uts-server.dir/src/lib/http.c.o -c /builddir/build/BUILD/uts-server-0.2.0/src/lib/http.c In file included from /usr/include/string.h:638:0, from /builddir/build/BUILD/uts-server-0.2.0/./inc/context.h:8, from /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:1, from /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:1, from /builddir/build/BUILD/uts-server-0.2.0/src/lib/rfc3161.c:6: In function 'strncpy', inlined from 'create_response' at /builddir/build/BUILD/uts-server-0.2.0/src/lib/rfc3161.c:284:16: /usr/include/bits/string3.h:120:3: warning: call to __builtin___strncpy_chk will always overflow destination buffer [enabled by default] return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^ /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/uts-server-0.2.0/CMakeFiles 4 [100%] Building C object CMakeFiles/uts-server.dir/src/lib/utils.c.o /usr/bin/cc --std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -DUTS_VERSION='"0.2.0"' -I/builddir/build/BUILD/uts-server-0.2.0/./inc -o CMakeFiles/uts-server.dir/src/lib/utils.c.o -c /builddir/build/BUILD/uts-server-0.2.0/src/lib/utils.c /builddir/build/BUILD/uts-server-0.2.0/src/lib/http.c: In function 'rfc3161_handler': /builddir/build/BUILD/uts-server-0.2.0/src/lib/http.c:195:9: warning: unknown conversion type character ';' in format [-Wformat=] mg_printf(conn, STATIC_PAGE); ^ /builddir/build/BUILD/uts-server-0.2.0/src/lib/http.c:195:9: warning: unknown conversion type character ';' in format [-Wformat=] /builddir/build/BUILD/uts-server-0.2.0/src/lib/http.c:195:9: warning: unknown conversion type character ';' in format [-Wformat=] /builddir/build/BUILD/uts-server-0.2.0/src/lib/http.c:114:14: warning: unused variable 'query_id' [-Wunused-variable] uint64_t query_id = ct->query_counter; ^ /builddir/build/BUILD/uts-server-0.2.0/src/lib/http.c:111:9: warning: unused variable 'ret' [-Wunused-variable] int ret; ^ /builddir/build/BUILD/uts-server-0.2.0/src/lib/http.c: In function 'ca_serve_handler': /builddir/build/BUILD/uts-server-0.2.0/src/lib/http.c:231:40: warning: unused variable 'ri' [-Wunused-variable] const struct mg_response_info *ri = mg_get_response_info(conn); ^ /builddir/build/BUILD/uts-server-0.2.0/src/lib/http.c: In function 'cert_serve_handler': /builddir/build/BUILD/uts-server-0.2.0/src/lib/http.c:263:40: warning: unused variable 'ri' [-Wunused-variable] const struct mg_response_info *ri = mg_get_response_info(conn); ^ In file included from /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:1:0, from /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:1, from /builddir/build/BUILD/uts-server-0.2.0/./inc/http.h:1, from /builddir/build/BUILD/uts-server-0.2.0/src/lib/http.c:1: /builddir/build/BUILD/uts-server-0.2.0/src/lib/http.c: At top level: /builddir/build/BUILD/uts-server-0.2.0/./inc/context.h:62:30: warning: 'rfc3161_options' defined but not used [-Wunused-variable] static struct rfc3161_option rfc3161_options[] = { ^ In file included from /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:1:0, from /builddir/build/BUILD/uts-server-0.2.0/./inc/http.h:1, from /builddir/build/BUILD/uts-server-0.2.0/src/lib/http.c:1: /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:50:21: warning: 'txt2obj' declared 'static' but never defined [-Wunused-function] static ASN1_OBJECT *txt2obj(const char *oid); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:58:22: warning: 'serial_cb' declared 'static' but never defined [-Wunused-function] static ASN1_INTEGER *serial_cb(TS_RESP_CTX *ctx, void *data); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:54:17: warning: 'read_PKCS7' declared 'static' but never defined [-Wunused-function] static TS_RESP *read_PKCS7(BIO *in_bio); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:59:22: warning: 'next_serial' declared 'static' but never defined [-Wunused-function] static ASN1_INTEGER *next_serial(const char *serialfile); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:60:12: warning: 'save_ts_serial' declared 'static' but never defined [-Wunused-function] static int save_ts_serial(const char *serialfile, ASN1_INTEGER *serial); ^ In file included from /builddir/build/BUILD/uts-server-0.2.0/./inc/http.h:1:0, from /builddir/build/BUILD/uts-server-0.2.0/src/lib/http.c:1: /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:8:13: warning: 'signal_handler_general' declared 'static' but never defined [-Wunused-function] static void signal_handler_general(int sig_num); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:9:13: warning: 'signal_handler_up' declared 'static' but never defined [-Wunused-function] static void signal_handler_up(int sig_num); ^ In file included from /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:1:0, from /builddir/build/BUILD/uts-server-0.2.0/src/lib/utils.c:1: /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:50:21: warning: 'txt2obj' declared 'static' but never defined [-Wunused-function] static ASN1_OBJECT *txt2obj(const char *oid); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:58:22: warning: 'serial_cb' declared 'static' but never defined [-Wunused-function] static ASN1_INTEGER *serial_cb(TS_RESP_CTX *ctx, void *data); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:54:17: warning: 'read_PKCS7' declared 'static' but never defined [-Wunused-function] static TS_RESP *read_PKCS7(BIO *in_bio); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:59:22: warning: 'next_serial' declared 'static' but never defined [-Wunused-function] static ASN1_INTEGER *next_serial(const char *serialfile); ^ /builddir/build/BUILD/uts-server-0.2.0/./inc/rfc3161.h:60:12: warning: 'save_ts_serial' declared 'static' but never defined [-Wunused-function] static int save_ts_serial(const char *serialfile, ASN1_INTEGER *serial); ^ In file included from /builddir/build/BUILD/uts-server-0.2.0/src/lib/utils.c:1:0: /builddir/build/BUILD/uts-server-0.2.0/./inc/utils.h:18:14: warning: 'rand_string' declared 'static' but never defined [-Wunused-function] static char *rand_string(char *str, size_t size); ^ /builddir/build/BUILD/uts-server-0.2.0/src/lib/utils.c: In function 'skeleton_daemon': /builddir/build/BUILD/uts-server-0.2.0/src/lib/utils.c:117:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ /builddir/build/BUILD/uts-server-0.2.0/src/lib/utils.c: In function 'set_params': /builddir/build/BUILD/uts-server-0.2.0/src/lib/utils.c:272:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(conf_wd); ^ /builddir/build/BUILD/uts-server-0.2.0/src/lib/utils.c:392:13: warning: ignoring return value of 'realpath', declared with attribute warn_unused_result [-Wunused-result] realpath(NCONF_get_string(ct->conf, TSA_SECTION, "certs"), ct->ca_file); ^ /builddir/build/BUILD/uts-server-0.2.0/src/lib/utils.c:394:13: warning: ignoring return value of 'realpath', declared with attribute warn_unused_result [-Wunused-result] realpath(NCONF_get_string(ct->conf, TSA_SECTION, "signer_cert"), ^ /builddir/build/BUILD/uts-server-0.2.0/src/lib/utils.c:398:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ /builddir/build/BUILD/uts-server-0.2.0/src/lib/utils.c:402:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ Linking C executable uts-server /usr/bin/cmake -E cmake_link_script CMakeFiles/uts-server.dir/link.txt --verbose=1 /usr/bin/cc --std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -DUTS_VERSION='"0.2.0"' -Wl,-z,relro CMakeFiles/uts-server.dir/src/cmd/uts-server.c.o CMakeFiles/uts-server.dir/src/lib/rfc3161.c.o CMakeFiles/uts-server.dir/src/lib/http.c.o CMakeFiles/uts-server.dir/src/lib/utils.c.o -o uts-server -rdynamic -lssl -lcrypto -lcivetweb make[2]: Leaving directory `/builddir/build/BUILD/uts-server-0.2.0' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/uts-server-0.2.0/CMakeFiles 1 2 3 4 [100%] Built target uts-server make[1]: Leaving directory `/builddir/build/BUILD/uts-server-0.2.0' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/uts-server-0.2.0/CMakeFiles 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UxFgI1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64 ++ dirname /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64 + cd uts-server-0.2.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64 /usr/bin/cmake -H/builddir/build/BUILD/uts-server-0.2.0 -B/builddir/build/BUILD/uts-server-0.2.0 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/uts-server-0.2.0/CMakeFiles /builddir/build/BUILD/uts-server-0.2.0/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/builddir/build/BUILD/uts-server-0.2.0' /usr/bin/make -f CMakeFiles/uts-server.dir/build.make CMakeFiles/uts-server.dir/depend make[2]: Entering directory `/builddir/build/BUILD/uts-server-0.2.0' cd /builddir/build/BUILD/uts-server-0.2.0 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/uts-server-0.2.0 /builddir/build/BUILD/uts-server-0.2.0 /builddir/build/BUILD/uts-server-0.2.0 /builddir/build/BUILD/uts-server-0.2.0 /builddir/build/BUILD/uts-server-0.2.0/CMakeFiles/uts-server.dir/DependInfo.cmake --color= make[2]: Leaving directory `/builddir/build/BUILD/uts-server-0.2.0' /usr/bin/make -f CMakeFiles/uts-server.dir/build.make CMakeFiles/uts-server.dir/build make[2]: Entering directory `/builddir/build/BUILD/uts-server-0.2.0' make[2]: Nothing to be done for `CMakeFiles/uts-server.dir/build'. make[2]: Leaving directory `/builddir/build/BUILD/uts-server-0.2.0' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/uts-server-0.2.0/CMakeFiles 1 2 3 4 [100%] Built target uts-server make[1]: Leaving directory `/builddir/build/BUILD/uts-server-0.2.0' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/uts-server-0.2.0/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory `/builddir/build/BUILD/uts-server-0.2.0' make[1]: Nothing to be done for `preinstall'. make[1]: Leaving directory `/builddir/build/BUILD/uts-server-0.2.0' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64/usr/bin/uts-server + mkdir -p /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64/etc/uts-server + install -m 640 conf/uts-server.cnf /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64/etc/uts-server/uts-server.cfg + mkdir -p /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64/etc/sysconfig + install -m 664 /builddir/build/SOURCES/uts-server /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64/etc/sysconfig/uts-server + mkdir -p /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64//usr/lib/systemd/system + install -m 644 /builddir/build/SOURCES/uts-server.service /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64/usr/lib/systemd/system/uts-server.service + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/uts-server-0.2.0 extracting debug info from /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64/usr/bin/uts-server dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 112 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: uts-server-0.2.0-0.3.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qGDHwT + umask 022 + cd /builddir/build/BUILD + cd uts-server-0.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64/usr/share/licenses/uts-server-0.2.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64/usr/share/licenses/uts-server-0.2.0 + cp -pr LICENSE /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64/usr/share/licenses/uts-server-0.2.0 + exit 0 Provides: config(uts-server) = 0.2.0-0.3 uts-server = 0.2.0-0.3 uts-server(x86-64) = 0.2.0-0.3 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcivetweb.so.1.13.0()(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) rtld(GNU_HASH) Processing files: uts-server-debuginfo-0.2.0-0.3.x86_64 Provides: uts-server-debuginfo = 0.2.0-0.3 uts-server-debuginfo(x86-64) = 0.2.0-0.3 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64 Wrote: /builddir/build/RPMS/uts-server-0.2.0-0.3.x86_64.rpm Wrote: /builddir/build/RPMS/uts-server-debuginfo-0.2.0-0.3.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vJsQjv + umask 022 + cd /builddir/build/BUILD + cd uts-server-0.2.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/uts-server-0.2.0-0.3.x86_64 + exit 0 Child return code was: 0