Skip to contentSkip to conversation

allarch: disable allarch when multilib is used

PATCH Superseded [email protected] 2 participants 8 messages Aug 21, 2018 – Aug 22, 2018

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v2 cover allarch: disable allarch when multilib is used

From: Kai Kang <[email protected]>

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
Signature · 1 line
2.18.0
#1 lore raw

PATCH v2 1/3 cmake.bbclass: fix wrong toolchain flags of nativesdk package

From: Kai Kang <[email protected]>

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.

---
 meta/classes/cmake.bbclass | 1 +
 1 file changed, 1 insertion(+)
meta/classes/cmake.bbclass +1 -0
index fd40a9863e..bb63414b77 100644
@@ -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"
 
Signature · 1 line
2.18.0
#2 lore raw

PATCH v2 2/3 allarch: disable allarch when multilib is used

In reply to [email protected]

From: Kai Kang <[email protected]>

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.

---
 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
meta/classes/allarch-enabled.bbclass new file +52 -0
new file mode 100644
index 0000000000..1eebe0bf2e
@@ -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"))
+}
+
meta/classes/allarch.bbclass +2 -49

54 lines not on this page · raw message

meta/classes/icecc.bbclass +1 -1
index 0ca8de86c2..bb925b8d24 100644
@@ -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 \
meta/classes/multilib.bbclass +1 -1
index f2ac8bdfef..c576cd8b40 100644
@@ -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
meta/classes/multilib_global.bbclass +1 -1
index d2ec1adfea..4e2b6718df 100644
@@ -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()
 
meta/classes/package.bbclass +3 -3
index 4ce9de2f57..37160811cf 100644
@@ -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)
 
 }
Signature · 1 line
2.18.0
#3 lore raw

PATCH v2 3/3 sstate.bbclass: update SSTATE_DUPWHITELIST

In reply to [email protected]

From: Kai Kang <[email protected]>

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

---
 meta/classes/sstate.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/classes/sstate.bbclass +3 -1
index c0e54a398d..4b940eb48d 100644
@@ -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
Signature · 1 line
2.18.0
#4 lore raw
In reply to [email protected]

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

Quoted 64 lines · On 08/21/2018 02:36 PM, [email protected] wrote:

From: Kai Kang <[email protected]>

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

#5 lore raw

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

Quoted 78 lines · ChenQi

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

Quoted 68 lines · On 08/21/2018 02:36 PM, [email protected] wrote:

From: Kai Kang <[email protected]>

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

author
#7 lore raw
In reply to ChenQi
Quoted 4 lines · ChenQi

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

Quoted 74 lines

Best Regards,
Chen Qi

Quoted 67 lines · On 08/21/2018 02:36 PM, [email protected] wrote:

From: Kai Kang <[email protected]>

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

Signature · 2 lines
Regards,
Neil | Kai Kang
author
#6 lore raw
In reply to ChenQi
Quoted 7 lines · ChenQi

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

Quoted 86 lines

Best Regards,
Chen Qi

Quoted 79 lines · ChenQi

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

Quoted 69 lines · On 08/21/2018 02:36 PM, [email protected] wrote:

From: Kai Kang <[email protected]>

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

Signature · 2 lines
Regards,
Neil | Kai Kang