HI. all
I am porting imx-yocto-L5.10.52_2.1.0 with 7ulp evk.
From last Friday, when building yocto, the following error message is displayed and the build fails.
The same goes for the link to the yocto user guide document in 5.10.52_2.1.0.
If you know a solution, please share.
If you look at the contents, they are all related to qt5.
Hello @Anonymous,
I ran into the same issue when building LF5.10.72_2.2.0. Unfortunately, the original repository has been removed. A better fix to this issue is to move to this available mirror for fetching: https://gitlab.com/qtmirror/qtbase/-/tree/5.15.2
You can find the needed patch attached. Use this as a better workaround.
Best regards,
Alberto
Hi @Anonymous
Check if you can download it by "git clone git://code.qt.io/qt/qtbase.git"
If not, you need to fix the network security, or change the git protocol to https accordingly.
Best regards
Harvey
There is nothing wrong with the git clone you gave me.
It seems to me that this is not a server issue.
How should I fix it?
I am following your guide.
When a customer raises an issue, it is reviewed and checked to see if it works or not.
The solution must be disclosed.
have you tried building it?
@Anonymous
Just to try... I edited qt5-git.inc adding ";nobranch=1" and the fetch passes
SRC_URI = " \
${QT_GIT}/${QT_MODULE}.git;name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL};nobranch=1 \
"
Now I have to move this modification in my local.conf:
QT_MODULE_BRANCH_PARAM_append = ";nobranch=1"
Now it's official:
https://github.com/nxp-imx/meta-imx/commit/2a816fb427a1e84a898d1c6ea2518b48b5cd12ef
NXP updated the manifest too:
https://github.com/nxp-imx/imx-manifest/blob/imx-linux-hardknott/imx-5.10.35-2.0.0.xml
...
<project name="meta-imx" path="sources/meta-imx" remote="nxp-imx" revision="refs/tags/rel_imx_5.10.35_2.0.0_gh" upstream="hardknott-5.10.35-2.0.0">
...
As you said, I also succeeded in the build.
thank you
However, application development with QT5 may be unstable because all fetch contents are not applied.
What I'm complaining about is NXP's attitude.
If NXP guides the customer, of course they should tell the solution.
This worked for me when I had the same issue. Thank you.
Hello,
I'm, getting the same error, building https://source.codeaurora.org/external/imx/imx-manifest/tree/imx-5.10.35-2.0.0.xml?h=imx-linux-hardk...
WARNING: qtbase-native-5.15.2+gitAUTOINC+40143c189b-r0 do_fetch: Failed to fetch URL git://code.qt.io/qt/qtbase.git;name=qtbase;branch=5.15.2;protocol=git, attempting MIRRORS if available
ERROR: qtbase-native-5.15.2+gitAUTOINC+40143c189b-r0 do_fetch: Fetcher failure: Unable to find revision 40143c189b7c1bf3c2058b77d00ea5c4e3be8b28 in branch 5.15.2 even from upstream
ERROR: qtbase-native-5.15.2+gitAUTOINC+40143c189b-r0 do_fetch: Fetcher failure for URL: 'git://code.qt.io/qt/qtbase.git;name=qtbase;branch=5.15.2;protocol=git'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /tmp/work/tmp/work/x86_64-linux/qtbase-native/5.15.2+gitAUTOINC+40143c189b-r0/temp/log.do_fetch.668468
ERROR: Task (/tmp/sources/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_fetch) failed with exit code '1'
Hi
add
QT_MODULE_BRANCH_PARAM_append = ";nobranch=1"
in local.conf
Thank you @paolamg, you're the hero we need, not the one we deserve.