You are not logged in.

#1 2022-09-21 08:32:02

HeavyRoots
Member
Registered: 2022-09-21
Posts: 3

Monero gui network status "wrong"version"

Hi,
Yesterday i update monero and monero-gui, since that, the network status report wrong version, i noticed on monero website two updated version in the same day and same build (arch repository provide just one time) :
https://www.getmonero.org/blog/

How can i get rid of that ?

Thanks.

Offline

#2 2022-09-21 12:28:56

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,170

Re: Monero gui network status "wrong"version"

The blog indicates monero and monero-gui have separate releases although they use the same version  number.
That's not what is causing the issue.

"${pkgname}"::"git+https://github.com/monero-project/monero?signed#commit=${_commit}"

monero builds from a specific commit, but monero-gui doesn't.

"git+https://github.com/monero-project/monero"

I suggest you file a bug report against monero-gui .

Last edited by Lone_Wolf (2022-09-21 12:29:56)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2022-09-21 16:16:21

HeavyRoots
Member
Registered: 2022-09-21
Posts: 3

Re: Monero gui network status "wrong"version"

Lone_Wolf wrote:

The blog indicates monero and monero-gui have separate releases although they use the same version  number.
That's not what is causing the issue.

"${pkgname}"::"git+https://github.com/monero-project/monero?signed#commit=${_commit}"

monero builds from a specific commit, but monero-gui doesn't.

"git+https://github.com/monero-project/monero"

I suggest you file a bug report against monero-gui .

Thank you @Lone Wolf

Offline

#4 2022-09-21 17:10:11

loqs
Member
Registered: 2014-03-06
Posts: 18,964

Re: Monero gui network status "wrong"version"

Lone_Wolf wrote:
"${pkgname}"::"git+https://github.com/monero-project/monero?signed#commit=${_commit}"

monero builds from a specific commit, but monero-gui doesn't.

"git+https://github.com/monero-project/monero"

From monero-gui PKGBUILD

....
_commit=57fefba3864502a48095df4b34fc38df06fcca4d
....
    "git+https://github.com/monero-project/monero-gui?signed#commit=${_commit}"

https://github.com/monero-project/moner … df06fcca4d which shows the monero git sub module at that commit is 7cbae6ca988dedbe358ee5edbf9bdd610673a8ee
From the monero PKGBUILD

....
_commit=7cbae6ca988dedbe358ee5edbf9bdd610673a8ee
....
    "${pkgname}"::"git+https://github.com/monero-project/monero?signed#commit=${_commit}"

So the monero of both packages is built from commit 7cbae6ca988dedbe358ee5edbf9bdd610673a8ee?
Edit:
https://github.com/monero-project/moner … .cpp#L2181 -> https://github.com/monero-project/moner … 03735d9fb1
There should be a longer error message indicating if the wallet is out of date or the daemon.

Last edited by loqs (2022-09-21 17:43:23)

Offline

#5 2022-09-22 09:48:29

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,170

Re: Monero gui network status "wrong"version"

from monero-gui PKGBUILD

source=(
    "git+https://github.com/monero-project/monero-gui?signed#commit=${_commit}"
    "git+https://github.com/monero-project/monero"
    "git+https://github.com/miniupnp/miniupnp.git"
    "git+https://github.com/Tencent/rapidjson.git"
    "git+https://github.com/trezor/trezor-common.git"
    "git+https://github.com/tevador/randomx.git"
    "git+https://github.com/monero-project/supercop.git"
    "monero-gui.desktop"
)
sha512sums=('SKIP'
            'SKIP'
            'SKIP'
            'SKIP'
            'SKIP'
            'SKIP'
            'SKIP'
            '98b67aec60e492f0a220a156a110baf96862343d3802ec34347c70c7af671a1ae49ccaec218f2e8f81e153c433e9145ad2f55b8613ce6999fc2c87fbd81fd8e1')
validpgpkeys=(
  '8777AB8F778EE89487A2F8E7F4ACA0183641E010' # luigi1111 <luigi1111w@gmail.com>
  '487277A8BD0A209C16B700F3C64552D877C32479' # Alexander Blair (Snipa / Snipa22) <snipa@jagtech.io>
)

prepare() {
  cd "${pkgname}"
  git submodule init
  git config submodule.monero.url "$srcdir/monero"
  git submodule update
  cd monero
  git config submodule.external/miniupnp.url "$srcdir/miniupnp"
  git config submodule.external/rapidjson.url "$srcdir/rapidjson"
  git config submodule.external/trezor-common.url "$srcdir/trezor-common"
  git config submodule.external/randomx.url "$srcdir/randomx"
  git config submodule.external/supercop.url "$srcdir/supercop"
  git submodule update
}

For clarity :
Where does git config submodule.monero.url "$srcdir/monero" git submoduile upodate use the code from , https://github.com/monero-project/monero" or from ttps://github.com/monero-project/monero-gui?signed#commit=${_commit} ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2022-09-22 11:03:31

HeavyRoots
Member
Registered: 2022-09-21
Posts: 3

Re: Monero gui network status "wrong"version"

Offline

#7 2022-09-22 14:49:36

loqs
Member
Registered: 2014-03-06
Posts: 18,964

Re: Monero gui network status "wrong"version"

Lone_Wolf wrote:

For clarity :
Where does git config submodule.monero.url "$srcdir/monero" git submoduile upodate use the code from , https://github.com/monero-project/monero" or from ttps://github.com/monero-project/monero-gui?signed#commit=${_commit} ?

https://wiki.archlinux.org/title/VCS_pa … submodules

prepare() {
  cd "${pkgname}"
  git submodule init
  git config submodule.monero.url "$srcdir/monero"
  git submodule update

The submodules url is changed from https://github.com/monero-project/monero to "$srcdir/monero" which is an already downloaded mirror of the former.
The commit recorded in the index of https://github.com/monero-project/moner … df06fcca4d is 7cbae6ca988dedbe358ee5edbf9bdd610673a8ee
That is the commit that is checked out from "$srcdir/monero" by git submodule update which is the same as used in the monero PKGBUILD.

Offline

Board footer

Powered by FluxBB