Open dzwdev opened 8 months ago
When you try to sync WHAT repo? What commands are you using? Please provide a complete explanation of what you're doing if you actually want help.
that is what i use:
repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-9.0
repo sync
i'm using manjaro
that is what i use:
repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-9.0 repo sync
i'm using manjaro
Might be a distro problem, then. I can only say that I know it works fine on Ubuntu.
this is the whole log:
` ``` repo sync ✔
Fetching: 92% (210/226) 0:06 | 4 jobs | 0:05 android_system_extras @ system/extras fatal: not a git repository: '/home/pc/twrp/.repo/projects/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9.git'
platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9: fatal: not a git repository: '/home/pc/twrp/.repo/projects/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9.git' platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9: sleeping 4.0 seconds before retrying fatal: not a git repository: '/home/pc/twrp/.repo/projects/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9.git' error: Cannot fetch platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9 from https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9 Fetching: 92% (210/226) 0:06 | 4 jobs | 0:06 android_system_extras @ system/extras fatal: not a git repository: '/home/pc/twrp/.repo/projects/frameworks/compile/libbcc.git'
platform/frameworks/compile/libbcc: fatal: not a git repository: '/home/pc/twrp/.repo/projects/frameworks/compile/libbcc.git' platform/frameworks/compile/libbcc: sleeping 4.0 seconds before retrying fatal: not a git repository: '/home/pc/twrp/.repo/projects/frameworks/compile/libbcc.git' error: Cannot fetch platform/frameworks/compile/libbcc from https://android.googlesource.com/platform/frameworks/compile/libbcc Fetching: 100% (226/226), done in 2m42.212s Fetching: 0% (0/2) 0:04 | 1 job | 0:03 platform/frameworks/compile/libbcc @ frameworks/compile/libbcc fatal: not a git repository: '/home/pc/twrp/.repo/projects/frameworks/compile/libbcc.git'
platform/frameworks/compile/libbcc: fatal: not a git repository: '/home/pc/twrp/.repo/projects/frameworks/compile/libbcc.git' platform/frameworks/compile/libbcc: sleeping 4.0 seconds before retrying fatal: not a git repository: '/home/pc/twrp/.repo/projects/frameworks/compile/libbcc.git' error: Cannot fetch platform/frameworks/compile/libbcc from https://android.googlesource.com/platform/frameworks/compile/libbcc Fetching: 0% (0/2) 0:08 | 1 job | 0:03 platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9 @ prebuilts.. fatal: not a git repository: '/home/pc/twrp/.repo/projects/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9.git'
platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9:
fatal: not a git repository: '/home/pc/twrp/.repo/projects/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9.git'
platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9: sleeping 4.0 seconds before retrying
fatal: not a git repository: '/home/pc/twrp/.repo/projects/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9.git'
error: Cannot fetch platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9 from https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9
Fetching: 100% (2/2), done in 8.231s
fatal: this operation must be run in a work tree
error: prebuilts/clang/host/linux-x86/: platform/prebuilts/clang/host/linux-x86 checkout bbb7fad7b6c38a9b4581873bbb78a063bded00c7
error: Cannot checkout platform/prebuilts/clang/host/linux-x86
Checking out: 3% (7/226) platform/external/python/google-autherror: Cannot checkout platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9: ManifestInvalidRevisionError: revision refs/tags/android-9.0.0_r47 in platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9 not found
Checking out: 10% (24/226) platform/external/python/protobuferror: Cannot checkout platform/frameworks/compile/libbcc: ManifestInvalidRevisionError: revision refs/tags/android-9.0.0_r47 in platform/frameworks/compile/libbcc not found
Checking out: 14% (32/226) platform/external/python/sixerror: The following untracked working tree files would be overwritten by checkout:
10/android.jar
10/framework.aidl
11/android.jar
11/framework.aidl
12/android.jar
12/framework.aidl
13/android.jar
13/framework.aidl
14/android.jar
14/framework.aidl
15/android.jar
15/framework.aidl
16/android.jar
16/framework.aidl
16/uiautomator.jar
17/android.jar
17/framework.aidl
17/uiautomator.jar
18/android.jar
18/framework.aidl
18/uiautomator.jar
19/android.jar
19/framework.aidl
19/uiautomator.jar
20/android.jar
20/framework.aidl
20/uiautomator.jar
21/android.jar
21/framework.aidl
21/uiautomator.jar
22/android.jar
22/framework.aidl
22/uiautomator.jar
23/android.jar
23/framework.aidl
23/uiautomator.jar
24/android.jar
24/framework.aidl
24/uiautomator.jar
25/android.jar
25/framework.aidl
25/uiautomator.jar
26/android.jar
26/framework.aidl
26/uiautomator.jar
27/android.jar
27/framework.aidl
27/uiautomator.jar
28/android.jar
28/framework.aidl
28/optional/android.test.base.jar
28/optional/android.test.mock.jar
28/optional/android.test.runner.jar
28/uiautomator.jar
4/android.jar
4/framework.aidl
5/android.jar
5/framework.aidl
6/android.jar
6/framework.aidl
7/android.jar
7/framework.aidl
8/android.jar
8/framework.aidl
9/android.jar
9/framework.aidl
Android.bp
Android.mk
CleanSpec.mk
NOTICE
README-jack-server.txt
api/1.xml
api/10.xml
api/11.xml
api/12.xml
api/13.xml
api/14.txt
api/15.txt
api/16.txt
api/17.txt
api/18.txt
api/19.txt
api/2.xml
api/20.txt
api/21.txt
api/22.txt
api/23.txt
api/24.txt
api/25.txt
api/26.txt
api/27.txt
api/28.txt
api/3.xml
api/4.xml
api/5.xml
api/6.xml
api/7.xml
api/8.xml
api/9.xml
current/Android.mk
current/android.jar
current/androidx-api.txt
current/androidx/Android.bp
current/androidx/m2repository/androidx/annotation/annotation/1.0.0-alpha1/annotation-1.0.0-alpha1-annotations.zip
current/androidx/m2repository/androidx/annotation/annotation/1.0.0-alpha1/annotation-1.0.0-alpha1-annotations.zip.md5
current/androidx/m2repository/androidx/annotation/annotation/1.0.0-alpha1/annotation-1.0.0-alpha1-annotations.zip.sha1
current/androidx/m2repository/androidx/annotation/annotation/1.0.0-alpha1/annotation-1.0.0-alpha1-javadoc.jar
current/androidx/m2repository/androidx/annotation/annotation/1.0.0-alpha1/annotation-1.0.0-alpha1-javadoc.jar.md5
current/androidx/m2repository/androidx/annotation/annotation/1.0.0-alpha1/annotation-1.0.0-alpha1-javadoc.jar.sha1
current/androidx/m2repository/androidx/annotation/annotation/1.0.0-alpha1/annotation-1.0.0-alpha1.jar
current/androidx/m2repository/androidx/annotation/annotation/1.0.0-alpha1/annotation-1.0.0-alpha1.jar.md5
current/androidx/m2repository/androidx/annotation/annotation/1.0.0-alpha1/annotation-1.0.0-alpha1.jar.sha1
current/androidx/m2repository/androidx/annotation/annotation/1.0.0-alpha1/annotation-1.0.0-alpha1.pom
current/androidx/m2repository/androidx/annotation/annotation/1.0.0-alpha1/annotation-1.0.0-alpha1.pom.md5
current/androidx/m2repository/androidx/annotation/annotation/1.0.0-alpha1/annotation-1.0.0-alpha1.pom.sha1
current/androidx/m2repository/androidx/appcompat/appcompat/1.0.0-alpha1/appcompat-1.0.0-alpha1.aar
current/androidx/m2repository/androidx/appcompat/appcompat/1.0.0-alpha1/appcompat-1.0.0-alpha1.aar.md5
current/androidx/m2repository/androidx/appcompat/appcompat/1.0.0-alpha1/appcompat-1.0.0-alpha1.aar.sha1
current/androidx/m2repository/androidx/appcompat/appcompat/1.0.0-alpha1/appcompat-1.0.0-alpha1.pom
current/androidx/m2repository/androidx/appcompat/appcompat/1.0.0-alpha1/appcompat-1.0.0-alpha1.pom.md5
current/androidx/m2repository/androidx/appcompat/appcompat/1.0.0-alpha1/appcompat-1.0.0-alpha1.pom.sha1
current/androidx/m2repository/androidx/arch/core/core-common/2.0.0-alpha1/core-common-2.0.0-alpha1.jar
current/androidx/m2repository/androidx/arch/core/core-common/2.0.0-alpha1/core-common-2.0.0-alpha1.jar.md5
current/androidx/m2repository/androidx/arch/core/core-common/2.0.0-alpha1/core-common-2.0.0-alpha1.jar.sha1
current/androidx
Aborting
error: prebuilts/sdk/: platform/prebuilts/sdk checkout 812cb07b02888e97d7faae2235779952754b3e99
error: Cannot checkout platform/prebuilts/sdk
Checking out: 15% (34/226), done in 1.065s
error: in sync
: revision refs/tags/android-9.0.0_r47 in platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9 not found
when i change the python version to 2.7 and tryo: repo sync i get:
repo sync File "/usr/local/bin/repo", line 51 def print(self, *args, **kwargs): ^ SyntaxError: invalid syntax
while in the readme:
"Before building, make sure you have your system's python implementation set to python2. This project was created before python2 was deprecated and will not build with python3."
Well, like I said, it works fine in Ubuntu. Not sure what I can do for you if I can't reproduce the problem. What would you like me to do, exactly?
i will try it in ubuntu so. thank you.
i have installed ubuntu in virtual machine and i'm getting the same problem:
`fatal: not a git repository: '/media/sf_twrp/.repo/projects/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9.git'
platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9: fatal: not a git repository: '/media/sf_twrp/.repo/projects/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9.git' platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9: sleeping 4.0 seconds before retrying fatal: not a git repository: '/media/sf_twrp/.repo/projects/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9.git' error: Cannot fetch platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9 from https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9 Fetching: 8% (19/227) 0:32 | 12 jobs | 0:31 repo @ .repo/repo fatal: not a git repository: '/media/sf_twrp/.repo/projects/frameworks/compile/libbcc.git'
platform/frameworks/compile/libbcc: fatal: not a git repository: '/media/sf_twrp/.repo/projects/frameworks/compile/libbcc.git' platform/frameworks/compile/libbcc: sleeping 4.0 seconds before retrying fatal: not a git repository: '/media/sf_twrp/.repo/projects/frameworks/compile/libbcc.git' error: Cannot fetch platform/frameworks/compile/libbcc from https://android.googlesource.com/platform/frameworks/compile/libbcc`
i tried to remove this folder: /home/pc/twrp/.repo/projects/frameworks/compile/libbcc.git and the first error is not showing now and i tried the same thing with this folder: '/home/pc/twrp/.repo/projects/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9.git but the error still saying: fatal: not a git repository: '/home/pc/twrp/.repo/projects/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9.git'
when trying to sync repo i get this error: