[Development] QBS module git cloning

Edward Welbourne edward.welbourne at qt.io
Mon Sep 12 10:59:20 CEST 2016

Ernst Maurer said:
> Each time, when I'm trying to clone qt creator I'm getting the error related with QBS

I'm able to clone this repo without problems, both bare and with work-tree.
The cloned repos appear entirely sane.

> Submodule 'qbs' (http://code.qt.io/cgit/qt-labs/qbs.git) registered for path 'src/shared/qbs'

It's conceivable the git submodule infrastructure is what's causing the problem.
I just cloned qbs directly, rather than via cloning of creator.  My commands were
git clone --bare http://code.qt.io/cgit/qt-labs/qbs.git
and the same without --bare (run on Debian/testing GNU/Linux).

What source are you cloning creator from ?
What's the actual clone command you run ?
What sort of system are you running this from ?

> error: Failed connect to code.qt.io:80<http://code.qt.io:80>; No error (curl_result = 7, http_code = 0, sha1 = e1d5dc0b836dc6f709b2deeff2d0051d03b2c135)

The curl man-page decodes curl_result = 7 as:

       7      Failed to connect to host.

You clearly connected repeatedly to the host to fetch other blobs, failing just this once.
I'd guess flaky network (or flaky server), but you say this recurs.
Does it always fail with the same sha1s or do they vary ?

> error: Unable to find f073f4556ca26a0df1e8df1d8684c61d76394c53 under http://code.qt.io/cgit/qt-labs/qbs.git
> Cannot obtain needed blob f073f4556ca26a0df1e8df1d8684c61d76394c53

My clone contains this blob: it is a version of file

> while processing commit 9bbbf55ea6d1e80871ab810eebaeaf377bc0aad0.
> error: Fetch failed.

This commit is a few steps short of branch 1.4.
I am able to access it without problems in my clones.
However, if you failed to fetch one of its blobs, it would indeed be broken.


More information about the Development mailing list