Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-59753

init-repository script fails to clone submodules

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.6, 5.9.0 Beta 1
    • Fix Version/s: 5.6.3
    • Component/s: Build tools: Other
    • Labels:
      None
    • Environment:
      Ubuntu 16.10 64bit
    • Commits:
      315b76dc9b48456018490675339c084b9e17b2d0

      Description

      Executing init-repository on a clean 5.6 repository fails with the following error message:

      + git config commit.template /home/fokinv/Work/Qt/qt56/.commit-template
      + git clone --no-checkout git://code.qt.io/qt/qt5/../qt3d.git qt3d
      Cloning into 'qt3d'...
      fatal: remote error: no such repository: /qt/qt5/../qt3d.git
      git clone --no-checkout git://code.qt.io/qt/qt5/../qt3d.git qt3d exited with status 32768 at ./init-repository line 198.
              Qt::InitRepository::exe(Qt::InitRepository=HASH(0x55e054ec4628), "git", "clone", "--no-checkout", "git://code.qt.io/qt/qt5/../qt3d.git", "qt3d") called at ./init-repository line 534
              Qt::InitRepository::git_clone_one_submodule(Qt::InitRepository=HASH(0x55e054ec4628), "qt3d", "qt5/../qt3d.git", 0) called at ./init-repository line 408
              Qt::InitRepository::git_clone_all_submodules(Qt::InitRepository=HASH(0x55e054ec4628), "qt5", 0, "preview", "essential", "addon", "deprecated") called at ./init-repository line 644
              Qt::InitRepository::run(Qt::InitRepository=HASH(0x55e054ec4628)) called at ./init-repository line 655
      

      Reverting commit "Remove init-repository assumption of repo url “…/qt/<repo>”" (8c0390143b847b1b8ed7b8b42d5a09aa2c0025df) solves the issue.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              buddenha Oswald Buddenhagen
              Reporter:
              fokinv Valentin Fokin
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes