* [V2][PATCH 0/3] allarch: disable allarch when multilib is used
@ 2018-08-21 6:36 kai.kang
2018-08-21 6:36 ` [PATCH 1/3] cmake.bbclass: fix wrong toolchain flags of nativesdk package kai.kang
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: kai.kang @ 2018-08-21 6:36 UTC (permalink / raw)
To: richard.purdie; +Cc: openembedded-core
From: Kai Kang <kai.kang@windriver.com>
V2:
* move content of allarch.bbclass to allarch-enabled.bbclass and only
inherit allarch-enabled when multilib is not used
* update SSTATE_DUPWHITELIST
Build pass for following targets on qemux86-64 and qemuarm64 for rpm,
ipk and deb.
* core-image-sato
* core-image-sato -c populate_sdk
* world
* buildtools-tarball
Known issues:
There are 2 *existing* multilib related issues which are not caused by
this serial of patches:
1 QA warnings of lib32-meta-ide-support and lib32-perf
WARNING: lib32-meta-ide-support-1.0-r3 do_configure: Manifest
/buildarea1/jkang-taf/WRL1018/OV/0730/host/build/tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-ncurses.populate_sysroot
not found in intel_x86_64 corei7-32 core2-32 i686 i586 x86 allarch
x86_64_x86_64-nativesdk (variant '')?
WARNING: lib32-perf-1.0-r9 do_install: Manifest
/buildarea1/jkang-taf/WRL1018/OV/0730/host/build/tmp-glibc/sstate-control/manifest-x86_64_i686-binutils-cross-x86_64.populate_sysroot
not found in x86_64_i686 (variant '')?
2 fails to build lib32-buildtools-tarball
ERROR: lib32-buildtools-tarball-1.0-r0 do_populate_sdk: No manifest
generated from: qemuwrapper-cross in
/buildarea3/kkang/poky-20141111/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
I am working on them.
The following changes since commit 99506b0017bdf8dbf42ec5dc048d91a5609dabe3:
weston-init: run login before start weston.service (2018-08-20 17:38:23 +0100)
are available in the Git repository at:
git://git.pokylinux.org/poky-contrib kangkai/allarch-enabled
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/allarch-enabled
Kai Kang (3):
cmake.bbclass: fix wrong toolchain flags of nativesdk package
allarch: disable allarch when multilib is used
sstate.bbclass: update SSTATE_DUPWHITELIST
meta/classes/allarch-enabled.bbclass | 52 ++++++++++++++++++++++++++++
meta/classes/allarch.bbclass | 51 ++-------------------------
meta/classes/cmake.bbclass | 1 +
meta/classes/icecc.bbclass | 2 +-
meta/classes/multilib.bbclass | 2 +-
meta/classes/multilib_global.bbclass | 2 +-
meta/classes/package.bbclass | 6 ++--
meta/classes/sstate.bbclass | 4 ++-
8 files changed, 64 insertions(+), 56 deletions(-)
create mode 100644 meta/classes/allarch-enabled.bbclass
--
2.18.0
^ permalink raw reply [flat|nested] 8+ messages in thread* [PATCH 1/3] cmake.bbclass: fix wrong toolchain flags of nativesdk package 2018-08-21 6:36 [V2][PATCH 0/3] allarch: disable allarch when multilib is used kai.kang @ 2018-08-21 6:36 ` kai.kang 2018-08-21 6:36 ` [PATCH 2/3] allarch: disable allarch when multilib is used kai.kang ` (2 subsequent siblings) 3 siblings, 0 replies; 8+ messages in thread From: kai.kang @ 2018-08-21 6:36 UTC (permalink / raw) To: richard.purdie; +Cc: openembedded-core From: Kai Kang <kai.kang@windriver.com> When enable multilib in an existing build project, if already build a nativesdk package which inherits cmake, rebuild it will cause configure error when test compiler: | .../libexec/x86_64-pokysdk-linux/gcc/x86_64-pokysdk-linux/8.2.0/ld: | cannot find crt1.o: No such file or directory The STAGING_DIR_TARGET is different when multilib is enabled and disabled. And it is a component of compiler option '--sysroot'. The values are stored in file ${WORKDIR}/toolchain.cmake which is generated by task generate_toolchain_file. But the task doesn't be re-run with multilib status change. Add ${STAGING_DIR_TARGET} to var flag 'vardeps' of generate_toolchain_file to make sure file toolchain.cmake is re-gerated when toggle multilib. Signed-off-by: Kai Kang <kai.kang@windriver.com> --- meta/classes/cmake.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index fd40a9863e..bb63414b77 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -112,6 +112,7 @@ EOF } addtask generate_toolchain_file after do_patch before do_configure +do_generate_toolchain_file[vardeps] += "${STAGING_DIR_TARGET}" CONFIGURE_FILES = "CMakeLists.txt" -- 2.18.0 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/3] allarch: disable allarch when multilib is used 2018-08-21 6:36 [V2][PATCH 0/3] allarch: disable allarch when multilib is used kai.kang 2018-08-21 6:36 ` [PATCH 1/3] cmake.bbclass: fix wrong toolchain flags of nativesdk package kai.kang @ 2018-08-21 6:36 ` kai.kang 2018-08-21 6:36 ` [PATCH 3/3] sstate.bbclass: update SSTATE_DUPWHITELIST kai.kang 2018-08-22 2:36 ` [V2][PATCH 0/3] allarch: disable allarch when multilib is used ChenQi 3 siblings, 0 replies; 8+ messages in thread From: kai.kang @ 2018-08-21 6:36 UTC (permalink / raw) To: richard.purdie; +Cc: openembedded-core From: Kai Kang <kai.kang@windriver.com> Some allarch packages rdepends non-allarch packages. When multilib is used, it doesn't expand the dependency chain correctly, e.g. core-image-sato -> ca-certificates(allarch) -> openssl we expect dependency chain for lib32-core-image-sato: lib32-core-image-sato -> ca-certificates(allarch) -> lib32-openssl it should install lib32-openssl for ca-certificates but openssl is still wrongly required. Move content of allarch.bbclass to allarch-enabled.bbclass and only inherit allarch-enabled.bbclass when multilib is not used. Signed-off-by: Kai Kang <kai.kang@windriver.com> --- meta/classes/allarch-enabled.bbclass | 52 ++++++++++++++++++++++++++++ meta/classes/allarch.bbclass | 51 ++------------------------- meta/classes/icecc.bbclass | 2 +- meta/classes/multilib.bbclass | 2 +- meta/classes/multilib_global.bbclass | 2 +- meta/classes/package.bbclass | 6 ++-- 6 files changed, 60 insertions(+), 55 deletions(-) create mode 100644 meta/classes/allarch-enabled.bbclass diff --git a/meta/classes/allarch-enabled.bbclass b/meta/classes/allarch-enabled.bbclass new file mode 100644 index 0000000000..1eebe0bf2e --- /dev/null +++ b/meta/classes/allarch-enabled.bbclass @@ -0,0 +1,52 @@ +# +# This class is used for architecture independent recipes/data files (usually scripts) +# + +PACKAGE_ARCH = "all" + +python () { + # Allow this class to be included but overridden - only set + # the values if we're still "all" package arch. + if d.getVar("PACKAGE_ARCH") == "all": + # No need for virtual/libc or a cross compiler + d.setVar("INHIBIT_DEFAULT_DEPS","1") + + # Set these to a common set of values, we shouldn't be using them other that for WORKDIR directory + # naming anyway + d.setVar("baselib", "lib") + d.setVar("TARGET_ARCH", "allarch") + d.setVar("TARGET_OS", "linux") + d.setVar("TARGET_CC_ARCH", "none") + d.setVar("TARGET_LD_ARCH", "none") + d.setVar("TARGET_AS_ARCH", "none") + d.setVar("TARGET_FPU", "") + d.setVar("TARGET_PREFIX", "") + # Expand PACKAGE_EXTRA_ARCHS since the staging code needs this + # (this removes any dependencies from the hash perspective) + d.setVar("PACKAGE_EXTRA_ARCHS", d.getVar("PACKAGE_EXTRA_ARCHS")) + d.setVar("SDK_ARCH", "none") + d.setVar("SDK_CC_ARCH", "none") + d.setVar("TARGET_CPPFLAGS", "none") + d.setVar("TARGET_CFLAGS", "none") + d.setVar("TARGET_CXXFLAGS", "none") + d.setVar("TARGET_LDFLAGS", "none") + d.setVar("POPULATESYSROOTDEPS", "") + + # Avoid this being unnecessarily different due to nuances of + # the target machine that aren't important for "all" arch + # packages. + d.setVar("LDFLAGS", "") + + # No need to do shared library processing or debug symbol handling + d.setVar("EXCLUDE_FROM_SHLIBS", "1") + d.setVar("INHIBIT_PACKAGE_DEBUG_SPLIT", "1") + d.setVar("INHIBIT_PACKAGE_STRIP", "1") + + # These multilib values shouldn't change allarch packages so exclude them + d.appendVarFlag("emit_pkgdata", "vardepsexclude", " MULTILIB_VARIANTS") + d.appendVarFlag("write_specfile", "vardepsexclude", " MULTILIBS") + d.appendVarFlag("do_package", "vardepsexclude", " package_do_shlibs") + elif bb.data.inherits_class('packagegroup', d) and not bb.data.inherits_class('nativesdk', d): + bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE")) +} + diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass index 1eebe0bf2e..0eca076df0 100644 --- a/meta/classes/allarch.bbclass +++ b/meta/classes/allarch.bbclass @@ -1,52 +1,5 @@ # -# This class is used for architecture independent recipes/data files (usually scripts) +# This class enables allarch only when multilib is not used. # -PACKAGE_ARCH = "all" - -python () { - # Allow this class to be included but overridden - only set - # the values if we're still "all" package arch. - if d.getVar("PACKAGE_ARCH") == "all": - # No need for virtual/libc or a cross compiler - d.setVar("INHIBIT_DEFAULT_DEPS","1") - - # Set these to a common set of values, we shouldn't be using them other that for WORKDIR directory - # naming anyway - d.setVar("baselib", "lib") - d.setVar("TARGET_ARCH", "allarch") - d.setVar("TARGET_OS", "linux") - d.setVar("TARGET_CC_ARCH", "none") - d.setVar("TARGET_LD_ARCH", "none") - d.setVar("TARGET_AS_ARCH", "none") - d.setVar("TARGET_FPU", "") - d.setVar("TARGET_PREFIX", "") - # Expand PACKAGE_EXTRA_ARCHS since the staging code needs this - # (this removes any dependencies from the hash perspective) - d.setVar("PACKAGE_EXTRA_ARCHS", d.getVar("PACKAGE_EXTRA_ARCHS")) - d.setVar("SDK_ARCH", "none") - d.setVar("SDK_CC_ARCH", "none") - d.setVar("TARGET_CPPFLAGS", "none") - d.setVar("TARGET_CFLAGS", "none") - d.setVar("TARGET_CXXFLAGS", "none") - d.setVar("TARGET_LDFLAGS", "none") - d.setVar("POPULATESYSROOTDEPS", "") - - # Avoid this being unnecessarily different due to nuances of - # the target machine that aren't important for "all" arch - # packages. - d.setVar("LDFLAGS", "") - - # No need to do shared library processing or debug symbol handling - d.setVar("EXCLUDE_FROM_SHLIBS", "1") - d.setVar("INHIBIT_PACKAGE_DEBUG_SPLIT", "1") - d.setVar("INHIBIT_PACKAGE_STRIP", "1") - - # These multilib values shouldn't change allarch packages so exclude them - d.appendVarFlag("emit_pkgdata", "vardepsexclude", " MULTILIB_VARIANTS") - d.appendVarFlag("write_specfile", "vardepsexclude", " MULTILIBS") - d.appendVarFlag("do_package", "vardepsexclude", " package_do_shlibs") - elif bb.data.inherits_class('packagegroup', d) and not bb.data.inherits_class('nativesdk', d): - bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE")) -} - +inherit ${@oe.utils.ifelse(d.getVar('MULTILIB_VARIANTS'), '', 'allarch-enabled')} diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index 0ca8de86c2..bb925b8d24 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass @@ -171,7 +171,7 @@ def use_icecc(bb,d): return "yes" def icecc_is_allarch(bb, d): - return d.getVar("PACKAGE_ARCH") == "all" or bb.data.inherits_class('allarch', d) + return d.getVar("PACKAGE_ARCH") == "all" or bb.data.inherits_class('allarch-enabled', d) def icecc_is_kernel(bb, d): return \ diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index f2ac8bdfef..c576cd8b40 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass @@ -50,7 +50,7 @@ python multilib_virtclass_handler () { if bb.data.inherits_class('nativesdk', e.data) or bb.data.inherits_class('crosssdk', e.data): raise bb.parse.SkipRecipe("We can't extend nativesdk recipes") - if bb.data.inherits_class('allarch', e.data) and not bb.data.inherits_class('packagegroup', e.data): + if bb.data.inherits_class('allarch-enabled', e.data) and not bb.data.inherits_class('packagegroup', e.data): raise bb.parse.SkipRecipe("Don't extend allarch recipes which are not packagegroups") # Expand this since this won't work correctly once we set a multilib into place diff --git a/meta/classes/multilib_global.bbclass b/meta/classes/multilib_global.bbclass index d2ec1adfea..4e2b6718df 100644 --- a/meta/classes/multilib_global.bbclass +++ b/meta/classes/multilib_global.bbclass @@ -166,7 +166,7 @@ python multilib_virtclass_handler_global () { if bb.data.inherits_class('kernel', e.data) or \ bb.data.inherits_class('module-base', e.data) or \ - (bb.data.inherits_class('allarch', e.data) and\ + (bb.data.inherits_class('allarch-enabled', e.data) and\ not bb.data.inherits_class('packagegroup', e.data)): variants = (e.data.getVar("MULTILIB_VARIANTS") or "").split() diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 4ce9de2f57..37160811cf 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -499,7 +499,7 @@ def get_package_mapping (pkg, basepkg, d): if key in data: # Have to avoid undoing the write_extra_pkgs(global_variants...) - if bb.data.inherits_class('allarch', d) and data[key] == basepkg: + if bb.data.inherits_class('allarch-enabled', d) and data[key] == basepkg: return pkg return data[key] @@ -1411,7 +1411,7 @@ fi if bb.data.inherits_class('kernel', d) or bb.data.inherits_class('module-base', d): write_extra_pkgs(variants, pn, packages, pkgdatadir) - if (bb.data.inherits_class('allarch', d) and not bb.data.inherits_class('packagegroup', d)): + if (bb.data.inherits_class('allarch-enabled', d) and not bb.data.inherits_class('packagegroup', d)): write_extra_pkgs(global_variants, pn, packages, pkgdatadir) workdir = d.getVar('WORKDIR') @@ -1500,7 +1500,7 @@ fi if bb.data.inherits_class('kernel', d) or bb.data.inherits_class('module-base', d): write_extra_runtime_pkgs(variants, packages, pkgdatadir) - if bb.data.inherits_class('allarch', d) and not bb.data.inherits_class('packagegroup', d): + if bb.data.inherits_class('allarch-enabled', d) and not bb.data.inherits_class('packagegroup', d): write_extra_runtime_pkgs(global_variants, packages, pkgdatadir) } -- 2.18.0 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/3] sstate.bbclass: update SSTATE_DUPWHITELIST 2018-08-21 6:36 [V2][PATCH 0/3] allarch: disable allarch when multilib is used kai.kang 2018-08-21 6:36 ` [PATCH 1/3] cmake.bbclass: fix wrong toolchain flags of nativesdk package kai.kang 2018-08-21 6:36 ` [PATCH 2/3] allarch: disable allarch when multilib is used kai.kang @ 2018-08-21 6:36 ` kai.kang 2018-08-22 2:36 ` [V2][PATCH 0/3] allarch: disable allarch when multilib is used ChenQi 3 siblings, 0 replies; 8+ messages in thread From: kai.kang @ 2018-08-21 6:36 UTC (permalink / raw) To: richard.purdie; +Cc: openembedded-core From: Kai Kang <kai.kang@windriver.com> Update SSTATE_DUPWHITELIST in sstate.bbclass. * remove ${DEPLOY_DIR_RPM}/noarch/ which is not overwritten any more * add directories for package target-sdk-provides-dummy Signed-off-by: Kai Kang <kai.kang@windriver.com> --- meta/classes/sstate.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index c0e54a398d..4b940eb48d 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -25,12 +25,14 @@ PV[vardepvalue] = "${PV}" SSTATE_EXTRAPATH[vardepvalue] = "" # For multilib rpm the allarch packagegroup files can overwrite (in theory they're identical) -SSTATE_DUPWHITELIST = "${DEPLOY_DIR}/licenses/ ${DEPLOY_DIR_RPM}/noarch/" +SSTATE_DUPWHITELIST = "${DEPLOY_DIR}/licenses/" # Avoid docbook/sgml catalog warnings for now SSTATE_DUPWHITELIST += "${STAGING_ETCDIR_NATIVE}/sgml ${STAGING_DATADIR_NATIVE}/sgml" # sdk-provides-dummy-nativesdk and nativesdk-buildtools-perl-dummy overlap for different SDKMACHINE SSTATE_DUPWHITELIST += "${DEPLOY_DIR_RPM}/sdk_provides_dummy_nativesdk/ ${DEPLOY_DIR_IPK}/sdk-provides-dummy-nativesdk/" SSTATE_DUPWHITELIST += "${DEPLOY_DIR_RPM}/buildtools_dummy_nativesdk/ ${DEPLOY_DIR_IPK}/buildtools-dummy-nativesdk/" +# target-sdk-provides-dummy overlaps that allarch is disabled when multilib is used +SSTATE_DUPWHITELIST += "${COMPONENTS_DIR}/sdk-provides-dummy-target/ ${DEPLOY_DIR_RPM}/sdk_provides_dummy_target/ ${DEPLOY_DIR_IPK}/sdk-provides-dummy-target/" # Archive the sources for many architectures in one deploy folder SSTATE_DUPWHITELIST += "${DEPLOY_DIR_SRC}" # ovmf/grub-efi/systemd-boot multilib recipes can generate identical overlapping files -- 2.18.0 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [V2][PATCH 0/3] allarch: disable allarch when multilib is used 2018-08-21 6:36 [V2][PATCH 0/3] allarch: disable allarch when multilib is used kai.kang ` (2 preceding siblings ...) 2018-08-21 6:36 ` [PATCH 3/3] sstate.bbclass: update SSTATE_DUPWHITELIST kai.kang @ 2018-08-22 2:36 ` ChenQi 2018-08-22 2:46 ` ChenQi 2018-08-22 3:17 ` Kang Kai 3 siblings, 2 replies; 8+ messages in thread From: ChenQi @ 2018-08-22 2:36 UTC (permalink / raw) To: kai.kang, richard.purdie; +Cc: openembedded-core There's some oe-selftest failures on autobuiler. https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/1300/steps/Running%20oe-selftest/logs/stdio Best Regards, Chen Qi On 08/21/2018 02:36 PM, kai.kang@windriver.com wrote: > From: Kai Kang <kai.kang@windriver.com> > > V2: > * move content of allarch.bbclass to allarch-enabled.bbclass and only > inherit allarch-enabled when multilib is not used > * update SSTATE_DUPWHITELIST > > Build pass for following targets on qemux86-64 and qemuarm64 for rpm, > ipk and deb. > > * core-image-sato > * core-image-sato -c populate_sdk > * world > * buildtools-tarball > > Known issues: > There are 2 *existing* multilib related issues which are not caused by > this serial of patches: > > 1 QA warnings of lib32-meta-ide-support and lib32-perf > > WARNING: lib32-meta-ide-support-1.0-r3 do_configure: Manifest > /buildarea1/jkang-taf/WRL1018/OV/0730/host/build/tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-ncurses.populate_sysroot > not found in intel_x86_64 corei7-32 core2-32 i686 i586 x86 allarch > x86_64_x86_64-nativesdk (variant '')? > > WARNING: lib32-perf-1.0-r9 do_install: Manifest > /buildarea1/jkang-taf/WRL1018/OV/0730/host/build/tmp-glibc/sstate-control/manifest-x86_64_i686-binutils-cross-x86_64.populate_sysroot > not found in x86_64_i686 (variant '')? > > 2 fails to build lib32-buildtools-tarball > > ERROR: lib32-buildtools-tarball-1.0-r0 do_populate_sdk: No manifest > generated from: qemuwrapper-cross in > /buildarea3/kkang/poky-20141111/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb > > I am working on them. > > > The following changes since commit 99506b0017bdf8dbf42ec5dc048d91a5609dabe3: > > weston-init: run login before start weston.service (2018-08-20 17:38:23 +0100) > > are available in the Git repository at: > > git://git.pokylinux.org/poky-contrib kangkai/allarch-enabled > http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/allarch-enabled > > Kai Kang (3): > cmake.bbclass: fix wrong toolchain flags of nativesdk package > allarch: disable allarch when multilib is used > sstate.bbclass: update SSTATE_DUPWHITELIST > > meta/classes/allarch-enabled.bbclass | 52 ++++++++++++++++++++++++++++ > meta/classes/allarch.bbclass | 51 ++------------------------- > meta/classes/cmake.bbclass | 1 + > meta/classes/icecc.bbclass | 2 +- > meta/classes/multilib.bbclass | 2 +- > meta/classes/multilib_global.bbclass | 2 +- > meta/classes/package.bbclass | 6 ++-- > meta/classes/sstate.bbclass | 4 ++- > 8 files changed, 64 insertions(+), 56 deletions(-) > create mode 100644 meta/classes/allarch-enabled.bbclass > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [V2][PATCH 0/3] allarch: disable allarch when multilib is used 2018-08-22 2:36 ` [V2][PATCH 0/3] allarch: disable allarch when multilib is used ChenQi @ 2018-08-22 2:46 ` ChenQi 2018-08-22 7:47 ` Kang Kai 2018-08-22 3:17 ` Kang Kai 1 sibling, 1 reply; 8+ messages in thread From: ChenQi @ 2018-08-22 2:46 UTC (permalink / raw) To: kai.kang, richard.purdie; +Cc: openembedded-core And also a few other failures: https://autobuilder.yocto.io/builders/nightly-qa-extras/builds/1242/steps/BuildImages_7/logs/stdio https://autobuilder.yocto.io/builders/nightly-multilib/builds/1255/steps/BuildImages_3/logs/stdio Best Regards, Chen Qi On 08/22/2018 10:36 AM, ChenQi wrote: > There's some oe-selftest failures on autobuiler. > > https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/1300/steps/Running%20oe-selftest/logs/stdio > > > Best Regards, > Chen Qi > > On 08/21/2018 02:36 PM, kai.kang@windriver.com wrote: >> From: Kai Kang <kai.kang@windriver.com> >> >> V2: >> * move content of allarch.bbclass to allarch-enabled.bbclass and only >> inherit allarch-enabled when multilib is not used >> * update SSTATE_DUPWHITELIST >> >> Build pass for following targets on qemux86-64 and qemuarm64 for rpm, >> ipk and deb. >> >> * core-image-sato >> * core-image-sato -c populate_sdk >> * world >> * buildtools-tarball >> >> Known issues: >> There are 2 *existing* multilib related issues which are not caused by >> this serial of patches: >> >> 1 QA warnings of lib32-meta-ide-support and lib32-perf >> >> WARNING: lib32-meta-ide-support-1.0-r3 do_configure: Manifest >> /buildarea1/jkang-taf/WRL1018/OV/0730/host/build/tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-ncurses.populate_sysroot >> >> not found in intel_x86_64 corei7-32 core2-32 i686 i586 x86 allarch >> x86_64_x86_64-nativesdk (variant '')? >> >> WARNING: lib32-perf-1.0-r9 do_install: Manifest >> /buildarea1/jkang-taf/WRL1018/OV/0730/host/build/tmp-glibc/sstate-control/manifest-x86_64_i686-binutils-cross-x86_64.populate_sysroot >> >> not found in x86_64_i686 (variant '')? >> >> 2 fails to build lib32-buildtools-tarball >> >> ERROR: lib32-buildtools-tarball-1.0-r0 do_populate_sdk: No manifest >> generated from: qemuwrapper-cross in >> /buildarea3/kkang/poky-20141111/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb >> >> >> I am working on them. >> >> >> The following changes since commit >> 99506b0017bdf8dbf42ec5dc048d91a5609dabe3: >> >> weston-init: run login before start weston.service (2018-08-20 >> 17:38:23 +0100) >> >> are available in the Git repository at: >> >> git://git.pokylinux.org/poky-contrib kangkai/allarch-enabled >> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/allarch-enabled >> >> Kai Kang (3): >> cmake.bbclass: fix wrong toolchain flags of nativesdk package >> allarch: disable allarch when multilib is used >> sstate.bbclass: update SSTATE_DUPWHITELIST >> >> meta/classes/allarch-enabled.bbclass | 52 ++++++++++++++++++++++++++++ >> meta/classes/allarch.bbclass | 51 ++------------------------- >> meta/classes/cmake.bbclass | 1 + >> meta/classes/icecc.bbclass | 2 +- >> meta/classes/multilib.bbclass | 2 +- >> meta/classes/multilib_global.bbclass | 2 +- >> meta/classes/package.bbclass | 6 ++-- >> meta/classes/sstate.bbclass | 4 ++- >> 8 files changed, 64 insertions(+), 56 deletions(-) >> create mode 100644 meta/classes/allarch-enabled.bbclass >> > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [V2][PATCH 0/3] allarch: disable allarch when multilib is used 2018-08-22 2:46 ` ChenQi @ 2018-08-22 7:47 ` Kang Kai 0 siblings, 0 replies; 8+ messages in thread From: Kang Kai @ 2018-08-22 7:47 UTC (permalink / raw) To: ChenQi, richard.purdie; +Cc: openembedded-core On 2018年08月22日 10:46, ChenQi wrote: > And also a few other failures: > > https://autobuilder.yocto.io/builders/nightly-qa-extras/builds/1242/steps/BuildImages_7/logs/stdio > > https://autobuilder.yocto.io/builders/nightly-multilib/builds/1255/steps/BuildImages_3/logs/stdio > It adds extra package to core-image-sato which calls postinstall script update_font_cache-lib32 and it is not handles well. --Kai > > Best Regards, > Chen Qi > > On 08/22/2018 10:36 AM, ChenQi wrote: >> There's some oe-selftest failures on autobuiler. >> >> https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/1300/steps/Running%20oe-selftest/logs/stdio >> >> >> Best Regards, >> Chen Qi >> >> On 08/21/2018 02:36 PM, kai.kang@windriver.com wrote: >>> From: Kai Kang <kai.kang@windriver.com> >>> >>> V2: >>> * move content of allarch.bbclass to allarch-enabled.bbclass and only >>> inherit allarch-enabled when multilib is not used >>> * update SSTATE_DUPWHITELIST >>> >>> Build pass for following targets on qemux86-64 and qemuarm64 for rpm, >>> ipk and deb. >>> >>> * core-image-sato >>> * core-image-sato -c populate_sdk >>> * world >>> * buildtools-tarball >>> >>> Known issues: >>> There are 2 *existing* multilib related issues which are not caused by >>> this serial of patches: >>> >>> 1 QA warnings of lib32-meta-ide-support and lib32-perf >>> >>> WARNING: lib32-meta-ide-support-1.0-r3 do_configure: Manifest >>> /buildarea1/jkang-taf/WRL1018/OV/0730/host/build/tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-ncurses.populate_sysroot >>> >>> not found in intel_x86_64 corei7-32 core2-32 i686 i586 x86 allarch >>> x86_64_x86_64-nativesdk (variant '')? >>> >>> WARNING: lib32-perf-1.0-r9 do_install: Manifest >>> /buildarea1/jkang-taf/WRL1018/OV/0730/host/build/tmp-glibc/sstate-control/manifest-x86_64_i686-binutils-cross-x86_64.populate_sysroot >>> >>> not found in x86_64_i686 (variant '')? >>> >>> 2 fails to build lib32-buildtools-tarball >>> >>> ERROR: lib32-buildtools-tarball-1.0-r0 do_populate_sdk: No manifest >>> generated from: qemuwrapper-cross in >>> /buildarea3/kkang/poky-20141111/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb >>> >>> >>> I am working on them. >>> >>> >>> The following changes since commit >>> 99506b0017bdf8dbf42ec5dc048d91a5609dabe3: >>> >>> weston-init: run login before start weston.service (2018-08-20 >>> 17:38:23 +0100) >>> >>> are available in the Git repository at: >>> >>> git://git.pokylinux.org/poky-contrib kangkai/allarch-enabled >>> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/allarch-enabled >>> >>> >>> Kai Kang (3): >>> cmake.bbclass: fix wrong toolchain flags of nativesdk package >>> allarch: disable allarch when multilib is used >>> sstate.bbclass: update SSTATE_DUPWHITELIST >>> >>> meta/classes/allarch-enabled.bbclass | 52 >>> ++++++++++++++++++++++++++++ >>> meta/classes/allarch.bbclass | 51 ++------------------------- >>> meta/classes/cmake.bbclass | 1 + >>> meta/classes/icecc.bbclass | 2 +- >>> meta/classes/multilib.bbclass | 2 +- >>> meta/classes/multilib_global.bbclass | 2 +- >>> meta/classes/package.bbclass | 6 ++-- >>> meta/classes/sstate.bbclass | 4 ++- >>> 8 files changed, 64 insertions(+), 56 deletions(-) >>> create mode 100644 meta/classes/allarch-enabled.bbclass >>> >> > > -- Regards, Neil | Kai Kang ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [V2][PATCH 0/3] allarch: disable allarch when multilib is used 2018-08-22 2:36 ` [V2][PATCH 0/3] allarch: disable allarch when multilib is used ChenQi 2018-08-22 2:46 ` ChenQi @ 2018-08-22 3:17 ` Kang Kai 1 sibling, 0 replies; 8+ messages in thread From: Kang Kai @ 2018-08-22 3:17 UTC (permalink / raw) To: ChenQi, richard.purdie; +Cc: openembedded-core On 2018年08月22日 10:36, ChenQi wrote: > There's some oe-selftest failures on autobuiler. > > https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/1300/steps/Running%20oe-selftest/logs/stdio > The patches are to disable allarch when multilib is used. So failure of test case sstatetests.SStateTests.test_sstate_allarch_samesigs_multilib is to be expected. I'll check the other 4 testcase failures. Regards, Kai > > Best Regards, > Chen Qi > > On 08/21/2018 02:36 PM, kai.kang@windriver.com wrote: >> From: Kai Kang <kai.kang@windriver.com> >> >> V2: >> * move content of allarch.bbclass to allarch-enabled.bbclass and only >> inherit allarch-enabled when multilib is not used >> * update SSTATE_DUPWHITELIST >> >> Build pass for following targets on qemux86-64 and qemuarm64 for rpm, >> ipk and deb. >> >> * core-image-sato >> * core-image-sato -c populate_sdk >> * world >> * buildtools-tarball >> >> Known issues: >> There are 2 *existing* multilib related issues which are not caused by >> this serial of patches: >> >> 1 QA warnings of lib32-meta-ide-support and lib32-perf >> >> WARNING: lib32-meta-ide-support-1.0-r3 do_configure: Manifest >> /buildarea1/jkang-taf/WRL1018/OV/0730/host/build/tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-ncurses.populate_sysroot >> >> not found in intel_x86_64 corei7-32 core2-32 i686 i586 x86 allarch >> x86_64_x86_64-nativesdk (variant '')? >> >> WARNING: lib32-perf-1.0-r9 do_install: Manifest >> /buildarea1/jkang-taf/WRL1018/OV/0730/host/build/tmp-glibc/sstate-control/manifest-x86_64_i686-binutils-cross-x86_64.populate_sysroot >> >> not found in x86_64_i686 (variant '')? >> >> 2 fails to build lib32-buildtools-tarball >> >> ERROR: lib32-buildtools-tarball-1.0-r0 do_populate_sdk: No manifest >> generated from: qemuwrapper-cross in >> /buildarea3/kkang/poky-20141111/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb >> >> >> I am working on them. >> >> >> The following changes since commit >> 99506b0017bdf8dbf42ec5dc048d91a5609dabe3: >> >> weston-init: run login before start weston.service (2018-08-20 >> 17:38:23 +0100) >> >> are available in the Git repository at: >> >> git://git.pokylinux.org/poky-contrib kangkai/allarch-enabled >> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/allarch-enabled >> >> Kai Kang (3): >> cmake.bbclass: fix wrong toolchain flags of nativesdk package >> allarch: disable allarch when multilib is used >> sstate.bbclass: update SSTATE_DUPWHITELIST >> >> meta/classes/allarch-enabled.bbclass | 52 ++++++++++++++++++++++++++++ >> meta/classes/allarch.bbclass | 51 ++------------------------- >> meta/classes/cmake.bbclass | 1 + >> meta/classes/icecc.bbclass | 2 +- >> meta/classes/multilib.bbclass | 2 +- >> meta/classes/multilib_global.bbclass | 2 +- >> meta/classes/package.bbclass | 6 ++-- >> meta/classes/sstate.bbclass | 4 ++- >> 8 files changed, 64 insertions(+), 56 deletions(-) >> create mode 100644 meta/classes/allarch-enabled.bbclass >> > > -- Regards, Neil | Kai Kang ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-08-22 7:47 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-08-21 6:36 [V2][PATCH 0/3] allarch: disable allarch when multilib is used kai.kang 2018-08-21 6:36 ` [PATCH 1/3] cmake.bbclass: fix wrong toolchain flags of nativesdk package kai.kang 2018-08-21 6:36 ` [PATCH 2/3] allarch: disable allarch when multilib is used kai.kang 2018-08-21 6:36 ` [PATCH 3/3] sstate.bbclass: update SSTATE_DUPWHITELIST kai.kang 2018-08-22 2:36 ` [V2][PATCH 0/3] allarch: disable allarch when multilib is used ChenQi 2018-08-22 2:46 ` ChenQi 2018-08-22 7:47 ` Kang Kai 2018-08-22 3:17 ` Kang Kai
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox