-
jeffro256[m]
This PR
monero-project/monero #8564 should be tackling it
-
jeffro256[m]
If you know a thing or two about static builds, give a shot at reviewing it!
-
jeffro256[m]
Also if you want to build statically on Ubuntu 22 then `git checkout` that branch before running `make release-static`
-
layter[m]
jeffro256[m]: Right
-
jadeydi[m]
Is there any documents for integrating monero in to a wallet, and can build the transaction from utxos with private key, didn't find in github and website
-
grumblemobile
wallet2 does that. If you want to make another wallet, use wallet2 as a base and build your own UI.
-
grumblemobile
(in src/wallet)
-
binaryFate
one-horse-wagon[: what I meant is I have published the binaries on getmonero.org, there is no need for more gitian check PRs (at least as far as I'm concerned). Thanks for yours btw
-
ErCiccione
I'm a bit confused by building static monero binaries. I've been using my Dockerfile that builds the dependencies necessary and then `make release-static`. That worked for years until the recent problem with Ubuntu 22. I resolved using `make depends target=x86_64-linux-gnu`, which to me substituted make release-static. Now i see the pr from localmonero to fix release-static, i tried it out but it still doesn't work, while make depends work.
-
ErCiccione
So the question is, since make depends was introduced, is that the preferred way to build static binaries or it's still monero-static?
-
ErCiccione
if yes, is the release-static receipt still needed then?
-
selsta
there are two different things
-
selsta
make depends compiles all the dependencies for you the same we use them in release binaries
-
selsta
make release-static simply compiles a static binary, but you can use your own dependencies.
-
selsta
they are*
-
ErCiccione
ok got it, thanks selsta. So if i'm understanding correctly, for our purpose (bundling monero binaries into Haveno) either method is fine
-
selsta
ideally use make depends so that the binaries are close to monero's binaries
-
ErCiccione
yeah i'll keep using that one for the next future
-
selsta
though make depends doesn't work on 22.04 yet, so I'm surprised it works for you
-
selsta
i'm currently working on fixing it
-
ErCiccione
the docker image i use still downloads and build the static dependencies, that's probably related. It didn't work on fedora for example
-
ErCiccione
docker image based on ubuntu:latest, so 22.04
-
selsta
I don't know what docker file you are talking about, the one in our repository uses 20.04
-
ErCiccione
nevermind i was wrong. I reverted back to bionic after noticing the issues with 22.04 and forgot about it
-
ErCiccione
i have my own tool to build static binaries:
github.com/erciccione/monero-static now it's mostly broken but i still use the dockerfile
-
jadeydi[m]
For the wallet2, does it support build transaction from multiple account with multiple outputs, which function should i use have read the codes? not familiar with c
-
grumblemobile
No. Single account source.
-
grumblemobile
You don't really want to make txes with inputs from more than one account, even though it's theoretically possible.
-
jadeydi[m]
<grumblemobile> "You don't really want to make..." <- Thanks. I know it can do that, is there any package in Go or c can do that (spend multiple outputs from multiple account in one tx)?
-
jadeydi[m]
-
selsta
hyc: any idea how to fix this protobuf cmake error?
paste.debian.net/hidden/64475b0b
-
selsta
`root/monero/contrib/depends/x86_64-linux-gnu/include/google/protobuf/stubs/common.h` does not exist
-
selsta
once this is fixed `make depends` should work on Ubuntu 22.04
-
hyc
will take a look
-
hyc
looks like FindProtobuf cmake module is broken
-
selsta
to reproduce you need Ubuntu 22.04 +
monero-project/monero #8574 applied to fix the previous Qt build error
-
hyc
ok, my laptop is currently on 22.04
-
hyc
hm mine fails immediately
paste.debian.net/1254475
-
hyc
I guess it needs a HOST
-
selsta
make depends target=x86_64-linux-gnu
-
hyc
ok it's running
-
selsta
and you need gperf installed for some reason
-
hyc
hm, have that already so ok
-
hyc
had no problem with protobuf here
-
hyc
main make is proceeding normally
-
selsta
hmmm
-
hyc
-
selsta
which branch did you build?
-
hyc
pr8574
-
selsta
I have the same OS version, trying to build again from scratch
-
selsta
hyc: could it be that you have protobuf installed using apt?
-
hyc
hmm. I have libprotobuf23 [installed, automatic]
-
hyc
and python3-protobuf
-
hyc
but nothing else, in particular no -dev pkgs
-
hyc
and you can see from the output that it used the depends package that it built itself
-
hyc
line 94 and 95
-
selsta
yep, I restarted my build now and will also try to run CI on 22.04 instead of 20.04
-
duggavo[m]
Is monerod built with the docker file portable?
-
hyc
my build finished fine
-
selsta
hyc: mine did too now
-
selsta
no idea what that was...
-
selsta
duggavo[m]: did you get a build working now?
-
selsta
error: ‘-mfloat-abi=hard’: selected architecture lacks an FPU <-- this shows up when cross compiling to armv7 from ubuntu 22.04
-
selsta
but not important now
-
duggavo[m]
<selsta> "duggavo: did you get a build..." <- well yes but actually not
-
duggavo[m]
i successfully built with docker,
-
duggavo[m]
but i have no idea where the monerod file is
-
duggavo[m]
its not in /bin/
-
selsta
ok, I don't use docker myself so not sure if I can help, but we fixed `make depends target=x86_64-linux-gnu` on Ubuntu 22.04
-
selsta
you have to apply
monero-project/monero #8574 on master branch and then it should work
-
duggavo[m]
selsta: Thank you so much! Docker is very slow at compiling because it re-compiles everything every time
-
duggavo[m]
selsta: do you mean i need to re-do git clone --recursive
github.com/monero-project/monero?
-
selsta
git checkout master
-
selsta
git pull origin pull/8574/head
-
hyc
yeah I don't like that dockerfile. better to use depends or gitian which locally caches dependencies
-
hyc
selsta: I assume the gui builds qt itself?
-
selsta
yes
-
hyc
so it never needed the one built here? cool
-
selsta
quite sure it was copy pasted from bitcoin
-
hyc
seems likely
-
selsta
with ldns and qt removed it should speed up the build a bit
-
selsta
if nothing is cached
-
hyc
indeed
-
hyc
qt is quite a beast
-
selsta
should I also PR against release?
-
hyc
I guess it couldn't hurt. do we anticipate more 18.x releases?
-
selsta
yes, we have a couple more bugs to fix
-
hyc
then yeah, definitely
-
selsta
-
sech1
-
sech1
zmq calls can throw exceptions, so it makes sense to add try...catch in zmq_server.cpp
-
sech1
no, wait, it's not zmq that throws an exception
-
sech1
zmq returns error EAGAIN (resource temporarily unavailable) and then MONERO_UNWRAP macro throws
-
sech1
so it should probably check for EAGAIN there and just ignore it
-
sech1
EAGAIN means non-blocking sockets can't receive/send data right now, so it should just continue with the next loop iteration instead of throwing up
-
Guest3257
Hello, i have question about transfer rpc. There is a way to specify fixed fee for a transaction via rpc node ?
-
hyc
Guest3257: you cannot specify your own arbitrary fee amount
-
hyc
you can specify a multiplier for the current base fee
-
vtnerd
selsta: responded about 30 minutes ago, some stack values need to be reset between calls to poll
-
bigdog8003[m]
Hello.what is the best app that buy monero on?I have been using crypto but everyone is getting away from bitcoin now
-
afungible[m]1
<bigdog8003[m]> "Hello.what is the best app..." <- This may not be the right group for this, as this is for developer discussion You could check this website:
kycnot.me