Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] populate_sdk_base.bbclass: don't inherit toolchain-scripts.bbclass
@ 2015-07-09  8:49 Robert Yang
  2015-07-09  8:49 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Yang @ 2015-07-09  8:49 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 50a37ee563d9003e21bfb9280f184cd81c62e9bf:

  oeqa/bbtests: Fix to ensure DL_DIR is set (2015-07-08 13:03:07 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib rbt/mlib
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/mlib

Robert Yang (1):
  populate_sdk_base.bbclass: don't inherit toolchain-scripts.bbclass

 meta/classes/populate_sdk_base.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.7.9.5



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

* [PATCH 1/1] populate_sdk_base.bbclass: don't inherit toolchain-scripts.bbclass
  2015-07-09  8:49 [PATCH 0/1] populate_sdk_base.bbclass: don't inherit toolchain-scripts.bbclass Robert Yang
@ 2015-07-09  8:49 ` Robert Yang
  2015-07-10 21:30   ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Yang @ 2015-07-09  8:49 UTC (permalink / raw)
  To: openembedded-core

Fixed when enable multilib:
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

$ bitbake core-image-minimal
No lib32 package should be built since we don't build
lib32-core-image-minimal, but a lot them are built:
lib32-opkg-utils
lib32-cryptodev-linux
lib32-sqlite3
lib32-libtool-cross
lib32-ncurses
lib32-db
lib32-diffutils
lib32-zlib
lib32-gcc-cross-i686
lib32-gcc-cross-initial-i686
lib32-flex
lib32-libgcc-initial
lib32-libffi
lib32-linux-libc-headers
lib32-expat
lib32-openssl
lib32-glibc
lib32-binutils-cross-i686
lib32-gcc-runtime

The are introduced by toolchain-scripts.bbclass' anonymous function (the
MULTILIB_VARIANTS), but it doesn't need toolchain-scripts.bbclass, in
fact, so remove it to fix the problem.

[YOCTO #7961]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/classes/populate_sdk_base.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index a4a0193..398e943 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -1,4 +1,4 @@
-inherit meta toolchain-scripts
+inherit meta
 
 # Wildcards specifying complementary packages to install for every package that has been explicitly
 # installed into the rootfs
-- 
1.7.9.5



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

* Re: [PATCH 1/1] populate_sdk_base.bbclass: don't inherit toolchain-scripts.bbclass
  2015-07-09  8:49 ` [PATCH 1/1] " Robert Yang
@ 2015-07-10 21:30   ` Richard Purdie
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2015-07-10 21:30 UTC (permalink / raw)
  To: Robert Yang; +Cc: openembedded-core

On Thu, 2015-07-09 at 01:49 -0700, Robert Yang wrote:
> Fixed when enable multilib:
> require conf/multilib.conf
> MULTILIBS = "multilib:lib32"
> DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
> 
> $ bitbake core-image-minimal
> No lib32 package should be built since we don't build
> lib32-core-image-minimal, but a lot them are built:
> lib32-opkg-utils
> lib32-cryptodev-linux
> lib32-sqlite3
> lib32-libtool-cross
> lib32-ncurses
> lib32-db
> lib32-diffutils
> lib32-zlib
> lib32-gcc-cross-i686
> lib32-gcc-cross-initial-i686
> lib32-flex
> lib32-libgcc-initial
> lib32-libffi
> lib32-linux-libc-headers
> lib32-expat
> lib32-openssl
> lib32-glibc
> lib32-binutils-cross-i686
> lib32-gcc-runtime
> 
> The are introduced by toolchain-scripts.bbclass' anonymous function (the
> MULTILIB_VARIANTS), but it doesn't need toolchain-scripts.bbclass, in
> fact, so remove it to fix the problem.
> 
> [YOCTO #7961]
> 
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>  meta/classes/populate_sdk_base.bbclass |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
> index a4a0193..398e943 100644
> --- a/meta/classes/populate_sdk_base.bbclass
> +++ b/meta/classes/populate_sdk_base.bbclass
> @@ -1,4 +1,4 @@
> -inherit meta toolchain-scripts
> +inherit meta
>  
>  # Wildcards specifying complementary packages to install for every package that has been explicitly
>  # installed into the rootfs


https://autobuilder.yoctoproject.org/main/builders/buildtools/builds/381/steps/BuildImages/logs/stdio

Looks like a missing toolchain-scripts inherit from buildtools-tarball.
I can take care of adding that.

Cheers,

Richard




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

end of thread, other threads:[~2015-07-10 21:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-09  8:49 [PATCH 0/1] populate_sdk_base.bbclass: don't inherit toolchain-scripts.bbclass Robert Yang
2015-07-09  8:49 ` [PATCH 1/1] " Robert Yang
2015-07-10 21:30   ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox