* ERROR: gtest not found in the base feed
@ 2014-11-06 23:01 Kevyn-Alexandre Paré
2014-11-06 23:26 ` Gary Thomas
0 siblings, 1 reply; 7+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-11-06 23:01 UTC (permalink / raw)
To: Yocto discussion list
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
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@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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ERROR: gtest not found in the base feed
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
2014-11-07 23:11 ` Kevyn-Alexandre Paré
0 siblings, 2 replies; 7+ messages in thread
From: Gary Thomas @ 2014-11-06 23:26 UTC (permalink / raw)
To: yocto
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@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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ERROR: gtest not found in the base feed
2014-11-06 23:26 ` Gary Thomas
@ 2014-11-07 14:23 ` Martin Jansa
2014-11-07 14:39 ` Burton, Ross
2014-11-08 0:03 ` Kevyn-Alexandre Paré
2014-11-07 23:11 ` Kevyn-Alexandre Paré
1 sibling, 2 replies; 7+ messages in thread
From: Martin Jansa @ 2014-11-07 14:23 UTC (permalink / raw)
To: Gary Thomas; +Cc: yocto
[-- 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 --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ERROR: gtest not found in the base feed
2014-11-07 14:23 ` Martin Jansa
@ 2014-11-07 14:39 ` Burton, Ross
2014-11-08 0:03 ` Kevyn-Alexandre Paré
1 sibling, 0 replies; 7+ messages in thread
From: Burton, Ross @ 2014-11-07 14:39 UTC (permalink / raw)
To: Martin Jansa; +Cc: yocto@yoctoproject.org, Gary Thomas
[-- Attachment #1: Type: text/plain, Size: 340 bytes --]
On 7 November 2014 14:23, Martin Jansa <martin.jansa@gmail.com> wrote:
> You can either set
> ALLOW_EMPTY_${PN} = "1"
> or
> RDEPENDS_${PN}-dev = ""
>
FWIW, I'm a *massive* fan of using RDEPENDS here - instead of creating
empty packages which will only confuse in the future, remove the dependency
that is problematic.
Ross
[-- Attachment #2: Type: text/html, Size: 773 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ERROR: gtest not found in the base feed
2014-11-06 23:26 ` Gary Thomas
2014-11-07 14:23 ` Martin Jansa
@ 2014-11-07 23:11 ` Kevyn-Alexandre Paré
2014-11-07 23:35 ` Martin Jansa
1 sibling, 1 reply; 7+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-11-07 23:11 UTC (permalink / raw)
To: Gary Thomas; +Cc: Yocto discussion list
Hi Gary,
On Thu, Nov 6, 2014 at 6:26 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2014-11-06 16:01, Kevyn-Alexandre Paré wrote:
>>
>>
>> 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??
This is a part that I don't yet understand about packaging... Why the
gtest-dbg-1.7.0-r0.armv7a_vfp_neon.rpm is there and empty and and
other empty package are not? I think I have read that -dbg is always
there ? Anyone can point my to documentation about that didn't found
it.
>
> 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.
>
>
hmm thx
-KA
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ERROR: gtest not found in the base feed
2014-11-07 23:11 ` Kevyn-Alexandre Paré
@ 2014-11-07 23:35 ` Martin Jansa
0 siblings, 0 replies; 7+ messages in thread
From: Martin Jansa @ 2014-11-07 23:35 UTC (permalink / raw)
To: Kevyn-Alexandre Paré; +Cc: Yocto discussion list, Gary Thomas
[-- Attachment #1: Type: text/plain, Size: 1288 bytes --]
On Fri, Nov 07, 2014 at 06:11:47PM -0500, Kevyn-Alexandre Paré wrote:
> Hi Gary,
>
> On Thu, Nov 6, 2014 at 6:26 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> > On 2014-11-06 16:01, Kevyn-Alexandre Paré wrote:
> >>
> >>
> >> 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??
>
> This is a part that I don't yet understand about packaging... Why the
> gtest-dbg-1.7.0-r0.armv7a_vfp_neon.rpm is there and empty and and
> other empty package are not? I think I have read that -dbg is always
> there ? Anyone can point my to documentation about that didn't found
> it.
I don't know about any documentation of this, but there is:
meta/conf/bitbake.conf:ALLOW_EMPTY_${PN}-dev = "1"
meta/conf/bitbake.conf:ALLOW_EMPTY_${PN}-dbg = "1"
and ${PN}-dev and ${PN}-dbg are in default PACKAGES value, that's what
makes them always created (even when empty), unless the recipe defines
PACKAGES variable (not recommended).
The default runtime dependency from PN-dev is IMHO more annoying than
PN-dev existence.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ERROR: gtest not found in the base feed
2014-11-07 14:23 ` Martin Jansa
2014-11-07 14:39 ` Burton, Ross
@ 2014-11-08 0:03 ` Kevyn-Alexandre Paré
1 sibling, 0 replies; 7+ messages in thread
From: Kevyn-Alexandre Paré @ 2014-11-08 0:03 UTC (permalink / raw)
To: Martin Jansa; +Cc: Yocto discussion list, Gary Thomas
Martin,
On Fri, Nov 7, 2014 at 9:23 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> 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})"
k now I understand more this one:
Computing transaction...error: Can't install
gtest-dev-1.7.0-r0@armv7a_vfp_neon: no package provides gtest =
1.7.0-r0
198 EXTENDPRAUTO = "${@['.${PRAUTO\x7d',''][d.getVar('PRAUTO',1) is None]}"
199 PRAUTOINX = "${PF}"
200
201 PKGV ?= "${PV}"
202 PKGR ?= "${PR}${EXTENDPRAUTO}"
203 PKGE ?= "${@['','${PE\x7d'][int(d.getVar('PE',1) or 0) > 0]}"
204 EXTENDPKGEVER = "${@['','${PKGE\x7d:'][d.getVar('PKGE',1).strip() != '']}"
205 EXTENDPKGV ?= "${EXTENDPKGEVER}${PKGV}-${PKGR}"
So this EXTENDPKGEVER is :
-1.7.0-r0.armv7a_vfp_neon
?
>
> You can either set
> ALLOW_EMPTY_${PN} = "1"
http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-ALLOW_EMPTY
Adding this in my recipe and gtest-dev in my image create gtest
package and it succeed in creating the rootfs.
build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gtest/1.7.0-r0/deploy-rpms/armv7a_vfp_neon$
ls
gtest-1.7.0-r0.armv7a_vfp_neon.rpm
gtest-dbg-1.7.0-r0.armv7a_vfp_neon.rpm
gtest-dev-1.7.0-r0.armv7a_vfp_neon.rpm
> or
> RDEPENDS_${PN}-dev = ""
>
That works nicely but why this is not part of the recipe by default?
Could it be interesting to add it?
thx,
-KA
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-11-08 0:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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.