Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. The problem with init-repository.bat
Forum Updated to NodeBB v4.3 + New Features

The problem with init-repository.bat

Scheduled Pinned Locked Moved Solved Qt 6
6 Posts 3 Posters 788 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Navadvipa Chandra das
    wrote on last edited by
    #1

    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.

    jsulmJ 1 Reply Last reply
    0
    • N Navadvipa Chandra das

      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.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Navadvipa-Chandra-das Did you checkout any branch or are you on master?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Navadvipa Chandra das
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          What do you get if you call git remote -v inside your clone ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • N Offline
            N Offline
            Navadvipa Chandra das
            wrote on last edited by
            #5

            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.

            1 Reply Last reply
            0
            • N Offline
              N Offline
              Navadvipa Chandra das
              wrote on last edited by
              #6

              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.

              1 Reply Last reply
              0
              • N Navadvipa Chandra das has marked this topic as solved on

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved