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

init-repository script fails to clone submodules

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.3
    • 5.6, 5.9.0 Beta 1
    • Build tools: Other
    • None
    • Ubuntu 16.10 64bit
    • 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

        For Gerrit Dashboard: QTBUG-59753
        # Subject Branch Project Status CR V

        Activity

          People

            buddenha Oswald Buddenhagen
            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