[Interest] Cannot checkout Qt 6.2.1 because of qlitehtml
Alexander Dyagilev
alervdvcw at gmail.com
Tue Nov 16 07:01:12 CET 2021
Hello,
I had similar problem. The reason was that my local git repo was damaged
while it was transferred from one PC to another using WI-FI. I had to do
a fresh clone.
On 10/28/2021 12:43 PM, Benjamin TERRIER wrote:
> Hi,
>
> I am trying to make a local build of Qt 6.2.1, however I cannot make a
> clean checkout of tag v6.2.1.
>
> The reason comes from `qttools/src/assistant/qlitehtml` which is a
> submodule pointing to commit 6af5648d1208ed5760d74bd060c74ffa2bcfef6b
> of `https://code.qt.io/playground/qlitehtml.git`
> <https://code.qt.io/playground/qlitehtml.git`>.
>
> git submodule update fails with:
>
> > error: Server does not allow request for unadvertised object
> 6af5648d1208ed5760d74bd060c74ffa2bcfef6b
> > Fetched in submodule path 'qlitehtml', but it did not contain
> 6af5648d1208ed5760d74bd060c74ffa2bcfef6b. Direct fetching of that
> commit failed.
>
> While init-repository fails with:
>
> > fatal: reference is not a tree: 6af5648d1208ed5760d74bd060c74ffa2bcfef6b
> > Unable to checkout '6af5648d1208ed5760d74bd060c74ffa2bcfef6b' in
> submodule path 'src/assistant/qlitehtml'
> > git submodule update --force --no-fetch exited with status 256 at
> ./init-repository line 201.
> > Qt::InitRepository::exe(Qt::InitRepository=HASH(0x5593ad9f0520),
> "git", "submodule", "update", "--force", "--no-fetch") called at
> ./init-repository line 446
> >
> Qt::InitRepository::git_clone_all_submodules(Qt::InitRepository=HASH(0x5593ad9f0520),
> "qttools.git", 0, "/qttools", "all") called at ./init-repository line 452
> >
> Qt::InitRepository::git_clone_all_submodules(Qt::InitRepository=HASH(0x5593ad9f0520),
> "qt5", 0, "", "preview", "essential", "addon", "deprecated") called at
> ./init-repository line 668
> > Qt::InitRepository::run(Qt::InitRepository=HASH(0x5593ad9f0520))
> called at ./init-repository line 679
>
> Thanks for your help
>
> BR
>
> Benjamin
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20211116/0d8da6f6/attachment.html>
More information about the Interest
mailing list