Skip to contentSkip to conversation

insane: add Inactive-Upstream to possible patch status list

PATCH In review Alexander Kanavin 4 participants 32 messages Dec 16, 2021 – Dec 22, 2021 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/26 insane: add Inactive-Upstream to possible patch status list

See https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status

---
 meta/classes/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/insane.bbclass +1 -1
index 240f3aad62..de6d65c809 100644
@@ -1181,7 +1181,7 @@ python do_qa_patch() {
 
        content = open(fullpath, encoding='utf-8', errors='ignore').read()
        kinda_status_re = re.compile(r"^.*upstream.*status.*$", re.IGNORECASE | re.MULTILINE)
-       strict_status_re = re.compile(r"^Upstream-Status: (Pending|Submitted|Denied|Accepted|Inappropriate|Backport)( .+)?$", re.MULTILINE)
+       strict_status_re = re.compile(r"^Upstream-Status: (Inactive-Upstream|Pending|Submitted|Denied|Accepted|Inappropriate|Backport)( .+)?$", re.MULTILINE)
        match_kinda = kinda_status_re.search(content)
        match_strict = strict_status_re.search(content)
        guidelines = "https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status"
Signature · 1 line
2.20.1
#1 lore raw

PATCH 2/26 serf: mark upstream as defunct

---
 .../0001-buckets-ssl_buckets.c-do-not-use-ERR_GET_FUNC.patch    | 2 +-
 ...op.creating.directories.without.sandbox-install.prefix.patch | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-support/serf/serf/0001-buckets-ssl_buckets.c-do-not-use-ERR_GET_FUNC.patch +1 -1
index e6172ef5aa..91ccc8a474 100644
@@ -6,7 +6,7 @@ Subject: [PATCH] buckets/ssl_buckets.c: do not use ERR_GET_FUNC
 Upstream removed it in
 https://github.com/openssl/openssl/pull/16004
 
-Upstream-Status: Pending
+Upstream-Status: Inactive-Upstream [lastrelease: 2015, lastcommit: 2019]
 Signed-off-by: Alexander Kanavin <[email protected]>
 ---
  buckets/ssl_buckets.c | 3 +--
meta/recipes-support/serf/serf/SConstruct.stop.creating.directories.without.sandbox-install.prefix.patch +1 -1
index 91640d6044..4105868a7e 100644
@@ -31,7 +31,7 @@ ERROR: scons install execution failed.
   and the installed paths (including the paths inside libserf*.pc)
   look correct
 
-Upstream-Status: Pending
+Upstream-Status: Inactive-Upstream [lastrelease: 2015, lastcommit: 2019]
 
 Signed-off-by: Martin Jansa <[email protected]>
 
Signature · 1 line
2.20.1
#2 lore raw

PATCH 3/26 python3: drop unneeded multiprocessing module patch

In reply to Alexander Kanavin

I ran the reproducing sequence on qemux86, and it went fine:

root@qemux86:~# python3
Python 3.10.0 (default, Oct  4 2021, 17:55:55) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

import multiprocessing
pool_sema = multiprocessing.BoundedSemaphore(value=1) pool_sema.acquire()

True

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

pool_sema.release()

Additionally AB testing revealed no issues, and the description isn't entirely clear about where and how the problem occurs, so I can't submit it upsream without having that understanding and how to demonstrate the problem.

---
 ...ssing-libraries-to-Extension-for-mul.patch | 70 -------------------
 .../recipes-devtools/python/python3_3.10.1.bb |  1 -
 2 files changed, 71 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3/0001-setup.py-pass-missing-libraries-to-Extension-for-mul.patch
meta/recipes-devtools/python/python3/0001-setup.py-pass-missing-libraries-to-Extension-for-mul.patch deleted +0 -70
deleted file mode 100644
index 374433c68e..0000000000
@@ -1,70 +0,0 @@
-From bad7e6a625436402a01d03021fb9ccd58bc9930f Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <[email protected]>
-Date: Thu, 9 Jan 2020 17:44:05 +0100
-Subject: [PATCH] setup.py: pass missing libraries to Extension for
- multiprocessing module
-
-In the following commit:
-...
-commit e711cafab13efc9c1fe6c5cd75826401445eb585
-Author: Benjamin Peterson <[email protected]>
-Date:   Wed Jun 11 16:44:04 2008 +0000
-
-    Merged revisions 64104,64117 via svnmerge from
-    svn+ssh://[email protected]/python/trunk
-...
-(see diff in setup.py)
-It assigned libraries for multiprocessing module according
-the host_platform, but not pass it to Extension.
-
-In glibc, the following commit caused two definition of
-sem_getvalue are different.
-https://sourceware.org/git/?p=glibc.git;a=commit;h=042e1521c794a945edc43b5bfa7e69ad70420524
-(see diff in nptl/sem_getvalue.c for detail)
-`__new_sem_getvalue' is the latest sem_getvalue@@GLIBC_2.1
-and `__old_sem_getvalue' is to compat the old version
-sem_getvalue@GLIBC_2.0.
-
-To build python for embedded Linux systems:
-http://www.yoctoproject.org/docs/2.3.1/yocto-project-qs/yocto-project-qs.html
-If not explicitly link to library pthread (-lpthread), it will
-load glibc's sem_getvalue randomly at runtime.
-
-Such as build python on linux x86_64 host and run the python
-on linux x86_32 target. If not link library pthread, it caused
-multiprocessing bounded semaphore could not work correctly.
-...
->>> import multiprocessing
->>> pool_sema = multiprocessing.BoundedSemaphore(value=1)
->>> pool_sema.acquire()
-True
->>> pool_sema.release()
-Traceback (most recent call last):
-  File "<stdin>", line 1, in <module>
-ValueError: semaphore or lock released too many times
-...
-
-And the semaphore issue also caused multiprocessing.Queue().put() hung.
-
-Upstream-Status: Pending
-
-Signed-off-by: Hongxu Jia <[email protected]>
-Signed-off-by: Alexander Kanavin <[email protected]>
-
----
- setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index d92face..f42bcbb 100644
---- a/setup.py
-+++ b/setup.py
-@@ -1836,7 +1836,7 @@ class PyBuildExt(build_ext):
-             if (sysconfig.get_config_var('HAVE_SEM_OPEN') and not
-                 sysconfig.get_config_var('POSIX_SEMAPHORES_NOT_ENABLED')):
-                 multiprocessing_srcs.append('_multiprocessing/semaphore.c')
--        self.add(Extension('_multiprocessing', multiprocessing_srcs,
-+        self.add(Extension('_multiprocessing', multiprocessing_srcs, libraries=['pthread'],
-                            include_dirs=["Modules/_multiprocessing"]))
- 
-         if (not MS_WINDOWS and
meta/recipes-devtools/python/python3_3.10.1.bb +0 -1
index 6115ffe5b3..a51fc8f415 100644
@@ -25,7 +25,6 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
            file://0001-Use-FLAG_REF-always-for-interned-strings.patch \
            file://0001-test_locale.py-correct-the-test-output-format.patch \
            file://0017-setup.py-do-not-report-missing-dependencies-for-disa.patch \
-           file://0001-setup.py-pass-missing-libraries-to-Extension-for-mul.patch \
            file://0001-Makefile-do-not-compile-.pyc-in-parallel.patch \
            file://0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch \
            file://0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch \
Signature · 1 line
2.20.1
#3 lore raw

PATCH 4/26 elfutils: update patch submitted upstream

In reply to Alexander Kanavin

As that's what upstream prefers.

---
 .../elfutils/elfutils_0.186.bb                |  2 +-
 ...infod-client.c-correct-string-format.patch | 64 -------------------
 ...infod-client.c-use-long-for-cache-ti.patch | 45 +++++++++++++
 .../elfutils/files/0003-musl-utils.patch      |  2 +-
 .../0015-config-eu.am-do-not-use-Werror.patch |  2 +-
 5 files changed, 48 insertions(+), 67 deletions(-)
 delete mode 100644 meta/recipes-devtools/elfutils/files/0001-debuginfod-debuginfod-client.c-correct-string-format.patch
 create mode 100644 meta/recipes-devtools/elfutils/files/0001-debuginfod-debuginfod-client.c-use-long-for-cache-ti.patch
meta/recipes-devtools/elfutils/elfutils_0.186.bb +1 -1
index b3588a2196..93f53c1f2e 100644
@@ -21,8 +21,8 @@ SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
            file://run-ptest \
            file://ptest.patch \
            file://0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch \
-           file://0001-debuginfod-debuginfod-client.c-correct-string-format.patch \
            file://0001-debuginfod-fix-compilation-on-platforms-without-erro.patch \
+           file://0001-debuginfod-debuginfod-client.c-use-long-for-cache-ti.patch \
            "
 SRC_URI:append:libc-musl = " \
            file://0003-musl-utils.patch \
meta/recipes-devtools/elfutils/files/0001-debuginfod-debuginfod-client.c-correct-string-format.patch deleted +0 -64

64 lines not on this page · raw message

meta/recipes-devtools/elfutils/files/0001-debuginfod-debuginfod-client.c-use-long-for-cache-ti.patch new file +45 -0

45 lines not on this page · raw message

meta/recipes-devtools/elfutils/files/0003-musl-utils.patch +1 -1
index 85f8140330..cbc9fce790 100644
@@ -1,4 +1,4 @@
-From 934d21dc0b06b95c7c65cb29c5096decd91d4d5f Mon Sep 17 00:00:00 2001
+From 8b48c580bae0b0ffc773b0b829c50d33a907853c Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Fri, 23 Aug 2019 10:19:48 +0800
 Subject: [PATCH] musl-utils
meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch +1 -1
index c96cfd9777..9952070939 100644
@@ -1,4 +1,4 @@
-From a2ce41e91d530459eb35d64a19f714ebfe0d4a20 Mon Sep 17 00:00:00 2001
+From 5e39da062929a60a07ddfc8b6d435ea65ea3e31f Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <[email protected]>
 Date: Mon, 22 Jun 2020 21:35:16 +0000
 Subject: [PATCH] config/eu.am: do not use -Werror
Signature · 1 line
2.20.1
#4 lore raw

PATCH 5/26 rust-hello-world: test at runtime

In reply to Alexander Kanavin

This adds a smoke check for whether the rust toolchain actually produces working executables across a range of architectures.

---
 meta/classes/testimage.bbclass                |  2 +-
 meta/lib/oeqa/runtime/cases/rust.py           | 19 +++++++++++++++++++
 .../packagegroup-core-tools-testapps.bb       |  3 +++
 3 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 meta/lib/oeqa/runtime/cases/rust.py
meta/classes/testimage.bbclass +1 -1
index 66de0e07c6..1c5fd4ee6a 100644
@@ -61,7 +61,7 @@ BASICTESTSUITE = "\
     ping date df ssh scp python perl gi ptest parselogs \
     logrotate connman systemd oe_syslog pam stap ldd xorg \
     kernelmodule gcc buildcpio buildlzip buildgalculator \
-    dnf rpm opkg apt weston go"
+    dnf rpm opkg apt weston go rust"
 
 DEFAULT_TEST_SUITES = "${BASICTESTSUITE}"
 
meta/lib/oeqa/runtime/cases/rust.py new file +19 -0
new file mode 100644
index 0000000000..b3d6cf7f37
@@ -0,0 +1,19 @@
+#
+# SPDX-License-Identifier: MIT
+#
+
+from oeqa.runtime.case import OERuntimeTestCase
+from oeqa.core.decorator.depends import OETestDepends
+from oeqa.runtime.decorator.package import OEHasPackage
+
+class RustHelloworldTest(OERuntimeTestCase):
+    @OETestDepends(['ssh.SSHTest.test_ssh'])
+    @OEHasPackage(['rust-hello-world'])
+    def test_rusthelloworld(self):
+        cmd = "rust-hello-world"
+        status, output = self.target.run(cmd)
+        msg = 'Exit status was not 0. Output: %s' % output
+        self.assertEqual(status, 0, msg=msg)
+
+        msg = 'Incorrect output: %s' % output
+        self.assertEqual(output, "Hello, world!", msg=msg)
meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb +3 -0
index 1fee1c925d..e05e329020 100644
@@ -25,6 +25,8 @@ GOTOOLS ?= "go-helloworld"
 GOTOOLS:powerpc ?= ""
 GOTOOLS:riscv32 ?= ""
 
+RUSTTOOLS ?= "rust-hello-world"
+
 GSTEXAMPLES ?= "gst-examples"
 GSTEXAMPLES:riscv64 = ""
 
@@ -57,4 +59,5 @@ RDEPENDS:${PN} = "\
     ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', "${X11GLTOOLS}", "", d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', '3g', "${3GTOOLS}", "", d)} \
     ${GOTOOLS} \
+    ${RUSTTOOLS} \
     "
Signature · 1 line
2.20.1
#5 lore raw

PATCH 6/26 vim: do not report upstream version check as broken

In reply to Alexander Kanavin

As upstream tags point releases with every commit and the version check still reports 8.2, it should not be considered broken (e.g. current version newer than latest version) until 8.3 is released.

---
 meta/recipes-support/vim/vim.inc | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-support/vim/vim.inc +3 -0
index dc11a0aabb..34963054fd 100644
@@ -23,6 +23,9 @@ SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https \
 PV .= ".3752"
 SRCREV = "8603be338ac810446f23c092f21bc6082f787519"
 
+# Remove when 8.3 is out
+UPSTREAM_VERSION_UNKNOWN = "1"
+
 # Do not consider .z in x.y.z, as that is updated with every commit
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+)\.0"
 
Signature · 1 line
2.20.1
#6 lore raw

PATCH 7/26 btrfs-tools: upgrade 5.15 -> 5.15.1

In reply to Alexander Kanavin

From: Alexander Kanavin <[email protected]>

---
 .../btrfs-tools/{btrfs-tools_5.15.bb => btrfs-tools_5.15.1.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_5.15.bb => btrfs-tools_5.15.1.bb} (98%)
meta/recipes-devtools/btrfs-tools/btrfs-tools_5.15.1.bb renamed from meta/recipes-devtools/btrfs-tools/btrfs-tools_5.15.bb +1 -1
similarity index 98%
rename from meta/recipes-devtools/btrfs-tools/btrfs-tools_5.15.bb
rename to meta/recipes-devtools/btrfs-tools/btrfs-tools_5.15.1.bb
index 399ba17e3e..9f3c0e9abb 100644
@@ -19,7 +19,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git;b
            file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \
            file://0001-btrfs-tools-include-linux-const.h-to-fix-build-with-.patch \
            "
-SRCREV = "4d06e4a13d1ce1849a60b68969bc385ab736ddf7"
+SRCREV = "c0ad9bde429196db7e8710ea1abfab7a2bca2e43"
 S = "${WORKDIR}/git"
 
 PACKAGECONFIG ??= " \
Signature · 1 line
2.20.1
#7 lore raw

PATCH 8/26 python3-hypothesis: upgrade 6.30.0 -> 6.31.4

In reply to Alexander Kanavin

From: Alexander Kanavin <[email protected]>

---
 ...ython3-hypothesis_6.30.0.bb => python3-hypothesis_6.31.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-hypothesis_6.30.0.bb => python3-hypothesis_6.31.4.bb} (91%)
meta/recipes-devtools/python/python3-hypothesis_6.31.4.bb renamed from meta/recipes-devtools/python/python3-hypothesis_6.30.0.bb +1 -1
similarity index 91%
rename from meta/recipes-devtools/python/python3-hypothesis_6.30.0.bb
rename to meta/recipes-devtools/python/python3-hypothesis_6.31.4.bb
index 59c56e2d94..6af290d8ca 100644
@@ -13,7 +13,7 @@ SRC_URI += " \
     file://test_rle.py \
     "
 
-SRC_URI[sha256sum] = "6d81d409b4a1a3ff9458de5f2cf7ee37b1dd51473aacc79f257c62e2369a5fd7"
+SRC_URI[sha256sum] = "7fa3911d7be699a3139dfa1d9625deed649f651beaab3422c0339742e66d32d0"
 
 RDEPENDS:${PN} += " \
     python3-attrs \
Signature · 1 line
2.20.1
#8 lore raw

PATCH 9/26 python3-setuptools: upgrade 59.4.0 -> 59.5.0

In reply to Alexander Kanavin

From: Alexander Kanavin <[email protected]>

---
 .../0001-conditionally-do-not-fetch-code-by-easy_install.patch  | 2 +-
 ...ython3-setuptools_59.4.0.bb => python3-setuptools_59.5.0.bb} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-setuptools_59.4.0.bb => python3-setuptools_59.5.0.bb} (94%)
meta/recipes-devtools/python/files/0001-conditionally-do-not-fetch-code-by-easy_install.patch +1 -1
index c3ced74918..5e2ee454da 100644
@@ -1,4 +1,4 @@
-From 61ebf2a12a308a2d99023f51c9da8b1991bdc164 Mon Sep 17 00:00:00 2001
+From da88c57fe03e4474ba20325edacf519e80c1d7a8 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Tue, 17 Jul 2018 10:13:38 +0800
 Subject: [PATCH] conditionally do not fetch code by easy_install
meta/recipes-devtools/python/python3-setuptools_59.5.0.bb renamed from meta/recipes-devtools/python/python3-setuptools_59.4.0.bb +1 -1
similarity index 94%
rename from meta/recipes-devtools/python/python3-setuptools_59.4.0.bb
rename to meta/recipes-devtools/python/python3-setuptools_59.5.0.bb
index 5ae076a165..878fa08404 100644
@@ -13,7 +13,7 @@ SRC_URI += "\
     file://0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch \
 "
 
-SRC_URI[sha256sum] = "b4c634615a0cf5b02cf83c7bedffc8da0ca439f00e79452699454da6fbd4153d"
+SRC_URI[sha256sum] = "d144f85102f999444d06f9c0e8c737fd0194f10f2f7e5fdb77573f6e2fa4fad0"
 
 DEPENDS += "${PYTHON_PN}"
 
Signature · 1 line
2.20.1
#9 lore raw

PATCH 10/26 less: upgrade 590 -> 598

In reply to Alexander Kanavin

From: Alexander Kanavin <[email protected]>

License-Update: http->https

---
 meta/recipes-extended/less/{less_590.bb => less_598.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/less/{less_590.bb => less_598.bb} (87%)
meta/recipes-extended/less/less_598.bb renamed from meta/recipes-extended/less/less_590.bb +2 -2
similarity index 87%
rename from meta/recipes-extended/less/less_590.bb
rename to meta/recipes-extended/less/less_598.bb
index 5d0d0a5afe..574efff365 100644
@@ -20,7 +20,7 @@ SECTION = "console/utils"
 #
 
 LICENSE = "GPLv3+ | BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
+LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464 \
                     file://LICENSE;md5=ba01d0cab7f62f7f2204c7780ff6a87d \
                     "
 DEPENDS = "ncurses"
@@ -28,7 +28,7 @@ DEPENDS = "ncurses"
 SRC_URI = "http://www.greenwoodsoftware.com/${BPN}/${BPN}-${PV}.tar.gz \
 	  "
 
-SRC_URI[sha256sum] = "6aadf54be8bf57d0e2999a3c5d67b1de63808bb90deb8f77b028eafae3a08e10"
+SRC_URI[sha256sum] = "64e0eb24534ac70d15ff3a36c8853f7a48196aa230d2a104707fc4ff1a45e982"
 
 UPSTREAM_CHECK_URI = "http://www.greenwoodsoftware.com/less/download.html"
 
Signature · 1 line
2.20.1
#10 lore raw

PATCH 11/26 lighttpd: upgrade 1.4.61 -> 1.4.63

In reply to Alexander Kanavin

From: Alexander Kanavin <[email protected]>

---
 .../lighttpd/{lighttpd_1.4.61.bb => lighttpd_1.4.63.bb}         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/lighttpd/{lighttpd_1.4.61.bb => lighttpd_1.4.63.bb} (97%)
meta/recipes-extended/lighttpd/lighttpd_1.4.63.bb renamed from meta/recipes-extended/lighttpd/lighttpd_1.4.61.bb +1 -1
similarity index 97%
rename from meta/recipes-extended/lighttpd/lighttpd_1.4.61.bb
rename to meta/recipes-extended/lighttpd/lighttpd_1.4.63.bb
index 583b0e260c..41d6319e1b 100644
@@ -19,7 +19,7 @@ SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.t
            file://lighttpd \
            "
 
-SRC_URI[sha256sum] = "43f0d63d04a1b7c5b8aab07e0612e44ccad0afc0614bab784c5b019872363432"
+SRC_URI[sha256sum] = "2aef7f0102ebf54a1241a1c3ea8976892f8684bfb21697c9fffb8de0e2d6eab9"
 
 DEPENDS = "virtual/crypt"
 
Signature · 1 line
2.20.1
#11 lore raw

PATCH 12/26 harfbuzz: upgrade 3.1.2 -> 3.2.0

In reply to Alexander Kanavin

From: Alexander Kanavin <[email protected]>

---
 .../harfbuzz/{harfbuzz_3.1.2.bb => harfbuzz_3.2.0.bb}           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/harfbuzz/{harfbuzz_3.1.2.bb => harfbuzz_3.2.0.bb} (95%)
meta/recipes-graphics/harfbuzz/harfbuzz_3.2.0.bb renamed from meta/recipes-graphics/harfbuzz/harfbuzz_3.1.2.bb +1 -1
similarity index 95%
rename from meta/recipes-graphics/harfbuzz/harfbuzz_3.1.2.bb
rename to meta/recipes-graphics/harfbuzz/harfbuzz_3.2.0.bb
index 368f7c1bde..647bafc4d3 100644
@@ -12,7 +12,7 @@ UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
 UPSTREAM_CHECK_REGEX = "harfbuzz-(?P<pver>\d+(\.\d+)+).tar"
 
 SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.xz"
-SRC_URI[sha256sum] = "4056b1541dd8bbd8ec29207fe30e568805c0705515632d7fec53a94399bc7945"
+SRC_URI[sha256sum] = "0ada50a1c199bb6f70843ab893c55867743a443b84d087d54df08ad883ebc2cd"
 
 inherit meson pkgconfig lib_package gtk-doc gobject-introspection
 
Signature · 1 line
2.20.1
#12 lore raw

PATCH 13/26 piglit: upgrade to latest revision

In reply to Alexander Kanavin

From: Alexander Kanavin <[email protected]>

---
 meta/recipes-graphics/piglit/piglit_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/piglit/piglit_git.bb +1 -1
index c5f3ecea16..70c7529f91 100644
@@ -18,7 +18,7 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=ma
            "
 UPSTREAM_CHECK_COMMITS = "1"
 
-SRCREV = "efa64335e22f1af0277f4d4dd7629e8674875490"
+SRCREV = "f855ad1c8ab0a7b25437b1a48b9038f599f31691"
 # (when PV goes above 1.0 remove the trailing r)
 PV = "1.0+gitr${SRCPV}"
 
Signature · 1 line
2.20.1
#13 lore raw

PATCH 14/26 alsa: upgrade 1.2.5 -> 1.2.6

In reply to Alexander Kanavin

From: Alexander Kanavin <[email protected]>

---
 .../alsa/{alsa-lib_1.2.5.1.bb => alsa-lib_1.2.6.1.bb}           | 2 +-
 .../alsa/{alsa-plugins_1.2.5.bb => alsa-plugins_1.2.6.bb}       | 2 +-
 .../alsa/{alsa-ucm-conf_1.2.5.1.bb => alsa-ucm-conf_1.2.6.2.bb} | 2 +-
 ...lsa-utils-scripts_1.2.5.1.bb => alsa-utils-scripts_1.2.6.bb} | 0
 meta/recipes-multimedia/alsa/alsa-utils.inc                     | 2 +-
 .../alsa/{alsa-utils_1.2.5.1.bb => alsa-utils_1.2.6.bb}         | 0
 6 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-multimedia/alsa/{alsa-lib_1.2.5.1.bb => alsa-lib_1.2.6.1.bb} (94%)
 rename meta/recipes-multimedia/alsa/{alsa-plugins_1.2.5.bb => alsa-plugins_1.2.6.bb} (98%)
 rename meta/recipes-multimedia/alsa/{alsa-ucm-conf_1.2.5.1.bb => alsa-ucm-conf_1.2.6.2.bb} (89%)
 rename meta/recipes-multimedia/alsa/{alsa-utils-scripts_1.2.5.1.bb => alsa-utils-scripts_1.2.6.bb} (100%)
 rename meta/recipes-multimedia/alsa/{alsa-utils_1.2.5.1.bb => alsa-utils_1.2.6.bb} (100%)
meta/recipes-multimedia/alsa/alsa-lib_1.2.6.1.bb renamed from meta/recipes-multimedia/alsa/alsa-lib_1.2.5.1.bb +1 -1
similarity index 94%
rename from meta/recipes-multimedia/alsa/alsa-lib_1.2.5.1.bb
rename to meta/recipes-multimedia/alsa/alsa-lib_1.2.6.1.bb
index cf7c3fcd43..7c03287b84 100644
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \
                     "
 
 SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2"
-SRC_URI[sha256sum] = "628421d950cecaf234de3f899d520c0a6923313c964ad751ffac081df331438e"
+SRC_URI[sha256sum] = "ad582993d52cdb5fb159a0beab60a6ac57eab0cc1bdf85dc4db6d6197f02333f"
 
 inherit autotools pkgconfig
 
meta/recipes-multimedia/alsa/alsa-plugins_1.2.6.bb renamed from meta/recipes-multimedia/alsa/alsa-plugins_1.2.5.bb +1 -1
similarity index 98%
rename from meta/recipes-multimedia/alsa/alsa-plugins_1.2.5.bb
rename to meta/recipes-multimedia/alsa/alsa-plugins_1.2.6.bb
index 0eac982e1a..7b1ca2ee15 100644
@@ -23,7 +23,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \
                     "
 
 SRC_URI = "https://www.alsa-project.org/files/pub/plugins/${BP}.tar.bz2"
-SRC_URI[sha256sum] = "42eef98433d2c8d11f1deeeb459643619215a75aa5a5bbdd06a794e4c413df20"
+SRC_URI[sha256sum] = "068818a4b55d8c029daa00015d853d45113f56b224b7c64e1e117988c825b2a0"
 
 DEPENDS += "alsa-lib"
 
meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.6.2.bb renamed from meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.5.1.bb +1 -1
similarity index 89%
rename from meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.5.1.bb
rename to meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.6.2.bb
index 9d874eca13..10860e61a0 100644
@@ -8,7 +8,7 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=20d74d74db9741697903372ad001d3b4"
 
 SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2"
-SRC_URI[sha256sum] = "5841a444166dcbf479db751303dbc3556f685085ac7e00f0c9e7755676195d97"
+SRC_URI[sha256sum] = "8be24fb9fe789ee2778ae6f32e18e8043fe7f8bc735871e9d17c68a04566a822"
 # Something went wrong at upstream tarballing
 
 inherit allarch
meta/recipes-multimedia/alsa/alsa-utils-scripts_1.2.6.bb renamed from meta/recipes-multimedia/alsa/alsa-utils-scripts_1.2.5.1.bb +0 -0
similarity index 100%
rename from meta/recipes-multimedia/alsa/alsa-utils-scripts_1.2.5.1.bb
rename to meta/recipes-multimedia/alsa/alsa-utils-scripts_1.2.6.bb
meta/recipes-multimedia/alsa/alsa-utils.inc +1 -1
index 95b93d4432..631cbe1029 100644
@@ -24,7 +24,7 @@ PACKAGECONFIG[manpages] = "--enable-xmlto, --disable-xmlto, xmlto-native docbook
 
 # alsa-utils specified in SRC_URI due to alsa-utils-scripts recipe
 SRC_URI = "https://www.alsa-project.org/files/pub/utils/alsa-utils-${PV}.tar.bz2"
-SRC_URI[sha256sum] = "9c169ae37a49295f9b97b92ace772803daf6b6510a19574e0b78f87e562118d0"
+SRC_URI[sha256sum] = "6a1efd8a1f1d9d38e489633eaec1fffa5c315663b316cab804be486887e6145d"
 
 # On build machines with python-docutils (not python3-docutils !!) installed
 # rst2man (not rst2man.py) is detected and compile fails with
meta/recipes-multimedia/alsa/alsa-utils_1.2.6.bb renamed from meta/recipes-multimedia/alsa/alsa-utils_1.2.5.1.bb +0 -0
similarity index 100%
rename from meta/recipes-multimedia/alsa/alsa-utils_1.2.5.1.bb
rename to meta/recipes-multimedia/alsa/alsa-utils_1.2.6.bb
Signature · 1 line
2.20.1
#14 lore raw

PATCH 15/26 dpkg: update 1.20.9 -> 1.21.1

In reply to Alexander Kanavin
---
 meta/recipes-devtools/dpkg/dpkg.inc           |  2 +
 ...ild.c-ignore-return-of-1-from-tar-cf.patch |  8 +--
 .../0014-arch-Add-support-for-ARCv2-CPU.patch | 68 -------------------
 .../dpkg/{dpkg_1.20.9.bb => dpkg_1.21.1.bb}   |  5 +-
 4 files changed, 8 insertions(+), 75 deletions(-)
 delete mode 100644 meta/recipes-devtools/dpkg/dpkg/0014-arch-Add-support-for-ARCv2-CPU.patch
 rename meta/recipes-devtools/dpkg/{dpkg_1.20.9.bb => dpkg_1.21.1.bb} (88%)
meta/recipes-devtools/dpkg/dpkg.inc +2 -0
index 80865a31a1..00b1e9187a 100644
@@ -61,6 +61,8 @@ PROV:class-nativesdk = ""
 
 PROVIDES += "${PROV}"
 
+FILES:${PN} += "${datadir}/zsh"
+
 PACKAGES =+ "update-alternatives-dpkg"
 FILES:update-alternatives-dpkg = "${bindir}/update-alternatives ${localstatedir}/lib/dpkg/alternatives ${sysconfdir}/alternatives"
 RPROVIDES:update-alternatives-dpkg += "update-alternatives"
meta/recipes-devtools/dpkg/dpkg/0001-build.c-ignore-return-of-1-from-tar-cf.patch +4 -4
index 2dc68e2064..4d3f238012 100644
@@ -1,4 +1,4 @@
-From d6f5fed6bc56e1f3b885a796a43aa2868ace57bc Mon Sep 17 00:00:00 2001
+From cb47e9cd6735fcafd231748dab8884ae991b669c Mon Sep 17 00:00:00 2001
 From: Paul Eggleton <[email protected]>
 Date: Tue, 16 Jun 2020 03:57:25 +0000
 Subject: [PATCH] build.c: ignore return of 1 from tar -cf
@@ -29,10 +29,10 @@ Signed-off-by: Paul Eggleton <[email protected]>
  1 file changed, 4 insertions(+), 1 deletion(-)
 
 diff --git a/dpkg-deb/build.c b/dpkg-deb/build.c
-index d13a21c1e..059f2be6d 100644
+index 76613adec..7c216d1a9 100644
 --- a/dpkg-deb/build.c
 +++ b/dpkg-deb/build.c
-@@ -480,6 +480,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
+@@ -482,6 +482,7 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
  {
    int pipe_filenames[2], pipe_tarball[2];
    pid_t pid_tar, pid_comp;
@@ -40,7 +40,7 @@ index d13a21c1e..059f2be6d 100644
  
    /* Fork off a tar. We will feed it a list of filenames on stdin later. */
    m_pipe(pipe_filenames);
-@@ -532,7 +533,9 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
+@@ -534,7 +535,9 @@ tarball_pack(const char *dir, filenames_feed_func *tar_filenames_feeder,
    /* All done, clean up wait for tar and <compress> to finish their job. */
    close(pipe_filenames[1]);
    subproc_reap(pid_comp, _("<compress> from tar -cf"), 0);
meta/recipes-devtools/dpkg/dpkg/0014-arch-Add-support-for-ARCv2-CPU.patch deleted +0 -68

68 lines not on this page · raw message

meta/recipes-devtools/dpkg/dpkg_1.21.1.bb renamed from meta/recipes-devtools/dpkg/dpkg_1.20.9.bb +2 -3
similarity index 88%
rename from meta/recipes-devtools/dpkg/dpkg_1.20.9.bb
rename to meta/recipes-devtools/dpkg/dpkg_1.21.1.bb
index 4c587f2bf2..ccb4f06d32 100644
@@ -1,7 +1,7 @@
 require dpkg.inc
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
-SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=1.20.x \
+SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=main \
            file://noman.patch \
            file://remove-tar-no-timestamp.patch \
            file://arch_pm.patch \
@@ -14,11 +14,10 @@ SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=1.20.
            file://0001-dpkg-Support-muslx32-build.patch \
            file://pager.patch \
            file://0001-Add-support-for-riscv32-CPU.patch \
-           file://0014-arch-Add-support-for-ARCv2-CPU.patch \
            "
 
 SRC_URI:append:class-native = " file://0001-build.c-ignore-return-of-1-from-tar-cf.patch"
 
-SRCREV = "2177b782b16e77e97c9643961a5ae3c639bcc4a3"
+SRCREV = "9b52f8fa74571049d868cb2af0643ee7f89a6151"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.20.1
Reviewed-by on v1 15/26
#15 lore raw

Re: [PATCH 15/26] dpkg: update 1.20.9 -> 1.21.1

Hi Alexander,

Quoted 15 lines

From: Alexander Kanavin <[email protected]>
Sent: Thursday, December 16, 2021 1:40 AM
To: [email protected] <[email protected]>
Cc: Alexander Kanavin <[email protected]>; Alexey Brodkin <[email protected]>
Subject: [PATCH 15/26] dpkg: update 1.20.9 -> 1.21.1

---
 meta/recipes-devtools/dpkg/dpkg.inc           |  2 + ...ild.c-ignore-return-of-1-from-tar-cf.patch |  8 +-- .../0014-arch-Add-support-for-ARCv2-CPU.patch | 68 ------------------- .../dpkg/{dpkg_1.20.9.bb => dpkg_1.21.1.bb}   |  5 +-

 4 files changed, 8 insertions(+), 75 deletions(-)

 delete mode 100644 meta/recipes-devtools/dpkg/dpkg/0014-arch-Add-support-for-ARCv2-CPU.patch rename meta/recipes-devtools/dpkg/{dpkg_1.20.9.bb => dpkg_1.21.1.bb} (88%)

...

meta/recipes-devtools/dpkg/dpkg/0014-arch-Add-support-for-ARCv2-CPU.patch

Quoted 2 lines
meta/recipes-devtools/dpkg/dpkg/0014-arch-Add-support-for-ARCv2-CPU.patch deleted +0 -0

Thanks for taking care of that and ...

#16 lore raw

PATCH 16/26 go: upgrade 1.17.4 -> 1.17.5

In reply to Alexander Kanavin

From: Alexander Kanavin <[email protected]>

---
 meta/recipes-devtools/go/{go-1.17.4.inc => go-1.17.5.inc}     | 2 +-
 ...{go-binary-native_1.17.4.bb => go-binary-native_1.17.5.bb} | 4 ++--
 ...o-cross-canadian_1.17.4.bb => go-cross-canadian_1.17.5.bb} | 0
 .../go/{go-cross_1.17.4.bb => go-cross_1.17.5.bb}             | 0
 .../go/{go-crosssdk_1.17.4.bb => go-crosssdk_1.17.5.bb}       | 0
 .../go/{go-native_1.17.4.bb => go-native_1.17.5.bb}           | 0
 .../go/{go-runtime_1.17.4.bb => go-runtime_1.17.5.bb}         | 0
 meta/recipes-devtools/go/{go_1.17.4.bb => go_1.17.5.bb}       | 0
 8 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/go/{go-1.17.4.inc => go-1.17.5.inc} (91%)
 rename meta/recipes-devtools/go/{go-binary-native_1.17.4.bb => go-binary-native_1.17.5.bb} (83%)
 rename meta/recipes-devtools/go/{go-cross-canadian_1.17.4.bb => go-cross-canadian_1.17.5.bb} (100%)
 rename meta/recipes-devtools/go/{go-cross_1.17.4.bb => go-cross_1.17.5.bb} (100%)
 rename meta/recipes-devtools/go/{go-crosssdk_1.17.4.bb => go-crosssdk_1.17.5.bb} (100%)
 rename meta/recipes-devtools/go/{go-native_1.17.4.bb => go-native_1.17.5.bb} (100%)
 rename meta/recipes-devtools/go/{go-runtime_1.17.4.bb => go-runtime_1.17.5.bb} (100%)
 rename meta/recipes-devtools/go/{go_1.17.4.bb => go_1.17.5.bb} (100%)
meta/recipes-devtools/go/go-1.17.5.inc renamed from meta/recipes-devtools/go/go-1.17.4.inc +1 -1
similarity index 91%
rename from meta/recipes-devtools/go/go-1.17.4.inc
rename to meta/recipes-devtools/go/go-1.17.5.inc
index 5c4423ac18..baddd3b215 100644
@@ -15,7 +15,7 @@ SRC_URI += "\
     file://0008-use-GOBUILDMODE-to-set-buildmode.patch \
     file://0009-Revert-cmd-go-make-sure-CC-and-CXX-are-absolute.patch \
 "
-SRC_URI[main.sha256sum] = "4bef3699381ef09e075628504187416565d710660fec65b057edf1ceb187fc4b"
+SRC_URI[main.sha256sum] = "3defb9a09bed042403195e872dcbc8c6fae1485963332279668ec52e80a95a2d"
 
 # Upstream don't believe it is a signifiant real world issue and will only
 # fix in 1.17 onwards where we can drop this.
meta/recipes-devtools/go/go-binary-native_1.17.5.bb renamed from meta/recipes-devtools/go/go-binary-native_1.17.4.bb +2 -2
similarity index 83%
rename from meta/recipes-devtools/go/go-binary-native_1.17.4.bb
rename to meta/recipes-devtools/go/go-binary-native_1.17.5.bb
index 8d8142ce1d..f07d299b40 100644
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
 PROVIDES = "go-native"
 
 SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}"
-SRC_URI[go_linux_amd64.sha256sum] = "adab2483f644e2f8a10ae93122f0018cef525ca48d0b8764dae87cb5f4fd4206"
-SRC_URI[go_linux_arm64.sha256sum] = "617a46bd083e59877bb5680998571b3ddd4f6dcdaf9f8bf65ad4edc8f3eafb13"
+SRC_URI[go_linux_amd64.sha256sum] = "bd78114b0d441b029c8fe0341f4910370925a4d270a6a590668840675b0c653e"
+SRC_URI[go_linux_arm64.sha256sum] = "6f95ce3da40d9ce1355e48f31f4eb6508382415ca4d7413b1e7a3314e6430e7e"
 
 UPSTREAM_CHECK_URI = "https://golang.org/dl/"
 UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
meta/recipes-devtools/go/go-cross-canadian_1.17.5.bb renamed from meta/recipes-devtools/go/go-cross-canadian_1.17.4.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/go/go-cross-canadian_1.17.4.bb
rename to meta/recipes-devtools/go/go-cross-canadian_1.17.5.bb
meta/recipes-devtools/go/go-cross_1.17.5.bb renamed from meta/recipes-devtools/go/go-cross_1.17.4.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/go/go-cross_1.17.4.bb
rename to meta/recipes-devtools/go/go-cross_1.17.5.bb
meta/recipes-devtools/go/go-crosssdk_1.17.5.bb renamed from meta/recipes-devtools/go/go-crosssdk_1.17.4.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/go/go-crosssdk_1.17.4.bb
rename to meta/recipes-devtools/go/go-crosssdk_1.17.5.bb
meta/recipes-devtools/go/go-native_1.17.5.bb renamed from meta/recipes-devtools/go/go-native_1.17.4.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/go/go-native_1.17.4.bb
rename to meta/recipes-devtools/go/go-native_1.17.5.bb
meta/recipes-devtools/go/go-runtime_1.17.5.bb renamed from meta/recipes-devtools/go/go-runtime_1.17.4.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/go/go-runtime_1.17.4.bb
rename to meta/recipes-devtools/go/go-runtime_1.17.5.bb
meta/recipes-devtools/go/go_1.17.5.bb renamed from meta/recipes-devtools/go/go_1.17.4.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/go/go_1.17.4.bb
rename to meta/recipes-devtools/go/go_1.17.5.bb
Signature · 1 line
2.20.1
#17 lore raw

PATCH 17/26 repo: update 2.18 -> 2.19

In reply to Alexander Kanavin
---
 meta/recipes-devtools/repo/{repo_2.18.bb => repo_2.19.bb} | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/repo/{repo_2.18.bb => repo_2.19.bb} (88%)
meta/recipes-devtools/repo/repo_2.19.bb renamed from meta/recipes-devtools/repo/repo_2.18.bb +4 -4
similarity index 88%
rename from meta/recipes-devtools/repo/repo_2.18.bb
rename to meta/recipes-devtools/repo/repo_2.19.bb
index bf5e8d0429..730540cfa0 100644
@@ -9,10 +9,10 @@ SECTION = "console/utils"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRC_URI = "git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main"
-SRCREV = "4a478edb443864561089b2699c9e65c85fc5e036"
-
-SRC_URI += "file://0001-python3-shebang.patch"
+SRC_URI = "git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main \
+           file://0001-python3-shebang.patch \
+           "
+SRCREV = "2a089cfee4a3eb0c28cfb441861fc1fcb05797d3"
 
 MIRRORS += "git://gerrit.googlesource.com/git-repo.git git://github.com/GerritCodeReview/git-repo.git"
 
Signature · 1 line
2.20.1
#18 lore raw

PATCH 18/26 boost: update 1.77.0 -> 1.78.0

In reply to Alexander Kanavin

Drop backports.

Drop 0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch as it is difficult to rebase and needs to land upstream first.

---
 .../{boost-1.77.0.inc => boost-1.78.0.inc}    |   2 +-
 ....cmake-allow-searching-for-python310.patch |  50 ------
 ...h-instruction-set-flags-we-do-that-o.patch |  15 +-
 ...efine-SYS_futex-if-it-does-not-exist.patch |  54 -------
 ...th_no_atomic_int-on-the-command-line.patch |  53 ------
 ...oft-failure-in-bernoulli_details_hpp.patch | 151 ------------------
 ...7e01635306085488290ea83de541ec393f8b.patch |  30 ++++
 meta/recipes-support/boost/boost_1.77.0.bb    |  12 --
 meta/recipes-support/boost/boost_1.78.0.bb    |   9 ++
 9 files changed, 50 insertions(+), 326 deletions(-)
 rename meta/recipes-support/boost/{boost-1.77.0.inc => boost-1.78.0.inc} (90%)
 delete mode 100644 meta/recipes-support/boost/boost/0001-BoostConfig.cmake-allow-searching-for-python310.patch
 delete mode 100644 meta/recipes-support/boost/boost/0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch
 delete mode 100644 meta/recipes-support/boost/boost/0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch
 delete mode 100644 meta/recipes-support/boost/boost/0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch
 create mode 100644 meta/recipes-support/boost/boost/de657e01635306085488290ea83de541ec393f8b.patch
 delete mode 100644 meta/recipes-support/boost/boost_1.77.0.bb
 create mode 100644 meta/recipes-support/boost/boost_1.78.0.bb
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +1 -1
similarity index 90%
rename from meta/recipes-support/boost/boost-1.77.0.inc
rename to meta/recipes-support/boost/boost-1.78.0.inc
index 6df06e76c7..729a47b54f 100644
@@ -12,7 +12,7 @@ BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}"
 BOOST_P = "boost_${BOOST_VER}"
 
 SRC_URI = "https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/${BOOST_P}.tar.bz2"
-SRC_URI[sha256sum] = "fc9f85fc030e233142908241af7a846e60630aa7388de9a5fafb1f3a26840854"
+SRC_URI[sha256sum] = "8681f175d4bdb26c52222665793eef08490d7758529330f98d3b29dd0735bccc"
 
 UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/"
 UPSTREAM_CHECK_REGEX = "release/(?P<pver>.*)/source/"
meta/recipes-support/boost/boost/0001-BoostConfig.cmake-allow-searching-for-python310.patch deleted +0 -50

50 lines not on this page · raw message

meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch +10 -5
index 91ab53efd9..67d5dff125 100644
@@ -1,4 +1,4 @@
-From 8e1d30454afde37eaa3c593ec19d108cd5ed10d0 Mon Sep 17 00:00:00 2001
+From 4d2a8fc8117e56bc283349e5f7f889ebbfc55c71 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <[email protected]>
 Date: Tue, 18 Dec 2018 15:42:57 +0100
 Subject: [PATCH] Don't set up arch/instruction-set flags, we do that
@@ -10,14 +10,14 @@ Signed-off-by: Christopher Larson <[email protected]>
 Signed-off-by: Alexander Kanavin <[email protected]>
 
 ---
- tools/build/src/tools/gcc.jam | 139 ----------------------------------
- 1 file changed, 139 deletions(-)
+ tools/build/src/tools/gcc.jam | 144 ----------------------------------
+ 1 file changed, 144 deletions(-)
 
 diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
-index ff3209f7b..70cbc39a5 100644
+index 47a113223..d77525724 100644
 --- a/tools/build/src/tools/gcc.jam
 +++ b/tools/build/src/tools/gcc.jam
-@@ -1217,142 +1217,3 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + :
+@@ -1122,147 +1122,3 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + :
          <architecture>$(architecture)/<instruction-set>$(instruction-set)
          : $(values) ;
  }
@@ -158,5 +158,10 @@ index ff3209f7b..70cbc39a5 100644
 -cpu-flags gcc OPTIONS : s390x : z13 : -march=z13 ;
 -cpu-flags gcc OPTIONS : s390x : z14 : -march=z14 ;
 -cpu-flags gcc OPTIONS : s390x : z15 : -march=z15 ;
+-# ARM
+-cpu-flags gcc OPTIONS : arm : cortex-a9+vfpv3 : -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard ;
+-cpu-flags gcc OPTIONS : arm : cortex-a53 : -mcpu=cortex-a53 ;
+-cpu-flags gcc OPTIONS : arm : cortex-r5 : -mcpu=cortex-r5 ;
+-cpu-flags gcc OPTIONS : arm : cortex-r5+vfpv3-d16 : -mcpu=cortex-r5 -mfpu=vfpv3-d16 -mfloat-abi=hard ;
 -# AIX variant of RS/6000 & PowerPC
 -toolset.flags gcc AROPTIONS <address-model>64/<target-os>aix : "-X64" ;
meta/recipes-support/boost/boost/0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch deleted +0 -54

54 lines not on this page · raw message

meta/recipes-support/boost/boost/0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch deleted +0 -53

53 lines not on this page · raw message

meta/recipes-support/boost/boost/0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch deleted +0 -151

151 lines not on this page · raw message

meta/recipes-support/boost/boost/de657e01635306085488290ea83de541ec393f8b.patch new file +30 -0
new file mode 100644
index 0000000000..867ec03ba6
@@ -0,0 +1,30 @@
+From de657e01635306085488290ea83de541ec393f8b Mon Sep 17 00:00:00 2001
+From: Leonardo Neumann <[email protected]>
+Date: Mon, 13 Dec 2021 01:07:20 -0300
+Subject: [PATCH] Fix missing sys/stat.h include on musl-based systems
+
+Boost 1.78.0 fails to build on musl-based systems because musl does
+not include sys/stat.h by default.
+
+Fixes #161 ("Boost compiler error")
+Upstream-Status: Submitted [https://github.com/boostorg/interprocess/pull/162]
+Signed-off-by: Alexander Kanavin <[email protected]>
+---
+ include/boost/interprocess/permissions.hpp | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/boost/interprocess/permissions.hpp b/boost/interprocess/permissions.hpp
+index ab55411e..0b21a685 100644
+--- a/boost/interprocess/permissions.hpp
++++ b/boost/interprocess/permissions.hpp
+@@ -29,6 +29,10 @@
+ 
+ #include <boost/interprocess/detail/win32_api.hpp>
+ 
++#else
++
++#include <sys/stat.h>
++
+ #endif
+ 
+ #endif   //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
meta/recipes-support/boost/boost_1.77.0.bb deleted +0 -12
deleted file mode 100644
index bde6b14a79..0000000000
@@ -1,12 +0,0 @@
-require boost-${PV}.inc
-require boost.inc
-
-SRC_URI += "file://boost-CVE-2012-2677.patch \
-           file://boost-math-disable-pch-for-gcc.patch \
-           file://0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \
-           file://0001-dont-setup-compiler-flags-m32-m64.patch \
-           file://0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch \
-           file://0001-BoostConfig.cmake-allow-searching-for-python310.patch \
-           file://0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch \
-           file://0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch \
-           "
meta/recipes-support/boost/boost_1.78.0.bb new file +9 -0
new file mode 100644
index 0000000000..f4b6ed8576
@@ -0,0 +1,9 @@
+require boost-${PV}.inc
+require boost.inc
+
+SRC_URI += "file://boost-CVE-2012-2677.patch \
+           file://boost-math-disable-pch-for-gcc.patch \
+           file://0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \
+           file://0001-dont-setup-compiler-flags-m32-m64.patch \
+           file://de657e01635306085488290ea83de541ec393f8b.patch \
+           "
Signature · 1 line
2.20.1
#19 lore raw

Re: [PATCH 18/26] boost: update 1.77.0 -> 1.78.0

Quoted 5 lines · Alexander Kanavin

Drop backports.

Drop 0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch as it is difficult to rebase and needs to land upstream first.

It's not that rebasing is too hard for this patch but this patch is an incorrect way to fix what it's trying to solve and that's why I am fine with dropping it.
landing upstream is not a precondition for submitting patches to OpenEmbedded but good to have. All distributions carry patches and as long as patches are working
their way upstream asynchronously its ok. Let's not make it too hard for contributors and chase them away.

Quoted 482 lines
---
 .../{boost-1.77.0.inc => boost-1.78.0.inc}    |   2 +-
 ....cmake-allow-searching-for-python310.patch |  50 ------
 ...h-instruction-set-flags-we-do-that-o.patch |  15 +-
 ...efine-SYS_futex-if-it-does-not-exist.patch |  54 -------
 ...th_no_atomic_int-on-the-command-line.patch |  53 ------
 ...oft-failure-in-bernoulli_details_hpp.patch | 151 ------------------
 ...7e01635306085488290ea83de541ec393f8b.patch |  30 ++++
 meta/recipes-support/boost/boost_1.77.0.bb    |  12 --
 meta/recipes-support/boost/boost_1.78.0.bb    |   9 ++
 9 files changed, 50 insertions(+), 326 deletions(-)
 rename meta/recipes-support/boost/{boost-1.77.0.inc => boost-1.78.0.inc} (90%)
 delete mode 100644 meta/recipes-support/boost/boost/0001-BoostConfig.cmake-allow-searching-for-python310.patch
 delete mode 100644 meta/recipes-support/boost/boost/0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch
 delete mode 100644 meta/recipes-support/boost/boost/0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch
 delete mode 100644 meta/recipes-support/boost/boost/0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch
 create mode 100644 meta/recipes-support/boost/boost/de657e01635306085488290ea83de541ec393f8b.patch
 delete mode 100644 meta/recipes-support/boost/boost_1.77.0.bb
 create mode 100644 meta/recipes-support/boost/boost_1.78.0.bb
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +1 -1
similarity index 90%
rename from meta/recipes-support/boost/boost-1.77.0.inc
rename to meta/recipes-support/boost/boost-1.78.0.inc
index 6df06e76c7..729a47b54f 100644
@@ -12,7 +12,7 @@ BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}"
 BOOST_P = "boost_${BOOST_VER}"
 
 SRC_URI = "https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/${BOOST_P}.tar.bz2"
-SRC_URI[sha256sum] = "fc9f85fc030e233142908241af7a846e60630aa7388de9a5fafb1f3a26840854"
+SRC_URI[sha256sum] = "8681f175d4bdb26c52222665793eef08490d7758529330f98d3b29dd0735bccc"
 
 UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/"
 UPSTREAM_CHECK_REGEX = "release/(?P<pver>.*)/source/"
meta/recipes-support/boost/boost/0001-BoostConfig.cmake-allow-searching-for-python310.patch deleted +0 -50
deleted file mode 100644
index 0a9ee2cc95..0000000000
@@ -1,50 +0,0 @@
-From e193f080c7d209516ac9b712fa0c50bb08026fa2 Mon Sep 17 00:00:00 2001
-From: Martin Jansa <[email protected]>
-Date: Tue, 19 Oct 2021 12:24:31 +0000
-Subject: [PATCH] BoostConfig.cmake: allow searching for python310
-
-* accept double digits in Python3_VERSION_MINOR
-
-* if someone is using e.g.:
-  find_package(Python3 REQUIRED)
-  find_package(Boost REQUIRED python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR})
-
-  with python-3.10 then it currently fails with:
-
-  -- Found PythonLibs: /usr/lib/libpython3.10.so (found version "3.10.0")
-  -- Found Python3: -native/usr/bin/python3-native/python3 (found version "3.10.0") found components: Interpreter
-  CMake Error at /usr/lib/cmake/Boost-1.77.0/BoostConfig.cmake:141 (find_package):
-    Could not find a package configuration file provided by "boost_python310"
-    (requested version 1.77.0) with any of the following names:
-
-      boost_python310Config.cmake
-      boost_python310-config.cmake
-
-    Add the installation prefix of "boost_python310" to CMAKE_PREFIX_PATH or
-    set "boost_python310_DIR" to a directory containing one of the above files.
-    If "boost_python310" provides a separate development package or SDK, be
-    sure it has been installed.
-  Call Stack (most recent call first):
-    /usr/lib/cmake/Boost-1.77.0/BoostConfig.cmake:258 (boost_find_component)
-    /usr/share/cmake-3.21/Modules/FindBoost.cmake:594 (find_package)
-    CMakeLists.txt:18 (find_package)
-
-Upstream-Status: Submitted [https://github.com/boostorg/boost_install/pull/53]
-Signed-off-by: Martin Jansa <[email protected]>
----
- tools/boost_install/BoostConfig.cmake | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tools/boost_install/BoostConfig.cmake b/tools/boost_install/BoostConfig.cmake
-index fd17821..5dffa58 100644
---- a/tools/boost_install/BoostConfig.cmake
-+++ b/tools/boost_install/BoostConfig.cmake
-@@ -113,7 +113,7 @@ macro(boost_find_component comp required quiet)
-     set(_BOOST_REQUIRED REQUIRED)
-   endif()
-
--  if("${comp}" MATCHES "^(python|numpy|mpi_python)([1-9])([0-9])$")
-+  if("${comp}" MATCHES "^(python|numpy|mpi_python)([1-9])([0-9][0-9]?)$")
-
-     # handle pythonXY and numpyXY versioned components for compatibility
-
meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch +10 -5
index 91ab53efd9..67d5dff125 100644
@@ -1,4 +1,4 @@
-From 8e1d30454afde37eaa3c593ec19d108cd5ed10d0 Mon Sep 17 00:00:00 2001
+From 4d2a8fc8117e56bc283349e5f7f889ebbfc55c71 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <[email protected]>
 Date: Tue, 18 Dec 2018 15:42:57 +0100
 Subject: [PATCH] Don't set up arch/instruction-set flags, we do that
@@ -10,14 +10,14 @@ Signed-off-by: Christopher Larson <[email protected]>
 Signed-off-by: Alexander Kanavin <[email protected]>
 
 ---
- tools/build/src/tools/gcc.jam | 139 ----------------------------------
- 1 file changed, 139 deletions(-)
+ tools/build/src/tools/gcc.jam | 144 ----------------------------------
+ 1 file changed, 144 deletions(-)
 
 diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
-index ff3209f7b..70cbc39a5 100644
+index 47a113223..d77525724 100644
 --- a/tools/build/src/tools/gcc.jam
 +++ b/tools/build/src/tools/gcc.jam
-@@ -1217,142 +1217,3 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + :
+@@ -1122,147 +1122,3 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + :
          <architecture>$(architecture)/<instruction-set>$(instruction-set)
          : $(values) ;
  }
@@ -158,5 +158,10 @@ index ff3209f7b..70cbc39a5 100644
 -cpu-flags gcc OPTIONS : s390x : z13 : -march=z13 ;
 -cpu-flags gcc OPTIONS : s390x : z14 : -march=z14 ;
 -cpu-flags gcc OPTIONS : s390x : z15 : -march=z15 ;
+-# ARM
+-cpu-flags gcc OPTIONS : arm : cortex-a9+vfpv3 : -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard ;
+-cpu-flags gcc OPTIONS : arm : cortex-a53 : -mcpu=cortex-a53 ;
+-cpu-flags gcc OPTIONS : arm : cortex-r5 : -mcpu=cortex-r5 ;
+-cpu-flags gcc OPTIONS : arm : cortex-r5+vfpv3-d16 : -mcpu=cortex-r5 -mfpu=vfpv3-d16 -mfloat-abi=hard ;
 -# AIX variant of RS/6000 & PowerPC
 -toolset.flags gcc AROPTIONS <address-model>64/<target-os>aix : "-X64" ;
meta/recipes-support/boost/boost/0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch deleted +0 -54
deleted file mode 100644
index 523568e9bc..0000000000
@@ -1,54 +0,0 @@
-From d6f7b6064dc91d1d5fa18554b40b14822ab7a32b Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Fri, 16 Oct 2020 11:13:22 -0700
-Subject: [PATCH] fiber,libs: Define SYS_futex if it does not exist
-
-__NR_futex is not defines by newer architectures e.g. arc, riscv32 as
-they only have 64bit variant of time_t. Glibc defines SYS_futex interface based on
-__NR_futex, since this is used in applications, such applications start
-to fail to build for these newer architectures. This patch defines a
-fallback to alias __NR_futex to __NR_futex_tim64 so SYS_futex keeps
-working
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <[email protected]>
----
- boost/fiber/detail/futex.hpp | 5 +++++
- libs/log/src/event.cpp       | 4 ++++
- 2 files changed, 9 insertions(+)
-
-diff --git a/boost/fiber/detail/futex.hpp b/boost/fiber/detail/futex.hpp
-index e64bd5990..16bee64f1 100644
---- a/boost/fiber/detail/futex.hpp
-+++ b/boost/fiber/detail/futex.hpp
-@@ -17,6 +17,11 @@ extern "C" {
- #include <linux/futex.h>
- #include <sys/syscall.h>
- }
-+
-+#if !defined(SYS_futex) && defined(SYS_futex_time64)
-+#define SYS_futex SYS_futex_time64
-+#endif
-+
- #elif BOOST_OS_WINDOWS
- #include <windows.h>
- #endif
-diff --git a/libs/log/src/event.cpp b/libs/log/src/event.cpp
-index 5485154d7..2c7c0381f 100644
---- a/libs/log/src/event.cpp
-+++ b/libs/log/src/event.cpp
-@@ -31,6 +31,10 @@
- #include <linux/futex.h>
- #include <boost/memory_order.hpp>
-
-+#if !defined(SYS_futex) && defined(SYS_futex_time64)
-+#define SYS_futex SYS_futex_time64
-+#endif
-+
- // Some Android NDKs (Google NDK and older Crystax.NET NDK versions) don't define SYS_futex
- #if defined(SYS_futex)
- #define BOOST_LOG_SYS_FUTEX SYS_futex
---
-2.28.0
-
meta/recipes-support/boost/boost/0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch deleted +0 -53
deleted file mode 100644
index b05b795084..0000000000
@@ -1,53 +0,0 @@
-From 32bd6197353f6ea8e5bef01f09e25c944141acfc Mon Sep 17 00:00:00 2001
-From: jzmaddock <[email protected]>
-Date: Wed, 1 Sep 2021 18:54:54 +0100
-Subject: [PATCH] Allow definition of BOOST_MATH_NO_ATOMIC_INT on the command
- line. Allows us to test/emulate platforms with no atomic integers.
-
-[[email protected]:
-  - backport from boostorg/math 32bd6197353f6ea8e5bef01f09e25c944141acfc
-  - alter path to match boost release
-]
-Signed-off-by: Michael Nosthoff <[email protected]>
----
-Upstream-Status: Backport [https://github.com/boostorg/math/pull/684/commits/32bd6197353f6ea8e5bef01f09e25c944141acfc]
- boost/math/tools/atomic.hpp | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/boost/math/tools/atomic.hpp b/boost/math/tools/atomic.hpp
-index cc76ed269f..e3cbf5db89 100644
---- a/boost/math/tools/atomic.hpp
-+++ b/boost/math/tools/atomic.hpp
-@@ -16,27 +16,27 @@
- namespace boost {
-    namespace math {
-       namespace detail {
--#if ATOMIC_INT_LOCK_FREE == 2
-+#if (ATOMIC_INT_LOCK_FREE == 2) && !defined(BOOST_MATH_NO_ATOMIC_INT)
-          typedef std::atomic<int> atomic_counter_type;
-          typedef std::atomic<unsigned> atomic_unsigned_type;
-          typedef int atomic_integer_type;
-          typedef unsigned atomic_unsigned_integer_type;
--#elif ATOMIC_SHORT_LOCK_FREE == 2
-+#elif (ATOMIC_SHORT_LOCK_FREE == 2) && !defined(BOOST_MATH_NO_ATOMIC_INT)
-          typedef std::atomic<short> atomic_counter_type;
-          typedef std::atomic<unsigned short> atomic_unsigned_type;
-          typedef short atomic_integer_type;
-          typedef unsigned short atomic_unsigned_type;
--#elif ATOMIC_LONG_LOCK_FREE == 2
-+#elif (ATOMIC_LONG_LOCK_FREE == 2) && !defined(BOOST_MATH_NO_ATOMIC_INT)
-          typedef std::atomic<long> atomic_unsigned_integer_type;
-          typedef std::atomic<unsigned long> atomic_unsigned_type;
-          typedef unsigned long atomic_unsigned_type;
-          typedef long atomic_integer_type;
--#elif ATOMIC_LLONG_LOCK_FREE == 2
-+#elif (ATOMIC_LLONG_LOCK_FREE == 2) && !defined(BOOST_MATH_NO_ATOMIC_INT)
-          typedef std::atomic<long long> atomic_unsigned_integer_type;
-          typedef std::atomic<unsigned long long> atomic_unsigned_type;
-          typedef long long atomic_integer_type;
-          typedef unsigned long long atomic_unsigned_integer_type;
--#else
-+#elif !defined(BOOST_MATH_NO_ATOMIC_INT)
- #  define BOOST_MATH_NO_ATOMIC_INT
- #endif
-       } // Namespace detail
meta/recipes-support/boost/boost/0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch deleted +0 -151
deleted file mode 100644
index f69e4f21f3..0000000000
@@ -1,151 +0,0 @@
-From 7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b Mon Sep 17 00:00:00 2001
-From: jzmaddock <[email protected]>
-Date: Wed, 1 Sep 2021 20:31:53 +0100
-Subject: [PATCH] Make no atomics a soft failure in bernoulli_details.hpp.
- Include an "escape macro" so thread safety can be disabled if certain
- bernoulli features are to be used in a no-atomics environment. Fixes
- https://github.com/boostorg/math/issues/673.
-
-[[email protected]:
-  - backport from boostorg/math 7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b
-  - alter path to match boost release
-]
-Signed-off-by: Michael Nosthoff <[email protected]>
----
-Upstream-Status: Backport [https://github.com/boostorg/math/pull/684/commits/7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b]
- .../detail/bernoulli_details.hpp                 | 10 +++++++---
- libs/math/test/Jamfile.v2                        |  3 +++
- test/compile_test/bernoulli_no_atomic_d.cpp      | 14 ++++++++++++++
- test/compile_test/bernoulli_no_atomic_fail.cpp   | 15 +++++++++++++++
- test/compile_test/bernoulli_no_atomic_mp.cpp     | 16 ++++++++++++++++
- 5 files changed, 55 insertions(+), 3 deletions(-)
- create mode 100644 test/compile_test/bernoulli_no_atomic_d.cpp
- create mode 100644 test/compile_test/bernoulli_no_atomic_fail.cpp
- create mode 100644 test/compile_test/bernoulli_no_atomic_mp.cpp
-
-diff --git a/boost/math/special_functions/detail/bernoulli_details.hpp b/boost/math/special_functions/detail/bernoulli_details.hpp
-index cf35545264..8519b7c89c 100644
---- a/boost/math/special_functions/detail/bernoulli_details.hpp
-+++ b/boost/math/special_functions/detail/bernoulli_details.hpp
-@@ -360,7 +360,7 @@ class bernoulli_numbers_cache
-          return out;
-       }
-
--      #ifndef BOOST_HAS_THREADS
-+      #if !defined(BOOST_HAS_THREADS) || defined(BOOST_MATH_BERNOULLI_UNTHREADED)
-       //
-       // Single threaded code, very simple:
-       //
-@@ -382,6 +382,8 @@ class bernoulli_numbers_cache
-          *out = (i >= m_overflow_limit) ? policies::raise_overflow_error<T>("boost::math::bernoulli_b2n<%1%>(std::size_t)", 0, T(i), pol) : bn[i];
-          ++out;
-       }
-+      #elif defined(BOOST_MATH_NO_ATOMIC_INT)
-+      static_assert(sizeof(T) == 1, "Unsupported configuration: your platform appears to have no atomic integers.  If you are happy with thread-unsafe code, then you may define BOOST_MATH_BERNOULLI_UNTHREADED to suppress this error.");
-       #else
-       //
-       // Double-checked locking pattern, lets us access cached already cached values
-@@ -464,7 +466,7 @@ class bernoulli_numbers_cache
-          return out;
-       }
-
--      #ifndef BOOST_HAS_THREADS
-+      #if !defined(BOOST_HAS_THREADS) || defined(BOOST_MATH_BERNOULLI_UNTHREADED)
-       //
-       // Single threaded code, very simple:
-       //
-@@ -494,6 +496,8 @@ class bernoulli_numbers_cache
-          }
-          ++out;
-       }
-+      #elif defined(BOOST_MATH_NO_ATOMIC_INT)
-+      static_assert(sizeof(T) == 1, "Unsupported configuration: your platform appears to have no atomic integers.  If you are happy with thread-unsafe code, then you may define BOOST_MATH_BERNOULLI_UNTHREADED to suppress this error.");
-       #else
-       //
-       // Double-checked locking pattern, lets us access cached already cached values
-@@ -555,7 +559,7 @@ class bernoulli_numbers_cache
-    // The value at which we know overflow has already occurred for the Bn:
-    std::size_t m_overflow_limit;
-
--   #ifdef BOOST_HAS_THREADS
-+   #if defined(BOOST_HAS_THREADS) && !defined(BOOST_MATH_NO_ATOMIC_INT)
-    std::mutex m_mutex;
-    atomic_counter_type m_counter, m_current_precision;
-    #else
-diff --git a/libs/math/test/Jamfile.v2 b/libs/math/test/Jamfile.v2
-index 52fb87f5e5..3ac63f9279 100644
---- a/libs/math/test/Jamfile.v2
-+++ b/libs/math/test/Jamfile.v2
-@@ -1137,6 +1137,9 @@ test-suite misc :
-
- #   [ run __temporary_test.cpp test_instances//test_instances : : : <test-info>always_show_run_output <pch>off ]
-    [ compile test_no_long_double_policy.cpp ]
-+   [ compile compile_test/bernoulli_no_atomic_d.cpp ]
-+   [ compile compile_test/bernoulli_no_atomic_mp.cpp ]
-+   [ compile-fail compile_test/bernoulli_no_atomic_fail.cpp ]
- ;
-
- test-suite interpolators :
-diff --git a/test/compile_test/bernoulli_no_atomic_d.cpp b/test/compile_test/bernoulli_no_atomic_d.cpp
-new file mode 100644
-index 0000000000..61926f7e1f
---- /dev/null
-+++ b/test/compile_test/bernoulli_no_atomic_d.cpp
-@@ -0,0 +1,14 @@
-+//  (C) Copyright John Maddock 2021.
-+//  Use, modification and distribution are subject to the
-+//  Boost Software License, Version 1.0. (See accompanying file
-+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-+
-+#define BOOST_MATH_NO_ATOMIC_INT
-+
-+#include <boost/math/special_functions/bernoulli.hpp>
-+#include "test_compile_result.hpp"
-+
-+void compile_and_link_test()
-+{
-+   check_result<double>(boost::math::bernoulli_b2n<double>(4));
-+}
-diff --git a/test/compile_test/bernoulli_no_atomic_fail.cpp b/test/compile_test/bernoulli_no_atomic_fail.cpp
-new file mode 100644
-index 0000000000..bbd7152412
---- /dev/null
-+++ b/test/compile_test/bernoulli_no_atomic_fail.cpp
-@@ -0,0 +1,15 @@
-+//  (C) Copyright John Maddock 2021.
-+//  Use, modification and distribution are subject to the
-+//  Boost Software License, Version 1.0. (See accompanying file
-+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-+
-+#define BOOST_MATH_NO_ATOMIC_INT
-+
-+#include <boost/math/special_functions/bernoulli.hpp>
-+#include <boost/multiprecision/cpp_bin_float.hpp>
-+#include "test_compile_result.hpp"
-+
-+void compile_and_link_test()
-+{
-+   check_result<boost::multiprecision::cpp_bin_float_50>(boost::math::bernoulli_b2n<boost::multiprecision::cpp_bin_float_50>(4));
-+}
-diff --git a/test/compile_test/bernoulli_no_atomic_mp.cpp b/test/compile_test/bernoulli_no_atomic_mp.cpp
-new file mode 100644
-index 0000000000..8d5a6e78e6
---- /dev/null
-+++ b/test/compile_test/bernoulli_no_atomic_mp.cpp
-@@ -0,0 +1,16 @@
-+//  (C) Copyright John Maddock 2021.
-+//  Use, modification and distribution are subject to the
-+//  Boost Software License, Version 1.0. (See accompanying file
-+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-+
-+#define BOOST_MATH_NO_ATOMIC_INT
-+#define BOOST_MATH_BERNOULLI_UNTHREADED
-+
-+#include <boost/math/special_functions/bernoulli.hpp>
-+#include <boost/multiprecision/cpp_bin_float.hpp>
-+#include "test_compile_result.hpp"
-+
-+void compile_and_link_test()
-+{
-+   check_result<boost::multiprecision::cpp_bin_float_50>(boost::math::bernoulli_b2n<boost::multiprecision::cpp_bin_float_50>(4));
-+}
meta/recipes-support/boost/boost/de657e01635306085488290ea83de541ec393f8b.patch new file +30 -0
new file mode 100644
index 0000000000..867ec03ba6
@@ -0,0 +1,30 @@
+From de657e01635306085488290ea83de541ec393f8b Mon Sep 17 00:00:00 2001
+From: Leonardo Neumann <[email protected]>
+Date: Mon, 13 Dec 2021 01:07:20 -0300
+Subject: [PATCH] Fix missing sys/stat.h include on musl-based systems
+
+Boost 1.78.0 fails to build on musl-based systems because musl does
+not include sys/stat.h by default.
+
+Fixes #161 ("Boost compiler error")
+Upstream-Status: Submitted [https://github.com/boostorg/interprocess/pull/162]
+Signed-off-by: Alexander Kanavin <[email protected]>
+---
+ include/boost/interprocess/permissions.hpp | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/boost/interprocess/permissions.hpp b/boost/interprocess/permissions.hpp
+index ab55411e..0b21a685 100644
+--- a/boost/interprocess/permissions.hpp
++++ b/boost/interprocess/permissions.hpp
+@@ -29,6 +29,10 @@
+
+ #include <boost/interprocess/detail/win32_api.hpp>
+
++#else
++
++#include <sys/stat.h>
++
+ #endif
+
+ #endif   //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
meta/recipes-support/boost/boost_1.77.0.bb deleted +0 -12
deleted file mode 100644
index bde6b14a79..0000000000
@@ -1,12 +0,0 @@
-require boost-${PV}.inc
-require boost.inc
-
-SRC_URI += "file://boost-CVE-2012-2677.patch \
-           file://boost-math-disable-pch-for-gcc.patch \
-           file://0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \
-           file://0001-dont-setup-compiler-flags-m32-m64.patch \
-           file://0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch \
-           file://0001-BoostConfig.cmake-allow-searching-for-python310.patch \
-           file://0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch \
-           file://0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch \
-           "
meta/recipes-support/boost/boost_1.78.0.bb new file +9 -1
new file mode 100644
index 0000000000..f4b6ed8576
@@ -0,0 +1,9 @@
+require boost-${PV}.inc
+require boost.inc
+
+SRC_URI += "file://boost-CVE-2012-2677.patch \
+           file://boost-math-disable-pch-for-gcc.patch \
+           file://0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \
+           file://0001-dont-setup-compiler-flags-m32-m64.patch \
+           file://de657e01635306085488290ea83de541ec393f8b.patch \
+           "
--

2.20.1

#20 lore raw

Re: [PATCH 18/26] boost: update 1.77.0 -> 1.78.0

Quoted 12 lines · Khem Raj
Quoted 2 lines

Drop 0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch as it is difficult to rebase and needs to land upstream first.

It's not that rebasing is too hard for this patch but this patch is an incorrect way to fix what it's trying to solve and that's why I am fine with dropping it.
landing upstream is not a precondition for submitting patches to OpenEmbedded but good to have. All distributions carry patches and as long as patches are working
their way upstream asynchronously its ok. Let's not make it too hard for contributors and chase them away.

Yes, rather than 'land upstream' I should've said 'submitted upstream' - that patch is dated 16 October 2020, and it never happened. While myself and everyone else enormously appreciate your toolchain and target work, there's a problem with amassing invasive pending patches related to that:
no one except you truly understands them. So what I'm asking is just a bit more rigor going forward: submit patches upstream at the same time you submit them to core, and steadily work your way towards reducing the pile that's already there.

Alex

Quoted 578 lines
Quoted 15 lines
---
 .../{boost-1.77.0.inc => boost-1.78.0.inc}    |   2 +-
 ....cmake-allow-searching-for-python310.patch |  50 ------
 ...h-instruction-set-flags-we-do-that-o.patch |  15 +-
 ...efine-SYS_futex-if-it-does-not-exist.patch |  54 -------
 ...th_no_atomic_int-on-the-command-line.patch |  53 ------
 ...oft-failure-in-bernoulli_details_hpp.patch | 151 ------------------
 ...7e01635306085488290ea83de541ec393f8b.patch |  30 ++++
 meta/recipes-support/boost/boost_1.77.0.bb    |  12 --
 meta/recipes-support/boost/boost_1.78.0.bb    |   9 ++
 9 files changed, 50 insertions(+), 326 deletions(-)
 rename meta/recipes-support/boost/{boost-1.77.0.inc =>

boost-1.78.0.inc} (90%)

Quoted 1 line
 delete mode 100644

meta/recipes-support/boost/boost/0001-BoostConfig.cmake-allow-searching-for-python310.patch

Quoted 1 line
 delete mode 100644

meta/recipes-support/boost/boost/0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch

Quoted 1 line
 delete mode 100644

meta/recipes-support/boost/boost/0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch

Quoted 1 line
 delete mode 100644

meta/recipes-support/boost/boost/0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch

Quoted 1 line
 create mode 100644

meta/recipes-support/boost/boost/de657e01635306085488290ea83de541ec393f8b.patch

Review

Quoted 4 lines
 delete mode 100644 meta/recipes-support/boost/boost_1.77.0.bb
 create mode 100644 meta/recipes-support/boost/boost_1.78.0.bb
(quoted diff) +0 -0

b/meta/recipes-support/boost/boost-1.78.0.inc

meta/recipes-support/boost/boost-1.78.0.inc BOOST_MAJ =

Quoted 7 lines

similarity index 90%
rename from meta/recipes-support/boost/boost-1.77.0.inc rename to meta/recipes-support/boost/boost-1.78.0.inc index 6df06e76c7..729a47b54f 100644

meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -0
@@ -12,7 +12,7 @@ BOOST_MAJ =

"${@"_".join(d.getVar("PV").split(".")[0:2])}"

meta/recipes-support/boost/boost-1.78.0.inc BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}"

Quoted 3 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -0
 BOOST_P = "boost_${BOOST_VER}"
 
 SRC_URI = "

https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/${BOOST_P}.tar.bz2
"

meta/recipes-support/boost/boost-1.78.0.inc BOOST_MAJ = · line 15

Quoted 1 line
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -1
-SRC_URI[sha256sum] =

"fc9f85fc030e233142908241af7a846e60630aa7388de9a5fafb1f3a26840854"

meta/recipes-support/boost/boost-1.78.0.inc BOOST_MAJ = · line 15

Quoted 1 line
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +1 -0
+SRC_URI[sha256sum] =

"8681f175d4bdb26c52222665793eef08490d7758529330f98d3b29dd0735bccc"

Quoted 4 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -0
 UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/"
 UPSTREAM_CHECK_REGEX = "release/(?P<pver>.*)/source/"

diff --git

a/meta/recipes-support/boost/boost/0001-BoostConfig.cmake-allow-searching-for-python310.patch b/meta/recipes-support/boost/boost/0001-BoostConfig.cmake-allow-searching-for-python310.patch

Quoted 3 lines

deleted file mode 100644
index 0a9ee2cc95..0000000000
---

a/meta/recipes-support/boost/boost/0001-BoostConfig.cmake-allow-searching-for-python310.patch

meta/recipes-support/boost/boost-1.78.0.inc line 10

Quoted 12 lines

+++ /dev/null

meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -10
@@ -1,50 +0,0 @@
-From e193f080c7d209516ac9b712fa0c50bb08026fa2 Mon Sep 17 00:00:00 2001
-From: Martin Jansa <[email protected]>
-Date: Tue, 19 Oct 2021 12:24:31 +0000
-Subject: [PATCH] BoostConfig.cmake: allow searching for python310
-
-* accept double digits in Python3_VERSION_MINOR
-
-* if someone is using e.g.:
-  find_package(Python3 REQUIRED)
-  find_package(Boost REQUIRED

python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR})

meta/recipes-support/boost/boost-1.78.0.inc line 14

Quoted 4 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -4
-
-  with python-3.10 then it currently fails with:
-
-  -- Found PythonLibs: /usr/lib/libpython3.10.so (found version

"3.10.0")

meta/recipes-support/boost/boost-1.78.0.inc line 15

Quoted 1 line
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -1
-  -- Found Python3: -native/usr/bin/python3-native/python3 (found

version "3.10.0") found components: Interpreter

meta/recipes-support/boost/boost-1.78.0.inc line 16

Quoted 1 line
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -1
-  CMake Error at /usr/lib/cmake/Boost-1.77.0/BoostConfig.cmake:141

(find_package):

meta/recipes-support/boost/boost-1.78.0.inc line 17

Quoted 1 line
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -1
-    Could not find a package configuration file provided by

"boost_python310"

meta/recipes-support/boost/boost-1.78.0.inc line 23

Quoted 6 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -6
-    (requested version 1.77.0) with any of the following names:
-
-      boost_python310Config.cmake
-      boost_python310-config.cmake
-
-    Add the installation prefix of "boost_python310" to

CMAKE_PREFIX_PATH or

meta/recipes-support/boost/boost-1.78.0.inc line 24

Quoted 1 line
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -1
-    set "boost_python310_DIR" to a directory containing one of the

above files.

meta/recipes-support/boost/boost-1.78.0.inc line 25

Quoted 1 line
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -1
-    If "boost_python310" provides a separate development package or

SDK, be

meta/recipes-support/boost/boost-1.78.0.inc line 28

Quoted 3 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -3
-    sure it has been installed.
-  Call Stack (most recent call first):
-    /usr/lib/cmake/Boost-1.77.0/BoostConfig.cmake:258

(boost_find_component)

meta/recipes-support/boost/boost-1.78.0.inc line 32

Quoted 4 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -4
-    /usr/share/cmake-3.21/Modules/FindBoost.cmake:594 (find_package)
-    CMakeLists.txt:18 (find_package)
-
-Upstream-Status: Submitted [

https://github.com/boostorg/boost_install/pull/53]

meta/recipes-support/boost/boost-1.78.0.inc line 38

Quoted 6 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -6
-Signed-off-by: Martin Jansa <[email protected]>
----
- tools/boost_install/BoostConfig.cmake | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tools/boost_install/BoostConfig.cmake

b/tools/boost_install/BoostConfig.cmake

meta/recipes-support/boost/boost-1.78.0.inc line 47

Quoted 9 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -9
-index fd17821..5dffa58 100644
---- a/tools/boost_install/BoostConfig.cmake
-+++ b/tools/boost_install/BoostConfig.cmake
-@@ -113,7 +113,7 @@ macro(boost_find_component comp required quiet)
-     set(_BOOST_REQUIRED REQUIRED)
-   endif()
-
--  if("${comp}" MATCHES "^(python|numpy|mpi_python)([1-9])([0-9])$")
-+  if("${comp}" MATCHES

"^(python|numpy|mpi_python)([1-9])([0-9][0-9]?)$")

meta/recipes-support/boost/boost-1.78.0.inc line 49

Quoted 2 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -2
-
-     # handle pythonXY and numpyXY versioned components for

compatibility

Quoted 2 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -1
-

diff --git

a/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch b/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch

Quoted 2 lines

index 91ab53efd9..67d5dff125 100644
---

a/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch

Quoted 1 line

+++

b/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch

meta/recipes-support/boost/boost-1.78.0.inc Signed-off-by: Christopher Larson <

Quoted 7 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +1 -1
@@ -1,4 +1,4 @@
-From 8e1d30454afde37eaa3c593ec19d108cd5ed10d0 Mon Sep 17 00:00:00 2001
+From 4d2a8fc8117e56bc283349e5f7f889ebbfc55c71 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <[email protected]>
 Date: Tue, 18 Dec 2018 15:42:57 +0100
 Subject: [PATCH] Don't set up arch/instruction-set flags, we do that
@@ -10,14 +10,14 @@ Signed-off-by: Christopher Larson <

[email protected]>

meta/recipes-support/boost/boost-1.78.0.inc Signed-off-by: Christopher Larson < · line 16

Quoted 9 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +2 -2
 Signed-off-by: Alexander Kanavin <[email protected]>
 
 ---
- tools/build/src/tools/gcc.jam | 139 ----------------------------------
- 1 file changed, 139 deletions(-)
+ tools/build/src/tools/gcc.jam | 144 ----------------------------------
+ 1 file changed, 144 deletions(-)
 
 diff --git a/tools/build/src/tools/gcc.jam

b/tools/build/src/tools/gcc.jam

meta/recipes-support/boost/boost-1.78.0.inc Signed-off-by: Christopher Larson < · line 20

Quoted 5 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +1 -2
-index ff3209f7b..70cbc39a5 100644
+index 47a113223..d77525724 100644
 --- a/tools/build/src/tools/gcc.jam
 +++ b/tools/build/src/tools/gcc.jam
-@@ -1217,142 +1217,3 @@ local rule cpu-flags ( toolset variable :

architecture : instruction-set + :

meta/recipes-support/boost/boost-1.78.0.inc Signed-off-by: Christopher Larson < · line 20

Quoted 1 line
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +1 -0
+@@ -1122,147 +1122,3 @@ local rule cpu-flags ( toolset variable :

architecture : instruction-set + :

Quoted 1 line

<architecture>$(architecture)/<instruction-set>$(instruction-set)

meta/recipes-support/boost/boost-1.78.0.inc index ff3209f7b..70cbc39a5 100644 · line 162

Quoted 8 lines
          : $(values) ;

}

meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +2 -0
@@ -158,5 +158,10 @@ index ff3209f7b..70cbc39a5 100644
 -cpu-flags gcc OPTIONS : s390x : z13 : -march=z13 ;
 -cpu-flags gcc OPTIONS : s390x : z14 : -march=z14 ;
 -cpu-flags gcc OPTIONS : s390x : z15 : -march=z15 ;
+-# ARM
+-cpu-flags gcc OPTIONS : arm : cortex-a9+vfpv3 : -mcpu=cortex-a9

-mfpu=vfpv3 -mfloat-abi=hard ;

meta/recipes-support/boost/boost-1.78.0.inc index ff3209f7b..70cbc39a5 100644 · line 165

Quoted 3 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +3 -0
+-cpu-flags gcc OPTIONS : arm : cortex-a53 : -mcpu=cortex-a53 ;
+-cpu-flags gcc OPTIONS : arm : cortex-r5 : -mcpu=cortex-r5 ;
+-cpu-flags gcc OPTIONS : arm : cortex-r5+vfpv3-d16 : -mcpu=cortex-r5

-mfpu=vfpv3-d16 -mfloat-abi=hard ;

Quoted 3 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -0
 -# AIX variant of RS/6000 & PowerPC
 -toolset.flags gcc AROPTIONS <address-model>64/<target-os>aix : "-X64" ;

diff --git

a/meta/recipes-support/boost/boost/0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch b/meta/recipes-support/boost/boost/0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch

Quoted 3 lines

deleted file mode 100644
index 523568e9bc..0000000000
---

a/meta/recipes-support/boost/boost/0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch

meta/recipes-support/boost/boost-1.78.0.inc line 7

Quoted 9 lines

+++ /dev/null

meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -7
@@ -1,54 +0,0 @@
-From d6f7b6064dc91d1d5fa18554b40b14822ab7a32b Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Fri, 16 Oct 2020 11:13:22 -0700
-Subject: [PATCH] fiber,libs: Define SYS_futex if it does not exist
-
-__NR_futex is not defines by newer architectures e.g. arc, riscv32 as
-they only have 64bit variant of time_t. Glibc defines SYS_futex

interface based on

Quoted 32 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -32
-__NR_futex, since this is used in applications, such applications start
-to fail to build for these newer architectures. This patch defines a
-fallback to alias __NR_futex to __NR_futex_tim64 so SYS_futex keeps
-working
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <[email protected]>
----
- boost/fiber/detail/futex.hpp | 5 +++++
- libs/log/src/event.cpp       | 4 ++++
- 2 files changed, 9 insertions(+)
-
-diff --git a/boost/fiber/detail/futex.hpp b/boost/fiber/detail/futex.hpp
-index e64bd5990..16bee64f1 100644
---- a/boost/fiber/detail/futex.hpp
-+++ b/boost/fiber/detail/futex.hpp
-@@ -17,6 +17,11 @@ extern "C" {
- #include <linux/futex.h>
- #include <sys/syscall.h>
- }
-+
-+#if !defined(SYS_futex) && defined(SYS_futex_time64)
-+#define SYS_futex SYS_futex_time64
-+#endif
-+
- #elif BOOST_OS_WINDOWS
- #include <windows.h>
- #endif
-diff --git a/libs/log/src/event.cpp b/libs/log/src/event.cpp
-index 5485154d7..2c7c0381f 100644
---- a/libs/log/src/event.cpp

meta/recipes-support/boost/boost-1.78.0.inc line 49

Quoted 10 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -10
-+++ b/libs/log/src/event.cpp
-@@ -31,6 +31,10 @@
- #include <linux/futex.h>
- #include <boost/memory_order.hpp>
-
-+#if !defined(SYS_futex) && defined(SYS_futex_time64)
-+#define SYS_futex SYS_futex_time64
-+#endif
-+
- // Some Android NDKs (Google NDK and older Crystax.NET NDK versions)

don't define SYS_futex

Quoted 6 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -5
- #if defined(SYS_futex)
- #define BOOST_LOG_SYS_FUTEX SYS_futex
---
-2.28.0
-

diff --git

a/meta/recipes-support/boost/boost/0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch b/meta/recipes-support/boost/boost/0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch

Quoted 3 lines

deleted file mode 100644
index b05b795084..0000000000
---

a/meta/recipes-support/boost/boost/0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch

meta/recipes-support/boost/boost-1.78.0.inc line 4

Quoted 6 lines

+++ /dev/null

meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -4
@@ -1,53 +0,0 @@
-From 32bd6197353f6ea8e5bef01f09e25c944141acfc Mon Sep 17 00:00:00 2001
-From: jzmaddock <[email protected]>
-Date: Wed, 1 Sep 2021 18:54:54 +0100
-Subject: [PATCH] Allow definition of BOOST_MATH_NO_ATOMIC_INT on the

command

meta/recipes-support/boost/boost-1.78.0.inc line 13

Quoted 9 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -9
- line. Allows us to test/emulate platforms with no atomic integers.
-
-[[email protected]:
-  - backport from boostorg/math 32bd6197353f6ea8e5bef01f09e25c944141acfc
-  - alter path to match boost release
-]
-Signed-off-by: Michael Nosthoff <[email protected]>
----
-Upstream-Status: Backport [

https://github.com/boostorg/math/pull/684/commits/32bd6197353f6ea8e5bef01f09e25c944141acfc
]

Quoted 9 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -9
- boost/math/tools/atomic.hpp | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/boost/math/tools/atomic.hpp b/boost/math/tools/atomic.hpp
-index cc76ed269f..e3cbf5db89 100644
---- a/boost/math/tools/atomic.hpp
-+++ b/boost/math/tools/atomic.hpp
-@@ -16,27 +16,27 @@
- namespace boost {

meta/recipes-support/boost/boost-1.78.0.inc line 32

Quoted 10 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -10
-    namespace math {
-       namespace detail {
--#if ATOMIC_INT_LOCK_FREE == 2
-+#if (ATOMIC_INT_LOCK_FREE == 2) && !defined(BOOST_MATH_NO_ATOMIC_INT)
-          typedef std::atomic<int> atomic_counter_type;
-          typedef std::atomic<unsigned> atomic_unsigned_type;
-          typedef int atomic_integer_type;
-          typedef unsigned atomic_unsigned_integer_type;
--#elif ATOMIC_SHORT_LOCK_FREE == 2
-+#elif (ATOMIC_SHORT_LOCK_FREE == 2) &&

!defined(BOOST_MATH_NO_ATOMIC_INT)

meta/recipes-support/boost/boost-1.78.0.inc line 38

Quoted 6 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -6
-          typedef std::atomic<short> atomic_counter_type;
-          typedef std::atomic<unsigned short> atomic_unsigned_type;
-          typedef short atomic_integer_type;
-          typedef unsigned short atomic_unsigned_type;
--#elif ATOMIC_LONG_LOCK_FREE == 2
-+#elif (ATOMIC_LONG_LOCK_FREE == 2) &&

!defined(BOOST_MATH_NO_ATOMIC_INT)

meta/recipes-support/boost/boost-1.78.0.inc line 44

Quoted 6 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -6
-          typedef std::atomic<long> atomic_unsigned_integer_type;
-          typedef std::atomic<unsigned long> atomic_unsigned_type;
-          typedef unsigned long atomic_unsigned_type;
-          typedef long atomic_integer_type;
--#elif ATOMIC_LLONG_LOCK_FREE == 2
-+#elif (ATOMIC_LLONG_LOCK_FREE == 2) &&

!defined(BOOST_MATH_NO_ATOMIC_INT)

Quoted 10 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -9
-          typedef std::atomic<long long> atomic_unsigned_integer_type;
-          typedef std::atomic<unsigned long long> atomic_unsigned_type;
-          typedef long long atomic_integer_type;
-          typedef unsigned long long atomic_unsigned_integer_type;
--#else
-+#elif !defined(BOOST_MATH_NO_ATOMIC_INT)
- #  define BOOST_MATH_NO_ATOMIC_INT
- #endif
-       } // Namespace detail

diff --git

a/meta/recipes-support/boost/boost/0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch b/meta/recipes-support/boost/boost/0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch

Quoted 3 lines

deleted file mode 100644
index f69e4f21f3..0000000000
---

a/meta/recipes-support/boost/boost/0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch

meta/recipes-support/boost/boost-1.78.0.inc line 4

Quoted 6 lines

+++ /dev/null

meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -4
@@ -1,151 +0,0 @@
-From 7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b Mon Sep 17 00:00:00 2001
-From: jzmaddock <[email protected]>
-Date: Wed, 1 Sep 2021 20:31:53 +0100
-Subject: [PATCH] Make no atomics a soft failure in

bernoulli_details.hpp.

meta/recipes-support/boost/boost-1.78.0.inc line 15

Quoted 11 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -11
- Include an "escape macro" so thread safety can be disabled if certain
- bernoulli features are to be used in a no-atomics environment. Fixes
- https://github.com/boostorg/math/issues/673.
-
-[[email protected]:
-  - backport from boostorg/math 7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b
-  - alter path to match boost release
-]
-Signed-off-by: Michael Nosthoff <[email protected]>
----
-Upstream-Status: Backport [

https://github.com/boostorg/math/pull/684/commits/7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b
]

meta/recipes-support/boost/boost-1.78.0.inc line 26

Quoted 11 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -11
- .../detail/bernoulli_details.hpp                 | 10 +++++++---
- libs/math/test/Jamfile.v2                        |  3 +++
- test/compile_test/bernoulli_no_atomic_d.cpp      | 14 ++++++++++++++
- test/compile_test/bernoulli_no_atomic_fail.cpp   | 15 +++++++++++++++
- test/compile_test/bernoulli_no_atomic_mp.cpp     | 16 ++++++++++++++++
- 5 files changed, 55 insertions(+), 3 deletions(-)
- create mode 100644 test/compile_test/bernoulli_no_atomic_d.cpp
- create mode 100644 test/compile_test/bernoulli_no_atomic_fail.cpp
- create mode 100644 test/compile_test/bernoulli_no_atomic_mp.cpp
-
-diff --git a/boost/math/special_functions/detail/bernoulli_details.hpp

b/boost/math/special_functions/detail/bernoulli_details.hpp

meta/recipes-support/boost/boost-1.78.0.inc line 35

Quoted 9 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -9
-index cf35545264..8519b7c89c 100644
---- a/boost/math/special_functions/detail/bernoulli_details.hpp
-+++ b/boost/math/special_functions/detail/bernoulli_details.hpp
-@@ -360,7 +360,7 @@ class bernoulli_numbers_cache
-          return out;
-       }
-
--      #ifndef BOOST_HAS_THREADS
-+      #if !defined(BOOST_HAS_THREADS) ||

defined(BOOST_MATH_BERNOULLI_UNTHREADED)

meta/recipes-support/boost/boost-1.78.0.inc line 40

Quoted 5 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -5
-       //
-       // Single threaded code, very simple:
-       //
-@@ -382,6 +382,8 @@ class bernoulli_numbers_cache
-          *out = (i >= m_overflow_limit) ?

policies::raise_overflow_error<T>("boost::math::bernoulli_b2n<%1%>(std::size_t)", 0, T(i), pol) : bn[i];

meta/recipes-support/boost/boost-1.78.0.inc line 44

Quoted 4 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -4
-          ++out;
-       }
-+      #elif defined(BOOST_MATH_NO_ATOMIC_INT)
-+      static_assert(sizeof(T) == 1, "Unsupported configuration: your

platform appears to have no atomic integers. If you are happy with thread-unsafe code, then you may define BOOST_MATH_BERNOULLI_UNTHREADED to suppress this error.");

meta/recipes-support/boost/boost-1.78.0.inc line 47

Quoted 3 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -3
-       #else
-       //
-       // Double-checked locking pattern, lets us access cached already

cached values

meta/recipes-support/boost/boost-1.78.0.inc line 53

Quoted 6 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -6
-@@ -464,7 +466,7 @@ class bernoulli_numbers_cache
-          return out;
-       }
-
--      #ifndef BOOST_HAS_THREADS
-+      #if !defined(BOOST_HAS_THREADS) ||

defined(BOOST_MATH_BERNOULLI_UNTHREADED)

meta/recipes-support/boost/boost-1.78.0.inc line 62

Quoted 9 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -9
-       //
-       // Single threaded code, very simple:
-       //
-@@ -494,6 +496,8 @@ class bernoulli_numbers_cache
-          }
-          ++out;
-       }
-+      #elif defined(BOOST_MATH_NO_ATOMIC_INT)
-+      static_assert(sizeof(T) == 1, "Unsupported configuration: your

platform appears to have no atomic integers. If you are happy with thread-unsafe code, then you may define BOOST_MATH_BERNOULLI_UNTHREADED to suppress this error.");

meta/recipes-support/boost/boost-1.78.0.inc line 65

Quoted 3 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -3
-       #else
-       //
-       // Double-checked locking pattern, lets us access cached already

cached values

meta/recipes-support/boost/boost-1.78.0.inc line 67

Quoted 2 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -2
-@@ -555,7 +559,7 @@ class bernoulli_numbers_cache
-    // The value at which we know overflow has already occurred for the

Bn:

Quoted 4 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -4
-    std::size_t m_overflow_limit;
-
--   #ifdef BOOST_HAS_THREADS
-+   #if defined(BOOST_HAS_THREADS) && !defined(BOOST_MATH_NO_ATOMIC_INT)

meta/recipes-support/boost/boost-1.78.0.inc line 81

Quoted 10 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -10
-    std::mutex m_mutex;
-    atomic_counter_type m_counter, m_current_precision;
-    #else
-diff --git a/libs/math/test/Jamfile.v2 b/libs/math/test/Jamfile.v2
-index 52fb87f5e5..3ac63f9279 100644
---- a/libs/math/test/Jamfile.v2
-+++ b/libs/math/test/Jamfile.v2
-@@ -1137,6 +1137,9 @@ test-suite misc :
-
- #   [ run __temporary_test.cpp test_instances//test_instances : : :

<test-info>always_show_run_output <pch>off ]

meta/recipes-support/boost/boost-1.78.0.inc line 89

Quoted 8 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -8
-    [ compile test_no_long_double_policy.cpp ]
-+   [ compile compile_test/bernoulli_no_atomic_d.cpp ]
-+   [ compile compile_test/bernoulli_no_atomic_mp.cpp ]
-+   [ compile-fail compile_test/bernoulli_no_atomic_fail.cpp ]
- ;
-
- test-suite interpolators :
-diff --git a/test/compile_test/bernoulli_no_atomic_d.cpp

b/test/compile_test/bernoulli_no_atomic_d.cpp

Quoted 10 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -10
-new file mode 100644
-index 0000000000..61926f7e1f
---- /dev/null
-+++ b/test/compile_test/bernoulli_no_atomic_d.cpp
-@@ -0,0 +1,14 @@
-+//  (C) Copyright John Maddock 2021.
-+//  Use, modification and distribution are subject to the
-+//  Boost Software License, Version 1.0. (See accompanying file
-+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-+

meta/recipes-support/boost/boost-1.78.0.inc line 109

Quoted 10 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -10
-+#define BOOST_MATH_NO_ATOMIC_INT
-+
-+#include <boost/math/special_functions/bernoulli.hpp>
-+#include "test_compile_result.hpp"
-+
-+void compile_and_link_test()
-+{
-+   check_result<double>(boost::math::bernoulli_b2n<double>(4));
-+}
-diff --git a/test/compile_test/bernoulli_no_atomic_fail.cpp

b/test/compile_test/bernoulli_no_atomic_fail.cpp

Quoted 9 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -9
-new file mode 100644
-index 0000000000..bbd7152412
---- /dev/null
-+++ b/test/compile_test/bernoulli_no_atomic_fail.cpp
-@@ -0,0 +1,15 @@
-+//  (C) Copyright John Maddock 2021.
-+//  Use, modification and distribution are subject to the
-+//  Boost Software License, Version 1.0. (See accompanying file
-+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

meta/recipes-support/boost/boost-1.78.0.inc line 128

Quoted 10 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -10
-+
-+#define BOOST_MATH_NO_ATOMIC_INT
-+
-+#include <boost/math/special_functions/bernoulli.hpp>
-+#include <boost/multiprecision/cpp_bin_float.hpp>
-+#include "test_compile_result.hpp"
-+
-+void compile_and_link_test()
-+{
-+

check_result<boost::multiprecision::cpp_bin_float_50>(boost::math::bernoulli_b2n<boost::multiprecision::cpp_bin_float_50>(4));

meta/recipes-support/boost/boost-1.78.0.inc line 130

Quoted 2 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -2
-+}
-diff --git a/test/compile_test/bernoulli_no_atomic_mp.cpp

b/test/compile_test/bernoulli_no_atomic_mp.cpp

Quoted 10 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -10
-new file mode 100644
-index 0000000000..8d5a6e78e6
---- /dev/null
-+++ b/test/compile_test/bernoulli_no_atomic_mp.cpp
-@@ -0,0 +1,16 @@
-+//  (C) Copyright John Maddock 2021.
-+//  Use, modification and distribution are subject to the
-+//  Boost Software License, Version 1.0. (See accompanying file
-+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-+

meta/recipes-support/boost/boost-1.78.0.inc line 150

Quoted 10 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -10
-+#define BOOST_MATH_NO_ATOMIC_INT
-+#define BOOST_MATH_BERNOULLI_UNTHREADED
-+
-+#include <boost/math/special_functions/bernoulli.hpp>
-+#include <boost/multiprecision/cpp_bin_float.hpp>
-+#include "test_compile_result.hpp"
-+
-+void compile_and_link_test()
-+{
-+

check_result<boost::multiprecision::cpp_bin_float_50>(boost::math::bernoulli_b2n<boost::multiprecision::cpp_bin_float_50>(4));

Quoted 2 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +0 -1
-+}

diff --git

a/meta/recipes-support/boost/boost/de657e01635306085488290ea83de541ec393f8b.patch b/meta/recipes-support/boost/boost/de657e01635306085488290ea83de541ec393f8b.patch

Quoted 4 lines

new file mode 100644
index 0000000000..867ec03ba6
--- /dev/null
+++

b/meta/recipes-support/boost/boost/de657e01635306085488290ea83de541ec393f8b.patch

meta/recipes-support/boost/boost-1.78.0.inc line 10

Quoted 11 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +10 -0
@@ -0,0 +1,30 @@
+From de657e01635306085488290ea83de541ec393f8b Mon Sep 17 00:00:00 2001
+From: Leonardo Neumann <[email protected]>
+Date: Mon, 13 Dec 2021 01:07:20 -0300
+Subject: [PATCH] Fix missing sys/stat.h include on musl-based systems
+
+Boost 1.78.0 fails to build on musl-based systems because musl does
+not include sys/stat.h by default.
+
+Fixes #161 ("Boost compiler error")
+Upstream-Status: Submitted [

https://github.com/boostorg/interprocess/pull/162]

meta/recipes-support/boost/boost-1.78.0.inc line 16

Quoted 6 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +6 -0
+Signed-off-by: Alexander Kanavin <[email protected]>
+---
+ include/boost/interprocess/permissions.hpp | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/boost/interprocess/permissions.hpp

b/boost/interprocess/permissions.hpp

Review

Quoted 15 lines
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +14 -0
+index ab55411e..0b21a685 100644
+--- a/boost/interprocess/permissions.hpp
++++ b/boost/interprocess/permissions.hpp
+@@ -29,6 +29,10 @@
+
+ #include <boost/interprocess/detail/win32_api.hpp>
+
++#else
++
++#include <sys/stat.h>
++
+ #endif
+
+ #endif   //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
(quoted diff) +0 -0

b/meta/recipes-support/boost/boost_1.77.0.bb

meta/recipes-support/boost/boost_1.77.0.bb line 6

Quoted 11 lines

deleted file mode 100644
index bde6b14a79..0000000000

meta/recipes-support/boost/boost_1.77.0.bb deleted +0 -6
@@ -1,12 +0,0 @@
-require boost-${PV}.inc
-require boost.inc
-
-SRC_URI += "file://boost-CVE-2012-2677.patch \
-           file://boost-math-disable-pch-for-gcc.patch \
-

file://0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \

meta/recipes-support/boost/boost_1.77.0.bb line 8

Quoted 2 lines
meta/recipes-support/boost/boost_1.77.0.bb deleted +0 -2
-           file://0001-dont-setup-compiler-flags-m32-m64.patch \
-

file://0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch \

meta/recipes-support/boost/boost_1.77.0.bb line 9

Quoted 1 line
meta/recipes-support/boost/boost_1.77.0.bb deleted +0 -1
-

file://0001-BoostConfig.cmake-allow-searching-for-python310.patch \

meta/recipes-support/boost/boost_1.77.0.bb line 10

Quoted 1 line
meta/recipes-support/boost/boost_1.77.0.bb deleted +0 -1
-

file://0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch
\

meta/recipes-support/boost/boost_1.77.0.bb line 11

Quoted 1 line
meta/recipes-support/boost/boost_1.77.0.bb deleted +0 -1
-

file://0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch
\

Review

Quoted 2 lines
meta/recipes-support/boost/boost_1.77.0.bb deleted +0 -1
-           "
(quoted diff) +0 -0

b/meta/recipes-support/boost/boost_1.78.0.bb

meta/recipes-support/boost/boost_1.78.0.bb line 6

Quoted 11 lines

new file mode 100644
index 0000000000..f4b6ed8576

meta/recipes-support/boost/boost_1.78.0.bb new file +6 -0
@@ -0,0 +1,9 @@
+require boost-${PV}.inc
+require boost.inc
+
+SRC_URI += "file://boost-CVE-2012-2677.patch \
+           file://boost-math-disable-pch-for-gcc.patch \
+

file://0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \

Quoted 6 lines
meta/recipes-support/boost/boost_1.78.0.bb new file +3 -1
+           file://0001-dont-setup-compiler-flags-m32-m64.patch \
+           file://de657e01635306085488290ea83de541ec393f8b.patch \
+           "
--

2.20.1

#21 lore raw

Re: [PATCH 18/26] boost: update 1.77.0 -> 1.78.0

Quoted 16 lines · Alexander Kanavin
Quoted 4 lines · Khem Raj
Quoted 3 lines

Drop 0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch as it is difficult to rebase and needs to land upstream first.

Quoted 8 lines

It's not that rebasing is too hard for this patch but this patch is an incorrect way to fix what it's trying to solve and that's why I am fine with dropping it.
landing upstream is not a precondition for submitting patches to OpenEmbedded but good to have. All distributions carry patches and as long as patches are working
their way upstream asynchronously its ok. Let's not make it too hard for contributors and chase them away.

Quoted 2 lines

Yes, rather than 'land upstream' I should've said 'submitted upstream' - that patch is dated 16 October 2020, and it never happened. While myself and everyone else enormously appreciate your toolchain and target work, there's a problem with amassing invasive pending patches related to that: no one except you truly understands them. So what I'm asking is just a bit more rigor going forward: submit patches upstream at the same time you submit them to core, and steadily work your way towards reducing the pile that's already there.

you are preaching to the choir :) However new patches will be required as the packages are upgraded/updates, lot of upstream
do not support/test architectures that OE supports ( which is one of USPs of OE ) so its bound to happen that something will regress for OE and we have to patch it.
and we do not have developer strength like other distributions. By not being accepting of this situation, we are effectively making it hard for OE to be used on such architectures
which are either new or specific and they could be the reason for OE to thrive in the future. There is a fine line to tread here.

Quoted 487 lines

Alex

Quoted 484 lines
Quoted 484 lines
---
 .../{boost-1.77.0.inc => boost-1.78.0.inc}    |   2 +-
 ....cmake-allow-searching-for-python310.patch |  50 ------
 ...h-instruction-set-flags-we-do-that-o.patch |  15 +-
 ...efine-SYS_futex-if-it-does-not-exist.patch |  54 -------
 ...th_no_atomic_int-on-the-command-line.patch |  53 ------
 ...oft-failure-in-bernoulli_details_hpp.patch | 151 ------------------
 ...7e01635306085488290ea83de541ec393f8b.patch |  30 ++++
 meta/recipes-support/boost/boost_1.77.0.bb    |  12 --
 meta/recipes-support/boost/boost_1.78.0.bb    |   9 ++
 9 files changed, 50 insertions(+), 326 deletions(-)
 rename meta/recipes-support/boost/{boost-1.77.0.inc => boost-1.78.0.inc} (90%)
 delete mode 100644 meta/recipes-support/boost/boost/0001-BoostConfig.cmake-allow-searching-for-python310.patch
 delete mode 100644 meta/recipes-support/boost/boost/0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch
 delete mode 100644 meta/recipes-support/boost/boost/0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch
 delete mode 100644 meta/recipes-support/boost/boost/0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch
 create mode 100644 meta/recipes-support/boost/boost/de657e01635306085488290ea83de541ec393f8b.patch
 delete mode 100644 meta/recipes-support/boost/boost_1.77.0.bb
 create mode 100644 meta/recipes-support/boost/boost_1.78.0.bb
meta/recipes-support/boost/boost-1.78.0.inc renamed from meta/recipes-support/boost/boost-1.77.0.inc +1 -1
similarity index 90%
rename from meta/recipes-support/boost/boost-1.77.0.inc
rename to meta/recipes-support/boost/boost-1.78.0.inc
index 6df06e76c7..729a47b54f 100644
@@ -12,7 +12,7 @@ BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}"
 BOOST_P = "boost_${BOOST_VER}"
 
 SRC_URI = "https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/${BOOST_P}.tar.bz2"
-SRC_URI[sha256sum] = "fc9f85fc030e233142908241af7a846e60630aa7388de9a5fafb1f3a26840854"
+SRC_URI[sha256sum] = "8681f175d4bdb26c52222665793eef08490d7758529330f98d3b29dd0735bccc"
 
 UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/"
 UPSTREAM_CHECK_REGEX = "release/(?P<pver>.*)/source/"
meta/recipes-support/boost/boost/0001-BoostConfig.cmake-allow-searching-for-python310.patch deleted +0 -50
deleted file mode 100644
index 0a9ee2cc95..0000000000
@@ -1,50 +0,0 @@
-From e193f080c7d209516ac9b712fa0c50bb08026fa2 Mon Sep 17 00:00:00 2001
-From: Martin Jansa <[email protected]>
-Date: Tue, 19 Oct 2021 12:24:31 +0000
-Subject: [PATCH] BoostConfig.cmake: allow searching for python310
-
-* accept double digits in Python3_VERSION_MINOR
-
-* if someone is using e.g.:
-  find_package(Python3 REQUIRED)
-  find_package(Boost REQUIRED python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR})
-
-  with python-3.10 then it currently fails with:
-
-  -- Found PythonLibs: /usr/lib/libpython3.10.so (found version "3.10.0")
-  -- Found Python3: -native/usr/bin/python3-native/python3 (found version "3.10.0") found components: Interpreter
-  CMake Error at /usr/lib/cmake/Boost-1.77.0/BoostConfig.cmake:141 (find_package):
-    Could not find a package configuration file provided by "boost_python310"
-    (requested version 1.77.0) with any of the following names:
-
-      boost_python310Config.cmake
-      boost_python310-config.cmake
-
-    Add the installation prefix of "boost_python310" to CMAKE_PREFIX_PATH or
-    set "boost_python310_DIR" to a directory containing one of the above files.
-    If "boost_python310" provides a separate development package or SDK, be
-    sure it has been installed.
-  Call Stack (most recent call first):
-    /usr/lib/cmake/Boost-1.77.0/BoostConfig.cmake:258 (boost_find_component)
-    /usr/share/cmake-3.21/Modules/FindBoost.cmake:594 (find_package)
-    CMakeLists.txt:18 (find_package)
-
-Upstream-Status: Submitted [https://github.com/boostorg/boost_install/pull/53]
-Signed-off-by: Martin Jansa <[email protected]>
----
- tools/boost_install/BoostConfig.cmake | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tools/boost_install/BoostConfig.cmake b/tools/boost_install/BoostConfig.cmake
-index fd17821..5dffa58 100644
---- a/tools/boost_install/BoostConfig.cmake
-+++ b/tools/boost_install/BoostConfig.cmake
-@@ -113,7 +113,7 @@ macro(boost_find_component comp required quiet)
-     set(_BOOST_REQUIRED REQUIRED)
-   endif()
-
--  if("${comp}" MATCHES "^(python|numpy|mpi_python)([1-9])([0-9])$")
-+  if("${comp}" MATCHES "^(python|numpy|mpi_python)([1-9])([0-9][0-9]?)$")
-
-     # handle pythonXY and numpyXY versioned components for compatibility
-
meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch +10 -5
index 91ab53efd9..67d5dff125 100644
@@ -1,4 +1,4 @@
-From 8e1d30454afde37eaa3c593ec19d108cd5ed10d0 Mon Sep 17 00:00:00 2001
+From 4d2a8fc8117e56bc283349e5f7f889ebbfc55c71 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <[email protected]>
 Date: Tue, 18 Dec 2018 15:42:57 +0100
 Subject: [PATCH] Don't set up arch/instruction-set flags, we do that
@@ -10,14 +10,14 @@ Signed-off-by: Christopher Larson <[email protected]>
 Signed-off-by: Alexander Kanavin <[email protected]>
 
 ---
- tools/build/src/tools/gcc.jam | 139 ----------------------------------
- 1 file changed, 139 deletions(-)
+ tools/build/src/tools/gcc.jam | 144 ----------------------------------
+ 1 file changed, 144 deletions(-)
 
 diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
-index ff3209f7b..70cbc39a5 100644
+index 47a113223..d77525724 100644
 --- a/tools/build/src/tools/gcc.jam
 +++ b/tools/build/src/tools/gcc.jam
-@@ -1217,142 +1217,3 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + :
+@@ -1122,147 +1122,3 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + :
          <architecture>$(architecture)/<instruction-set>$(instruction-set)
          : $(values) ;
  }
@@ -158,5 +158,10 @@ index ff3209f7b..70cbc39a5 100644
 -cpu-flags gcc OPTIONS : s390x : z13 : -march=z13 ;
 -cpu-flags gcc OPTIONS : s390x : z14 : -march=z14 ;
 -cpu-flags gcc OPTIONS : s390x : z15 : -march=z15 ;
+-# ARM
+-cpu-flags gcc OPTIONS : arm : cortex-a9+vfpv3 : -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard ;
+-cpu-flags gcc OPTIONS : arm : cortex-a53 : -mcpu=cortex-a53 ;
+-cpu-flags gcc OPTIONS : arm : cortex-r5 : -mcpu=cortex-r5 ;
+-cpu-flags gcc OPTIONS : arm : cortex-r5+vfpv3-d16 : -mcpu=cortex-r5 -mfpu=vfpv3-d16 -mfloat-abi=hard ;
 -# AIX variant of RS/6000 & PowerPC
 -toolset.flags gcc AROPTIONS <address-model>64/<target-os>aix : "-X64" ;
meta/recipes-support/boost/boost/0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch deleted +0 -54
deleted file mode 100644
index 523568e9bc..0000000000
@@ -1,54 +0,0 @@
-From d6f7b6064dc91d1d5fa18554b40b14822ab7a32b Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Fri, 16 Oct 2020 11:13:22 -0700
-Subject: [PATCH] fiber,libs: Define SYS_futex if it does not exist
-
-__NR_futex is not defines by newer architectures e.g. arc, riscv32 as
-they only have 64bit variant of time_t. Glibc defines SYS_futex interface based on
-__NR_futex, since this is used in applications, such applications start
-to fail to build for these newer architectures. This patch defines a
-fallback to alias __NR_futex to __NR_futex_tim64 so SYS_futex keeps
-working
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj <[email protected]>
----
- boost/fiber/detail/futex.hpp | 5 +++++
- libs/log/src/event.cpp       | 4 ++++
- 2 files changed, 9 insertions(+)
-
-diff --git a/boost/fiber/detail/futex.hpp b/boost/fiber/detail/futex.hpp
-index e64bd5990..16bee64f1 100644
---- a/boost/fiber/detail/futex.hpp
-+++ b/boost/fiber/detail/futex.hpp
-@@ -17,6 +17,11 @@ extern "C" {
- #include <linux/futex.h>
- #include <sys/syscall.h>
- }
-+
-+#if !defined(SYS_futex) && defined(SYS_futex_time64)
-+#define SYS_futex SYS_futex_time64
-+#endif
-+
- #elif BOOST_OS_WINDOWS
- #include <windows.h>
- #endif
-diff --git a/libs/log/src/event.cpp b/libs/log/src/event.cpp
-index 5485154d7..2c7c0381f 100644
---- a/libs/log/src/event.cpp
-+++ b/libs/log/src/event.cpp
-@@ -31,6 +31,10 @@
- #include <linux/futex.h>
- #include <boost/memory_order.hpp>
-
-+#if !defined(SYS_futex) && defined(SYS_futex_time64)
-+#define SYS_futex SYS_futex_time64
-+#endif
-+
- // Some Android NDKs (Google NDK and older Crystax.NET NDK versions) don't define SYS_futex
- #if defined(SYS_futex)
- #define BOOST_LOG_SYS_FUTEX SYS_futex
---
-2.28.0
-
meta/recipes-support/boost/boost/0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch deleted +0 -53
deleted file mode 100644
index b05b795084..0000000000
@@ -1,53 +0,0 @@
-From 32bd6197353f6ea8e5bef01f09e25c944141acfc Mon Sep 17 00:00:00 2001
-From: jzmaddock <[email protected]>
-Date: Wed, 1 Sep 2021 18:54:54 +0100
-Subject: [PATCH] Allow definition of BOOST_MATH_NO_ATOMIC_INT on the command
- line. Allows us to test/emulate platforms with no atomic integers.
-
-[[email protected]:
-  - backport from boostorg/math 32bd6197353f6ea8e5bef01f09e25c944141acfc
-  - alter path to match boost release
-]
-Signed-off-by: Michael Nosthoff <[email protected]>
----
-Upstream-Status: Backport [https://github.com/boostorg/math/pull/684/commits/32bd6197353f6ea8e5bef01f09e25c944141acfc]
- boost/math/tools/atomic.hpp | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/boost/math/tools/atomic.hpp b/boost/math/tools/atomic.hpp
-index cc76ed269f..e3cbf5db89 100644
---- a/boost/math/tools/atomic.hpp
-+++ b/boost/math/tools/atomic.hpp
-@@ -16,27 +16,27 @@
- namespace boost {
-    namespace math {
-       namespace detail {
--#if ATOMIC_INT_LOCK_FREE == 2
-+#if (ATOMIC_INT_LOCK_FREE == 2) && !defined(BOOST_MATH_NO_ATOMIC_INT)
-          typedef std::atomic<int> atomic_counter_type;
-          typedef std::atomic<unsigned> atomic_unsigned_type;
-          typedef int atomic_integer_type;
-          typedef unsigned atomic_unsigned_integer_type;
--#elif ATOMIC_SHORT_LOCK_FREE == 2
-+#elif (ATOMIC_SHORT_LOCK_FREE == 2) && !defined(BOOST_MATH_NO_ATOMIC_INT)
-          typedef std::atomic<short> atomic_counter_type;
-          typedef std::atomic<unsigned short> atomic_unsigned_type;
-          typedef short atomic_integer_type;
-          typedef unsigned short atomic_unsigned_type;
--#elif ATOMIC_LONG_LOCK_FREE == 2
-+#elif (ATOMIC_LONG_LOCK_FREE == 2) && !defined(BOOST_MATH_NO_ATOMIC_INT)
-          typedef std::atomic<long> atomic_unsigned_integer_type;
-          typedef std::atomic<unsigned long> atomic_unsigned_type;
-          typedef unsigned long atomic_unsigned_type;
-          typedef long atomic_integer_type;
--#elif ATOMIC_LLONG_LOCK_FREE == 2
-+#elif (ATOMIC_LLONG_LOCK_FREE == 2) && !defined(BOOST_MATH_NO_ATOMIC_INT)
-          typedef std::atomic<long long> atomic_unsigned_integer_type;
-          typedef std::atomic<unsigned long long> atomic_unsigned_type;
-          typedef long long atomic_integer_type;
-          typedef unsigned long long atomic_unsigned_integer_type;
--#else
-+#elif !defined(BOOST_MATH_NO_ATOMIC_INT)
- #  define BOOST_MATH_NO_ATOMIC_INT
- #endif
-       } // Namespace detail
meta/recipes-support/boost/boost/0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch deleted +0 -151
deleted file mode 100644
index f69e4f21f3..0000000000
@@ -1,151 +0,0 @@
-From 7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b Mon Sep 17 00:00:00 2001
-From: jzmaddock <[email protected]>
-Date: Wed, 1 Sep 2021 20:31:53 +0100
-Subject: [PATCH] Make no atomics a soft failure in bernoulli_details.hpp.
- Include an "escape macro" so thread safety can be disabled if certain
- bernoulli features are to be used in a no-atomics environment. Fixes
- https://github.com/boostorg/math/issues/673.
-
-[[email protected]:
-  - backport from boostorg/math 7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b
-  - alter path to match boost release
-]
-Signed-off-by: Michael Nosthoff <[email protected]>
----
-Upstream-Status: Backport [https://github.com/boostorg/math/pull/684/commits/7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b]
- .../detail/bernoulli_details.hpp                 | 10 +++++++---
- libs/math/test/Jamfile.v2                        |  3 +++
- test/compile_test/bernoulli_no_atomic_d.cpp      | 14 ++++++++++++++
- test/compile_test/bernoulli_no_atomic_fail.cpp   | 15 +++++++++++++++
- test/compile_test/bernoulli_no_atomic_mp.cpp     | 16 ++++++++++++++++
- 5 files changed, 55 insertions(+), 3 deletions(-)
- create mode 100644 test/compile_test/bernoulli_no_atomic_d.cpp
- create mode 100644 test/compile_test/bernoulli_no_atomic_fail.cpp
- create mode 100644 test/compile_test/bernoulli_no_atomic_mp.cpp
-
-diff --git a/boost/math/special_functions/detail/bernoulli_details.hpp b/boost/math/special_functions/detail/bernoulli_details.hpp
-index cf35545264..8519b7c89c 100644
---- a/boost/math/special_functions/detail/bernoulli_details.hpp
-+++ b/boost/math/special_functions/detail/bernoulli_details.hpp
-@@ -360,7 +360,7 @@ class bernoulli_numbers_cache
-          return out;
-       }
-
--      #ifndef BOOST_HAS_THREADS
-+      #if !defined(BOOST_HAS_THREADS) || defined(BOOST_MATH_BERNOULLI_UNTHREADED)
-       //
-       // Single threaded code, very simple:
-       //
-@@ -382,6 +382,8 @@ class bernoulli_numbers_cache
-          *out = (i >= m_overflow_limit) ? policies::raise_overflow_error<T>("boost::math::bernoulli_b2n<%1%>(std::size_t)", 0, T(i), pol) : bn[i];
-          ++out;
-       }
-+      #elif defined(BOOST_MATH_NO_ATOMIC_INT)
-+      static_assert(sizeof(T) == 1, "Unsupported configuration: your platform appears to have no atomic integers.  If you are happy with thread-unsafe code, then you may define BOOST_MATH_BERNOULLI_UNTHREADED to suppress this error.");
-       #else
-       //
-       // Double-checked locking pattern, lets us access cached already cached values
-@@ -464,7 +466,7 @@ class bernoulli_numbers_cache
-          return out;
-       }
-
--      #ifndef BOOST_HAS_THREADS
-+      #if !defined(BOOST_HAS_THREADS) || defined(BOOST_MATH_BERNOULLI_UNTHREADED)
-       //
-       // Single threaded code, very simple:
-       //
-@@ -494,6 +496,8 @@ class bernoulli_numbers_cache
-          }
-          ++out;
-       }
-+      #elif defined(BOOST_MATH_NO_ATOMIC_INT)
-+      static_assert(sizeof(T) == 1, "Unsupported configuration: your platform appears to have no atomic integers.  If you are happy with thread-unsafe code, then you may define BOOST_MATH_BERNOULLI_UNTHREADED to suppress this error.");
-       #else
-       //
-       // Double-checked locking pattern, lets us access cached already cached values
-@@ -555,7 +559,7 @@ class bernoulli_numbers_cache
-    // The value at which we know overflow has already occurred for the Bn:
-    std::size_t m_overflow_limit;
-
--   #ifdef BOOST_HAS_THREADS
-+   #if defined(BOOST_HAS_THREADS) && !defined(BOOST_MATH_NO_ATOMIC_INT)
-    std::mutex m_mutex;
-    atomic_counter_type m_counter, m_current_precision;
-    #else
-diff --git a/libs/math/test/Jamfile.v2 b/libs/math/test/Jamfile.v2
-index 52fb87f5e5..3ac63f9279 100644
---- a/libs/math/test/Jamfile.v2
-+++ b/libs/math/test/Jamfile.v2
-@@ -1137,6 +1137,9 @@ test-suite misc :
-
- #   [ run __temporary_test.cpp test_instances//test_instances : : : <test-info>always_show_run_output <pch>off ]
-    [ compile test_no_long_double_policy.cpp ]
-+   [ compile compile_test/bernoulli_no_atomic_d.cpp ]
-+   [ compile compile_test/bernoulli_no_atomic_mp.cpp ]
-+   [ compile-fail compile_test/bernoulli_no_atomic_fail.cpp ]
- ;
-
- test-suite interpolators :
-diff --git a/test/compile_test/bernoulli_no_atomic_d.cpp b/test/compile_test/bernoulli_no_atomic_d.cpp
-new file mode 100644
-index 0000000000..61926f7e1f
---- /dev/null
-+++ b/test/compile_test/bernoulli_no_atomic_d.cpp
-@@ -0,0 +1,14 @@
-+//  (C) Copyright John Maddock 2021.
-+//  Use, modification and distribution are subject to the
-+//  Boost Software License, Version 1.0. (See accompanying file
-+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-+
-+#define BOOST_MATH_NO_ATOMIC_INT
-+
-+#include <boost/math/special_functions/bernoulli.hpp>
-+#include "test_compile_result.hpp"
-+
-+void compile_and_link_test()
-+{
-+   check_result<double>(boost::math::bernoulli_b2n<double>(4));
-+}
-diff --git a/test/compile_test/bernoulli_no_atomic_fail.cpp b/test/compile_test/bernoulli_no_atomic_fail.cpp
-new file mode 100644
-index 0000000000..bbd7152412
---- /dev/null
-+++ b/test/compile_test/bernoulli_no_atomic_fail.cpp
-@@ -0,0 +1,15 @@
-+//  (C) Copyright John Maddock 2021.
-+//  Use, modification and distribution are subject to the
-+//  Boost Software License, Version 1.0. (See accompanying file
-+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-+
-+#define BOOST_MATH_NO_ATOMIC_INT
-+
-+#include <boost/math/special_functions/bernoulli.hpp>
-+#include <boost/multiprecision/cpp_bin_float.hpp>
-+#include "test_compile_result.hpp"
-+
-+void compile_and_link_test()
-+{
-+   check_result<boost::multiprecision::cpp_bin_float_50>(boost::math::bernoulli_b2n<boost::multiprecision::cpp_bin_float_50>(4));
-+}
-diff --git a/test/compile_test/bernoulli_no_atomic_mp.cpp b/test/compile_test/bernoulli_no_atomic_mp.cpp
-new file mode 100644
-index 0000000000..8d5a6e78e6
---- /dev/null
-+++ b/test/compile_test/bernoulli_no_atomic_mp.cpp
-@@ -0,0 +1,16 @@
-+//  (C) Copyright John Maddock 2021.
-+//  Use, modification and distribution are subject to the
-+//  Boost Software License, Version 1.0. (See accompanying file
-+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-+
-+#define BOOST_MATH_NO_ATOMIC_INT
-+#define BOOST_MATH_BERNOULLI_UNTHREADED
-+
-+#include <boost/math/special_functions/bernoulli.hpp>
-+#include <boost/multiprecision/cpp_bin_float.hpp>
-+#include "test_compile_result.hpp"
-+
-+void compile_and_link_test()
-+{
-+   check_result<boost::multiprecision::cpp_bin_float_50>(boost::math::bernoulli_b2n<boost::multiprecision::cpp_bin_float_50>(4));
-+}
meta/recipes-support/boost/boost/de657e01635306085488290ea83de541ec393f8b.patch new file +30 -0
new file mode 100644
index 0000000000..867ec03ba6
@@ -0,0 +1,30 @@
+From de657e01635306085488290ea83de541ec393f8b Mon Sep 17 00:00:00 2001
+From: Leonardo Neumann <[email protected]>
+Date: Mon, 13 Dec 2021 01:07:20 -0300
+Subject: [PATCH] Fix missing sys/stat.h include on musl-based systems
+
+Boost 1.78.0 fails to build on musl-based systems because musl does
+not include sys/stat.h by default.
+
+Fixes #161 ("Boost compiler error")
+Upstream-Status: Submitted [https://github.com/boostorg/interprocess/pull/162]
+Signed-off-by: Alexander Kanavin <[email protected]>
+---
+ include/boost/interprocess/permissions.hpp | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/boost/interprocess/permissions.hpp b/boost/interprocess/permissions.hpp
+index ab55411e..0b21a685 100644
+--- a/boost/interprocess/permissions.hpp
++++ b/boost/interprocess/permissions.hpp
+@@ -29,6 +29,10 @@
+
+ #include <boost/interprocess/detail/win32_api.hpp>
+
++#else
++
++#include <sys/stat.h>
++
+ #endif
+
+ #endif   //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
meta/recipes-support/boost/boost_1.77.0.bb deleted +0 -12
deleted file mode 100644
index bde6b14a79..0000000000
@@ -1,12 +0,0 @@
-require boost-${PV}.inc
-require boost.inc
-
-SRC_URI += "file://boost-CVE-2012-2677.patch \
-           file://boost-math-disable-pch-for-gcc.patch \
-           file://0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \
-           file://0001-dont-setup-compiler-flags-m32-m64.patch \
-           file://0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch \
-           file://0001-BoostConfig.cmake-allow-searching-for-python310.patch \
-           file://0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch \
-           file://0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch \
-           "
meta/recipes-support/boost/boost_1.78.0.bb new file +9 -1
new file mode 100644
index 0000000000..f4b6ed8576
@@ -0,0 +1,9 @@
+require boost-${PV}.inc
+require boost.inc
+
+SRC_URI += "file://boost-CVE-2012-2677.patch \
+           file://boost-math-disable-pch-for-gcc.patch \
+           file://0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \
+           file://0001-dont-setup-compiler-flags-m32-m64.patch \
+           file://de657e01635306085488290ea83de541ec393f8b.patch \
+           "
--

2.20.1

#22 lore raw

PATCH 19/26 libptytty: add recipe

In reply to Alexander Kanavin

It is a dependency of new rxvt-unicode.

---
 meta/conf/distro/include/maintainers.inc      |  1 +
 ...akeLists.txt-do-not-run-cross-binary.patch | 24 +++++++++++++++++++
 meta/recipes-sato/libptytty/libptytty_2.0.bb  | 13 ++++++++++
 3 files changed, 38 insertions(+)
 create mode 100644 meta/recipes-sato/libptytty/libptytty/0001-CMakeLists.txt-do-not-run-cross-binary.patch
 create mode 100644 meta/recipes-sato/libptytty/libptytty_2.0.bb
meta/conf/distro/include/maintainers.inc +1 -0
index 8e86ea45d2..4fe655fdcd 100644
@@ -373,6 +373,7 @@ RECIPE_MAINTAINER:pn-libpng = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER:pn-libportal = "Alexander Kanavin <[email protected]>"
 RECIPE_MAINTAINER:pn-libproxy = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER:pn-libpthread-stubs = "Alexander Kanavin <[email protected]>"
+RECIPE_MAINTAINER:pn-libptytty = "Alexander Kanavin <[email protected]>"
 RECIPE_MAINTAINER:pn-libpsl = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER:pn-librepo = "Wang Mingyu <[email protected]>"
 RECIPE_MAINTAINER:pn-librsvg = "Anuj Mittal <[email protected]>"
meta/recipes-sato/libptytty/libptytty/0001-CMakeLists.txt-do-not-run-cross-binary.patch new file +24 -0
new file mode 100644
index 0000000000..d3a458f100
@@ -0,0 +1,24 @@
+From 989ae1f3651686c1f1046fe1c1596d564c3f452d Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <[email protected]>
+Date: Mon, 13 Dec 2021 14:33:01 +0100
+Subject: [PATCH] CMakeLists.txt: do not run cross-binary
+
+Upstream-Status: Inappropriate [issue reported at https://github.com/yusiwen/libptytty/issues/2]
+Signed-off-by: Alexander Kanavin <[email protected]>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c1ad6c0..3bd4d97 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -271,7 +271,7 @@ if(NOT HAVE_UNIX_FDPASS)
+   message(FATAL_ERROR "libptytty requires unix-compliant filehandle passing ability")
+ endif()
+ 
+-check_c_source_runs(
++check_c_source_compiles(
+   "
+    #include <grp.h>
+    #include <sys/stat.h>
meta/recipes-sato/libptytty/libptytty_2.0.bb new file +13 -0
new file mode 100644
index 0000000000..85e3a36fba
@@ -0,0 +1,13 @@
+SUMMARY = " OS independent and secure pty/tty and utmp/wtmp/lastlog handling"
+HOMEPAGE = "http://software.schmorp.de/pkg/libptytty.html"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
+
+SRC_URI = "http://dist.schmorp.de/libptytty/libptytty-${PV}.tar.gz \
+           file://0001-CMakeLists.txt-do-not-run-cross-binary.patch \
+           "
+SRC_URI[sha256sum] = "8033ed3aadf28759660d4f11f2d7b030acf2a6890cb0f7926fb0cfa6739d31f7"
+
+inherit cmake
+
+EXTRA_OECMAKE:append:libc-musl = " -DWTMP_SUPPORT=OFF"
Signature · 1 line
2.20.1
#23 lore raw

PATCH 20/26 rxvt-unicode: upgrade 9.26 -> 9.30

In reply to Alexander Kanavin

From: Alexander Kanavin <[email protected]>

---
 meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc              | 5 +----
 .../{rxvt-unicode_9.26.bb => rxvt-unicode_9.30.bb}           | 2 +-
 2 files changed, 2 insertions(+), 5 deletions(-)
 rename meta/recipes-sato/rxvt-unicode/{rxvt-unicode_9.26.bb => rxvt-unicode_9.30.bb} (71%)
meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc +1 -4
index 69b8a659ed..e7d520ebef 100644
@@ -6,7 +6,7 @@ terminal emulator rxvt, modified to store text in Unicode \
 output. It also supports mixing multiple fonts at the \
 same time, including Xft fonts."
 HOMEPAGE = "https://rxvt.org/"
-DEPENDS = "virtual/libx11 libxt libxft gdk-pixbuf libxmu"
+DEPENDS = "virtual/libx11 libxt libxft gdk-pixbuf libxmu libptytty"
 
 SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2 \
 	   file://xwc.patch \
@@ -22,7 +22,6 @@ ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/rxvt"
 CFLAGS:append = " -fpermissive"
 
 EXTRA_OECONF = "--enable-xim \
-		--enable-utmp --enable-wtmp --enable-lastlog \
 		--with-term=rxvt --enable-keepscrolling \
 		--enable-xft --with-name=rxvt --enable-frills \
 		--enable-swapscreen --enable-transparency \
@@ -31,8 +30,6 @@ EXTRA_OECONF = "--enable-xim \
 		--enable-combining --disable-perl \
 		--with-x=${STAGING_DIR_HOST}${prefix}"
 
-EXTRA_OECONF:append:libc-musl = " --disable-wtmp --disable-lastlog"
-
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[startup] = "--enable-startup-notification,--disable-startup-notification,startup-notification,"
 
meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.30.bb renamed from meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.26.bb +1 -1
similarity index 71%
rename from meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.26.bb
rename to meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.30.bb
index 3fe69a543f..0133029e0a 100644
@@ -4,5 +4,5 @@ LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
                     file://src/main.C;beginline=1;endline=31;md5=d3600d7ee1062667fcd1193fbe6485f6"
 
-SRC_URI[sha256sum] = "643116b9a25d29ad29f4890131796d42e6d2d21312282a613ef66c80c5b8c98b"
+SRC_URI[sha256sum] = "fe1c93d12f385876457a989fc3ae05c0915d2692efc59289d0f70fabe5b44d2d"
 
Signature · 1 line
2.20.1
#24 lore raw

PATCH 21/26 diffoscope: upgrade 194 -> 196

In reply to Alexander Kanavin

From: Alexander Kanavin <[email protected]>

---
 .../diffoscope/{diffoscope_194.bb => diffoscope_196.bb}         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/diffoscope/{diffoscope_194.bb => diffoscope_196.bb} (92%)
meta/recipes-support/diffoscope/diffoscope_196.bb renamed from meta/recipes-support/diffoscope/diffoscope_194.bb +1 -1
similarity index 92%
rename from meta/recipes-support/diffoscope/diffoscope_194.bb
rename to meta/recipes-support/diffoscope/diffoscope_196.bb
index 51d86ff052..62a1561a0d 100644
@@ -12,7 +12,7 @@ PYPI_PACKAGE = "diffoscope"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "3d28f0325e00effc6c23c50f916d153524aa393623df2fd1fc8ae0f6a12daf94"
+SRC_URI[sha256sum] = "d31fd0d8ac58d41cc111ef6a3bb0007f5f52543b932bf93584bdd0dfe029e626"
 
 RDEPENDS:${PN} += "binutils vim squashfs-tools python3-libarchive-c python3-magic python3-rpm"
 
Signature · 1 line
2.20.1
#25 lore raw

PATCH 22/26 cantarell-fonts: update 0.301 -> 0.303.1

In reply to Alexander Kanavin
---
 ...antarell-fonts_0.301.bb => cantarell-fonts_0.303.1.bb} | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
 rename meta/recipes-graphics/cantarell-fonts/{cantarell-fonts_0.301.bb => cantarell-fonts_0.303.1.bb} (73%)
meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.303.1.bb renamed from meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb +1 -7
similarity index 73%
rename from meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb
rename to meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.303.1.bb
index 8e39ef025f..a92f9cb729 100644
@@ -11,17 +11,11 @@ LICENSE = "OFL-1.1 & Apache-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fb1ef92b6909969a472a6ea3c4e99cb7"
 
 inherit gnomebase meson allarch fontcache pkgconfig
-SRC_URI[archive.sha256sum] = "3d35db0ac03f9e6b0d5a53577591b714238985f4cfc31a0aa17f26cd74675e83"
+SRC_URI[archive.sha256sum] = "f9463a0659c63e57e381fdd753cf1929225395c5b49135989424761830530411"
 
 # remove at next version upgrade or when output changes
-PR = "r1"
 HASHEQUIV_HASH_VERSION .= ".2"
 
 EXTRA_OEMESON += "-Duseprebuilt=true -Dbuildappstream=false"
 
 FILES:${PN} = "${datadir}/fonts ${datadir}/fontconfig"
-
-# This isn't a GNOME-style version do gnome_verdir fails. Just return the
-# version as that is how the directory is structured.
-def gnome_verdir(v):
-    return v
Signature · 1 line
2.20.1
#26 lore raw

RE: [OE-core] [PATCH 22/26] cantarell-fonts: update 0.301 -> 0.303.1

Quoted 21 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Alexander Kanavin
Sent: den 15 december 2021 23:41
To: [email protected]
Cc: Alexander Kanavin <[email protected]>
Subject: [OE-core] [PATCH 22/26] cantarell-fonts: update 0.301 -> 0.303.1

---
 ...antarell-fonts_0.301.bb => cantarell-fonts_0.303.1.bb} | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
 rename meta/recipes-graphics/cantarell-fonts/{cantarell-fonts_0.301.bb => cantarell-fonts_0.303.1.bb} (73%)
meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.303.1.bb renamed from meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb +0 -0
similarity index 73%
rename from meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb
rename to meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.303.1.bb
index 8e39ef025f..a92f9cb729 100644

meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.303.1.bb LICENSE = "OFL-1.1 & Apache-2.0" · line 17

Quoted 9 lines
meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.303.1.bb renamed from meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb +1 -2
@@ -11,17 +11,11 @@ LICENSE = "OFL-1.1 & Apache-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fb1ef92b6909969a472a6ea3c4e99cb7"
 
 inherit gnomebase meson allarch fontcache pkgconfig
-SRC_URI[archive.sha256sum] = "3d35db0ac03f9e6b0d5a53577591b714238985f4cfc31a0aa17f26cd74675e83"
+SRC_URI[archive.sha256sum] = "f9463a0659c63e57e381fdd753cf1929225395c5b49135989424761830530411"
 
 # remove at next version upgrade or when output changes
-PR = "r1"
 HASHEQUIV_HASH_VERSION .= ".2"

Shouldn't all three lines above be removed now that the version changes?

Quoted 11 lines
meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.303.1.bb renamed from meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb +0 -6
 EXTRA_OEMESON += "-Duseprebuilt=true -Dbuildappstream=false"
 
 FILES:${PN} = "${datadir}/fonts ${datadir}/fontconfig"
-
-# This isn't a GNOME-style version do gnome_verdir fails. Just return the
-# version as that is how the directory is structured.
-def gnome_verdir(v):
-    return v
--

2.20.1

//Peter

A message that is not in the archive (sent off-list or not yet received): [email protected]

#28 lore raw

RE: [OE-core] [PATCH 22/26] cantarell-fonts: update 0.301 -> 0.303.1

Quoted 34 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Peter Kjellerstedt
Sent: den 22 december 2021 03:12
To: Alexander Kanavin <[email protected]>; [email protected]
Cc: Alexander Kanavin <[email protected]>
Subject: Re: [OE-core] [PATCH 22/26] cantarell-fonts: update 0.301 -> 0.303.1

Quoted 27 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Alexander Kanavin
Sent: den 15 december 2021 23:41
To: [email protected]
Cc: Alexander Kanavin <[email protected]>
Subject: [OE-core] [PATCH 22/26] cantarell-fonts: update 0.301 -> 0.303.1

---
 ...antarell-fonts_0.301.bb => cantarell-fonts_0.303.1.bb} | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
 rename meta/recipes-graphics/cantarell-fonts/{cantarell-fonts_0.301.bb => cantarell-fonts_0.303.1.bb} (73%)
meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.303.1.bb renamed from meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb +1 -1
similarity index 73%
rename from meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb
rename to meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.303.1.bb
index 8e39ef025f..a92f9cb729 100644
@@ -11,17 +11,11 @@ LICENSE = "OFL-1.1 & Apache-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fb1ef92b6909969a472a6ea3c4e99cb7"
 
 inherit gnomebase meson allarch fontcache pkgconfig
-SRC_URI[archive.sha256sum] = "3d35db0ac03f9e6b0d5a53577591b714238985f4cfc31a0aa17f26cd74675e83"
+SRC_URI[archive.sha256sum] = "f9463a0659c63e57e381fdd753cf1929225395c5b49135989424761830530411"
 
Quoted 5 lines

meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.303.1.bb LICENSE = "OFL-1.1 & Apache-2.0" · line 17

Quoted 3 lines
meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.303.1.bb renamed from meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb +0 -1
 # remove at next version upgrade or when output changes
-PR = "r1"
 HASHEQUIV_HASH_VERSION .= ".2"

Shouldn't all three lines above be removed now that the version changes?

Never mind. I just saw that RP had fixed it before integrating the change.

Quoted 13 lines
Quoted 11 lines
meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.303.1.bb renamed from meta/recipes-graphics/cantarell-fonts/cantarell-fonts_0.301.bb +0 -6
 EXTRA_OEMESON += "-Duseprebuilt=true -Dbuildappstream=false"
 
 FILES:${PN} = "${datadir}/fonts ${datadir}/fontconfig"
-
-# This isn't a GNOME-style version do gnome_verdir fails. Just return the
-# version as that is how the directory is structured.
-def gnome_verdir(v):
-    return v
--

2.20.1

//Peter

//Peter

#29 lore raw

PATCH 23/26 libx11: update 1.7.3 -> 1.7.3.1

In reply to Alexander Kanavin
---
 .../xorg-lib/{libx11_1.7.3.bb => libx11_1.7.3.1.bb}             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-lib/{libx11_1.7.3.bb => libx11_1.7.3.1.bb} (94%)
meta/recipes-graphics/xorg-lib/libx11_1.7.3.1.bb renamed from meta/recipes-graphics/xorg-lib/libx11_1.7.3.bb +1 -1
similarity index 94%
rename from meta/recipes-graphics/xorg-lib/libx11_1.7.3.bb
rename to meta/recipes-graphics/xorg-lib/libx11_1.7.3.1.bb
index f55252b924..be9b8df6ce 100644
@@ -16,7 +16,7 @@ SRC_URI = "${XORG_MIRROR}/individual/lib/${XORG_PN}-${PV}.tar.xz"
 
 SRC_URI += "file://disable_tests.patch \
            "
-SRC_URI[sha256sum] = "dfd1343db3a0e523f1bb97d5ba71453c79eee78a77e51ca9f8dfef7131c6f0fe"
+SRC_URI[sha256sum] = "2ffd417266fb875028fdc0ef349694f63dbcd76d0b0cfacfb52e6151f4b60989"
 
 PROVIDES = "virtual/libx11"
 
Signature · 1 line
2.20.1
#30 lore raw

PATCH 24/26 debianutils: update 4.11.2 -> 5.5

In reply to Alexander Kanavin
---
 ...bianutils_4.11.2.bb => debianutils_5.5.bb} | 20 +++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
 rename meta/recipes-support/debianutils/{debianutils_4.11.2.bb => debianutils_5.5.bb} (73%)
meta/recipes-support/debianutils/debianutils_5.5.bb renamed from meta/recipes-support/debianutils/debianutils_4.11.2.bb +10 -10
similarity index 73%
rename from meta/recipes-support/debianutils/debianutils_4.11.2.bb
rename to meta/recipes-support/debianutils/debianutils_5.5.bb
index 231666c4dc..6eea86f6d3 100644
@@ -8,25 +8,26 @@ SECTION = "base"
 LICENSE = "GPLv2 & SMAIL_GPL"
 LIC_FILES_CHKSUM = "file://debian/copyright;md5=9b912cd0cc654134c0ef3424a0705b94"
 
-SRC_URI = "http://snapshot.debian.org/archive/debian/20200929T025235Z/pool/main/d/${BPN}/${BPN}_${PV}.tar.xz"
-# the package is taken from snapshots.debian.org; that source is static and goes stale
-# so we check the latest upstream from a directory that does get updated
-UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/${BPN}/"
+SRC_URI = "git://salsa.debian.org/debian/debianutils.git;protocol=https;branch=master \
+           "
 
-SRC_URI[sha256sum] = "3b680e81709b740387335fac8f8806d71611dcf60874e1a792e862e48a1650de"
+SRCREV = "4c420893485ad07d771c327ef899819d4846408f"
 
 inherit autotools update-alternatives
 
-S = "${WORKDIR}/debianutils"
+S = "${WORKDIR}/git"
+
+# Disable po4a (translated manpages) sub-directory, as that requires po4a to build
 do_configure:prepend() {
-    sed -i -e 's:tempfile.1 which.1:which.1:g' ${S}/Makefile.am
+    sed -i -e 's:po4a::g' ${S}/Makefile.am
 }
 
+
 do_install:append() {
     if [ "${base_bindir}" != "${bindir}" ]; then
         # Debian places some utils into ${base_bindir} as does busybox
         install -d ${D}${base_bindir}
-        for app in run-parts tempfile; do
+        for app in run-parts; do
             mv ${D}${bindir}/$app ${D}${base_bindir}/$app
         done
     fi
@@ -41,7 +42,7 @@ RDEPENDS:${PN} += "${PN}-run-parts"
 RDEPENDS:${PN}:class-native = ""
 
 ALTERNATIVE_PRIORITY = "30"
-ALTERNATIVE:${PN} = "add-shell installkernel remove-shell savelog tempfile which"
+ALTERNATIVE:${PN} = "add-shell installkernel remove-shell savelog which"
 
 ALTERNATIVE_PRIORITY_${PN}-run-parts = "60"
 ALTERNATIVE:${PN}-run-parts = "run-parts"
@@ -54,7 +55,6 @@ ALTERNATIVE_LINK_NAME[installkernel] = "${sbindir}/installkernel"
 ALTERNATIVE_LINK_NAME[remove-shell] = "${sbindir}/remove-shell"
 ALTERNATIVE_LINK_NAME[run-parts] = "${base_bindir}/run-parts"
 ALTERNATIVE_LINK_NAME[savelog] = "${bindir}/savelog"
-ALTERNATIVE_LINK_NAME[tempfile] = "${base_bindir}/tempfile"
 ALTERNATIVE_LINK_NAME[which] = "${bindir}/which"
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.20.1
#31 lore raw

PATCH 25/26 libsdl2: update 2.0.16 -> 2.0.18

In reply to Alexander Kanavin

sdl-dlopen option is no longer supported.

---
 .../libsdl2/{libsdl2_2.0.16.bb => libsdl2_2.0.18.bb}           | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta/recipes-graphics/libsdl2/{libsdl2_2.0.16.bb => libsdl2_2.0.18.bb} (96%)
meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb renamed from meta/recipes-graphics/libsdl2/libsdl2_2.0.16.bb +1 -2
similarity index 96%
rename from meta/recipes-graphics/libsdl2/libsdl2_2.0.16.bb
rename to meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
index bd7dea275e..5e645b443c 100644
@@ -22,7 +22,7 @@ SRC_URI = "http://www.libsdl.org/release/SDL2-${PV}.tar.gz \
 
 S = "${WORKDIR}/SDL2-${PV}"
 
-SRC_URI[sha256sum] = "65be9ff6004034b5b2ce9927b5a4db1814930f169c4b2dae0a1e4697075f287b"
+SRC_URI[sha256sum] = "94d40cd73dbfa10bb6eadfbc28f355992bb2d6ef6761ad9d4074eff95ee5711c"
 
 inherit autotools lib_package binconfig-disabled pkgconfig
 
@@ -35,7 +35,6 @@ EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \
                 --disable-video-dummy \
                 --disable-video-rpi \
                 --enable-pthreads \
-                --enable-sdl-dlopen \
                 --disable-rpath \
                 --disable-sndio \
                 --disable-fcitx --disable-ibus \
Signature · 1 line
2.20.1
#32 lore raw

PATCH 26/26 runqemu: additional setting to force software rendering with sdl 2.0.18

In reply to Alexander Kanavin
---
 scripts/runqemu | 1 +
 1 file changed, 1 insertion(+)
scripts/runqemu +1 -0
index 410d2a9939..d49f128fe4 100755
@@ -474,6 +474,7 @@ class BaseConfig(object):
 
         if 'gl' not in sys.argv[1:] and 'gl-es' not in sys.argv[1:]:
             os.environ['SDL_RENDER_DRIVER'] = 'software'
+            os.environ['SDL_FRAMEBUFFER_ACCELERATION'] = 'false'
 
         unknown_arg = ""
         for arg in sys.argv[1:]:
Signature · 1 line
2.20.1