All of lore.kernel.org
 help / color / mirror / Atom feed
* Bitbake fails when enabling tools-testapps
@ 2017-11-12  8:18 Chris Hughes
  2017-11-13 15:30 ` Leonardo Sandoval
  2017-11-13 16:37 ` Burton, Ross
  0 siblings, 2 replies; 5+ messages in thread
From: Chris Hughes @ 2017-11-12  8:18 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 5467 bytes --]

Hoping this is the right place to get help with the following issue.

I'm using bitbake to build a custom image of the intel-aero / yocto sources.

Having enabled the extra image feature 'tools-testapp' I'm given an error
saying nothing provides ltp. I've tried including ltp as a dependency in
many various places to try and get this build to work, but have so far been
unsuccessful. Any help would be much appreciated.

The full log is as follows

bitbake intel-aero-image
Loading cache: 100%
|#############################################################################################|
Time: 0:00:00
Loaded 2781 entries from dependency cache.
Parsing recipes: 100%
|###########################################################################################|
Time: 0:00:02
Parsing of 2021 .bb files complete (2014 cached, 7 parsed). 2786 targets,
145 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.34.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "intel-aero"
DISTRO            = "poky-aero"
DISTRO_VERSION    = "1.6.0"
TUNE_FEATURES     = "m64 corei7"
TARGET_FPU        = ""
meta
meta-poky
meta-yocto-bsp    = "HEAD:50cc15335ebcdfa2a2fc52c11fa01695dfdb9e26"
meta-oe
meta-python
meta-networking
meta-filesystems  = "HEAD:b2ce52334cf88e07f703cf25ced92302edd5b0e9"
meta-virtualization = "HEAD:88277c84962e9d07ec777896a0ca8bd7db9ff5e2"
meta-intel        = "HEAD:4cd63f57820ce0e4ebd598251d3a13b5a4b9b791"
meta-intel-realsense = "HEAD:211ce75af387b65fe894f13b3468148d2b9ab23d"
meta-intel-aero-base = "HEAD:0c9f7a359c71f3c8b9f47efede194da51ccaefd7"
meta-intel-aero   = "HEAD:a96a8fed779d6c02119ad9965e66bd051ff75a07"
workspace         = "HEAD:50cc15335ebcdfa2a2fc52c11fa01695dfdb9e26"

Initialising tasks: 100%
|########################################################################################|
Time: 0:00:19
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: intel-aero-image-1.0-r0 do_rootfs: Could not invoke dnf. Command
'/home/qb89dragon/intel_aero/poky/build/tmp/work/intel_aero-poky-linux/intel-aero-image/1.0-r0/recipe-sysroot-native/usr/bin/dnf
-y -c
/home/qb89dragon/intel_aero/poky/build/tmp/work/intel_aero-poky-linux/intel-aero-image/1.0-r0/rootfs/etc/dnf/dnf.conf
--setopt=reposdir=/home/qb89dragon/intel_aero/poky/build/tmp/work/intel_aero-poky-linux/intel-aero-image/1.0-r0/rootfs/etc/yum.repos.d
--repofrompath=oe-repo,/home/qb89dragon/intel_aero/poky/build/tmp/work/intel_aero-poky-linux/intel-aero-image/1.0-r0/oe-rootfs-repo
--installroot=/home/qb89dragon/intel_aero/poky/build/tmp/work/intel_aero-poky-linux/intel-aero-image/1.0-r0/rootfs
--setopt=logdir=/home/qb89dragon/intel_aero/poky/build/tmp/work/intel_aero-poky-linux/intel-aero-image/1.0-r0/temp
-x busybox-syslog,nfs-utils,at,tcp-wrappers,ed,libacpi,libnss-mdns
--nogpgcheck install locale-base-en-us locale-base-en-gb initscripts-aero
packagegroup-core-tools-testapps dmidecode cockpit-docker
packagegroup-airmap packagegroup-core-ssh-openssh camera-streaming-daemon
gstreamer1.0-meta-base aero-bios aero-http-server packagegroup-docker
packagegroup-core-tools gstreamer1.0-plugins-good
fix-cameras-enumeration-order ltp valgrind cockpit ppp notify-led
packagegroup-base-extended gstreamer1.0-plugins-base cockpit-dashboard
jam-stapl run-postinsts packagegroup-core-x11-base ardupilot-fw
aero-cockpit-plugins librealsense1 packagegroup-core-standalone-sdk-target
movidius packagegroup-core-sdk gstreamer1.0-plugins-bad intel-aero-repo
libva-intel-driver packagegroup-core-tools-debug rpm packagegroup-px4
openssh-sftp-server dnf resolvconf gstreamer1.0-rtsp-server va-intel
packagegroup-core-boot modemmanager librealsense-graphical-examples
gstreamer1.0-vaapi coav-control packagegroup-core-buildessential wget
cockpit-ws psplash mavlink-router os-release rsync libva rng-tools
packagegroup-core-full-cmdline cockpit-bridge optical-flow libcoav0
networkmanager px4-fw hostapd cockpit-system gstreamer1.0 opencv' returned
1:
Added oe-repo repo from
/home/qb89dragon/intel_aero/poky/build/tmp/work/intel_aero-poky-linux/intel-aero-image/1.0-r0/oe-rootfs-repo
Last metadata expiration check: 0:00:00 ago on Sun Nov 12 07:47:41 2017 UTC.
Error:
 Problem 1: conflicting requests
  - nothing provides at needed by ltp-20170116-r0.corei7_64
 Problem 2: package packagegroup-core-tools-testapps-1.0-r2.intel_aero
requires ltp, but none of the providers can be installed
  - conflicting requests
  - nothing provides at needed by ltp-20170116-r0.corei7_64
(try to add '--allowerasing' to command line to replace conflicting
packages)

ERROR: intel-aero-image-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in:
/home/qb89dragon/intel_aero/poky/build/tmp/work/intel_aero-poky-linux/intel-aero-image/1.0-r0/temp/log.do_rootfs.14579
ERROR: Task
(/home/qb89dragon/intel_aero/poky/../meta-intel-aero/recipes-core/images/intel-aero-image.bb:do_rootfs)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 8911 tasks of which 8910 didn't need to be
rerun and 1 failed.

Summary: 1 task failed:

/home/qb89dragon/intel_aero/poky/../meta-intel-aero/recipes-core/images/intel-aero-image.bb:
do_rootfs
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

[-- Attachment #2: Type: text/html, Size: 6386 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bitbake fails when enabling tools-testapps
  2017-11-12  8:18 Bitbake fails when enabling tools-testapps Chris Hughes
@ 2017-11-13 15:30 ` Leonardo Sandoval
  2017-11-13 15:54   ` Zoran Stojsavljevic
  2017-11-13 16:37 ` Burton, Ross
  1 sibling, 1 reply; 5+ messages in thread
From: Leonardo Sandoval @ 2017-11-13 15:30 UTC (permalink / raw)
  To: Chris Hughes; +Cc: yocto

On Sun, 12 Nov 2017 01:18:45 -0700
Chris Hughes <89dragon@gmail.com> wrote:

> Hoping this is the right place to get help with the following issue.
> 
> I'm using bitbake to build a custom image of the intel-aero / yocto sources.
> 

Make sure all layer dependencies are included into the conf/bblayers.conf file. There must be at least one recipe that either implicity (by default,  a recipe provides itself with the same name) or explicity (with PROVIDES) , otherwise you see what you mentioned.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bitbake fails when enabling tools-testapps
  2017-11-13 15:30 ` Leonardo Sandoval
@ 2017-11-13 15:54   ` Zoran Stojsavljevic
  0 siblings, 0 replies; 5+ messages in thread
From: Zoran Stojsavljevic @ 2017-11-13 15:54 UTC (permalink / raw)
  To: Leonardo Sandoval; +Cc: Yocto Project

[-- Attachment #1: Type: text/plain, Size: 2568 bytes --]

Hello Chris,

I could not give you some viable advice regarding YOCTO (I see that you are
using lot of layers):
meta
meta-poky
meta-yocto-bsp    = "HEAD:50cc15335ebcdfa2a2fc52c11fa01695dfdb9e26"
meta-oe
meta-python
meta-networking
meta-filesystems  = "HEAD:b2ce52334cf88e07f703cf25ced92302edd5b0e9"
meta-virtualization = "HEAD:88277c84962e9d07ec777896a0ca8bd7db9ff5e2"
meta-intel        = "HEAD:4cd63f57820ce0e4ebd598251d3a13b5a4b9b791"
meta-intel-realsense = "HEAD:211ce75af387b65fe894f13b3468148d2b9ab23d"
meta-intel-aero-base = "HEAD:0c9f7a359c71f3c8b9f47efede194da51ccaefd7"
meta-intel-aero   = "HEAD:a96a8fed779d6c02119ad9965e66bd051ff75a07"

But I can give you some advise to trace the problem. This is how I tries to
discover intel-aero in qemux86-64 poky build:

[user@192 poky]$ pwd
/home/user/YOCTO/oe_core_embedded/poky
[user@192 poky]$ find . -name intel-aero*
[user@192 poky]$ cd build/conf
[user@192 conf]$ cat bblayers.conf
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /home/user/YOCTO/oe_core_embedded/poky/meta \
  /home/user/YOCTO/oe_core_embedded/poky/meta-poky \
  /home/user/YOCTO/oe_core_embedded/poky/meta-yocto-bsp \
  "
[user@192 conf]$

I also tried to find dependencies, from your log: ltp

[user@192 conf]$ cd -
/home/user/YOCTO/oe_core_embedded/poky
[user@192 poky]$ find . -name ltp*
./meta/recipes-extended/ltp
./meta/recipes-extended/ltp/ltp_20170516.bb
./meta/recipes-extended/ltp/ltp
[user@192 poky]$

As Leonardo suggested the research direction, I just added couple of "stick
and rope" methods, to help you to brainstorm further.

Zoran

On Mon, Nov 13, 2017 at 4:30 PM, Leonardo Sandoval <
leonardo.sandoval.gonzalez@linux.intel.com> wrote:

> On Sun, 12 Nov 2017 01:18:45 -0700
> Chris Hughes <89dragon@gmail.com> wrote:
>
> > Hoping this is the right place to get help with the following issue.
> >
> > I'm using bitbake to build a custom image of the intel-aero / yocto
> sources.
> >
>
> Make sure all layer dependencies are included into the conf/bblayers.conf
> file. There must be at least one recipe that either implicity (by default,
> a recipe provides itself with the same name) or explicity (with PROVIDES) ,
> otherwise you see what you mentioned.
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 4647 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bitbake fails when enabling tools-testapps
  2017-11-12  8:18 Bitbake fails when enabling tools-testapps Chris Hughes
  2017-11-13 15:30 ` Leonardo Sandoval
@ 2017-11-13 16:37 ` Burton, Ross
  2017-11-13 20:06   ` Paul Eggleton
  1 sibling, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2017-11-13 16:37 UTC (permalink / raw)
  To: Chris Hughes; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

On 12 November 2017 at 08:18, Chris Hughes <89dragon@gmail.com> wrote:

>   - nothing provides at needed by ltp-20170116-r0.corei7_64
>

Well at is part of oe-core so that should have been built.  "bitbake at" to
see why, or if that works then rebuilding your image should work (although
it really should have been built already).

Ross

[-- Attachment #2: Type: text/html, Size: 722 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bitbake fails when enabling tools-testapps
  2017-11-13 16:37 ` Burton, Ross
@ 2017-11-13 20:06   ` Paul Eggleton
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2017-11-13 20:06 UTC (permalink / raw)
  To: yocto

On Tuesday, 14 November 2017 5:37:23 AM NZDT Burton, Ross wrote:
> On 12 November 2017 at 08:18, Chris Hughes <89dragon@gmail.com> wrote:
> 
> >   - nothing provides at needed by ltp-20170116-r0.corei7_64
> >
> 
> Well at is part of oe-core so that should have been built.  "bitbake at" to
> see why, or if that works then rebuilding your image should work (although
> it really should have been built already).

Chris figured this out and reported back on the IRC channel - turns out that 
in his configuration, "at" was in PACKAGE_EXCLUDE. Unfortunately dnf is not 
being very clear about why the package is conflicting - of course it wouldn't 
be able to say anything about PACKAGE_EXCLUDE itself, but nevertheless the 
message is still pretty vague.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-13 20:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-12  8:18 Bitbake fails when enabling tools-testapps Chris Hughes
2017-11-13 15:30 ` Leonardo Sandoval
2017-11-13 15:54   ` Zoran Stojsavljevic
2017-11-13 16:37 ` Burton, Ross
2017-11-13 20:06   ` Paul Eggleton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.