-
TrasherDK[m]
Building master on Slackware x64 14.2 failed
-
TrasherDK[m]
-
TrasherDK[m]
Slackware x64 15.0 is fine tho.
-
TrasherDK[m]
$ monerod --version
-
TrasherDK[m]
Monero 'Oxygen Orion' (v0.17.0.0-b54d5ae38)
-
selsta
TrasherDK[m]: which ubuntu version?
-
selsta
sorry i meant which openssl version
-
selsta
on 14.2
-
selsta
MeowingCat: that's why i recommended to run make depends directly
-
TrasherDK[m]
# openssl version
-
TrasherDK[m]
OpenSSL 1.0.2u 20 Dec 2019
-
selsta
seems ancient?
-
selsta
is it possible to update?
-
TrasherDK[m]
Well, 14.2 is ancient, but rock solid.
-
TrasherDK[m]
Updates are only possible if I want to maintain the packages myself, unless I can point cmake to "local" version.
-
selsta
we added openssl 3.0 support and seems as a consequence old openssl broke
-
selsta
openssl 1.1.x should be recent enough
-
TrasherDK[m]
Even the dev branch "current" is at OpenSSL 1.1.1q 5 Jul 2022
-
selsta
you can tell `cmake -D OPENSSL_ROOT_DIR=`
-
selsta
yes, you need at least 1.1.x or 3.0
-
TrasherDK[m]
Okay. So I need to make a static build of openssl and do a install DESTDIR=$somewhere_local
-
selsta
should work
-
TrasherDK[m]
Cool. I'll try. Thanks.
-
hyc
MeowingCat: yeah, what selsta said. just do "make depends target=aarch64-linux-android"
-
selsta
ofrnxmr[m]: was it you that had the difficulty drift bug? can you compile my latest master-beta branch and see if you can still reproduce it?
-
ofrnxmr[m]
selsta:
-
ofrnxmr[m]
This one?
-
ofrnxmr[m]
-
ofrnxmr[m]
I'm not sure why it happened, and have only seen it once. But yeah, will update to the latest and keep logs
-
selsta
yes this one
-
selsta
i think it doesn't show up anymore with the latest version, or maybe i just had bad luck and have to wait longer until i trigger it
-
selsta
.merge+ 8394
-
xmr-pr
Added
-
luigi1111w
.merges
-
xmr-pr
8371 8388 8390 8391 8394 8400 8404 8408 8412 8413 8414
-
luigi1111w
gonna leave 8414 until branch is pending
-
TrasherDK[m]
Soo, I guess I'll also need a local static build of boost.
-
TrasherDK[m]
Boost 105900 (older than 1.62) is too old to link with OpenSSL 1.1.1q
-
moneroextremist[
Seth For Privacy: Check DMs.
-
welcomeworld[m]
based on recent comments regards tor setup i made a pull request.
monero-project/monero #8423
-
moneromooo
Thanks, always welcome.
-
TrasherDK[m]
Did someone update the docs, saying ssl below 1.1.1 and a boost that ssl 1.1.1 is happy with, is required for running this thing, leaving behind a shitload of peeps, not running the latest ubuntu/debian ? Who the fuck decided that ssl 3.x was the way to go?
-
moneromooo
Did you check the commit message ?
-
TrasherDK[m]
Eh, git pull origin? No, witch one?
-
moneromooo
I mean the message in the commit that added openssl 3.x support and/or removed older ones.
-
moneromooo
It might explain the rationale.
-
TrasherDK[m]
I'm getting issues/pr's, but have missed something. Clues, please. # would help.
-
moneromooo
You can grep as fast as I can :)
-
moneromooo
I wasn't saying "the commit message explains", but really "it might".
-
TrasherDK[m]
I have no clue how to grep a commit message. Using `git log -p --name-only --grep=openssl | less`, searching for '3\.` is not helpful. "ssl: server-side: allow multiple version of TLS" and iOS something. Sorry Moo, I'm a git illiterate. Basic stuff I know.
-
moneromooo
I usualy just "git log", then /[Oo]pen[sS]
-
moneromooo
or, if I know where in a file part of the change is, git blame $thatfile
-
moneromooo
Then git blame $thatfile irrelevantcommit^ till I find a good one.
-
TrasherDK[m]
The last commit, after my last successful build, is :
-
TrasherDK[m]
-
selsta
TrasherDK[m]: Ubuntu 18.04 has a new enough OpenSSL
-
selsta
what distro are you running?
-
selsta
and is it a good idea to use outdated openssl?
-
TrasherDK[m]
Yeah, I guess. My servers are running Slackware 14.2/15.0 The Monero ones are still on 14.2
-
TrasherDK[m]
Vulnerable versions of openssl are patched and released within 1 day.
-
TrasherDK[m]
I seems that openssl 1.1.0 and 1.1.1 need more patching than 1.0.x versions.
-
selsta
-
selsta
Version 1.1.1 will be supported until 2023-09-11 (LTS).
-
selsta
Version 1.0.2 is no longer supported. Extended support for 1.0.2 to gain access to security fixes for that version is available.
-
TrasherDK[m]
I don't think the Slackware guys care too much. They are still pushing updates to 1.0x when required. Latest was `Jun 29 10:32` version `openssl-1.0.2u-x86_64-4_slack14.2`
-
selsta
yes, that's from 2019
-
TrasherDK[m]
If that was the case, the date would have a year. Most of the vulnerabilities discovered are in the recent releases.
-
TrasherDK[m]
Those versions released by the Slackware team, are not just flat copies of the upstream. They are often patched beyond the source.
-
hyc
that's kind of worrisome. who's writing their patches? could be like debian and introduce new vulns
-
hyc
IMO, while OpenSSL 3.0's API kinda sucks, we should be migrating to it since 1.1.1 will be dead soon
-
TrasherDK[m]
Well.. My mainnet, testnet and stagenet are running with openssl `1.0.2u`. All the certificates, connection my network, same. All are TLS 1.2 (I think) I upgraded 5+ hosts to v15.0, and that was a bitch. Doing it to 10+ more kinda turns me off. Anyway. If I can build static dependencies, and build the Monero binaries as static, I will keep the nodes running.
-
TrasherDK[m]
Anyone got a bash script to build boost as static, I'm interested 🙂
-
hyc
"make depends" builds all dependencies as static
-
selsta
make depends target=x86_64-linux-gnu
-
selsta
don't know if it works on your slackware version, we tested it on ubuntu 18.04 and 20.04
-
selsta
-
TrasherDK[m]
So far it doesn't look too promising: `Failed to connect to samba.org port 443 after 15221 ms`
-
TrasherDK[m]
Ah, now it's going.
-
TrasherDK[m]
So I should probably get rid of `-DBOOST_IGNORE_SYSTEM_PATHS=OFF` when building, right?
-
TrasherDK[m]
Will `cmake bla bla ${path_to_source}` do the trick?
-
selsta
where did you add this?
-
TrasherDK[m]
I have `./build` and `./source`. In `./build` I do `cmake -DCMAKE_BUILD_TYPE=static -D OPENSSL_ROOT_DIR=${openssl} ../source`. This is after the `make depends` in `./source`
-
TrasherDK[m]
`make depends` are still grinding.
-
selsta
is this a separate question in case make depends doesn't work?
-
selsta
otherwise i'm not sure what you are trying to do
-
TrasherDK[m]
`make depends` didn't work. boost failed:
-
TrasherDK[m]
`CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):... (full message at
libera.ems.host/_matrix/media/r0/do…e4ac68d6d8229e6bf58644a37d64b9bfccc)
-
TrasherDK[m]
I'm at zulu+7, I have to drop off. I'll look at doing a static boost, when I wake up 😴
-
selsta
you can always use docker to build static binaries
-
selsta
-
selsta
soo I updated my OS and now everything seems broken in monero, here is an example backtrace for `monerod`:
paste.debian.net/hidden/f210ba9f
-
selsta
thread 9 doesn't even display anything so no idea what this is
-
selsta
this was with a release build, with a debug build i can't reproduce the crash but monerod doesn't sync any blocks
-
selsta
the only other thing i can try is if my db is corrupted for some reason
-
sech1
the crashed thread doesn't show any callstack, and all other threads are either blocke waiting or also with no callstack
-
selsta
i deleted my db and it starts to sync again, but no idea how it got corrupted in the first place
-
selsta
seems like both of my issues were broken wallet cache and broken db
-
selsta
hopefully my SSD isn't broken lol
-
selsta
we don't use lmdb for the wallet cache, right?
-
selsta
this wallet use after free issue is remaining:
paste.debian.net/hidden/e6ee8b39
-
selsta
any tips on how to debug this?
-
hyc
right, wallet cache is just a plain file
-
hyc
sounds like your ssd is flaky
-
selsta
hyc: which macos version do you have on your m1 macbook?
-
selsta
the ssd is like half a year old so i would be really surprised if that's the issue, i can consistently reproduce the use after free during wallet scanning