-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instalation issue #668
Comments
Something aarch64 specific? Has somebody tried running JM on 64-bit ARM before? |
Anyone? |
Seems to be the same issue as kristapsk/raspibolt-extras#5. Guess the problem is that nobody from JM devs have aarch64 hardware to try to reproduce... |
That's unfortunate :( |
Is this related? ofek/coincurve#71 You should maybe focus on how to get coincurve to install (it would just be I have a plan to factor out the remaining dependencies on coincurve as with a little work we should be able to replace the remaining dependencies on it, with |
Successfully installed coincurve with The installation still fails with following errors:
As far as I can see it starts with building wheels for a few packages:
It manages to create the wheels for all except coincurve:
Then it tries to install all the packages and crashes when it gets to coincurve:
|
(edited to remove unrelated stuff) I'm having a similar issue when attempting to install on FreeBSD. Same as above, when building building coincurve it fails with the following output:
So not exactly the same, but very close:
|
@bektar, I tested in July with FreeBSD 12.1 and in theory all you should do now before running |
@kristapsk that works mostly, but when following the steps found under the heading "Alternative/custom installation" on https://github.com/JoinMarket-Org/joinmarket-clientserver/blob/master/docs/INSTALL.md it fails. i.e. the commands
and specifically the "python setupall.py --client-bitcoin" one |
Ehm, and please ignore the extra cruft around it, it is basically to make my scripts prettier and reusable. It doesn't affect anything pertinent to this (i.e. if i manually enter the venv and run the commands the result is the same) |
@bektar First, yes |
@OvoNemaSmisla I haven't commented further since your last update because I don't know what's actually happening here. I was hoping that someone like @openoms , i.e. more specifically someone who does install Joinmarket on RPi (I don't/haven't) would chime in, since clearly the process was working correctly at some point (perhaps still is? it seems many people have done it), and I'm not aware of what have might changed. In particular on https://github.com/JoinMarket-Org/joinmarket-clientserver/blob/master/jmbitcoin/setup.py#L13 ... so I can't understand why it isn't working during install if it works manually otherwise. One idea occurs to me, depending on the distro, the default python, and pip, may be python2 not 3, that is just a low-probability guess as to why the pip installation of coincurve works outside of the install (the install is all python3 now). Come to think of it, that is the biggest/most important difference between 0.7.0 Joinmarket and the previous versions - we've switched to requiring python3.6+ (see release notes) and cannot use py3.5 any more. Does 0.6.3.1 install OK? |
Yeah, it started to feel a bit off topic. But there is some connection due to it appears as if coincurve fails to build due to
Anyway, I'll open a different issue and reference this one from there |
Hmm, perhaps I was wrong then. But maybe just remove the secp stuff. |
I'll edit my posts… just need to figure out in what way. Right now when I'm running python setupall.py --client-bitcoin again I actually got no errors. Going to reset the system and start over and try to figure out what the hell is going on. I'm sure it is my fault somehow, just now how. |
@bektar , why do you want to use |
@kristapsk I'll move all the purely freebsd related stuff to #630 Not sure if this is of any help to the actual topic, but might be. I suspect the error can be solved on freebsd by installing py37-secp256k1 and/or py37-coincurve, and then opening a new shell. After installing them it still didn't work, but opening a new bash and running "source jmvenv/bin/activate" again I can now run "python setupall.py --client-bitcoin" without errors. (Still figuring out the specifics) No idea if there are any similar packages to be found for aarch64 though. |
@waxwing on the RPi (with the most popular Debian based Raspberry OS) the environment is 32bit This Odroid board is running a 64 bit Regarding the problematic package you can try to install the package with Example of this is here to replace the missing |
@openoms are you able to install 0.7.0 OK? |
Another quick update from my end, I've managed to run "python setupall.py --client-bitcoin" without errors at least twice, but I cannot figure out how to reproduce it. My conjecture above doesn't seem to be correct, and that is just about as much as I can conclude atm. What makes this much more frustrating is I'm basically running everything from a script and then resetting the jail after each try, but it still sometimes works and sometimes doesn't. Anyway, I'm going to step away from the computer now for a while and will try to get back to you later once I have more conclusive data. Off topic: |
@AdamISZ 0.7.0 works ok with standard 32-bit RPi, I tested before bumping version in my raspibolt-extras JM guide, problem is only on aarch64 (64-bit ARM). |
Better open new issue, that one is closed PR to add FreeBSD compatibility to |
Yes, #joinmarket on freenode |
@AdamISZ I got 2 versions of pyton:
Default version was 2.7.17, so I've changed it with I'll try to
@openoms I'd like to try your suggestion also, but don't know which package are you referring to. |
I've tried the install with default python version changed to 3.6.9 but no success. The same issue happens. I've ran
The last thing I tried is to install 0.6.3.1 version and it was successful. |
I have coincurve 13.0.0 installed for the user and the joinmarket Odroid C4 running 64bit Armbian Focal with Python 3.8.5:
Odroid HC2 running 32bit Armbian Buster with an older kernel and Python 3.7.3:
Strange because the coincurve version is not pinned: https://github.com/JoinMarket-Org/joinmarket-clientserver=/blob/be117fca202b3edfd226143247f7ab3e7110ab3e/jmbitcoin/setup.py#L13 , so it is not clear why installing for the system makes a difference.
needed to add in For the record all the dependencies installed for
Would worth to add all these to the installation to avoid obscure missing packages. |
related: ttps://github.com/JoinMarket-Org/joinmarket-clientserver/issues/668#issuecomment-717815719
not related to systemwide or not, I just did libffi and headers are compiled and installed just becore coincurve in install.sh so you should not need the system package |
@ketominer Sounds very strange and kinda makes no sense, coincurve is just dependency of jmbitcoin and should be installed by install.sh. @openoms reminded me that RPi3 has aarch64 capable board, maybe I should try to reproduce with a different SD card with 64-bit Linux and try figure out what's happening there. |
yes definitely strange! |
I was running 0.6.3.1 version for a few weeks without any problems. After reading previous posts, I tried to upgrade to 0.7.2 version and it was successful. I'm not sure if |
@kristapsk @ketominer do you see any issue with skipping to build Running |
@OvoNemaSmisla @openoms is there anything actionable here still, or should it be closed? |
Looks like and edge case and unclear what the solution was here so can be closed. Will reopen if can reproduce it reliably. |
@openoms So you are able to install JM on aarch64 Linux without any issues now? From my part the problem was that I didn't have aarch64 Linux to reproduce. There is related issue kristapsk/raspibolt-extras#5. |
As detailed above the install scripts in both raspiblitz
RaspiBlitz (and likely RaspiBolt too) will be based on the 64bit RaspberryOS (https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2020-08-24/) in the future: raspiblitz/raspiblitz#1199 (comment). |
For me, the 0.7.2 version worked. I'm not sure why, the system hasn't changed. The reason might be the additional dependencies that 0.7.2 version has? All in all, JM has been working for me without problems for a month now and this can be closed as far as I'm concerned. |
Now getting an issue on the aarch64 RaspberryOS coming down to this
As it looks Detailed logs are linked in: raspiblitz/raspiblitz#1851 (comment) |
With a fresh install, I'm getting:
(and it works of course) So I'm not seeing "As it looks argon2-cffi-20.1.0 pulls a different version (v1.12.2) of cffi" ; so is this ARM specific or is there just some mistake somewhere? 1.14.4 seems to simply be the latest version. For argon2-cffi doesn't this mean anything above 1.0 should be OK? https://github.com/hynek/argon2-cffi/blob/master/setup.py#L103 And in coincurve I'm seeing: |
Thank you for looking into it. Works well again on aarch64 (64bit ARM). |
Thanks, good to hear. I'd like to understand better, though the error message/exception you got was pretty clear as to the cause of the problem, but not .. the cause of the cause of the problem if you see what I mean :) Is the problem that we are picking up a global cffi_backend module instead of installing it inside our own installation environment? (venv) |
@openoms is there anything still actionable here or should we close it? |
I had no installation issues with the more recent versions and some of my custom changes were addressed in other PRs so I don't feel this issue being relevant any more. |
Good day, from what I've read here, I've decided to type on my terminal |
Hi,
I'm trying to install joinmarket on:
The install script exits with the following error:
If I read this correctly, it looks like it fails while building coincurve:
I'm not sure what can I do about this and I would appriciate someone pointing me in the right direction.
The text was updated successfully, but these errors were encountered: