All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/16] xwayland: add a standalone recipe
@ 2021-03-19  8:43 Alexander Kanavin
  2021-03-19  8:43 ` [PATCH 02/16] weston: use standalone xwayland instead of outdated xserver-xorg version Alexander Kanavin
                   ` (14 more replies)
  0 siblings, 15 replies; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Please see here for the rationale for splitting XWayland out of
main xserver-xorg tree:
https://fedoraproject.org/wiki/Changes/XwaylandStandalone

Release announcement:
https://lists.x.org/archives/xorg-announce/2021-March/003076.html

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/conf/distro/include/maintainers.inc      |  1 +
 .../xwayland/xwayland_21.1.0.bb               | 21 +++++++++++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 meta/recipes-graphics/xwayland/xwayland_21.1.0.bb

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index ebaece9cb5..99aaa1e763 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -797,6 +797,7 @@ RECIPE_MAINTAINER_pn-xset = "Armin Kuster <akuster808@gmail.com>"
 RECIPE_MAINTAINER_pn-xtrans = "Armin Kuster <akuster808@gmail.com>"
 RECIPE_MAINTAINER_pn-xuser-account = "Armin Kuster <akuster808@gmail.com>"
 RECIPE_MAINTAINER_pn-xvinfo = "Armin Kuster <akuster808@gmail.com>"
+RECIPE_MAINTAINER_pn-xwayland = "Armin Kuster <akuster808@gmail.com>"
 RECIPE_MAINTAINER_pn-xwininfo = "Armin Kuster <akuster808@gmail.com>"
 RECIPE_MAINTAINER_pn-xz = "Denys Dmytriyenko <denis@denix.org>"
 RECIPE_MAINTAINER_pn-zip = "Denys Dmytriyenko <denis@denix.org>"
diff --git a/meta/recipes-graphics/xwayland/xwayland_21.1.0.bb b/meta/recipes-graphics/xwayland/xwayland_21.1.0.bb
new file mode 100644
index 0000000000..9aa0291e3e
--- /dev/null
+++ b/meta/recipes-graphics/xwayland/xwayland_21.1.0.bb
@@ -0,0 +1,21 @@
+SUMMARY = "XWayland is an X Server that runs under Wayland."
+DESCRIPTION = "XWayland is an X Server running as a Wayland client, \
+and thus is capable of displaying native X11 client applications in a \
+Wayland compositor environment. The goal of XWayland is to facilitate \
+the transition from X Window System to Wayland environments, providing \
+a way to run unported applications in the meantime."
+HOMEPAGE = "https://fedoraproject.org/wiki/Changes/XwaylandStandalone"
+
+LICENSE = "MIT-X"
+LIC_FILES_CHKSUM = "file://COPYING;md5=5df87950af51ac2c5822094553ea1880"
+
+SRC_URI = "https://www.x.org/archive/individual/xserver/xwayland-${PV}.tar.xz"
+SRC_URI[sha256sum] = "8a71c3e8b95c43bb91bc3d7a4ff9075456a0cfe297721dbc8d4a76cf241d82fb"
+
+inherit meson features_check
+REQUIRED_DISTRO_FEATURES = "x11"
+
+DEPENDS += "xorgproto xtrans pixman libxkbfile libxfont2 wayland wayland-native wayland-protocols libdrm libepoxy"
+
+FILES_${PN} += "${libdir}/xorg/protocol.txt"
+
-- 
2.29.2


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

* [PATCH 02/16] weston: use standalone xwayland instead of outdated xserver-xorg version
  2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
@ 2021-03-19  8:43 ` Alexander Kanavin
  2021-03-19  8:43 ` [PATCH 03/16] vulkan: upgrade 1.2.162.0 -> 1.2.170.0 Alexander Kanavin
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/recipes-graphics/wayland/weston_9.0.0.bb       | 2 +-
 meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/wayland/weston_9.0.0.bb b/meta/recipes-graphics/wayland/weston_9.0.0.bb
index 50fbfa613b..34ac66d4e9 100644
--- a/meta/recipes-graphics/wayland/weston_9.0.0.bb
+++ b/meta/recipes-graphics/wayland/weston_9.0.0.bb
@@ -124,7 +124,7 @@ SUMMARY_libweston-${WESTON_MAJOR_VERSION} = "Helper library for implementing 'wa
 FILES_${PN}-examples = "${bindir}/*"
 
 FILES_${PN}-xwayland = "${libdir}/libweston-${WESTON_MAJOR_VERSION}/xwayland.so"
-RDEPENDS_${PN}-xwayland += "xserver-xorg-xwayland"
+RDEPENDS_${PN}-xwayland += "xwayland"
 
 RDEPENDS_${PN} += "xkeyboard-config"
 RRECOMMENDS_${PN} = "weston-init liberation-fonts"
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index b3e03744c0..da025171db 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -122,7 +122,6 @@ EXTRA_OECONF += "--with-fop=no \
 OPENGL_PKGCONFIGS = "dri glx glamor dri3 xshmfence"
 PACKAGECONFIG ??= "dga dri2 udev ${XORG_CRYPTO} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${OPENGL_PKGCONFIGS}', '', d)} \
-                   ${@bb.utils.contains('DISTRO_FEATURES', 'opengl wayland', 'xwayland', '', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd systemd-logind', '', d)} \
 "
 
-- 
2.29.2


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

* [PATCH 03/16] vulkan: upgrade 1.2.162.0 -> 1.2.170.0
  2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
  2021-03-19  8:43 ` [PATCH 02/16] weston: use standalone xwayland instead of outdated xserver-xorg version Alexander Kanavin
@ 2021-03-19  8:43 ` Alexander Kanavin
  2021-03-19  8:43 ` [PATCH 04/16] bind: upgrade 9.16.11 -> 9.16.12 Alexander Kanavin
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 ...2.162.0.bb => vulkan-headers_1.2.170.0.bb} |  2 +-
 ...name-LIB_SUFFIX-to-VULKAN_LIB_SUFFIX.patch | 40 -------------------
 ....2.162.0.bb => vulkan-loader_1.2.170.0.bb} |  7 ++--
 ...1.2.162.1.bb => vulkan-tools_1.2.170.0.bb} |  4 +-
 4 files changed, 6 insertions(+), 47 deletions(-)
 rename meta/recipes-graphics/vulkan/{vulkan-headers_1.2.162.0.bb => vulkan-headers_1.2.170.0.bb} (93%)
 delete mode 100644 meta/recipes-graphics/vulkan/vulkan-loader/0001-Rename-LIB_SUFFIX-to-VULKAN_LIB_SUFFIX.patch
 rename meta/recipes-graphics/vulkan/{vulkan-loader_1.2.162.0.bb => vulkan-loader_1.2.170.0.bb} (87%)
 rename meta/recipes-graphics/vulkan/{vulkan-tools_1.2.162.1.bb => vulkan-tools_1.2.170.0.bb} (89%)

diff --git a/meta/recipes-graphics/vulkan/vulkan-headers_1.2.162.0.bb b/meta/recipes-graphics/vulkan/vulkan-headers_1.2.170.0.bb
similarity index 93%
rename from meta/recipes-graphics/vulkan/vulkan-headers_1.2.162.0.bb
rename to meta/recipes-graphics/vulkan/vulkan-headers_1.2.170.0.bb
index 19ae67cdd4..4c9c94f3d2 100644
--- a/meta/recipes-graphics/vulkan/vulkan-headers_1.2.162.0.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-headers_1.2.170.0.bb
@@ -11,7 +11,7 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
 SRC_URI = "git://github.com/KhronosGroup/Vulkan-Headers.git;branch=master"
 
-SRCREV = "87aaa16d4c8e1ac70f8f04acdcd46eed4bd77209"
+SRCREV = "1d99b835ec3cd5a7fb2f2a2dd9a615ee2d1f0101"
 
 S = "${WORKDIR}/git"
 
diff --git a/meta/recipes-graphics/vulkan/vulkan-loader/0001-Rename-LIB_SUFFIX-to-VULKAN_LIB_SUFFIX.patch b/meta/recipes-graphics/vulkan/vulkan-loader/0001-Rename-LIB_SUFFIX-to-VULKAN_LIB_SUFFIX.patch
deleted file mode 100644
index 26b1a40f26..0000000000
--- a/meta/recipes-graphics/vulkan/vulkan-loader/0001-Rename-LIB_SUFFIX-to-VULKAN_LIB_SUFFIX.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 5ae24ece75f2caa69216da7075334711642f5588 Mon Sep 17 00:00:00 2001
-From: Michel Zou <xantares09@hotmail.com>
-Date: Wed, 16 Dec 2020 15:03:23 +0100
-Subject: [PATCH] Rename LIB_SUFFIX to VULKAN_LIB_SUFFIX
-
-Closes #527
-
-Upstream-Status: Backport [https://github.com/KhronosGroup/Vulkan-Loader/commit/66a23ac8c566299343668f094de50798a5f4a0e4]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- loader/CMakeLists.txt | 2 +-
- loader/vulkan.pc.in   | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt
-index 659511855..ba9f460f1 100644
---- a/loader/CMakeLists.txt
-+++ b/loader/CMakeLists.txt
-@@ -327,7 +327,7 @@ if(PKG_CONFIG_FOUND)
-         set(PRIVATE_LIBS "${PRIVATE_LIBS} -l${LIB}")
-     endforeach()
-     if(WIN32)
--        set(LIB_SUFFIX "-1")
-+        set(VULKAN_LIB_SUFFIX "-1")
-     endif ()
-     configure_file("vulkan.pc.in" "vulkan.pc" @ONLY)
-     install(FILES "${CMAKE_CURRENT_BINARY_DIR}/vulkan.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
-diff --git a/loader/vulkan.pc.in b/loader/vulkan.pc.in
-index fc17cb1f3..44049ee34 100644
---- a/loader/vulkan.pc.in
-+++ b/loader/vulkan.pc.in
-@@ -6,7 +6,7 @@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
- Name: @CMAKE_PROJECT_NAME@
- Description: Vulkan Loader
- Version: @VK_API_VERSION@
--Libs: -L${libdir} -lvulkan@LIB_SUFFIX@
-+Libs: -L${libdir} -lvulkan@VULKAN_LIB_SUFFIX@
- Libs.private: @PRIVATE_LIBS@
- Cflags: -I${includedir}
- 
diff --git a/meta/recipes-graphics/vulkan/vulkan-loader_1.2.162.0.bb b/meta/recipes-graphics/vulkan/vulkan-loader_1.2.170.0.bb
similarity index 87%
rename from meta/recipes-graphics/vulkan/vulkan-loader_1.2.162.0.bb
rename to meta/recipes-graphics/vulkan/vulkan-loader_1.2.170.0.bb
index d39e7af975..0f43650698 100644
--- a/meta/recipes-graphics/vulkan/vulkan-loader_1.2.162.0.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-loader_1.2.170.0.bb
@@ -9,10 +9,8 @@ SECTION = "libs"
 
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7dbefed23242760aa3475ee42801c5ac"
-SRC_URI = "git://github.com/KhronosGroup/Vulkan-Loader.git \
-           file://0001-Rename-LIB_SUFFIX-to-VULKAN_LIB_SUFFIX.patch \
-           "
-SRCREV = "7a313093b5c4af964d50a5a64e73d7df6152ea3f"
+SRC_URI = "git://github.com/KhronosGroup/Vulkan-Loader.git"
+SRCREV = "c5678a03db383fd0dc5bfb8e9a383043bdbcb57b"
 
 S = "${WORKDIR}/git"
 
@@ -27,6 +25,7 @@ EXTRA_OECMAKE = "\
                  -DBUILD_TESTS=OFF \
                  -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \
                  -DASSEMBLER_WORKS=FALSE \
+                 -DVULKAN_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \
                  "
 
 # must choose x11 or wayland or both
diff --git a/meta/recipes-graphics/vulkan/vulkan-tools_1.2.162.1.bb b/meta/recipes-graphics/vulkan/vulkan-tools_1.2.170.0.bb
similarity index 89%
rename from meta/recipes-graphics/vulkan/vulkan-tools_1.2.162.1.bb
rename to meta/recipes-graphics/vulkan/vulkan-tools_1.2.170.0.bb
index a5c3bbcb14..9079d921a7 100644
--- a/meta/recipes-graphics/vulkan/vulkan-tools_1.2.162.1.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-tools_1.2.170.0.bb
@@ -6,8 +6,8 @@ SECTION = "libs"
 
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
-SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;branch=sdk-1.2.162"
-SRCREV = "8f0c2e40d4134f53f82ce48de72c7be92baa6b3d"
+SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git"
+SRCREV = "88ea55de928a08ba5c5f65a93d1e7c8f666fc43f"
 
 S = "${WORKDIR}/git"
 
-- 
2.29.2


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

* [PATCH 04/16] bind: upgrade 9.16.11 -> 9.16.12
  2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
  2021-03-19  8:43 ` [PATCH 02/16] weston: use standalone xwayland instead of outdated xserver-xorg version Alexander Kanavin
  2021-03-19  8:43 ` [PATCH 03/16] vulkan: upgrade 1.2.162.0 -> 1.2.170.0 Alexander Kanavin
@ 2021-03-19  8:43 ` Alexander Kanavin
  2021-03-19  8:43 ` [PATCH 05/16] spirv-headers: update to latest revision Alexander Kanavin
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Adjust library packaging (see link to commit in the recipe).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 .../0001-avoid-start-failure-with-bind-user.patch          | 0
 ...1-named-lwresd-V-and-start-log-hide-build-options.patch | 0
 ...d-ensure-searching-for-json-headers-searches-sysr.patch | 0
 .../bind/{bind-9.16.11 => bind-9.16.12}/bind9              | 0
 .../bind/{bind-9.16.11 => bind-9.16.12}/conf.patch         | 0
 .../{bind-9.16.11 => bind-9.16.12}/generate-rndc-key.sh    | 0
 .../init.d-add-support-for-read-only-rootfs.patch          | 0
 .../make-etc-initd-bind-stop-work.patch                    | 0
 .../bind/{bind-9.16.11 => bind-9.16.12}/named.service      | 0
 .../bind/{bind_9.16.11.bb => bind_9.16.12.bb}              | 7 +++++--
 10 files changed, 5 insertions(+), 2 deletions(-)
 rename meta/recipes-connectivity/bind/{bind-9.16.11 => bind-9.16.12}/0001-avoid-start-failure-with-bind-user.patch (100%)
 rename meta/recipes-connectivity/bind/{bind-9.16.11 => bind-9.16.12}/0001-named-lwresd-V-and-start-log-hide-build-options.patch (100%)
 rename meta/recipes-connectivity/bind/{bind-9.16.11 => bind-9.16.12}/bind-ensure-searching-for-json-headers-searches-sysr.patch (100%)
 rename meta/recipes-connectivity/bind/{bind-9.16.11 => bind-9.16.12}/bind9 (100%)
 rename meta/recipes-connectivity/bind/{bind-9.16.11 => bind-9.16.12}/conf.patch (100%)
 rename meta/recipes-connectivity/bind/{bind-9.16.11 => bind-9.16.12}/generate-rndc-key.sh (100%)
 rename meta/recipes-connectivity/bind/{bind-9.16.11 => bind-9.16.12}/init.d-add-support-for-read-only-rootfs.patch (100%)
 rename meta/recipes-connectivity/bind/{bind-9.16.11 => bind-9.16.12}/make-etc-initd-bind-stop-work.patch (100%)
 rename meta/recipes-connectivity/bind/{bind-9.16.11 => bind-9.16.12}/named.service (100%)
 rename meta/recipes-connectivity/bind/{bind_9.16.11.bb => bind_9.16.12.bb} (93%)

diff --git a/meta/recipes-connectivity/bind/bind-9.16.11/0001-avoid-start-failure-with-bind-user.patch b/meta/recipes-connectivity/bind/bind-9.16.12/0001-avoid-start-failure-with-bind-user.patch
similarity index 100%
rename from meta/recipes-connectivity/bind/bind-9.16.11/0001-avoid-start-failure-with-bind-user.patch
rename to meta/recipes-connectivity/bind/bind-9.16.12/0001-avoid-start-failure-with-bind-user.patch
diff --git a/meta/recipes-connectivity/bind/bind-9.16.11/0001-named-lwresd-V-and-start-log-hide-build-options.patch b/meta/recipes-connectivity/bind/bind-9.16.12/0001-named-lwresd-V-and-start-log-hide-build-options.patch
similarity index 100%
rename from meta/recipes-connectivity/bind/bind-9.16.11/0001-named-lwresd-V-and-start-log-hide-build-options.patch
rename to meta/recipes-connectivity/bind/bind-9.16.12/0001-named-lwresd-V-and-start-log-hide-build-options.patch
diff --git a/meta/recipes-connectivity/bind/bind-9.16.11/bind-ensure-searching-for-json-headers-searches-sysr.patch b/meta/recipes-connectivity/bind/bind-9.16.12/bind-ensure-searching-for-json-headers-searches-sysr.patch
similarity index 100%
rename from meta/recipes-connectivity/bind/bind-9.16.11/bind-ensure-searching-for-json-headers-searches-sysr.patch
rename to meta/recipes-connectivity/bind/bind-9.16.12/bind-ensure-searching-for-json-headers-searches-sysr.patch
diff --git a/meta/recipes-connectivity/bind/bind-9.16.11/bind9 b/meta/recipes-connectivity/bind/bind-9.16.12/bind9
similarity index 100%
rename from meta/recipes-connectivity/bind/bind-9.16.11/bind9
rename to meta/recipes-connectivity/bind/bind-9.16.12/bind9
diff --git a/meta/recipes-connectivity/bind/bind-9.16.11/conf.patch b/meta/recipes-connectivity/bind/bind-9.16.12/conf.patch
similarity index 100%
rename from meta/recipes-connectivity/bind/bind-9.16.11/conf.patch
rename to meta/recipes-connectivity/bind/bind-9.16.12/conf.patch
diff --git a/meta/recipes-connectivity/bind/bind-9.16.11/generate-rndc-key.sh b/meta/recipes-connectivity/bind/bind-9.16.12/generate-rndc-key.sh
similarity index 100%
rename from meta/recipes-connectivity/bind/bind-9.16.11/generate-rndc-key.sh
rename to meta/recipes-connectivity/bind/bind-9.16.12/generate-rndc-key.sh
diff --git a/meta/recipes-connectivity/bind/bind-9.16.11/init.d-add-support-for-read-only-rootfs.patch b/meta/recipes-connectivity/bind/bind-9.16.12/init.d-add-support-for-read-only-rootfs.patch
similarity index 100%
rename from meta/recipes-connectivity/bind/bind-9.16.11/init.d-add-support-for-read-only-rootfs.patch
rename to meta/recipes-connectivity/bind/bind-9.16.12/init.d-add-support-for-read-only-rootfs.patch
diff --git a/meta/recipes-connectivity/bind/bind-9.16.11/make-etc-initd-bind-stop-work.patch b/meta/recipes-connectivity/bind/bind-9.16.12/make-etc-initd-bind-stop-work.patch
similarity index 100%
rename from meta/recipes-connectivity/bind/bind-9.16.11/make-etc-initd-bind-stop-work.patch
rename to meta/recipes-connectivity/bind/bind-9.16.12/make-etc-initd-bind-stop-work.patch
diff --git a/meta/recipes-connectivity/bind/bind-9.16.11/named.service b/meta/recipes-connectivity/bind/bind-9.16.12/named.service
similarity index 100%
rename from meta/recipes-connectivity/bind/bind-9.16.11/named.service
rename to meta/recipes-connectivity/bind/bind-9.16.12/named.service
diff --git a/meta/recipes-connectivity/bind/bind_9.16.11.bb b/meta/recipes-connectivity/bind/bind_9.16.12.bb
similarity index 93%
rename from meta/recipes-connectivity/bind/bind_9.16.11.bb
rename to meta/recipes-connectivity/bind/bind_9.16.12.bb
index f48cc74c2e..09f77038fa 100644
--- a/meta/recipes-connectivity/bind/bind_9.16.11.bb
+++ b/meta/recipes-connectivity/bind/bind_9.16.12.bb
@@ -20,7 +20,7 @@ SRC_URI = "https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.xz \
            file://0001-avoid-start-failure-with-bind-user.patch \
            "
 
-SRC_URI[sha256sum] = "0111f64dd7d8f515cfa129e181cce96ff82070d1b27f11a21f6856110d0699c1"
+SRC_URI[sha256sum] = "9914af9311fd349cab441097898d94fb28d0bfd9bf6ed04fe1f97f042644da7f"
 
 UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/"
 # stay at 9.16 follow the ESV versions divisible by 4
@@ -113,7 +113,10 @@ FILES_${PN}-dev += "${bindir}/isc-config.h"
 FILES_${PN} += "${sbindir}/generate-rndc-key.sh"
 
 PACKAGE_BEFORE_PN += "${PN}-libs"
-FILES_${PN}-libs = "${libdir}/*.so* ${libdir}/named/*.so*"
+# special arrangement below due to
+# https://github.com/isc-projects/bind9/commit/0e25af628cd776f98c04fc4cc59048f5448f6c88
+FILES_SOLIBSDEV = "${libdir}/*[!0-9].so ${libdir}/libbind9.so"
+FILES_${PN}-libs = "${libdir}/named/*.so* ${libdir}/*-${PV}.so"
 FILES_${PN}-staticdev += "${libdir}/*.la"
 
 PACKAGE_BEFORE_PN += "${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-bind', '', d)}"
-- 
2.29.2


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

* [PATCH 05/16] spirv-headers: update to latest revision
  2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
                   ` (2 preceding siblings ...)
  2021-03-19  8:43 ` [PATCH 04/16] bind: upgrade 9.16.11 -> 9.16.12 Alexander Kanavin
@ 2021-03-19  8:43 ` Alexander Kanavin
  2021-03-19  8:43 ` [PATCH 06/16] spirv-tools: upgrade 2020.6 -> 2020.7 Alexander Kanavin
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

This is required by latest release of spirv-tools.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/recipes-graphics/spir/spirv-headers_1.5.4.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/spir/spirv-headers_1.5.4.bb b/meta/recipes-graphics/spir/spirv-headers_1.5.4.bb
index 14723f951b..7a43af5e6b 100644
--- a/meta/recipes-graphics/spir/spirv-headers_1.5.4.bb
+++ b/meta/recipes-graphics/spir/spirv-headers_1.5.4.bb
@@ -7,10 +7,11 @@ HOMEPAGE = "https://www.khronos.org/registry/spir-v"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c938b85bceb8fb26c1a807f28a52ae2d"
 
-SRCREV = "f027d53ded7e230e008d37c8b47ede7cd308e19d"
+SRCREV = "bcf55210f13a4fa3c3d0963b509ff1070e434c79"
 SRC_URI = "git://github.com/KhronosGroup/SPIRV-Headers;protocol=https"
 UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
 S = "${WORKDIR}/git"
+PV .= "+git${SRCPV}"
 
 inherit cmake
 
-- 
2.29.2


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

* [PATCH 06/16] spirv-tools: upgrade 2020.6 -> 2020.7
  2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
                   ` (3 preceding siblings ...)
  2021-03-19  8:43 ` [PATCH 05/16] spirv-headers: update to latest revision Alexander Kanavin
@ 2021-03-19  8:43 ` Alexander Kanavin
  2021-03-19  8:43 ` [PATCH 07/16] mesa: update 20.3.4 -> 21.0.0 Alexander Kanavin
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 .../spir/{spirv-tools_2020.6.bb => spirv-tools_2020.7.bb}       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/spir/{spirv-tools_2020.6.bb => spirv-tools_2020.7.bb} (96%)

diff --git a/meta/recipes-graphics/spir/spirv-tools_2020.6.bb b/meta/recipes-graphics/spir/spirv-tools_2020.7.bb
similarity index 96%
rename from meta/recipes-graphics/spir/spirv-tools_2020.6.bb
rename to meta/recipes-graphics/spir/spirv-tools_2020.7.bb
index ea89766e92..03b0f65e33 100644
--- a/meta/recipes-graphics/spir/spirv-tools_2020.6.bb
+++ b/meta/recipes-graphics/spir/spirv-tools_2020.7.bb
@@ -7,7 +7,7 @@ SECTION = "graphics"
 LICENSE  = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRCREV = "b27b1afd12d05bf238ac7368bb49de73cd620a8e"
+SRCREV = "2573fd781b5408cd7fe5755a78b60d767a748ff9"
 SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git \
            file://0001-fix-strncpy-bound-error.patch \
           "
-- 
2.29.2


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

* [PATCH 07/16] mesa: update 20.3.4 -> 21.0.0
  2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
                   ` (4 preceding siblings ...)
  2021-03-19  8:43 ` [PATCH 06/16] spirv-tools: upgrade 2020.6 -> 2020.7 Alexander Kanavin
@ 2021-03-19  8:43 ` Alexander Kanavin
  2021-03-22 11:29   ` [OE-core] " Martin Jansa
  2021-03-19  8:43 ` [PATCH 08/16] attr: update 2.4.48 -> 2.5.1 Alexander Kanavin
                   ` (8 subsequent siblings)
  14 siblings, 1 reply; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

0001-anv-fix-a-build-race-between-generating-a-header-and.patch
merged upstream.

osmesa is now a simple boolean option.

Swrast has been removed from dri drivers, so as we need at least one
driver to enable dri in native/nativesdk, replace it with nouveau
(which does not take long to build).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 ...race-between-generating-a-header-and.patch | 31 -------------------
 ...k-for-all-linux-host_os-combinations.patch | 12 +++----
 ...02-meson.build-make-TLS-ELF-optional.patch | 14 ++++-----
 .../{mesa-gl_20.3.4.bb => mesa-gl_21.0.0.bb}  |  0
 meta/recipes-graphics/mesa/mesa.inc           | 10 +++---
 .../mesa/{mesa_20.3.4.bb => mesa_21.0.0.bb}   |  0
 6 files changed, 17 insertions(+), 50 deletions(-)
 delete mode 100644 meta/recipes-graphics/mesa/files/0001-anv-fix-a-build-race-between-generating-a-header-and.patch
 rename meta/recipes-graphics/mesa/{mesa-gl_20.3.4.bb => mesa-gl_21.0.0.bb} (100%)
 rename meta/recipes-graphics/mesa/{mesa_20.3.4.bb => mesa_21.0.0.bb} (100%)

diff --git a/meta/recipes-graphics/mesa/files/0001-anv-fix-a-build-race-between-generating-a-header-and.patch b/meta/recipes-graphics/mesa/files/0001-anv-fix-a-build-race-between-generating-a-header-and.patch
deleted file mode 100644
index a61e7b2160..0000000000
--- a/meta/recipes-graphics/mesa/files/0001-anv-fix-a-build-race-between-generating-a-header-and.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From f148d4f1b5b13288b254ead07f1d008d997e2342 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Mon, 2 Nov 2020 23:23:53 +0100
-Subject: [PATCH] anv: fix a build race between generating a header and using
- it
-
-anv_batch_chain.c includes genX_bits.h but doesn't ensure it gets
-generated first. This causes build failures, as observed here:
-https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/1501/steps/8/logs/step2d
-
-Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7412]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- src/intel/vulkan/meson.build | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build
-index 36e1689314e..b713d8eade3 100644
---- a/src/intel/vulkan/meson.build
-+++ b/src/intel/vulkan/meson.build
-@@ -131,6 +131,7 @@ libanv_files = files(
- anv_deps = [
-   dep_libdrm,
-   dep_valgrind,
-+  idep_genxml,
-   idep_nir_headers,
-   idep_vulkan_util_headers,
- ]
--- 
-2.29.0
-
diff --git a/meta/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch b/meta/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch
index 085254323c..b6f86743e1 100644
--- a/meta/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch
+++ b/meta/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch
@@ -1,4 +1,4 @@
-From 0d9ed002eff176b902da266d89829a9b0cb10946 Mon Sep 17 00:00:00 2001
+From 38e984073e4c23b6278d1a2ff21e894fda7b93c5 Mon Sep 17 00:00:00 2001
 From: Alistair Francis <alistair@alistair23.me>
 Date: Thu, 14 Nov 2019 13:04:49 -0800
 Subject: [PATCH] meson.build: check for all linux host_os combinations
@@ -20,10 +20,10 @@ Signed-off-by: Alistair Francis <alistair@alistair23.me>
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/meson.build b/meson.build
-index 898d025..09e3759 100644
+index 932eb13..efc6171 100644
 --- a/meson.build
 +++ b/meson.build
-@@ -124,7 +124,7 @@ with_any_opengl = with_opengl or with_gles1 or with_gles2
+@@ -153,7 +153,7 @@ with_any_opengl = with_opengl or with_gles1 or with_gles2
  # Only build shared_glapi if at least one OpenGL API is enabled
  with_shared_glapi = with_shared_glapi and with_any_opengl
  
@@ -32,12 +32,12 @@ index 898d025..09e3759 100644
  
  dri_drivers = get_option('dri-drivers')
  if dri_drivers.contains('auto')
-@@ -884,7 +884,7 @@ if cc.compiles('__uint128_t foo(void) { return 0; }',
+@@ -970,7 +970,7 @@ if cc.compiles('__uint128_t foo(void) { return 0; }',
  endif
  
  # TODO: this is very incomplete
--if ['linux', 'cygwin', 'gnu', 'freebsd', 'gnu/kfreebsd'].contains(host_machine.system())
-+if ['cygwin', 'gnu', 'gnu/kfreebsd'].contains(host_machine.system()) or host_machine.system().startswith('linux')
+-if ['linux', 'cygwin', 'gnu', 'freebsd', 'gnu/kfreebsd', 'haiku'].contains(host_machine.system())
++if ['linux', 'cygwin', 'gnu', 'freebsd', 'gnu/kfreebsd', 'haiku'].contains(host_machine.system()) or host_machine.system().startswith('linux')
    pre_args += '-D_GNU_SOURCE'
  elif host_machine.system() == 'sunos'
    pre_args += '-D__EXTENSIONS__'
diff --git a/meta/recipes-graphics/mesa/files/0002-meson.build-make-TLS-ELF-optional.patch b/meta/recipes-graphics/mesa/files/0002-meson.build-make-TLS-ELF-optional.patch
index 89c0d150fa..df2346d336 100644
--- a/meta/recipes-graphics/mesa/files/0002-meson.build-make-TLS-ELF-optional.patch
+++ b/meta/recipes-graphics/mesa/files/0002-meson.build-make-TLS-ELF-optional.patch
@@ -1,4 +1,4 @@
-From ce57ce220d9c377beabf4914f33c43118f672ffe Mon Sep 17 00:00:00 2001
+From 624f430dd0a91344146a2b8d49a69f23560c2fa2 Mon Sep 17 00:00:00 2001
 From: Alistair Francis <alistair@alistair23.me>
 Date: Thu, 14 Nov 2019 13:08:31 -0800
 Subject: [PATCH] meson.build: make TLS ELF optional
@@ -30,23 +30,23 @@ Signed-off-by: Alistair Francis <alistair@alistair23.me>
  2 files changed, 7 insertions(+), 1 deletion(-)
 
 diff --git a/meson.build b/meson.build
-index c5136ea..185270d 100644
+index efc6171..8450968 100644
 --- a/meson.build
 +++ b/meson.build
-@@ -424,7 +424,7 @@ endif
+@@ -448,7 +448,7 @@ endif
  
  # Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
  use_elf_tls = false
--if not ['windows', 'freebsd', 'openbsd'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29)
-+if not ['windows', 'freebsd', 'openbsd'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29) and get_option('elf-tls')
+-if not ['windows', 'freebsd', 'openbsd', 'haiku'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29)
++if not ['windows', 'freebsd', 'openbsd', 'haiku'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29) and get_option('elf-tls')
    pre_args += '-DUSE_ELF_TLS'
    use_elf_tls = true
  endif
 diff --git a/meson_options.txt b/meson_options.txt
-index 2d39d13..72006eb 100644
+index fc73f6e..d7482c0 100644
 --- a/meson_options.txt
 +++ b/meson_options.txt
-@@ -368,6 +368,12 @@ option(
+@@ -420,6 +420,12 @@ option(
    value : true,
    description : 'Enable direct rendering in GLX and EGL for DRI',
  )
diff --git a/meta/recipes-graphics/mesa/mesa-gl_20.3.4.bb b/meta/recipes-graphics/mesa/mesa-gl_21.0.0.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-gl_20.3.4.bb
rename to meta/recipes-graphics/mesa/mesa-gl_21.0.0.bb
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 9f8ec112cf..e9b72ce063 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -19,10 +19,9 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
            file://0002-meson.build-make-TLS-ELF-optional.patch \
            file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \
            file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \
-           file://0001-anv-fix-a-build-race-between-generating-a-header-and.patch \
            "
 
-SRC_URI[sha256sum] = "dc21a987ec1ff45b278fe4b1419b1719f1968debbb80221480e44180849b4084"
+SRC_URI[sha256sum] = "e6204e98e6a8d77cf9dc5d34f99dd8e3ef7144f3601c808ca0dd26ba522e0d84"
 
 UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P<pver>\d+(\.\d+)+)"
 
@@ -103,8 +102,8 @@ PACKAGECONFIG[elf-tls] = "-Delf-tls=true, -Delf-tls=false"
 PACKAGECONFIG[xvmc] = "-Dgallium-xvmc=enabled,-Dgallium-xvmc=disabled,libxvmc"
 PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols"
 
-DRIDRIVERS_class-native = "swrast"
-DRIDRIVERS_class-nativesdk = "swrast"
+DRIDRIVERS_class-native = "nouveau"
+DRIDRIVERS_class-nativesdk = "nouveau"
 DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965,i915"
 DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965,i915"
 # "dri" requires "opengl"
@@ -168,8 +167,7 @@ GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '
 PACKAGECONFIG[panfrost] = ""
 GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'panfrost', ',panfrost', '', d)}"
 
-OSMESA = "${@bb.utils.contains('PACKAGECONFIG', 'gallium', 'gallium', 'classic', d)}"
-PACKAGECONFIG[osmesa] = "-Dosmesa=${OSMESA},-Dosmesa=none"
+PACKAGECONFIG[osmesa] = "-Dosmesa=true,-Dosmesa=false"
 
 PACKAGECONFIG[unwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind"
 
diff --git a/meta/recipes-graphics/mesa/mesa_20.3.4.bb b/meta/recipes-graphics/mesa/mesa_21.0.0.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa_20.3.4.bb
rename to meta/recipes-graphics/mesa/mesa_21.0.0.bb
-- 
2.29.2


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

* [PATCH 08/16] attr: update 2.4.48 -> 2.5.1
  2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
                   ` (5 preceding siblings ...)
  2021-03-19  8:43 ` [PATCH 07/16] mesa: update 20.3.4 -> 21.0.0 Alexander Kanavin
@ 2021-03-19  8:43 ` Alexander Kanavin
  2021-03-19  8:43 ` [PATCH 09/16] asciidoc: update 9.0.4 -> 9.1.0 Alexander Kanavin
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/recipes-support/attr/attr_2.4.48.bb | 6 ------
 meta/recipes-support/attr/attr_2.5.1.bb  | 5 +++++
 2 files changed, 5 insertions(+), 6 deletions(-)
 delete mode 100644 meta/recipes-support/attr/attr_2.4.48.bb
 create mode 100644 meta/recipes-support/attr/attr_2.5.1.bb

diff --git a/meta/recipes-support/attr/attr_2.4.48.bb b/meta/recipes-support/attr/attr_2.4.48.bb
deleted file mode 100644
index 530d4e4883..0000000000
--- a/meta/recipes-support/attr/attr_2.4.48.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-require attr.inc
-
-SRC_URI[md5sum] = "bc1e5cb5c96d99b24886f1f527d3bb3d"
-SRC_URI[sha256sum] = "5ead72b358ec709ed00bbf7a9eaef1654baad937c001c044fe8b74c57f5324e7"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-support/attr/attr_2.5.1.bb b/meta/recipes-support/attr/attr_2.5.1.bb
new file mode 100644
index 0000000000..5c5f7bcffb
--- /dev/null
+++ b/meta/recipes-support/attr/attr_2.5.1.bb
@@ -0,0 +1,5 @@
+require attr.inc
+
+SRC_URI[sha256sum] = "bae1c6949b258a0d68001367ce0c741cebdacdd3b62965d17e5eb23cd78adaf8"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.29.2


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

* [PATCH 09/16] asciidoc: update 9.0.4 -> 9.1.0
  2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
                   ` (6 preceding siblings ...)
  2021-03-19  8:43 ` [PATCH 08/16] attr: update 2.4.48 -> 2.5.1 Alexander Kanavin
@ 2021-03-19  8:43 ` Alexander Kanavin
  2021-03-19  8:43 ` [PATCH 10/16] libhandy: update 1.0.3 -> 1.2.0 Alexander Kanavin
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Dropped patch supserseded by https://github.com/asciidoc-py/asciidoc-py/pull/172

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 .../asciidoc/asciidoc/auto-catalogs.patch     | 53 -------------------
 .../{asciidoc_9.0.4.bb => asciidoc_9.1.0.bb}  |  5 +-
 2 files changed, 2 insertions(+), 56 deletions(-)
 delete mode 100644 meta/recipes-extended/asciidoc/asciidoc/auto-catalogs.patch
 rename meta/recipes-extended/asciidoc/{asciidoc_9.0.4.bb => asciidoc_9.1.0.bb} (91%)

diff --git a/meta/recipes-extended/asciidoc/asciidoc/auto-catalogs.patch b/meta/recipes-extended/asciidoc/asciidoc/auto-catalogs.patch
deleted file mode 100644
index ca170db00f..0000000000
--- a/meta/recipes-extended/asciidoc/asciidoc/auto-catalogs.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-If SGML_CATALOG_FILES is in the environment, pass --catalogs to xmllint and
-xsltproc. Also pass --nonet to xsltproc to detect future missing stylesheet
-problems.
-
-An earlier version of this patch was filed upstream at
-https://github.com/asciidoc/asciidoc-py3/issues/61 so depending on how that goes
-this could get merged.
-
-Upstream-Status: Inappropriate
-Signed-off-by: Ross Burton <ross.burton@intel.com>
-
-diff --git a/a2x.py b/a2x.py
-index 2d7699a..582d809 100755
---- a/a2x.py
-+++ b/a2x.py
-@@ -57,6 +57,10 @@ LYNX_OPTS = '-dump'
- W3M_OPTS = '-dump -cols 70 -T text/html -no-graph'
- XSLTPROC_OPTS = ''
- 
-+if "SGML_CATALOG_FILES" in os.environ:
-+  XMLLINT += " --catalogs"
-+  XSLTPROC += " --catalogs"
-+
- ######################################################################
- # End of configuration file parameters.
- ######################################################################
-@@ -298,7 +302,7 @@ def exec_xsltproc(xsl_file, xml_file, dst_dir, opts = ''):
-     cwd = os.getcwd()
-     shell_cd(dst_dir)
-     try:
--        shell('"%s" %s "%s" "%s"' % (XSLTPROC, opts, xsl_file, xml_file))
-+        shell('%s %s "%s" "%s"' % (XSLTPROC, opts, xsl_file, xml_file))
-     finally:
-         shell_cd(cwd)
- 
-@@ -483,7 +487,7 @@ class A2X(AttrDict):
-             self.asciidoc_opts += ' --doctype %s' % self.doctype
-         for attr in self.attributes:
-             self.asciidoc_opts += ' --attribute "%s"' % attr
--#        self.xsltproc_opts += ' --nonet'
-+        self.xsltproc_opts += ' --nonet'
-         if self.verbose:
-             self.asciidoc_opts += ' --verbose'
-             self.dblatex_opts += ' -V'
-@@ -634,7 +638,7 @@ class A2X(AttrDict):
-         shell('"%s" --backend docbook -a "a2x-format=%s" %s --out-file "%s" "%s"' %
-              (self.asciidoc, self.format, self.asciidoc_opts, docbook_file, self.asciidoc_file))
-         if not self.no_xmllint and XMLLINT:
--            shell('"%s" --nonet --noout --valid "%s"' % (XMLLINT, docbook_file))
-+            shell('%s --nonet --noout --valid "%s"' % (XMLLINT, docbook_file))
- 
-     def to_xhtml(self):
-         self.to_docbook()
diff --git a/meta/recipes-extended/asciidoc/asciidoc_9.0.4.bb b/meta/recipes-extended/asciidoc/asciidoc_9.1.0.bb
similarity index 91%
rename from meta/recipes-extended/asciidoc/asciidoc_9.0.4.bb
rename to meta/recipes-extended/asciidoc/asciidoc_9.1.0.bb
index bb4248a5e5..523bf33f42 100644
--- a/meta/recipes-extended/asciidoc/asciidoc_9.0.4.bb
+++ b/meta/recipes-extended/asciidoc/asciidoc_9.1.0.bb
@@ -8,9 +8,8 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=4e5d1baf6f20559e3bec172226a47e4e \
                     file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 "
 
-SRC_URI = "git://github.com/asciidoc/asciidoc-py3;protocol=https;branch=main \
-           file://auto-catalogs.patch"
-SRCREV = "8de61a75572b5b8f90c1f87634aa3767472be7a7"
+SRC_URI = "git://github.com/asciidoc/asciidoc-py3;protocol=https;branch=9.x"
+SRCREV = "9705d428439530104ce55d0ba12e8ef9d1b57ad1"
 
 DEPENDS = "libxml2-native libxslt-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
 
-- 
2.29.2


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

* [PATCH 10/16] libhandy: update 1.0.3 -> 1.2.0
  2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
                   ` (7 preceding siblings ...)
  2021-03-19  8:43 ` [PATCH 09/16] asciidoc: update 9.0.4 -> 9.1.0 Alexander Kanavin
@ 2021-03-19  8:43 ` Alexander Kanavin
  2021-03-19  8:43 ` [PATCH 11/16] strace: update 5.10 -> 5.11 Alexander Kanavin
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 .../libhandy/libhandy/determinism.patch       | 35 -------------------
 .../{libhandy_1.0.3.bb => libhandy_1.2.0.bb}  |  5 ++-
 2 files changed, 2 insertions(+), 38 deletions(-)
 delete mode 100644 meta/recipes-gnome/libhandy/libhandy/determinism.patch
 rename meta/recipes-gnome/libhandy/{libhandy_1.0.3.bb => libhandy_1.2.0.bb} (89%)

diff --git a/meta/recipes-gnome/libhandy/libhandy/determinism.patch b/meta/recipes-gnome/libhandy/libhandy/determinism.patch
deleted file mode 100644
index 7c4177f5f5..0000000000
--- a/meta/recipes-gnome/libhandy/libhandy/determinism.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-hdy-enums*.c.in: Fix reproducibility issue
-
-When full filenames are used in generated sources it makes the resulting
-debug packages non-reproducible. Best practise is to use basename in
-comments instead.
-
-Signed-off-by: Richard Purdie richard.purdie@linuxfoundation.org
-Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/libhandy/-/merge_requests/734]
-
-Index: a/src/hdy-enums-private.c.in
-===================================================================
---- a/src/hdy-enums-private.c.in
-+++ b/src/hdy-enums-private.c.in
-@@ -7,7 +7,7 @@
- /*** END file-header ***/
- 
- /*** BEGIN file-production ***/
--/* enumerations from "@filename@" */
-+/* enumerations from "@basename@" */
- /*** END file-production ***/
- 
- /*** BEGIN value-header ***/
-Index: a/src/hdy-enums.c.in
-===================================================================
---- a/src/hdy-enums.c.in
-+++ b/src/hdy-enums.c.in
-@@ -13,7 +13,7 @@
- /*** END file-header ***/
- 
- /*** BEGIN file-production ***/
--/* enumerations from "@filename@" */
-+/* enumerations from "@basename@" */
- /*** END file-production ***/
- 
- /*** BEGIN value-header ***/
diff --git a/meta/recipes-gnome/libhandy/libhandy_1.0.3.bb b/meta/recipes-gnome/libhandy/libhandy_1.2.0.bb
similarity index 89%
rename from meta/recipes-gnome/libhandy/libhandy_1.0.3.bb
rename to meta/recipes-gnome/libhandy/libhandy_1.2.0.bb
index a53a1388f9..1e37feb20a 100644
--- a/meta/recipes-gnome/libhandy/libhandy_1.0.3.bb
+++ b/meta/recipes-gnome/libhandy/libhandy_1.2.0.bb
@@ -9,9 +9,8 @@ BUGTRACKER = "https://gitlab.gnome.org/GNOME/libhandy/-/issues"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=libhandy-1-0 \
-           file://determinism.patch"
-SRCREV = "7126d2e8da9dcdeb5751e60ff6a74930804f9637"
+SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https"
+SRCREV = "7b38a860ffcec6c2ad28153358cc3d037ddb618f"
 S = "${WORKDIR}/git"
 
 GIR_MESON_ENABLE_FLAG = 'enabled'
-- 
2.29.2


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

* [PATCH 11/16] strace: update 5.10 -> 5.11
  2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
                   ` (8 preceding siblings ...)
  2021-03-19  8:43 ` [PATCH 10/16] libhandy: update 1.0.3 -> 1.2.0 Alexander Kanavin
@ 2021-03-19  8:43 ` Alexander Kanavin
  2021-03-19  8:43 ` [PATCH 12/16] automake: update 1.16.2 - > 1.16.3 Alexander Kanavin
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Drop disable-git-version-gen.patch as problem fixed upstream.

Add parallel builds to ptest compile.

strace-graph has been removed upstream.

Adjust ptest patch to match upstream changes.

License-Update: copyright years.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 .../strace/strace/Makefile-ptest.patch        | 19 ++++----
 .../strace/disable-git-version-gen.patch      | 37 ----------------
 .../strace/strace/update-gawk-paths.patch     | 44 +++++++++----------
 .../strace/{strace_5.10.bb => strace_5.11.bb} | 18 +++-----
 4 files changed, 39 insertions(+), 79 deletions(-)
 delete mode 100644 meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
 rename meta/recipes-devtools/strace/{strace_5.10.bb => strace_5.11.bb} (79%)

diff --git a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
index 42c1893f39..4cef0c0127 100644
--- a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
+++ b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
@@ -1,4 +1,4 @@
-From ee47e205255928679701a5b769bd7ae0f815119d Mon Sep 17 00:00:00 2001
+From 205e7661822987825c7149ada4eefdc5368828ce Mon Sep 17 00:00:00 2001
 From: Gabriel Barbu <gabriel.barbu@enea.com>
 Date: Thu, 25 Jul 2013 15:28:33 +0200
 Subject: [PATCH] strace: Add ptest
@@ -10,14 +10,14 @@ Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
 
 ---
- tests/Makefile.am | 19 +++++++++++++++++++
- 1 file changed, 19 insertions(+)
+ tests/Makefile.am | 20 ++++++++++++++++++++
+ 1 file changed, 20 insertions(+)
 
 diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 8cf4c36..66162eb 100644
+index b8efce8..fa9a1af 100644
 --- a/tests/Makefile.am
 +++ b/tests/Makefile.am
-@@ -15,6 +15,7 @@ SIZEOF_LONG = @SIZEOF_LONG@
+@@ -16,6 +16,7 @@ SIZEOF_LONG = @SIZEOF_LONG@
  MPERS_NAME =
  MPERS_CC_FLAGS =
  ARCH_MFLAGS =
@@ -25,16 +25,17 @@ index 8cf4c36..66162eb 100644
  AM_CFLAGS = $(WARN_CFLAGS)
  AM_CPPFLAGS = $(ARCH_MFLAGS) \
  	      -I$(builddir) \
-@@ -538,3 +539,21 @@ BUILT_SOURCES = ksysent.h
+@@ -692,3 +693,22 @@ BUILT_SOURCES = ksysent.h
  CLEANFILES = ksysent.h
  
- include ../scno.am
+ include ../src/scno.am
 +
 +buildtest-TESTS: $(check_PROGRAMS) $(TESTS)
 +
 +install-ptest:
-+	install $(BUILDDIR)/strace $(DESTDIR)
-+	install $(srcdir)/../strace-log-merge $(DESTDIR)
++	install -d $(DESTDIR)/src
++	install $(BUILDDIR)/src/strace $(DESTDIR)/src
++	install $(srcdir)/../src/strace-log-merge $(DESTDIR)/src
 +	install -d $(DESTDIR)/$(TESTDIR)
 +	cp $(BUILDDIR)/$(TESTDIR)/Makefile $(DESTDIR)/$(TESTDIR)
 +	sed -i -e 's/^Makefile:/_Makefile:/' $(DESTDIR)/$(TESTDIR)/Makefile
diff --git a/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch b/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
deleted file mode 100644
index e8dbd7f273..0000000000
--- a/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From d87a7feb5ea75da7061afdd473faba044ec8eb0f Mon Sep 17 00:00:00 2001
-From: Andre McCurdy <armccurdy@gmail.com>
-Date: Mon, 18 Jan 2016 13:33:50 -0800
-Subject: [PATCH] strace: remove need for scripts
-
-git-version-gen copyright-year-gen file-date-gen are not included in
-tarball releases, so we need to avoid attempts to call them.
-
-Upstream-Status: Inappropriate [configuration]
-
-Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
-Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-
----
- configure.ac | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index dd4f13f..65f000b 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -12,12 +12,12 @@
- 
- AC_PREREQ(2.57)
- AC_INIT([strace],
--	st_esyscmd_s([./git-version-gen .tarball-version]),
-+	m4_esyscmd_s([cat .tarball-version]),
- 	[strace-devel@lists.strace.io],
- 	[strace],
- 	[https://strace.io])
--m4_define([copyright_year], st_esyscmd_s([./copyright-year-gen .year]))
--m4_define([manpage_date], st_esyscmd_s([./file-date-gen strace.1.in]))
-+m4_define([copyright_year], m4_esyscmd_s([cat .year]))
-+m4_define([manpage_date], m4_esyscmd_s([cat .strace.1.in.date]))
- AC_COPYRIGHT([Copyright (c) 1999-]copyright_year[ The strace developers.])
- AC_CONFIG_SRCDIR([strace.c])
- AC_CONFIG_AUX_DIR([.])
diff --git a/meta/recipes-devtools/strace/strace/update-gawk-paths.patch b/meta/recipes-devtools/strace/strace/update-gawk-paths.patch
index d46b147de5..0c683496ae 100644
--- a/meta/recipes-devtools/strace/strace/update-gawk-paths.patch
+++ b/meta/recipes-devtools/strace/strace/update-gawk-paths.patch
@@ -1,4 +1,4 @@
-From 12a726b280eca94883edcb4da1eaaf8e93d41739 Mon Sep 17 00:00:00 2001
+From 4cd26cfaec255ec87f22abe886e0be89312a9671 Mon Sep 17 00:00:00 2001
 From: Andre McCurdy <armccurdy@gmail.com>
 Date: Mon, 18 Jan 2016 11:01:00 -0800
 Subject: [PATCH] update gawk paths, /bin/gawk -> /usr/bin/gawk
@@ -13,7 +13,7 @@ Upstream-Status: Inappropriate [configuration]
 Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
 
 ---
- mpers.awk                   | 2 +-
+ src/mpers.awk               | 2 +-
  tests-m32/caps.awk          | 2 +-
  tests-m32/match.awk         | 2 +-
  tests-m32/rt_sigaction.awk  | 2 +-
@@ -25,18 +25,18 @@ Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
  tests/rt_sigaction.awk      | 2 +-
  10 files changed, 10 insertions(+), 10 deletions(-)
 
-diff --git a/mpers.awk b/mpers.awk
-index 17f8f2b..d69dcd5 100644
---- a/mpers.awk
-+++ b/mpers.awk
+diff --git a/src/mpers.awk b/src/mpers.awk
+index 25a212f..b2ff53f 100644
+--- a/src/mpers.awk
++++ b/src/mpers.awk
 @@ -1,4 +1,4 @@
 -#!/bin/gawk
 +#!/usr/bin/gawk
  #
  # Copyright (c) 2015 Elvira Khabirova <lineprinter0@gmail.com>
- # Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org>
+ # Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io>
 diff --git a/tests-m32/caps.awk b/tests-m32/caps.awk
-index 941564a..0bcc3ff 100644
+index 69500ec..e5dfd87 100644
 --- a/tests-m32/caps.awk
 +++ b/tests-m32/caps.awk
 @@ -1,4 +1,4 @@
@@ -46,27 +46,27 @@ index 941564a..0bcc3ff 100644
  # This file is part of caps strace test.
  #
 diff --git a/tests-m32/match.awk b/tests-m32/match.awk
-index d91c518..ee5d908 100644
+index 1cde87c..df63f78 100644
 --- a/tests-m32/match.awk
 +++ b/tests-m32/match.awk
 @@ -1,4 +1,4 @@
 -#!/bin/gawk
 +#!/usr/bin/gawk
  #
- # Copyright (c) 2014-2018 Dmitry V. Levin <ldv@altlinux.org>
+ # Copyright (c) 2014-2021 Dmitry V. Levin <ldv@strace.io>
  # All rights reserved.
 diff --git a/tests-m32/rt_sigaction.awk b/tests-m32/rt_sigaction.awk
-index 81dd813..9cd9549 100644
+index dce78f5..573d9ea 100644
 --- a/tests-m32/rt_sigaction.awk
 +++ b/tests-m32/rt_sigaction.awk
 @@ -1,4 +1,4 @@
 -#!/bin/gawk
 +#!/usr/bin/gawk
  #
- # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@altlinux.org>
+ # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io>
  # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com>
 diff --git a/tests-mx32/caps.awk b/tests-mx32/caps.awk
-index 941564a..0bcc3ff 100644
+index 69500ec..e5dfd87 100644
 --- a/tests-mx32/caps.awk
 +++ b/tests-mx32/caps.awk
 @@ -1,4 +1,4 @@
@@ -76,27 +76,27 @@ index 941564a..0bcc3ff 100644
  # This file is part of caps strace test.
  #
 diff --git a/tests-mx32/match.awk b/tests-mx32/match.awk
-index d91c518..ee5d908 100644
+index 1cde87c..df63f78 100644
 --- a/tests-mx32/match.awk
 +++ b/tests-mx32/match.awk
 @@ -1,4 +1,4 @@
 -#!/bin/gawk
 +#!/usr/bin/gawk
  #
- # Copyright (c) 2014-2018 Dmitry V. Levin <ldv@altlinux.org>
+ # Copyright (c) 2014-2021 Dmitry V. Levin <ldv@strace.io>
  # All rights reserved.
 diff --git a/tests-mx32/rt_sigaction.awk b/tests-mx32/rt_sigaction.awk
-index 81dd813..9cd9549 100644
+index dce78f5..573d9ea 100644
 --- a/tests-mx32/rt_sigaction.awk
 +++ b/tests-mx32/rt_sigaction.awk
 @@ -1,4 +1,4 @@
 -#!/bin/gawk
 +#!/usr/bin/gawk
  #
- # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@altlinux.org>
+ # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io>
  # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com>
 diff --git a/tests/caps.awk b/tests/caps.awk
-index 941564a..0bcc3ff 100644
+index 69500ec..e5dfd87 100644
 --- a/tests/caps.awk
 +++ b/tests/caps.awk
 @@ -1,4 +1,4 @@
@@ -106,22 +106,22 @@ index 941564a..0bcc3ff 100644
  # This file is part of caps strace test.
  #
 diff --git a/tests/match.awk b/tests/match.awk
-index d91c518..ee5d908 100644
+index 1cde87c..df63f78 100644
 --- a/tests/match.awk
 +++ b/tests/match.awk
 @@ -1,4 +1,4 @@
 -#!/bin/gawk
 +#!/usr/bin/gawk
  #
- # Copyright (c) 2014-2018 Dmitry V. Levin <ldv@altlinux.org>
+ # Copyright (c) 2014-2021 Dmitry V. Levin <ldv@strace.io>
  # All rights reserved.
 diff --git a/tests/rt_sigaction.awk b/tests/rt_sigaction.awk
-index 81dd813..9cd9549 100644
+index dce78f5..573d9ea 100644
 --- a/tests/rt_sigaction.awk
 +++ b/tests/rt_sigaction.awk
 @@ -1,4 +1,4 @@
 -#!/bin/gawk
 +#!/usr/bin/gawk
  #
- # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@altlinux.org>
+ # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io>
  # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com>
diff --git a/meta/recipes-devtools/strace/strace_5.10.bb b/meta/recipes-devtools/strace/strace_5.11.bb
similarity index 79%
rename from meta/recipes-devtools/strace/strace_5.10.bb
rename to meta/recipes-devtools/strace/strace_5.11.bb
index 17bde082a3..f6a91df1d2 100644
--- a/meta/recipes-devtools/strace/strace_5.10.bb
+++ b/meta/recipes-devtools/strace/strace_5.11.bb
@@ -3,10 +3,9 @@ HOMEPAGE = "http://strace.io"
 DESCRIPTION = "strace is a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor and tamper with interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state."
 SECTION = "console/utils"
 LICENSE = "LGPL-2.1+ & GPL-2+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=c756d9d5dabc27663df64f0bf492166c"
+LIC_FILES_CHKSUM = "file://COPYING;md5=318cfc887fc8723f4e9d4709b55e065b"
 
 SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
-           file://disable-git-version-gen.patch \
            file://update-gawk-paths.patch \
            file://Makefile-ptest.patch \
            file://run-ptest \
@@ -16,7 +15,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
            file://uintptr_t.patch \
            file://0001-strace-fix-reproducibilty-issues.patch \
            "
-SRC_URI[sha256sum] = "fe3982ea4cd9aeb3b4ba35f6279f0b577a37175d3282be24b9a5537b56b8f01c"
+SRC_URI[sha256sum] = "ffe340b10c145a0f85734271e9cce56457d23f21a7ea5931ab32f8cf4e793879"
 
 inherit autotools ptest
 
@@ -34,19 +33,16 @@ CFLAGS_append_libc-musl = " -Dsigcontext_struct=sigcontext"
 TESTDIR = "tests"
 PTEST_BUILD_HOST_PATTERN = "^(DEB_CHANGELOGTIME|RPM_CHANGELOGTIME|WARN_CFLAGS_FOR_BUILD|LDFLAGS_FOR_BUILD)"
 
-do_install_append() {
-	# We don't ship strace-graph here because it needs perl
-	rm ${D}${bindir}/strace-graph
-}
-
 do_compile_ptest() {
-	oe_runmake -C ${TESTDIR} buildtest-TESTS
+	oe_runmake ${PARALLEL_MAKE} -C ${TESTDIR} buildtest-TESTS
 }
 
 do_install_ptest() {
 	oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR}
-	install -m 755 ${S}/test-driver ${D}${PTEST_PATH}
-	install -m 644 ${B}/config.h ${D}${PTEST_PATH}
+	mkdir -p ${D}${PTEST_PATH}/build-aux
+	mkdir -p ${D}${PTEST_PATH}/src
+	install -m 755 ${S}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/
+	install -m 644 ${B}/src/config.h ${D}${PTEST_PATH}/src/
         sed -i -e '/^src/s/strace.*[0-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
 }
 
-- 
2.29.2


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

* [PATCH 12/16] automake: update 1.16.2 - > 1.16.3
  2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
                   ` (9 preceding siblings ...)
  2021-03-19  8:43 ` [PATCH 11/16] strace: update 5.10 -> 5.11 Alexander Kanavin
@ 2021-03-19  8:43 ` Alexander Kanavin
  2021-03-20  3:45   ` [OE-core] " Khem Raj
  2021-03-19  8:43 ` [PATCH 13/16] xxhash: import from meta-oe Alexander Kanavin
                   ` (3 subsequent siblings)
  14 siblings, 1 reply; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Drop automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch;
upstream has fixed the issue.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 ...in-shebangs-with-modern-use-warnings.patch | 60 -------------------
 .../automake/automake/python-libdir.patch     | 16 ++---
 ...{automake_1.16.2.bb => automake_1.16.3.bb} | 18 +++---
 3 files changed, 16 insertions(+), 78 deletions(-)
 delete mode 100644 meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
 rename meta/recipes-devtools/automake/{automake_1.16.2.bb => automake_1.16.3.bb} (61%)

diff --git a/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch b/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
deleted file mode 100644
index 0e84c4bf86..0000000000
--- a/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From 857c843d4bcf576467b505eb05a47f3e7d32caaa Mon Sep 17 00:00:00 2001
-From: Serhii Popovych <spopovyc@cisco.com>
-Date: Wed, 10 Feb 2016 17:07:32 +0000
-Subject: [PATCH] perl: Replace -w option in shebangs with modern "use
- warnings" In some builds we might provide ac_cv_path_PERL as /usr/bin/env
- perl to use newer version of the perl from users PATH rather than older from
- standard system path.
-
-However using /usr/bin/env perl -w from shebang line isn't
-possible because it translates to something like
-/usr/bin/env -w perl and env complains about illegal option.
-
-To address this we can remove -w option from perl shebang
-line and add "use warnings" statement.
-
-Upstream-Status: Pending
-Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
-Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-
----
- bin/aclocal.in  | 3 ++-
- bin/automake.in | 3 ++-
- 2 files changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/bin/aclocal.in b/bin/aclocal.in
-index 9a20325..bd185d4 100644
---- a/bin/aclocal.in
-+++ b/bin/aclocal.in
-@@ -1,4 +1,4 @@
--#!@PERL@ -w
-+#!@PERL@
- # aclocal - create aclocal.m4 by scanning configure.ac      -*- perl -*-
- # @configure_input@
- # Copyright (C) 1996-2020 Free Software Foundation, Inc.
-@@ -26,6 +26,7 @@ BEGIN
- }
- 
- use strict;
-+use warnings;
- 
- use Automake::Config;
- use Automake::General;
-diff --git a/bin/automake.in b/bin/automake.in
-index 5ed404a..d387b8e 100644
---- a/bin/automake.in
-+++ b/bin/automake.in
-@@ -1,4 +1,4 @@
--#!@PERL@ -w
-+#!@PERL@
- # automake - create Makefile.in from Makefile.am            -*- perl -*-
- # @configure_input@
- # Copyright (C) 1994-2020 Free Software Foundation, Inc.
-@@ -23,6 +23,7 @@
- package Automake;
- 
- use strict;
-+use warnings;
- 
- BEGIN
- {
diff --git a/meta/recipes-devtools/automake/automake/python-libdir.patch b/meta/recipes-devtools/automake/automake/python-libdir.patch
index ee1f725f76..f319fc001b 100644
--- a/meta/recipes-devtools/automake/automake/python-libdir.patch
+++ b/meta/recipes-devtools/automake/automake/python-libdir.patch
@@ -1,4 +1,4 @@
-From a80dacd5124d0713cf2c986b28d736e78dc6b0ca Mon Sep 17 00:00:00 2001
+From 61bd143910001aaf610416d7ca56c52c0b081318 Mon Sep 17 00:00:00 2001
 From: Kumar Gala <galak@kernel.crashing.org>
 Date: Thu, 11 Aug 2011 01:26:33 -0500
 Subject: [PATCH] automake: Update for python.m4 to respect libdir
@@ -17,11 +17,11 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
  1 file changed, 7 insertions(+), 20 deletions(-)
 
 diff --git a/m4/python.m4 b/m4/python.m4
-index 63c0a0e..7bbd2d2 100644
+index b2302ba..dbc6954 100644
 --- a/m4/python.m4
 +++ b/m4/python.m4
-@@ -94,12 +94,13 @@ AC_DEFUN([AM_PATH_PYTHON],
-     [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`])
+@@ -96,12 +96,13 @@ AC_DEFUN([AM_PATH_PYTHON],
+     [am_cv_python_version=`$PYTHON -c "import sys; print('%u.%u' % sys.version_info[[:2]])"`])
    AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
  
 -  dnl Use the values of $prefix and $exec_prefix for the corresponding
@@ -36,7 +36,7 @@ index 63c0a0e..7bbd2d2 100644
    AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
  
    dnl At times (like when building shared libraries) you may want
-@@ -144,14 +145,7 @@ except ImportError:
+@@ -146,14 +147,7 @@ except ImportError:
       else
         am_py_prefix=$prefix
       fi
@@ -52,7 +52,7 @@ index 63c0a0e..7bbd2d2 100644
       case $am_cv_python_pythondir in
       $am_py_prefix*)
         am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
-@@ -161,7 +155,7 @@ sys.stdout.write(sitedir)"`
+@@ -163,7 +157,7 @@ sys.stdout.write(sitedir)"`
         case $am_py_prefix in
           /usr|/System*) ;;
           *)
@@ -61,7 +61,7 @@ index 63c0a0e..7bbd2d2 100644
  	  ;;
         esac
         ;;
-@@ -186,14 +180,7 @@ sys.stdout.write(sitedir)"`
+@@ -188,14 +182,7 @@ sys.stdout.write(sitedir)"`
       else
         am_py_exec_prefix=$exec_prefix
       fi
@@ -77,7 +77,7 @@ index 63c0a0e..7bbd2d2 100644
       case $am_cv_python_pyexecdir in
       $am_py_exec_prefix*)
         am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
-@@ -203,7 +190,7 @@ sys.stdout.write(sitedir)"`
+@@ -205,7 +192,7 @@ sys.stdout.write(sitedir)"`
         case $am_py_exec_prefix in
           /usr|/System*) ;;
           *)
diff --git a/meta/recipes-devtools/automake/automake_1.16.2.bb b/meta/recipes-devtools/automake/automake_1.16.3.bb
similarity index 61%
rename from meta/recipes-devtools/automake/automake_1.16.2.bb
rename to meta/recipes-devtools/automake/automake_1.16.3.bb
index 08ec034626..7dc59d9fe7 100644
--- a/meta/recipes-devtools/automake/automake_1.16.2.bb
+++ b/meta/recipes-devtools/automake/automake_1.16.3.bb
@@ -19,16 +19,14 @@ RDEPENDS_${PN} += "\
 RDEPENDS_${PN}_class-native = "autoconf-native hostperl-runtime-native"
 
 SRC_URI += "file://python-libdir.patch \
-            file://buildtest.patch \
-            file://performance.patch \
-            file://new_rt_path_for_test-driver.patch \
-            file://automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch \
-            file://0001-automake-Add-default-libtool_tag-to-cppasm.patch \
-            file://0001-build-fix-race-in-parallel-builds.patch \
-            "
-
-SRC_URI[md5sum] = "f1a14f2ab2b0fb861a011e1d94e589e0"
-SRC_URI[sha256sum] = "b2f361094b410b4acbf4efba7337bdb786335ca09eb2518635a09fb7319ca5c1"
+           file://buildtest.patch \
+           file://performance.patch \
+           file://new_rt_path_for_test-driver.patch \
+           file://0001-automake-Add-default-libtool_tag-to-cppasm.patch \
+           file://0001-build-fix-race-in-parallel-builds.patch \
+           "
+
+SRC_URI[sha256sum] = "ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f"
 
 PERL = "${USRBINPATH}/perl"
 PERL_class-native = "${USRBINPATH}/env perl"
-- 
2.29.2


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

* [PATCH 13/16] xxhash: import from meta-oe
  2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
                   ` (10 preceding siblings ...)
  2021-03-19  8:43 ` [PATCH 12/16] automake: update 1.16.2 - > 1.16.3 Alexander Kanavin
@ 2021-03-19  8:43 ` Alexander Kanavin
  2021-03-19  8:43 ` [PATCH 14/16] apt: update 1.8.2.2 -> 2.2.2 Alexander Kanavin
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

This is needed for newer versions of apt.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/conf/distro/include/maintainers.inc    |  1 +
 meta/recipes-support/xxhash/xxhash_0.8.0.bb | 23 +++++++++++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 meta/recipes-support/xxhash/xxhash_0.8.0.bb

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 99aaa1e763..048ad9d9c3 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -799,6 +799,7 @@ RECIPE_MAINTAINER_pn-xuser-account = "Armin Kuster <akuster808@gmail.com>"
 RECIPE_MAINTAINER_pn-xvinfo = "Armin Kuster <akuster808@gmail.com>"
 RECIPE_MAINTAINER_pn-xwayland = "Armin Kuster <akuster808@gmail.com>"
 RECIPE_MAINTAINER_pn-xwininfo = "Armin Kuster <akuster808@gmail.com>"
+RECIPE_MAINTAINER_pn-xxhash = "Alexander Kanavin <alex.kanavin@gmail.com>"
 RECIPE_MAINTAINER_pn-xz = "Denys Dmytriyenko <denis@denix.org>"
 RECIPE_MAINTAINER_pn-zip = "Denys Dmytriyenko <denis@denix.org>"
 RECIPE_MAINTAINER_pn-zlib = "Denys Dmytriyenko <denis@denix.org>"
diff --git a/meta/recipes-support/xxhash/xxhash_0.8.0.bb b/meta/recipes-support/xxhash/xxhash_0.8.0.bb
new file mode 100644
index 0000000000..9e38872361
--- /dev/null
+++ b/meta/recipes-support/xxhash/xxhash_0.8.0.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Extremely fast non-cryptographic hash algorithm"
+DESCRIPTION = "xxHash is an extremely fast non-cryptographic hash algorithm, \
+working at speeds close to RAM limits."
+HOMEPAGE = "http://www.xxhash.com/"
+LICENSE = "BSD-2-Clause & GPL-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b335320506abb0505437e39295e799cb"
+
+SRC_URI = "git://github.com/Cyan4973/xxHash.git;branch=release;protocol=git"
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
+
+SRCREV = "94e5f23e736f2bb67ebdf90727353e65344f9fc0"
+
+S = "${WORKDIR}/git"
+
+do_compile () {
+	oe_runmake all
+}
+
+do_install () {
+	oe_runmake DESTDIR=${D} install
+}
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.29.2


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

* [PATCH 14/16] apt: update 1.8.2.2 -> 2.2.2
  2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
                   ` (11 preceding siblings ...)
  2021-03-19  8:43 ` [PATCH 13/16] xxhash: import from meta-oe Alexander Kanavin
@ 2021-03-19  8:43 ` Alexander Kanavin
  2021-03-19  8:44 ` [PATCH 15/16] apt: mark as incompatible with musl Alexander Kanavin
  2021-03-19  8:44 ` [PATCH 16/16] libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat Alexander Kanavin
  14 siblings, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:43 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Drop 0001-test-libapt-do-not-use-gtest-from-the-host.patch
(replaced by WITH_TESTS option).

Drop 0001-Do-not-configure-packages-on-installation.patch
(no longer necessary).

Adjust build dependencies.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 ...e-documentation-directory-altogether.patch |  8 ++--
 ...t-configure-packages-on-installation.patch | 48 -------------------
 ...-init-tables-from-dpkg-configuration.patch |  4 +-
 ...n-dpkg-configure-a-at-the-end-of-our.patch | 10 ++--
 ...ibapt-do-not-use-gtest-from-the-host.patch | 40 ----------------
 .../apt/{apt_1.8.2.2.bb => apt_2.2.2.bb}      |  9 ++--
 6 files changed, 14 insertions(+), 105 deletions(-)
 delete mode 100644 meta/recipes-devtools/apt/apt/0001-Do-not-configure-packages-on-installation.patch
 delete mode 100644 meta/recipes-devtools/apt/apt/0001-test-libapt-do-not-use-gtest-from-the-host.patch
 rename meta/recipes-devtools/apt/{apt_1.8.2.2.bb => apt_2.2.2.bb} (89%)

diff --git a/meta/recipes-devtools/apt/apt/0001-Disable-documentation-directory-altogether.patch b/meta/recipes-devtools/apt/apt/0001-Disable-documentation-directory-altogether.patch
index cc422b74dc..8b28ede8a8 100644
--- a/meta/recipes-devtools/apt/apt/0001-Disable-documentation-directory-altogether.patch
+++ b/meta/recipes-devtools/apt/apt/0001-Disable-documentation-directory-altogether.patch
@@ -1,4 +1,4 @@
-From cd164b353ba7958d51b2f33f4079fb9787c983e2 Mon Sep 17 00:00:00 2001
+From f629d1c3fcfb560ed24efc3e73d4e4999b1eab33 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <alex.kanavin@gmail.com>
 Date: Fri, 10 May 2019 14:16:47 +0200
 Subject: [PATCH] Disable documentation directory altogether
@@ -13,11 +13,11 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 83334ba..2cd4f8e 100644
+index 9745c13..7cfc9ee 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -232,7 +232,7 @@ add_subdirectory(apt-private)
- add_subdirectory(apt-inst)
+@@ -239,7 +239,7 @@ add_subdirectory(apt-pkg)
+ add_subdirectory(apt-private)
  add_subdirectory(cmdline)
  add_subdirectory(completions)
 -add_subdirectory(doc)
diff --git a/meta/recipes-devtools/apt/apt/0001-Do-not-configure-packages-on-installation.patch b/meta/recipes-devtools/apt/apt/0001-Do-not-configure-packages-on-installation.patch
deleted file mode 100644
index 81b328a2ee..0000000000
--- a/meta/recipes-devtools/apt/apt/0001-Do-not-configure-packages-on-installation.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 96d23fc57d1ff9c851d563d6d6a6c4752dc4f1b6 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Thu, 21 May 2020 20:28:12 +0000
-Subject: [PATCH] Do not configure packages on installation
-
-This is done separately in do_rootfs().
-
-Upstream-Status: Inappropriate [oe-core specific]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
-
----
- apt-pkg/packagemanager.cc | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc
-index 156f7ad..0f6a87c 100644
---- a/apt-pkg/packagemanager.cc
-+++ b/apt-pkg/packagemanager.cc
-@@ -1013,10 +1013,12 @@ bool pkgPackageManager::SmartUnPack(PkgIterator Pkg, bool const Immediate, int c
-       return false;
- 
-    if (Immediate == true) {
-+#if 0
-       // Perform immediate configuration of the package. 
-          if (SmartConfigure(Pkg, Depth + 1) == false)
-             _error->Error(_("Could not perform immediate configuration on '%s'. "
-                "Please see man 5 apt.conf under APT::Immediate-Configure for details. (%d)"),Pkg.FullName().c_str(),2);
-+#endif
-    }
-    
-    return true;
-@@ -1111,6 +1113,7 @@ pkgPackageManager::OrderResult pkgPackageManager::OrderInstall()
-       }
-    }
- 
-+#if 0
-    // Final run through the configure phase
-    if (ConfigureAll() == false)
-       return Failed;
-@@ -1125,7 +1128,7 @@ pkgPackageManager::OrderResult pkgPackageManager::OrderInstall()
- 	 return Failed;
-       }
-    }
--	 
-+#endif	 
-    return Completed;
- }
- // PM::DoInstallPostFork - compat /*{{{*/
diff --git a/meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch b/meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch
index 1417153e81..e0e7e0cd58 100644
--- a/meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch
+++ b/meta/recipes-devtools/apt/apt/0001-Do-not-init-tables-from-dpkg-configuration.patch
@@ -1,4 +1,4 @@
-From bf45c314867e5fb12141803fba06f3e45679d628 Mon Sep 17 00:00:00 2001
+From 382f8381ef8baf754057e376a6d9bf840ca6d543 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <alex.kanavin@gmail.com>
 Date: Fri, 10 May 2019 16:47:38 +0200
 Subject: [PATCH] Do not init tables from dpkg configuration
@@ -13,7 +13,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc
-index a619368..6e5a6cf 100644
+index b9d9b15..1725c59 100644
 --- a/apt-pkg/init.cc
 +++ b/apt-pkg/init.cc
 @@ -281,8 +281,8 @@ bool pkgInitSystem(Configuration &Cnf,pkgSystem *&Sys)
diff --git a/meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch b/meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch
index 37f969690c..c14dc2a414 100644
--- a/meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch
+++ b/meta/recipes-devtools/apt/apt/0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch
@@ -1,4 +1,4 @@
-From 34700bebc52659e7e3eecd252f65bd36e669eee8 Mon Sep 17 00:00:00 2001
+From a603b3281f3f60a87531c8cec4843f970170d409 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <alex.kanavin@gmail.com>
 Date: Thu, 21 May 2020 20:13:25 +0000
 Subject: [PATCH] Revert "always run 'dpkg --configure -a' at the end of our
@@ -20,10 +20,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
  1 file changed, 2 insertions(+), 7 deletions(-)
 
 diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
-index ffa880d..5875e86 100644
+index 46a6dee..8617a9e 100644
 --- a/apt-pkg/deb/dpkgpm.cc
 +++ b/apt-pkg/deb/dpkgpm.cc
-@@ -1215,12 +1215,6 @@ void pkgDPkgPM::BuildPackagesProgressMap()
+@@ -1211,12 +1211,6 @@ void pkgDPkgPM::BuildPackagesProgressMap()
  	 }
        }
     }
@@ -35,8 +35,8 @@ index ffa880d..5875e86 100644
 -   ++PackagesTotal;
  }
                                                                          /*}}}*/
- bool pkgDPkgPM::Go(int StatusFd)					/*{{{*/
-@@ -1716,7 +1710,8 @@ bool pkgDPkgPM::Go(APT::Progress::PackageManager *progress)
+ void pkgDPkgPM::StartPtyMagic()						/*{{{*/
+@@ -1710,7 +1704,8 @@ bool pkgDPkgPM::Go(APT::Progress::PackageManager *progress)
  
        // support subpressing of triggers processing for special
        // cases like d-i that runs the triggers handling manually
diff --git a/meta/recipes-devtools/apt/apt/0001-test-libapt-do-not-use-gtest-from-the-host.patch b/meta/recipes-devtools/apt/apt/0001-test-libapt-do-not-use-gtest-from-the-host.patch
deleted file mode 100644
index 503b5a5c0b..0000000000
--- a/meta/recipes-devtools/apt/apt/0001-test-libapt-do-not-use-gtest-from-the-host.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 28e389a0d1275e7693df84a7d4a58b28364be1a9 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-Date: Thu, 22 Oct 2020 17:33:38 +0200
-Subject: [PATCH] test/libapt: do not use gtest from the host
-
-This really does not work when cross-compiling.
-
-Upstream-Status: Inappropriate [oe-core specific]
-Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
----
- test/libapt/CMakeLists.txt | 16 ----------------
- 1 file changed, 16 deletions(-)
-
-diff --git a/test/libapt/CMakeLists.txt b/test/libapt/CMakeLists.txt
-index 035ff07..280b83c 100644
---- a/test/libapt/CMakeLists.txt
-+++ b/test/libapt/CMakeLists.txt
-@@ -6,22 +6,6 @@ find_path(GTEST_ROOT src/gtest.cc
- find_package(GTest)
- set(GTEST_DEPENDENCIES)
- 
--if(NOT GTEST_FOUND AND EXISTS ${GTEST_ROOT})
--   include(ExternalProject)
--   ExternalProject_Add(gtest PREFIX ./gtest
--                             SOURCE_DIR ${GTEST_ROOT}
--                             INSTALL_COMMAND true)
--
--   link_directories(${CMAKE_CURRENT_BINARY_DIR}/gtest/src/gtest-build)
--
--   set(GTEST_LIBRARIES "-lgtest")
--   set(GTEST_DEPENDENCIES "gtest")
--   set(GTEST_FOUND TRUE)
--   find_path(GTEST_INCLUDE_DIRS NAMES gtest/gtest.h PATHS ${GTEST_ROOT}/include)
--
--   message(STATUS "Found GTest at ${GTEST_ROOT}, headers at ${GTEST_INCLUDE_DIRS}")
--endif()
--
- if(GTEST_FOUND)
-    # gtest produces some warnings with the set of warnings we activate,
-    # so disable the offending warnings while compiling tests for now
diff --git a/meta/recipes-devtools/apt/apt_1.8.2.2.bb b/meta/recipes-devtools/apt/apt_2.2.2.bb
similarity index 89%
rename from meta/recipes-devtools/apt/apt_1.8.2.2.bb
rename to meta/recipes-devtools/apt/apt_2.2.2.bb
index 6cda61a7d8..b838495da8 100644
--- a/meta/recipes-devtools/apt/apt_1.8.2.2.bb
+++ b/meta/recipes-devtools/apt/apt_2.2.2.bb
@@ -10,22 +10,19 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/${BPN}_${PV}.tar.xz \
            file://0001-Disable-documentation-directory-altogether.patch \
            file://0001-Fix-musl-build.patch \
            file://0001-CMakeLists.txt-avoid-changing-install-paths-based-on.patch \
-           file://0001-test-libapt-do-not-use-gtest-from-the-host.patch \
            "
      
 SRC_URI_append_class-native = " \
            file://0001-Do-not-init-tables-from-dpkg-configuration.patch \
            file://0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch \
-           file://0001-Do-not-configure-packages-on-installation.patch \
            "
 
 SRC_URI_append_class-nativesdk = " \
            file://0001-Do-not-init-tables-from-dpkg-configuration.patch \
            file://0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch \
-           file://0001-Do-not-configure-packages-on-installation.patch \
            "
 
-SRC_URI[sha256sum] = "f5030de22a5cc80db6fe0d42373b5df25d7dc56e94d9155f2eaa80dbd65e82fa"
+SRC_URI[sha256sum] = "c5449a4c2126a12497a9949cd10209926005d329f6ce7942a3781fa2fcf50487"
 LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 # the package is taken from snapshots.debian.org; that source is static and goes stale
@@ -40,12 +37,12 @@ USERADD_PARAM_${PN} = "--system --home /nonexistent --no-create-home _apt"
 
 BBCLASSEXTEND = "native nativesdk"
 
-DEPENDS += "virtual/libiconv virtual/libintl db gnutls lz4 zlib bzip2 xz"
+DEPENDS += "db gnutls lz4 zlib bzip2 xz libgcrypt xxhash"
 
 EXTRA_OECMAKE_append = " -DCURRENT_VENDOR=debian -DWITH_DOC=False \
     -DUSE_NLS=False -DDPKG_DATADIR=${datadir}/dpkg \
     -DTRIEHASH_EXECUTABLE=${WORKDIR}/triehash \
-    -DCMAKE_DISABLE_FIND_PACKAGE_Zstd=True \
+    -DWITH_TESTS=False \
 "
 
 do_configure_prepend () {
-- 
2.29.2


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

* [PATCH 15/16] apt: mark as incompatible with musl
  2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
                   ` (12 preceding siblings ...)
  2021-03-19  8:43 ` [PATCH 14/16] apt: update 1.8.2.2 -> 2.2.2 Alexander Kanavin
@ 2021-03-19  8:44 ` Alexander Kanavin
  2021-03-19 16:58   ` [OE-core] " Khem Raj
  2021-03-19  8:44 ` [PATCH 16/16] libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat Alexander Kanavin
  14 siblings, 1 reply; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:44 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

There are multiple failures with the new version; unless
someone steps up to fix them, let's exclude for now.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta/recipes-devtools/apt/apt_2.2.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/apt/apt_2.2.2.bb b/meta/recipes-devtools/apt/apt_2.2.2.bb
index b838495da8..52ca7e97a1 100644
--- a/meta/recipes-devtools/apt/apt_2.2.2.bb
+++ b/meta/recipes-devtools/apt/apt_2.2.2.bb
@@ -39,6 +39,8 @@ BBCLASSEXTEND = "native nativesdk"
 
 DEPENDS += "db gnutls lz4 zlib bzip2 xz libgcrypt xxhash"
 
+COMPATIBLE_HOST_libc-musl = 'null'
+
 EXTRA_OECMAKE_append = " -DCURRENT_VENDOR=debian -DWITH_DOC=False \
     -DUSE_NLS=False -DDPKG_DATADIR=${datadir}/dpkg \
     -DTRIEHASH_EXECUTABLE=${WORKDIR}/triehash \
-- 
2.29.2


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

* [PATCH 16/16] libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat
  2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
                   ` (13 preceding siblings ...)
  2021-03-19  8:44 ` [PATCH 15/16] apt: mark as incompatible with musl Alexander Kanavin
@ 2021-03-19  8:44 ` Alexander Kanavin
  14 siblings, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-19  8:44 UTC (permalink / raw)
  To: openembedded-core; +Cc: Alexander Kanavin

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 ...e.ac-do-not-use-compute-symver-floor.patch | 32 +++++++++++++++++++
 meta/recipes-core/libxcrypt/libxcrypt.inc     |  4 ++-
 2 files changed, 35 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-core/libxcrypt/files/0001-configure.ac-do-not-use-compute-symver-floor.patch

diff --git a/meta/recipes-core/libxcrypt/files/0001-configure.ac-do-not-use-compute-symver-floor.patch b/meta/recipes-core/libxcrypt/files/0001-configure.ac-do-not-use-compute-symver-floor.patch
new file mode 100644
index 0000000000..4e6b427104
--- /dev/null
+++ b/meta/recipes-core/libxcrypt/files/0001-configure.ac-do-not-use-compute-symver-floor.patch
@@ -0,0 +1,32 @@
+From b28bb856ccebe8fded51d11362bf5920699eed59 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex.kanavin@gmail.com>
+Date: Thu, 18 Mar 2021 10:52:13 +0000
+Subject: [PATCH] configure.ac: do not use compute-symver-floor
+
+This script (newly introduced in 4.4.18) sporadically fails, without
+failing configure(), which has been reported at
+https://github.com/besser82/libxcrypt/issues/123
+
+Upstream-Status: Inappropriate
+Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
+---
+ configure.ac | 6 +-----
+ 1 file changed, 1 insertion(+), 5 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 45b91b4..f3ba945 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -426,11 +426,7 @@ if test x$enable_shared != xyes; then enable_obsolete_api=0; fi
+ # need to be binary backward compatible with.
+ if test $enable_obsolete_api = 1; then
+   AC_MSG_CHECKING([minimum symbol version to use for compatibility symbols])
+-  SYMVER_FLOOR=$(
+-    $PERL ${srcdir}/build-aux/compute-symver-floor \
+-      ${srcdir}/lib/libcrypt.minver $host_os $host_cpu \
+-    2>&AS_MESSAGE_LOG_FD
+-  )
++  SYMVER_FLOOR=GLIBC_2.0
+   AC_MSG_RESULT([$SYMVER_FLOOR])
+   case "$SYMVER_FLOOR" in
+     ERROR)
diff --git a/meta/recipes-core/libxcrypt/libxcrypt.inc b/meta/recipes-core/libxcrypt/libxcrypt.inc
index e9f968b556..b5ca863d54 100644
--- a/meta/recipes-core/libxcrypt/libxcrypt.inc
+++ b/meta/recipes-core/libxcrypt/libxcrypt.inc
@@ -9,7 +9,9 @@ LIC_FILES_CHKSUM = "file://LICENSING;md5=bd5d9777dfe7076c4f2928f12fed226a \
 
 inherit autotools pkgconfig
 
-SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH}"
+SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH} \
+           file://0001-configure.ac-do-not-use-compute-symver-floor.patch \
+           "
 SRCREV = "94d84f92ca123d851586016c4678eb1f21c19029"
 SRCBRANCH ?= "develop"
 
-- 
2.29.2


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

* Re: [OE-core] [PATCH 15/16] apt: mark as incompatible with musl
  2021-03-19  8:44 ` [PATCH 15/16] apt: mark as incompatible with musl Alexander Kanavin
@ 2021-03-19 16:58   ` Khem Raj
  2021-03-20  9:13     ` Alexander Kanavin
  0 siblings, 1 reply; 23+ messages in thread
From: Khem Raj @ 2021-03-19 16:58 UTC (permalink / raw)
  To: Alexander Kanavin, openembedded-core



On 3/19/21 1:44 AM, Alexander Kanavin wrote:
> There are multiple failures with the new version; unless

Can you share details of failures ?
it would be better to not regress whats working

> someone steps up to fix them, let's exclude for now.
> 
> Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> ---
>   meta/recipes-devtools/apt/apt_2.2.2.bb | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-devtools/apt/apt_2.2.2.bb b/meta/recipes-devtools/apt/apt_2.2.2.bb
> index b838495da8..52ca7e97a1 100644
> --- a/meta/recipes-devtools/apt/apt_2.2.2.bb
> +++ b/meta/recipes-devtools/apt/apt_2.2.2.bb
> @@ -39,6 +39,8 @@ BBCLASSEXTEND = "native nativesdk"
>   
>   DEPENDS += "db gnutls lz4 zlib bzip2 xz libgcrypt xxhash"
>   
> +COMPATIBLE_HOST_libc-musl = 'null'
> +
>   EXTRA_OECMAKE_append = " -DCURRENT_VENDOR=debian -DWITH_DOC=False \
>       -DUSE_NLS=False -DDPKG_DATADIR=${datadir}/dpkg \
>       -DTRIEHASH_EXECUTABLE=${WORKDIR}/triehash \
> 
> 
> 
> 
> 

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

* Re: [OE-core] [PATCH 12/16] automake: update 1.16.2 - > 1.16.3
  2021-03-19  8:43 ` [PATCH 12/16] automake: update 1.16.2 - > 1.16.3 Alexander Kanavin
@ 2021-03-20  3:45   ` Khem Raj
  2021-03-20 22:01     ` Khem Raj
  0 siblings, 1 reply; 23+ messages in thread
From: Khem Raj @ 2021-03-20  3:45 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: Patches and discussions about the oe-core layer

here is a related failure
https://errors.yoctoproject.org/Errors/Details/574252/

On Fri, Mar 19, 2021 at 1:45 AM Alexander Kanavin
<alex.kanavin@gmail.com> wrote:
>
> Drop automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch;
> upstream has fixed the issue.
>
> Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> ---
>  ...in-shebangs-with-modern-use-warnings.patch | 60 -------------------
>  .../automake/automake/python-libdir.patch     | 16 ++---
>  ...{automake_1.16.2.bb => automake_1.16.3.bb} | 18 +++---
>  3 files changed, 16 insertions(+), 78 deletions(-)
>  delete mode 100644 meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
>  rename meta/recipes-devtools/automake/{automake_1.16.2.bb => automake_1.16.3.bb} (61%)
>
> diff --git a/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch b/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
> deleted file mode 100644
> index 0e84c4bf86..0000000000
> --- a/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
> +++ /dev/null
> @@ -1,60 +0,0 @@
> -From 857c843d4bcf576467b505eb05a47f3e7d32caaa Mon Sep 17 00:00:00 2001
> -From: Serhii Popovych <spopovyc@cisco.com>
> -Date: Wed, 10 Feb 2016 17:07:32 +0000
> -Subject: [PATCH] perl: Replace -w option in shebangs with modern "use
> - warnings" In some builds we might provide ac_cv_path_PERL as /usr/bin/env
> - perl to use newer version of the perl from users PATH rather than older from
> - standard system path.
> -
> -However using /usr/bin/env perl -w from shebang line isn't
> -possible because it translates to something like
> -/usr/bin/env -w perl and env complains about illegal option.
> -
> -To address this we can remove -w option from perl shebang
> -line and add "use warnings" statement.
> -
> -Upstream-Status: Pending
> -Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
> -Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> -
> ----
> - bin/aclocal.in  | 3 ++-
> - bin/automake.in | 3 ++-
> - 2 files changed, 4 insertions(+), 2 deletions(-)
> -
> -diff --git a/bin/aclocal.in b/bin/aclocal.in
> -index 9a20325..bd185d4 100644
> ---- a/bin/aclocal.in
> -+++ b/bin/aclocal.in
> -@@ -1,4 +1,4 @@
> --#!@PERL@ -w
> -+#!@PERL@
> - # aclocal - create aclocal.m4 by scanning configure.ac      -*- perl -*-
> - # @configure_input@
> - # Copyright (C) 1996-2020 Free Software Foundation, Inc.
> -@@ -26,6 +26,7 @@ BEGIN
> - }
> -
> - use strict;
> -+use warnings;
> -
> - use Automake::Config;
> - use Automake::General;
> -diff --git a/bin/automake.in b/bin/automake.in
> -index 5ed404a..d387b8e 100644
> ---- a/bin/automake.in
> -+++ b/bin/automake.in
> -@@ -1,4 +1,4 @@
> --#!@PERL@ -w
> -+#!@PERL@
> - # automake - create Makefile.in from Makefile.am            -*- perl -*-
> - # @configure_input@
> - # Copyright (C) 1994-2020 Free Software Foundation, Inc.
> -@@ -23,6 +23,7 @@
> - package Automake;
> -
> - use strict;
> -+use warnings;
> -
> - BEGIN
> - {
> diff --git a/meta/recipes-devtools/automake/automake/python-libdir.patch b/meta/recipes-devtools/automake/automake/python-libdir.patch
> index ee1f725f76..f319fc001b 100644
> --- a/meta/recipes-devtools/automake/automake/python-libdir.patch
> +++ b/meta/recipes-devtools/automake/automake/python-libdir.patch
> @@ -1,4 +1,4 @@
> -From a80dacd5124d0713cf2c986b28d736e78dc6b0ca Mon Sep 17 00:00:00 2001
> +From 61bd143910001aaf610416d7ca56c52c0b081318 Mon Sep 17 00:00:00 2001
>  From: Kumar Gala <galak@kernel.crashing.org>
>  Date: Thu, 11 Aug 2011 01:26:33 -0500
>  Subject: [PATCH] automake: Update for python.m4 to respect libdir
> @@ -17,11 +17,11 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
>   1 file changed, 7 insertions(+), 20 deletions(-)
>
>  diff --git a/m4/python.m4 b/m4/python.m4
> -index 63c0a0e..7bbd2d2 100644
> +index b2302ba..dbc6954 100644
>  --- a/m4/python.m4
>  +++ b/m4/python.m4
> -@@ -94,12 +94,13 @@ AC_DEFUN([AM_PATH_PYTHON],
> -     [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`])
> +@@ -96,12 +96,13 @@ AC_DEFUN([AM_PATH_PYTHON],
> +     [am_cv_python_version=`$PYTHON -c "import sys; print('%u.%u' % sys.version_info[[:2]])"`])
>     AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
>
>  -  dnl Use the values of $prefix and $exec_prefix for the corresponding
> @@ -36,7 +36,7 @@ index 63c0a0e..7bbd2d2 100644
>     AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
>
>     dnl At times (like when building shared libraries) you may want
> -@@ -144,14 +145,7 @@ except ImportError:
> +@@ -146,14 +147,7 @@ except ImportError:
>        else
>          am_py_prefix=$prefix
>        fi
> @@ -52,7 +52,7 @@ index 63c0a0e..7bbd2d2 100644
>        case $am_cv_python_pythondir in
>        $am_py_prefix*)
>          am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
> -@@ -161,7 +155,7 @@ sys.stdout.write(sitedir)"`
> +@@ -163,7 +157,7 @@ sys.stdout.write(sitedir)"`
>          case $am_py_prefix in
>            /usr|/System*) ;;
>            *)
> @@ -61,7 +61,7 @@ index 63c0a0e..7bbd2d2 100644
>           ;;
>          esac
>          ;;
> -@@ -186,14 +180,7 @@ sys.stdout.write(sitedir)"`
> +@@ -188,14 +182,7 @@ sys.stdout.write(sitedir)"`
>        else
>          am_py_exec_prefix=$exec_prefix
>        fi
> @@ -77,7 +77,7 @@ index 63c0a0e..7bbd2d2 100644
>        case $am_cv_python_pyexecdir in
>        $am_py_exec_prefix*)
>          am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
> -@@ -203,7 +190,7 @@ sys.stdout.write(sitedir)"`
> +@@ -205,7 +192,7 @@ sys.stdout.write(sitedir)"`
>          case $am_py_exec_prefix in
>            /usr|/System*) ;;
>            *)
> diff --git a/meta/recipes-devtools/automake/automake_1.16.2.bb b/meta/recipes-devtools/automake/automake_1.16.3.bb
> similarity index 61%
> rename from meta/recipes-devtools/automake/automake_1.16.2.bb
> rename to meta/recipes-devtools/automake/automake_1.16.3.bb
> index 08ec034626..7dc59d9fe7 100644
> --- a/meta/recipes-devtools/automake/automake_1.16.2.bb
> +++ b/meta/recipes-devtools/automake/automake_1.16.3.bb
> @@ -19,16 +19,14 @@ RDEPENDS_${PN} += "\
>  RDEPENDS_${PN}_class-native = "autoconf-native hostperl-runtime-native"
>
>  SRC_URI += "file://python-libdir.patch \
> -            file://buildtest.patch \
> -            file://performance.patch \
> -            file://new_rt_path_for_test-driver.patch \
> -            file://automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch \
> -            file://0001-automake-Add-default-libtool_tag-to-cppasm.patch \
> -            file://0001-build-fix-race-in-parallel-builds.patch \
> -            "
> -
> -SRC_URI[md5sum] = "f1a14f2ab2b0fb861a011e1d94e589e0"
> -SRC_URI[sha256sum] = "b2f361094b410b4acbf4efba7337bdb786335ca09eb2518635a09fb7319ca5c1"
> +           file://buildtest.patch \
> +           file://performance.patch \
> +           file://new_rt_path_for_test-driver.patch \
> +           file://0001-automake-Add-default-libtool_tag-to-cppasm.patch \
> +           file://0001-build-fix-race-in-parallel-builds.patch \
> +           "
> +
> +SRC_URI[sha256sum] = "ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f"
>
>  PERL = "${USRBINPATH}/perl"
>  PERL_class-native = "${USRBINPATH}/env perl"
> --
> 2.29.2
>
>
> 
>

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

* Re: [OE-core] [PATCH 15/16] apt: mark as incompatible with musl
  2021-03-19 16:58   ` [OE-core] " Khem Raj
@ 2021-03-20  9:13     ` Alexander Kanavin
  2021-03-20 21:50       ` Khem Raj
  0 siblings, 1 reply; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-20  9:13 UTC (permalink / raw)
  To: Khem Raj; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 2361 bytes --]

On Fri, 19 Mar 2021 at 17:58, Khem Raj <raj.khem@gmail.com> wrote:

>
>
> On 3/19/21 1:44 AM, Alexander Kanavin wrote:
> > There are multiple failures with the new version; unless
>
> Can you share details of failures ?
> it would be better to not regress whats working
>

For example, here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/3213/steps/11/logs/stdio

home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/apt-pkg/contrib/srvrec.cc:
In function 'bool GetSrvRecords(std::string, std::vector<SrvRec>&)':
/home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/apt-pkg/contrib/srvrec.cc:67:8:
error: 'res_ninit' was not declared in this scope; did you mean
'res_init'?
   67 |    if (res_ninit(&res) != 0)
      |        ^~~~~~~~~
      |        res_init
/home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/apt-pkg/contrib/srvrec.cc:71:38:
error: 'res_nclose' was not declared in this scope
   71 |    std::shared_ptr<void> guard(&res, res_nclose);
      |                                      ^~~~~~~~~~
/home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/apt-pkg/contrib/srvrec.cc:73:17:
error: 'res_nquery' was not declared in this scope; did you mean
'res_query'?
   73 |    answer_len = res_nquery(&res, name.c_str(), C_IN, T_SRV,
answer, sizeof(answer));
      |                 ^~~~~~~~~~
      |                 res_query

/home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/recipe-sysroot/usr/include/locale.h:53:7:
error: declaration of 'char* setlocale(int, const char*)' has a
different exception specifier
   53 | char *setlocale (int, const char *);
      |       ^~~~~~~~~
In file included from
/home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/apt-pkg/contrib/netrc.cc:14:
include/apti18n.h:25:25: note: from previous declaration 'char*
setlocale(int, const char*) throw ()'
   25 | extern "C" inline char* setlocale(int, const char*) throw() {
return nullptr; }
      |                         ^~~~~~~~~

Alex

[-- Attachment #2: Type: text/html, Size: 5941 bytes --]

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

* Re: [OE-core] [PATCH 15/16] apt: mark as incompatible with musl
  2021-03-20  9:13     ` Alexander Kanavin
@ 2021-03-20 21:50       ` Khem Raj
  0 siblings, 0 replies; 23+ messages in thread
From: Khem Raj @ 2021-03-20 21:50 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core



On 3/20/21 2:13 AM, Alexander Kanavin wrote:
> On Fri, 19 Mar 2021 at 17:58, Khem Raj <raj.khem@gmail.com 
> <mailto:raj.khem@gmail.com>> wrote:
> 
> 
> 
>     On 3/19/21 1:44 AM, Alexander Kanavin wrote:
>      > There are multiple failures with the new version; unless
> 
>     Can you share details of failures ?
>     it would be better to not regress whats working
> 
> 
> For example, here:
> https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/3213/steps/11/logs/stdio 
> <https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/3213/steps/11/logs/stdio>
> 
> home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/apt-pkg/contrib/srvrec.cc: 
> In function 'bool GetSrvRecords(std::string, std::vector<SrvRec>&)':
> /home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/apt-pkg/contrib/srvrec.cc:67:8: 
> error: 'res_ninit' was not declared in this scope; did you mean 'res_init'?
> 67 | if (res_ninit(&res) != 0)
> | ^~~~~~~~~
> | res_init
> /home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/apt-pkg/contrib/srvrec.cc:71:38: 
> error: 'res_nclose' was not declared in this scope
> 71 | std::shared_ptr<void> guard(&res, res_nclose);
> | ^~~~~~~~~~
> /home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/apt-pkg/contrib/srvrec.cc:73:17: 
> error: 'res_nquery' was not declared in this scope; did you mean 
> 'res_query'?
> 73 | answer_len = res_nquery(&res, name.c_str(), C_IN, T_SRV, answer, 
> sizeof(answer));
> | ^~~~~~~~~~
> | res_query

this is because apt started to use newer APIs for resolver but then 
disregarded older APIs, I have sent a patch to actually user newer APIs 
but have fallback to older APIs also available.

> 
> /home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/recipe-sysroot/usr/include/locale.h:53:7: 
> error: declaration of 'char* setlocale(int, const char*)' has a 
> different exception specifier
> 53 | char *setlocale (int, const char *);
> | ^~~~~~~~~
> In file included from 
> /home/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/apt-pkg/contrib/netrc.cc:14:
> include/apti18n.h:25:25: note: from previous declaration 'char* 
> setlocale(int, const char*) throw ()'
> 25 | extern "C" inline char* setlocale(int, const char*) throw() { 
> return nullptr; }
> | ^~~~~~~~~

yeah we should not disable NLS but remove PO generation. I have sent a 
patch for this too.

> 
> Alex
> 

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

* Re: [OE-core] [PATCH 12/16] automake: update 1.16.2 - > 1.16.3
  2021-03-20  3:45   ` [OE-core] " Khem Raj
@ 2021-03-20 22:01     ` Khem Raj
  0 siblings, 0 replies; 23+ messages in thread
From: Khem Raj @ 2021-03-20 22:01 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: Patches and discussions about the oe-core layer



On 3/19/21 8:45 PM, Khem Raj wrote:
> here is a related failure
> https://errors.yoctoproject.org/Errors/Details/574252/
> 

FWIW, I have posted a fix for gaudio makery for this to oe-devel, so we 
should be good with pulling this update in core from my POV.

> On Fri, Mar 19, 2021 at 1:45 AM Alexander Kanavin
> <alex.kanavin@gmail.com> wrote:
>>
>> Drop automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch;
>> upstream has fixed the issue.
>>
>> Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
>> ---
>>   ...in-shebangs-with-modern-use-warnings.patch | 60 -------------------
>>   .../automake/automake/python-libdir.patch     | 16 ++---
>>   ...{automake_1.16.2.bb => automake_1.16.3.bb} | 18 +++---
>>   3 files changed, 16 insertions(+), 78 deletions(-)
>>   delete mode 100644 meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
>>   rename meta/recipes-devtools/automake/{automake_1.16.2.bb => automake_1.16.3.bb} (61%)
>>
>> diff --git a/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch b/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
>> deleted file mode 100644
>> index 0e84c4bf86..0000000000
>> --- a/meta/recipes-devtools/automake/automake/automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch
>> +++ /dev/null
>> @@ -1,60 +0,0 @@
>> -From 857c843d4bcf576467b505eb05a47f3e7d32caaa Mon Sep 17 00:00:00 2001
>> -From: Serhii Popovych <spopovyc@cisco.com>
>> -Date: Wed, 10 Feb 2016 17:07:32 +0000
>> -Subject: [PATCH] perl: Replace -w option in shebangs with modern "use
>> - warnings" In some builds we might provide ac_cv_path_PERL as /usr/bin/env
>> - perl to use newer version of the perl from users PATH rather than older from
>> - standard system path.
>> -
>> -However using /usr/bin/env perl -w from shebang line isn't
>> -possible because it translates to something like
>> -/usr/bin/env -w perl and env complains about illegal option.
>> -
>> -To address this we can remove -w option from perl shebang
>> -line and add "use warnings" statement.
>> -
>> -Upstream-Status: Pending
>> -Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
>> -Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> -
>> ----
>> - bin/aclocal.in  | 3 ++-
>> - bin/automake.in | 3 ++-
>> - 2 files changed, 4 insertions(+), 2 deletions(-)
>> -
>> -diff --git a/bin/aclocal.in b/bin/aclocal.in
>> -index 9a20325..bd185d4 100644
>> ---- a/bin/aclocal.in
>> -+++ b/bin/aclocal.in
>> -@@ -1,4 +1,4 @@
>> --#!@PERL@ -w
>> -+#!@PERL@
>> - # aclocal - create aclocal.m4 by scanning configure.ac      -*- perl -*-
>> - # @configure_input@
>> - # Copyright (C) 1996-2020 Free Software Foundation, Inc.
>> -@@ -26,6 +26,7 @@ BEGIN
>> - }
>> -
>> - use strict;
>> -+use warnings;
>> -
>> - use Automake::Config;
>> - use Automake::General;
>> -diff --git a/bin/automake.in b/bin/automake.in
>> -index 5ed404a..d387b8e 100644
>> ---- a/bin/automake.in
>> -+++ b/bin/automake.in
>> -@@ -1,4 +1,4 @@
>> --#!@PERL@ -w
>> -+#!@PERL@
>> - # automake - create Makefile.in from Makefile.am            -*- perl -*-
>> - # @configure_input@
>> - # Copyright (C) 1994-2020 Free Software Foundation, Inc.
>> -@@ -23,6 +23,7 @@
>> - package Automake;
>> -
>> - use strict;
>> -+use warnings;
>> -
>> - BEGIN
>> - {
>> diff --git a/meta/recipes-devtools/automake/automake/python-libdir.patch b/meta/recipes-devtools/automake/automake/python-libdir.patch
>> index ee1f725f76..f319fc001b 100644
>> --- a/meta/recipes-devtools/automake/automake/python-libdir.patch
>> +++ b/meta/recipes-devtools/automake/automake/python-libdir.patch
>> @@ -1,4 +1,4 @@
>> -From a80dacd5124d0713cf2c986b28d736e78dc6b0ca Mon Sep 17 00:00:00 2001
>> +From 61bd143910001aaf610416d7ca56c52c0b081318 Mon Sep 17 00:00:00 2001
>>   From: Kumar Gala <galak@kernel.crashing.org>
>>   Date: Thu, 11 Aug 2011 01:26:33 -0500
>>   Subject: [PATCH] automake: Update for python.m4 to respect libdir
>> @@ -17,11 +17,11 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
>>    1 file changed, 7 insertions(+), 20 deletions(-)
>>
>>   diff --git a/m4/python.m4 b/m4/python.m4
>> -index 63c0a0e..7bbd2d2 100644
>> +index b2302ba..dbc6954 100644
>>   --- a/m4/python.m4
>>   +++ b/m4/python.m4
>> -@@ -94,12 +94,13 @@ AC_DEFUN([AM_PATH_PYTHON],
>> -     [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`])
>> +@@ -96,12 +96,13 @@ AC_DEFUN([AM_PATH_PYTHON],
>> +     [am_cv_python_version=`$PYTHON -c "import sys; print('%u.%u' % sys.version_info[[:2]])"`])
>>      AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
>>
>>   -  dnl Use the values of $prefix and $exec_prefix for the corresponding
>> @@ -36,7 +36,7 @@ index 63c0a0e..7bbd2d2 100644
>>      AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
>>
>>      dnl At times (like when building shared libraries) you may want
>> -@@ -144,14 +145,7 @@ except ImportError:
>> +@@ -146,14 +147,7 @@ except ImportError:
>>         else
>>           am_py_prefix=$prefix
>>         fi
>> @@ -52,7 +52,7 @@ index 63c0a0e..7bbd2d2 100644
>>         case $am_cv_python_pythondir in
>>         $am_py_prefix*)
>>           am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
>> -@@ -161,7 +155,7 @@ sys.stdout.write(sitedir)"`
>> +@@ -163,7 +157,7 @@ sys.stdout.write(sitedir)"`
>>           case $am_py_prefix in
>>             /usr|/System*) ;;
>>             *)
>> @@ -61,7 +61,7 @@ index 63c0a0e..7bbd2d2 100644
>>            ;;
>>           esac
>>           ;;
>> -@@ -186,14 +180,7 @@ sys.stdout.write(sitedir)"`
>> +@@ -188,14 +182,7 @@ sys.stdout.write(sitedir)"`
>>         else
>>           am_py_exec_prefix=$exec_prefix
>>         fi
>> @@ -77,7 +77,7 @@ index 63c0a0e..7bbd2d2 100644
>>         case $am_cv_python_pyexecdir in
>>         $am_py_exec_prefix*)
>>           am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
>> -@@ -203,7 +190,7 @@ sys.stdout.write(sitedir)"`
>> +@@ -205,7 +192,7 @@ sys.stdout.write(sitedir)"`
>>           case $am_py_exec_prefix in
>>             /usr|/System*) ;;
>>             *)
>> diff --git a/meta/recipes-devtools/automake/automake_1.16.2.bb b/meta/recipes-devtools/automake/automake_1.16.3.bb
>> similarity index 61%
>> rename from meta/recipes-devtools/automake/automake_1.16.2.bb
>> rename to meta/recipes-devtools/automake/automake_1.16.3.bb
>> index 08ec034626..7dc59d9fe7 100644
>> --- a/meta/recipes-devtools/automake/automake_1.16.2.bb
>> +++ b/meta/recipes-devtools/automake/automake_1.16.3.bb
>> @@ -19,16 +19,14 @@ RDEPENDS_${PN} += "\
>>   RDEPENDS_${PN}_class-native = "autoconf-native hostperl-runtime-native"
>>
>>   SRC_URI += "file://python-libdir.patch \
>> -            file://buildtest.patch \
>> -            file://performance.patch \
>> -            file://new_rt_path_for_test-driver.patch \
>> -            file://automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch \
>> -            file://0001-automake-Add-default-libtool_tag-to-cppasm.patch \
>> -            file://0001-build-fix-race-in-parallel-builds.patch \
>> -            "
>> -
>> -SRC_URI[md5sum] = "f1a14f2ab2b0fb861a011e1d94e589e0"
>> -SRC_URI[sha256sum] = "b2f361094b410b4acbf4efba7337bdb786335ca09eb2518635a09fb7319ca5c1"
>> +           file://buildtest.patch \
>> +           file://performance.patch \
>> +           file://new_rt_path_for_test-driver.patch \
>> +           file://0001-automake-Add-default-libtool_tag-to-cppasm.patch \
>> +           file://0001-build-fix-race-in-parallel-builds.patch \
>> +           "
>> +
>> +SRC_URI[sha256sum] = "ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f"
>>
>>   PERL = "${USRBINPATH}/perl"
>>   PERL_class-native = "${USRBINPATH}/env perl"
>> --
>> 2.29.2
>>
>>
>> 
>>

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

* Re: [OE-core] [PATCH 07/16] mesa: update 20.3.4 -> 21.0.0
  2021-03-19  8:43 ` [PATCH 07/16] mesa: update 20.3.4 -> 21.0.0 Alexander Kanavin
@ 2021-03-22 11:29   ` Martin Jansa
  2021-03-22 14:00     ` Alexander Kanavin
  0 siblings, 1 reply; 23+ messages in thread
From: Martin Jansa @ 2021-03-22 11:29 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 10282 bytes --]

On Fri, Mar 19, 2021 at 09:43:52AM +0100, Alexander Kanavin wrote:
> 0001-anv-fix-a-build-race-between-generating-a-header-and.patch
> merged upstream.
> 
> osmesa is now a simple boolean option.
> 
> Swrast has been removed from dri drivers, so as we need at least one
> driver to enable dri in native/nativesdk, replace it with nouveau
> (which does not take long to build).

so the mesa-gl needs similar change, right?

meta/recipes-graphics/mesa/mesa-gl_21.0.0.bb:# When NOT using X11, we need to make sure we have swrast available.
meta/recipes-graphics/mesa/mesa-gl_21.0.0.bb:DRIDRIVERS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', ',swrast', d)}"

Now it's failing with:
http://errors.yoctoproject.org/Errors/Build/118645/

> 
> Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> ---
>  ...race-between-generating-a-header-and.patch | 31 -------------------
>  ...k-for-all-linux-host_os-combinations.patch | 12 +++----
>  ...02-meson.build-make-TLS-ELF-optional.patch | 14 ++++-----
>  .../{mesa-gl_20.3.4.bb => mesa-gl_21.0.0.bb}  |  0
>  meta/recipes-graphics/mesa/mesa.inc           | 10 +++---
>  .../mesa/{mesa_20.3.4.bb => mesa_21.0.0.bb}   |  0
>  6 files changed, 17 insertions(+), 50 deletions(-)
>  delete mode 100644 meta/recipes-graphics/mesa/files/0001-anv-fix-a-build-race-between-generating-a-header-and.patch
>  rename meta/recipes-graphics/mesa/{mesa-gl_20.3.4.bb => mesa-gl_21.0.0.bb} (100%)
>  rename meta/recipes-graphics/mesa/{mesa_20.3.4.bb => mesa_21.0.0.bb} (100%)
> 
> diff --git a/meta/recipes-graphics/mesa/files/0001-anv-fix-a-build-race-between-generating-a-header-and.patch b/meta/recipes-graphics/mesa/files/0001-anv-fix-a-build-race-between-generating-a-header-and.patch
> deleted file mode 100644
> index a61e7b2160..0000000000
> --- a/meta/recipes-graphics/mesa/files/0001-anv-fix-a-build-race-between-generating-a-header-and.patch
> +++ /dev/null
> @@ -1,31 +0,0 @@
> -From f148d4f1b5b13288b254ead07f1d008d997e2342 Mon Sep 17 00:00:00 2001
> -From: Alexander Kanavin <alex.kanavin@gmail.com>
> -Date: Mon, 2 Nov 2020 23:23:53 +0100
> -Subject: [PATCH] anv: fix a build race between generating a header and using
> - it
> -
> -anv_batch_chain.c includes genX_bits.h but doesn't ensure it gets
> -generated first. This causes build failures, as observed here:
> -https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/1501/steps/8/logs/step2d
> -
> -Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7412]
> -Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> ----
> - src/intel/vulkan/meson.build | 1 +
> - 1 file changed, 1 insertion(+)
> -
> -diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build
> -index 36e1689314e..b713d8eade3 100644
> ---- a/src/intel/vulkan/meson.build
> -+++ b/src/intel/vulkan/meson.build
> -@@ -131,6 +131,7 @@ libanv_files = files(
> - anv_deps = [
> -   dep_libdrm,
> -   dep_valgrind,
> -+  idep_genxml,
> -   idep_nir_headers,
> -   idep_vulkan_util_headers,
> - ]
> --- 
> -2.29.0
> -
> diff --git a/meta/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch b/meta/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch
> index 085254323c..b6f86743e1 100644
> --- a/meta/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch
> +++ b/meta/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch
> @@ -1,4 +1,4 @@
> -From 0d9ed002eff176b902da266d89829a9b0cb10946 Mon Sep 17 00:00:00 2001
> +From 38e984073e4c23b6278d1a2ff21e894fda7b93c5 Mon Sep 17 00:00:00 2001
>  From: Alistair Francis <alistair@alistair23.me>
>  Date: Thu, 14 Nov 2019 13:04:49 -0800
>  Subject: [PATCH] meson.build: check for all linux host_os combinations
> @@ -20,10 +20,10 @@ Signed-off-by: Alistair Francis <alistair@alistair23.me>
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
>  diff --git a/meson.build b/meson.build
> -index 898d025..09e3759 100644
> +index 932eb13..efc6171 100644
>  --- a/meson.build
>  +++ b/meson.build
> -@@ -124,7 +124,7 @@ with_any_opengl = with_opengl or with_gles1 or with_gles2
> +@@ -153,7 +153,7 @@ with_any_opengl = with_opengl or with_gles1 or with_gles2
>   # Only build shared_glapi if at least one OpenGL API is enabled
>   with_shared_glapi = with_shared_glapi and with_any_opengl
>   
> @@ -32,12 +32,12 @@ index 898d025..09e3759 100644
>   
>   dri_drivers = get_option('dri-drivers')
>   if dri_drivers.contains('auto')
> -@@ -884,7 +884,7 @@ if cc.compiles('__uint128_t foo(void) { return 0; }',
> +@@ -970,7 +970,7 @@ if cc.compiles('__uint128_t foo(void) { return 0; }',
>   endif
>   
>   # TODO: this is very incomplete
> --if ['linux', 'cygwin', 'gnu', 'freebsd', 'gnu/kfreebsd'].contains(host_machine.system())
> -+if ['cygwin', 'gnu', 'gnu/kfreebsd'].contains(host_machine.system()) or host_machine.system().startswith('linux')
> +-if ['linux', 'cygwin', 'gnu', 'freebsd', 'gnu/kfreebsd', 'haiku'].contains(host_machine.system())
> ++if ['linux', 'cygwin', 'gnu', 'freebsd', 'gnu/kfreebsd', 'haiku'].contains(host_machine.system()) or host_machine.system().startswith('linux')
>     pre_args += '-D_GNU_SOURCE'
>   elif host_machine.system() == 'sunos'
>     pre_args += '-D__EXTENSIONS__'
> diff --git a/meta/recipes-graphics/mesa/files/0002-meson.build-make-TLS-ELF-optional.patch b/meta/recipes-graphics/mesa/files/0002-meson.build-make-TLS-ELF-optional.patch
> index 89c0d150fa..df2346d336 100644
> --- a/meta/recipes-graphics/mesa/files/0002-meson.build-make-TLS-ELF-optional.patch
> +++ b/meta/recipes-graphics/mesa/files/0002-meson.build-make-TLS-ELF-optional.patch
> @@ -1,4 +1,4 @@
> -From ce57ce220d9c377beabf4914f33c43118f672ffe Mon Sep 17 00:00:00 2001
> +From 624f430dd0a91344146a2b8d49a69f23560c2fa2 Mon Sep 17 00:00:00 2001
>  From: Alistair Francis <alistair@alistair23.me>
>  Date: Thu, 14 Nov 2019 13:08:31 -0800
>  Subject: [PATCH] meson.build: make TLS ELF optional
> @@ -30,23 +30,23 @@ Signed-off-by: Alistair Francis <alistair@alistair23.me>
>   2 files changed, 7 insertions(+), 1 deletion(-)
>
>  diff --git a/meson.build b/meson.build
> -index c5136ea..185270d 100644
> +index efc6171..8450968 100644
>  --- a/meson.build
>  +++ b/meson.build
> -@@ -424,7 +424,7 @@ endif
> +@@ -448,7 +448,7 @@ endif
>   
>   # Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
>   use_elf_tls = false
> --if not ['windows', 'freebsd', 'openbsd'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29)
> -+if not ['windows', 'freebsd', 'openbsd'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29) and get_option('elf-tls')
> +-if not ['windows', 'freebsd', 'openbsd', 'haiku'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29)
> ++if not ['windows', 'freebsd', 'openbsd', 'haiku'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29) and get_option('elf-tls')
>     pre_args += '-DUSE_ELF_TLS'
>     use_elf_tls = true
>   endif
>  diff --git a/meson_options.txt b/meson_options.txt
> -index 2d39d13..72006eb 100644
> +index fc73f6e..d7482c0 100644
>  --- a/meson_options.txt
>  +++ b/meson_options.txt
> -@@ -368,6 +368,12 @@ option(
> +@@ -420,6 +420,12 @@ option(
>     value : true,
>     description : 'Enable direct rendering in GLX and EGL for DRI',
>   )
> diff --git a/meta/recipes-graphics/mesa/mesa-gl_20.3.4.bb b/meta/recipes-graphics/mesa/mesa-gl_21.0.0.bb
> similarity index 100%
> rename from meta/recipes-graphics/mesa/mesa-gl_20.3.4.bb
> rename to meta/recipes-graphics/mesa/mesa-gl_21.0.0.bb
> diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
> index 9f8ec112cf..e9b72ce063 100644
> --- a/meta/recipes-graphics/mesa/mesa.inc
> +++ b/meta/recipes-graphics/mesa/mesa.inc
> @@ -19,10 +19,9 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
>             file://0002-meson.build-make-TLS-ELF-optional.patch \
>             file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \
>             file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \
> -           file://0001-anv-fix-a-build-race-between-generating-a-header-and.patch \
>             "
>
> -SRC_URI[sha256sum] = "dc21a987ec1ff45b278fe4b1419b1719f1968debbb80221480e44180849b4084"
> +SRC_URI[sha256sum] = "e6204e98e6a8d77cf9dc5d34f99dd8e3ef7144f3601c808ca0dd26ba522e0d84"
>
>  UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P<pver>\d+(\.\d+)+)"
>
> @@ -103,8 +102,8 @@ PACKAGECONFIG[elf-tls] = "-Delf-tls=true, -Delf-tls=false"
>  PACKAGECONFIG[xvmc] = "-Dgallium-xvmc=enabled,-Dgallium-xvmc=disabled,libxvmc"
>  PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols"
>
> -DRIDRIVERS_class-native = "swrast"
> -DRIDRIVERS_class-nativesdk = "swrast"
> +DRIDRIVERS_class-native = "nouveau"
> +DRIDRIVERS_class-nativesdk = "nouveau"
>  DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965,i915"
>  DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965,i915"
>  # "dri" requires "opengl"
> @@ -168,8 +167,7 @@ GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '
>  PACKAGECONFIG[panfrost] = ""
>  GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'panfrost', ',panfrost', '', d)}"
>
> -OSMESA = "${@bb.utils.contains('PACKAGECONFIG', 'gallium', 'gallium', 'classic', d)}"
> -PACKAGECONFIG[osmesa] = "-Dosmesa=${OSMESA},-Dosmesa=none"
> +PACKAGECONFIG[osmesa] = "-Dosmesa=true,-Dosmesa=false"
>
>  PACKAGECONFIG[unwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind"
>
> diff --git a/meta/recipes-graphics/mesa/mesa_20.3.4.bb b/meta/recipes-graphics/mesa/mesa_21.0.0.bb
> similarity index 100%
> rename from meta/recipes-graphics/mesa/mesa_20.3.4.bb
> rename to meta/recipes-graphics/mesa/mesa_21.0.0.bb
> -- 
> 2.29.2
> 

> 
> 
> 


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

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

* Re: [OE-core] [PATCH 07/16] mesa: update 20.3.4 -> 21.0.0
  2021-03-22 11:29   ` [OE-core] " Martin Jansa
@ 2021-03-22 14:00     ` Alexander Kanavin
  0 siblings, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2021-03-22 14:00 UTC (permalink / raw)
  To: Martin Jansa; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 10941 bytes --]

I guess so, yes. I believe AB doesn't run the build?

Alex

On Mon, 22 Mar 2021 at 14:29, Martin Jansa <martin.jansa@gmail.com> wrote:

> On Fri, Mar 19, 2021 at 09:43:52AM +0100, Alexander Kanavin wrote:
> > 0001-anv-fix-a-build-race-between-generating-a-header-and.patch
> > merged upstream.
> >
> > osmesa is now a simple boolean option.
> >
> > Swrast has been removed from dri drivers, so as we need at least one
> > driver to enable dri in native/nativesdk, replace it with nouveau
> > (which does not take long to build).
>
> so the mesa-gl needs similar change, right?
>
> meta/recipes-graphics/mesa/mesa-gl_21.0.0.bb:# When NOT using X11, we
> need to make sure we have swrast available.
> meta/recipes-graphics/mesa/mesa-gl_21.0.0.bb:DRIDRIVERS_append =
> "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', ',swrast', d)}"
>
> Now it's failing with:
> http://errors.yoctoproject.org/Errors/Build/118645/
>
> >
> > Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> > ---
> >  ...race-between-generating-a-header-and.patch | 31 -------------------
> >  ...k-for-all-linux-host_os-combinations.patch | 12 +++----
> >  ...02-meson.build-make-TLS-ELF-optional.patch | 14 ++++-----
> >  .../{mesa-gl_20.3.4.bb => mesa-gl_21.0.0.bb}  |  0
> >  meta/recipes-graphics/mesa/mesa.inc           | 10 +++---
> >  .../mesa/{mesa_20.3.4.bb => mesa_21.0.0.bb}   |  0
> >  6 files changed, 17 insertions(+), 50 deletions(-)
> >  delete mode 100644
> meta/recipes-graphics/mesa/files/0001-anv-fix-a-build-race-between-generating-a-header-and.patch
> >  rename meta/recipes-graphics/mesa/{mesa-gl_20.3.4.bb =>
> mesa-gl_21.0.0.bb} (100%)
> >  rename meta/recipes-graphics/mesa/{mesa_20.3.4.bb => mesa_21.0.0.bb}
> (100%)
> >
> > diff --git
> a/meta/recipes-graphics/mesa/files/0001-anv-fix-a-build-race-between-generating-a-header-and.patch
> b/meta/recipes-graphics/mesa/files/0001-anv-fix-a-build-race-between-generating-a-header-and.patch
> > deleted file mode 100644
> > index a61e7b2160..0000000000
> > ---
> a/meta/recipes-graphics/mesa/files/0001-anv-fix-a-build-race-between-generating-a-header-and.patch
> > +++ /dev/null
> > @@ -1,31 +0,0 @@
> > -From f148d4f1b5b13288b254ead07f1d008d997e2342 Mon Sep 17 00:00:00 2001
> > -From: Alexander Kanavin <alex.kanavin@gmail.com>
> > -Date: Mon, 2 Nov 2020 23:23:53 +0100
> > -Subject: [PATCH] anv: fix a build race between generating a header and
> using
> > - it
> > -
> > -anv_batch_chain.c includes genX_bits.h but doesn't ensure it gets
> > -generated first. This causes build failures, as observed here:
> > -
> https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/1501/steps/8/logs/step2d
> > -
> > -Upstream-Status: Submitted [
> https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7412]
> > -Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> > ----
> > - src/intel/vulkan/meson.build | 1 +
> > - 1 file changed, 1 insertion(+)
> > -
> > -diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build
> > -index 36e1689314e..b713d8eade3 100644
> > ---- a/src/intel/vulkan/meson.build
> > -+++ b/src/intel/vulkan/meson.build
> > -@@ -131,6 +131,7 @@ libanv_files = files(
> > - anv_deps = [
> > -   dep_libdrm,
> > -   dep_valgrind,
> > -+  idep_genxml,
> > -   idep_nir_headers,
> > -   idep_vulkan_util_headers,
> > - ]
> > ---
> > -2.29.0
> > -
> > diff --git
> a/meta/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch
> b/meta/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch
> > index 085254323c..b6f86743e1 100644
> > ---
> a/meta/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch
> > +++
> b/meta/recipes-graphics/mesa/files/0001-meson.build-check-for-all-linux-host_os-combinations.patch
> > @@ -1,4 +1,4 @@
> > -From 0d9ed002eff176b902da266d89829a9b0cb10946 Mon Sep 17 00:00:00 2001
> > +From 38e984073e4c23b6278d1a2ff21e894fda7b93c5 Mon Sep 17 00:00:00 2001
> >  From: Alistair Francis <alistair@alistair23.me>
> >  Date: Thu, 14 Nov 2019 13:04:49 -0800
> >  Subject: [PATCH] meson.build: check for all linux host_os combinations
> > @@ -20,10 +20,10 @@ Signed-off-by: Alistair Francis <
> alistair@alistair23.me>
> >   1 file changed, 2 insertions(+), 2 deletions(-)
> >
> >  diff --git a/meson.build b/meson.build
> > -index 898d025..09e3759 100644
> > +index 932eb13..efc6171 100644
> >  --- a/meson.build
> >  +++ b/meson.build
> > -@@ -124,7 +124,7 @@ with_any_opengl = with_opengl or with_gles1 or
> with_gles2
> > +@@ -153,7 +153,7 @@ with_any_opengl = with_opengl or with_gles1 or
> with_gles2
> >   # Only build shared_glapi if at least one OpenGL API is enabled
> >   with_shared_glapi = with_shared_glapi and with_any_opengl
> >
> > @@ -32,12 +32,12 @@ index 898d025..09e3759 100644
> >
> >   dri_drivers = get_option('dri-drivers')
> >   if dri_drivers.contains('auto')
> > -@@ -884,7 +884,7 @@ if cc.compiles('__uint128_t foo(void) { return 0;
> }',
> > +@@ -970,7 +970,7 @@ if cc.compiles('__uint128_t foo(void) { return 0;
> }',
> >   endif
> >
> >   # TODO: this is very incomplete
> > --if ['linux', 'cygwin', 'gnu', 'freebsd',
> 'gnu/kfreebsd'].contains(host_machine.system())
> > -+if ['cygwin', 'gnu', 'gnu/kfreebsd'].contains(host_machine.system())
> or host_machine.system().startswith('linux')
> > +-if ['linux', 'cygwin', 'gnu', 'freebsd', 'gnu/kfreebsd',
> 'haiku'].contains(host_machine.system())
> > ++if ['linux', 'cygwin', 'gnu', 'freebsd', 'gnu/kfreebsd',
> 'haiku'].contains(host_machine.system()) or
> host_machine.system().startswith('linux')
> >     pre_args += '-D_GNU_SOURCE'
> >   elif host_machine.system() == 'sunos'
> >     pre_args += '-D__EXTENSIONS__'
> > diff --git
> a/meta/recipes-graphics/mesa/files/0002-meson.build-make-TLS-ELF-optional.patch
> b/meta/recipes-graphics/mesa/files/0002-meson.build-make-TLS-ELF-optional.patch
> > index 89c0d150fa..df2346d336 100644
> > ---
> a/meta/recipes-graphics/mesa/files/0002-meson.build-make-TLS-ELF-optional.patch
> > +++
> b/meta/recipes-graphics/mesa/files/0002-meson.build-make-TLS-ELF-optional.patch
> > @@ -1,4 +1,4 @@
> > -From ce57ce220d9c377beabf4914f33c43118f672ffe Mon Sep 17 00:00:00 2001
> > +From 624f430dd0a91344146a2b8d49a69f23560c2fa2 Mon Sep 17 00:00:00 2001
> >  From: Alistair Francis <alistair@alistair23.me>
> >  Date: Thu, 14 Nov 2019 13:08:31 -0800
> >  Subject: [PATCH] meson.build: make TLS ELF optional
> > @@ -30,23 +30,23 @@ Signed-off-by: Alistair Francis <
> alistair@alistair23.me>
> >   2 files changed, 7 insertions(+), 1 deletion(-)
> >
> >  diff --git a/meson.build b/meson.build
> > -index c5136ea..185270d 100644
> > +index efc6171..8450968 100644
> >  --- a/meson.build
> >  +++ b/meson.build
> > -@@ -424,7 +424,7 @@ endif
> > +@@ -448,7 +448,7 @@ endif
> >
> >   # Android uses emutls for versions <= P/28. For USE_ELF_TLS we need
> ELF TLS.
> >   use_elf_tls = false
> > --if not ['windows', 'freebsd',
> 'openbsd'].contains(host_machine.system()) and (not with_platform_android
> or get_option('platform-sdk-version') >= 29)
> > -+if not ['windows', 'freebsd',
> 'openbsd'].contains(host_machine.system()) and (not with_platform_android
> or get_option('platform-sdk-version') >= 29) and get_option('elf-tls')
> > +-if not ['windows', 'freebsd', 'openbsd',
> 'haiku'].contains(host_machine.system()) and (not with_platform_android or
> get_option('platform-sdk-version') >= 29)
> > ++if not ['windows', 'freebsd', 'openbsd',
> 'haiku'].contains(host_machine.system()) and (not with_platform_android or
> get_option('platform-sdk-version') >= 29) and get_option('elf-tls')
> >     pre_args += '-DUSE_ELF_TLS'
> >     use_elf_tls = true
> >   endif
> >  diff --git a/meson_options.txt b/meson_options.txt
> > -index 2d39d13..72006eb 100644
> > +index fc73f6e..d7482c0 100644
> >  --- a/meson_options.txt
> >  +++ b/meson_options.txt
> > -@@ -368,6 +368,12 @@ option(
> > +@@ -420,6 +420,12 @@ option(
> >     value : true,
> >     description : 'Enable direct rendering in GLX and EGL for DRI',
> >   )
> > diff --git a/meta/recipes-graphics/mesa/mesa-gl_20.3.4.bb
> b/meta/recipes-graphics/mesa/mesa-gl_21.0.0.bb
> > similarity index 100%
> > rename from meta/recipes-graphics/mesa/mesa-gl_20.3.4.bb
> > rename to meta/recipes-graphics/mesa/mesa-gl_21.0.0.bb
> > diff --git a/meta/recipes-graphics/mesa/mesa.inc
> b/meta/recipes-graphics/mesa/mesa.inc
> > index 9f8ec112cf..e9b72ce063 100644
> > --- a/meta/recipes-graphics/mesa/mesa.inc
> > +++ b/meta/recipes-graphics/mesa/mesa.inc
> > @@ -19,10 +19,9 @@ SRC_URI = "
> https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
> >             file://0002-meson.build-make-TLS-ELF-optional.patch \
> >
>  file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \
> >
>  file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \
> > -
>  file://0001-anv-fix-a-build-race-between-generating-a-header-and.patch \
> >             "
> >
> > -SRC_URI[sha256sum] =
> "dc21a987ec1ff45b278fe4b1419b1719f1968debbb80221480e44180849b4084"
> > +SRC_URI[sha256sum] =
> "e6204e98e6a8d77cf9dc5d34f99dd8e3ef7144f3601c808ca0dd26ba522e0d84"
> >
> >  UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P<pver>\d+(\.\d+)+)"
> >
> > @@ -103,8 +102,8 @@ PACKAGECONFIG[elf-tls] = "-Delf-tls=true,
> -Delf-tls=false"
> >  PACKAGECONFIG[xvmc] =
> "-Dgallium-xvmc=enabled,-Dgallium-xvmc=disabled,libxvmc"
> >  PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm
> wayland-protocols"
> >
> > -DRIDRIVERS_class-native = "swrast"
> > -DRIDRIVERS_class-nativesdk = "swrast"
> > +DRIDRIVERS_class-native = "nouveau"
> > +DRIDRIVERS_class-nativesdk = "nouveau"
> >  DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965,i915"
> >  DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965,i915"
> >  # "dri" requires "opengl"
> > @@ -168,8 +167,7 @@ GALLIUMDRIVERS_append
> ="${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '
> >  PACKAGECONFIG[panfrost] = ""
> >  GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG',
> 'panfrost', ',panfrost', '', d)}"
> >
> > -OSMESA = "${@bb.utils.contains('PACKAGECONFIG', 'gallium', 'gallium',
> 'classic', d)}"
> > -PACKAGECONFIG[osmesa] = "-Dosmesa=${OSMESA},-Dosmesa=none"
> > +PACKAGECONFIG[osmesa] = "-Dosmesa=true,-Dosmesa=false"
> >
> >  PACKAGECONFIG[unwind] =
> "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind"
> >
> > diff --git a/meta/recipes-graphics/mesa/mesa_20.3.4.bb
> b/meta/recipes-graphics/mesa/mesa_21.0.0.bb
> > similarity index 100%
> > rename from meta/recipes-graphics/mesa/mesa_20.3.4.bb
> > rename to meta/recipes-graphics/mesa/mesa_21.0.0.bb
> > --
> > 2.29.2
> >
>
> >
> > 
> >
>
>

[-- Attachment #2: Type: text/html, Size: 15107 bytes --]

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

end of thread, other threads:[~2021-03-22 14:00 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-19  8:43 [PATCH 01/16] xwayland: add a standalone recipe Alexander Kanavin
2021-03-19  8:43 ` [PATCH 02/16] weston: use standalone xwayland instead of outdated xserver-xorg version Alexander Kanavin
2021-03-19  8:43 ` [PATCH 03/16] vulkan: upgrade 1.2.162.0 -> 1.2.170.0 Alexander Kanavin
2021-03-19  8:43 ` [PATCH 04/16] bind: upgrade 9.16.11 -> 9.16.12 Alexander Kanavin
2021-03-19  8:43 ` [PATCH 05/16] spirv-headers: update to latest revision Alexander Kanavin
2021-03-19  8:43 ` [PATCH 06/16] spirv-tools: upgrade 2020.6 -> 2020.7 Alexander Kanavin
2021-03-19  8:43 ` [PATCH 07/16] mesa: update 20.3.4 -> 21.0.0 Alexander Kanavin
2021-03-22 11:29   ` [OE-core] " Martin Jansa
2021-03-22 14:00     ` Alexander Kanavin
2021-03-19  8:43 ` [PATCH 08/16] attr: update 2.4.48 -> 2.5.1 Alexander Kanavin
2021-03-19  8:43 ` [PATCH 09/16] asciidoc: update 9.0.4 -> 9.1.0 Alexander Kanavin
2021-03-19  8:43 ` [PATCH 10/16] libhandy: update 1.0.3 -> 1.2.0 Alexander Kanavin
2021-03-19  8:43 ` [PATCH 11/16] strace: update 5.10 -> 5.11 Alexander Kanavin
2021-03-19  8:43 ` [PATCH 12/16] automake: update 1.16.2 - > 1.16.3 Alexander Kanavin
2021-03-20  3:45   ` [OE-core] " Khem Raj
2021-03-20 22:01     ` Khem Raj
2021-03-19  8:43 ` [PATCH 13/16] xxhash: import from meta-oe Alexander Kanavin
2021-03-19  8:43 ` [PATCH 14/16] apt: update 1.8.2.2 -> 2.2.2 Alexander Kanavin
2021-03-19  8:44 ` [PATCH 15/16] apt: mark as incompatible with musl Alexander Kanavin
2021-03-19 16:58   ` [OE-core] " Khem Raj
2021-03-20  9:13     ` Alexander Kanavin
2021-03-20 21:50       ` Khem Raj
2021-03-19  8:44 ` [PATCH 16/16] libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat Alexander Kanavin

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.