-
stretch1
what is peer_id ?
-
stretch1
public_zone.m_config.m_peer_id = crypto::rand<uint64_t>();
-
stretch1
what is flow: init change publisch ?
-
stretch1
<moneromooo> "It's "peer_id", mostly in..." <- .
-
stretch1
* ```
-
stretch1
public_zone.m_config.m_peer_id = crypto::rand<uint64_t>();
-
stretch1
```
-
stretch1
what is flow: init change publish
-
stretch1
it seems local only to identify peer but not published.
-
stretch1
true? peer1 sees peer2 under a different id than peer 3 sees peer 2 ?
-
MeowingCat
as i see
-
MeowingCat
Monero is broken
-
MeowingCat
can't build to Android ARM target
-
MeowingCat
but you don't care
-
MeowingCat
i've never seen a software like this
-
MeowingCat
for example Godot wants NDK path and just uses the CLang distributed in NDK to build itself
-
MeowingCat
but Monero can't build itself
-
stretch1
* 2 ? ofrnxmr
-
MeowingCat
make release-static-android-armv7 is wrong
-
MeowingCat
release-static-android-armv7:
-
MeowingCat
mkdir -p $(builddir)/release/translations
-
MeowingCat
cd $(builddir)/release/translations && cmake ../../../translations && $(MAKE)
-
MeowingCat
cd $(builddir)/release && CC=arm-linux-androideabi-clang CXX=arm-linux-androideabi-clang++ cmake -D BUILD_TESTS=OFF -D ARCH="armv7-a" -D STATIC=ON -D BUILD_64=OFF -D CMAKE_BUILD_TYPE=release -D ANDROID=true -D INSTALL_VENDORED_LIBUNBOUND=ON -D BUILD_TAG="android-armv7" -D CMAKE_SYSTEM_NAME="Android" -D CMAKE_ANDROID_STANDALONE_TOOLCHAIN="${ANDROID_STANDALONE_TOOLCHAIN_PATH}" -D CMAKE_ANDROID_ARM_MODE=ON -D CMAKE_ANDROID_ARCH_ABI="armeabi-v7a"
-
MeowingCat
../.. && $(MAKE)
-
MeowingCat
this is "release-static-android-armv7" recipe
-
MeowingCat
CMake Error: The source directory "/root/monero/build/Linux/translations" does not exist.
-
MeowingCat
gitian-build.py is giving errors too
-
MeowingCat
subprocess.CalledProcessError: Command '['bin/make-base-vm', '--suite', 'bionic', '--arch', 'amd64', '--lxc']' returned non-zero exit status 1.
-
sethforprivacy
Do we have a stagenet fork height/date chosen yet?
-
sethforprivacy
Working on updating the checklist here:
monero-project/meta #690
-
sethforprivacy
Also, if anyone reading this knows more items on the list that can be checked off (or wants to take notifying an exchange or wallet that they use) that would be very helpful.
-
w[m]
Herominers pool can be checked
-
MajesticBank
larger exchanges migration, like kraken / binance?
-
w[m]
Should be do a double (with at least mining pools) to check (after the software is released) to ensure they updated?
-
moneroextremist[
Seth For Privacy made a bold claim. He said that if you use e.g: sideshift to receive monero, and then use that same Monero and re-send it to sideshift to trade it for Bitcoin, sideshift would be able to identify that the Monero you sent was the same one that they gave you in a previous transaction. If this is indeed true, is this fixable by just sending monero into another account on your own wallet using the GUI? I am assuming
-
moneroextremist[
this would be possible by guessing the 1/10 of the ring signers ?
-
moneroextremist[
* Seth For Privacy made a bold claim. He said that if you use e.g: sideshift to receive monero, and then use that same Monero and re-send it to sideshift to trade it for Bitcoin, sideshift would be able to identify that the Monero you sent was the same one that they gave you in a previous transaction. If this is indeed true, is this fixable by just sending monero into another account on your own wallet using the GUI? In other
-
moneroextremist[
words, does the other accounts you have under the same wallet on the GUI give you a new ring signing identity, therefore, when you get that new ring identity you'll be immune to this AEA attack?
-
hyc
ask in #monero, that's not a -dev question
-
moneroextremist[
hyc: sethforprivacy isnt on the #monero:monero.social channel unfortunately
-
gingeropolous
well try -community
-
sethforprivacy
I'll answer via DMs, thats off-topic for here.
-
moneroextremist[
<sethforprivacy> "I'll answer via DMs, thats off-..." <- I just dmed you.
-
tobtoht[m]
<sethforprivacy> "Do we have a stagenet fork..." <- 1151000, aug 6-ish
-
MeowingCat
is there anyone can build Monero to Android?
-
MeowingCat
seems like it has tons of bugs
-
hyc
works for me
-
MeowingCat
really?
-
hyc
yeah. I've used gitian-build.py and also dockrun.sh
-
MeowingCat
which branch do you build?
-
hyc
I don't use gitian-build.py directly any more because I'm on ubuntu 22
-
sech1
I run the official Monero aarch64 binary on my phone, but it's in Termux
-
MeowingCat
im trying to build on Ubuntu 18.04
-
MeowingCat
but it doesn't work :(((((((
-
hyc
you're runnung ubuntu 18.04 inside a docker container on windows?
-
MeowingCat
yes
-
MeowingCat
Docker on Windows
-
hyc
I've never used docker on windows. no idea why that's broken
-
TrasherDK[m]
Why not run a ubuntu 22 in a VirtualBox VM?
-
hyc
note that gitian-build itself uses docker, which means you need to have docker installed inside of docker
-
MeowingCat
im really confused
-
hyc
and I have no idea if the linux docker is compatible with windows docker so that the tools can talk to each other
-
MeowingCat
isn't there a way to build it without Docker?
-
MeowingCat
because im already on Ubuntu 18.04
-
MeowingCat
TrasherDK[m], the doc says it needs Ubuntu 18.04
-
hyc
then cd'ing into contrib/depends and "make HOST=aarch64-linux-android" ought to work
-
hyc
but tbh I haven't done a bare depends build in ages. and I don't have a plain ubuntu 18.04 system anywhere
-
hyc
which is why I only build it inside a ubuntu 18 image in docker
-
TrasherDK[m]
I guess hyc didn't read the docs.
-
hyc
nonsense.
-
hyc
I wrote the docs.
-
MeowingCat
hyc, are you sure "make HOST=aarch64-linux-android" means building to ARM Android?
-
TrasherDK[m]
So it's ubuntu 22, running 18 in a docker container?
-
hyc
a bare depends build will not work on ubuntu 22. which is why I use ubuntu 18 inside a docker image.
-
MeowingCat
i built with "make HOST=aarch64-linux-android" but can't link my thing that are built to ARM
-
hyc
MeowingCat: yes I'm sure.
-
MeowingCat
ummmmmm
-
MeowingCat
im really confused
-
MeowingCat
"make HOST=aarch64-linux-android" is ARM right?
-
hyc
quit asking the same questions over and over. the answers aren't going to change.
-
MeowingCat
because as i see it is not building to ARM
-
hyc
aarch64 is 64 bit ARM
-
MeowingCat
ummmmmmm
-
MeowingCat
waittttttt
-
MeowingCat
thank you all btw
-
MeowingCat
TrasherDK[m], noo Ubuntu 18.04/Docker on Windows
-
MeowingCat
hyc, should i do "make HOST=aarch64-linux-android" in contrib/depends?
-
hyc
yes
-
MeowingCat
or just "make HOST=aarch64-linux-android" in monero
-
MeowingCat
ummm okii
-
hyc
no
-
TrasherDK[m]
I would use VirtualBox
-
MeowingCat
hyc, im using CLang that is coming in android-ndk-r23c to build Godot and my library
-
MeowingCat
i tried "make HOST=aarch64-linux-android" before but i couldn't link Monero to my library
-
hyc
monero is built with android ndk 17b
-
MeowingCat
i think it should not be a problem but
-
MeowingCat
at least for linking
-
hyc
when you use depends it installs its own copy of the ndk
-
MeowingCat
yess i saw
-
hyc
generally, C++ binaries are not compatible between different compiler versions
-
MeowingCat
i think it should not avoid linking
-
MeowingCat
ummmm
-
hyc
boost libs in particular are compiler dependent
-
hyc
and monero uses boost extensively
-
MeowingCat
then i will build Godot and my library with android-ndk-r17b too
-
hyc
that sounds good
-
MeowingCat
i should just do the same "make HOST=aarch64-linux-android" after building depends right?
-
hyc
no
-
hyc
use the cmake invocation in the depends/README
-
r4v3r23[m]
is 8149 being merged as experimental/disabled by default or will it just replace current multisig?
-
UkoeHB
r4v3r23[m]: as experimental
-
sethforprivacy
<tobtoht[m]> "1151000, aug 6-ish" <- Updated, thanks
-
MeowingCat
checking whether the C compiler works... no
-
MeowingCat
configure: error: in `/root/monero/contrib/depends/work/build/aarch64-linux-android/sodium/1.0.18-888b4964a35':
-
MeowingCat
configure: error: C compiler cannot create executables
-
MeowingCat
See `config.log' for more details
-
MeowingCat
funcs.mk:264: recipe for target '/root/monero/contrib/depends/work/build/aarch64-linux-android/sodium/1.0.18-888b4964a35/./.stamp_configured' failed
-
MeowingCat
building contrib/depends to Android failed with this
-
selsta
building to Android works with gitian, using depends directly probably requires some extra setup
-
MajesticBank
why not using
-
MajesticBank
monero android from cake?
-
selsta
MajesticBank: i think he is building his own wallet
-
MajesticBank
ya but it's just library
-
MajesticBank
monero for android
-
selsta
i did recommend looking at cake in the past
-
MajesticBank
cake is just gui
-
MajesticBank
all the code is fork from monero
-
MajesticBank
-
MajesticBank
there are different branches
-
MajesticBank
compiles for both ios and android
-
MajesticBank
thanks cake wallet and vik for making it open-source anyway
-
hyc
MeowingCat: master built fine for me
paste.debian.net/1246282
-
selsta
hyc: he tried to use depends directly without gitian
-
selsta
which as far as i know requires some extra setup? i tried to add depends android to CI but didn't get it working
-
hyc
yeah. that ought to work, but it probably requires special PATH and other env settings
-
hyc
settings which gitian-android.yml already does
-
hyc
because otherwise, gitian just invokes make depends
-
hyc
the only thing interesting that it puts in the path before building is faketime wrappers for clang clang++ ar nm
-
selsta
i thought faketime was only relevant for the hashes to match?
-
hyc
there's also a faketime wrapper for date, but not important if you don't need a reproducible build
-
hyc
the others are significant because they're present in the path before any other build tools
-
hyc
maybe he's getting the wrong clang otherwise
-
selsta
ok will try
-
hyc
if you don't need faketime you could just try creating a /bin/ subdir with symlinks to the NDK tools, and making sure that's first in PATH
-
hyc
I'm now doing a fresh build of all the dependencies for aarch64-linux-android with those items in my PATH
-
hyc
inside a ubuntu 18.04 docker image
-
hyc
so far no problems
-
hyc
I'm a little puzzled why we build our own sodium and our own zeromq but we don't configure our zeromq to use sodium
-
hyc
anyway, it's all working, including sodium build
-
hyc
yep, all built fine
-
hyc
the depends/README.md has some errors, it says -DCMAKE_TOOLCHAIN=... but it must be -DCMAKE_TOOLCHAIN_FILE=...
-
hyc
-
MeowingCat
hyc, thank you
-
MeowingCat
my internet is like shit rn
-
MeowingCat
im gonna use dockrun.sh on WSL
-
MeowingCat
i hope it will work
-
selsta
-
selsta
i have used that, which already seems correct but i'll try again
-
MeowingCat
main Makefile too has an issue
-
MeowingCat
in release-static-android-armv7 recipe
-
MeowingCat
cd $(builddir)/release/translations && cmake ../../../translations && $(MAKE)
-
selsta
there release-static-android targets aren't really supported, we use depends/gitian for android
-
selsta
these*
-
hyc
selsta: yeah the pat is correct there
-
hyc
path*
-
selsta
but i tried it a couple months ago so i'll try again to see if it works now
-
hyc
you'd have to do make depends target=aarch64-linux-android
-
hyc
I think all of those release-static-blah targets are obsolete. they can only work if you have all the tools already
-
hyc
and we don't use them to build release images any more anyway, they were obsoleted by gitian
-
hyc
I also think they only work for native builds, not cross compiles
-
hyc
libwallet.a is 145MB. that seems a bit excessive... those are mostly debug symbols, but it's still over 10MB of executable code
-
selsta
hyc: which dependencies did you install?
-
selsta
I assume we get the compiler from the ndk
-
selsta
-
hyc
I used my gitian-target docker image, so it had all of the gitian-android deps installed already
-
hyc
yes, we use the NDK compiler for building target files. we use whatever gcc for building build-host tools
-
selsta
i started a build now, let's see
-
hyc
"make depends target=aarch64-linux-android" is working for me too, without any PATH mucking
-
selsta
hyc: nice, it also worked for me. must have been something that's fixed recently or i had the wrong depends target
-
selsta
-
selsta
i've only added armv8 now, does it make sense to also add armv7?
-
hyc
I don't particularly care about armv7 support. ARM is already dropping 32bit support from all their newest processor designs
-
hyc
\I'm a bit confused tho, what's that Pr for? CI/CD already builds ARM
-
selsta
hyc: but not for android specifically
-
MeowingCat_
hyc, i just ran dockrun.sh and failed with errors like "#5 0.346 E: Unable to locate packag ..."
-
selsta
we build to linux armv8, also having ci for android doesn't hurt so that the ndk stuff gets tested
-
selsta
MeowingCat_: i just tried it without docker, it should work as long as you are using ubuntu 18.04 or 20.04
-
MeowingCat_
selsta, it is not working :((((
-
selsta
build-essential libtool cmake autotools-dev automake pkg-config bsdmainutils curl git ca-certificates gperf cmake python3
-
selsta
install these dependencies
-
selsta
like i said, i just successfully ran it on a fresh ubuntu 18.04 vm
-
MeowingCat
can Monero build and work properly with newer NDK?
-
selsta
what would be a reason to update? but theoretically yes
-
MeowingCat
dockrun.sh stucked at "Running build script (log in var/build.log)"
-
MeowingCat
is it normal to take very long time?
-
selsta
how long did you wait?
-
MeowingCat
about 40 mins
-
MeowingCat
still waiting
-
ofrnxmr[m]
Yes, on my system at least
-
ofrnxmr[m]
Can see running process in htop
-
selsta
build script does a full build of all dependencies + monero
-
MeowingCat
i see GCCs
-
MeowingCat
If these results look correct, type "sign" to sign them, otherwise ^C to stop now.
-
MeowingCat
Not signing, bye.
-
MeowingCat
did i miss this thing??
-
MeowingCat
how can i reach outputs?
-
MeowingCat
i found it in container
-
MeowingCat
:((((((
-
MeowingCat
there is no any object archive in build
-
MeowingCat
i neeed .a files to link
-
MeowingCat
i will look at container
-
MeowingCat
im looking at /home/ubuntu/build/monero in container but there is no anything about Monero static libraries
-
MeowingCat
:((((((((((((((((((((((((((((((((((((((
-
MeowingCat
-
MeowingCat
please remove this damn line