Facing build error with QtImageFormat while try to use 5.12.10 Qt version in Yocto3.1 build environment
-
wrote on 9 Apr 2024, 03:05 last edited by
Facing build error with QtImageFormat while try to use 5.12.10 Qt version in Yocto3.1 build environment
Trying to include QtImageFormat into our TV environment.
Build error:
ERROR: lib32-qtimageformats-5.12.10+gitAUTOINC+7518d381be-r0 do_fetch: Fetcher failure: Unable to find revision 7518d381be0f58f943bd8bead901356d2528e26b in branch 5.12.10 even from upstream ERROR: lib32-qtimageformats-5.12.10+gitAUTOINC+7518d381be-r0 do_fetch: Fetcher failure for URL: 'git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=git'. Unable to fetch URL from any source. ERROR: Logfile of failure stored in: /home/work/vishal.badar/Project/build-starfish/BUILD/work/o22-starfishmllib32-linux-gnueabi/lib32-qtimageformats/5.12.10+gitAUTOINC+7518d381be-r0/temp/log.do_fetch.1290425 ERROR: Task (virtual:multilib:lib32:/home/work/vishal.badar/Project/build-starfish/meta-qt5/recipes-qt/qt5/qtimageformats_git.bb:do_fetch) failed with exit code '1'
Our code snippet in meta-qt5/recipes-qt/qt5/qt5-git.inc:
# Copyright (C) 2012-2016 O.S. Systems Software LTDA. # Copyright (C) 2013-2019 Martin Jansa <martin.jansa@gmail.com> QT_MODULE ?= "${BPN}" QT_MODULE_BRANCH ?= "5.12.10" QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH}" # each module needs to define valid SRCREV SRC_URI = " \ ${QT_GIT}/${QT_MODULE}.git;name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL} \ " CVE_PRODUCT = "qt" S = "${WORKDIR}/git" PV = "5.12.10+git${SRCPV}"
Refferred below qtcode src link and didn't able to find 5.12.10 branch in it.
https://code.qt.io/cgit/qt/qtimageformats.git/refs/headsSo need to clarify below items,
- Why 5.12.10 version of branch is not showing in qtcode src uri.
- In above case, if 5.12.10 version is required, how it can be achieved?
-
Facing build error with QtImageFormat while try to use 5.12.10 Qt version in Yocto3.1 build environment
Trying to include QtImageFormat into our TV environment.
Build error:
ERROR: lib32-qtimageformats-5.12.10+gitAUTOINC+7518d381be-r0 do_fetch: Fetcher failure: Unable to find revision 7518d381be0f58f943bd8bead901356d2528e26b in branch 5.12.10 even from upstream ERROR: lib32-qtimageformats-5.12.10+gitAUTOINC+7518d381be-r0 do_fetch: Fetcher failure for URL: 'git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=git'. Unable to fetch URL from any source. ERROR: Logfile of failure stored in: /home/work/vishal.badar/Project/build-starfish/BUILD/work/o22-starfishmllib32-linux-gnueabi/lib32-qtimageformats/5.12.10+gitAUTOINC+7518d381be-r0/temp/log.do_fetch.1290425 ERROR: Task (virtual:multilib:lib32:/home/work/vishal.badar/Project/build-starfish/meta-qt5/recipes-qt/qt5/qtimageformats_git.bb:do_fetch) failed with exit code '1'
Our code snippet in meta-qt5/recipes-qt/qt5/qt5-git.inc:
# Copyright (C) 2012-2016 O.S. Systems Software LTDA. # Copyright (C) 2013-2019 Martin Jansa <martin.jansa@gmail.com> QT_MODULE ?= "${BPN}" QT_MODULE_BRANCH ?= "5.12.10" QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH}" # each module needs to define valid SRCREV SRC_URI = " \ ${QT_GIT}/${QT_MODULE}.git;name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL} \ " CVE_PRODUCT = "qt" S = "${WORKDIR}/git" PV = "5.12.10+git${SRCPV}"
Refferred below qtcode src link and didn't able to find 5.12.10 branch in it.
https://code.qt.io/cgit/qt/qtimageformats.git/refs/headsSo need to clarify below items,
- Why 5.12.10 version of branch is not showing in qtcode src uri.
- In above case, if 5.12.10 version is required, how it can be achieved?
Hi and welcome to devnet,
Check for the 5.12.10 tag.
-
wrote on 15 Apr 2024, 13:55 last edited by
@SGaist Thanks for your reply.
I tried with 5.12.10 tag of qtimageformat
Tag : 9086196c888747acc2c95597d92badc1002a0507
But I'm still getting below do_fetch error,DEBUG: Mirror fetch failure for url git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=https (original url: git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=git) DEBUG: Fetcher failure: Unable to find revision 9086196c888747acc2c95597d92badc1002a0507 in branch 5.12.10 even from upstream NOTE: Removing /home/work/krishnakumar.p/work/repos/webOS22/dev/build-starfish/downloads/git2/code.qt.io.qt.qtimageformats.git NOTE: Removing /home/work/krishnakumar.p/work/repos/webOS22/dev/build-starfish/downloads/git2_code.qt.io.qt.qtimageformats.git.tar.gz.done ERROR: Fetcher failure: Unable to find revision 9086196c888747acc2c95597d92badc1002a0507 in branch 5.12.10 even from upstream ERROR: Fetcher failure for URL: 'git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=git'. Unable to fetch URL from any source. DEBUG: Python function base_do_fetch finished DEBUG: Python function do_fetch finished
qtimageformat.bbapend file for your reference,
LICENSE = "CLOSED" SRCREV = "9086196c888747acc2c95597d92badc1002a0507"
-
@SGaist Thanks for your reply.
I tried with 5.12.10 tag of qtimageformat
Tag : 9086196c888747acc2c95597d92badc1002a0507
But I'm still getting below do_fetch error,DEBUG: Mirror fetch failure for url git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=https (original url: git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=git) DEBUG: Fetcher failure: Unable to find revision 9086196c888747acc2c95597d92badc1002a0507 in branch 5.12.10 even from upstream NOTE: Removing /home/work/krishnakumar.p/work/repos/webOS22/dev/build-starfish/downloads/git2/code.qt.io.qt.qtimageformats.git NOTE: Removing /home/work/krishnakumar.p/work/repos/webOS22/dev/build-starfish/downloads/git2_code.qt.io.qt.qtimageformats.git.tar.gz.done ERROR: Fetcher failure: Unable to find revision 9086196c888747acc2c95597d92badc1002a0507 in branch 5.12.10 even from upstream ERROR: Fetcher failure for URL: 'git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=git'. Unable to fetch URL from any source. DEBUG: Python function base_do_fetch finished DEBUG: Python function do_fetch finished
qtimageformat.bbapend file for your reference,
LICENSE = "CLOSED" SRCREV = "9086196c888747acc2c95597d92badc1002a0507"
wrote on 15 Apr 2024, 14:51 last edited by@Krishnakumar-Pathivuraj Which branch of meta-qt5 are you using?Are you sure it has qtimageformats modules?
I am using dunfell branch and i have no problem with qtimageformat.Maybe you should try with dunfell branch -
@Krishnakumar-Pathivuraj Which branch of meta-qt5 are you using?Are you sure it has qtimageformats modules?
I am using dunfell branch and i have no problem with qtimageformat.Maybe you should try with dunfell branchwrote on 16 Apr 2024, 06:04 last edited by@Ronel_qtmaster Thanks for your reply.
We are using warrior branch and commit is 6310c5c of meta-qt5 in our build environment.
Yes qtimageformats module available in warrior branch,
Because we are using 5.12.10 version of QT in our build environment
-
@Ronel_qtmaster Thanks for your reply.
We are using warrior branch and commit is 6310c5c of meta-qt5 in our build environment.
Yes qtimageformats module available in warrior branch,
Because we are using 5.12.10 version of QT in our build environment
wrote on 22 Apr 2024, 05:22 last edited byThis post is deleted! -
wrote on 22 Apr 2024, 07:52 last edited by
We are using QT version as warrior (commit:6310c5c) so all qt plugins like qtbase, qtdeclarative is using 5.12.10 branch.
If we tried to use same 5.12.10 branch of qtimageformat we are getting do_fetch error.
But if we tried to use 5.12 version if qtimageformat, it is working fine.
qtimageformats.bbappend file for your reference,
So my queries are below,
- Whether using different branch for qtimageformats plugin (5.12) and other plugins (5.12.10) will cause any issue or side effects?
- If it will cause any issue or side effects, what is the ideal way to include qtimageformats plugin?
-
We are using QT version as warrior (commit:6310c5c) so all qt plugins like qtbase, qtdeclarative is using 5.12.10 branch.
If we tried to use same 5.12.10 branch of qtimageformat we are getting do_fetch error.
But if we tried to use 5.12 version if qtimageformat, it is working fine.
qtimageformats.bbappend file for your reference,
So my queries are below,
- Whether using different branch for qtimageformats plugin (5.12) and other plugins (5.12.10) will cause any issue or side effects?
- If it will cause any issue or side effects, what is the ideal way to include qtimageformats plugin?
As I already wrote: checkout the tag not the branch. It's v5.12.10 that will get you what you want.
-
As I already wrote: checkout the tag not the branch. It's v5.12.10 that will get you what you want.
wrote on 24 Apr 2024, 00:20 last edited by@SGaist
I understood your concern.
But internally in our build system, QT were not directly downloaded from https://code.qt.io/cgit/qtWe are having a local server from which our QT plugins source code were downloaded for compilation.
In this local server, 5.12.10 branch is already deleted and our build environment referring to cache from the server which doesn't have the qtimageformats.So we internally changed the qtimageformats version alone to 5.12 and just want to confirm whether it leads to any side effects.
Note:
Already in our build environment qtxmlpattern plugin is following 5.12 and other qtmodules were following 5.12.10 similarly -
@SGaist
I understood your concern.
But internally in our build system, QT were not directly downloaded from https://code.qt.io/cgit/qtWe are having a local server from which our QT plugins source code were downloaded for compilation.
In this local server, 5.12.10 branch is already deleted and our build environment referring to cache from the server which doesn't have the qtimageformats.So we internally changed the qtimageformats version alone to 5.12 and just want to confirm whether it leads to any side effects.
Note:
Already in our build environment qtxmlpattern plugin is following 5.12 and other qtmodules were following 5.12.10 similarly@Krishnakumar-Pathivuraj if you are using a fixed version of Qt, why not just get the source archive for that version rather than recloning ?
1/10