[meta-intel] Build error after changing PACKAGE_CLASSES to package_deb

2019-01-23 Thread srinivasan
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: 
 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

Re: [meta-intel] [meta-freescale] ERROR: Nothing PROVIDES 'virtual/libgles2'

2019-01-18 Thread srinivasan
imx8mmevk

On Fri, Jan 18, 2019 at 12:20 PM Daiane Angolini  wrote:
>
> On Fri, Jan 18, 2019 at 6:46 AM srinivasan  wrote:
> >
> > Dear Yocto Experts,
> >
> > I am seeing the below error when i am trying to integrate freescale
> > layers into my custom os?
>
> Which imx8 MACHINE are you trying?
>
> Daiane
> >
> > srinishanmugam@ni-bln-07594:~/customBuild_test_rpi/customos/build_customosdistro_imx8$
> > bitbake -f -c clean custom-image-debug-imx8
> > 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.
> > WARNING: 
> > /home/srinishanmugam/customBuild_test_rpi/customos/sources/poky/meta/recipes-graphics/drm/libdrm_2.4.91.bb:
> > Unable to get checksum for libdrm SRC_URI entry drm-update-arm.patch:
> > file could not be found
> >   | ETA:  0:00:05
> > Parsing recipes: 100%
> > |#|
> > Time: 0:00:09
> > Parsing of 2275 .bb files complete (0 cached, 2275 parsed). 3177
> > targets, 382 skipped, 1 masked, 0 errors.
> > NOTE: Resolving any missing task queue dependencies
> > ERROR: Nothing PROVIDES 'virtual/libgles2' (but
> > /home/srinishanmugam/customBuild_test_rpi/customos/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb,
> > /home/srinishanmugam/customBuild_test_rpi/customos/sources/poky/meta/recipes-graphics/cairo/cairo_1.14.12.bb
> > DEPENDS on or otherwise requires it)
> > imx-gpu-viv PROVIDES virtual/libgles2 but was skipped: incompatible
> > with machine imx8mmevk (not in COMPATIBLE_MACHINE)
> > NOTE: Runtime target 'qtbase' is unbuildable, removing...
> > Missing or unbuildable dependency chain was: ['qtbase', 'virtual/libgles2']
> > ERROR: Required build target 'custom-image-debug-imx8' has no
> > buildable providers.
> > Missing or unbuildable dependency chain was:
> > ['custom-image-debug-imx8', 'qtbase', 'virtual/libgles2']
> >
> > Summary: There were 2 WARNING messages shown.
> > Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
> >
> >
> > Could you anyone please provide me some inputs for resolving the above 
> > issue?
> >
> > Many Thanks in advance
> > --
> > ___
> > meta-freescale mailing list
> > meta-freesc...@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-freescale
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] ERROR: - package networkmanager-1.10.6-r0.aarch64 conflicts with connman provided by connman-1.35-r0.aarch64

2019-01-18 Thread srinivasan
Thanks a ton Ross, your inputs really worked :)

On Tue, Jan 15, 2019 at 11:34 AM Burton, Ross  wrote:
>
> You'll have to not install either connman or network manager.
>
> Ross
>
> On Tue, 15 Jan 2019 at 05:18, srinivasan  wrote:
> >
> > Dear Yocto experts,
> >
> > I am seeing the below error when I am trying to integrate the
> > "fsl-image-validation-imx.bb" into my custom yocto build and trigger
> > the build using "bitbake custom-image-debug-imx8.bb", I somewhat feel
> > networkmanager is conflicting with conman, could you please let me
> > know how this issue can be resolved?
> >
> > I have attached the recipe files for your information
> >
> > Error:
> >
> > ERROR: custom-image-debug-imx8-1.0-r0 do_rootfs: Could not invoke dnf.
> > Command 
> > '/home/user/test/os/build_fsl-image-validation-imx/tmp/work/imx8mmevk-poky-linux/custom-image-debug-imx8/1.0-r0/recipe-sysroot-native/usr/bin/dnf
> > -y -c 
> > /home/user/test/os/build_fsl-image-validation-imx/tmp/work/imx8mmevk-poky-linux/custom-image-debug-imx8/1.0-r0/rootfs/etc/dnf/dnf.conf
> > --setopt=reposdir=/home/user/test/os/build_fsl-image-validation-imx/tmp/work/imx8mmevk-poky-linux/custom-image-debug-imx8/1.0-r0/rootfs/etc/yum.repos.d
> > --repofrompath=oe-repo,/home/user/test/os/build_fsl-image-validation-imx/tmp/work/imx8mmevk-poky-linux/custom-image-debug-imx8/1.0-r0/oe-rootfs-repo
> > --installroot=/home/user/test/os/build_fsl-image-validation-imx/tmp/work/imx8mmevk-poky-linux/custom-image-debug-imx8/1.0-r0/rootfs
> > --setopt=logdir=/home/user/test/os/build_fsl-image-validation-imx/tmp/work/imx8mmevk-poky-linux/custom-image-debug-imx8/1.0-r0/temp
> > --nogpgcheck install alsa-server alsa-tools alsa-utils apt apt-repo
> > bash basicquick bc binutils binutils-symlinks bmap-tools-git
> > build-config bzip2 cmake coreutils crashme crda dfu-util diffutils dnf
> > dnsmasq ethtool file libfreetype6 gdb gdbserver gettext git
> > glibc-gconv-utf-32 gnupg libharfbuzz0 hidapi hostapd htop iperf3 iw
> > kernel-dev kernel-devsrc kernel-modules ldd libasound liberation-fonts
> > libfftw libfftwf libjack libjpeg62 libpng16-16 libtool libxerces-c
> > libsensors4 lmsensors-sensors lsof lttng-modules make memtester
> > merge-files nano networkmanager ni-isolcpus ninja openssl
> > packagegroup-base-extended packagegroup-core-boot
> > packagegroup-core-full-cmdline packagegroup-core-sdk
> > packagegroup-core-ssh-dropbear packagegroup-core-standalone-sdk-target
> > packagegroup-core-tools-debug packagegroup-core-tools-profile
> > packagegroup-core-tools-testapps packagegroup-fsl-optee-imx
> > packagegroup-fsl-tools-audio packagegroup-fsl-tools-gpu-external
> > packagegroup-tools-bluetooth pbzip2 pciutils perf pkgconfig procps
> > psplash python python-dbus python-modules python-pandas python-pip
> > python3 python3-dbus python3-misc python3-modules python3-pip
> > python3-psutil python3-robotframework python3-six qt3d qt3d-dev
> > qt3d-mkspecs qtbase qtbase-dev qtbase-mkspecs qtbase-plugins
> > qtbase-tools libqt5charts5 libqt5charts-dev libqt5charts-mkspecs
> > qtconnectivity-dev qtconnectivity-mkspecs qtdeclarative
> > qtdeclarative-dev qtdeclarative-mkspecs qtgraphicaleffects
> > qtgraphicaleffects-dev qtquickcontrols qtquickcontrols-dev
> > qtquickcontrols-qmlplugins qtquickcontrols2 qtquickcontrols2-dev
> > qtquickcontrols2-mkspecs libqt5svg5 libqt5svg-dev libqt5svg-mkspecs
> > rpm rt-tests rtirq run-postinsts screen ssh-keys-server strace stress
> > sysstat tar tmux trace-cmd ttf-bitstream-vera udev udev-automount
> > unzip usbreset usbutils util-linux valgrind wget wireless-tools
> > wpa-supplicant zip libz1 locale-base-en-us' returned 1:
> > Added oe-repo repo from
> > /home/user/test/os/build_fsl-image-validation-imx/tmp/work/imx8mmevk-poky-linux/custom-image-debug-imx8/1.0-r0/oe-rootfs-repo
> > Last metadata expiration check: 0:00:00 ago on Mon 14 Jan 2019 04:06:18 PM 
> > UTC.
> > Error:
> >  Problem: package connman-tools-1.35-r0.aarch64 requires connman, but
> > none of the providers can be installed
> >   - package packagegroup-core-tools-testapps-1.0-r2.imx8mmevk requires
> > connman-tools, but none of the providers can be installed
> >   - package networkmanager-1.10.6-r0.aarch64 conflicts with connman
> > provided by connman-1.35-r0.aarch64
> >   - conflicting requests
> > (try to add '--allowerasing' to command line to replace conflicting
> > packages or '--skip-broken' to skip uninstallable packages)
> >
> > ERROR: custom-image-debug-imx8-1.0-r0 do_rootfs: Function fail

[meta-intel] ERROR: Nothing PROVIDES 'virtual/libgles2'

2019-01-18 Thread srinivasan
Dear Yocto Experts,

I am seeing the below error when i am trying to integrate freescale
layers into my custom os?

srinishanmugam@ni-bln-07594:~/customBuild_test_rpi/customos/build_customosdistro_imx8$
bitbake -f -c clean custom-image-debug-imx8
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.
WARNING: 
/home/srinishanmugam/customBuild_test_rpi/customos/sources/poky/meta/recipes-graphics/drm/libdrm_2.4.91.bb:
Unable to get checksum for libdrm SRC_URI entry drm-update-arm.patch:
file could not be found
  | ETA:  0:00:05
Parsing recipes: 100%
|#|
Time: 0:00:09
Parsing of 2275 .bb files complete (0 cached, 2275 parsed). 3177
targets, 382 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/libgles2' (but
/home/srinishanmugam/customBuild_test_rpi/customos/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb,
/home/srinishanmugam/customBuild_test_rpi/customos/sources/poky/meta/recipes-graphics/cairo/cairo_1.14.12.bb
DEPENDS on or otherwise requires it)
imx-gpu-viv PROVIDES virtual/libgles2 but was skipped: incompatible
with machine imx8mmevk (not in COMPATIBLE_MACHINE)
NOTE: Runtime target 'qtbase' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['qtbase', 'virtual/libgles2']
ERROR: Required build target 'custom-image-debug-imx8' has no
buildable providers.
Missing or unbuildable dependency chain was:
['custom-image-debug-imx8', 'qtbase', 'virtual/libgles2']

Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.


Could you anyone please provide me some inputs for resolving the above issue?

Many Thanks in advance
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] Error: base-files/3.0.14-r89/temp/run.do_install.80432: Syntax error: Unterminated quoted string

2019-01-16 Thread srinivasan
Dear Yocto Experts,

I am trying to customize my vendor specific Yocto BSP's to my custom
OS.  I am facing the below error, could you please do the needful or
provide me some pointers from your end for solving this issue

Error:
$ bitbake fsl-image-validation-imx
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.
Loading cache: 100%
|###|
Time: 0:00:00
Loaded 3196 entries from dependency cache.
Parsing recipes: 100%
|#|
Time: 0:00:02
Parsing of 2298 .bb files complete (2284 cached, 14 parsed). 3202
targets, 398 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  = "universal"
TARGET_SYS   = "aarch64-poky-linux"
MACHINE  = "imx8mmevk"
DISTRO   = "custom-TRK"
DISTRO_VERSION   = "${custom_DISTRO_VERSION}"
TUNE_FEATURES= "aarch64"
TARGET_FPU   = ""
meta-traktor-imx8= "sumo:4b25c1ee6896b5447f8502f13c28570341505360"
meta-traktor = "sumo:818be7ec4f768ba485e437dc26beb7bdc4b8120a"
meta-qt5 = "qt-5.11:ff6127ddd318d422f595295d1c189a86b3032873"
meta-custom= "sumo:d98452914e201d46a6b1360ca957d9b3e396b31f"
meta-freescale   = "HEAD:1deea6b4a2f83521ff247ea4743d09cc705ecd8e"
meta
meta-poky= "sumo:623b77885051174d0e05198843e739110977bd18"
meta-oe
meta-python
meta-networking  = "sumo:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-bsp
meta-sdk = "HEAD:1de93d3d5128b8422c23a87cb8b54149e2bfb942"

Initialising tasks: 100%
|##|
Time: 0:00:02
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: base-files-3.0.14-r89 do_install: Function failed: do_install
(log file is located at
/home/srinishanmugam/customBuild_test_rpi/custom/buid_test3_customtrk_distro_imx8/tmp/work/imx8mmevk-poky-linux/base-files/3.0.14-r89/temp/log.do_install.80432)
ERROR: Logfile of failure stored in:
/home/srinishanmugam/customBuild_test_rpi/custom/buid_test3_customtrk_distro_imx8/tmp/work/imx8mmevk-poky-linux/base-files/3.0.14-r89/temp/log.do_install.80432
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are
['/home/srinishanmugam/customBuild_test_rpi/custom/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot',
'virtual:native:/home/srinishanmugam/customBuild_test_rpi/custom/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['quilt-native', 'pseudo-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| 
/home/srinishanmugam/customBuild_test_rpi/custom/buid_test3_customtrk_distro_imx8/tmp/work/imx8mmevk-poky-linux/base-files/3.0.14-r89/temp/run.do_install.80432:
176: 
/home/srinishanmugam/customBuild_test_rpi/custom/buid_test3_customtrk_distro_imx8/tmp/work/imx8mmevk-poky-linux/base-files/3.0.14-r89/temp/run.do_install.80432:
Syntax error: Unterminated quoted string
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_install (log file is located at
/home/srinishanmugam/customBuild_test_rpi/custom/buid_test3_customtrk_distro_imx8/tmp/work/imx8mmevk-poky-linux/base-files/3.0.14-r89/temp/log.do_install.80432)
ERROR: Task 
(/home/srinishanmugam/customBuild_test_rpi/custom/sources/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_install)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 1256 tasks of which 1204 didn't need to
be rerun and 1 failed.

Summary: 1 task failed:
  
/home/srinishanmugam/customBuild_test_rpi/custom/sources/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_install
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
srinishanmugam@ni-bln-07594:~/customBuild_test_rpi/custom/buid_test3_customtrk_distro_imx8$


Kindly do the needful,
Many Thanks in advance
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoc

[meta-intel] ERROR: - package networkmanager-1.10.6-r0.aarch64 conflicts with connman provided by connman-1.35-r0.aarch64

2019-01-14 Thread srinivasan
Dear Yocto experts,

I am seeing the below error when I am trying to integrate the
"fsl-image-validation-imx.bb" into my custom yocto build and trigger
the build using "bitbake custom-image-debug-imx8.bb", I somewhat feel
networkmanager is conflicting with conman, could you please let me
know how this issue can be resolved?

I have attached the recipe files for your information

Error:

ERROR: custom-image-debug-imx8-1.0-r0 do_rootfs: Could not invoke dnf.
Command 
'/home/user/test/os/build_fsl-image-validation-imx/tmp/work/imx8mmevk-poky-linux/custom-image-debug-imx8/1.0-r0/recipe-sysroot-native/usr/bin/dnf
-y -c 
/home/user/test/os/build_fsl-image-validation-imx/tmp/work/imx8mmevk-poky-linux/custom-image-debug-imx8/1.0-r0/rootfs/etc/dnf/dnf.conf
--setopt=reposdir=/home/user/test/os/build_fsl-image-validation-imx/tmp/work/imx8mmevk-poky-linux/custom-image-debug-imx8/1.0-r0/rootfs/etc/yum.repos.d
--repofrompath=oe-repo,/home/user/test/os/build_fsl-image-validation-imx/tmp/work/imx8mmevk-poky-linux/custom-image-debug-imx8/1.0-r0/oe-rootfs-repo
--installroot=/home/user/test/os/build_fsl-image-validation-imx/tmp/work/imx8mmevk-poky-linux/custom-image-debug-imx8/1.0-r0/rootfs
--setopt=logdir=/home/user/test/os/build_fsl-image-validation-imx/tmp/work/imx8mmevk-poky-linux/custom-image-debug-imx8/1.0-r0/temp
--nogpgcheck install alsa-server alsa-tools alsa-utils apt apt-repo
bash basicquick bc binutils binutils-symlinks bmap-tools-git
build-config bzip2 cmake coreutils crashme crda dfu-util diffutils dnf
dnsmasq ethtool file libfreetype6 gdb gdbserver gettext git
glibc-gconv-utf-32 gnupg libharfbuzz0 hidapi hostapd htop iperf3 iw
kernel-dev kernel-devsrc kernel-modules ldd libasound liberation-fonts
libfftw libfftwf libjack libjpeg62 libpng16-16 libtool libxerces-c
libsensors4 lmsensors-sensors lsof lttng-modules make memtester
merge-files nano networkmanager ni-isolcpus ninja openssl
packagegroup-base-extended packagegroup-core-boot
packagegroup-core-full-cmdline packagegroup-core-sdk
packagegroup-core-ssh-dropbear packagegroup-core-standalone-sdk-target
packagegroup-core-tools-debug packagegroup-core-tools-profile
packagegroup-core-tools-testapps packagegroup-fsl-optee-imx
packagegroup-fsl-tools-audio packagegroup-fsl-tools-gpu-external
packagegroup-tools-bluetooth pbzip2 pciutils perf pkgconfig procps
psplash python python-dbus python-modules python-pandas python-pip
python3 python3-dbus python3-misc python3-modules python3-pip
python3-psutil python3-robotframework python3-six qt3d qt3d-dev
qt3d-mkspecs qtbase qtbase-dev qtbase-mkspecs qtbase-plugins
qtbase-tools libqt5charts5 libqt5charts-dev libqt5charts-mkspecs
qtconnectivity-dev qtconnectivity-mkspecs qtdeclarative
qtdeclarative-dev qtdeclarative-mkspecs qtgraphicaleffects
qtgraphicaleffects-dev qtquickcontrols qtquickcontrols-dev
qtquickcontrols-qmlplugins qtquickcontrols2 qtquickcontrols2-dev
qtquickcontrols2-mkspecs libqt5svg5 libqt5svg-dev libqt5svg-mkspecs
rpm rt-tests rtirq run-postinsts screen ssh-keys-server strace stress
sysstat tar tmux trace-cmd ttf-bitstream-vera udev udev-automount
unzip usbreset usbutils util-linux valgrind wget wireless-tools
wpa-supplicant zip libz1 locale-base-en-us' returned 1:
Added oe-repo repo from
/home/user/test/os/build_fsl-image-validation-imx/tmp/work/imx8mmevk-poky-linux/custom-image-debug-imx8/1.0-r0/oe-rootfs-repo
Last metadata expiration check: 0:00:00 ago on Mon 14 Jan 2019 04:06:18 PM UTC.
Error:
 Problem: package connman-tools-1.35-r0.aarch64 requires connman, but
none of the providers can be installed
  - package packagegroup-core-tools-testapps-1.0-r2.imx8mmevk requires
connman-tools, but none of the providers can be installed
  - package networkmanager-1.10.6-r0.aarch64 conflicts with connman
provided by connman-1.35-r0.aarch64
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting
packages or '--skip-broken' to skip uninstallable packages)

ERROR: custom-image-debug-imx8-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in:
/home/user/test/os/build_fsl-image-validation-imx/tmp/work/imx8mmevk-poky-linux/custom-image-debug-imx8/1.0-r0/temp/log.do_rootfs.56617
ERROR: Task 
(/home/user/test/os/sources/meta-custom-imx8/recipes-core/images/custom-image-debug-imx8.bb:do_rootfs)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 8016 tasks of which 7974 didn't need to
be rerun and 1 failed.

Many Thanks in advance,


fsl-image-validation-imx.bb
Description: Binary data


custom-image-debug-imx8.bb
Description: Binary data


custom-image-debug.bbclass
Description: Binary data
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [poky] Yocto kernel compilation issues

2018-09-04 Thread srinivasan
"inherit kernel" doesn't allow to add new kernels for the very first to
yocto build system for example adding the below kernel



*- The kernel used would be the Linux-rt-devel v4.14.39 from the git repo
in https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/
<https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/>*

Because I tried adding the above new kernel for the first time using
"inherit kernel", and ended with number of issues

And I hope, "inherit kernel" works only for yocto based linux kernels that
is already available.

Could you please guide me if my understanding is wrong w.r.t the above?

On Wed, Sep 5, 2018 at 8:21 AM Paul Eggleton 
wrote:

> On Wednesday, 5 September 2018 1:44:22 PM NZST srinivasan wrote:
> > Adding the "DEPENDS += "xz-native bc-native" in the "linux-srini_4.14.bb
> "
> > did the trick
>
> FYI the main issue with your kernel recipe is it does not "inherit kernel"
> which takes care of this (and many other things) for you. I guess you
> based
> your recipe on linux-dummy.bb, but that recipe is special and shouldn't
> be
> used as a template for a real kernel.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
>
>
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] [poky] Yocto kernel compilation issues

2018-09-04 Thread srinivasan
Adding the "DEPENDS += "xz-native bc-native" in the "linux-srini_4.14.bb"
did the trick

Many many thanks for all your support :)

On Wed 5 Sep, 2018, 7:12 AM Khem Raj,  wrote:

> in your local.conf add
>
> HOSTTOOLS += "bc"
>
> see if that helps
>
> On Tue, Sep 4, 2018 at 5:33 PM srinivasan 
> wrote:
>
>>
>> srinivasan 
>> 5:55 AM (4 minutes ago)
>> to *yocto-infrastructure*
>> After changing from "*do_compile_ () {*" to "*do_compile() {*", in the
>> attached recipe file, Compilation started but got stuck  "*/bin/sh: 1:
>> bc: not found*
>>
>> *make[1]: *** [include/generated/timeconst.h] Error 127*
>> *make: *** [prepare0] Error 2*
>> *make: *** Waiting for unfinished jobs"*
>>
>> *Even I tried installing "*sudo apt-get install bc"* but still the same
>> issue as above, Kindly do the needful in resolving the above issue as am
>> stuck with the same issue from past 4 days*
>>
>> *And I am even able to build kernel independently before integrating into
>> yocto project*
>>
>> *References:*
>>
>> *1. Ubuntu version used 14.04*
>>
>> *2. Poky Distro version*
>>
>> DISTRO = "poky"
>> DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
>> DISTRO_VERSION = "2.5+snapshot-${DATE}"
>>
>> *3.Logs:*
>>
>> NOTE: linux-srini-4.14-r1 do_prepare_recipe_sysroot: Direct dependencies
>> are
>> ['/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot',
>> 'virtual:native:/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_populate_sysroot',
>> 'virtual:native:/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/autoconf/autoconf_2.69.bb:do_populate_sysroot',
>> 'virtual:native:/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/automake/automake_1.16.1.bb:
>> do_populate_sysroot']
>> NOTE: linux-srini-4.14-r1 do_prepare_recipe_sysroot: Installed into
>> sysroot: ['libtool-native', 'gnu-config-native', 'autoconf-native',
>> 'automake-native', 'texinfo-dummy-native', 'quilt-native', 'm4-native']
>> + cd
>> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git
>>
>> NOTE: linux-srini-4.14-r1 do_compile: make -j 4 mrproper
>> + oe_runmake mrproper
>> + oe_runmake_call mrproper
>> + bbnote make -j 4 mrproper
>> + [ -p
>> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
>> ]
>> + printf %b\0 bbnote make -j 4 mrproper
>> + make -j 4 mrproper
>>
>>   CLEAN   .config
>>
>> + oe_runmake defconfig
>> + oe_runmake_call defconfig
>> + bbnote make -j 4 defconfig
>>
>> NOTE: linux-srini-4.14-r1 do_compile: make -j 4 defconfig
>> + [ -p
>> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
>> ]
>> + printf %b\0 bbnote make -j 4 defconfig
>> + make -j 4 defconfig
>>
>>   HOSTCC  scripts/basic/fixdep
>>
>>   HOSTCC  scripts/kconfig/conf.o
>>
>>   SHIPPED scripts/kconfig/zconf.tab.c
>>
>>   SHIPPED scripts/kconfig/zconf.lex.c
>>
>>   HOSTCC  scripts/kconfig/zconf.tab.o
>>
>>   HOSTLD  scripts/kconfig/conf
>>
>> *** Default configuration is based on 'x86_64_defconfig'
>>
>> #
>> # configuration written to .config
>> #
>>
>> + oe_runmake
>> + oe_runmake_call
>> + bbnote make -j 4
>> + [ -p
>> NOTE: linux-srini-4.14-r1 do_compile: make -j 4
>>  
>> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
>> ]
>> + printf %b\0 bbnote make -j 4
>> + make -j 4
>>
>> scripts/kconfig/conf  --silentoldconfig Kconfig
>>
>>   SYSTBL
>> arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h
>>
>>   SYSHDR
>> arch/x86/entry/syscalls/../../include/generated/asm/unistd_32_ia32.h
>>
>>   SYSHDR
>> arch/x86/entry/syscalls/../../include/generated/asm/unistd_64_x32.h
>>
>>   CHK include/config/kernel.release
>>
>>   SYSTBL
>> arch/x86/entry/syscalls/../../include/generated/asm/syscalls_64.h
>>
>>   SYSHDR
>> arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h
>>
>>   SYSHDR
>> a

[meta-intel] Yocto kernel compilation issues

2018-09-04 Thread srinivasan
srinivasan 
5:55 AM (4 minutes ago)
to *yocto-infrastructure*
After changing from "*do_compile_ () {*" to "*do_compile() {*", in the
attached recipe file, Compilation started but got stuck  "*/bin/sh: 1: bc:
not found*

*make[1]: *** [include/generated/timeconst.h] Error 127*
*make: *** [prepare0] Error 2*
*make: *** Waiting for unfinished jobs"*

*Even I tried installing "*sudo apt-get install bc"* but still the same
issue as above, Kindly do the needful in resolving the above issue as am
stuck with the same issue from past 4 days*

*And I am even able to build kernel independently before integrating into
yocto project*

*References:*

*1. Ubuntu version used 14.04*

*2. Poky Distro version*

DISTRO = "poky"
DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
DISTRO_VERSION = "2.5+snapshot-${DATE}"

*3.Logs:*

NOTE: linux-srini-4.14-r1 do_prepare_recipe_sysroot: Direct dependencies
are
['/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot',
'virtual:native:/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_populate_sysroot',
'virtual:native:/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/autoconf/autoconf_2.69.bb:do_populate_sysroot',
'virtual:native:/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/automake/automake_1.16.1.bb:
do_populate_sysroot']
NOTE: linux-srini-4.14-r1 do_prepare_recipe_sysroot: Installed into
sysroot: ['libtool-native', 'gnu-config-native', 'autoconf-native',
'automake-native', 'texinfo-dummy-native', 'quilt-native', 'm4-native']
+ cd
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git

NOTE: linux-srini-4.14-r1 do_compile: make -j 4 mrproper
+ oe_runmake mrproper
+ oe_runmake_call mrproper
+ bbnote make -j 4 mrproper
+ [ -p
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
]
+ printf %b\0 bbnote make -j 4 mrproper
+ make -j 4 mrproper

  CLEAN   .config

+ oe_runmake defconfig
+ oe_runmake_call defconfig
+ bbnote make -j 4 defconfig

NOTE: linux-srini-4.14-r1 do_compile: make -j 4 defconfig
+ [ -p
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
]
+ printf %b\0 bbnote make -j 4 defconfig
+ make -j 4 defconfig

  HOSTCC  scripts/basic/fixdep

  HOSTCC  scripts/kconfig/conf.o

  SHIPPED scripts/kconfig/zconf.tab.c

  SHIPPED scripts/kconfig/zconf.lex.c

  HOSTCC  scripts/kconfig/zconf.tab.o

  HOSTLD  scripts/kconfig/conf

*** Default configuration is based on 'x86_64_defconfig'

#
# configuration written to .config
#

+ oe_runmake
+ oe_runmake_call
+ bbnote make -j 4
+ [ -p
NOTE: linux-srini-4.14-r1 do_compile: make -j 4
 
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
]
+ printf %b\0 bbnote make -j 4
+ make -j 4

scripts/kconfig/conf  --silentoldconfig Kconfig

  SYSTBL  arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h

  SYSHDR
arch/x86/entry/syscalls/../../include/generated/asm/unistd_32_ia32.h

  SYSHDR
arch/x86/entry/syscalls/../../include/generated/asm/unistd_64_x32.h

  CHK include/config/kernel.release

  SYSTBL  arch/x86/entry/syscalls/../../include/generated/asm/syscalls_64.h

  SYSHDR
arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h

  SYSHDR
arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_64.h

  SYSHDR
arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h

  CHK include/generated/uapi/linux/version.h

  UPD include/generated/uapi/linux/version.h

  UPD include/config/kernel.release

  HOSTCC  arch/x86/tools/relocs_32.o

  HOSTCC  arch/x86/tools/relocs_64.o

  HOSTCC  arch/x86/tools/relocs_common.o

  WRAParch/x86/include/generated/asm/clkdev.h

  WRAParch/x86/include/generated/asm/dma-contiguous.h

  WRAParch/x86/include/generated/asm/early_ioremap.h

  WRAParch/x86/include/generated/asm/mcs_spinlock.h

  WRAParch/x86/include/generated/asm/mm-arch-hooks.h

  CHK include/generated/utsrelease.h

  UPD include/generated/utsrelease.h

  CC  scripts/mod/empty.o

  HOSTCC  scripts/mod/mk_elfconfig

  HOSTLD  arch/x86/tools/relocs

  CC  scripts/mod/devicetable-offsets.s

  MKELF   scripts/mod/elfconfig.h

  CHK scripts/mod/devicetable-offsets.h

  UPD scripts/mod/devicetable-offsets.h

  HOSTCC  scripts/mod/sumversion.o

  HOSTCC  scripts/selinux/genheaders/genheaders

  HOSTCC  scripts/selinux/mdp/mdp

  CC  kernel/bounds.s

  HOSTCC  scripts/kallsyms

  HOSTCC  scripts/mod/modpost.o

  CHK include/generated/timeconst.h

*/bin/sh: 1: bc: not found*

*make[1]: *** [include/generated/timeconst.h] Error 127*
*make: *** 

[meta-intel] Adding new kernel and compilation (x86) issues with yocto

2018-09-04 Thread srinivasan
Dear Technical team,

As am newbie to poky/yocto build system, I am facing the issue with the
error log shown below, in adding the new kernel "
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git" with the branch
"KBRANCH = "v4.14", I have built for "qemux86"

Could you please do the needful in resolving the below error and get my
kernel get successfully compiled, as am stuck with this from past few days

*1. Ubuntu version used 14.04*

*2. Poky Distro version*

DISTRO = "poky"
DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
DISTRO_VERSION = "2.5+snapshot-${DATE}"

*3.Recipe file is attached.*

*4. Logs*
:~/yocto_session_ws_2/build$ bitbake virtual/kernel -v
WARNING: Host distribution "ubuntu-14.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.
Loading cache: 100%
|###|
Time: 0:00:00
Loaded 1266 entries from dependency cache.
NOTE: selecting linux-srini to satisfy virtual/kernel due to
PREFERRED_PROVIDERS
NOTE: Resolving any missing task queue dependencies
NOTE: selecting binutils-cross-i586 to satisfy
virtual/i586-poky-linux-binutils due to PREFERRED_PROVIDERS
NOTE: selecting pseudo-native to satisfy virtual/fakeroot-native due to
PREFERRED_PROVIDERS
NOTE: selecting linux-srini to satisfy runtime linux-srini due to
PREFERRED_PROVIDER_virtual/kernel = linux-srini
NOTE: selecting linux-srini to satisfy runtime linux-srini-dev due to
PREFERRED_PROVIDER_virtual/kernel = linux-srini
NOTE: selecting openssl-native to satisfy openssl-native due to
PREFERRED_PROVIDERS
NOTE: selecting pkgconfig-native to satisfy pkgconfig-native due to
PREFERRED_PROVIDERS

Build Configuration:
BB_VERSION   = "1.39.1"
BUILD_SYS= "x86_64-linux"
NATIVELSBSTRING  = "universal-4.8"
TARGET_SYS   = "i586-poky-linux"
MACHINE  = "qemux86"
DISTRO   = "poky"
DISTRO_VERSION   = "2.5+snapshot-20180904"
TUNE_FEATURES= "m32 i586"
TARGET_FPU   = ""
meta
meta-poky
meta-yocto-bsp   = "master:443405cf49300a7d2c9ca8fa3080d551d795"

NOTE: Marking Active
Tasks
 |
ETA:  0:00:00
NOTE: Pruned 509 inactive tasks, 322
left##
| ETA:  0:00:00
NOTE: Assign Weightings
NOTE: Compute totals (have 1
endpoint(s))##
| ETA:
0:00:00
Initialising tasks: 100%
|###|
Time: 0:00:00
Sstate summary: Wanted 6 Found 1 Missed 5 Current 38 (16% match, 88%
complete)
NOTE: Executing SetScene Tasks
+ cd
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/sstate-install-populate_lic/
+ sstate_unpack_package
+ tar -xvzf
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz

license-destdir/

license-destdir/linux-srini/
license-destdir/linux-srini/recipeinfo
license-destdir/linux-srini/generic_GPLv2
license-destdir/linux-srini/COPYING

+ [ -w
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.siginfo
]

+ [ -h
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.siginfo
]
+ [ ! -w
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz
]
+ touch --no-dereference
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz

+ [ ! -w
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.sig
]

+ [ ! -w
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.siginfo
]
+ [ ! -e
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.siginfo
]
+ touch --no-dereference
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populat