The problem with init-repository.bat
-
Hello, All!
C:\QtSource>git clone git://code.qt.io/qt/qt5.git qt6 Cloning into 'qt6'... remote: Enumerating objects: 44136, done. remote: Counting objects: 100% (42264/42264), done. remote: Compressing objects: 100% (10931/10931), done. remote: Total 44136 (delta 32444), reused 40436 (delta 30795), pack-reused 1872
Receiving objects: 100% (44136/44136), 11.61 MiB | 979.00 KiB/s, done. Resolving deltas: 100% (32908/32908), done.C:\QtSource\qt6>init-repository.bat + git config --get initrepository.initialized + git config remote.origin.url CMake Error at cmake/QtIRProcessHelpers.cmake:173 (message): No origin remote found for qt5 repository git config remote.origin.url exited with status: 1 Call Stack (most recent call first): cmake/QtIRGitHelpers.cmake:784 (qt_ir_execute_process_and_log_and_handle_error) cmake/QtIRHelpers.cmake:288 (qt_ir_get_qt5_repo_name_and_base_url) cmake/QtIRHelpers.cmake:363 (qt_ir_run_after_args_parsed) cmake/QtIRScript.cmake:17 (qt_ir_run_main_script)
Why is there no repository? No origin remote found for qt5 repository!
Thank You!
With best regards, Navadvipa Chandra das. -
@Navadvipa-Chandra-das Did you checkout any branch or are you on master?
-
Hello, jsulm and All!
I no run any swith branch, like git switch dev.
But earlier I tried git switch 6.8 and git switch 6.8.1 .The result was the same. And then at one point the init-repository.bat stopped working.
And before that, everything worked very well. And then at one point
it stopped working.
Right now I tried
git clone -b "6.8.1" git://code.qt.io/qt/qt5.git qt6
The result was the same.
With best regards, Navadvipa Chandra das. -
Hi,
What do you get if you call
git remote -v
inside your clone ? -
Hello SGaist and All!
C:\QtSource\qt6>git remote -v fatal: detected dubious ownership in repository at 'C:/QtSource/qt6' 'C:/QtSource/qt6' is owned by: BUILTIN/�������������� (S-1-5-32-544) but the current user is: WIN-KKGHML1DO16/User (S-1-5-21-1775322139-2185893727-1828962416-1000) To add an exception for this directory, call: git config --global --add safe.directory C:/QtSource/qt6
With best regards Navadvipa Chandra das.
-
Hello SGaist and All!
After command: git config --global --add safe.directory C:/QtSource/qt6
init-repository.bat work good!Thank You very much!
With best regards Navadvipa Chandra das. -