7ulp imx-yocto-L5.10.52_2.1.0 build

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

7ulp imx-yocto-L5.10.52_2.1.0 build

4,076 次查看
Anonymous
不适用

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.

=================================================================
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
WARNING: qtdeclarative-native-5.15.2+gitAUTOINC+104eae5b17-r0 do_fetch: Failed to fetch URL git://code.qt.io/qt/qtdeclarative.git;name=qtdeclarative;branch=5.15.2;protocol=git, attempting MIRRORS if available
ERROR: qtdeclarative-native-5.15.2+gitAUTOINC+104eae5b17-r0 do_fetch: Fetcher failure: Unable to find revision 104eae5b17b0ec700391e9539ee3a4f638588194 in branch 5.15.2 even from upstream
ERROR: qtdeclarative-native-5.15.2+gitAUTOINC+104eae5b17-r0 do_fetch: Fetcher failure for URL: 'git://code.qt.io/qt/qtdeclarative.git;name=qtdeclarative;branch=5.15.2;protocol=git'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/buildhalo/tmp/work/x86_64-linux/qtdeclarative-native/5.15.2+gitAUTOINC+104eae5b17-r0/temp/log.do_fetch.1672358
ERROR: Task (virtual:native:/home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/sources/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_fetch) failed with exit code '1'
WARNING: qtdeclarative-5.15.2+gitAUTOINC+104eae5b17-r0 do_fetch: Failed to fetch URL git://code.qt.io/qt/qtdeclarative.git;name=qtdeclarative;branch=5.15.2;protocol=git, attempting MIRRORS if available
ERROR: qtdeclarative-5.15.2+gitAUTOINC+104eae5b17-r0 do_fetch: Fetcher failure: Unable to find revision 104eae5b17b0ec700391e9539ee3a4f638588194 in branch 5.15.2 even from upstream
ERROR: qtdeclarative-5.15.2+gitAUTOINC+104eae5b17-r0 do_fetch: Fetcher failure for URL: 'git://code.qt.io/qt/qtdeclarative.git;name=qtdeclarative;branch=5.15.2;protocol=git'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/buildhalo/tmp/work/cortexa7t2hf-neon-poky-linux-gnueabi/qtdeclarative/5.15.2+gitAUTOINC+104eae5b17-r0/temp/log.do_fetch.1689244
ERROR: Task (/home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/sources/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_fetch) failed with exit code '1'
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: /home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/buildhalo/tmp/work/x86_64-linux/qtbase-native/5.15.2+gitAUTOINC+40143c189b-r0/temp/log.do_fetch.1615753
ERROR: Task (/home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/sources/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_fetch) failed with exit code '1'
WARNING: qtbase-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-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-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: /home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/buildhalo/tmp/work/cortexa7t2hf-neon-mx7ulp-poky-linux-gnueabi/qtbase/5.15.2+gitAUTOINC+40143c189b-r0/temp/log.do_fetch.1630035
ERROR: Task (/home/hkkim/workspace/c4_job/c4-rcs-halo-remote-manifest/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1576 tasks of which 0 didn't need to be rerun and 4 failed.
 
 
 
 
 
 
 
 
0 项奖励
12 回复数

3,435 次查看
alberto_alvarez
NXP Employee
NXP Employee

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

4,023 次查看
Harvey021
NXP TechSupport
NXP TechSupport

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

标记 (1)
0 项奖励

4,018 次查看
Anonymous
不适用

There is nothing wrong with the git clone you gave me.

0 项奖励

3,901 次查看
Anonymous
不适用

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?

0 项奖励

4,042 次查看
paolamg
Contributor II

@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"

 

2,019 次查看
paolamg
Contributor II

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">

...

@Anonymous @jgrider @Danube 

0 项奖励

3,779 次查看
Anonymous
不适用

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.

0 项奖励

3,781 次查看
jgrider
Contributor II

This worked for me when I had the same issue.  Thank you.

4,048 次查看
paolamg
Contributor II

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'

0 项奖励

3,746 次查看
Danube
Contributor IV

Hi

 

add

QT_MODULE_BRANCH_PARAM_append = ";nobranch=1"

in local.conf

 

0 项奖励

3,738 次查看
paolamg
Contributor II
it's what I suggested...

3,634 次查看
jgrider
Contributor II

Thank you @paolamg, you're the hero we need, not the one we deserve. 

0 项奖励