Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo init error when accessing Angstrom repo #57

Open
KlaGi opened this issue Feb 24, 2022 · 0 comments
Open

Repo init error when accessing Angstrom repo #57

KlaGi opened this issue Feb 24, 2022 · 0 comments

Comments

@KlaGi
Copy link

KlaGi commented Feb 24, 2022

Hi,

I have a problem to access the Angstrom repo. I’m using a computer with ubuntu 21.04.

Terminal output:

$ repo --trace init -u https://github.com/Angstrom-distribution/angstrom-manifest -b angstrom-v2018.12-thud
: git --version
Downloading Repo source from https://gerrit.googlesource.com/git-repo
: git init --quiet
: git config remote.origin.url https://gerrit.googlesource.com/git-repo
: git config remote.origin.fetch +refs/heads/:refs/remotes/origin/
: git config --get-regexp url..insteadof
: git fetch --quiet /home/gi/.repo/repo/.git/clone.bundle +refs/heads/
:refs/remotes/origin/* +refs/tags/:refs/tags/
: git fetch --quiet --progress origin +refs/heads/:refs/remotes/origin/ +refs/tags/:refs/tags/
: git rev-parse --verify refs/remotes/origin/stable^{commit}
: git describe 8e91248655acf1c8044ed8c1b265b804a99eb07f
: git tag -v v2.21
: git update-ref refs/heads/default v2.21^0
: git config branch.default.remote origin
: git config branch.default.merge refs/heads/stable
: git symbolic-ref HEAD refs/heads/default
: git read-tree --reset -u -v HEAD
: git --version
: /usr/bin/python3 /home/gi/.repo/repo/main.py --repo-dir=/home/gi/.repo --wrapper-version=2.21 --wrapper-path=/home/gi/bin/repo -- --trace init -u https://github.com/Angstrom-distribution/angstrom-manifest -b angstrom-v2018.12-thud
Downloading manifest from https://github.com/Angstrom-distribution/angstrom-manifest
: export GIT_DIR=/home/gi/.repo/manifests.git
: git init 1>| 2>|
: git config --file /home/gi/.repo/manifests.git/config --includes --null --list 1>| 2>|
: git config --file /home/gi/.repo/manifests.git/config --includes --replace-all filter.lfs.smudge git-lfs smudge --skip -- %f 1>| 2>|
: git config --file /home/gi/.repo/manifests.git/config --includes --replace-all filter.lfs.process git-lfs filter-process --skip 1>| 2>|
: git config --file /home/gi/.repo/manifests.git/config --includes --unset-all core.bare 1>| 2>|
: git config --file /home/gi/.repo/manifests.git/config --includes --replace-all remote.origin.url https://github.com/Angstrom-distribution/angstrom-manifest 1>| 2>|
: git config --file /home/gi/.repo/manifests.git/config --includes --replace-all remote.origin.fetch +refs/heads/:refs/remotes/origin/ 1>| 2>|
: export GIT_OBJECT_DIRECTORY=/home/gi/.repo/manifests.git/objects
: export GIT_ALTERNATE_OBJECT_DIRECTORIES=/home/gi/.repo/manifests.git/objects
: git fetch --quiet --progress origin --tags +refs/heads/:refs/remotes/origin/ +refs/heads/angstrom-v2018.12-thud:refs/remotes/origin/angstrom-v2018.12-thud +refs/tags/:refs/tags/ 2>&1
remote: Enumerating objects: 1306, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 1306 (delta 3), reused 3 (delta 0), pack-reused 1293
: git pack-refs --all --prune 1>| 2>|
: git rev-parse --verify refs/remotes/origin/angstrom-v2018.12-thud^0 1>| 2>|

: cd /home/gi/.repo/manifests
: git read-tree --reset -u -v HEAD
: load refs /home/gi/.repo/manifests.git
: git checkout -q f8d04fa --
: git update-ref -d refs/heads/default 1>| 2>|
: scan refs /home/gi/.repo/manifests.git
: scan refs /home/gi/.repo/manifests.git
: git update-ref refs/heads/default f8d04fa 1>| 2>|
: git symbolic-ref HEAD refs/heads/default 1>| 2>|
fatal: manifest 'default.xml' not available
fatal: invalid "src": ../../.repo/manifests/setup-environment: bad component: .repo
: git config --get trace2.eventtarget 1>| 2>|

The last fatal was raised in python module manifest_xml.py line 1386:

is_linkfile = element == ‘linkfile’
msg = cls._CheckLocalPath(src, dir_ok=is_linkfile, cwd_dot_ok=is_linkfile)
if msg:
raise ManifestInvalidPathError( <— Line 1386
‘<%s> invalid “src”: %s: %s’ % (element, src, msg))

It seems that anything with the symlink is wrong. But why?

Regards,
KlaGi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant