D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/dogecoin-1.8.3-8.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.J6nJUm + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf dogecoin-1.8.3 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/v1.8.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dogecoin-1.8.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/dogecoin-1.8.3-fix-boost-get-usage.patch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/dogecoin-1.8.3-miniupnpc14.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + '[' '!' -e Makefile.in ']' + ./autogen.sh configure.ac:118: installing 'src/build-aux/compile' configure.ac:12: installing 'src/build-aux/config.guess' configure.ac:12: installing 'src/build-aux/config.sub' configure.ac:37: installing 'src/build-aux/install-sh' configure.ac:37: installing 'src/build-aux/missing' configure.ac:694: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:694: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am: installing 'src/build-aux/depcomp' configure.ac:694: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:694: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') parallel-tests: installing 'src/build-aux/test-driver' configure.ac:694: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.L4qH22 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd dogecoin-1.8.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CPPFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/db53' + CPPFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/db53' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64 --with-incompatible-bdb checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... g++ -E checking for gcc... gcc checking whether we are using the GNU Objective C compiler... no checking whether gcc accepts -g... no checking dependency style of gcc... gcc3 checking whether ln -s works... yes checking for g++... g++ checking whether we are using the GNU Objective C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for ar... /usr/bin/ar checking for ranlib... /usr/bin/ranlib checking for strip... /usr/bin/strip checking for gcov... /usr/bin/gcov checking for lcov... no checking for java... no checking for genhtml... no checking for git... no checking for ccache... no checking for xgettext... /usr/bin/xgettext checking for hexdump... /usr/bin/hexdump checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking whether the linker accepts -Wl,--large-address-aware... no checking whether C++ compiler accepts -Wstack-protector... yes checking whether C++ compiler accepts -fstack-protector-all... yes checking whether C++ compiler accepts -fPIE... yes checking whether C++ preprocessor accepts -D_FORTIFY_SOURCE=2... yes checking whether C++ preprocessor accepts -U_FORTIFY_SOURCE... yes checking whether the linker accepts -Wl,--dynamicbase... no checking whether the linker accepts -Wl,--nxcompat... no checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -pie... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for strings.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for MSG_NOSIGNAL... yes checking for Berkeley DB C++ headers... default configure: WARNING: Found Berkeley DB other than 5.1; wallets opened by this build will not be portable! checking for main in -ldb_cxx-5.1... no checking for main in -ldb_cxx... yes checking miniupnpc/miniwget.h usability... yes checking miniupnpc/miniwget.h presence... yes checking for miniupnpc/miniwget.h... yes checking for main in -lminiupnpc... yes checking miniupnpc/miniupnpc.h usability... yes checking miniupnpc/miniupnpc.h presence... yes checking for miniupnpc/miniupnpc.h... yes checking for main in -lminiupnpc... (cached) yes checking miniupnpc/upnpcommands.h usability... yes checking miniupnpc/upnpcommands.h presence... yes checking for miniupnpc/upnpcommands.h... yes checking for main in -lminiupnpc... (cached) yes checking miniupnpc/upnperrors.h usability... yes checking miniupnpc/upnperrors.h presence... yes checking for miniupnpc/upnperrors.h... yes checking for main in -lminiupnpc... (cached) yes checking for boostlib >= 1.20.0... yes checking whether the Boost::System library is available... yes checking for exit in -lboost_system... yes checking whether the Boost::Filesystem library is available... yes checking for exit in -lboost_filesystem... yes checking whether the Boost::Program_Options library is available... yes checking for exit in -lboost_program_options... yes checking whether the Boost::Thread library is available... yes checking for exit in -lboost_thread... yes checking whether the Boost::Chrono library is available... yes checking for exit in -lboost_chrono... yes checking whether the Boost::Unit_Test_Framework library is available... yes checking for dynamic linked boost test... yes checking for SSL... yes checking for CRYPTO... yes checking for PROTOBUF... yes checking for QR... yes checking for protoc... /usr/bin/protoc checking whether to build dogecoind... yes checking whether to build bitcoin-cli... yes checking for QT... yes checking for QT_TEST... yes checking for QT_DBUS... yes checking for moc-qt4... no checking for moc4... no checking for moc... /usr/lib64/qt4/bin/moc checking for uic-qt4... no checking for uic4... no checking for uic... /usr/lib64/qt4/bin/uic checking for rcc-qt4... no checking for rcc4... no checking for rcc... /usr/lib64/qt4/bin/rcc checking for lrelease-qt4... no checking for lrelease4... no checking for lrelease... /usr/lib64/qt4/bin/lrelease checking for lupdate-qt4... no checking for lupdate4... no checking for lupdate... /usr/lib64/qt4/bin/lupdate checking whether to build Dogecoin Core GUI... yes (Qt4) checking if ccache should be used... no checking if wallet should be enabled... yes checking whether to build with support for UPnP... yes checking whether to build with UPnP enabled by default... no checking whether to build GUI with support for D-Bus... yes checking whether to build GUI with support for QR codes... yes checking whether to build test_bitcoin-qt... yes checking whether to build test_bitcoin... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/test/Makefile config.status: creating src/qt/Makefile config.status: creating src/qt/test/Makefile config.status: creating share/setup.nsi config.status: creating share/qt/Info.plist config.status: creating qa/pull-tester/run-bitcoind-for-test.sh config.status: creating qa/pull-tester/build-tests.sh config.status: creating src/bitcoin-config.h config.status: executing depfiles commands + make Making all in src make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dogecoin-1.8.3/src' make all-recursive make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dogecoin-1.8.3/src' Making all in . make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dogecoin-1.8.3/src' CXX addrman.o In file included from chainparams.h:9:0, from protocol.h:16, from addrman.h:9, from addrman.cpp:5: bignum.h:56:24: error: invalid use of incomplete type 'BIGNUM {aka struct bignum_st}' class CBigNum : public BIGNUM ^~~~~~ In file included from /usr/include/openssl/crypto.h:31:0, from allocators.h:15, from serialize.h:9, from netbase.h:13, from addrman.h:8, from addrman.cpp:5: /usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of 'BIGNUM {aka struct bignum_st}' typedef struct bignum_st BIGNUM; ^~~~~~~~~ In file included from chainparams.h:9:0, from protocol.h:16, from addrman.h:9, from addrman.cpp:5: bignum.h: In constructor 'CBigNum::CBigNum()': bignum.h:61:9: error: 'BN_init' was not declared in this scope BN_init(this); ^~~~~~~ bignum.h:61:9: note: suggested alternative: 'BN_print' BN_init(this); ^~~~~~~ BN_print bignum.h: In copy constructor 'CBigNum::CBigNum(const CBigNum&)': bignum.h:66:9: error: 'BN_init' was not declared in this scope BN_init(this); ^~~~~~~ bignum.h:66:9: note: suggested alternative: 'BN_print' BN_init(this); ^~~~~~~ BN_print bignum.h:67:30: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)' if (!BN_copy(this, &b)) ^ bignum.h:69:31: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'void BN_clear_free(BIGNUM*)' BN_clear_free(this); ^ bignum.h: In member function 'CBigNum& CBigNum::operator=(const CBigNum&)': bignum.h:76:30: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)' if (!BN_copy(this, &b)) ^ bignum.h: In destructor 'CBigNum::~CBigNum()': bignum.h:83:27: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'void BN_clear_free(BIGNUM*)' BN_clear_free(this); ^ bignum.h: In constructor 'CBigNum::CBigNum(signed char)': bignum.h:87:37: error: 'BN_init' was not declared in this scope CBigNum(signed char n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^~~~~~~ bignum.h:87:37: note: suggested alternative: 'BN_print' CBigNum(signed char n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^~~~~~~ BN_print bignum.h: In constructor 'CBigNum::CBigNum(short int)': bignum.h:88:37: error: 'BN_init' was not declared in this scope CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^~~~~~~ bignum.h:88:37: note: suggested alternative: 'BN_print' CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^~~~~~~ BN_print bignum.h: In constructor 'CBigNum::CBigNum(int)': bignum.h:89:37: error: 'BN_init' was not declared in this scope CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^~~~~~~ bignum.h:89:37: note: suggested alternative: 'BN_print' CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^~~~~~~ BN_print bignum.h: In constructor 'CBigNum::CBigNum(long int)': bignum.h:90:37: error: 'BN_init' was not declared in this scope CBigNum(long n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^~~~~~~ bignum.h:90:37: note: suggested alternative: 'BN_print' CBigNum(long n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^~~~~~~ BN_print bignum.h: In constructor 'CBigNum::CBigNum(long long int)': bignum.h:91:37: error: 'BN_init' was not declared in this scope CBigNum(long long n) { BN_init(this); setint64(n); } ^~~~~~~ bignum.h:91:37: note: suggested alternative: 'BN_print' CBigNum(long long n) { BN_init(this); setint64(n); } ^~~~~~~ BN_print bignum.h: In constructor 'CBigNum::CBigNum(unsigned char)': bignum.h:92:37: error: 'BN_init' was not declared in this scope CBigNum(unsigned char n) { BN_init(this); setulong(n); } ^~~~~~~ bignum.h:92:37: note: suggested alternative: 'BN_print' CBigNum(unsigned char n) { BN_init(this); setulong(n); } ^~~~~~~ BN_print bignum.h: In constructor 'CBigNum::CBigNum(short unsigned int)': bignum.h:93:37: error: 'BN_init' was not declared in this scope CBigNum(unsigned short n) { BN_init(this); setulong(n); } ^~~~~~~ bignum.h:93:37: note: suggested alternative: 'BN_print' CBigNum(unsigned short n) { BN_init(this); setulong(n); } ^~~~~~~ BN_print bignum.h: In constructor 'CBigNum::CBigNum(unsigned int)': bignum.h:94:37: error: 'BN_init' was not declared in this scope CBigNum(unsigned int n) { BN_init(this); setulong(n); } ^~~~~~~ bignum.h:94:37: note: suggested alternative: 'BN_print' CBigNum(unsigned int n) { BN_init(this); setulong(n); } ^~~~~~~ BN_print bignum.h: In constructor 'CBigNum::CBigNum(long unsigned int)': bignum.h:95:37: error: 'BN_init' was not declared in this scope CBigNum(unsigned long n) { BN_init(this); setulong(n); } ^~~~~~~ bignum.h:95:37: note: suggested alternative: 'BN_print' CBigNum(unsigned long n) { BN_init(this); setulong(n); } ^~~~~~~ BN_print bignum.h: In constructor 'CBigNum::CBigNum(long long unsigned int)': bignum.h:96:37: error: 'BN_init' was not declared in this scope CBigNum(unsigned long long n) { BN_init(this); setuint64(n); } ^~~~~~~ bignum.h:96:37: note: suggested alternative: 'BN_print' CBigNum(unsigned long long n) { BN_init(this); setuint64(n); } ^~~~~~~ BN_print bignum.h: In constructor 'CBigNum::CBigNum(uint256)': bignum.h:97:37: error: 'BN_init' was not declared in this scope explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); } ^~~~~~~ bignum.h:97:37: note: suggested alternative: 'BN_print' explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); } ^~~~~~~ BN_print bignum.h: In constructor 'CBigNum::CBigNum(const std::vector&)': bignum.h:101:9: error: 'BN_init' was not declared in this scope BN_init(this); ^~~~~~~ bignum.h:101:9: note: suggested alternative: 'BN_print' BN_init(this); ^~~~~~~ BN_print bignum.h: In member function 'void CBigNum::setulong(long unsigned int)': bignum.h:107:33: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_set_word(BIGNUM*, long unsigned int)' if (!BN_set_word(this, n)) ^ bignum.h: In member function 'long unsigned int CBigNum::getulong() const': bignum.h:113:32: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'long unsigned int BN_get_word(const BIGNUM*)' return BN_get_word(this); ^ bignum.h: In member function 'unsigned int CBigNum::getuint() const': bignum.h:118:32: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'long unsigned int BN_get_word(const BIGNUM*)' return BN_get_word(this); ^ bignum.h: In member function 'int CBigNum::getint() const': bignum.h:123:43: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'long unsigned int BN_get_word(const BIGNUM*)' unsigned long n = BN_get_word(this); ^ bignum.h:124:33: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_is_negative(const BIGNUM*)' if (!BN_is_negative(this)) ^ In file included from chainparams.h:9:0, from protocol.h:16, from addrman.h:9, from addrman.cpp:5: bignum.h: In member function 'void CBigNum::setint64(int64_t)': bignum.h:172:37: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '3' to 'BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)' BN_mpi2bn(pch, p - pch, this); ^ bignum.h: In member function 'void CBigNum::setuint64(uint64_t)': bignum.h:199:37: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '3' to 'BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)' BN_mpi2bn(pch, p - pch, this); ^ bignum.h: In member function 'void CBigNum::setuint256(uint256)': bignum.h:227:37: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '3' to 'BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)' BN_mpi2bn(pch, p - pch, this); ^ bignum.h: In member function 'uint256 CBigNum::getuint256() const': bignum.h:232:50: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_bn2mpi(const BIGNUM*, unsigned char*)' unsigned int nSize = BN_bn2mpi(this, NULL); ^ bignum.h:236:32: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_bn2mpi(const BIGNUM*, unsigned char*)' BN_bn2mpi(this, &vch[0]); ^ bignum.h: In member function 'void CBigNum::setvch(const std::vector&)': bignum.h:257:46: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '3' to 'BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)' BN_mpi2bn(&vch2[0], vch2.size(), this); ^ bignum.h: In member function 'std::vector CBigNum::getvch() const': bignum.h:262:50: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_bn2mpi(const BIGNUM*, unsigned char*)' unsigned int nSize = BN_bn2mpi(this, NULL); ^ bignum.h:266:32: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_bn2mpi(const BIGNUM*, unsigned char*)' BN_bn2mpi(this, &vch[0]); ^ bignum.h: In member function 'CBigNum& CBigNum::SetCompact(unsigned int)': bignum.h:302:36: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_set_word(BIGNUM*, long unsigned int)' BN_set_word(this, nWord); ^ bignum.h:306:36: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_set_word(BIGNUM*, long unsigned int)' BN_set_word(this, nWord); ^ bignum.h:307:46: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_lshift(BIGNUM*, const BIGNUM*, int)' BN_lshift(this, this, 8*(nSize-3)); ^ bignum.h:309:40: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'void BN_set_negative(BIGNUM*, int)' BN_set_negative(this, fNegative); ^ In file included from bignum.h:17:0, from chainparams.h:9, from protocol.h:16, from addrman.h:9, from addrman.cpp:5: bignum.h: In member function 'unsigned int CBigNum::GetCompact() const': bignum.h:315:30: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_num_bits(const BIGNUM*)' unsigned int nSize = BN_num_bytes(this); ^ In file included from chainparams.h:9:0, from protocol.h:16, from addrman.h:9, from addrman.cpp:5: bignum.h:318:40: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'long unsigned int BN_get_word(const BIGNUM*)' nCompact = BN_get_word(this) << 8*(3-nSize); ^ bignum.h:322:45: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_rshift(BIGNUM*, const BIGNUM*, int)' BN_rshift(&bn, this, 8*(nSize-3)); ^ bignum.h:323:39: error: cannot convert 'CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'long unsigned int BN_get_word(const BIGNUM*)' nCompact = BN_get_word(&bn); ^ bignum.h:333:41: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_is_negative(const BIGNUM*)' nCompact |= (BN_is_negative(this) ? 0x00800000 : 0); ^ bignum.h: In member function 'std::__cxx11::string CBigNum::ToString(int) const': bignum.h:374:35: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'void BN_set_negative(BIGNUM*, int)' BN_set_negative(&bn, false); ^ bignum.h:377:29: error: cannot convert 'CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)' if (BN_cmp(&bn, &bn0) == 0) ^ bignum.h:379:32: error: cannot convert 'CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)' while (BN_cmp(&bn, &bn0) > 0) ^ bignum.h:381:54: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)' if (!BN_div(&dv, &rem, &bn, &bnBase, pctx)) ^ bignum.h:387:32: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_is_negative(const BIGNUM*)' if (BN_is_negative(this)) ^ bignum.h: In member function 'bool CBigNum::operator!() const': bignum.h:420:31: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_is_zero(const BIGNUM*)' return BN_is_zero(this); ^ bignum.h: In member function 'CBigNum& CBigNum::operator+=(const CBigNum&)': bignum.h:425:35: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)' if (!BN_add(this, this, &b)) ^ bignum.h: In member function 'CBigNum& CBigNum::operator*=(const CBigNum&)': bignum.h:439:41: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)' if (!BN_mul(this, this, &b, pctx)) ^ bignum.h: In member function 'CBigNum& CBigNum::operator<<=(unsigned int)': bignum.h:458:41: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_lshift(BIGNUM*, const BIGNUM*, int)' if (!BN_lshift(this, this, shift)) ^ bignum.h: In member function 'CBigNum& CBigNum::operator>>=(unsigned int)': bignum.h:469:28: error: cannot convert 'CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)' if (BN_cmp(&a, this) > 0) ^ bignum.h:475:41: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_rshift(BIGNUM*, const BIGNUM*, int)' if (!BN_rshift(this, this, shift)) ^ bignum.h: In member function 'CBigNum& CBigNum::operator++()': bignum.h:484:47: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)' if (!BN_add(this, this, BN_value_one())) ^ bignum.h: In member function 'CBigNum& CBigNum::operator--()': bignum.h:501:45: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)' if (!BN_sub(&r, this, BN_value_one())) ^ bignum.h: In function 'const CBigNum operator+(const CBigNum&, const CBigNum&)': bignum.h:526:27: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)' if (!BN_add(&r, &a, &b)) ^ bignum.h: In function 'const CBigNum operator-(const CBigNum&, const CBigNum&)': bignum.h:534:27: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)' if (!BN_sub(&r, &a, &b)) ^ bignum.h: In function 'const CBigNum operator-(const CBigNum&)': bignum.h:542:43: error: cannot convert 'CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_is_negative(const BIGNUM*)' BN_set_negative(&r, !BN_is_negative(&r)); ^ bignum.h: In function 'const CBigNum operator*(const CBigNum&, const CBigNum&)': bignum.h:550:33: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)' if (!BN_mul(&r, &a, &b, pctx)) ^ bignum.h: In function 'const CBigNum operator/(const CBigNum&, const CBigNum&)': bignum.h:559:39: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)' if (!BN_div(&r, NULL, &a, &b, pctx)) ^ In file included from bignum.h:17:0, from chainparams.h:9, from protocol.h:16, from addrman.h:9, from addrman.cpp:5: bignum.h: In function 'const CBigNum operator%(const CBigNum&, const CBigNum&)': bignum.h:568:10: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '2' to 'int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)' if (!BN_mod(&r, &a, &b, pctx)) ^ In file included from chainparams.h:9:0, from protocol.h:16, from addrman.h:9, from addrman.cpp:5: bignum.h: In function 'const CBigNum operator<<(const CBigNum&, unsigned int)': bignum.h:576:33: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'int BN_lshift(BIGNUM*, const BIGNUM*, int)' if (!BN_lshift(&r, &a, shift)) ^ bignum.h: In function 'bool operator==(const CBigNum&, const CBigNum&)': bignum.h:588:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)' inline bool operator==(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) == 0); } ^ bignum.h: In function 'bool operator!=(const CBigNum&, const CBigNum&)': bignum.h:589:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)' inline bool operator!=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) != 0); } ^ bignum.h: In function 'bool operator<=(const CBigNum&, const CBigNum&)': bignum.h:590:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)' inline bool operator<=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) <= 0); } ^ bignum.h: In function 'bool operator>=(const CBigNum&, const CBigNum&)': bignum.h:591:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)' inline bool operator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) >= 0); } ^ bignum.h: In function 'bool operator<(const CBigNum&, const CBigNum&)': bignum.h:592:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)' inline bool operator<(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) < 0); } ^ bignum.h: In function 'bool operator>(const CBigNum&, const CBigNum&)': bignum.h:593:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)' inline bool operator>(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) > 0); } ^ make[3]: *** [Makefile:863: addrman.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dogecoin-1.8.3/src' make[2]: *** [Makefile:885: all-recursive] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dogecoin-1.8.3/src' make[1]: *** [Makefile:670: all] Error 2 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dogecoin-1.8.3/src' make: *** [Makefile:508: all-recursive] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.L4qH22 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.L4qH22 (%build) I: [iurt_root_command] ERROR: chroot