[Interest] building Qt 5.5: init-repository seemingly has wrongbranch names

Jakob Magiera JAM at ivu.de
Wed Oct 28 12:48:25 CET 2015


Sorry, I failed to paste the most important part of git's errormessage:

fatal: Remote branch 5.5.1 not found in upstream origin

Von: Interest [mailto:interest-bounces at qt-project.org] Im Auftrag von Jakob Magiera
Gesendet: Mittwoch, 28. Oktober 2015 12:43
An: Interest at qt-project.org
Betreff: [Interest] building Qt 5.5: init-repository seemingly has wrongbranch names

Hi everyone,

there has been an update in the init-repository Perl script which leads to an error when cloning a submodule. I'm not sure how this can ever have worked, but I'm not a git expert.

The script issues the following command
git clone --branch 5.5.1 https://code.qt.io/qt/qtbase.git qtbase

resulting in

git clone --branch 5.5.1 https://code.qt.io/qt/qtbase.git qtbase exited with status 32768 at init-repository line 221.
        Qt::InitRepository::exe(Qt::InitRepository=HASH(0x7fd49c), "git", "clone", "--branch", "5.5.1", "https://code.qt.io/qt/qtbase.git", "qtbase") called at init-repository line 472
        Qt::InitRepository::git_clone_one_submodule(Qt::InitRepository=HASH(0x7fd49c), "qtbase", "qt/qtbase.git", "5.5.1") called at init-repository line 378
        Qt::InitRepository::git_clone_all_submodules(Qt::InitRepository=HASH(0x7fd49c), "qt/qt5", 0, "qtbase", "qtimageformats", "qtlocation", "qtquick1", "qtquickcontrols", "qtquickcontrols2", ...) called at init-repository line 565
        Qt::InitRepository::run(Qt::InitRepository=HASH(0x7fd49c)) called at init-repository line 576

The command works when you use v5.5.1 (as in the tag list) instead. The branch name is parsed from the .gitmodules file, which, I assume, is produced by git itself.

I'm on Win7 64bit using git 2.6.2.

I have a hard time believing that the build-process is broken, but then I recently read that you set up a new CI which might use another process entirely. So maybe this is an unknown bug?

Cheers!

Jakob



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151028/d6df6606/attachment.html>


More information about the Interest mailing list