From: Martin Jansa <martin.jansa@gmail.com>
To: Gary Thomas <gary@mlbassoc.com>
Cc: yocto@yoctoproject.org
Subject: Re: ERROR: gtest not found in the base feed
Date: Fri, 7 Nov 2014 15:23:36 +0100 [thread overview]
Message-ID: <20141107142336.GC2444@jama> (raw)
In-Reply-To: <545C0397.3030304@mlbassoc.com>
[-- Attachment #1: Type: text/plain, Size: 6967 bytes --]
On Thu, Nov 06, 2014 at 04:26:15PM -0700, Gary Thomas wrote:
> On 2014-11-06 16:01, Kevyn-Alexandre Paré wrote:
> > Hi,
> >
> > I'm just trying to add a recipe that I found here
> >
> > https://github.com/webOS-ports/meta-webos-ports/blob/master/recipes-upstreamable/gtest/gtest_1.7.0.bb
> >
> > for gtest as part of my image:
> >
> > bitbake -e gtest | grep ^PACKAGES=
> > PACKAGES="gtest-dbg gtest-staticdev gtest-dev gtest-doc gtest-locale gtest"
> >
> > Adding it:
> > IMAGE_INSTALL += "gtest"
> >
> > ERROR: gtest not found in the base feeds (overo armv7a-vfp-neon
> > armv7a-vfp armv7a armv6-vfp armv6 armv5e-vfp armv5e armv5-vfp armv5
> > armv4 arm noarch any all).
> >
> > Since in
> >
> > ls tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gtest/1.7.0-r0/deploy-rpms/armv7a_vfp_neon/
> > gtest-dbg-1.7.0-r0.armv7a_vfp_neon.rpm gtest-dev-1.7.0-r0.armv7a_vfp_neon.rpm
>
> Where is the gtest-1.7.0-r0.armv7a_vfp_neon.rpm??
>
> I suspect that the build didn't work correctly, or at least it generated
> no installable objects which by default will not generate an empty package.
That's correct, all files are installed in gtest-dev package.
The problem is the default RDEPENDS from ${PN}-dev to ${PN}
meta/conf/bitbake.conf:RDEPENDS_${PN}-dev = "${PN} (= ${EXTENDPKGV})"
You can either set
ALLOW_EMPTY_${PN} = "1"
or
RDEPENDS_${PN}-dev = ""
> > tree tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gtest/1.7.0-r0/packages-split/
> > tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gtest/1.7.0-r0/packages-split/
> > ├── gtest
> > ├── gtest-dbg
> > ├── gtest-dev
> > │ └── usr
> > │ ├── include
> > │ │ └── gtest
> > │ │ ├── gtest-death-test.h
> > │ │ ├── gtest.h
> > │ │ ├── gtest-message.h
> > │ │ ├── gtest-param-test.h
> > │ │ ├── gtest_pred_impl.h
> > │ │ ├── gtest-printers.h
> > │ │ ├── gtest_prod.h
> > │ │ ├── gtest-spi.h
> > │ │ ├── gtest-test-part.h
> > │ │ ├── gtest-typed-test.h
> > │ │ └── internal
> > │ │ ├── gtest-death-test-internal.h
> > │ │ ├── gtest-filepath.h
> > │ │ ├── gtest-internal.h
> > │ │ ├── gtest-linked_ptr.h
> > │ │ ├── gtest-param-util-generated.h
> > │ │ ├── gtest-param-util.h
> > │ │ ├── gtest-port.h
> > │ │ ├── gtest-string.h
> > │ │ ├── gtest-tuple.h
> > │ │ └── gtest-type-util.h
> > │ └── src
> > │ └── gtest
> > │ ├── cmake
> > │ │ └── internal_utils.cmake
> > │ ├── CMakeLists.txt
> > │ └── src
> > │ ├── gtest-all.cc
> > │ ├── gtest.h
> > │ └── gtest_main.cc
> > ├── gtest-doc
> > ├── gtest-locale
> > └── gtest-staticdev
> >
> > I replace gtest with gtest-dev.
> >
> >
> > ERROR: Unable to install packages. Command
> > '/home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/sysroots/x86_64-linux/usr/bin/smart
> > --data-dir=/home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/work/overo-poky-linux-gnueabi/builder-console-image/1.0-r0/rootfs/var/lib/smart
> > install -y alsa-utils@armv7a_vfp_neon psplash@armv7a_vfp_neon
> > mtdev@armv7a_vfp_neon tar@armv7a_vfp_neon less@armv7a_vfp_neon
> > iputils@armv7a_vfp_neon mtd-utils-ubifs@armv7a_vfp_neon
> > sudo@armv7a_vfp_neon nirsd@armv7a_vfp_neon u-boot-fw-utils@overo
> > raw2rgbpnm@armv7a_vfp_neon vim@armv7a_vfp_neon
> > media-ctl@armv7a_vfp_neon findutils@armv7a_vfp_neon
> > rpm@armv7a_vfp_neon cpufrequtils@armv7a_vfp_neon
> > packagegroup-cli-tools@all bzip2@armv7a_vfp_neon
> > v4l-utils@armv7a_vfp_neon cmake@armv7a_vfp_neon nano@armv7a_vfp_neon
> > g++-symlinks@armv7a_vfp_neon gcc-dev@armv7a_vfp_neon
> > gcc-doc@armv7a_vfp_neon psplash-brainsight@armv7a_vfp_neon tzdata@all
> > coreutils@armv7a_vfp_neon g++@armv7a_vfp_neon gcov@armv7a_vfp_neon
> > init-ifupdown@overo tcpdump@armv7a_vfp_neon
> > systemd-analyze@armv7a_vfp_neon packagegroup-core-boot@overo
> > memtester@armv7a_vfp_neon yavta@armv7a_vfp_neon
> > cpp-symlinks@armv7a_vfp_neon libts-1.0-0@armv7a_vfp_neon
> > gcc-plugin-dev@armv7a_vfp_neon gzip@armv7a_vfp_neon
> > packagegroup-core-ssh-openssh@all ntp@armv7a_vfp_neon
> > libev4@armv7a_vfp_neon packagegroup-cli-tools-debug@all
> > gcc@armv7a_vfp_neon u-boot@overo cpp@armv7a_vfp_neon
> > gtest-dev@armv7a_vfp_neon iw@armv7a_vfp_neon wget@armv7a_vfp_neon
> > shadow@armv7a_vfp_neon zygoted@armv7a_vfp_neon
> > gcc-plugins@armv7a_vfp_neon grep@armv7a_vfp_neon zip@armv7a_vfp_neon
> > diffutils@armv7a_vfp_neon valgrind@armv7a_vfp_neon
> > linux-firmware-sd8787@all linux-firmware-sd8686@all
> > smartpm@armv7a_vfp_neon gcc-dbg@armv7a_vfp_neon
> > gcc-symlinks@armv7a_vfp_neon packagegroup-base-extended@overo
> > u-boot-mkimage@armv7a_vfp_neon base-passwd@armv7a_vfp_neon
> > locale-base-en-us@armv7a_vfp_neon' returned 1:
> > Loading cache...
> > Updating cache... ######################################## [100%]
> >
> > Computing transaction...error: Can't install
> > gtest-dev-1.7.0-r0@armv7a_vfp_neon: no package provides gtest =
> > 1.7.0-r0
> >
> >
> > ERROR: Function failed: do_rootfs
> > ERROR: Logfile of failure stored in:
> > /home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/build/tmp/work/overo-poky-linux-gnueabi/builder-console-image/1.0-r0/temp/log.do_rootfs.11446
> > ERROR: Task 7 (/home/knight/SVN/rogue/3rdParty/Yocto/trunk/starting_point/yocto_build/src/poky/meta-nirs/recipes-images/gumstix/builder-console-image.bb,
> > do_rootfs) failed with exit code '1'
> >
> >
> > But I see them
> > ls tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gtest/1.7.0-r0/deploy-rpms/armv7a_vfp_neon/
> > gtest-dbg-1.7.0-r0.armv7a_vfp_neon.rpm gtest-dev-1.7.0-r0.armv7a_vfp_neon.rpm
> >
> > Any clue what I'm missing?
> >
> > BR,
> >
> > -KA
> >
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
next prev parent reply other threads:[~2014-11-07 14:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-06 23:01 ERROR: gtest not found in the base feed Kevyn-Alexandre Paré
2014-11-06 23:26 ` Gary Thomas
2014-11-07 14:23 ` Martin Jansa [this message]
2014-11-07 14:39 ` Burton, Ross
2014-11-08 0:03 ` Kevyn-Alexandre Paré
2014-11-07 23:11 ` Kevyn-Alexandre Paré
2014-11-07 23:35 ` Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141107142336.GC2444@jama \
--to=martin.jansa@gmail.com \
--cc=gary@mlbassoc.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.