[Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'

Rainer Wiesenfarth rainer_wiesenfarth at trimble.com
Tue Feb 6 16:19:33 CET 2024


Not sure how Qt handles this, but whenever I ran into similar issues with
git submodules, a

git submodule sync --recursive

on the top level solved it.

Background: The submodules' remote repository may have changed in
.gitmodules, but the submodule itself still references the outdated remote
repository.

Cheers, Rainer

On Tue, Feb 6, 2024 at 4:06 PM Nuno Santos via Interest <
interest at qt-project.org> wrote:

> It seems that the same happens for qtshadertools:
>
> fatal: Unable to find current revision in submodule path ‘qtshadertools'
>
> > On 6 Feb 2024, at 15:02, Nuno Santos <nuno.santos at imaginando.pt> wrote:
> >
> > Hi,
> >
> > While trying to build Qt 6 from source I’m having this error while
> initialising the necessary modulates with the following line:
> >
> > ➜  tqtc-qt5 git:(v6.5.4-lts) perl init-repository
> --module-subset=qt5compat,qtbase,qtdeclarative,qtimageformats,qtmultimedia,qtshadertools,qtsvg,qtwebsockets
> >
> >
> > fatal: Unable to find current revision in submodule path 'qt5compat'
> > git submodule update --force --no-fetch exited with status 32768 at
> init-repository line 207.
> >       Qt::InitRepository::exe(Qt::InitRepository=HASH(0x122808bd8),
> "git", "submodule", "update", "--force", "--no-fetch") called at
> init-repository line 452
> >
>  Qt::InitRepository::git_clone_all_submodules(Qt::InitRepository=HASH(0x122808bd8),
> "tqtc-qt5", 0, "", "qt5compat", "qtbase", "qtdeclarative",
> "qtimageformats", ...) called at init-repository line 674
> >       Qt::InitRepository::run(Qt::InitRepository=HASH(0x122808bd8))
> called at init-repository line 685
> >
> > Does anyone know how to overcome this?
> >
> > Thanks!
> >
> > Nuno
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
>


-- 

Rainer Wiesenfarth
Senior Software Engineer
Geospatial Division


Rotebühlstr. 81, 70178 Stuttgart
Germany

Rainer_Wiesenfarth at trimble.com
geospatial.trimble.com/products-and-solutions/trimble-inpho

Trimble Services GmbH, Am Prime Parc 11, 65479 Raunheim, Eingetragen beim
Amtsgericht Darmstadt unter HRB 83893, Geschäftsführer: Rob Reeder, Jürgen
Kesper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240206/99daf319/attachment.htm>


More information about the Interest mailing list