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

android_prebuilts do not sync on Tiramisu #14

Open
mii000 opened this issue May 14, 2024 · 0 comments
Open

android_prebuilts do not sync on Tiramisu #14

mii000 opened this issue May 14, 2024 · 0 comments

Comments

@mii000
Copy link

mii000 commented May 14, 2024

The android_prebuilts_clang_host_linux-x86_clang-r475365b and android_prebuilts_clang_host_linux-x86_clang-r487747 do not sync because these projects don't have a Tiramisu branch on the elixir-gitlab remote.

Proof:

<remote name="elixir-gitlab"
fetch="https://gitlab.com/projectelixiros/"
revision="refs/heads/Tiramisu" />

Repo sync error messages:

Fetching:  0% (0/2) 0:05 | 1 job | 0:04 android_prebuilts_clang_host_linux-x86_clang-r475365b @ prebuilts/clang/host/linux-x86/clang-r475365b
fatal: couldn't find remote ref refs/heads/Tiramisu

android_prebuilts_clang_host_linux-x86_clang-r475365b:
fatal: couldn't find remote ref refs/heads/Tiramisu
android_prebuilts_clang_host_linux-x86_clang-r475365b: sleeping 4.0 seconds before retrying
fatal: couldn't find remote ref refs/heads/Tiramisu
error: Cannot fetch android_prebuilts_clang_host_linux-x86_clang-r475365b from https://gitlab.com/projectelixiros/android_prebuilts_clang_host_linux-x86_clang-r475365b
Fetching:  0% (0/2) 0:10 | 1 job | 0:04 android_prebuilts_clang_host_linux-x86_clang-r487747 @ prebuilts/clang/host/linux-x86/clang-r487747
fatal: couldn't find remote ref refs/heads/Tiramisu

android_prebuilts_clang_host_linux-x86_clang-r487747:
fatal: couldn't find remote ref refs/heads/Tiramisu
android_prebuilts_clang_host_linux-x86_clang-r487747: sleeping 4.0 seconds before retrying
fatal: couldn't find remote ref refs/heads/Tiramisu
error: Cannot fetch android_prebuilts_clang_host_linux-x86_clang-r487747 from https://gitlab.com/projectelixiros/android_prebuilts_clang_host_linux-x86_clang-r487747
Fetching: 100% (2/2), done in 11.348s
Checking out:  99% (1185/1188), done in 2m5.353s
error: Cannot checkout android_prebuilts_clang_host_linux-x86_clang-r475365b: ManifestInvalidRevisionError: revision refs/heads/Tiramisu in android_prebuilts_clang_host_linux-x86_clang-r475365b not found
error: in `sync -c -j 8 --force-sync --no-clone-bundle --no-tags`: revision refs/heads/Tiramisu in android_prebuilts_clang_host_linux-x86_clang-r475365b not found

It seems enough to just set these to revision=master on the snippets/elixir.xml file

  <project path="prebuilts/clang/host/linux-x86/clang-r475365b" name="android_prebuilts_clang_host_linux-x86_clang-r475365b" remote="elixir-gitlab" clone-depth="1" />
  <project path="prebuilts/clang/host/linux-x86/clang-r487747" name="android_prebuilts_clang_host_linux-x86_clang-r487747" remote="elixir-gitlab" clone-depth="1" />

I made a fork with these changes and the sync succeeds. Pull request is here.

@mii000 mii000 changed the title android_prebuilts do not sync android_prebuilts do not sync on Tiramisu May 14, 2024
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