qtbase do package error

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

qtbase do package error

Jump to solution
573 Views
gufengzi
Contributor III

 

repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.36-2.1.0.xml

DISTRO=fsl-imx-xwayland MACHINE=imx6qpsabresd source imx-setup-release.sh -b build-qpxwayland

t@kylin:~/src/yocto_imx/build-qpxwayland$ bitbake -c package qtbase
Loading cache: 100% |#############################################################################################################################################| Time: 0:00:01
Loaded 5303 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6qpsabresd"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "6.1-mickledore"
TUNE_FEATURES = "arm vfp cortexa9 neon thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:0a98281d37b0bd8dc1548c390216cb3978e36e0e"
meta-oe
meta-multimedia
meta-python = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842"
meta-freescale = "HEAD:9b00d40b787c2b7105ce209f5635cc1a0cab81ca"
meta-freescale-3rdparty = "HEAD:93ba05e3a16a028b770fa1e813b13eb87a59ac63"
meta-freescale-distro = "HEAD:b09c18a3f649f0cf1b40432bb39e76ba16fe94e2"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:6efe87f014c5bdcbda30f06156ee11d8bc3dc7fe"
meta-nxp-demo-experience = "HEAD:7f34a32c7877e55e87b6a99e90da4128ed632bf2"
meta-arm
meta-arm-toolchain = "HEAD:0e043288fd0b17fbf31cf00ae33045107a991144"
meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6"
meta-clang = "HEAD:af4dcba009ba98250315520f3003fde4ee164cce"
meta-gnome
meta-networking
meta-filesystems = "HEAD:75cf318cef3b4ee81fad2782cf063ecd69ba8842"
meta-qt6 = "HEAD:1406d0a85525a71fe5d7892d7f915404290a78ad"
meta-parsec
meta-tpm = "HEAD:d7db0a3bd1a8639df7570483f003ce00cbe274a2"
meta-virtualization = "HEAD:56593e277a377157944a6676e57497066b770a35"

Initialising tasks: 100% |########################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 1 Local 0 Mirrors 0 Missed 1 Current 572 (0% match, 99% complete)
NOTE: Executing Tasks
ERROR: qtbase-6.5.0-r0 do_package: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_package(d)
0003:
File: '/home/tjt/src/yocto_imx/sources/poky/meta/classes-global/package.bbclass', lineno: 527, function: do_package
0523: # Setup PKGD (from D)
0524: ###########################################################################
0525:
0526: bb.build.exec_func("package_prepare_pkgdata", d)
*** 0527: bb.build.exec_func("perform_packagecopy", d)
0528: for f in (d.getVar('PACKAGE_PREPROCESS_FUNCS') or '').split():
0529: bb.build.exec_func(f, d)
0530: oe.package.process_split_and_strip_files(d)
0531: oe.package.fixup_perms(d)
File: '/home/tjt/src/yocto_imx/sources/poky/bitbake/lib/bb/build.py', lineno: 198, function: exec_func
0194: flags = d.getVarFlags(func)
0195: cleandirs = flags.get('cleandirs') if flags else None
0196: if cleandirs:
0197: for cdir in d.expand(cleandirs).split():
*** 0198: bb.utils.remove(cdir, True)
0199: bb.utils.mkdirhier(cdir)
0200:
0201: if flags and dirs is None:
0202: dirs = flags.get('dirs')
File: '/home/tjt/src/yocto_imx/sources/poky/bitbake/lib/bb/utils.py', lineno: 728, function: remove
0724: # shutil.rmtree(name) would be ideal but its too slow
0725: cmd = []
0726: if ionice:
0727: cmd = ['ionice', '-c', '3']
*** 0728: subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path))
0729: return
0730: for name in glob.glob(path):
0731: try:
0732: os.unlink(name)
File: '/usr/lib/python3.10/subprocess.py', lineno: 369, function: check_call
0365: if retcode:
0366: cmd = kwargs.get("args")
0367: if cmd is None:
0368: cmd = popenargs[0]
*** 0369: raise CalledProcessError(retcode, cmd)
0370: return 0
0371:
0372:
0373:def check_output(*popenargs, timeout=None, **kwargs):
Exception: subprocess.CalledProcessError: Command '['rm', '-rf', '/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/qtbase/6.5.0-r0/package']' died with <Signals.SIGABRT: 6>.

ERROR: Logfile of failure stored in: /home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/qtbase/6.5.0-r0/temp/log.do_package.822887
ERROR: Task (/home/tjt/src/yocto_imx/sources/meta-qt6/recipes-qt/qt6/qtbase_git.bb:do_package) failed with exit code '1'
Pseudo log:
path mismatch [1 link]: ino 52739683 db '/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/qtbase/6.5.0-r0/package/usr/lib/mkspecs/macx-g++' req '/home/tjt/src/yocto_imx/build-qpxwayland/tmp/work/cortexa9t2hf-neon-mx6qdl-poky-linux-gnueabi/qtbase/6.5.0-r0/package/usr/lib/qtbase/ptest/tests/auto/corelib/io/qsettings/resourcefile2.ini'.
Setup complete, sending SIGUSR1 to pid 822888.

NOTE: Tasks Summary: Attempted 2030 tasks of which 2029 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/tjt/src/yocto_imx/sources/meta-qt6/recipes-qt/qt6/qtbase_git.bb:do_package
Summary: There was 1 ERROR message, returning a non-zero exit code.
tjt@kylin:~/src/yocto_imx/build-qpxwayland$

0 Kudos
1 Solution
524 Views
gufengzi
Contributor III

clean up the package

download and compile again

success

View solution in original post

0 Kudos
3 Replies
525 Views
gufengzi
Contributor III

clean up the package

download and compile again

success

0 Kudos
554 Views
jimmychan
NXP TechSupport
NXP TechSupport

Please install the host packages before build.

Please follow the Yocto user's guide Chapter 3.2.

https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf

0 Kudos
552 Views
gufengzi
Contributor III
I already installed host packages before build according to yocto user's guide chapter 3.2
0 Kudos