[Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'
Nuno Santos
nuno.santos at imaginando.pt
Thu Feb 8 10:21:09 CET 2024
Rainer,
Thanks for your reply.
I have tried to do:
git submodule sync —recursive
And then run again:
perl init-repository -f --module-subset=qt5compat,qtbase,qtdeclarative,qtimageformats,qtmultimedia,qtshadertools,qtsvg,qtwebsockets
But the same problem happened:
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(0x12f80b7d8), "git", "submodule", "update", "--force", "--no-fetch") called at init-repository line 452
Qt::InitRepository::git_clone_all_submodules(Qt::InitRepository=HASH(0x12f80b7d8), "tqtc-qt5", 0, "", "qt5compat", "qtbase", "qtdeclarative", "qtimageformats", ...) called at init-repository line 674
Qt::InitRepository::run(Qt::InitRepository=HASH(0x12f80b7d8)) called at init-repository line 685
Does anyone knows how to overcome this problem?
Thank you in advance!
Best regards,
Nuno
> On 6 Feb 2024, at 15:19, Rainer Wiesenfarth <rainer_wiesenfarth at trimble.com> wrote:
>
> 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 <mailto: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 <mailto: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 <mailto: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 <mailto:Rainer_Wiesenfarth at trimble.com>
> geospatial.trimble.com/products-and-solutions/trimble-inpho <https://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
> _______________________________________________
> 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/20240208/f8b3ea66/attachment.htm>
More information about the Interest
mailing list