-
dsanpang
Hello, do you have any staff?
-
plowsof[m]
hello dsanpang what is the nature of your issue? This is the Monero Developer channel. I will direct you to the correct place where one of our trained staff members can assist you further.
-
dsanpang
I saved the address on monero wallets, but the address changed when I clicked the save button.
-
plowsof[m]
I'm sorry to hear that, i will contact you via direct message to further diagnose the issue, and get you up and running!
-
dsanpang
thanks
-
sech1
I can't build the latest master:
paste.debian.net/hidden/9f69596b
-
sech1
Does anyone know what's wrong?
-
moneromooo
sech1: I'd try removing all CMakeCache.txt from build, and make again. Looks like it might be confused between in-tree and system unbound.
-
sech1
It was a build done right after a fresh git clone
-
sech1
I tried to VMs (Ubuntu 20.04 and Ubuntu 18.04), same result
-
sech1
*two VMs
-
moneromooo
Then I'd suggest checking what cmake thinks it found for unbound, then the link line, and see if those are consistent.
-
moneromooo
Double check cmake var names (ie, X_LIBRARY vs X_LIBRARIES) in case it changed recently.
-
sech1
Those two VMs are quite messy, I installed and uninstalled a lot of software there. I'll try with a fresh VM later today.
-
sech1
moneromooo this is on a fresh Ubuntu 20.04 VM after following the build steps from Github:
paste.debian.net/hidden/b16cf76c
-
moneromooo
It's found a static libunbound, so it seems it needs linking against libevent, which is automatic for shared libs. I see depends configures without libevent. Your OS did the opposite I guess.
-
moneromooo
So either build your own and have cmake use that, or use a shared lib, or add a cmake find_library for libevent (or libevent2) and add at the end of UNBOUND_LIBRARY.
-
moneromooo
I remember doing a similar thing for libzmq, which can sometimes need... a couple other libs. If detected, I append them.
-
» moneromooo looks
-
moneromooo
norm and pgm. So git grep PGM_LIB should get you all you need to replijcate this for libevent.
-
moneromooo
You might end up linking unnecessarily to it, but with static libs it's fine, it just won't pick symbols it doesn't need.
-
moneromooo
Hopefully that's all there is.
-
sech1
release-v0.17 built just fine
-
sech1
interesting
-
moneromooo
I think selsta switch libunbound at some point not too long ago. Might not be on the branch.
-
sech1
there's no UNBOUND_LIBRARY in CMakeLists.txt
-
moneromooo
It's "IES" here.
-
moneromooo
(in common)
-
moneromooo
(which might be wrong, there was at least one problem before with Y/IES mixup)
-
sech1
found in src/common/CMakeLists.txt
-
sech1
ok, it seems to work. Now to `nettle_yarrow256_seed`
-
sech1
-
sech1
I added "find_library(EVENT_LIBRARY event)" and "find_library(NETTLE_LIBRARY nettle)", then changed to "${UNBOUND_LIBRARIES} ${EVENT_LIBRARY} ${NETTLE_LIBRARY}" in CMakeLists.txt
-
sech1
it found both, but it still give linker errors
-
selsta
Are you trying to build a static binary?
-
selsta
-
selsta
you also have to compile expat and ldns
-
selsta
-
selsta
you can also just use `make depends target=x86_64-linux-gnu` (that will compile all the dependencies for you)
-
sech1
Not necessarily static
-
sech1
but `make release` give the same linker errors
-
sech1
I just need any working binary
-
selsta
hmm we build every commit on ubuntu 18.04 and 20.04 without issues, with all dependencies installed from apt
-
selsta
`make depends target=x86_64-linux-gnu` will give you a working binary for now
-
selsta
`sudo apt -y install build-essential libtool cmake autotools-dev automake pkg-config bsdmainutils curl git ca-certificates gperf python3-zmq libdbus-1-dev libharfbuzz-dev`
-
selsta
install these dependencies before running `make depends`
-
sech1
I'll try whatever .github/workflows/build.yml does
-
sech1
Because I followed Readme.MD instructions, maybe they are incomplete
-
moneromooo
Make sure you nuke CMakeCache.txt, cmake can be an ass when you change that kind of stuff.
-
moneromooo
Then link with VERBOSE=1 to check the link line, compare with what it should be (ie, what follows -lunbound or similar).
-
sech1
Huh. I decided to build it on my server and it just built fine. The only difference is that the VM had Ubuntu Desktop 20.04 and this is Ubuntu Server 20.04
-
sech1
Whatever. I can at least spin up the testnet node now. Testnet hardfork in 3 days?
-
sech1
Found it - block 1982800, around 23:00 CEST on May 16th
-
selsta
Ubuntu Desktop and Server should be irrelevant. Maybe you have some old custom compiled unbound version somewhere that gets picked up by cmake?
-
sech1
The second VM I tried was a fresh install
-
sech1
I certainly don't remember compiling Monero or unbound before on that server
-
sech1
-
selsta
does it fix itself after some time?
-
selsta
it seems to sync fine, just the target height looks off
-
sech1
It keeps syncing
-
gingeropolous
probably some weird testnet node using a fixed diff that someone forgot about
-
gingeropolous
for the record i got the xmrchain node running testnet on master and mining, so there'll be some help moving the chain forward
-
r4v3r23[m]
will 8046 make it in the HF?
-
r4v3r23[m]
saw it in the merge queue but it didnt get included in the last batch
-
selsta
.merges
-
xmr-pr
8046 8312
-
r4v3r23[m]
thx
-
selsta
moneromooo: 8046 needs a rebase
-
moneromooo
selsta: done
-
luigi1112
are we branching monday?
-
sethforprivacy
Once the tag is up I'll have 2 testnet nodes up and mining on a thread.
-
selsta
we won't have a tag
-
selsta
tag will be done shortly before release
-
sethforprivacy
branch = tag 🙂
-
sethforprivacy
Should have been more specific
-
sethforprivacy
If we really will only branch and not tag then I will update the phrasing in the checklist to reflect that, I thought we did actually tag before testnet launch
-
hyc
selsta is correct. the tag comes late. the branch comes first
-
hyc
and we apply any last minute fixes to the branch, prior to tagging
-
hyc
the point of forking testnet first is to give time to look for bugs on the branch before tagging the official release
-
selsta
yep, tagging before testing is pointless
-
sethforprivacy
Thanks for the clarifications!