[meta-intel] Build error after changing PACKAGE_CLASSES to package_deb
srinivasan
srinivasan.rns at gmail.com
Mon Jan 21 05:39:29 PST 2019
Dear Yocto Experts Team,
I am seeing the below error after changing the package_classes from "rpm"
to "deb" as below, when I am trying to add freescale meta layers to my
custom yocto distribution
Could you please do the needful by providing some inputs in resolving the
below issue?
Logs:
WARNING: Host distribution "ubuntu-18.04" has not been validated with this
version of the build system; you may possibly experience unexpected
failures. It is recommended that you use a tested distribution.
Parsing recipes: 100%
|#############################################################################################################################################################################################################################################|
Time: 0:00:15
Parsing of 2304 .bb files complete (0 cached, 2304 parsed). 3210 targets,
385 skipped, 6 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mmevk"
DISTRO = "NativeOS-TRK"
DISTRO_VERSION = "1.0.8"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta-traktor-imx8 = "master:525bab5e576c2f0f1242cd1e6b546859c856441a"
meta-traktor = "sumo:b91788da6bd52485faa85bb19bc7a9a1ddf2ee5d"
meta-qt5 = "qt-5.11:ff6127ddd318d422f595295d1c189a86b3032873"
meta-nativeos = "sumo:8a14b16e4049051e29009e67afa63bfac5ddb26e"
meta-freescale = "master:525bab5e576c2f0f1242cd1e6b546859c856441a"
meta
meta-poky = "sumo:623b77885051174d0e05198843e739110977bd18"
meta-oe
meta-python
meta-networking = "sumo:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-bsp
meta-sdk = "master:525bab5e576c2f0f1242cd1e6b546859c856441a"
Initialising tasks: 100%
|##########################################################################################################################################################################################################################################|
Time: 0:00:05
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-imx-4.14.62-r0 do_package_write_deb: 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:do_package_deb(d)
0003:
File:
'/home/srinishanmugam/nibuild_test/nativeos/sources/poky/meta/classes/package_deb.bbclass',
lineno: 102, function: do_package_deb
0098:
0099: os.chdir(oldcwd)
0100:
0101: if error:
*** 0102: raise error
0103:}
0104:do_package_deb[vardeps] += "deb_write_pkg"
0105:do_package_deb[vardepsexclude] = "BB_NUMBER_THREADS"
0106:
Exception: subprocess.CalledProcessError: Command
'PATH="/home/srinishanmugam/nibuild_test/nativeos/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/srinishanmugam/nibuild_test/nativeos/sources/poky/scripts:/home/srinishanmugam/nibuild_test/nativeos/build/tmp/work/imx8mmevk-poky-linux/linux-imx/4.14.62-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/srinishanmugam/nibuild_test/nativeos/build/tmp/work/imx8mmevk-poky-linux/linux-imx/4.14.62-r0/recipe-sysroot/usr/bin/crossscripts:/home/srinishanmugam/nibuild_test/nativeos/build/tmp/work/imx8mmevk-poky-linux/linux-imx/4.14.62-r0/recipe-sysroot-native/usr/sbin:/home/srinishanmugam/nibuild_test/nativeos/build/tmp/work/imx8mmevk-poky-linux/linux-imx/4.14.62-r0/recipe-sysroot-native/usr/bin:/home/srinishanmugam/nibuild_test/nativeos/build/tmp/work/imx8mmevk-poky-linux/linux-imx/4.14.62-r0/recipe-sysroot-native/sbin:/home/srinishanmugam/nibuild_test/nativeos/build/tmp/work/imx8mmevk-poky-linux/linux-imx/4.14.62-r0/recipe-sysroot-native/bin:/home/srinishanmugam/nibuild_test/nativeos/sources/poky/bitbake/bin:/home/srinishanmugam/nibuild_test/nativeos/build/tmp/hosttools"
dpkg-deb -b
/home/srinishanmugam/nibuild_test/nativeos/build/tmp/work/imx8mmevk-poky-linux/linux-imx/4.14.62-r0/packages-split/kernel-module-snd-usbmidi-lib-4.14.62-imx_4.14.62_1.0.0_beta+g1907fe4c3287
/home/srinishanmugam/nibuild_test/nativeos/build/tmp/work/imx8mmevk-poky-linux/linux-imx/4.14.62-r0/deploy-debs/imx8mmevk'
returned non-zero exit status 2.
Subprocess output:
dpkg-deb: error: package name has characters that aren't lowercase
alphanums or '-+.'
ERROR: linux-imx-4.14.62-r0 do_package_write_deb: Function failed:
do_package_deb
ERROR: Logfile of failure stored in:
/home/srinishanmugam/nibuild_test/nativeos/build/tmp/work/imx8mmevk-poky-linux/linux-imx/4.14.62-r0/temp/log.do_package_write_deb.31568
ERROR: Task
(/home/srinishanmugam/nibuild_test/nativeos/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.14.62.bb:do_package_write_deb)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 3614 tasks of which 3104 didn't need to be
rerun and 1 failed.
Summary: 1 task failed:
/home/srinishanmugam/nibuild_test/nativeos/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.14.62.bb:
do_package_write_deb
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
2019-01-21 14:29:02,436 - Error during build (Return code 1)
Many Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-intel/attachments/20190121/11bf364c/attachment-0001.html>
More information about the meta-intel
mailing list