BitShares Forum

Main => Technical Support => Topic started by: iHashFury on September 07, 2014, 03:23:53 pm

Title: Bitshares - Archlinux
Post by: iHashFury on September 07, 2014, 03:23:53 pm
Hello

This is the first build error I have had on archlinux - all other releases worked without error.
Any guidance is much appreciated.

Code: [Select]
[ 78%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o
cd /home/jason/tmp/git/bitsharesx/libraries/blockchain && /usr/bin/c++    -std=c++11 -Wall -O2 -g -DNDEBUG -I/home/jason/tmp/git/bitsharesx/libraries/blockchain/include -I/home/jason/tmp/git/bitsharesx/libraries/fc/include -I/home/jason/tmp/git/bitsharesx/libraries/db/include -I/home/jason/tmp/git/bitsharesx/vendor/leveldb-1.12.0 -I/home/jason/tmp/git/bitsharesx/vendor/leveldb-1.12.0/include    -std=c++11 -Wall -fnon-call-exceptions -o CMakeFiles/bts_blockchain.dir/chain_database.cpp.o -c /home/jason/tmp/git/bitsharesx/libraries/blockchain/chain_database.cpp
/home/jason/tmp/git/bitsharesx/libraries/blockchain/chain_database.cpp: In member function ‘void bts::blockchain::chain_database::open(const fc::path&, fc::optional<fc::path>, std::function<void(float)>)’:
/home/jason/tmp/git/bitsharesx/libraries/blockchain/chain_database.cpp:1145:63: internal compiler error: in calc_dfs_tree, at dominance.c:401
    } FC_RETHROW_EXCEPTIONS( warn, "", ("data_dir",data_dir) ) }
                                                               ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
libraries/blockchain/CMakeFiles/bts_blockchain.dir/build.make:570: recipe for target 'libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o' failed
make[2]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o] Error 1
make[2]: Leaving directory '/home/jason/tmp/git/bitsharesx'
CMakeFiles/Makefile2:847: recipe for target 'libraries/blockchain/CMakeFiles/bts_blockchain.dir/all' failed
make[1]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/all] Error 2
make[1]: Leaving directory '/home/jason/tmp/git/bitsharesx'
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: xeroc on September 07, 2014, 03:31:00 pm
archlinux gcc is too recent and has a bug .. you can use clang instead:
https://bitsharestalk.org/index.php?topic=8363.msg109457#msg109457
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: iHashFury on September 07, 2014, 04:46:36 pm
Thank you for the info.

Tried clang-3.4.2-1 but, now getting this

Code: [Select]
[ 80%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o
/home/jason/tmp/git/bitsharesx/libraries/blockchain/chain_database.cpp: In member function ‘void bts::blockchain::chain_database::open(const fc::path&, fc::optional<fc::path>, std::function<void(float)>)’:
/home/jason/tmp/git/bitsharesx/libraries/blockchain/chain_database.cpp:1145:63: internal compiler error: in calc_dfs_tree, at dominance.c:401
    } FC_RETHROW_EXCEPTIONS( warn, "", ("data_dir",data_dir) ) }
                                                               ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
libraries/blockchain/CMakeFiles/bts_blockchain.dir/build.make:570: recipe for target 'libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o' failed
make[3]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o] Error 1
CMakeFiles/Makefile2:847: recipe for target 'libraries/blockchain/CMakeFiles/bts_blockchain.dir/all' failed
make[2]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/all] Error 2
CMakeFiles/Makefile2:1862: recipe for target 'programs/qt_wallet/CMakeFiles/BitSharesX.dir/rule' failed
make[1]: *** [programs/qt_wallet/CMakeFiles/BitSharesX.dir/rule] Error 2
Makefile:593: recipe for target 'BitSharesX' failed
make: *** [BitSharesX] Error 2


There is my build script:

Code: [Select]
git clone https://github.com/dacsunlimited/bitsharesx.git
cd bitsharesx
#git pull
#git checkout 0.4.12
git submodule init
git submodule update
make clean
cmake -DINCLUDE_QT_WALLET=ON .
cd programs/web_wallet
npm install lineman --prefix=/home/jason/bin/.global_npm -g
npm install
#npm update
cd -
export CC=clang;export CXX=clang++
make buildweb $MAKEFLAGS
make BitSharesX $MAKEFLAGS
make $MAKEFLAGS
cd ~/tmp/git/bitsharesx/programs/qt_wallet/bin/
strip BitSharesX
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: xeroc on September 07, 2014, 05:03:01 pm
make a
rm -rf CMakeCache.txt CMakeFiles/
to delete the cmake cache ..

than run cmake again .. first few lines should show you the new compiler is CLANG
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: bytemaster on September 07, 2014, 05:43:28 pm
Can someone create a BUILD_ARCHLINUX.md file and submit a pull request to the toolkit?
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: iHashFury on September 07, 2014, 05:47:28 pm
make a
rm -rf CMakeCache.txt CMakeFiles/
to delete the cmake cache ..

than run cmake again .. first few lines should show you the new compiler is CLANG

Dancer!  :D Thank you for the info.

Code: [Select]
rm -rf CMakeCache.txt CMakeFiles/
export CC=clang;export CXX=clang++
make
cmake -DINCLUDE_QT_WALLET=ON .
export CC=clang;export CXX=clang++
make BitSharesX

Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: xeroc on September 07, 2014, 05:50:46 pm
Can someone create a BUILD_ARCHLINUX.md file and submit a pull request to the toolkit?
in theory yes .. but for archlinux .. I already wrote a so called PKGBUILD file for AUR ..  I just need to modify it so that it uses clang ..

the conent for a build_archlinux.md would just be "yaourt -S bitsharesx-gui-git"
:-)
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: jernau on September 07, 2014, 06:03:11 pm
Can someone create a BUILD_ARCHLINUX.md file and submit a pull request to the toolkit?
There's quite a few packages on aur.archlinux.org. I've been having lots of compilation issues on Arch Linux.
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: bytemaster on September 07, 2014, 06:03:32 pm
Can someone create a BUILD_ARCHLINUX.md file and submit a pull request to the toolkit?
in theory yes .. but for archlinux .. I already wrote a so called PKGBUILD file for AUR ..  I just need to modify it so that it uses clang ..

the conent for a build_archlinux.md would just be "yaourt -S bitsharesx-gui-git"
:-)

Nice
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: xeroc on September 07, 2014, 06:16:22 pm
Can someone create a BUILD_ARCHLINUX.md file and submit a pull request to the toolkit?
in theory yes .. but for archlinux .. I already wrote a so called PKGBUILD file for AUR ..  I just need to modify it so that it uses clang ..

the conent for a build_archlinux.md would just be "yaourt -S bitsharesx-gui-git"
:-)

Nice

I just upgraded the bitsharesx-git PKGBUILD .. gonna do the GUI in a minute.
Not sure if you have saw a PKGBUILD .. but it looks like this:

Code: [Select]
# Maintainer: Fabian Schuh <mail@xeroc.org>
pkgname="bitsharesx-git"
pkgver="20140824"
pkgrel=1
pkgdesc="BitSharesX command line client/daemon"
url="http://www.bitshares-x.info"
arch=('x86_64' 'i686')
license=('unlicense')
depends=('boost')
makedepends=('git' 'cmake' 'clang' 'make')
_gitroot="git://github.com/dacsunlimited/bitsharesx.git"
_gitname="bitsharesx"
build() {
  cd "$srcdir"
  msg "Connecting to GIT server...."
  if [[ -d "${_gitname}" ]]; then
    cd "${_gitname}" && git pull origin
    msg "The local files are updated."
  else
    git clone "$_gitroot" "$_gitname"
  fi
  msg "Starting build..."
  #rm -rf "$srcdir/$_gitname"
  cd "$srcdir/$_gitname"
  git submodule init
  git submodule update
  export CC=clang CXX=clang++
  cmake .
  make
}
package() {
  mkdir -p "$pkgdir/usr/bin/"
  install -Dm755 "$srcdir/$_gitname/programs/client/bitshares_client"     "$pkgdir/usr/bin/bitsharesx"
}
# vim:set ts=2 sw=2 et:
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: sva_h4cky0 on September 07, 2014, 07:48:55 pm
glad to see fellow Archer here  :)
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: jernau on September 08, 2014, 05:14:26 am
There's a few of us around. Modprobe is another one :D
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: capoeira on September 08, 2014, 09:32:23 pm
I tried:
https://aur.archlinux.org/packages/bitshares-x/
https://aur.archlinux.org/packages/bitsharesx/
https://aur.archlinux.org/packages/bitsharesx-gui-git/

all fail.

output of the 3rd script:

Code: [Select]
2 errors generated.
libraries/fc/CMakeFiles/fc.dir/build.make:215: recipe for target 'libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o' failed
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o] Error 1
6 errors generated.
libraries/fc/CMakeFiles/fc.dir/build.make:169: recipe for target 'libraries/fc/CMakeFiles/fc.dir/src/thread/thread_specific.cpp.o' failed
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/thread/thread_specific.cpp.o] Error 1
CMakeFiles/Makefile2:196: recipe for target 'libraries/fc/CMakeFiles/fc.dir/all' failed
make[1]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: sva_h4cky0 on September 08, 2014, 10:15:29 pm
based on https://aur.archlinux.org/packages/bitshares-x/

PKGBUILD

Code: [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=bitsharesx
epoch=1
pkgver=0.4.12
pkgrel=1
pkgdesc="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.desktop
Code: [Select]
[Desktop Entry]
Name=BitSharesX
Comment=A decentralized bank and exchange
Exec=BitSharesX %u
Icon=/usr/share/pixmaps/bitsharesx256.png
Type=Application
Encoding=UTF-8
Categories=Office;
MimeType=x-scheme-handler/btsx;
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: capoeira on September 08, 2014, 10:42:44 pm
based on https://aur.archlinux.org/packages/bitshares-x/

PKGBUILD

Code: [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=bitsharesx
epoch=1
pkgver=0.4.12
pkgrel=1
pkgdesc="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.desktop
Code: [Select]
[Desktop Entry]
Name=BitSharesX
Comment=A decentralized bank and exchange
Exec=BitSharesX %u
Icon=/usr/share/pixmaps/bitsharesx256.png
Type=Application
Encoding=UTF-8
Categories=Office;
MimeType=x-scheme-handler/btsx;


don't know what you did but I tried this and still:

Code: [Select]
2 errors generated.
libraries/fc/CMakeFiles/fc.dir/build.make:215: recipe for target 'libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o' failed
make[3]: *** [libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o] Error 1
CMakeFiles/Makefile2:196: recipe for target 'libraries/fc/CMakeFiles/fc.dir/all' failed
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2
CMakeFiles/Makefile2:1862: recipe for target 'programs/qt_wallet/CMakeFiles/BitSharesX.dir/rule' failed
make[1]: *** [programs/qt_wallet/CMakeFiles/BitSharesX.dir/rule] Error 2
Makefile:593: recipe for target 'BitSharesX' failed
make: *** [BitSharesX] Error 2


anyways. the .exe works in wine
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: capoeira on September 09, 2014, 03:33:50 am
here is a paste of my failed build for https://aur.archlinux.org/packages/bitsharesx/
http://pastebin.com/EJ3sdkcV
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: jernau on September 09, 2014, 05:26:47 am
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.
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: xeroc on September 09, 2014, 07:11:13 am
Code: [Select]
/usr/include/boost/atomic/atomic.hpp:31:16: error: target of using declaration conflicts with declaration already in scope
using atomics::atomic;

your boost library is up-to-date?
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: capoeira on September 09, 2014, 11:11:15 am
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.

well, the output is exactly from that one
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: capoeira on September 09, 2014, 11:11:59 am
Code: [Select]
/usr/include/boost/atomic/atomic.hpp:31:16: error: target of using declaration conflicts with declaration already in scope
using atomics::atomic;

your boost library is up-to-date?

yes it is, maintainer asked the same question (see coments there)
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: jernau on September 09, 2014, 11:26:50 am
Are you compiling with multiple threads? I mean are you using `make -j $(nprocs)`? I had issues with that. If you're not already, try compiling without the -j flag. Also, is your Arch completely up to date?
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: capoeira on September 09, 2014, 12:44:08 pm
Are you compiling with multiple threads?

yes, tried with now with -j1....didn't solve

Also, is your Arch completely up to date?

yes




I'm giving up. you guys think it is dangerous to use the binary of the mantainer of the PCKGBUILD? https://nathanhourt.com/bitsharesx-0.4.12-1-x86_64.pkg.tar.xz
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: xeroc on September 09, 2014, 01:02:58 pm
Nathan is a core developer .. id say its safe
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: jernau on September 09, 2014, 01:16:30 pm
From the comments section: https://aur.archlinux.org/packages/bitsharesx/?comments=all

Comment by DigitalPioneer
2014-09-09 13:13
This just in, the BitShares core devs have added support for Boost 1.56, so DacSun should be pulling that in for the next release. The build should work again (hopefully) after that.

Comment by DigitalPioneer
2014-09-09 13:09
Nope, it's not just you. Looks like the project is not compatible with Boost 1.56. I hadn't updated yet on my build system. Just did, and now I'm getting the same error.
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: capoeira on September 09, 2014, 01:16:34 pm
turns out that Arch's boost is "too new". read the last two coments: https://aur.archlinux.org/packages/bitsharesx/
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: bytemaster on September 09, 2014, 09:57:47 pm
turns out that Arch's boost is "too new". read the last two coments: https://aur.archlinux.org/packages/bitsharesx/

0.4.13 has fixes for that :)
Title: Re: BitsharesX 0.4.12 - Build error on Archlinux
Post by: capoeira on September 09, 2014, 10:22:07 pm
turns out that Arch's boost is "too new". read the last two coments: https://aur.archlinux.org/packages/bitsharesx/

0.4.13 has fixes for that :)

nice  :D
Title: Re: BitsharesX - Archlinux
Post by: iHashFury on September 23, 2014, 12:01:03 pm
Is Open Orders and Order history working on archlinux "client_version": "v0.4.16" gui?
Title: Re: BitsharesX - Archlinux
Post by: xeroc on September 23, 2014, 12:38:08 pm
Is Open Orders and Order history working on archlinux "client_version": "v0.4.16" gui?
yes .. it seems pretty much so ..
oh wait .. I am already on 0.4.17-rc .. sorry can't tell for .16
Title: Re: BitsharesX - Archlinux
Post by: iHashFury on September 23, 2014, 02:04:03 pm
Will try 0.4.17-rc
Title: Re: BitsharesX - Archlinux
Post by: sva_h4cky0 on September 23, 2014, 02:05:29 pm
Is Open Orders and Order history working on archlinux "client_version": "v0.4.16" gui?

im on 0.4.16, i have open orders for days and order history seems fine
Title: Re: BitsharesX - Archlinux
Post by: iHashFury on September 23, 2014, 04:17:54 pm
I have build  0.4.17-rc and am now re-syncing for good measure.

Should be good.
Title: Re: BitsharesX - Archlinux
Post by: iHashFury on September 23, 2014, 04:59:06 pm
Any ideas?

wallet_market_order_list USD BTSX in the console works but gui Open Orders has nothing.

I also get this error in the terminal when running the gui:

Code: [Select]
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread

Re-sync and resacn where ok.
Title: Re: BitsharesX - Archlinux
Post by: xeroc on September 23, 2014, 05:01:31 pm
I'd call this a bug in the qt_wallet .. would you please report it at github?
http://wiki.bitshares.org/index.php/BitShares_X_Solutions#Reporting_bugs_to_the_developers
Title: Re: BitsharesX - Archlinux
Post by: iHashFury on September 23, 2014, 05:14:56 pm
I'd call this a bug in the qt_wallet .. would you please report it at github?
http://wiki.bitshares.org/index.php/BitShares_X_Solutions#Reporting_bugs_to_the_developers

Sorry
https://github.com/dacsunlimited/bitsharesx (https://github.com/dacsunlimited/bitsharesx) is members only

Is here OK https://github.com/BitShares/bitshares_toolkit/issues (https://github.com/BitShares/bitshares_toolkit/issues) for BitsharesX bugs/issues?
Title: Re: BitsharesX - Archlinux
Post by: xeroc on September 23, 2014, 05:45:48 pm
better go here pls: https://github.com/BitShares/qt_wallet/issues
Title: Re: BitsharesX - Archlinux
Post by: iHashFury on September 26, 2014, 03:24:41 pm
GUI update has resolved open orders  and order history issue.

"client_version": "v0.4.17"

Advanced Short mode  8)
Title: Re: Bitshares - Archlinux
Post by: iHashFury on November 12, 2014, 11:21:00 am
Hello

I am getting the following build error.

Code: [Select]
npm ERR! Linux 3.17.2-1-ARCH
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "lineman" "--prefix=/home/jason/bin/.global_npm" "-g"
npm ERR! node v0.10.33
npm ERR! npm  v2.1.8
npm ERR! code ELIFECYCLE

npm ERR! js2coffee@0.2.7 preinstall: `npm run-script ./cyclic.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the js2coffee@0.2.7 preinstall script 'npm run-script ./cyclic.js'.
npm ERR! This is most likely a problem with the js2coffee package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run-script ./cyclic.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls js2coffee
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/jason/tmp/git/bitshares/programs/web_wallet/npm-debug.log

With my usual build script

Code: [Select]
######      archlinux      ######
#pacman -S clang
#git clone https://github.com/dacsunlimited/bitsharesx.git
git clone https://github.com/BitShares/bitshares.git
cd bitshares
git pull
git submodule init
git submodule update
cd programs/web_wallet
npm install lineman --prefix=/home/jason/bin/.global_npm -g
npm install
cd -
rm -rf CMakeCache.txt CMakeFiles/
export CC=clang;export CXX=clang++
cmake -DINCLUDE_QT_WALLET=ON .
make BitShares
strip ~/tmp/git/bitshares/programs/qt_wallet/bin/BitShares
######      archlinux      ######

Title: Re: BitsharesX - Archlinux
Post by: xeroc on November 15, 2014, 03:25:27 pm
I am having the same issues :(
not sure if they are bitshares related or lineman related :(
Title: Re: BitsharesX - Archlinux
Post by: iHashFury on November 15, 2014, 03:27:46 pm
I am having the same issues :(
not sure if they are bitshares related or lineman related :(

Its on github.

https://github.com/BitShares/qt_wallet/issues/71

Title: Re: Bitshares - Archlinux
Post by: iHashFury on November 25, 2014, 10:27:50 am
Downgrading nodejs works
Code: [Select]
pacman -S nodejs
pacman -U /var/cache/pacman/pkg/nodejs-0.10.32-...