Some ERROR occurs while "bitbake fsl-image-qt5" , yocto build

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Some ERROR occurs while "bitbake fsl-image-qt5" , yocto build

1,787 Views
1662664381
Contributor I

OS: Ubuntu 18.04

Some ERR occurs  while "bitbake fsl-image-qt5" 

Informations as follows, anyone have ideas?

I would appreciate it!

=====================================================================================

ERROR: fsl-image-qt5-1.0-r0 do_rootfs: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:license_create_manifest(d)
0003:
File: '/home/cui/linux/tool/yocto/fsl-release-bsp/sources/poky/meta/classes/license.bbclass', lineno: 48, function: license_create_manifest
0044: pkg_dic = {}
0045: for pkg in sorted(image_list_installed_packages(d)):
0046: pkg_info = os.path.join(d.getVar('PKGDATA_DIR', True),
0047: 'runtime-reverse', pkg)
*** 0048: pkg_name = os.path.basename(os.readlink(pkg_info))
0049:
0050: pkg_dic[pkg_name] = oe.packagedata.read_pkgdatafile(pkg_info)
0051: if not "LICENSE" in pkg_dic[pkg_name].keys():
0052: pkg_lic_name = "LICENSE_" + pkg_name
Exception: OSError: [Errno 2] No such file or directory: '/home/cui/linux/tool/yocto/fsl-release-bsp/build/tmp/sysroots/imx6ull14x14evk/pkgdata/runtime-reverse/No'

ERROR: fsl-image-qt5-1.0-r0 do_rootfs: Function failed: license_create_manifest
ERROR: Logfile of failure stored in: /home/cui/linux/tool/yocto/fsl-release-bsp/build/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/fsl-image-qt5/1.0-r0/temp/log.do_rootfs.2743
ERROR: Task 9 (/home/cui/linux/tool/yocto/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-qt5.bb, do_rootfs) failed with exit code '1'

Labels (2)
0 Kudos
6 Replies

1,095 Views
poorna4444
Contributor I

the errors after  command bitbake fsl-image-qt5

can anyone can clear this

 

bitbake fsl-image-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: qtbase-native-5.15.2+gitAUTOINC+40143c189b-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1149"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/devyocto/var-fslc-yocto/sources/poky/scripts/native-intercept:/home/devyocto/var-fslc-yocto/build_x11/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/devyocto/var-fslc-yocto/sources/poky/scripts:/home/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtbase-native/5.15.2+gitAUTOINC+40143c189b-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtbase-native/5.15.2+gitAUTOINC+40143c189b-r0/recipe-sysroot-native/usr/bin:/home/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtbase-native/5.15.2+gitAUTOINC+40143c189b-r0/recipe-sysroot-native/usr/sbin:/home/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtbase-native/5.15.2+gitAUTOINC+40143c189b-r0/recipe-sysroot-native/usr/bin:/home/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtbase-native/5.15.2+gitAUTOINC+40143c189b-r0/recipe-sysroot-native/sbin:/home/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtbase-native/5.15.2+gitAUTOINC+40143c189b-r0/recipe-sysroot-native/bin:/home/devyocto/var-fslc-yocto/sources/poky/bitbake/bin:/home/devyocto/var-fslc-yocto/build_x11/tmp/hosttools"; export HOME="/home/devyocto"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://code.qt.io/qt/qtbase.git /home/devyocto/var-fslc-yocto/downloads//git2/code.qt.io.qt.qtbase.git --progress failed with exit code 128, no output
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/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtbase-native/5.15.2+gitAUTOINC+40143c189b-r0/temp/log.do_fetch.2452
ERROR: Task (/home/devyocto/var-fslc-yocto/sources/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_fetch) failed with exit code '1'
ERROR: qtdeclarative-native-5.15.2+gitAUTOINC+104eae5b17-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1149"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/devyocto/var-fslc-yocto/sources/poky/scripts/native-intercept:/home/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtdeclarative-native/5.15.2+gitAUTOINC+104eae5b17-r0/recipe-sysroot-native/home/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtdeclarative-native/5.15.2+gitAUTOINC+104eae5b17-r0/recipe-sysroot-native/usr/bin:/home/devyocto/var-fslc-yocto/build_x11/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/devyocto/var-fslc-yocto/sources/poky/scripts:/home/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtdeclarative-native/5.15.2+gitAUTOINC+104eae5b17-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtdeclarative-native/5.15.2+gitAUTOINC+104eae5b17-r0/recipe-sysroot-native/usr/bin:/home/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtdeclarative-native/5.15.2+gitAUTOINC+104eae5b17-r0/recipe-sysroot-native/usr/sbin:/home/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtdeclarative-native/5.15.2+gitAUTOINC+104eae5b17-r0/recipe-sysroot-native/usr/bin:/home/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtdeclarative-native/5.15.2+gitAUTOINC+104eae5b17-r0/recipe-sysroot-native/sbin:/home/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtdeclarative-native/5.15.2+gitAUTOINC+104eae5b17-r0/recipe-sysroot-native/bin:/home/devyocto/var-fslc-yocto/sources/poky/bitbake/bin:/home/devyocto/var-fslc-yocto/build_x11/tmp/hosttools"; export HOME="/home/devyocto"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://code.qt.io/qt/qtdeclarative.git /home/devyocto/var-fslc-yocto/downloads//git2/code.qt.io.qt.qtdeclarative.git --progress failed with exit code 128, no output
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/devyocto/var-fslc-yocto/build_x11/tmp/work/x86_64-linux/qtdeclarative-native/5.15.2+gitAUTOINC+104eae5b17-r0/temp/log.do_fetch.52577
ERROR: Task (virtual:native:/home/devyocto/var-fslc-yocto/sources/meta-qt5/recipes-qt/qt5/qtdeclarative_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

0 Kudos

1,673 Views
joanxie
NXP TechSupport
NXP TechSupport

what bsp version do you use?

0 Kudos

1,673 Views
1662664381
Contributor I

Sorry, what do you mean about BSP, If is Board Support  Package? I'm new one in this field. 
I just want to build the rootfs for Qt development. It's known that Ubuntu 16 is recommended to build the yocto project, but all of my other work is based on Ubuntu 18.04, so I have to make a try.
Thanks for your reply.

0 Kudos

1,673 Views
joanxie
NXP TechSupport
NXP TechSupport

I mean what bsp version do you use? like 5.4.3 or 4.14.98? and give me your build commands, let me double check it, did you build the board according to the yocto user guide?

0 Kudos

1,673 Views
1662664381
Contributor I

Thanks,

BSP version: "NXP's 4.1.15-2.1.0 Yocto Project BSP" found in README-IMXBSP. Is it helpful?

Commands:

1. DISTRO=fsl-imx-x11 MACHINE=imx6ull14x14evk source fsl-setup-release.sh -b build

2. bitbake fsl-image-qt5

0 Kudos

1,673 Views
joanxie
NXP TechSupport
NXP TechSupport

you can refer to the yocto user guide of 4.1.15, i.mx6ull couldn't use fsl-image-qt5, try to use other images

0 Kudos