Package Details: dogecoin-qt 1.10.0-2

Git Clone URL: https://aur.archlinux.org/dogecoin-qt.git (read-only)
Package Base: dogecoin-qt
Description: Cryptocurrency
Upstream URL: http://dogecoin.com/
Licenses: MIT
Provides: dogecoin-qt
Submitter: Thermi
Maintainer: Thermi
Last Packager: Thermi
Votes: 42
Popularity: 0.321784
First Submitted: 2014-02-01 16:57
Last Updated: 2017-06-20 10:26

Pinned Comments

Thermi commented on 2017-06-20 10:30

New version with a (hopefully) working dogecoin-qt version that links against openssl-1.0. Please give feedback!

Latest Comments

Thermi commented on 2017-06-20 10:30

New version with a (hopefully) working dogecoin-qt version that links against openssl-1.0. Please give feedback!

lilina commented on 2017-06-20 03:58

@Thermi The method I described in my previous comment works in my system. I got the following two warnings on openssl during the build :

/usr/bin/ld: warning: libssl.so.1.1, needed by /usr/lib64/libQtNetwork.so, may conflict with libssl.so.1.0.0
/usr/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib64/libQtNetwork.so, may conflict with libcrypto.so.1.0.0

However, they are just warnings. The build completed and the wallet works without any problems in my system. The below is the PKGBUILD I used. The changes from your PKGBUILD are the dependency on openssl-1.0, the checksum, and the last line of the configure call.

pkgname=dogecoin-qt
_binname=dogecoin
pkgver=1.10.0
pkgrel=1
pkgdesc="Cryptocurrency"
arch=('x86_64' 'i686')
url="http://dogecoin.com/"
license=('MIT')
provides=('dogecoin-qt')
depends=('miniupnpc' 'boost-libs' 'protobuf' 'openssl-1.0' 'db')
makedepends=('boost' 'gcc' 'make' 'git' 'qt4' 'miniupnpc' 'boost-libs' 'protobuf' 'openssl-1.0' 'db')
source=("https://github.com/dogecoin/dogecoin/archive/v${pkgver}.tar.gz"
"dogecoin.desktop"
)
install=dogecoin.install

sha256sums=('e392f4142819fdab313ba921af53fdbd2cf6ee8965d237d0cb5cda8a52c97084'
'04d41773462ad6609658e291d22b15cd8d58b8eb5e4391a80cd1dae75e7df0e6')

build() {
cd "${srcdir}/dogecoin-$pkgver/"

./autogen.sh

# --with-incompatible-bdb is needed, because dogecon-qt wants version 5.1, but Arch is already on 5.3
./configure QMAKE_CFLAGS_RELEASE="$CPPFLAGS $CFLAGS" QMAKE_CXXFLAGS_RELEASE="$CPPFLAGS $CXXFLAGS" \
QMAKE_LFLAGS_RELEASE="$LDFLAGS" --with-incompatible-bdb --prefix=/usr \
--sbindir=/usr/bin --sysconfdir=/etc --libexecdir=/usr/lib \
CFLAGS="-I/usr/include/openssl-1.0" CPPFLAGS="-I/usr/include/openssl-1.0" LDFLAGS="-L/usr/lib/openssl-1.0"

make ${MAKEFLAGS}
}

package() {
install -Dm644 ${_binname}.desktop "${pkgdir}/usr/share/applications/${_binname}.desktop"
cd "$srcdir/dogecoin-$pkgver"
mkdir -p -m 755 "${pkgdir}/usr/share/dogecoin-qt/"
install -Dm644 share/pixmaps/bitcoin256.xpm "${pkgdir}/usr/share/pixmaps/dogecoin.xpm"
make DESTDIR=${pkgdir} install
}

Thermi commented on 2017-06-19 23:58

Nope, linking against openssl-1.0 does not help.

CXX qt/qt_libbitcoinqt_a-sendcoinsentry.o
qt/paymentrequestplus.cpp: In member function 'bool PaymentRequestPlus::getMerchant(X509_STORE*, QString&) const':
qt/paymentrequestplus.cpp:164:27: error: 'EVP_MD_CTX_new' was not declared in this scope
EVP_MD_CTX *ctx = EVP_MD_CTX_new();
^~~~~~~~~~~~~~
qt/paymentrequestplus.cpp:164:27: note: suggested alternative: 'EVP_MD_CTX_init'
EVP_MD_CTX *ctx = EVP_MD_CTX_new();
^~~~~~~~~~~~~~
EVP_MD_CTX_init
qt/paymentrequestplus.cpp:170:13: error: 'EVP_MD_CTX_free' was not declared in this scope
EVP_MD_CTX_free(ctx);
^~~~~~~~~~~~~~~
qt/paymentrequestplus.cpp:170:13: note: suggested alternative: 'EVP_MD_CTX_create'
EVP_MD_CTX_free(ctx);
^~~~~~~~~~~~~~~
EVP_MD_CTX_create
qt/paymentrequestplus.cpp:173:2: error: 'EVP_MD_CTX_free' was not declared in this scope
EVP_MD_CTX_free(ctx);
^~~~~~~~~~~~~~~
qt/paymentrequestplus.cpp:173:2: note: suggested alternative: 'EVP_MD_CTX_create'
EVP_MD_CTX_free(ctx);
^~~~~~~~~~~~~~~
EVP_MD_CTX_create
make[2]: *** [Makefile:4791: qt/qt_libbitcoinqt_a-paymentrequestplus.o] Error 1
make[2]: *** Waiting for unfinished jobs....

lilina commented on 2017-06-19 15:17

@Thermi The official repository has openssl-1.0 package.
Replacing the dependency on openssl with openssl-1.0 and adding compiler/linker flags suggested by libcg may solve the build problem.

Fornax commented on 2017-06-12 07:14

@Thermi

Thanks, I subscribed to the github issue.

Thermi commented on 2017-06-11 23:42

@fornax

Because, as is mentioned in the pinned comment, dogecoin-qt does not build with openssl 1.1.0.e, which is the current version of openssl for Arch Linux. To make it build, you'll have to patch the dogecoin-qt source code. Sure, you can bypass the checksum and fix it, but that does not fix the errors in the source code. https://github.com/dogecoin/dogecoin/issues/1370

Fornax commented on 2017-06-11 19:40

Can I do anything to help get this package working again? I haven't been able to access my money for over a week and it's frustrating.

Can't you just update the checksum? I'm still getting "ERROR: One or more files did not pass the validity check!".

Thermi commented on 2017-06-06 21:32

Github regenerated the tarball, that's why the checksum changed. It still doesn't build with openssl 1.1.0e, because some function names changed.

libcg commented on 2017-06-04 09:22

Prepending to ./configure the following line fixed the build for me:

CFLAGS+=" -I/usr/include/openssl-1.0" CPPFLAGS+=" -I/usr/include/openssl-1.0" LDFLAGS+=" -L/usr/lib/openssl-1.0"

Also @Thermi it looks like the shasum issue is caused by Github regenerating the tarball.

libcg commented on 2017-06-04 09:06

@Thermi: I'm not sure what happened, but comparing the contents of the tarball with the matching git commit doesn't show any difference. Would it be possible that someone rewrote the whole git history? That would be extremely unlikely...

All comments