Bug P3
Status Update
Comments
ek...@google.com <ek...@google.com> #2
[Empty comment from Monorail migration]
ek...@google.com <ek...@google.com> #3
[Monorail components: -repo]
al...@google.com <al...@google.com> #4
In ChromeOS the cros_sdkchroot sets up depo tools as a bind mount at "/mnt/host/depot_tools/":
https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/scripts/sdk_lib/enter_chroot.sh;l=541
Note that repo sets up the .git folder for depot_tools as a symlink which ends up broken because of the bind mount:
ls -l /mnt/host/depot_tools/.git
lrwxrwxrwx 1 allenwebb primarygroup 52 Mar 28 2022 /mnt/host/depot_tools/.git -> ../../../.repo/projects/src/chromium/depot_tools.git
I am going to attempt fixing this by replacing `/mnt/host/depot_tools` from a bind mount to a symlink to `/mnt/host/source/src/chromium/depot_tools/`
Note that repo sets up the .git folder for depot_tools as a symlink which ends up broken because of the bind mount:
ls -l /mnt/host/depot_tools/.git
lrwxrwxrwx 1 allenwebb primarygroup 52 Mar 28 2022 /mnt/host/depot_tools/.git -> ../../../.repo/projects/src/chromium/depot_tools.git
I am going to attempt fixing this by replacing `/mnt/host/depot_tools` from a bind mount to a symlink to `/mnt/host/source/src/chromium/depot_tools/`
va...@chromium.org <va...@chromium.org> #5
i don't think depot_tools is relevant here. the warning comes up when depot_tools isn't used.
al...@google.com <al...@google.com> #6
Yes, I realized that after fixing the .git symlink didn't resolve the issue.
so...@google.com <so...@google.com> #7
[Empty comment from Monorail migration]
so...@google.com <so...@google.com> #8
[Empty comment from Monorail migration]
da...@google.com <da...@google.com> #9
This bug impacts Android as well, though it appears to be a harmless warning (other than confusing users).
Jeff Hamilton wrote:
info: A new version of repo is available
warning: repo is not tracking a remote branch, so it will not receive updates
info: Restarting repo with latest version
Description
$ cd .repo/repo
$ git reset --hard v2.17.2-cr1
$ git branch -v
* default 48ca795e1e37 [behind 4] Merge commits up to v2.17.2
$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url =
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "default"]
remote = origin
merge = refs/heads/stable
[gc]
autoDetach = false
$ repo version
repo version v2.17.2-cr1
(from
(tracking refs/heads/stable)
(Fri, 15 Oct 2021 14:08:09 -0400)
repo launcher version 2.17
(from /usr/bin/repo)
(currently at 2.17.2-cr1)
repo User-Agent git-repo/2.17.2-cr1 (Linux) git/2.34.0.rc0.344.g81b53c2807-goog Python/3.9.7
git 2.34.0.rc0.344.g81b53c2807-goog
git User-Agent git/2.34.0.rc0.344.g81b53c2807-goog (Linux) git-repo/2.17.2-cr1
Python 3.9.7 (default, Sep 24 2021, 09:43:00)
[GCC 10.3.0]
OS Linux 5.10.46-5rodete1-amd64 (#1 SMP Debian 5.10.46-5rodete1 (2021-09-28))
CPU x86_64 (unknown)
Bug reports:
$ repo selfupdate
info: A new version of repo is available
warning: repo is not tracking a remote branch, so it will not receive updates
info: Restarting repo with latest version
$ repo version
repo version v2.17.3-cr1
(from
(tracking refs/heads/stable)
(Wed, 27 Oct 2021 12:36:08 -0400)
repo launcher version 2.17
(from /usr/bin/repo)
(currently at 2.17.3-cr1)
repo User-Agent git-repo/2.17.3-cr1 (Linux) git/2.34.0.rc0.344.g81b53c2807-goog Python/3.9.7
git 2.34.0.rc0.344.g81b53c2807-goog
git User-Agent git/2.34.0.rc0.344.g81b53c2807-goog (Linux) git-repo/2.17.3-cr1
Python 3.9.7 (default, Sep 24 2021, 09:43:00)
[GCC 10.3.0]
OS Linux 5.10.46-5rodete1-amd64 (#1 SMP Debian 5.10.46-5rodete1 (2021-09-28))
CPU x86_64 (unknown)
Bug reports: