[yocto] ERROR: gtest not found in the base feed

Gary Thomas gary at mlbassoc.com
Thu Nov 6 15:26:15 PST 2014


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.

>
> and
>
> 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 at armv7a_vfp_neon psplash at armv7a_vfp_neon
> mtdev at armv7a_vfp_neon tar at armv7a_vfp_neon less at armv7a_vfp_neon
> iputils at armv7a_vfp_neon mtd-utils-ubifs at armv7a_vfp_neon
> sudo at armv7a_vfp_neon nirsd at armv7a_vfp_neon u-boot-fw-utils at overo
> raw2rgbpnm at armv7a_vfp_neon vim at armv7a_vfp_neon
> media-ctl at armv7a_vfp_neon findutils at armv7a_vfp_neon
> rpm at armv7a_vfp_neon cpufrequtils at armv7a_vfp_neon
> packagegroup-cli-tools at all bzip2 at armv7a_vfp_neon
> v4l-utils at armv7a_vfp_neon cmake at armv7a_vfp_neon nano at armv7a_vfp_neon
> g++-symlinks at armv7a_vfp_neon gcc-dev at armv7a_vfp_neon
> gcc-doc at armv7a_vfp_neon psplash-brainsight at armv7a_vfp_neon tzdata at all
> coreutils at armv7a_vfp_neon g++ at armv7a_vfp_neon gcov at armv7a_vfp_neon
> init-ifupdown at overo tcpdump at armv7a_vfp_neon
> systemd-analyze at armv7a_vfp_neon packagegroup-core-boot at overo
> memtester at armv7a_vfp_neon yavta at armv7a_vfp_neon
> cpp-symlinks at armv7a_vfp_neon libts-1.0-0 at armv7a_vfp_neon
> gcc-plugin-dev at armv7a_vfp_neon gzip at armv7a_vfp_neon
> packagegroup-core-ssh-openssh at all ntp at armv7a_vfp_neon
> libev4 at armv7a_vfp_neon packagegroup-cli-tools-debug at all
> gcc at armv7a_vfp_neon u-boot at overo cpp at armv7a_vfp_neon
> gtest-dev at armv7a_vfp_neon iw at armv7a_vfp_neon wget at armv7a_vfp_neon
> shadow at armv7a_vfp_neon zygoted at armv7a_vfp_neon
> gcc-plugins at armv7a_vfp_neon grep at armv7a_vfp_neon zip at armv7a_vfp_neon
> diffutils at armv7a_vfp_neon valgrind at armv7a_vfp_neon
> linux-firmware-sd8787 at all linux-firmware-sd8686 at all
> smartpm at armv7a_vfp_neon gcc-dbg at armv7a_vfp_neon
> gcc-symlinks at armv7a_vfp_neon packagegroup-base-extended at overo
> u-boot-mkimage at armv7a_vfp_neon base-passwd at armv7a_vfp_neon
> locale-base-en-us at armv7a_vfp_neon' returned 1:
> Loading cache...
> Updating cache...               ######################################## [100%]
>
> Computing transaction...error: Can't install
> gtest-dev-1.7.0-r0 at 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
------------------------------------------------------------



More information about the yocto mailing list