Author

Topic: [RESOLVED] Glitch or bug in 0.96 on Debian EDIT -- Also 0.96.2 [older cpu] (Read 549 times)

full member
Activity: 159
Merit: 100
Great that you post the solution also, so others can find it with Google.

 Cheesy
full member
Activity: 174
Merit: 100
Separation of currency and state.
Resolved.
Code:
make
and
Code:
make install
completed successfully, and armory ran correctly, generated a new keypair with no problems. Thanks again for your help.
full member
Activity: 174
Merit: 100
Separation of currency and state.
Resolved those errors with
Code:
apt install autoconf
and then some new errors resolved by
Code:
apt install libtool

make is running now, will update shortly.
full member
Activity: 174
Merit: 100
Separation of currency and state.
Additional information that may be helpful:

Code:
root@tb:/home/henry/Applications/armory/BitcoinArmory# locate autoconf
/usr/share/bash-completion/completions/autoconf
/usr/share/doc/mesa-common-dev/autoconf.html
/usr/share/nano/autoconf.nanorc
root@tb:/home/henry/Applications/armory/BitcoinArmory# cat /usr/share/bash-completion/completions/autoconf | nc termbin.com 9999
http://termbin.com/g1ym
full member
Activity: 174
Merit: 100
Separation of currency and state.
Ok, I'm following the directions from here: https://github.com/goatpig/BitcoinArmory/blob/master/linuxbuild/Linux_build_notes.md

And I'm encountering a couple of errors, not sure what I'm doing wrong:

Code:
root@tb:/home/henry/Applications/armory/BitcoinArmory# git checkout v0.96.2
Note: checking out 'v0.96.2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b

HEAD is now at 95dc5590... Update changelog
root@tb:/home/henry/Applications/armory/BitcoinArmory# apt-get install git-core pkg-config build-essential pyqt4-dev-tools swig libqtcore4 libqt4-dev python-qt4 python-dev python-twisted python-psutil
Reading package lists... Done
Building dependency tree      
Reading state information... Done
build-essential is already the newest version (12.3).
build-essential set to manually installed.
python-dev is already the newest version (2.7.13-2).
python-psutil is already the newest version (5.0.1-1).
python-psutil set to manually installed.
pyqt4-dev-tools is already the newest version (4.11.4+dfsg-2+b1).
python-qt4 is already the newest version (4.11.4+dfsg-2+b1).
libqt4-dev is already the newest version (4:4.8.7+dfsg-11).
libqtcore4 is already the newest version (4:4.8.7+dfsg-11).
swig is already the newest version (3.0.10-1.1).
python-twisted is already the newest version (16.6.0-2).
The following package was automatically installed and is no longer required:
  libssl-doc
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  git-core pkg-config
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 64.7 kB of archives.
After this operation, 201 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.us.debian.org/debian stretch/main amd64 pkg-config amd64 0.29-4+b1 [63.3 kB]
Get:2 http://security.debian.org/debian-security stretch/updates/main amd64 git-core all 1:2.11.0-3+deb9u1 [1,414 B]
Fetched 64.7 kB in 1s (32.8 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Selecting previously unselected package git-core.
(Reading database ... 144294 files and directories currently installed.)
Preparing to unpack .../git-core_1%3a2.11.0-3+deb9u1_all.deb ...
Unpacking git-core (1:2.11.0-3+deb9u1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../pkg-config_0.29-4+b1_amd64.deb ...
Unpacking pkg-config (0.29-4+b1) ...
Setting up pkg-config (0.29-4+b1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up git-core (1:2.11.0-3+deb9u1) ...
root@tb:/home/henry/Applications/armory/BitcoinArmory# git submodule init
Submodule 'cppForSwig/fcgi' (https://github.com/goatpig/libfcgi.git) registered for path 'cppForSwig/fcgi'
root@tb:/home/henry/Applications/armory/BitcoinArmory# git submodule update
Cloning into '/home/henry/Applications/armory/BitcoinArmory/cppForSwig/fcgi'...
Submodule path 'cppForSwig/fcgi': checked out 'b00dc69199b34552144e1003a2001a24b13b6e56'
root@tb:/home/henry/Applications/armory/BitcoinArmory# git checkout v0.96.2
HEAD is now at 95dc5590... Update changelog
root@tb:/home/henry/Applications/armory/BitcoinArmory# git tag -v v0.96.2
object 95dc55907f26cf79fdec7f8efa4228f7efd696cc
type commit
tag v0.96.2
tagger goatpig 1504047291 +0200

v0.96.2
gpg: directory '/root/.gnupg' created
gpg: new configuration file '/root/.gnupg/dirmngr.conf' created
gpg: new configuration file '/root/.gnupg/gpg.conf' created
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: Signature made Tue 29 Aug 2017 06:54:51 PM EDT
gpg:                using RSA key 8C5211764922589A
gpg: Can't check signature: No public key
root@tb:/home/henry/Applications/armory/BitcoinArmory# gpg --recv-keys --keyserver keyserver.ubuntu.com 4922589A
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 8C5211764922589A: public key "goatpig (Offline signing key for Armory releases) " imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1
root@tb:/home/henry/Applications/armory/BitcoinArmory# git tag -v v0.96.2object 95dc55907f26cf79fdec7f8efa4228f7efd696cc
type commit
tag v0.96.2
tagger goatpig 1504047291 +0200

v0.96.2
gpg: Signature made Tue 29 Aug 2017 06:54:51 PM EDT
gpg:                using RSA key 8C5211764922589A
gpg: Good signature from "goatpig (Offline signing key for Armory releases) " [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 745D 707F BA53 968B DF63  AA8D 8C52 1176 4922 589A
root@tb:/home/henry/Applications/armory/BitcoinArmory# ./autogen.sh
Preparing the BitcoinArmory build system...please wait
And then this error:
Code:
ERROR:  Unable to locate GNU Autoconf.

ERROR:  To prepare the BitcoinArmory build system from scratch,
        at least version 2.52 of GNU Autoconf must be installed.

Code:
autogen.sh does not need to be run on the same machine that will
run configure or make.  Either the GNU Autotools will need to be installed
or upgraded on this system, or autogen.sh must be run on the source
code on another system and then transferred to here. -- Cheers!

root@tb:/home/henry/Applications/armory/BitcoinArmory# ./configure
-su: ./configure: No such file or directory

I seem to have autoconf 2.69-10:

Code:
root@tb:/home/henry/Applications/armory/BitcoinArmory# apt list autoconf
Listing... Done
autoconf/stable 2.69-10 all

When I try to just continue with the make command, I get:

Code:
root@tb:/home/henry/Applications/armory/BitcoinArmory# make
make: *** No targets specified and no makefile found.  Stop.

So it looks like I'll have to figure out the autoconf issue to proceed. Any help greatly appreciated. Thanks again!
full member
Activity: 174
Merit: 100
Separation of currency and state.
Thank you for the support. Really fantastic to reach out and receive a response so quickly from the main developer of the project.

I am cloning the git right now and will try building it from source and report back the results shortly.
legendary
Activity: 3766
Merit: 1364
Armory Developer
It can work on these CPUs but you will have to either use Windows or build with that machine on Linux. My builds aren't compatible with stuff that old atm.
full member
Activity: 174
Merit: 100
Separation of currency and state.
Looks like it's one of these, from 2006: https://ark.intel.com/products/29757/Intel-Core2-Duo-Processor-L7500-4M-Cache-1_60-GHz-800-MHz-FSB

Real bummer if it won't work; I was disappointed that I can't get it for my i386 or i686 hardware, I was going to use my old laptops as offline wallets; but I understand that everything is switching to AMD64 nowadays and that there's nothing to be done about it... But this is my main computer that I use daily for all my work and day-to-day computer usage! Really hope that it's compatible.

Code:
root@tb:~# lshw
tb                         
    description: Notebook
    product: CF-30FBSADAM (CF-30FBSADAM)
    vendor: Matsushita Electric Industrial Co.,Ltd.
    version: 002
    serial: 8BKYA09804
    width: 64 bits
    capabilities: smbios-2.4 dmi-2.4 smp vsyscall32
    configuration: administrator_password=disabled boot=normal chassis=notebook family=CF30-2 power-on_password=disabled sku=CF-30FBSADAM uuid=83A46164-9B52-5BAE-87F2-19A4BE184BFE
  *-core
       description: Motherboard
       product: CF30-2
       vendor: Matsushita Electric Industrial Co.,Ltd.
       physical id: 0
       version: 001
       serial: None
     *-firmware
          description: BIOS
          vendor: Phoenix Technologies Ltd.
          physical id: 0
          version: V2.00L11
          date: 10/26/2007
          size: 109KiB
          capacity: 960KiB
          capabilities: pci pcmcia pnp upgrade shadowing escd cdboot bootselect edd int13floppy720 int5printscreen int9keyboard int14serial int17printer int10video acpi usb biosbootspecification netboot
     *-cpu
         [b] description: CPU
          product: Intel(R) Core(TM)2 Duo CPU     L7500  @ 1.60GHz[/b]
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          version: Intel(R) Core(TM)2 Duo CPU     L7500  @ 1.60GHz
          slot: IC1
          size: 800MHz
          capacity: 1601MHz
          width: 64 bits
          clock: 200MHz
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority dtherm ida cpufreq
legendary
Activity: 3766
Merit: 1364
Armory Developer
Quote
Illegal instruction

How old is your CPU?
full member
Activity: 174
Merit: 100
Separation of currency and state.
Hi, thank you for the assistance, really appreciate your time

Code:
henry@tb:~$ armory --offline
/home/henry
(ERROR) ArmoryUtils.py:3719 - Unsupported language  specified. Defaulting to English (en)
/usr/lib/armory/armoryengine/Transaction.py:2882: SyntaxWarning: import * only allowed at module level
  def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals):
(WARNING) ArmoryQt.py:1842 - Not online, will not start bitcoind
Illegal instruction

Same situation, crashed after entry of the passphrase the third time, during creation of new wallet.

How can I get you a core dump? I just googled around and don't quite understand what to do to obtain that.
legendary
Activity: 3766
Merit: 1364
Armory Developer
There's nothing in your logs indicating a crash, and I can't reproduce. Try with the --offline cli arg. Ultimately, get me a core dump.
full member
Activity: 174
Merit: 100
Separation of currency and state.
So, I tried again with 0.96.2 with gcc 5.4, because my system seemed to say I have version 6.3;
Code:
henry@tb:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.3.0 20170516 (Debian 6.3.0-18)

That version wouldn't launch at all. So I removed it and installed 0.96.2 with GCC 4.7, which launched, but is exhibiting the same exact symptom.

armorylog.txt: http://termbin.com/iad3

EDIT:
Also tried closing the pop-up that asks me if I want to import an existing wallet or create a new one, then going in the menu, and choosing create wallet. Still crashes at the same point -- right when you click next after entering the passphrase for the third time.
full member
Activity: 174
Merit: 100
Separation of currency and state.
Ah, I found the binaries here https://github.com/goatpig/BitcoinArmory/releases/tag/v0.96.2

However, I'm wondering still if I should use the gcc 5.4 or 4.7 version. Any insight on that?
full member
Activity: 174
Merit: 100
Separation of currency and state.
Upgrade to 0.96.2

Is that available as a .deb file? I don't see it on their homepage. If not, is my only option building it from source? If so, do I clone https://github.com/goatpig/BitcoinArmory ?
staff
Activity: 3458
Merit: 6793
Just writing some code
full member
Activity: 174
Merit: 100
Separation of currency and state.
Hello,

After installing Armory to try it out and see how I like the software, I began by clicking the "create your first wallet" button, and when I got to the part where you enter the passphrase for the third time and clicked "next," the graphical user interface just vanished; dumped me back to my desktop. However, the ArmoryDB process remained running. The first time was with adding manual entropy, second time without; third time I tried a short and simple passphrase just to test; same results.

Relevant information:

My machine:
Panasonic Toughbook CF-30 MK3 running Debian
Code:
henry@tb:~/Downloads$ uname -a
Linux tb 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64 GNU/Linux
henry@tb:~/Downloads$ python --version
Python 2.7.13
henry@tb:~$ gcc --version
gcc (Debian 6.3.0-18) 6.3.0 20170516
henry@tb:~$ apt list python-psutil
python-psutil/stable,now 5.0.1-1 amd64 [installed,automatic]
henry@tb:~$ apt list python-twisted
python-twisted/stable,now 16.6.0-2 all [installed,automatic]

When I initially ran
Code:
dpkg -i armory_0.96-gcc4.7_amd64.deb
I got some errors about unmet dependencies, python-psutil and python-twisted; I ran
Code:
apt install python-psutil python-twisted
and got an error about incomplete installations advising me to run
Code:
apt --fix-broken install
which I did; when it completed, it said that armory had been installed.

My log files are here: https://bpaste.net/show/904ba91c2f02

Any assistance resolving this greatly appreciated. Any further information gladly provided.

Thank you!
Jump to: