Mock Version: 1.2.12 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libdigidoc.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-2719/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libdigidoc.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-842385271.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libdigidoc-3.10.2-1.el7.centos.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libdigidoc.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-2719/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libdigidoc.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.S2Kq9k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libdigidoc-3.10.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/libdigidoc-3.10.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libdigidoc-3.10.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.G10TOo + umask 022 + cd /builddir/build/BUILD + cd libdigidoc-3.10.2 + 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 . -DCMAKE_INSTALL_SYSCONFDIR=/etc -- 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 -- Performing Test C11 -- Performing Test C11 - Success -- Performing Test C0X -- Performing Test C0X - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1") -- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.1e") -- Found PKCS11_Module: opensc-pkcs11.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7") -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Success -- Found Iconv: /usr/lib64/libc.so -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: 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/libdigidoc-3.10.2 + make -j2 /usr/bin/cmake -H/builddir/build/BUILD/libdigidoc-3.10.2 -B/builddir/build/BUILD/libdigidoc-3.10.2 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/builddir/build/BUILD/libdigidoc-3.10.2' make -f libdigidoc/CMakeFiles/digidoc.dir/build.make libdigidoc/CMakeFiles/digidoc.dir/depend make[2]: Entering directory `/builddir/build/BUILD/libdigidoc-3.10.2' cd /builddir/build/BUILD/libdigidoc-3.10.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libdigidoc-3.10.2 /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc /builddir/build/BUILD/libdigidoc-3.10.2 /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/CMakeFiles/digidoc.dir/DependInfo.cmake --color= Scanning dependencies of target digidoc make[2]: Leaving directory `/builddir/build/BUILD/libdigidoc-3.10.2' make -f libdigidoc/CMakeFiles/digidoc.dir/build.make libdigidoc/CMakeFiles/digidoc.dir/build make[2]: Entering directory `/builddir/build/BUILD/libdigidoc-3.10.2' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 2 /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 3 [ 9%] [ 9%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocLib.c.o Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocConfig.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocConfig.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConfig.c cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocLib.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocLib.c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConfig.c: In function 'initConfigStore': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConfig.c:330:93: warning: the address of 'g_szPrivateConfigFile' will always evaluate as 'true' [-Waddress] ddocDebug(3, "initConfigStore", "Reading private config file: %s", (g_szPrivateConfigFile ? g_szPrivateConfigFile : "NULL")); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocLib.c: In function 'getTempFileName': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocLib.c:688:13: warning: unused variable 'f' [-Wunused-variable] int f = 0; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocLib.c: In function 'setSignatureCert': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocLib.c:711:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err = ERR_OK; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocLib.c: In function 'getFullFileName': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocLib.c:644:12: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] _getcwd(szDest, len); ^ /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 4 [ 13%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocObj.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocObj.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c: In function 'ddocGetDataFileCachedData': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:375:11: warning: unused variable 'len' [-Wunused-variable] int len; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c: In function 'calculateSignedPropertiesDigest': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:3266:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buf3 = canonicalizeXML((char*)buf2, strlen((const char*)buf2)); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c: In function 'hasSignatureWithWrongDataFileHash': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:3310:9: warning: 'verifiedByWrongDataFileHash' is deprecated (declared at /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:3282) [-Wdeprecated-declarations] j = verifiedByWrongDataFileHash(pSigInfo); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c: In function 'ddocNotInfo_GetOcspRealDigest': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:4064:16: warning: pointer targets in passing argument 3 of 'bin2hex' differ in signedness [-Wpointer-sign] bin2hex((const byte*)p, l1, (byte*)buf2, &l2); ^ In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:26:0: /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConvert.h:70:17: note: expected 'char *' but argument is of type 'byte *' EXP_OPTION void bin2hex(const byte* bin, int blen, char* hex, int* len); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:4038:31: warning: unused variable 'l1' [-Wunused-variable] int err = ERR_OK, nIdx = 0, l1 = 0, l2 = 0, nCheckOcspLen = 0; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c: In function 'calculateSignatureWithPkcs12': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:4362:3: warning: pointer targets in passing argument 4 of 'calculateDigest' differ in signedness [-Wpointer-sign] err = calculateDigest((const byte*)mbuf1.pMem, mbuf1.nLen, DIGEST_SHA1, sigDig, &l2); ^ In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConvert.h:25:0, from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:26: /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocLib.h:123:16: note: expected 'byte *' but argument is of type 'char *' EXP_OPTION int calculateDigest(const byte* data, int nDataLen, int nDigestType, ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:4388:3: warning: pointer targets in passing argument 3 of 'encode' differ in signedness [-Wpointer-sign] encode((const byte*)sigDig, l2, (char*)signature, &sigLen); ^ In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:26:0: /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConvert.h:114:17: note: expected 'byte *' but argument is of type 'char *' EXP_OPTION void encode(const byte* raw, int rawlen, byte* buf, int* buflen); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:4402:3: warning: pointer targets in passing argument 2 of 'EVP_SignFinal' differ in signedness [-Wpointer-sign] err = EVP_SignFinal(&ctx, signature, &sigLen, pkey); ^ In file included from /usr/include/openssl/x509.h:73:0, from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.h:27, from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:23: /usr/include/openssl/evp.h:621:5: note: expected 'unsigned char *' but argument is of type 'char *' int EVP_SignFinal(EVP_MD_CTX *ctx,unsigned char *md,unsigned int *s, ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:4402:3: warning: pointer targets in passing argument 3 of 'EVP_SignFinal' differ in signedness [-Wpointer-sign] err = EVP_SignFinal(&ctx, signature, &sigLen, pkey); ^ In file included from /usr/include/openssl/x509.h:73:0, from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.h:27, from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:23: /usr/include/openssl/evp.h:621:5: note: expected 'unsigned int *' but argument is of type 'int *' int EVP_SignFinal(EVP_MD_CTX *ctx,unsigned char *md,unsigned int *s, ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c: In function 'DataFile_new': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.c:282:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf1, sizeof(buf1), hFile); ^ /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 5 [ 18%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocPKCS11.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocPKCS11.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocPKCS11.c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocPKCS11.c: In function 'closePKCS11Library': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocPKCS11.c:108:9: warning: variable 'rv' set but not used [-Wunused-but-set-variable] CK_RV rv; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocPKCS11.c: In function 'decryptWithEstID': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocPKCS11.c:859:12: warning: 'slId' may be used uninitialized in this function [-Wmaybe-uninitialized] hSession = OpenSession(slId, pin); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocPKCS11.c: In function 'findUsersCertificate': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocPKCS11.c:933:12: warning: 'slId' may be used uninitialized in this function [-Wmaybe-uninitialized] hSession = OpenSession(slId, NULL); ^ /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 6 [ 22%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocError.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocError.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocError.c /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 7 [ 27%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocParser.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocParser.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocParser.c /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 8 [ 31%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocDebug.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocDebug.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocDebug.c /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 9 [ 36%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocSAXParser.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocSAXParser.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.c /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 10 [ 40%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocMem.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocMem.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocMem.c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.c: In function 'handleStartSigningCertificate': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.c:1082:24: warning: variable 'mbuf2' set but not used [-Wunused-but-set-variable] DigiDocMemBuf mbuf1, mbuf2; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.c: In function 'handleStartEncapsulatedX509Certificate': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.c:1191:14: warning: variable 'pCertValue' set but not used [-Wunused-but-set-variable] CertValue *pCertValue; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.c: In function 'handleEndEncapsulatedX509Certificate': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.c:1218:15: warning: variable 'pNotInf' set but not used [-Wunused-but-set-variable] NotaryInfo* pNotInf = 0; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.c: In function 'handleEndSignatureValue': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.c:1625:24: warning: variable 'mbuf2' set but not used [-Wunused-but-set-variable] DigiDocMemBuf mbuf1, mbuf2; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.c: In function 'startElementHandler': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.c:1782:3: warning: implicit declaration of function 'validateElementPath' [-Wimplicit-function-declaration] pctx->errcode = validateElementPath(pctx->eCurr); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.c: In function 'charactersHandler': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.c:2081:7: warning: implicit declaration of function 'escapeTextNode' [-Wimplicit-function-declaration] pctx->errcode = escapeTextNode((const char*)ch, len, &p); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.c: In function 'ddocSaxReadSignedDocFromMemory': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.c:2789:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret, l2; ^ /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 11 [ 45%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocStack.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocStack.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocStack.c /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 12 [ 50%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocEnc.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocEnc.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEnc.c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEnc.c: In function 'dencEncryptedData_FindEncryptedKeyByCN': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEnc.c:374:10: warning: variable 'err' set but not used [-Wunused-but-set-variable] int i, err = ERR_OK; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEnc.c: In function 'dencEncryptedData_decryptUsingSlot': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEnc.c:1539:10: warning: unused variable 'l' [-Wunused-variable] long l; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEnc.c:1538:29: warning: unused variable 'pEncProp' [-Wunused-variable] DEncEncryptionProperty* pEncProp; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEnc.c: In function 'dencOrigContent_registerDigiDoc': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEnc.c:2466:19: warning: variable 'sVer' set but not used [-Wunused-but-set-variable] char buf[500], *sVer; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEnc.c: In function 'dencValidate': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEnc.c:2672:7: warning: unused variable 'errbuf' [-Wunused-variable] char errbuf[300]; ^ /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 13 [ 54%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocEncGen.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocEncGen.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEncGen.c /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 14 [ 59%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocEncSAXParser.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocEncSAXParser.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEncSAXParser.c /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 15 [ 63%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocCert.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocCert.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocCert.c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEncSAXParser.c: In function 'dencDecryptStartElementHandler': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEncSAXParser.c:701:11: warning: variable 'mime' set but not used [-Wunused-but-set-variable] char *mime = NULL; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEncSAXParser.c: In function 'dencDecryptEndElementHandler': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEncSAXParser.c:766:7: warning: implicit declaration of function 'ddocCertGetDN' [-Wimplicit-function-declaration] ddocCertGetDN(pctx->pCert, &mbuf1, 0); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocCert.c: In function 'ddocCertGetDNPart': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocCert.c:1475:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] m = (p ? strlen(p) : 0); ^ In file included from /usr/include/openssl/pqueue.h:65:0, from /usr/include/openssl/dtls1.h:64, from /usr/include/openssl/ssl.h:1323, from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocCert.c:40: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocCert.c: In function 'ddocGetDNPartFromString': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocCert.c:1598:23: warning: unused variable 'j' [-Wunused-variable] int err = ERR_OK, j, l; ^ /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 16 [ 68%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocConvert.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocConvert.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConvert.c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConvert.c: In function 'decodeGeneralizedTime': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConvert.c:1048:7: warning: variable 'gmt' set but not used [-Wunused-but-set-variable] int gmt=0; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConvert.c: In function 'decodeUTCTime': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConvert.c:1097:7: warning: variable 'gmt' set but not used [-Wunused-but-set-variable] int gmt=0; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConvert.c: In function 'str2asn1time': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConvert.c:1291:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc, dmz = 0; ^ /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 17 [ 72%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocGen.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocGen.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c: In function 'canonicalizeXMLBlock': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:392:4: warning: pointer targets in passing argument 2 of 'xmlXPathRegisterNs' differ in signedness [-Wpointer-sign] if(xmlXPathRegisterNs(xpathCtx, prefix, "http://www.w3.org/2000/09/xmldsig#") != 0) { ^ In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:46:0: /usr/include/libxml2/libxml/xpathInternals.h:425:3: note: expected 'const xmlChar *' but argument is of type 'char *' xmlXPathRegisterNs (xmlXPathContextPtr ctxt, ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:392:4: warning: pointer targets in passing argument 3 of 'xmlXPathRegisterNs' differ in signedness [-Wpointer-sign] if(xmlXPathRegisterNs(xpathCtx, prefix, "http://www.w3.org/2000/09/xmldsig#") != 0) { ^ In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:46:0: /usr/include/libxml2/libxml/xpathInternals.h:425:3: note: expected 'const xmlChar *' but argument is of type 'char *' xmlXPathRegisterNs (xmlXPathContextPtr ctxt, ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:400:2: warning: pointer targets in passing argument 2 of 'xmlXPathRegisterNs' differ in signedness [-Wpointer-sign] if(xmlXPathRegisterNs(xpathCtx, "xs", "http://uri.etsi.org/01903/v1.3.2#") != 0) { ^ In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:46:0: /usr/include/libxml2/libxml/xpathInternals.h:425:3: note: expected 'const xmlChar *' but argument is of type 'char *' xmlXPathRegisterNs (xmlXPathContextPtr ctxt, ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:400:2: warning: pointer targets in passing argument 3 of 'xmlXPathRegisterNs' differ in signedness [-Wpointer-sign] if(xmlXPathRegisterNs(xpathCtx, "xs", "http://uri.etsi.org/01903/v1.3.2#") != 0) { ^ In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:46:0: /usr/include/libxml2/libxml/xpathInternals.h:425:3: note: expected 'const xmlChar *' but argument is of type 'char *' xmlXPathRegisterNs (xmlXPathContextPtr ctxt, ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:407:5: warning: pointer targets in passing argument 1 of 'xmlXPathEvalExpression' differ in signedness [-Wpointer-sign] xpathObj = xmlXPathEvalExpression(block, xpathCtx); ^ In file included from /usr/include/libxml2/libxml/debugXML.h:19:0, from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:42: /usr/include/libxml2/libxml/xpath.h:522:7: note: expected 'const xmlChar *' but argument is of type 'char *' xmlXPathEvalExpression (const xmlChar *str, ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c: In function 'createXMLSignedProperties': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:584:16: warning: variable 'err' set but not used [-Wunused-but-set-variable] int len1, i, err; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:583:32: warning: unused variable 'p1' [-Wunused-variable] char buf1[1024], *pRet = 0, *p1, *p2; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c: In function 'createXMLSignedInfo': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:797:13: warning: variable 'pDF' set but not used [-Wunused-but-set-variable] DataFile* pDF; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:791:10: warning: variable 'err' set but not used [-Wunused-but-set-variable] int i, err, l1; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c: In function 'createSignedDoc': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:1802:24: warning: unused variable 'i' [-Wunused-variable] int nWait, nRetries, i; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:1802:14: warning: unused variable 'nRetries' [-Wunused-variable] int nWait, nRetries, i; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.c:1802:7: warning: unused variable 'nWait' [-Wunused-variable] int nWait, nRetries, i; ^ /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 18 [ 77%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocVerify.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocVerify.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocVerify.c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocVerify.c: In function 'validateElementPath': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocVerify.c:345:25: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] XmlElemDef* pRoot = &eSignedDoc; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocVerify.c: In function 'verifyEstIDSignature': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocVerify.c:537:21: warning: unused variable 'nCheckSigValAsn1' [-Wunused-variable] int err = ERR_OK, nCheckSigValAsn1 = 1; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocVerify.c: In function 'verifyCertDnPart': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocVerify.c:900:5: warning: implicit declaration of function 'ddocCertGetDNPart' [-Wimplicit-function-declaration] err = ddocCertGetDNPart(pCert, &mbuf1, nNid, 1); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocVerify.c:901:5: warning: implicit declaration of function 'ddocGetDNPartFromString' [-Wimplicit-function-declaration] err = ddocGetDNPartFromString(sDN, sId, &mbuf2); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocVerify.c: In function 'verifyNotaryInfoCERT2': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocVerify.c:1489:21: warning: unused variable 'buf3' [-Wunused-variable] char buf1[100], buf3[500]; ^ /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 19 [ 81%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocOCSP.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocOCSP.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocOCSP.c /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 20 [ 86%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocDfExtract.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocDfExtract.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocDfExtract.c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocOCSP.c: In function 'createOCSPCertid': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocOCSP.c:867:2: warning: pointer targets in passing argument 3 of 'bin2hex' differ in signedness [-Wpointer-sign] bin2hex((const byte*)pId->issuerKeyHash->data, pId->issuerKeyHash->length, (byte*)buf1, &l1); ^ In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocOCSP.c:27:0: /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConvert.h:70:17: note: expected 'char *' but argument is of type 'byte *' EXP_OPTION void bin2hex(const byte* bin, int blen, char* hex, int* len); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocOCSP.c: In function 'createOCSPRequest': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocOCSP.c:905:15: warning: pointer targets in passing argument 1 of 'bin2hex' differ in signedness [-Wpointer-sign] bin2hex((const char*)nonce, nlen, (byte*)buf2, &l2); ^ In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocOCSP.c:27:0: /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConvert.h:70:17: note: expected 'const byte *' but argument is of type 'const char *' EXP_OPTION void bin2hex(const byte* bin, int blen, char* hex, int* len); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocOCSP.c:905:15: warning: pointer targets in passing argument 3 of 'bin2hex' differ in signedness [-Wpointer-sign] bin2hex((const char*)nonce, nlen, (byte*)buf2, &l2); ^ In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocOCSP.c:27:0: /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConvert.h:70:17: note: expected 'char *' but argument is of type 'byte *' EXP_OPTION void bin2hex(const byte* bin, int blen, char* hex, int* len); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocDfExtract.c: In function 'ddocExtractDataFile': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocDfExtract.c:174:15: warning: 'la' may be used uninitialized in this function [-Wmaybe-uninitialized] attr[la] = chars[i]; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocDfExtract.c:141:12: warning: 'lt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(lt < sizeof(tag)-1) { ^ /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 21 [ 90%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocHTTP.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocHTTP.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocHTTP.c /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 22 [ 95%] Building C object libdigidoc/CMakeFiles/digidoc.dir/DigiDocService.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -Ddigidoc_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -fPIC -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/digidoc.dir/DigiDocService.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocService.c Copying OS X content libdigidoc/Headers/DigiDocCert.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocCert.h libdigidoc/Headers/DigiDocCert.h /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocService.c: In function 'ddsGetStatusWithFile': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocService.c:327:13: warning: implicit declaration of function 'ddocAddSignatureFromMemory' [-Wimplicit-function-declaration] err = ddocAddSignatureFromMemory(pSigDoc, szFileName, (const void*)p1, strlen(p1)); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocService.c:252:20: warning: unused variable 'pSigInfo' [-Wunused-variable] SignatureInfo *pSigInfo = 0; ^ Copying OS X content libdigidoc/Headers/DigiDocConfig.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConfig.h libdigidoc/Headers/DigiDocConfig.h Copying OS X content libdigidoc/Headers/DigiDocConvert.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConvert.h libdigidoc/Headers/DigiDocConvert.h Copying OS X content libdigidoc/Headers/DigiDocDebug.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocDebug.h libdigidoc/Headers/DigiDocDebug.h Copying OS X content libdigidoc/Headers/DigiDocDefs.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocDefs.h libdigidoc/Headers/DigiDocDefs.h Copying OS X content libdigidoc/Headers/DigiDocDfExtract.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocDfExtract.h libdigidoc/Headers/DigiDocDfExtract.h Copying OS X content libdigidoc/Headers/DigiDocEnc.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEnc.h libdigidoc/Headers/DigiDocEnc.h Copying OS X content libdigidoc/Headers/DigiDocEncGen.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEncGen.h libdigidoc/Headers/DigiDocEncGen.h Copying OS X content libdigidoc/Headers/DigiDocEncSAXParser.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocEncSAXParser.h libdigidoc/Headers/DigiDocEncSAXParser.h Copying OS X content libdigidoc/Headers/DigiDocError.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocError.h libdigidoc/Headers/DigiDocError.h Copying OS X content libdigidoc/Headers/DigiDocGen.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocGen.h libdigidoc/Headers/DigiDocGen.h Copying OS X content libdigidoc/Headers/DigiDocHTTP.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocHTTP.h libdigidoc/Headers/DigiDocHTTP.h Copying OS X content libdigidoc/Headers/DigiDocLib.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocLib.h libdigidoc/Headers/DigiDocLib.h Copying OS X content libdigidoc/Headers/DigiDocMem.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocMem.h libdigidoc/Headers/DigiDocMem.h Copying OS X content libdigidoc/Headers/DigiDocOCSP.h Copying OS X content libdigidoc/Headers/DigiDocObj.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocOCSP.h libdigidoc/Headers/DigiDocOCSP.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocObj.h libdigidoc/Headers/DigiDocObj.h Copying OS X content libdigidoc/Headers/DigiDocSAXParser.h Copying OS X content libdigidoc/Headers/DigiDocParser.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocSAXParser.h libdigidoc/Headers/DigiDocSAXParser.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocParser.h libdigidoc/Headers/DigiDocParser.h Copying OS X content libdigidoc/Headers/DigiDocService.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocService.h libdigidoc/Headers/DigiDocService.h Copying OS X content libdigidoc/Headers/DigiDocStack.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocStack.h libdigidoc/Headers/DigiDocStack.h Copying OS X content libdigidoc/Headers/DigiDocVerify.h /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocVerify.h libdigidoc/Headers/DigiDocVerify.h Copying OS X content libdigidoc/Resources/digidoc.conf /usr/bin/cmake -E copy /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/digidoc.conf libdigidoc/Resources/digidoc.conf Linking C shared library libdigidoc.so cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cmake -E cmake_link_script CMakeFiles/digidoc.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -Wl,-z,relro -shared -Wl,-soname,libdigidoc.so.2 -o libdigidoc.so.3.10.1 CMakeFiles/digidoc.dir/DigiDocConfig.c.o CMakeFiles/digidoc.dir/DigiDocLib.c.o CMakeFiles/digidoc.dir/DigiDocObj.c.o CMakeFiles/digidoc.dir/DigiDocPKCS11.c.o CMakeFiles/digidoc.dir/DigiDocError.c.o CMakeFiles/digidoc.dir/DigiDocParser.c.o CMakeFiles/digidoc.dir/DigiDocDebug.c.o CMakeFiles/digidoc.dir/DigiDocSAXParser.c.o CMakeFiles/digidoc.dir/DigiDocMem.c.o CMakeFiles/digidoc.dir/DigiDocStack.c.o CMakeFiles/digidoc.dir/DigiDocEnc.c.o CMakeFiles/digidoc.dir/DigiDocEncGen.c.o CMakeFiles/digidoc.dir/DigiDocEncSAXParser.c.o CMakeFiles/digidoc.dir/DigiDocCert.c.o CMakeFiles/digidoc.dir/DigiDocConvert.c.o CMakeFiles/digidoc.dir/DigiDocGen.c.o CMakeFiles/digidoc.dir/DigiDocVerify.c.o CMakeFiles/digidoc.dir/DigiDocOCSP.c.o CMakeFiles/digidoc.dir/DigiDocDfExtract.c.o CMakeFiles/digidoc.dir/DigiDocHTTP.c.o CMakeFiles/digidoc.dir/DigiDocService.c.o -ldl -lxml2 -lssl -lcrypto -lz cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cmake -E cmake_symlink_library libdigidoc.so.3.10.1 libdigidoc.so.2 libdigidoc.so make[2]: Leaving directory `/builddir/build/BUILD/libdigidoc-3.10.2' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [ 95%] Built target digidoc make -f libdigidoc/CMakeFiles/cdigidoc.dir/build.make libdigidoc/CMakeFiles/cdigidoc.dir/depend make[2]: Entering directory `/builddir/build/BUILD/libdigidoc-3.10.2' cd /builddir/build/BUILD/libdigidoc-3.10.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libdigidoc-3.10.2 /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc /builddir/build/BUILD/libdigidoc-3.10.2 /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/CMakeFiles/cdigidoc.dir/DependInfo.cmake --color= Scanning dependencies of target cdigidoc make[2]: Leaving directory `/builddir/build/BUILD/libdigidoc-3.10.2' make -f libdigidoc/CMakeFiles/cdigidoc.dir/build.make libdigidoc/CMakeFiles/cdigidoc.dir/build make[2]: Entering directory `/builddir/build/BUILD/libdigidoc-3.10.2' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 1 [100%] Building C object libdigidoc/CMakeFiles/cdigidoc.dir/cdigidoc.c.o cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cc -DBUILD_DATE=\"01.02.2016\" -DBUILD_VER=0 -DDOMAINURL=\"ria.ee\" -DMAJOR_VER=3 -DMINOR_VER=10 -DORG=\"RIA\" -DRELEASE_VER=1 -DVER_SUFFIX=\"\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -I/builddir/build/BUILD/libdigidoc-3.10.2 -I/usr/include/libxml2 -o CMakeFiles/cdigidoc.dir/cdigidoc.c.o -c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c: In function 'findFileExt': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:545:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(szFileName && strlen(szFileName) > 0) { ^ In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:49:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:546:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for(i = strlen(szFileName)-1; (i > 0) && (szFileName[i] != '.'); i--); ^ In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:49:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c: In function 'cmdReadDigiDoc': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:583:3: warning: pointer targets in passing argument 1 of 'findFileExt' differ in signedness [-Wpointer-sign] pExt = findFileExt(p_szInFile); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:541:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char* findFileExt(unsigned char* szFileName) ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:585:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(pExt && strcmp(pExt, "cdoc") == 0) { ^ In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:49:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:585:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(pExt && strcmp(pExt, "cdoc") == 0) { ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:585:3: note: expected 'const char *' but argument is of type 'unsigned char *' /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:585:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:49:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:585:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(pExt && strcmp(pExt, "cdoc") == 0) { ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:585:3: note: expected 'const char *' but argument is of type 'unsigned char *' /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:585:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:585:3: note: expected 'const char *' but argument is of type 'unsigned char *' /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:585:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:585:3: note: expected 'const char *' but argument is of type 'unsigned char *' /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:587:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] } else if(pExt && strcmp(pExt, "ddoc") == 0) { ^ In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:49:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:587:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if(pExt && strcmp(pExt, "ddoc") == 0) { ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:587:3: note: expected 'const char *' but argument is of type 'unsigned char *' /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:587:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:49:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:587:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] } else if(pExt && strcmp(pExt, "ddoc") == 0) { ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:587:3: note: expected 'const char *' but argument is of type 'unsigned char *' /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:587:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:587:3: note: expected 'const char *' but argument is of type 'unsigned char *' /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:587:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:587:3: note: expected 'const char *' but argument is of type 'unsigned char *' /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c: In function 'printCertificateInfo': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:724:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err, p; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c: In function 'isError': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:834:5: warning: implicit declaration of function 'isWarning' [-Wimplicit-function-declaration] return (nErrCd != ERR_OK && !isWarning(pSigDoc, nErrCd)); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c: In function 'cmdEncrypt': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:1170:26: warning: unused variable 'i' [-Wunused-variable] int len, err = ERR_OK, i = 0; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:1168:14: warning: unused variable 'pSigDoc' [-Wunused-variable] SignedDoc *pSigDoc = 0; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c: In function 'cmdEncryptTestSet': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:1437:3: warning: pointer targets in passing argument 3 of 'bin2hex' differ in signedness [-Wpointer-sign] bin2hex((const byte*)p, nSize, (byte*)p2, &l2); ^ In file included from /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:34:0: /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/DigiDocConvert.h:70:17: note: expected 'char *' but argument is of type 'byte *' EXP_OPTION void bin2hex(const byte* bin, int blen, char* hex, int* len); ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c: In function 'cmdMidSign': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:2206:19: warning: variable 'mbuf1' set but not used [-Wunused-but-set-variable] DigiDocMemBuf mbuf1; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c: In function 'runMidTestCmds': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:2327:26: warning: unused variable 'e1' [-Wunused-variable] int err = ERR_OK, i, e1; ^ /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c: In function 'main': /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/cdigidoc.c:2525:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(p_szOutFile && !err) ^ Linking C executable cdigidoc cd /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc && /usr/bin/cmake -E cmake_link_script CMakeFiles/cdigidoc.dir/link.txt --verbose=1 /usr/bin/cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fvisibility=hidden -Wl,-z,relro CMakeFiles/cdigidoc.dir/cdigidoc.c.o -o cdigidoc -rdynamic libdigidoc.so.3.10.1 -ldl -lxml2 -lssl -lcrypto -lz -Wl,-rpath,/builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc: make[2]: Leaving directory `/builddir/build/BUILD/libdigidoc-3.10.2' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 1 [100%] Built target cdigidoc make[1]: Leaving directory `/builddir/build/BUILD/libdigidoc-3.10.2' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.I6ZKCO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64 + cd libdigidoc-3.10.2 + make install DESTDIR=/builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64 /usr/bin/cmake -H/builddir/build/BUILD/libdigidoc-3.10.2 -B/builddir/build/BUILD/libdigidoc-3.10.2 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory `/builddir/build/BUILD/libdigidoc-3.10.2' make -f libdigidoc/CMakeFiles/digidoc.dir/build.make libdigidoc/CMakeFiles/digidoc.dir/depend make[2]: Entering directory `/builddir/build/BUILD/libdigidoc-3.10.2' cd /builddir/build/BUILD/libdigidoc-3.10.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libdigidoc-3.10.2 /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc /builddir/build/BUILD/libdigidoc-3.10.2 /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/CMakeFiles/digidoc.dir/DependInfo.cmake --color= make[2]: Leaving directory `/builddir/build/BUILD/libdigidoc-3.10.2' make -f libdigidoc/CMakeFiles/digidoc.dir/build.make libdigidoc/CMakeFiles/digidoc.dir/build make[2]: Entering directory `/builddir/build/BUILD/libdigidoc-3.10.2' make[2]: Nothing to be done for `libdigidoc/CMakeFiles/digidoc.dir/build'. make[2]: Leaving directory `/builddir/build/BUILD/libdigidoc-3.10.2' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [ 95%] Built target digidoc make -f libdigidoc/CMakeFiles/cdigidoc.dir/build.make libdigidoc/CMakeFiles/cdigidoc.dir/depend make[2]: Entering directory `/builddir/build/BUILD/libdigidoc-3.10.2' cd /builddir/build/BUILD/libdigidoc-3.10.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libdigidoc-3.10.2 /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc /builddir/build/BUILD/libdigidoc-3.10.2 /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc /builddir/build/BUILD/libdigidoc-3.10.2/libdigidoc/CMakeFiles/cdigidoc.dir/DependInfo.cmake --color= make[2]: Leaving directory `/builddir/build/BUILD/libdigidoc-3.10.2' make -f libdigidoc/CMakeFiles/cdigidoc.dir/build.make libdigidoc/CMakeFiles/cdigidoc.dir/build make[2]: Entering directory `/builddir/build/BUILD/libdigidoc-3.10.2' make[2]: Nothing to be done for `libdigidoc/CMakeFiles/cdigidoc.dir/build'. make[2]: Leaving directory `/builddir/build/BUILD/libdigidoc-3.10.2' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 1 [100%] Built target cdigidoc make[1]: Leaving directory `/builddir/build/BUILD/libdigidoc-3.10.2' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libdigidoc-3.10.2/CMakeFiles 0 make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory `/builddir/build/BUILD/libdigidoc-3.10.2' make[1]: Nothing to be done for `preinstall'. make[1]: Leaving directory `/builddir/build/BUILD/libdigidoc-3.10.2' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/lib64/libdigidoc.so.3.10.1 -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/lib64/libdigidoc.so.2 -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/lib64/libdigidoc.so -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocCert.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocConfig.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocConvert.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocDebug.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocDefs.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocDfExtract.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocEncGen.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocEnc.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocEncSAXParser.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocError.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocGen.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocLib.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocMem.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocObj.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocOCSP.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocParser.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocSAXParser.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocStack.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocVerify.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocHTTP.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/include/libdigidoc/DigiDocService.h -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/etc/digidoc.conf -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/lib64/pkgconfig/libdigidoc.pc -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/TEST-SK OCSP 2005.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/TEST EID-SK 2011.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/KLASS3-SK OCSP 2006.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/EID-SK 2007.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/ESTEID-SK 2007 OCSP.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/ESTEID-SK 2011.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/KLASS3-SK 2010.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/EID-SK.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/TEST ESTEID-SK 2011.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/ESTEID-SK OCSP 2005.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/EID-SK 2007 OCSP 2010.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/ESTEID-SK OCSP.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/TEST Juur-SK.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/KLASS3-SK OCSP 2009.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/ESTEID-SK 2007.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/JUUR-SK.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/TEST KLASS3 2010.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/TEST SK OCSP 2011.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/KLASS3-SK.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/EID-SK OCSP 2006.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/KLASS3-SK 2010 OCSP.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/KLASS3-SK OCSP.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/EID-SK 2007 OCSP.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/EID-SK OCSP.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/TEST-SK.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/ESTEID-SK 2015.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/ESTEID-SK.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/EID-SK 2011.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/ESTEID-SK 2007 OCSP 2010.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/TEST EECCRCA.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/KLASS3-SK 2010 EECCRCA.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/SK OCSP 2011.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc/EECCRCA.crt -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/bin/cdigidoc -- Set runtime path of "/builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/bin/cdigidoc" to "@loader_path/../../../..:@loader_path/../.." -- Installing: /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/man/man1/cdigidoc.1 + rm -rf /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/libdigidoc + /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/libdigidoc-3.10.2 extracting debug info from /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/bin/cdigidoc extracting debug info from /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/lib64/libdigidoc.so.3.10.1 /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libdigidoc.so.3.10.1.debug to /usr/lib/debug/usr/lib64/libdigidoc.so.debug symlinked /usr/lib/debug/usr/lib64/libdigidoc.so.3.10.1.debug to /usr/lib/debug/usr/lib64/libdigidoc.so.2.debug 2783 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ypSK6f + umask 022 + cd /builddir/build/BUILD + cd libdigidoc-3.10.2 + exit 0 Processing files: libdigidoc-3.10.2-1.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.STiiBH + umask 022 + cd /builddir/build/BUILD + cd libdigidoc-3.10.2 + DOCDIR=/builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/doc/libdigidoc-3.10.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/doc/libdigidoc-3.10.2 + cp -pr AUTHORS /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/doc/libdigidoc-3.10.2 + cp -pr README.md /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/doc/libdigidoc-3.10.2 + cp -pr CONTRIBUTING.md /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/doc/libdigidoc-3.10.2 + cp -pr RELEASE-NOTES.txt /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/doc/libdigidoc-3.10.2 + cp -pr doc/SK-CDD-PRG-GUIDE.docx doc/SK-CDD-PRG-GUIDE.pdf doc/SK-COM-PRG-GUIDE.docx doc/SK-COM-PRG-GUIDE.pdf doc/doxygen-license.txt doc/mit-license.txt doc/openssl-license.txt doc/sample_files_CDD.zip doc/zlib-license.txt /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/doc/libdigidoc-3.10.2 + exit 0 Provides: config(libdigidoc) = 3.10.2-1.el7.centos libdigidoc = 3.10.2-1.el7.centos libdigidoc(x86-64) = 3.10.2-1.el7.centos libdigidoc.so.2()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libdigidoc.so.2()(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.0)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: libdigidoc-devel-3.10.2-1.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SnHQs9 + umask 022 + cd /builddir/build/BUILD + cd libdigidoc-3.10.2 + DOCDIR=/builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/doc/libdigidoc-devel-3.10.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/doc/libdigidoc-devel-3.10.2 + cp -pr AUTHORS /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/doc/libdigidoc-devel-3.10.2 + cp -pr README.md /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/doc/libdigidoc-devel-3.10.2 + cp -pr CONTRIBUTING.md /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/doc/libdigidoc-devel-3.10.2 + cp -pr RELEASE-NOTES.txt /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/doc/libdigidoc-devel-3.10.2 + cp -pr doc/SK-CDD-PRG-GUIDE.docx doc/SK-CDD-PRG-GUIDE.pdf doc/SK-COM-PRG-GUIDE.docx doc/SK-COM-PRG-GUIDE.pdf doc/doxygen-license.txt doc/mit-license.txt doc/openssl-license.txt doc/sample_files_CDD.zip doc/zlib-license.txt /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64/usr/share/doc/libdigidoc-devel-3.10.2 + exit 0 Provides: libdigidoc-devel = 3.10.2-1.el7.centos libdigidoc-devel(x86-64) = 3.10.2-1.el7.centos pkgconfig(libdigidoc) = 3.10.1.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libdigidoc.so.2()(64bit) Processing files: libdigidoc-debuginfo-3.10.2-1.el7.centos.x86_64 Provides: libdigidoc-debuginfo = 3.10.2-1.el7.centos libdigidoc-debuginfo(x86-64) = 3.10.2-1.el7.centos 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/libdigidoc-3.10.2-1.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-842385271.novalocal Wrote: /builddir/build/RPMS/libdigidoc-3.10.2-1.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/libdigidoc-devel-3.10.2-1.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/libdigidoc-debuginfo-3.10.2-1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.aT0P3l + umask 022 + cd /builddir/build/BUILD + cd libdigidoc-3.10.2 + rm -rf /builddir/build/BUILDROOT/libdigidoc-3.10.2-1.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->