0 Members and 1 Guest are viewing this topic.
turns out that Arch's boost is "too new". read the last two coments: https://aur.archlinux.org/packages/bitsharesx/
Are you compiling with multiple threads?
Also, is your Arch completely up to date?
Code: [Select]/usr/include/boost/atomic/atomic.hpp:31:16: error: target of using declaration conflicts with declaration already in scopeusing atomics::atomic;your boost library is up-to-date?
/usr/include/boost/atomic/atomic.hpp:31:16: error: target of using declaration conflicts with declaration already in scopeusing atomics::atomic;
Just a bit of help. Try the plain bitsharesx package: https://aur.archlinux.org/packages/bitsharesx/I managed to make that one compile and can maybe help you with any errors. Post the full error log here.
based on https://aur.archlinux.org/packages/bitshares-x/PKGBUILDCode: [Select]# Maintainer: Qhor Vertoe <vertoe at qhor dot net># Contributor: Noel Maersk <veox at wemakethings dot net># Contributor: Mike Lenzen <lenzenmi at gmail dot com>pkgname=bitshares-x_gitname=bitsharesxepoch=1pkgver=0.4.12pkgrel=1pkgdesc="BitShares X is a peer-to-peer network-based digital asset exchange."arch=('i686' 'x86_64')url="http://bitshares-x.info/"license=('MIT')depends=('qt5-base>=5.3' 'boost-libs>=1.52' 'miniupnpc>=1.6')makedepends=('git' 'boost' 'gcc' 'make' 'nodejs' 'clang')provides=('bitshares-x')source=('git://github.com/dacsunlimited/bitsharesx.git' 'BitSharesX.desktop')md5sums=('SKIP' 'SKIP')build() { export CC=clang export CXX=clang++ cd "$srcdir/$_gitname" rm -rf CMakeFiles # Prepare dependencies git submodule init git submodule update # Checkout release git checkout $pkgver cd $srcdir/$_gitname/programs/web_wallet sudo npm install -g lineman npm install # Configure and compile the wallet cd "$srcdir/$_gitname" cmake -DINCLUDE_QT_WALLET=ON . make $MAKEFLAGS -j $(nproc) buildweb make $MAKEFLAGS -j $(nproc) BitSharesX}package() { # Install BitShares-X Qt-wallet install -Dm644 BitSharesX.desktop ${pkgdir}/usr/share/applications/BitSharesX.desktop install -Dm755 "$srcdir/$_gitname/programs/qt_wallet/bin/BitSharesX" "$pkgdir/usr/bin/BitSharesX" install -Dm644 "$srcdir/$_gitname/programs/qt_wallet/images/qtapp64.png" "$pkgdir/usr/share/pixmaps/bitsharesx256.png" # Install license install -D -m644 "$srcdir/$_gitname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"}BitSharesX.desktopCode: [Select][Desktop Entry]Name=BitSharesXComment=A decentralized bank and exchangeExec=BitSharesX %uIcon=/usr/share/pixmaps/bitsharesx256.pngType=ApplicationEncoding=UTF-8Categories=Office;MimeType=x-scheme-handler/btsx;
# Maintainer: Qhor Vertoe <vertoe at qhor dot net># Contributor: Noel Maersk <veox at wemakethings dot net># Contributor: Mike Lenzen <lenzenmi at gmail dot com>pkgname=bitshares-x_gitname=bitsharesxepoch=1pkgver=0.4.12pkgrel=1pkgdesc="BitShares X is a peer-to-peer network-based digital asset exchange."arch=('i686' 'x86_64')url="http://bitshares-x.info/"license=('MIT')depends=('qt5-base>=5.3' 'boost-libs>=1.52' 'miniupnpc>=1.6')makedepends=('git' 'boost' 'gcc' 'make' 'nodejs' 'clang')provides=('bitshares-x')source=('git://github.com/dacsunlimited/bitsharesx.git' 'BitSharesX.desktop')md5sums=('SKIP' 'SKIP')build() { export CC=clang export CXX=clang++ cd "$srcdir/$_gitname" rm -rf CMakeFiles # Prepare dependencies git submodule init git submodule update # Checkout release git checkout $pkgver cd $srcdir/$_gitname/programs/web_wallet sudo npm install -g lineman npm install # Configure and compile the wallet cd "$srcdir/$_gitname" cmake -DINCLUDE_QT_WALLET=ON . make $MAKEFLAGS -j $(nproc) buildweb make $MAKEFLAGS -j $(nproc) BitSharesX}package() { # Install BitShares-X Qt-wallet install -Dm644 BitSharesX.desktop ${pkgdir}/usr/share/applications/BitSharesX.desktop install -Dm755 "$srcdir/$_gitname/programs/qt_wallet/bin/BitSharesX" "$pkgdir/usr/bin/BitSharesX" install -Dm644 "$srcdir/$_gitname/programs/qt_wallet/images/qtapp64.png" "$pkgdir/usr/share/pixmaps/bitsharesx256.png" # Install license install -D -m644 "$srcdir/$_gitname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"}
[Desktop Entry]Name=BitSharesXComment=A decentralized bank and exchangeExec=BitSharesX %uIcon=/usr/share/pixmaps/bitsharesx256.pngType=ApplicationEncoding=UTF-8Categories=Office;MimeType=x-scheme-handler/btsx;
2 errors generated.libraries/fc/CMakeFiles/fc.dir/build.make:215: recipe for target 'libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o' failedmake[3]: *** [libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o] Error 1CMakeFiles/Makefile2:196: recipe for target 'libraries/fc/CMakeFiles/fc.dir/all' failedmake[2]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2CMakeFiles/Makefile2:1862: recipe for target 'programs/qt_wallet/CMakeFiles/BitSharesX.dir/rule' failedmake[1]: *** [programs/qt_wallet/CMakeFiles/BitSharesX.dir/rule] Error 2Makefile:593: recipe for target 'BitSharesX' failedmake: *** [BitSharesX] Error 2
2 errors generated.libraries/fc/CMakeFiles/fc.dir/build.make:215: recipe for target 'libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o' failedmake[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o] Error 16 errors generated.libraries/fc/CMakeFiles/fc.dir/build.make:169: recipe for target 'libraries/fc/CMakeFiles/fc.dir/src/thread/thread_specific.cpp.o' failedmake[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/thread/thread_specific.cpp.o] Error 1CMakeFiles/Makefile2:196: recipe for target 'libraries/fc/CMakeFiles/fc.dir/all' failedmake[1]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2Makefile:76: recipe for target 'all' failedmake: *** [all] Error 2