From bugzilla at busybox.net Tue Mar 1 09:49:12 2022
From: bugzilla at busybox.net (bugzilla at busybox.net)
Date: Tue, 01 Mar 2022 09:49:12 +0000
Subject: [Buildroot] [Bug 14366] Nodejs fails with "version `GLIBC_2.34' not
found" on Ubuntu 20.04
In-Reply-To:
References:
Message-ID:
https://bugs.busybox.net/show_bug.cgi?id=14366
--- Comment #5 from Frank Rogall ---
Bug still exists in 2021.11.2 with nodejs-14.18.3
Ubuntu 20.04.3 LTS
--
You are receiving this mail because:
You are on the CC list for the bug.
From bugzilla at busybox.net Tue Mar 1 14:20:11 2022
From: bugzilla at busybox.net (bugzilla at busybox.net)
Date: Tue, 01 Mar 2022 14:20:11 +0000
Subject: [Buildroot] [Bug 14621] New: RISC-V External Toolchain build fails
for latest riscv-gnu-toolchain
Message-ID:
https://bugs.busybox.net/show_bug.cgi?id=14621
Bug ID: 14621
Summary: RISC-V External Toolchain build fails for latest
riscv-gnu-toolchain
Product: buildroot
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: noahhuetter at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---
I want to use the RISC-V GNU toolchain as external toolchain from [1] to use in
buildroot. When I specify it and start the build process, the first package
fails to link with the message
libpthread.so: read failed. Is a directory.
Buildroot creates a symlink in the sysroot of output/host that points to
`../../` which is a directory. On older versions with GCC 8 it works.
riscv-gnu-toolchain: tag: 2022.02.25
buildroot: 2022.02-rc3
host: Linux 3.10.0-1160.42.2.el7.x86_64
[1]: https://github.com/riscv-collab/riscv-gnu-toolchain
--
You are receiving this mail because:
You are on the CC list for the bug.
From fontaine.fabrice at gmail.com Tue Mar 1 18:31:10 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Tue, 1 Mar 2022 19:31:10 +0100
Subject: [Buildroot] [PATCH 1/1] package/rygel: disable man pages
Message-ID: <20220301183110.925959-1-fontaine.fabrice@gmail.com>
Fix the following build failure raised since bump to version 0.40.2 in
commit 6acdbb81c8d6cdd3ecb476ae24e72fd4547011c3:
FAILED: doc/man/rygel.1
/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.authors.section.enabled 1 --stringparam man.copyright.section.enabled 1 -o doc/man/rygel.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ../doc/man/rygel.xml
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
Fixes:
- http://autobuild.buildroot.org/results/297859cdb544e980826df28b446a75d32c06d839
Signed-off-by: Fabrice Fontaine
---
...01-build-Add-man_pages-build-options.patch | 150 ++++++++++++++++++
package/rygel/rygel.mk | 1 +
2 files changed, 151 insertions(+)
create mode 100644 package/rygel/0001-build-Add-man_pages-build-options.patch
diff --git a/package/rygel/0001-build-Add-man_pages-build-options.patch b/package/rygel/0001-build-Add-man_pages-build-options.patch
new file mode 100644
index 0000000000..cdd7cc7721
--- /dev/null
+++ b/package/rygel/0001-build-Add-man_pages-build-options.patch
@@ -0,0 +1,150 @@
+From 5a54c5bb1c9609b7bffe6b3e05f934030e4e990e Mon Sep 17 00:00:00 2001
+From: Jens Georg
+Date: Sat, 26 Dec 2020 18:40:51 +0100
+Subject: [PATCH] build: Add man_pages build options
+
+Check if xsltproc runs succesfully and fail otherwise
+
+Fixes #192
+
+[Retrieved from:
+https://gitlab.gnome.org/GNOME/rygel/-/commit/5a54c5bb1c9609b7bffe6b3e05f934030e4e990e]
+Signed-off-by: Fabrice Fontaine
+---
+ doc/man/meson.build | 98 +++++++++++++++++++++++++++------------------
+ doc/meson.build | 5 ++-
+ meson_options.txt | 1 +
+ 3 files changed, 64 insertions(+), 40 deletions(-)
+
+diff --git a/doc/man/meson.build b/doc/man/meson.build
+index ef3fcfbf5..4c92eab2b 100644
+--- a/doc/man/meson.build
++++ b/doc/man/meson.build
+@@ -1,43 +1,63 @@
+ xsltproc = find_program('xsltproc', required: false)
+
+ if xsltproc.found()
+- xlstproc_flags = [
+- '--nonet',
+- '--stringparam', 'man.output.quietly', '1',
+- '--stringparam', 'funcsynopsis.style', 'ansi',
+- '--stringparam', 'man.authors.section.enabled', '1',
+- '--stringparam', 'man.copyright.section.enabled', '1',
+- ]
+-
+- xsltproc_args = [
+- xsltproc,
+- xlstproc_flags,
+- '-o', '@OUTPUT@',
+- 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl',
+- '@INPUT@',
+- ]
+-
+- man_input_files = [
+- 'rygel.xml',
+- 'rygel.conf.xml'
+- ]
+-
+- man_output_files = [
+- 'rygel.1',
+- 'rygel.conf.5'
+- ]
+-
+- custom_target('man 1 pages',
+- input: 'rygel.xml',
+- output: 'rygel.1',
+- command: xsltproc_args,
+- install: true,
+- install_dir: join_paths(get_option('mandir'), 'man1'))
+-
+- custom_target('man 5 pages',
+- input: 'rygel.conf.xml',
+- output: 'rygel.conf.5',
+- command: xsltproc_args,
+- install: true,
+- install_dir: join_paths(get_option('mandir'), 'man5'))
++ stylesheet = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'
++
++ xlstproc_flags = [
++ '--nonet',
++ '--stringparam', 'man.output.quietly', '1',
++ '--stringparam', 'funcsynopsis.style', 'ansi',
++ '--stringparam', 'man.authors.section.enabled', '1',
++ '--stringparam', 'man.copyright.section.enabled', '1',
++ ]
++
++ xsltproc_args = [
++ xsltproc,
++ xlstproc_flags,
++ '-o', '@OUTPUT@',
++ stylesheet,
++ '@INPUT@',
++ ]
++
++ man_input_files = [
++ 'rygel.xml',
++ 'rygel.conf.xml'
++ ]
++
++ man_output_files = [
++ 'rygel.1',
++ 'rygel.conf.5'
++ ]
++
++ r = run_command(
++ [
++ xsltproc,
++ xlstproc_flags,
++ '-o', '/dev/null',
++ stylesheet,
++ 'rygel.xml'
++ ]
++ )
++
++ if (r.returncode() == 0)
++ custom_target(
++ 'man 1 pages',
++ input: 'rygel.xml',
++ output: 'rygel.1',
++ command: xsltproc_args,
++ install: true,
++ install_dir: join_paths(get_option('mandir'), 'man1')
++ )
++
++ custom_target(
++ 'man 5 pages',
++ input: 'rygel.conf.xml',
++ output: 'rygel.conf.5',
++ command: xsltproc_args,
++ install: true,
++ install_dir: join_paths(get_option('mandir'), 'man5')
++ )
++ else
++ error('Cannot bulid man pages, failed to run xsltproc')
++ endif
+ endif
+diff --git a/doc/meson.build b/doc/meson.build
+index 41c733e50..91c08fae5 100644
+--- a/doc/meson.build
++++ b/doc/meson.build
+@@ -1,2 +1,5 @@
+-subdir('man')
++if get_option('man_pages')
++ subdir('man')
++endif
++
+ subdir('reference')
+diff --git a/meson_options.txt b/meson_options.txt
+index cb604c4e9..c60ff1a9a 100644
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -1,5 +1,6 @@
+ option('uninstalled', type: 'boolean', value: 'false', description: 'Run Rygel from build directory only')
+ option('api-docs', type: 'boolean', value: 'false', description: 'Build the API documentation')
++option('man_pages', type: 'boolean', value: 'true', description: 'Build the man pages')
+ option('systemd-user-units-dir', type : 'string', value : 'auto', description : 'Where to install the systemd user unit (use special values "auto" or "none", or pass a path')
+ option('plugins', type : 'array', choices : ['external', 'gst-launch', 'lms', 'media-export', 'mpris', 'playbin', 'ruih', 'tracker', 'tracker3'])
+ option('engines', type : 'array', choices : ['simple', 'gstreamer'])
+--
+GitLab
+
diff --git a/package/rygel/rygel.mk b/package/rygel/rygel.mk
index bfcd5df3c6..e05297456d 100644
--- a/package/rygel/rygel.mk
+++ b/package/rygel/rygel.mk
@@ -26,6 +26,7 @@ RYGEL_CONF_OPTS += \
-Dapi-docs=false \
-Dexamples=false \
-Dintrospection=enabled \
+ -Dman_pages=false \
-Dtests=false
RYGEL_PLUGINS = external,lms,mpris,ruih
--
2.34.1
From bugzilla at busybox.net Tue Mar 1 19:49:59 2022
From: bugzilla at busybox.net (bugzilla at busybox.net)
Date: Tue, 01 Mar 2022 19:49:59 +0000
Subject: [Buildroot] [Bug 14631] New: host-go-bootstrap: go not being built
for package in external tree
Message-ID:
https://bugs.busybox.net/show_bug.cgi?id=14631
Bug ID: 14631
Summary: host-go-bootstrap: go not being built for package in
external tree
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: contact at martb.dev
CC: buildroot at uclibc.org
Target Milestone: ---
Hey,
running on 2022.02-rc2.
I tried adding a local go package inside my external tree using the following
stripped down config.
Config.in (included correctly, showing up inside menuconfig)
```
config BR2_PACKAGE_APOGEE
bool "apogee"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
help
my help string
```
.mk
```
APOGEE_SITE = $(BR2_EXTERNAL_MYTREE_PATH)/src/apogee
APOGEE_SITE_METHOD = local
APOGEE_BUILD_TARGETS = cmd/apogee
APOGEE_INSTALL_BINS = apogee
APOGEE_GOMOD = "/apogee"
...
$(eval $(golang-package))
```
Whenever i try building this package i get:
```
/bin/sh: Line 1:
/home//Schreibtisch//mytree/output/host/bin/go: File or
directory not found
```
Building a different go package like tinifier seems to trigger the bootstrap
build fine though.
Is this some limitation due to the "local" site source or due to the external
tree im using?
Kind regards
Martin
--
You are receiving this mail because:
You are on the CC list for the bug.
From fontaine.fabrice at gmail.com Tue Mar 1 22:34:16 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Tue, 1 Mar 2022 23:34:16 +0100
Subject: [Buildroot] [PATCH/next 1/1] package/ace: bump to version 7.0.6
Message-ID: <20220301223416.947624-1-fontaine.fabrice@gmail.com>
Signed-off-by: Fabrice Fontaine
---
package/ace/ace.hash | 5 ++++-
package/ace/ace.mk | 4 ++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/package/ace/ace.hash b/package/ace/ace.hash
index 92fd42e131..2387927879 100644
--- a/package/ace/ace.hash
+++ b/package/ace/ace.hash
@@ -1,3 +1,6 @@
+# From https://download.dre.vanderbilt.edu/previous_versions/ACE-7.0.6.tar.bz2.md5:
+md5 d1656851619aff15365270ccf2d56c6e ACE-7.0.6.tar.bz2
+
# Locally Computed:
-sha256 a28339750620c70cd29a8a7088a4bc6ebaf1ff7ba667498a0279ac97f0e32e01 ACE-7.0.1.tar.gz
+sha256 4a0cd7da4851f769fddfcf33f663eba4afad824efeff9f59f134c4640ee80216 ACE-7.0.6.tar.bz2
sha256 687bf9d16119e0caf6fb5c18214928fd6ea0da10df91e906255b7613af8061d8 COPYING
diff --git a/package/ace/ace.mk b/package/ace/ace.mk
index 8df89d8c6f..7299f0d40c 100644
--- a/package/ace/ace.mk
+++ b/package/ace/ace.mk
@@ -4,8 +4,8 @@
#
################################################################################
-ACE_VERSION = 7.0.1
-ACE_SOURCE = ACE-$(ACE_VERSION).tar.gz
+ACE_VERSION = 7.0.6
+ACE_SOURCE = ACE-$(ACE_VERSION).tar.bz2
ACE_SITE = http://download.dre.vanderbilt.edu/previous_versions
ACE_LICENSE = DOC
ACE_LICENSE_FILES = COPYING
--
2.34.1
From fontaine.fabrice at gmail.com Tue Mar 1 22:51:07 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Tue, 1 Mar 2022 23:51:07 +0100
Subject: [Buildroot] [PATCH/next 1/1] package/libfreeglut: bump to version
3.2.2
Message-ID: <20220301225107.988549-1-fontaine.fabrice@gmail.com>
- Drop patch (already in version)
- Update indentation in hash file (two spaces)
Signed-off-by: Fabrice Fontaine
---
...ropped-up-with-the-release-of-gcc-10.patch | 69 -------------------
package/libfreeglut/libfreeglut.hash | 10 +--
package/libfreeglut/libfreeglut.mk | 2 +-
3 files changed, 6 insertions(+), 75 deletions(-)
delete mode 100644 package/libfreeglut/0001-Work-around-for-an-issue-which-cropped-up-with-the-release-of-gcc-10.patch
diff --git a/package/libfreeglut/0001-Work-around-for-an-issue-which-cropped-up-with-the-release-of-gcc-10.patch b/package/libfreeglut/0001-Work-around-for-an-issue-which-cropped-up-with-the-release-of-gcc-10.patch
deleted file mode 100644
index e98e71537f..0000000000
--- a/package/libfreeglut/0001-Work-around-for-an-issue-which-cropped-up-with-the-release-of-gcc-10.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From b9998bbc1e1c329f6bf69c24606a2be7a4973b8c Mon Sep 17 00:00:00 2001
-From: jtsiomb
-Date: Fri, 21 Feb 2020 22:25:31 +0000
-Subject: [PATCH] Work-around for an issue which cropped up with the release of
- gcc-10. In their infinite wisdom, they decided to build with -fno-common as
- default from now on, breaking every piece of C code which used to declare
- common symbols in header files, as was the convention since the dawn of time.
- We now have to duplicate all declarations to an arbitrary source file, and
- change the header-file ones to prefix them with extern.
-
-git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk at 1863 7f0cb862-5218-0410-a997-914c9d46530a
-[Retrieved from:
-https://github.com/dcnieho/FreeGLUT/commit/b9998bbc1e1c329f6bf69c24606a2be7a4973b8c]
-Signed-off-by: Fabrice Fontaine
----
- freeglut/freeglut/src/fg_gl2.c | 14 ++++++++++++++
- freeglut/freeglut/src/fg_gl2.h | 14 +++++++-------
- 2 files changed, 21 insertions(+), 7 deletions(-)
-
-diff --git a/src/fg_gl2.c b/src/fg_gl2.c
-index 38b0acbb..54b4285b 100644
---- a/src/fg_gl2.c
-+++ b/src/fg_gl2.c
-@@ -27,6 +27,20 @@
- #include "fg_internal.h"
- #include "fg_gl2.h"
-
-+#ifndef GL_ES_VERSION_2_0
-+/* GLES2 has the corresponding entry points built-in, and these fgh-prefixed
-+ * names are defined in fg_gl2.h header to reference them, for any other case,
-+ * define them as function pointers here.
-+ */
-+FGH_PFNGLGENBUFFERSPROC fghGenBuffers;
-+FGH_PFNGLDELETEBUFFERSPROC fghDeleteBuffers;
-+FGH_PFNGLBINDBUFFERPROC fghBindBuffer;
-+FGH_PFNGLBUFFERDATAPROC fghBufferData;
-+FGH_PFNGLENABLEVERTEXATTRIBARRAYPROC fghEnableVertexAttribArray;
-+FGH_PFNGLDISABLEVERTEXATTRIBARRAYPROC fghDisableVertexAttribArray;
-+FGH_PFNGLVERTEXATTRIBPOINTERPROC fghVertexAttribPointer;
-+#endif
-+
- void FGAPIENTRY glutSetVertexAttribCoord3(GLint attrib) {
- if (fgStructure.CurrentWindow != NULL)
- fgStructure.CurrentWindow->Window.attribute_v_coord = attrib;
-diff --git a/src/fg_gl2.h b/src/fg_gl2.h
-index ab8ba5c7..fb3d4676 100644
---- a/src/fg_gl2.h
-+++ b/src/fg_gl2.h
-@@ -67,13 +67,13 @@ typedef void (APIENTRY *FGH_PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
- typedef void (APIENTRY *FGH_PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint);
- typedef void (APIENTRY *FGH_PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
-
--FGH_PFNGLGENBUFFERSPROC fghGenBuffers;
--FGH_PFNGLDELETEBUFFERSPROC fghDeleteBuffers;
--FGH_PFNGLBINDBUFFERPROC fghBindBuffer;
--FGH_PFNGLBUFFERDATAPROC fghBufferData;
--FGH_PFNGLENABLEVERTEXATTRIBARRAYPROC fghEnableVertexAttribArray;
--FGH_PFNGLDISABLEVERTEXATTRIBARRAYPROC fghDisableVertexAttribArray;
--FGH_PFNGLVERTEXATTRIBPOINTERPROC fghVertexAttribPointer;
-+extern FGH_PFNGLGENBUFFERSPROC fghGenBuffers;
-+extern FGH_PFNGLDELETEBUFFERSPROC fghDeleteBuffers;
-+extern FGH_PFNGLBINDBUFFERPROC fghBindBuffer;
-+extern FGH_PFNGLBUFFERDATAPROC fghBufferData;
-+extern FGH_PFNGLENABLEVERTEXATTRIBARRAYPROC fghEnableVertexAttribArray;
-+extern FGH_PFNGLDISABLEVERTEXATTRIBARRAYPROC fghDisableVertexAttribArray;
-+extern FGH_PFNGLVERTEXATTRIBPOINTERPROC fghVertexAttribPointer;
-
- # endif
-
diff --git a/package/libfreeglut/libfreeglut.hash b/package/libfreeglut/libfreeglut.hash
index 2771cbde2f..ce9fb9e299 100644
--- a/package/libfreeglut/libfreeglut.hash
+++ b/package/libfreeglut/libfreeglut.hash
@@ -1,6 +1,6 @@
-# From http://sourceforge.net/projects/freeglut/files/freeglut/3.2.1/
-md5 cd5c670c1086358598a6d4a9d166949d freeglut-3.2.1.tar.gz
-sha1 7a62e0d2caad92ff745bc5037592b2753f0b2f20 freeglut-3.2.1.tar.gz
+# From http://sourceforge.net/projects/freeglut/files/freeglut/3.2.2/
+md5 485c1976165315fc42c0b0a1802816d9 freeglut-3.2.2.tar.gz
+sha1 8e53cc0251165d02cce8d6d5054159c310958b74 freeglut-3.2.2.tar.gz
# Locally computed
-sha256 d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68 freeglut-3.2.1.tar.gz
-sha256 b6593d5ec4c113a274abb85b10e8615895cb0ddb89f7912af5fe5aa8df38a275 COPYING
+sha256 c5944a082df0bba96b5756dddb1f75d0cd72ce27b5395c6c1dde85c2ff297a50 freeglut-3.2.2.tar.gz
+sha256 b6593d5ec4c113a274abb85b10e8615895cb0ddb89f7912af5fe5aa8df38a275 COPYING
diff --git a/package/libfreeglut/libfreeglut.mk b/package/libfreeglut/libfreeglut.mk
index 379de3121b..484b0f4b97 100644
--- a/package/libfreeglut/libfreeglut.mk
+++ b/package/libfreeglut/libfreeglut.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBFREEGLUT_VERSION = 3.2.1
+LIBFREEGLUT_VERSION = 3.2.2
LIBFREEGLUT_SOURCE = freeglut-$(LIBFREEGLUT_VERSION).tar.gz
LIBFREEGLUT_SITE = http://downloads.sourceforge.net/freeglut
LIBFREEGLUT_LICENSE = MIT
--
2.34.1
From fontaine.fabrice at gmail.com Tue Mar 1 23:05:04 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Wed, 2 Mar 2022 00:05:04 +0100
Subject: [Buildroot] [PATCH/next 1/1] package/parted: bump to version 3.4
Message-ID: <20220301230504.1000454-1-fontaine.fabrice@gmail.com>
Update indentation in hash file (two spaces)
https://git.savannah.gnu.org/cgit/parted.git/tree/NEWS?h=v3.4
Signed-off-by: Fabrice Fontaine
---
package/parted/parted.hash | 4 ++--
package/parted/parted.mk | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/parted/parted.hash b/package/parted/parted.hash
index 2c466eb8d2..392436ec4b 100644
--- a/package/parted/parted.hash
+++ b/package/parted/parted.hash
@@ -1,5 +1,5 @@
# Locally calculated after checking pgp signature
-sha256 57e2b4bd87018625c515421d4524f6e3b55175b472302056391c5f7eccb83d44 parted-3.3.tar.xz
+sha256 e1298022472da5589b7f2be1d5ee3c1b66ec3d96dfbad03dc642afd009da5342 parted-3.4.tar.xz
# Locally calculated
-sha256 0abbff814cd00e2b0b6d08395af2b419c1a92026c4b4adacbb65ccda45fa58cf COPYING
+sha256 0abbff814cd00e2b0b6d08395af2b419c1a92026c4b4adacbb65ccda45fa58cf COPYING
diff --git a/package/parted/parted.mk b/package/parted/parted.mk
index 66940fc516..23158179e4 100644
--- a/package/parted/parted.mk
+++ b/package/parted/parted.mk
@@ -4,7 +4,7 @@
#
################################################################################
-PARTED_VERSION = 3.3
+PARTED_VERSION = 3.4
PARTED_SOURCE = parted-$(PARTED_VERSION).tar.xz
PARTED_SITE = $(BR2_GNU_MIRROR)/parted
PARTED_DEPENDENCIES = host-pkgconf util-linux
--
2.34.1
From fontaine.fabrice at gmail.com Tue Mar 1 23:21:11 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Wed, 2 Mar 2022 00:21:11 +0100
Subject: [Buildroot] [PATCH/next 1/1] package/libscrypt: bump to version 1.22
Message-ID: <20220301232111.1092975-1-fontaine.fabrice@gmail.com>
- Drop patch and use {C,LD}FLAGS_EXTRA which are available since
https://github.com/technion/libscrypt/commit/bdfec26744122e8f52a58bc086c89b27faaf5888
- While at it, also move PREFIX to LIBSCRYPT_MAKE_OPTS as advocated by
Arnout in
https://patchwork.ozlabs.org/project/buildroot/patch/20220221172900.1937856-1-fontaine.fabrice at gmail.com/
- Update indentation in hash file (two spaces)
https://github.com/technion/libscrypt/compare/v1.21...v1.22
Signed-off-by: Fabrice Fontaine
---
...ions-to-CFLAGS-and-LDFLAGS-variables.patch | 34 -------------------
package/libscrypt/libscrypt.hash | 4 +--
package/libscrypt/libscrypt.mk | 14 +++++---
3 files changed, 12 insertions(+), 40 deletions(-)
delete mode 100644 package/libscrypt/0001-Allow-adding-options-to-CFLAGS-and-LDFLAGS-variables.patch
diff --git a/package/libscrypt/0001-Allow-adding-options-to-CFLAGS-and-LDFLAGS-variables.patch b/package/libscrypt/0001-Allow-adding-options-to-CFLAGS-and-LDFLAGS-variables.patch
deleted file mode 100644
index a023a6fe1c..0000000000
--- a/package/libscrypt/0001-Allow-adding-options-to-CFLAGS-and-LDFLAGS-variables.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 097c5d9248f4afd34c73de5aba01a143ef784257 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Stefan=20S=C3=B8rensen?=
-Date: Tue, 14 Mar 2017 09:23:51 +0100
-Subject: [PATCH] Allow adding options to CFLAGS and LDFLAGS variables
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This also removes a number of hard-coded CFLAGS, leaving it up to the
-user to pass appropriate optimization/hardening flags.
-
-Signed-off-by: Stefan S?rensen
----
- Makefile | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 7022a4a..3098a9a 100644
---- a/Makefile
-+++ b/Makefile
-@@ -5,8 +5,8 @@ MAKE_DIR ?= install -d
- INSTALL_DATA ?= install
-
- CC?=gcc
--CFLAGS?=-O2 -Wall -g -D_FORTIFY_SOURCE=2 -fstack-protector -fPIC
--LDFLAGS?=-Wl,-z,now -Wl,-z,relro -Wl,-soname,libscrypt.so.0 -Wl,--version-script=libscrypt.version
-+override CFLAGS+=-fPIC
-+override LDFLAGS+=-Wl,-z,now -Wl,-z,relro -Wl,-soname,libscrypt.so.0 -Wl,--version-script=libscrypt.version
- CFLAGS_EXTRA?=-Wl,-rpath=.
-
- all: reference
---
-2.7.4
-
diff --git a/package/libscrypt/libscrypt.hash b/package/libscrypt/libscrypt.hash
index fda63d1c0d..fcdc4bbeeb 100644
--- a/package/libscrypt/libscrypt.hash
+++ b/package/libscrypt/libscrypt.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 68e377e79745c10d489b759b970e52d819dbb80dd8ca61f8c975185df3f457d3 libscrypt-1.21.tar.gz
-sha256 aacbfd9e19e5b38ea09616cebf0751ef0cc7b6a19ea0fd78f4b0598b2c503394 LICENSE
+sha256 a2d30ea16e6d288772791de68be56153965fe4fd4bcd787777618b8048708936 libscrypt-1.22.tar.gz
+sha256 aacbfd9e19e5b38ea09616cebf0751ef0cc7b6a19ea0fd78f4b0598b2c503394 LICENSE
diff --git a/package/libscrypt/libscrypt.mk b/package/libscrypt/libscrypt.mk
index fa89ed31bc..d28bd4e900 100644
--- a/package/libscrypt/libscrypt.mk
+++ b/package/libscrypt/libscrypt.mk
@@ -4,23 +4,29 @@
#
################################################################################
-LIBSCRYPT_VERSION = 1.21
+LIBSCRYPT_VERSION = 1.22
LIBSCRYPT_SITE = $(call github,technion,libscrypt,v$(LIBSCRYPT_VERSION))
LIBSCRYPT_LICENSE = BSD-2-Clause
LIBSCRYPT_LICENSE_FILES = LICENSE
LIBSCRYPT_INSTALL_STAGING = YES
+LIBSCRYPT_MAKE_OPTS = \
+ $(TARGET_CONFIGURE_OPTS) \
+ CFLAGS_EXTRA="$(TARGET_CFLAGS)" \
+ LDFLAGS_EXTRA="$(TARGET_LDFLAGS)" \
+ PREFIX=/usr
+
define LIBSCRYPT_BUILD_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSCRYPT_MAKE_OPTS)
endef
define LIBSCRYPT_INSTALL_STAGING_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr \
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSCRYPT_MAKE_OPTS) \
DESTDIR=$(STAGING_DIR) install
endef
define LIBSCRYPT_INSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr \
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSCRYPT_MAKE_OPTS) \
DESTDIR=$(TARGET_DIR) install
endef
--
2.34.1
From stefan at agner.ch Wed Mar 2 10:32:06 2022
From: stefan at agner.ch (Stefan Agner)
Date: Wed, 2 Mar 2022 11:32:06 +0100
Subject: [Buildroot] [PATCH] package/linux-firmware: Add Intel WiFi 22000
series
Message-ID: <200a0dbe075eee7e2c6d309e8a00d68f74b671c7.1646217112.git.stefan@agner.ch>
Add Intel WiFi 22000 series firmware. This firmware supports WiFi 6
models like AX200/AX201/AX210.
Signed-off-by: Stefan Agner
---
package/linux-firmware/Config.in | 6 ++++++
package/linux-firmware/linux-firmware.mk | 5 +++++
2 files changed, 11 insertions(+)
diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in
index c94ffe24de..c9294956cc 100644
--- a/package/linux-firmware/Config.in
+++ b/package/linux-firmware/Config.in
@@ -175,6 +175,12 @@ config BR2_PACKAGE_LINUX_FIRMWARE_CYPRESS_CYW54XXX
help
Firmware files for the Cypress cyw54xxx FullMAC.
+config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_22000
+ bool "Intel Wireless 22000 series"
+ help
+ Firmware files for the Intel Wifi 22000 devices supported by
+ the iwlwifi kernel driver.
+
config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_22260
bool "Intel iwlwifi 22260"
help
diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
index 2d103df05c..6502b90e2d 100644
--- a/package/linux-firmware/linux-firmware.mk
+++ b/package/linux-firmware/linux-firmware.mk
@@ -437,6 +437,11 @@ LINUX_FIRMWARE_FILES += wil6210.*
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.QualcommAtheros_ath10k
endif
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_22000),y)
+LINUX_FIRMWARE_FILES += iwlwifi-QuZ-*.ucode iwlwifi-Qu-*.ucode
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
+endif
+
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_22260),y)
LINUX_FIRMWARE_FILES += iwlwifi-cc-a0-*.ucode
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
--
2.35.1
From bernd.kuhls at t-online.de Wed Mar 2 17:34:33 2022
From: bernd.kuhls at t-online.de (Bernd Kuhls)
Date: Wed, 2 Mar 2022 18:34:33 +0100
Subject: [Buildroot] [PATCH/next 1/1] package/{mesa3d,
mesa3d-headers}: bump version to 21.3.7
Message-ID: <20220302173433.28939-1-bernd.kuhls@t-online.de>
Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2022-February/000664.html
Signed-off-by: Bernd Kuhls
---
package/mesa3d-headers/mesa3d-headers.mk | 2 +-
package/mesa3d/mesa3d.hash | 6 +++---
package/mesa3d/mesa3d.mk | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/package/mesa3d-headers/mesa3d-headers.mk b/package/mesa3d-headers/mesa3d-headers.mk
index c8573fafad..736dedc25e 100644
--- a/package/mesa3d-headers/mesa3d-headers.mk
+++ b/package/mesa3d-headers/mesa3d-headers.mk
@@ -12,7 +12,7 @@ endif
# Not possible to directly refer to mesa3d variables, because of
# first/second expansion trickery...
-MESA3D_HEADERS_VERSION = 21.3.6
+MESA3D_HEADERS_VERSION = 21.3.7
MESA3D_HEADERS_SOURCE = mesa-$(MESA3D_HEADERS_VERSION).tar.xz
MESA3D_HEADERS_SITE = https://archive.mesa3d.org
MESA3D_HEADERS_DL_SUBDIR = mesa3d
diff --git a/package/mesa3d/mesa3d.hash b/package/mesa3d/mesa3d.hash
index d64b833100..b680411051 100644
--- a/package/mesa3d/mesa3d.hash
+++ b/package/mesa3d/mesa3d.hash
@@ -1,6 +1,6 @@
-# From https://lists.freedesktop.org/archives/mesa-announce/2022-February/000663.html
-sha256 96bb761fd546e9aa41d025fcc025225c5668443839dae21e3731959beb096736 mesa-21.3.6.tar.xz
-sha512 8c930e04eade29f689384ee7d6e2f178acbbf30fa6c9fdf132281279658c3c221ec7f9b1318e3c0a654c6136f925a5c0a35eaf849b65db7674641127c71e8a4f mesa-21.3.6.tar.xz
+# From https://lists.freedesktop.org/archives/mesa-announce/2022-February/000664.html
+sha256 b4fa9db7aa61bf209ef0b40bef83080999d86ad98df8b8b4fada7c128a1efc3d mesa-21.3.7.tar.xz
+sha512 0991543e9435457fa4d077517408b3f197be32ed61a6c7ca34ddb3906eed208791f1a57227f74115f99df18e612efab1d2c6809b7cf426d273633b53d4aefc88 mesa-21.3.7.tar.xz
# License
sha256 998437f3f75f0c542046f83c1cb349408122268168fb13eb4ae6967aa18b7d98 docs/license.rst
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index 95618b2072..d0b12932c4 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -5,7 +5,7 @@
################################################################################
# When updating the version, please also update mesa3d-headers
-MESA3D_VERSION = 21.3.6
+MESA3D_VERSION = 21.3.7
MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz
MESA3D_SITE = https://archive.mesa3d.org
MESA3D_LICENSE = MIT, SGI, Khronos
--
2.30.2
From fontaine.fabrice at gmail.com Wed Mar 2 17:44:55 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Wed, 2 Mar 2022 18:44:55 +0100
Subject: [Buildroot] [PATCH 1/2] package/gdk-pixbuf-xlib: new package
Message-ID: <20220302174456.1641125-1-fontaine.fabrice@gmail.com>
Deprecated Xlib integration for GdkPixbuf.
gdk-pixbuf-xlib has been deprecated and split off of gdk-pixbuf since
version 2.42.0 and
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/3362e94c2595440f322798dc4d15f1ed24a4c52c
resulting in the following "hidden" warnings with xscreensaver since
commit a7b51ed3013c919b293deb95299e33363fb9df70:
Warning: GTK version 2.24.33 was found, but at least one supporting
library (gdk-pixbuf-xlib-2.0) was not, so GTK can't be used.
Perhaps some of the development packages are not installed?
Warning: The GTK libraries do not seem to be available; the
`xscreensaver-demo' program requires them.
Warning: The GDK-Pixbuf library was not found.
The PNG library is being used instead.
Some of the demos will not use images as much as they could.
You should consider installing GDK-Pixbuf and re-running
configure.
https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib
Signed-off-by: Fabrice Fontaine
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/gdk-pixbuf-xlib/Config.in | 17 +++++++++++++++++
package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash | 5 +++++
package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk | 16 ++++++++++++++++
5 files changed, 40 insertions(+)
create mode 100644 package/gdk-pixbuf-xlib/Config.in
create mode 100644 package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash
create mode 100644 package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 2b2cb8c357..897a4dcfee 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -877,6 +877,7 @@ F: package/duktape/
F: package/expat/
F: package/flatbuffers/
F: package/freeipmi/
+F: package/gdk-pixbuf-xlib/
F: package/gerbera/
F: package/gtksourceview/
F: package/gssdp/
diff --git a/package/Config.in b/package/Config.in
index fb0595377e..85fa91190e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1492,6 +1492,7 @@ menu "Graphics"
source "package/freetype/Config.in"
source "package/gd/Config.in"
source "package/gdk-pixbuf/Config.in"
+ source "package/gdk-pixbuf-xlib/Config.in"
source "package/giblib/Config.in"
source "package/giflib/Config.in"
source "package/granite/Config.in"
diff --git a/package/gdk-pixbuf-xlib/Config.in b/package/gdk-pixbuf-xlib/Config.in
new file mode 100644
index 0000000000..2efc5d4d66
--- /dev/null
+++ b/package/gdk-pixbuf-xlib/Config.in
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_GDK_PIXBUF_XLIB
+ bool "gdk-pixbuf-xlib"
+ depends on BR2_PACKAGE_XORG7
+ depends on BR2_USE_MMU # gdk-pixbuf -> glib2
+ depends on BR2_USE_WCHAR # gdk-pixbuf -> glib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # gdk-pixbuf -> glib2
+ select BR2_PACKAGE_GDK_PIXBUF
+ select BR2_PACKAGE_XLIB_LIBX11
+ help
+ Deprecated Xlib integration for GdkPixbuf.
+
+ https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib
+
+comment "gdk-pixbuf-xlib needs a toolchain w/ wchar, threads"
+ depends on BR2_PACKAGE_XORG7
+ depends on BR2_USE_MMU
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash b/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash
new file mode 100644
index 0000000000..e7f74e2b4b
--- /dev/null
+++ b/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash
@@ -0,0 +1,5 @@
+# From https://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf-xlib/2.40/gdk-pixbuf-xlib-2.40.2.sha256sum
+sha256 8b8e1c270ec16a06f665ea841f8e4e167eaa0118d0cbfeeade43745f09198ff7 gdk-pixbuf-xlib-2.40.2.tar.xz
+
+# Hash for license file
+sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
diff --git a/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk b/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk
new file mode 100644
index 0000000000..3e61373b3a
--- /dev/null
+++ b/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# gdk-pixbuf-xlib
+#
+################################################################################
+
+GDK_PIXBUF_XLIB_VERSION_MAJOR = 2.40
+GDK_PIXBUF_XLIB_VERSION = $(GDK_PIXBUF_XLIB_VERSION_MAJOR).2
+GDK_PIXBUF_XLIB_SOURCE = gdk-pixbuf-xlib-$(GDK_PIXBUF_XLIB_VERSION).tar.xz
+GDK_PIXBUF_XLIB_SITE = http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf-xlib/$(GDK_PIXBUF_XLIB_VERSION_MAJOR)
+GDK_PIXBUF_XLIB_LICENSE = LGPL-2.1+
+GDK_PIXBUF_XLIB_LICENSE_FILES = COPYING
+GDK_PIXBUF_XLIB_INSTALL_STAGING = YES
+GDK_PIXBUF_XLIB_DEPENDENCIES = gdk-pixbuf xlib_libX11
+
+$(eval $(meson-package))
--
2.34.1
From fontaine.fabrice at gmail.com Wed Mar 2 17:44:56 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Wed, 2 Mar 2022 18:44:56 +0100
Subject: [Buildroot] [PATCH 2/2] package/xscreensaver: add gdk-pixbuf-xlib
dependency
In-Reply-To: <20220302174456.1641125-1-fontaine.fabrice@gmail.com>
References: <20220302174456.1641125-1-fontaine.fabrice@gmail.com>
Message-ID: <20220302174456.1641125-2-fontaine.fabrice@gmail.com>
gdk-pixbuf-xlib dependency is needed since bump of gdk-pixbuf to version
2.42.0 in commit a7b51ed3013c919b293deb95299e33363fb9df70 to avoid the
following "hidden" warnings:
Warning: GTK version 2.24.33 was found, but at least one supporting
library (gdk-pixbuf-xlib-2.0) was not, so GTK can't be used.
Perhaps some of the development packages are not installed?
Warning: The GTK libraries do not seem to be available; the
`xscreensaver-demo' program requires them.
Warning: The GDK-Pixbuf library was not found.
The PNG library is being used instead.
Some of the demos will not use images as much as they could.
You should consider installing GDK-Pixbuf and re-running
configure.
Signed-off-by: Fabrice Fontaine
---
package/xscreensaver/Config.in | 1 +
package/xscreensaver/xscreensaver.mk | 1 +
2 files changed, 2 insertions(+)
diff --git a/package/xscreensaver/Config.in b/package/xscreensaver/Config.in
index 787c3130ae..10b2b7012c 100644
--- a/package/xscreensaver/Config.in
+++ b/package/xscreensaver/Config.in
@@ -8,6 +8,7 @@ config BR2_PACKAGE_XSCREENSAVER
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgtk2 -> pango -> harfbuzz
select BR2_PACKAGE_GDK_PIXBUF
+ select BR2_PACKAGE_GDK_PIXBUF_XLIB
select BR2_PACKAGE_LIBGLU if BR2_PACKAGE_HAS_LIBGL
select BR2_PACKAGE_LIBGTK2
select BR2_PACKAGE_LIBXML2
diff --git a/package/xscreensaver/xscreensaver.mk b/package/xscreensaver/xscreensaver.mk
index f73a75bf14..46dedc3211 100644
--- a/package/xscreensaver/xscreensaver.mk
+++ b/package/xscreensaver/xscreensaver.mk
@@ -15,6 +15,7 @@ XSCREENSAVER_SELINUX_MODULES = xdg xscreensaver xserver
XSCREENSAVER_DEPENDENCIES = \
gdk-pixbuf \
+ gdk-pixbuf-xlib \
jpeg \
libgtk2 \
libxml2 \
--
2.34.1
From peter at korsgaard.com Wed Mar 2 18:36:22 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Wed, 02 Mar 2022 19:36:22 +0100
Subject: [Buildroot] [PATCH 1/1] package/seatd: security bump to version
0.6.4
In-Reply-To: <20220228213432.3289480-1-aperez@igalia.com> (Adrian Perez de
Castro's message of "Mon, 28 Feb 2022 23:34:32 +0200")
References: <20220228213432.3289480-1-aperez@igalia.com>
Message-ID: <87v8wwb3rt.fsf@dell.be.48ers.dk>
>>>>> "Adrian" == Adrian Perez de Castro writes:
> This release contains a security fix in seatd-launch which prevents
> removal of files that the calling user did not have privileges to
> remove. Release notes:
> https://git.sr.ht/~kennylevinsen/seatd/refs/0.6.4
> Signed-off-by: Adrian Perez de Castro
Committed, thanks.
--
Bye, Peter Korsgaard
From peter at korsgaard.com Wed Mar 2 18:36:35 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Wed, 02 Mar 2022 19:36:35 +0100
Subject: [Buildroot] [PATCH 1/1] package/rygel: disable man pages
In-Reply-To: <20220301183110.925959-1-fontaine.fabrice@gmail.com> (Fabrice
Fontaine's message of "Tue, 1 Mar 2022 19:31:10 +0100")
References: <20220301183110.925959-1-fontaine.fabrice@gmail.com>
Message-ID: <87r17kb3rg.fsf@dell.be.48ers.dk>
>>>>> "Fabrice" == Fabrice Fontaine writes:
> Fix the following build failure raised since bump to version 0.40.2 in
> commit 6acdbb81c8d6cdd3ecb476ae24e72fd4547011c3:
> FAILED: doc/man/rygel.1
> /home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/xsltproc
> --nonet --stringparam man.output.quietly 1 --stringparam
> funcsynopsis.style ansi --stringparam man.authors.section.enabled 1
> --stringparam man.copyright.section.enabled 1 -o doc/man/rygel.1
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> ../doc/man/rygel.xml
> I/O error : Attempt to load network entity
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> Fixes:
> - http://autobuild.buildroot.org/results/297859cdb544e980826df28b446a75d32c06d839
> Signed-off-by: Fabrice Fontaine
Committed, thanks.
--
Bye, Peter Korsgaard
From peter at korsgaard.com Wed Mar 2 18:35:26 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Wed, 2 Mar 2022 19:35:26 +0100
Subject: [Buildroot] [git commit] package/seatd: security bump to version
0.6.4
Message-ID: <20220302182850.E4EA9837AA@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=41139cb0997af800c7d89213c5d89652b65ec6cb
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
This release contains a security fix in seatd-launch which prevents
removal of files that the calling user did not have privileges to
remove. Release notes:
https://git.sr.ht/~kennylevinsen/seatd/refs/0.6.4
Signed-off-by: Adrian Perez de Castro
Signed-off-by: Peter Korsgaard
---
package/seatd/seatd.hash | 2 +-
package/seatd/seatd.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/seatd/seatd.hash b/package/seatd/seatd.hash
index 18f65d3aeb..88793b6dd5 100644
--- a/package/seatd/seatd.hash
+++ b/package/seatd/seatd.hash
@@ -1,5 +1,5 @@
# Calculated locally
-sha256 5226850c163b485aebe71da0d3f4941761637e146a5c9393cb40c52617ad84a8 0.6.3.tar.gz
+sha256 3d4ac288114219ba7721239cafee7bfbeb7cf8e1e7fd653602a369e4ad050bd8 0.6.4.tar.gz
# License files
sha256 282a494803d666616bd726e0279636b5f6a31387ae19a707459074050f2600d3 LICENSE
diff --git a/package/seatd/seatd.mk b/package/seatd/seatd.mk
index 27d3155b2b..5382cad39b 100644
--- a/package/seatd/seatd.mk
+++ b/package/seatd/seatd.mk
@@ -4,7 +4,7 @@
#
################################################################################
-SEATD_VERSION = 0.6.3
+SEATD_VERSION = 0.6.4
SEATD_SOURCE = $(SEATD_VERSION).tar.gz
SEATD_SITE = https://git.sr.ht/~kennylevinsen/seatd/archive
SEATD_LICENSE = MIT
From peter at korsgaard.com Wed Mar 2 18:35:38 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Wed, 2 Mar 2022 19:35:38 +0100
Subject: [Buildroot] [git commit] package/rygel: disable man pages
Message-ID: <20220302182850.EDD1D838CD@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=3739f0bf135e1cfe9034dc2797bdef3a2c981ecf
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fix the following build failure raised since bump to version 0.40.2 in
commit 6acdbb81c8d6cdd3ecb476ae24e72fd4547011c3:
FAILED: doc/man/rygel.1
/home/giuliobenetti/autobuild/run/instance-2/output-1/host/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.authors.section.enabled 1 --stringparam man.copyright.section.enabled 1 -o doc/man/rygel.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ../doc/man/rygel.xml
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
Fixes:
- http://autobuild.buildroot.org/results/297859cdb544e980826df28b446a75d32c06d839
Signed-off-by: Fabrice Fontaine
Signed-off-by: Peter Korsgaard
---
.../0001-build-Add-man_pages-build-options.patch | 150 +++++++++++++++++++++
package/rygel/rygel.mk | 1 +
2 files changed, 151 insertions(+)
diff --git a/package/rygel/0001-build-Add-man_pages-build-options.patch b/package/rygel/0001-build-Add-man_pages-build-options.patch
new file mode 100644
index 0000000000..cdd7cc7721
--- /dev/null
+++ b/package/rygel/0001-build-Add-man_pages-build-options.patch
@@ -0,0 +1,150 @@
+From 5a54c5bb1c9609b7bffe6b3e05f934030e4e990e Mon Sep 17 00:00:00 2001
+From: Jens Georg
+Date: Sat, 26 Dec 2020 18:40:51 +0100
+Subject: [PATCH] build: Add man_pages build options
+
+Check if xsltproc runs succesfully and fail otherwise
+
+Fixes #192
+
+[Retrieved from:
+https://gitlab.gnome.org/GNOME/rygel/-/commit/5a54c5bb1c9609b7bffe6b3e05f934030e4e990e]
+Signed-off-by: Fabrice Fontaine
+---
+ doc/man/meson.build | 98 +++++++++++++++++++++++++++------------------
+ doc/meson.build | 5 ++-
+ meson_options.txt | 1 +
+ 3 files changed, 64 insertions(+), 40 deletions(-)
+
+diff --git a/doc/man/meson.build b/doc/man/meson.build
+index ef3fcfbf5..4c92eab2b 100644
+--- a/doc/man/meson.build
++++ b/doc/man/meson.build
+@@ -1,43 +1,63 @@
+ xsltproc = find_program('xsltproc', required: false)
+
+ if xsltproc.found()
+- xlstproc_flags = [
+- '--nonet',
+- '--stringparam', 'man.output.quietly', '1',
+- '--stringparam', 'funcsynopsis.style', 'ansi',
+- '--stringparam', 'man.authors.section.enabled', '1',
+- '--stringparam', 'man.copyright.section.enabled', '1',
+- ]
+-
+- xsltproc_args = [
+- xsltproc,
+- xlstproc_flags,
+- '-o', '@OUTPUT@',
+- 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl',
+- '@INPUT@',
+- ]
+-
+- man_input_files = [
+- 'rygel.xml',
+- 'rygel.conf.xml'
+- ]
+-
+- man_output_files = [
+- 'rygel.1',
+- 'rygel.conf.5'
+- ]
+-
+- custom_target('man 1 pages',
+- input: 'rygel.xml',
+- output: 'rygel.1',
+- command: xsltproc_args,
+- install: true,
+- install_dir: join_paths(get_option('mandir'), 'man1'))
+-
+- custom_target('man 5 pages',
+- input: 'rygel.conf.xml',
+- output: 'rygel.conf.5',
+- command: xsltproc_args,
+- install: true,
+- install_dir: join_paths(get_option('mandir'), 'man5'))
++ stylesheet = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl'
++
++ xlstproc_flags = [
++ '--nonet',
++ '--stringparam', 'man.output.quietly', '1',
++ '--stringparam', 'funcsynopsis.style', 'ansi',
++ '--stringparam', 'man.authors.section.enabled', '1',
++ '--stringparam', 'man.copyright.section.enabled', '1',
++ ]
++
++ xsltproc_args = [
++ xsltproc,
++ xlstproc_flags,
++ '-o', '@OUTPUT@',
++ stylesheet,
++ '@INPUT@',
++ ]
++
++ man_input_files = [
++ 'rygel.xml',
++ 'rygel.conf.xml'
++ ]
++
++ man_output_files = [
++ 'rygel.1',
++ 'rygel.conf.5'
++ ]
++
++ r = run_command(
++ [
++ xsltproc,
++ xlstproc_flags,
++ '-o', '/dev/null',
++ stylesheet,
++ 'rygel.xml'
++ ]
++ )
++
++ if (r.returncode() == 0)
++ custom_target(
++ 'man 1 pages',
++ input: 'rygel.xml',
++ output: 'rygel.1',
++ command: xsltproc_args,
++ install: true,
++ install_dir: join_paths(get_option('mandir'), 'man1')
++ )
++
++ custom_target(
++ 'man 5 pages',
++ input: 'rygel.conf.xml',
++ output: 'rygel.conf.5',
++ command: xsltproc_args,
++ install: true,
++ install_dir: join_paths(get_option('mandir'), 'man5')
++ )
++ else
++ error('Cannot bulid man pages, failed to run xsltproc')
++ endif
+ endif
+diff --git a/doc/meson.build b/doc/meson.build
+index 41c733e50..91c08fae5 100644
+--- a/doc/meson.build
++++ b/doc/meson.build
+@@ -1,2 +1,5 @@
+-subdir('man')
++if get_option('man_pages')
++ subdir('man')
++endif
++
+ subdir('reference')
+diff --git a/meson_options.txt b/meson_options.txt
+index cb604c4e9..c60ff1a9a 100644
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -1,5 +1,6 @@
+ option('uninstalled', type: 'boolean', value: 'false', description: 'Run Rygel from build directory only')
+ option('api-docs', type: 'boolean', value: 'false', description: 'Build the API documentation')
++option('man_pages', type: 'boolean', value: 'true', description: 'Build the man pages')
+ option('systemd-user-units-dir', type : 'string', value : 'auto', description : 'Where to install the systemd user unit (use special values "auto" or "none", or pass a path')
+ option('plugins', type : 'array', choices : ['external', 'gst-launch', 'lms', 'media-export', 'mpris', 'playbin', 'ruih', 'tracker', 'tracker3'])
+ option('engines', type : 'array', choices : ['simple', 'gstreamer'])
+--
+GitLab
+
diff --git a/package/rygel/rygel.mk b/package/rygel/rygel.mk
index bfcd5df3c6..e05297456d 100644
--- a/package/rygel/rygel.mk
+++ b/package/rygel/rygel.mk
@@ -26,6 +26,7 @@ RYGEL_CONF_OPTS += \
-Dapi-docs=false \
-Dexamples=false \
-Dintrospection=enabled \
+ -Dman_pages=false \
-Dtests=false
RYGEL_PLUGINS = external,lms,mpris,ruih
From fontaine.fabrice at gmail.com Wed Mar 2 18:42:09 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Wed, 2 Mar 2022 19:42:09 +0100
Subject: [Buildroot] [PATCH 1/1] package/libcamera-apps: link with -latomic
if needed
Message-ID: <20220302184209.2081120-1-fontaine.fabrice@gmail.com>
Link with -latomic if needed to avoid the following build failure raised
since the addition of the package in commit
7227d005d2435ec7b38995a6247d233ddb5ba365:
/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: CMakeFiles/libcamera-still.dir/libcamera_still.cpp.o: undefined reference to symbol '__atomic_fetch_sub_4@@LIBATOMIC_1.0'
Fixes:
- http://autobuild.buildroot.org/results/b20465140f3a5281f9b586f442b67fd400e7184a
Signed-off-by: Fabrice Fontaine
---
package/libcamera-apps/libcamera-apps.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/libcamera-apps/libcamera-apps.mk b/package/libcamera-apps/libcamera-apps.mk
index 210d4e1e52..f4fc019c17 100644
--- a/package/libcamera-apps/libcamera-apps.mk
+++ b/package/libcamera-apps/libcamera-apps.mk
@@ -45,4 +45,8 @@ else
LIBCAMERA_APPS_CONF_OPTS += -DENABLE_QT=0
endif
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+LIBCAMERA_APPS_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
+endif
+
$(eval $(cmake-package))
--
2.34.1
From ju.o at free.fr Wed Mar 2 21:01:50 2022
From: ju.o at free.fr (Julien Olivain)
Date: Wed, 2 Mar 2022 22:01:50 +0100
Subject: [Buildroot] [PATCH 1/1] package/{gnupg,
gnupg2}: use gnupg2 by default
Message-ID: <20220302210150.33658-1-ju.o@free.fr>
This patch reverses the logic to select gnupg2 by default, while still
allowing to select gnupg (v1).
Quoting: https://gnupg.org/download/index.html
"""
GnuPG 1.4 is the old, single binary version which still support the
unsafe PGP-2 keys. This branch has no dependencies on the above listed
libraries or the Pinentry. However, it lacks many modern features and
will receive only important updates.
"""
gnupg 1.4 is kept in Buildroot for now, as the package is still
maintained upstream. It might still be useful is some specific cases:
- it has a smaller footprint (compared to v2),
- it has less dependencies (only zlib),
- it has less build dependencies (can build static, no need for
MMU/threads, ...)
Most Linux distributions are now shipping gnupg2 by default. gnupg v1
is now more for legacy/compatibility/specific cases.
There is currently only two packages selecting gnupg in Buildroot:
gpgme and python-gnupg
This commit also reverses the logic for those packages.
Signed-off-by: Julien Olivain
---
Tested with:
support/testing/run-tests \
-d dl -o output_folder \
-k tests.package.test_python_gnupg.TestPythonPy3GnuPG
Note: this change was quickly discussed in:
https://lists.buildroot.org/pipermail/buildroot/2022-January/634021.html
---
package/gnupg/Config.in | 1 -
package/gnupg2/Config.in | 1 +
package/libgpgme/Config.in | 2 +-
package/python-gnupg/Config.in | 2 +-
4 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/gnupg/Config.in b/package/gnupg/Config.in
index 2db46318f1..e92fca709d 100644
--- a/package/gnupg/Config.in
+++ b/package/gnupg/Config.in
@@ -1,6 +1,5 @@
config BR2_PACKAGE_GNUPG
bool "gnupg"
- depends on !BR2_PACKAGE_GNUPG2
select BR2_PACKAGE_ZLIB
help
GnuPG is the GNU project's complete and free implementation
diff --git a/package/gnupg2/Config.in b/package/gnupg2/Config.in
index ef1817ef02..9438cf69f6 100644
--- a/package/gnupg2/Config.in
+++ b/package/gnupg2/Config.in
@@ -8,6 +8,7 @@ config BR2_PACKAGE_GNUPG2
depends on BR2_TOOLCHAIN_HAS_THREADS # libnpth
depends on BR2_USE_MMU # libassuan, libnpth
depends on !BR2_STATIC_LIBS
+ depends on !BR2_PACKAGE_GNUPG
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_LIBGPG_ERROR
select BR2_PACKAGE_LIBGCRYPT
diff --git a/package/libgpgme/Config.in b/package/libgpgme/Config.in
index 4aabd06367..20f491b664 100644
--- a/package/libgpgme/Config.in
+++ b/package/libgpgme/Config.in
@@ -3,7 +3,7 @@ config BR2_PACKAGE_LIBGPGME
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error
depends on BR2_USE_MMU # libassuan
#gnupg is not needed to build, but at runtime.
- select BR2_PACKAGE_GNUPG if !BR2_PACKAGE_GNUPG2
+ select BR2_PACKAGE_GNUPG2 if !BR2_PACKAGE_GNUPG
select BR2_PACKAGE_LIBGPG_ERROR
select BR2_PACKAGE_LIBASSUAN
help
diff --git a/package/python-gnupg/Config.in b/package/python-gnupg/Config.in
index 038a940778..54f8fb6a29 100644
--- a/package/python-gnupg/Config.in
+++ b/package/python-gnupg/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_PYTHON_GNUPG
bool "python-gnupg"
- select BR2_PACKAGE_GNUPG if !BR2_PACKAGE_GNUPG2 # runtime
+ select BR2_PACKAGE_GNUPG2 if !BR2_PACKAGE_GNUPG # runtime
help
A wrapper for the Gnu Privacy Guard (GPG or GnuPG).
--
2.35.1
From fontaine.fabrice at gmail.com Wed Mar 2 21:17:24 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Wed, 2 Mar 2022 22:17:24 +0100
Subject: [Buildroot] [PATCH 1/1] package/dnsmasq: fix build with gcc 4.8
Message-ID: <20220302211724.2351984-1-fontaine.fabrice@gmail.com>
Fix the following build failure with gcc 4.8 raised since bump to
version 2.86 in commit 5b29096f8fcb0acd8890073a56ba9d620b1f911c:
pattern.c: In function 'is_valid_dns_name':
pattern.c:134:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (const char *c = value;; c++)
^
pattern.c:134:3: note: use option -std=c99 or -std=gnu99 to compile your code
pattern.c: In function 'is_valid_dns_name_pattern':
pattern.c:249:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (const char *c = value;; c++)
^
Fixes:
- http://autobuild.buildroot.org/results/eb0c34ff58eaf103f51c7171ecd97a3bdb887601
Signed-off-by: Fabrice Fontaine
---
...src-pattern.c-fix-build-with-gcc-4.8.patch | 57 +++++++++++++++++++
1 file changed, 57 insertions(+)
create mode 100644 package/dnsmasq/0004-src-pattern.c-fix-build-with-gcc-4.8.patch
diff --git a/package/dnsmasq/0004-src-pattern.c-fix-build-with-gcc-4.8.patch b/package/dnsmasq/0004-src-pattern.c-fix-build-with-gcc-4.8.patch
new file mode 100644
index 0000000000..90bb02b23a
--- /dev/null
+++ b/package/dnsmasq/0004-src-pattern.c-fix-build-with-gcc-4.8.patch
@@ -0,0 +1,57 @@
+From 0c89dd2fa0fe50b00bca638dbbacfbd361526e0a Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine
+Date: Sun, 2 Jan 2022 21:57:52 +0100
+Subject: [PATCH] src/pattern.c: fix build with gcc 4.8
+
+Fix the following build failure:
+
+pattern.c: In function 'is_valid_dns_name':
+pattern.c:134:3: error: 'for' loop initial declarations are only allowed in C99 mode
+ for (const char *c = value;; c++)
+ ^
+pattern.c:134:3: note: use option -std=c99 or -std=gnu99 to compile your code
+pattern.c: In function 'is_valid_dns_name_pattern':
+pattern.c:249:3: error: 'for' loop initial declarations are only allowed in C99 mode
+ for (const char *c = value;; c++)
+ ^
+
+Signed-off-by: Fabrice Fontaine
+[Retrieved from:
+https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=b2690415bfa1bc105e61b75f642fb5c1aaf0fae8]
+---
+ src/pattern.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/pattern.c b/src/pattern.c
+index 03e23b9..928d259 100644
+--- a/src/pattern.c
++++ b/src/pattern.c
+@@ -129,9 +129,9 @@ int is_valid_dns_name(const char *value)
+
+ size_t num_bytes = 0;
+ size_t num_labels = 0;
+- const char *label = NULL;
++ const char *c, *label = NULL;
+ int is_label_numeric = 1;
+- for (const char *c = value;; c++)
++ for (c = value;; c++)
+ {
+ if (*c &&
+ *c != '-' && *c != '.' &&
+@@ -242,11 +242,11 @@ int is_valid_dns_name_pattern(const char *value)
+
+ size_t num_bytes = 0;
+ size_t num_labels = 0;
+- const char *label = NULL;
++ const char *c, *label = NULL;
+ int is_label_numeric = 1;
+ size_t num_wildcards = 0;
+ int previous_label_has_wildcard = 1;
+- for (const char *c = value;; c++)
++ for (c = value;; c++)
+ {
+ if (*c &&
+ *c != '*' && /* Wildcard. */
+--
+2.20.1
+
--
2.34.1
From fontaine.fabrice at gmail.com Wed Mar 2 21:26:21 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Wed, 2 Mar 2022 22:26:21 +0100
Subject: [Buildroot] [PATCH/next 1/1] package/libss7: bump to version 2.0.1
Message-ID: <20220302212621.2357671-1-fontaine.fabrice@gmail.com>
http://downloads.asterisk.org/pub/telephony/libss7/releases/libss7-2.0.1-summary.html
Signed-off-by: Fabrice Fontaine
---
package/libss7/libss7.hash | 4 ++--
package/libss7/libss7.mk | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/libss7/libss7.hash b/package/libss7/libss7.hash
index 8e1d6635db..442422fcd9 100644
--- a/package/libss7/libss7.hash
+++ b/package/libss7/libss7.hash
@@ -1,6 +1,6 @@
# Hashes from http://downloads.asterisk.org/pub/telephony/libss7/releases/
-sha1 7112a0717293fc273d5d488e1387ad28abe4e9b3 libss7-2.0.0.tar.gz
-sha256 5af00853cfb2bc6bcf050947804db132ae6872db0cd2ab24b5378828f78eda52 libss7-2.0.0.tar.gz
+sha1 301fd3eff4387db6407cbc72c3fec9aed5bc3860 libss7-2.0.1.tar.gz
+sha256 091f1c14dcf13a094021334218cde363041816fa5b5037caee38719e4e6891c7 libss7-2.0.1.tar.gz
# License file, locally calculated
sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 LICENSE
diff --git a/package/libss7/libss7.mk b/package/libss7/libss7.mk
index 151b6a61b5..faa147c78e 100644
--- a/package/libss7/libss7.mk
+++ b/package/libss7/libss7.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBSS7_VERSION = 2.0.0
+LIBSS7_VERSION = 2.0.1
LIBSS7_SITE = http://downloads.asterisk.org/pub/telephony/libss7/releases
LIBSS7_LICENSE = GPL-2.0
--
2.34.1
From fontaine.fabrice at gmail.com Wed Mar 2 21:44:04 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Wed, 2 Mar 2022 22:44:04 +0100
Subject: [Buildroot] [PATCH/next 1/1] package/xdotool: bump to version
3.20211022.1
Message-ID: <20220302214404.2476680-1-fontaine.fabrice@gmail.com>
- Retrieve official tarball
- Update indentation in hash file (two spaces)
https://github.com/jordansissel/xdotool/blob/v3.20211022.1/CHANGELIST
Signed-off-by: Fabrice Fontaine
---
package/xdotool/xdotool.hash | 4 ++--
package/xdotool/xdotool.mk | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package/xdotool/xdotool.hash b/package/xdotool/xdotool.hash
index b0d5a7582a..549e807ccc 100644
--- a/package/xdotool/xdotool.hash
+++ b/package/xdotool/xdotool.hash
@@ -1,3 +1,3 @@
# locally computed hash
-sha256 ddafca1239075c203769c17a5a184587731e56fbe0438c09d08f8af1704e117a xdotool-3.20160805.1.tar.gz
-sha256 129d156c35b1cb19350f3716129173c8c89e019c0497d9df073db5b801becef2 COPYRIGHT
+sha256 96f0facfde6d78eacad35b91b0f46fecd0b35e474c03e00e30da3fdd345f9ada xdotool-3.20211022.1.tar.gz
+sha256 129d156c35b1cb19350f3716129173c8c89e019c0497d9df073db5b801becef2 COPYRIGHT
diff --git a/package/xdotool/xdotool.mk b/package/xdotool/xdotool.mk
index 5c5603bd62..c430a49d06 100644
--- a/package/xdotool/xdotool.mk
+++ b/package/xdotool/xdotool.mk
@@ -4,8 +4,8 @@
#
################################################################################
-XDOTOOL_VERSION = 3.20160805.1
-XDOTOOL_SITE = $(call github,jordansissel,xdotool,v$(XDOTOOL_VERSION))
+XDOTOOL_VERSION = 3.20211022.1
+XDOTOOL_SITE = https://github.com/jordansissel/xdotool/releases/download/v$(XDOTOOL_VERSION)
XDOTOOL_LICENSE = BSD-3-Clause
XDOTOOL_LICENSE_FILES = COPYRIGHT
XDOTOOL_DEPENDENCIES = xlib_libXtst xlib_libXinerama libxkbcommon xlib_libX11
--
2.34.1
From fontaine.fabrice at gmail.com Wed Mar 2 21:51:31 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Wed, 2 Mar 2022 22:51:31 +0100
Subject: [Buildroot] [PATCH/next 1/1] package/tree: bump to version 2.0.2
Message-ID: <20220302215131.2479736-1-fontaine.fabrice@gmail.com>
Update indentation in hash file (two spaces)
http://mama.indstate.edu/users/ice/tree/changes.html
Signed-off-by: Fabrice Fontaine
---
package/tree/tree.hash | 4 ++--
package/tree/tree.mk | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/tree/tree.hash b/package/tree/tree.hash
index 6bffaa5ec0..298153c89c 100644
--- a/package/tree/tree.hash
+++ b/package/tree/tree.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 715d5d4b434321ce74706d0dd067505bb60c5ea83b5f0b3655dae40aa6f9b7c2 tree-1.8.0.tgz
-sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 LICENSE
+sha256 7d693a1d88d3c4e70a73e03b8dbbdc12c2945d482647494f2f5bd83a479eeeaf tree-2.0.2.tgz
+sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 LICENSE
diff --git a/package/tree/tree.mk b/package/tree/tree.mk
index b6c63c0244..7c111b47d2 100644
--- a/package/tree/tree.mk
+++ b/package/tree/tree.mk
@@ -4,7 +4,7 @@
#
################################################################################
-TREE_VERSION = 1.8.0
+TREE_VERSION = 2.0.2
TREE_SOURCE = tree-$(TREE_VERSION).tgz
TREE_SITE = http://mama.indstate.edu/users/ice/tree/src
TREE_LICENSE = GPL-2.0+
--
2.34.1
From francois.perrad at gadz.org Thu Mar 3 06:12:50 2022
From: francois.perrad at gadz.org (=?UTF-8?Q?Fran=C3=A7ois_Perrad?=)
Date: Thu, 3 Mar 2022 07:12:50 +0100
Subject: [Buildroot] Buildroot 2022.02-rc3 released
In-Reply-To: <87pmn6y8hv.fsf@dell.be.48ers.dk>
References: <87pmn6y8hv.fsf@dell.be.48ers.dk>
Message-ID:
Le lun. 28 f?vr. 2022 ? 22:41, Peter Korsgaard a
?crit :
> Hi,
>
> Buildroot 2022.02-rc3 is released - Go download it at:
>
> http://buildroot.net/downloads/buildroot-2022.02-rc3.tar.gz
>
> or
>
> http://buildroot.net/downloads/buildroot-2022.02-rc3.tar.xz
>
>
These 2 links are broken.
Fran?ois
$ wget http://buildroot.net/downloads/buildroot-2022.02-rc3.tar.gz
--2022-03-03 07:11:19--
http://buildroot.net/downloads/buildroot-2022.02-rc3.tar.gz
Resolving buildroot.net (buildroot.net)... 140.211.167.122
Connecting to buildroot.net (buildroot.net)|140.211.167.122|:80...
connected.
HTTP request sent, awaiting response... 404 Not Found
2022-03-03 07:11:19 ERROR 404: Not Found.
> Or get it from Git:
>
> git://git.buildroot.net/buildroot
>
> Another week, another release candidate.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From peter at korsgaard.com Thu Mar 3 06:44:34 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Thu, 03 Mar 2022 07:44:34 +0100
Subject: [Buildroot] Buildroot 2022.02-rc3 released
In-Reply-To:
(=?utf-8?Q?=22Fran=C3=A7ois?= Perrad"'s message of "Thu, 3 Mar 2022
07:12:50 +0100")
References: <87pmn6y8hv.fsf@dell.be.48ers.dk>
Message-ID: <87mti7bkml.fsf@dell.be.48ers.dk>
>>>>> "Fran?ois" == Fran?ois Perrad writes:
> Le lun. 28 f?vr. 2022 ? 22:41, Peter Korsgaard a
> ?crit :
>> Hi,
>>
>> Buildroot 2022.02-rc3 is released - Go download it at:
>>
>> http://buildroot.net/downloads/buildroot-2022.02-rc3.tar.gz
>>
>> or
>>
>> http://buildroot.net/downloads/buildroot-2022.02-rc3.tar.xz
>>
>>
> These 2 links are broken.
> Fran?ois
> $ wget http://buildroot.net/downloads/buildroot-2022.02-rc3.tar.gz
> --2022-03-03 07:11:19--
> http://buildroot.net/downloads/buildroot-2022.02-rc3.tar.gz
> Resolving buildroot.net (buildroot.net)... 140.211.167.122
> Connecting to buildroot.net (buildroot.net)|140.211.167.122|:80...
> connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2022-03-03 07:11:19 ERROR 404: Not Found.
Ups, something went wrong with the upload. Fixed now, thanks!
--
Bye, Peter Korsgaard
From thomas.petazzoni at bootlin.com Thu Mar 3 07:12:36 2022
From: thomas.petazzoni at bootlin.com (Thomas Petazzoni)
Date: Thu, 03 Mar 2022 07:12:36 -0000
Subject: [Buildroot] [autobuild.buildroot.net] Daily results for 2022-03-02
Message-ID: <20220303071242.017E860B66@smtp3.osuosl.org>
Hello,
Autobuild statistics for 2022-03-02
===================================
branch | OK | NOK | TIM | TOT |
2021.02.x | 57 | 9 | 0 | 66 |
2021.11.x | 25 | 1 | 0 | 26 |
master | 106 | 57 | 1 | 164 |
Classification of failures by reason for master
-----------------------------------------------
frr-8.1 | 14
host-libselinux-3.3 | 14
bpftool-v6.7.0 | 4
python-greenlet-1.1.2 | 3
unknown | 3
google-breakpad-7515ab13768... | 2
vlc-3.0.16 | 2
android-tools-4.2.2+git2013... | 1
bluez5_utils-5.63 | 1
dnsmasq-2.86 | 1
exempi-2.6.1 | 1
file-5.41 | 1
ghostscript-9.55.0 | 1
host-go-1.17.7 | 1
libcamera-apps-2d1009e3badc... | 1
libuwsc | 1
Makefile:734: target-finalize | 1
mongodb-4.2.18 | 1
mpv-0.33.1 | 1
osm2pgsql-1.6.0 | 1
tovid-87c676f4aadb7303d2cd9... | 1
wavemon-0.9.4 | 1
wpa_supplicant-2.10 | 1
Detail of failures for master
-----------------------------
arch | reason | OK? | url | orph?
-------------+--------------------------------+-----+---------------------------------------------------------------------------------+-------
powerpc64 | android-tools-4.2.2+git2013... | NOK | http://autobuild.buildroot.net/results/275851e3d79a7166fe28e0a0f8c04a4db3c4ceb3 |
arm | bluez5_utils-5.63 | NOK | http://autobuild.buildroot.net/results/e1af3f9a80755384617a2eb1c137393048e7ab1b |
arm | bpftool-v6.7.0 | NOK | http://autobuild.buildroot.net/results/4c34010da5311b93d62477f1d3a989452fe1fe6f |
arm | bpftool-v6.7.0 | NOK | http://autobuild.buildroot.net/results/31565641bdafe8b303bade66764c428c49355072 |
arm | bpftool-v6.7.0 | NOK | http://autobuild.buildroot.net/results/f6c5b6f65e49f28ee973046dbc31301d6be7765a |
arm | bpftool-v6.7.0 | NOK | http://autobuild.buildroot.net/results/198183e4c2d85212ceb12ec588cd93b4f1e01c6c |
arm | dnsmasq-2.86 | NOK | http://autobuild.buildroot.net/results/eb0c34ff58eaf103f51c7171ecd97a3bdb887601 |
arm | exempi-2.6.1 | NOK | http://autobuild.buildroot.net/results/70b050ec463b8fc45cd9e886efa1d2be4bb2d737 |
arm | file-5.41 | NOK | http://autobuild.buildroot.net/results/4379726288f89fd53f56cafed4b4a151acea896d | ORPH
nios2 | frr-8.1 | NOK | http://autobuild.buildroot.net/results/efefcf149af610d9be0d76f1f2bcfadceaa2f738 |
powerpc | frr-8.1 | NOK | http://autobuild.buildroot.net/results/2a0bc37f535035eb24d3129982c83da3a43127cc |
xtensa | frr-8.1 | NOK | http://autobuild.buildroot.net/results/2068459734556e09d5d12cefabd624d9e47c6c5f |
mipsel | frr-8.1 | NOK | http://autobuild.buildroot.net/results/592dc62c4d2d197d16367a243fd77376a7cfda7a |
nios2 | frr-8.1 | NOK | http://autobuild.buildroot.net/results/0f7104f07e170f48873cb7e33993f25247191313 |
riscv64 | frr-8.1 | NOK | http://autobuild.buildroot.net/results/da98920735e4597d21a7fe9d0a0dd4ab284c55d2 |
powerpc | frr-8.1 | NOK | http://autobuild.buildroot.net/results/7140ed2843be622d15d7fbd1278f2c638add08f8 |
xtensa | frr-8.1 | NOK | http://autobuild.buildroot.net/results/8d6f6374e691362ddf70de7f41cee645024fe7c2 |
mipsel | frr-8.1 | NOK | http://autobuild.buildroot.net/results/aa01104d9e99e16d11799ccb039dc05966546327 |
arm | frr-8.1 | NOK | http://autobuild.buildroot.net/results/a0e31d4426db29c8005e144ed3201da271e437cb |
riscv64 | frr-8.1 | NOK | http://autobuild.buildroot.net/results/e4b5dffe5e8104e9fcb34ad8de5f980552101830 |
powerpc64 | frr-8.1 | NOK | http://autobuild.buildroot.net/results/42fb90cf286a5d081b0ebedaf55d2dc14b325556 |
xtensa | frr-8.1 | NOK | http://autobuild.buildroot.net/results/17a06dc06b28f4de0b48afd5c7e5f1cdca01f7ee |
mipsel | frr-8.1 | NOK | http://autobuild.buildroot.net/results/717a61b8b1b3dfcaa34dcfcc9849e7f8d4961927 |
arm | ghostscript-9.55.0 | NOK | http://autobuild.buildroot.net/results/b3e5c8c98e77e5f5e3661b31ad3d192260fe3dc9 |
mipsel | google-breakpad-7515ab13768... | NOK | http://autobuild.buildroot.net/results/586b77332930f1a59ed14defcc2b2546eb327152 |
mipsel | google-breakpad-7515ab13768... | NOK | http://autobuild.buildroot.net/results/ea3bc5ec1e2946e11cf449a943adbd42eed57f15 |
mips64el | host-go-1.17.7 | NOK | http://autobuild.buildroot.net/results/00d3143f485192019eda60e4246e08bfcfd0eb51 |
arm | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/8c846d6b962610b0ab2f0a1cb82aae3a5f386e72 |
arm | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/1fe5d8e9a0b2e5b8ace8273694c47b435cfdf18c |
xtensa | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/0090c4476dbe4c6f45f07a6a41e7f951f40f0838 |
microblazeel | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/c7178239648e0b48fd00937cb9d958f2291ab7b1 |
arm | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/eb57c0ece7ffe66982fa4904f3603f27341de849 |
xtensa | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/1b24f64c4eee66056b550544c34a76b7cc412d70 |
microblazeel | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/5122b102bbc22c772e232b69eb47c550d9a48552 |
riscv64 | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/34ee2422bf4af2112eab2b92852c27e90f3ce0db |
arm | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/e110384926873327db2d56fc5bf54dd6db29b000 |
powerpc64 | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/fd39bfab03356f38fc9ecdd49b8322b6084c2ca2 |
microblazeel | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/861e304e27bc94a6078f28bab19e392e10acc8b6 |
powerpc | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/93f14e8bedcbb510a35429587b1a5bda80c20e7c |
arm | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/5f981cd9a1d5fb0ab858f18b01d9b692131ab950 |
arm | host-libselinux-3.3 | NOK | http://autobuild.buildroot.net/results/211427becf05ce040c5d6f78d1140727a9110755 |
sparc | libcamera-apps-2d1009e3badc... | NOK | http://autobuild.buildroot.net/results/b20465140f3a5281f9b586f442b67fd400e7184a |
arc | libuwsc | TIM | http://autobuild.buildroot.net/results/31d98d07e1fc36381548804c224a771403bb16c0 |
arm | Makefile:734: target-finalize | NOK | http://autobuild.buildroot.net/results/ecf4de273c4ba888264085e6f2b69656208c6a04 |
arm | mongodb-4.2.18 | NOK | http://autobuild.buildroot.net/results/d252d52aa9f045e04a51110335bf3a6b1561562a |
arc | mpv-0.33.1 | NOK | http://autobuild.buildroot.net/results/63efa19f8bb5760ed44d18d9942954dfb376ea62 |
sh4 | osm2pgsql-1.6.0 | NOK | http://autobuild.buildroot.net/results/521a28c64d9689777d9e5d4f81fc8de3c8996d92 |
m68k | python-greenlet-1.1.2 | NOK | http://autobuild.buildroot.net/results/5978d008d48374d74bc2137fb977f6231fce2481 |
mipsel | python-greenlet-1.1.2 | NOK | http://autobuild.buildroot.net/results/db222f0ff8bc9ff7b5f4e829986cf7dc46259a57 |
arm | python-greenlet-1.1.2 | NOK | http://autobuild.buildroot.net/results/5f5d5cc9d90a1207a9af9608f4254f64e2a89bdc |
riscv32 | tovid-87c676f4aadb7303d2cd9... | NOK | http://autobuild.buildroot.net/results/c77ede55ccb6e1db9a7a0d0c01c48cfc6c3bfb2c |
xtensa | unknown | NOK | http://autobuild.buildroot.net/results/c78687bb093854a5df3751a531fdca0bd1096423 |
arm | unknown | NOK | http://autobuild.buildroot.net/results/6b896c8c38e44eba430eb71fc08ade1eb04c4649 |
riscv32 | unknown | NOK | http://autobuild.buildroot.net/results/977b8f322f897663003f5cee99f5a32c0ab87d5f |
arm | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/06188ad302c5e33bcb237f70afa3483bdb3358f6 |
m68k | vlc-3.0.16 | NOK | http://autobuild.buildroot.net/results/d13fe134dfa53fc531b1d72642fd9a0cdcb4bf35 |
nios2 | wavemon-0.9.4 | NOK | http://autobuild.buildroot.net/results/6bb7891ec0b991ec7e9532e5a568a58c8eaf554c |
powerpc64 | wpa_supplicant-2.10 | NOK | http://autobuild.buildroot.net/results/846ab8364c306e1c8d0643b571bef848b7fd21a6 |
Classification of failures by reason for 2021.02.x
--------------------------------------------------
azure-iot-sdk-c-LTS_07_2020... | 1
erlang-jiffy-1.0.6 | 1
host-sentry-cli-1.57.0 | 1
monkey-f54856ce250c4e257354... | 1
netopeer2-1.1.53 | 1
openldap-2.4.59 | 1
python-pyqt5-5.7 | 1
unknown | 1
zeromq-4.3.4 | 1
Detail of failures for 2021.02.x
--------------------------------
arch | reason | OK? | url | orph?
-------------+--------------------------------+-----+---------------------------------------------------------------------------------+-------
riscv32 | azure-iot-sdk-c-LTS_07_2020... | NOK | http://autobuild.buildroot.net/results/ed8acf7835e2c7894cf3f68fe65fb6b1315691c7 |
mipsel | erlang-jiffy-1.0.6 | NOK | http://autobuild.buildroot.net/results/de6457a6de4f03c4a029dda7ffe17004f24f3434 |
aarch64 | host-sentry-cli-1.57.0 | NOK | http://autobuild.buildroot.net/results/a076eee8988dca3b471daa0a63e20a0e6b1d5b12 |
x86_64 | monkey-f54856ce250c4e257354... | NOK | http://autobuild.buildroot.net/results/086424878b46fcbcdb56fb04a7484e69db0104a5 |
riscv32 | netopeer2-1.1.53 | NOK | http://autobuild.buildroot.net/results/80bc83a1aa91be2ab61cf5b519f85131d839c519 |
riscv32 | openldap-2.4.59 | NOK | http://autobuild.buildroot.net/results/c30c6ce39f7f3df0e1c112d202ecd57fbeea5821 |
or1k | python-pyqt5-5.7 | NOK | http://autobuild.buildroot.net/results/de5db9a34968239662d1432c95b850367547652f |
arm | unknown | NOK | http://autobuild.buildroot.net/results/9c0750573af93bacf9c4ae68063fd2f55624e1f5 |
or1k | zeromq-4.3.4 | NOK | http://autobuild.buildroot.net/results/e6392e051caf3da4eb77d4456a9c3e031c76a307 |
Classification of failures by reason for 2021.11.x
--------------------------------------------------
openal-1.21.1 | 1
Detail of failures for 2021.11.x
--------------------------------
arch | reason | OK? | url | orph?
-------------+--------------------------------+-----+---------------------------------------------------------------------------------+-------
or1k | openal-1.21.1 | NOK | http://autobuild.buildroot.net/results/7dd952755a90cc66a59e6a78c4af3c04391de74a |
Gitlab CI results for 2022-03-02
================================
Detail of runtime-test failures for 2021.02.10
----------------------------------------------
runtime-test | link to the job | orph?
--------------------------+---------------------------------------------------------------+------
...inMips64n32GlibcStable | https://gitlab.com/buildroot.org/buildroot/-/jobs/2149462298 | ORPH
TestLuajitLuaLdap | https://gitlab.com/buildroot.org/buildroot/-/jobs/2149462014 | ORPH
TestLxc | https://gitlab.com/buildroot.org/buildroot/-/jobs/2149462027 | ORPH
TestRedis | https://gitlab.com/buildroot.org/buildroot/-/jobs/2149462156 | ORPH
TestRust | https://gitlab.com/buildroot.org/buildroot/-/jobs/2149462162 | ORPH
--
http://autobuild.buildroot.net
From bugzilla at busybox.net Thu Mar 3 08:02:53 2022
From: bugzilla at busybox.net (bugzilla at busybox.net)
Date: Thu, 03 Mar 2022 08:02:53 +0000
Subject: [Buildroot] [Bug 14611] 2022.02-rc2: Build of BR2_x86_64 with
BR2_LINUX_KERNEL_LATEST_VERSION=y broken
In-Reply-To:
References:
Message-ID:
https://bugs.busybox.net/show_bug.cgi?id=14611
--- Comment #1 from Frank Rogall ---
These Bug still exists in 2022.02-rc3
INSTALL
/home/fr/work/egate/x/egate/host/x86_64-buildroot-linux-gnu/sysroot/usr/include
if ! support/scripts/check-kernel-headers.sh /home/fr/work/egate/x/egate/build
/home/fr/work/egate/x/egate/host/x86_64-buildroot-linux-gnu/sysroot 5.16
loose; then exit 1; fi
Incorrect selection of kernel headers: expected 5.16.x, got 5.15.x
make[1]: *** [package/pkg-generic.mk:332:
/home/fr/work/egate/x/egate/build/linux-headers-5.15.13/.stamp_staging_installed]
Error 1
--
You are receiving this mail because:
You are on the CC list for the bug.
From bernd.kuhls at t-online.de Thu Mar 3 17:35:16 2022
From: bernd.kuhls at t-online.de (Bernd Kuhls)
Date: Thu, 3 Mar 2022 18:35:16 +0100
Subject: [Buildroot] [PATCH/next 1/1] package/kodi: bump version to 19.4
Message-ID: <20220303173516.53272-1-bernd.kuhls@t-online.de>
Signed-off-by: Bernd Kuhls
---
package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk | 2 +-
package/kodi-texturepacker/kodi-texturepacker.mk | 2 +-
package/kodi/kodi.hash | 2 +-
package/kodi/kodi.mk | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk b/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk
index 81fc2bb9f1..8cc2297bdb 100644
--- a/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk
+++ b/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk
@@ -6,7 +6,7 @@
# Not possible to directly refer to kodi variables, because of
# first/second expansion trickery...
-KODI_JSONSCHEMABUILDER_VERSION = 19.3-Matrix
+KODI_JSONSCHEMABUILDER_VERSION = 19.4-Matrix
KODI_JSONSCHEMABUILDER_SITE = $(call github,xbmc,xbmc,$(KODI_JSONSCHEMABUILDER_VERSION))
KODI_JSONSCHEMABUILDER_SOURCE = kodi-$(KODI_JSONSCHEMABUILDER_VERSION).tar.gz
KODI_JSONSCHEMABUILDER_DL_SUBDIR = kodi
diff --git a/package/kodi-texturepacker/kodi-texturepacker.mk b/package/kodi-texturepacker/kodi-texturepacker.mk
index 2ebcd7d8de..4733399edc 100644
--- a/package/kodi-texturepacker/kodi-texturepacker.mk
+++ b/package/kodi-texturepacker/kodi-texturepacker.mk
@@ -6,7 +6,7 @@
# Not possible to directly refer to kodi variables, because of
# first/second expansion trickery...
-KODI_TEXTUREPACKER_VERSION = 19.3-Matrix
+KODI_TEXTUREPACKER_VERSION = 19.4-Matrix
KODI_TEXTUREPACKER_SITE = $(call github,xbmc,xbmc,$(KODI_TEXTUREPACKER_VERSION))
KODI_TEXTUREPACKER_SOURCE = kodi-$(KODI_TEXTUREPACKER_VERSION).tar.gz
KODI_TEXTUREPACKER_DL_SUBDIR = kodi
diff --git a/package/kodi/kodi.hash b/package/kodi/kodi.hash
index 7f96af385a..a17e0fb29f 100644
--- a/package/kodi/kodi.hash
+++ b/package/kodi/kodi.hash
@@ -1,5 +1,5 @@
# Locally computed
-sha256 440f47e475dd8a48e0a6d41349e83b74890f3fbe8275d3e401d3c50f5b9ea09b kodi-19.3-Matrix.tar.gz
+sha256 cc026f59fd6e37ae90f3449df50810f1cefa37da9444e1188302d910518710da kodi-19.4-Matrix.tar.gz
sha256 38816f8373e243bc5950449b4f3b18938c4e1c59348e3411e23f31db4072e40d kodi-libdvdcss-1.4.2-Leia-Beta-5.tar.gz
sha256 071e414e61b795f2ff9015b21a85fc009dde967f27780d23092643916538a57a kodi-libdvdnav-6.0.0-Leia-Alpha-3.tar.gz
sha256 a30b6aa0aad0f2c505bc77948af2d5531a80b6e68112addb4c123fca24d5d3bf kodi-libdvdread-6.0.0-Leia-Alpha-3.tar.gz
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index 56e901fa17..371c375e74 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -6,7 +6,7 @@
# When updating the version, please also update kodi-jsonschemabuilder
# and kodi-texturepacker
-KODI_VERSION_MAJOR = 19.3
+KODI_VERSION_MAJOR = 19.4
KODI_VERSION_NAME = Matrix
KODI_VERSION = $(KODI_VERSION_MAJOR)-$(KODI_VERSION_NAME)
KODI_SITE = $(call github,xbmc,xbmc,$(KODI_VERSION))
--
2.30.2
From bernd.kuhls at t-online.de Thu Mar 3 17:38:33 2022
From: bernd.kuhls at t-online.de (Bernd Kuhls)
Date: Thu, 3 Mar 2022 18:38:33 +0100
Subject: [Buildroot] [PATCH/next v2 1/1] package/kodi: bump version to 19.4
Message-ID: <20220303173833.54609-1-bernd.kuhls@t-online.de>
Add dependencies to giflib, libjpeg and libpng due to
https://github.com/xbmc/xbmc/pull/20462
Signed-off-by: Bernd Kuhls
---
v2: added dependencies to giflib, libjpeg and libpng
package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk | 2 +-
package/kodi-texturepacker/kodi-texturepacker.mk | 2 +-
package/kodi/Config.in | 3 +++
package/kodi/kodi.hash | 2 +-
package/kodi/kodi.mk | 7 +++++--
5 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk b/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk
index 81fc2bb9f1..8cc2297bdb 100644
--- a/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk
+++ b/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk
@@ -6,7 +6,7 @@
# Not possible to directly refer to kodi variables, because of
# first/second expansion trickery...
-KODI_JSONSCHEMABUILDER_VERSION = 19.3-Matrix
+KODI_JSONSCHEMABUILDER_VERSION = 19.4-Matrix
KODI_JSONSCHEMABUILDER_SITE = $(call github,xbmc,xbmc,$(KODI_JSONSCHEMABUILDER_VERSION))
KODI_JSONSCHEMABUILDER_SOURCE = kodi-$(KODI_JSONSCHEMABUILDER_VERSION).tar.gz
KODI_JSONSCHEMABUILDER_DL_SUBDIR = kodi
diff --git a/package/kodi-texturepacker/kodi-texturepacker.mk b/package/kodi-texturepacker/kodi-texturepacker.mk
index 2ebcd7d8de..4733399edc 100644
--- a/package/kodi-texturepacker/kodi-texturepacker.mk
+++ b/package/kodi-texturepacker/kodi-texturepacker.mk
@@ -6,7 +6,7 @@
# Not possible to directly refer to kodi variables, because of
# first/second expansion trickery...
-KODI_TEXTUREPACKER_VERSION = 19.3-Matrix
+KODI_TEXTUREPACKER_VERSION = 19.4-Matrix
KODI_TEXTUREPACKER_SITE = $(call github,xbmc,xbmc,$(KODI_TEXTUREPACKER_VERSION))
KODI_TEXTUREPACKER_SOURCE = kodi-$(KODI_TEXTUREPACKER_VERSION).tar.gz
KODI_TEXTUREPACKER_DL_SUBDIR = kodi
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index f31bf19b99..ebc95343a9 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -72,6 +72,8 @@ menuconfig BR2_PACKAGE_KODI
select BR2_PACKAGE_FONTCONFIG # needed for libass
select BR2_PACKAGE_FREETYPE
select BR2_PACKAGE_FSTRCMP
+ select BR2_PACKAGE_GIFLIB
+ select BR2_PACKAGE_JPEG
select BR2_PACKAGE_LIBASS
select BR2_PACKAGE_LIBCDIO
select BR2_PACKAGE_LIBCROSSGUID
@@ -81,6 +83,7 @@ menuconfig BR2_PACKAGE_KODI
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
select BR2_PACKAGE_LIBICONV_EXTRA_ENCODINGS if !BR2_ENABLE_LOCALE
select BR2_PACKAGE_LIBPLIST
+ select BR2_PACKAGE_LIBPNG
select BR2_PACKAGE_LZO
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_PCRE
diff --git a/package/kodi/kodi.hash b/package/kodi/kodi.hash
index 7f96af385a..a17e0fb29f 100644
--- a/package/kodi/kodi.hash
+++ b/package/kodi/kodi.hash
@@ -1,5 +1,5 @@
# Locally computed
-sha256 440f47e475dd8a48e0a6d41349e83b74890f3fbe8275d3e401d3c50f5b9ea09b kodi-19.3-Matrix.tar.gz
+sha256 cc026f59fd6e37ae90f3449df50810f1cefa37da9444e1188302d910518710da kodi-19.4-Matrix.tar.gz
sha256 38816f8373e243bc5950449b4f3b18938c4e1c59348e3411e23f31db4072e40d kodi-libdvdcss-1.4.2-Leia-Beta-5.tar.gz
sha256 071e414e61b795f2ff9015b21a85fc009dde967f27780d23092643916538a57a kodi-libdvdnav-6.0.0-Leia-Alpha-3.tar.gz
sha256 a30b6aa0aad0f2c505bc77948af2d5531a80b6e68112addb4c123fca24d5d3bf kodi-libdvdread-6.0.0-Leia-Alpha-3.tar.gz
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index 56e901fa17..f4c5bfc685 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -6,9 +6,9 @@
# When updating the version, please also update kodi-jsonschemabuilder
# and kodi-texturepacker
-KODI_VERSION_MAJOR = 19.3
+KODI_VERSION_MAJOR = 19.4
KODI_VERSION_NAME = Matrix
-KODI_VERSION = $(KODI_VERSION_MAJOR)-$(KODI_VERSION_NAME)
+KODI_VERSION = 6586a6c535b72896e00733f25fde93980d5f0cca
KODI_SITE = $(call github,xbmc,xbmc,$(KODI_VERSION))
KODI_LICENSE = GPL-2.0
KODI_LICENSE_FILES = LICENSE.md
@@ -25,6 +25,7 @@ KODI_DEPENDENCIES = \
fontconfig \
freetype \
fstrcmp \
+ giflib \
host-flatbuffers \
host-gawk \
host-gettext \
@@ -34,6 +35,7 @@ KODI_DEPENDENCIES = \
host-nasm \
host-swig \
host-xmlstarlet \
+ jpeg \
libass \
libcdio \
libcrossguid \
@@ -42,6 +44,7 @@ KODI_DEPENDENCIES = \
libegl \
libfribidi \
libplist \
+ libpng \
lzo \
openssl \
pcre \
--
2.30.2
From bernd.kuhls at t-online.de Thu Mar 3 17:41:21 2022
From: bernd.kuhls at t-online.de (Bernd Kuhls)
Date: Thu, 3 Mar 2022 18:41:21 +0100
Subject: [Buildroot] [PATCH/next v3 1/1] package/kodi: bump version to 19.4
Message-ID: <20220303174121.55867-1-bernd.kuhls@t-online.de>
Add dependencies to giflib, libjpeg and libpng due to
https://github.com/xbmc/xbmc/pull/20462
Signed-off-by: Bernd Kuhls
---
v3: removed remnants from internal patch, sorry for the noise
v2: added dependencies to giflib, libjpeg and libpng
package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk | 2 +-
package/kodi-texturepacker/kodi-texturepacker.mk | 2 +-
package/kodi/Config.in | 3 +++
package/kodi/kodi.hash | 2 +-
package/kodi/kodi.mk | 5 ++++-
5 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk b/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk
index 81fc2bb9f1..8cc2297bdb 100644
--- a/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk
+++ b/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk
@@ -6,7 +6,7 @@
# Not possible to directly refer to kodi variables, because of
# first/second expansion trickery...
-KODI_JSONSCHEMABUILDER_VERSION = 19.3-Matrix
+KODI_JSONSCHEMABUILDER_VERSION = 19.4-Matrix
KODI_JSONSCHEMABUILDER_SITE = $(call github,xbmc,xbmc,$(KODI_JSONSCHEMABUILDER_VERSION))
KODI_JSONSCHEMABUILDER_SOURCE = kodi-$(KODI_JSONSCHEMABUILDER_VERSION).tar.gz
KODI_JSONSCHEMABUILDER_DL_SUBDIR = kodi
diff --git a/package/kodi-texturepacker/kodi-texturepacker.mk b/package/kodi-texturepacker/kodi-texturepacker.mk
index 2ebcd7d8de..4733399edc 100644
--- a/package/kodi-texturepacker/kodi-texturepacker.mk
+++ b/package/kodi-texturepacker/kodi-texturepacker.mk
@@ -6,7 +6,7 @@
# Not possible to directly refer to kodi variables, because of
# first/second expansion trickery...
-KODI_TEXTUREPACKER_VERSION = 19.3-Matrix
+KODI_TEXTUREPACKER_VERSION = 19.4-Matrix
KODI_TEXTUREPACKER_SITE = $(call github,xbmc,xbmc,$(KODI_TEXTUREPACKER_VERSION))
KODI_TEXTUREPACKER_SOURCE = kodi-$(KODI_TEXTUREPACKER_VERSION).tar.gz
KODI_TEXTUREPACKER_DL_SUBDIR = kodi
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index f31bf19b99..ebc95343a9 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -72,6 +72,8 @@ menuconfig BR2_PACKAGE_KODI
select BR2_PACKAGE_FONTCONFIG # needed for libass
select BR2_PACKAGE_FREETYPE
select BR2_PACKAGE_FSTRCMP
+ select BR2_PACKAGE_GIFLIB
+ select BR2_PACKAGE_JPEG
select BR2_PACKAGE_LIBASS
select BR2_PACKAGE_LIBCDIO
select BR2_PACKAGE_LIBCROSSGUID
@@ -81,6 +83,7 @@ menuconfig BR2_PACKAGE_KODI
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
select BR2_PACKAGE_LIBICONV_EXTRA_ENCODINGS if !BR2_ENABLE_LOCALE
select BR2_PACKAGE_LIBPLIST
+ select BR2_PACKAGE_LIBPNG
select BR2_PACKAGE_LZO
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_PCRE
diff --git a/package/kodi/kodi.hash b/package/kodi/kodi.hash
index 7f96af385a..a17e0fb29f 100644
--- a/package/kodi/kodi.hash
+++ b/package/kodi/kodi.hash
@@ -1,5 +1,5 @@
# Locally computed
-sha256 440f47e475dd8a48e0a6d41349e83b74890f3fbe8275d3e401d3c50f5b9ea09b kodi-19.3-Matrix.tar.gz
+sha256 cc026f59fd6e37ae90f3449df50810f1cefa37da9444e1188302d910518710da kodi-19.4-Matrix.tar.gz
sha256 38816f8373e243bc5950449b4f3b18938c4e1c59348e3411e23f31db4072e40d kodi-libdvdcss-1.4.2-Leia-Beta-5.tar.gz
sha256 071e414e61b795f2ff9015b21a85fc009dde967f27780d23092643916538a57a kodi-libdvdnav-6.0.0-Leia-Alpha-3.tar.gz
sha256 a30b6aa0aad0f2c505bc77948af2d5531a80b6e68112addb4c123fca24d5d3bf kodi-libdvdread-6.0.0-Leia-Alpha-3.tar.gz
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index 56e901fa17..7326cd536d 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -6,7 +6,7 @@
# When updating the version, please also update kodi-jsonschemabuilder
# and kodi-texturepacker
-KODI_VERSION_MAJOR = 19.3
+KODI_VERSION_MAJOR = 19.4
KODI_VERSION_NAME = Matrix
KODI_VERSION = $(KODI_VERSION_MAJOR)-$(KODI_VERSION_NAME)
KODI_SITE = $(call github,xbmc,xbmc,$(KODI_VERSION))
@@ -25,6 +25,7 @@ KODI_DEPENDENCIES = \
fontconfig \
freetype \
fstrcmp \
+ giflib \
host-flatbuffers \
host-gawk \
host-gettext \
@@ -34,6 +35,7 @@ KODI_DEPENDENCIES = \
host-nasm \
host-swig \
host-xmlstarlet \
+ jpeg \
libass \
libcdio \
libcrossguid \
@@ -42,6 +44,7 @@ KODI_DEPENDENCIES = \
libegl \
libfribidi \
libplist \
+ libpng \
lzo \
openssl \
pcre \
--
2.30.2
From geomatsi at gmail.com Thu Mar 3 19:19:45 2022
From: geomatsi at gmail.com (Sergey Matyukevich)
Date: Thu, 3 Mar 2022 22:19:45 +0300
Subject: [Buildroot] [PATCH 1/1] package/wpa_supplicant: fix
libwpa_client.so build
Message-ID: <20220303191945.3952450-1-geomatsi@gmail.com>
Build target libwpa_client.so is not built regardless of whether the
option CONFIG_BUILD_WPA_CLIENT_SO is set or not. Add patch that
fixes wpa_supplicant build regression.
Fixes:
http://autobuild.buildroot.net/results/001981339f3b895ecd9208a747a0e47d07c9583a/
http://autobuild.buildroot.net/results/318f9ecd4060d34cc8385891b56d0a0e6275f2c9/
Signed-off-by: Sergey Matyukevich
---
Hi all,
Note that the patch has been posted to hostapd mailing list
and discussed, but not yet accepted:
https://patchwork.ozlabs.org/project/hostap/patch/20220222085219.3996729-1-geomatsi at gmail.com/
Regards,
Sergey
...le-options-for-libwpa_client.so-and-.patch | 68 +++++++++++++++++++
1 file changed, 68 insertions(+)
create mode 100644 package/wpa_supplicant/0001-build-re-enable-options-for-libwpa_client.so-and-.patch
diff --git a/package/wpa_supplicant/0001-build-re-enable-options-for-libwpa_client.so-and-.patch b/package/wpa_supplicant/0001-build-re-enable-options-for-libwpa_client.so-and-.patch
new file mode 100644
index 0000000000..156d0e7e2c
--- /dev/null
+++ b/package/wpa_supplicant/0001-build-re-enable-options-for-libwpa_client.so-and-.patch
@@ -0,0 +1,68 @@
+From e6a6a4e3df52cc60425fcd037d3ec68a38f948ce Mon Sep 17 00:00:00 2001
+From: Sergey Matyukevich
+Date: Sun, 20 Feb 2022 10:12:28 +0300
+Subject: [PATCH] build: re-enable options for libwpa_client.so and wpa_passphrase
+
+Commit a41a29192e5d ("build: Pull common fragments into a build.rules
+file") introduced regression into wpa_supplicant build process. Build
+target libwpa_client.so is not built regardless of whether the option
+CONFIG_BUILD_WPA_CLIENT_SO is set or not. This happens because config
+option is used before it is imported from the configuration file.
+Moving its usage after including build.rules does not help: variable
+ALL is processed by build.rules and further changes are not applied.
+Similarly, option CONFIG_NO_WPA_PASSPHRASE also does not work as
+expected: wpa_passphrase is always built regardless of whether the
+option is set or not.
+
+This commit re-enables options adding both build targets to _all
+dependencies.
+
+Signed-off-by: Sergey Matyukevich
+---
+ wpa_supplicant/Makefile | 19 ++++++++++++-------
+ 1 file changed, 12 insertions(+), 7 deletions(-)
+
+diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
+index cb66defac..e384cc6b8 100644
+--- a/wpa_supplicant/Makefile
++++ b/wpa_supplicant/Makefile
+@@ -1,24 +1,29 @@
+ BINALL=wpa_supplicant wpa_cli
+
+-ifndef CONFIG_NO_WPA_PASSPHRASE
+-BINALL += wpa_passphrase
+-endif
+-
+ ALL = $(BINALL)
+ ALL += systemd/wpa_supplicant.service
+ ALL += systemd/wpa_supplicant at .service
+ ALL += systemd/wpa_supplicant-nl80211 at .service
+ ALL += systemd/wpa_supplicant-wired at .service
+ ALL += dbus/fi.w1.wpa_supplicant1.service
+-ifdef CONFIG_BUILD_WPA_CLIENT_SO
+-ALL += libwpa_client.so
+-endif
+
+ EXTRA_TARGETS=dynamic_eap_methods
+
+ CONFIG_FILE=.config
+ include ../src/build.rules
+
++ifdef CONFIG_BUILD_WPA_CLIENT_SO
++# add the dependency this way to allow CONFIG_BUILD_WPA_CLIENT_SO
++# being set in the config which is read by build.rules
++_all: libwpa_client.so
++endif
++
++ifndef CONFIG_NO_WPA_PASSPHRASE
++# add the dependency this way to allow CONFIGNO_WPA_PASSPHRASE
++# being set in the config which is read by build.rules
++_all: wpa_passphrase
++endif
++
+ ifdef LIBS
+ # If LIBS is set with some global build system defaults, clone those for
+ # LIBS_c and LIBS_p to cover wpa_passphrase and wpa_cli as well.
+--
+2.35.1
+
--
2.35.1
From peter at korsgaard.com Thu Mar 3 21:27:58 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Thu, 03 Mar 2022 22:27:58 +0100
Subject: [Buildroot] [PATCH 1/1] package/dnsmasq: fix build with gcc 4.8
In-Reply-To: <20220302211724.2351984-1-fontaine.fabrice@gmail.com> (Fabrice
Fontaine's message of "Wed, 2 Mar 2022 22:17:24 +0100")
References: <20220302211724.2351984-1-fontaine.fabrice@gmail.com>
Message-ID: <87o82mafq9.fsf@dell.be.48ers.dk>
>>>>> "Fabrice" == Fabrice Fontaine writes:
> Fix the following build failure with gcc 4.8 raised since bump to
> version 2.86 in commit 5b29096f8fcb0acd8890073a56ba9d620b1f911c:
> pattern.c: In function 'is_valid_dns_name':
> pattern.c:134:3: error: 'for' loop initial declarations are only allowed in C99 mode
> for (const char *c = value;; c++)
> ^
> pattern.c:134:3: note: use option -std=c99 or -std=gnu99 to compile your code
> pattern.c: In function 'is_valid_dns_name_pattern':
> pattern.c:249:3: error: 'for' loop initial declarations are only allowed in C99 mode
> for (const char *c = value;; c++)
> ^
> Fixes:
> - http://autobuild.buildroot.org/results/eb0c34ff58eaf103f51c7171ecd97a3bdb887601
> Signed-off-by: Fabrice Fontaine
Committed, thanks.
--
Bye, Peter Korsgaard
From peter at korsgaard.com Thu Mar 3 21:26:01 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Thu, 3 Mar 2022 22:26:01 +0100
Subject: [Buildroot] [git commit] package/dnsmasq: fix build with gcc 4.8
Message-ID: <20220303212029.865F083901@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=610f52f3bea153a3293e67b95f7c4f31e74d2ffd
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fix the following build failure with gcc 4.8 raised since bump to
version 2.86 in commit 5b29096f8fcb0acd8890073a56ba9d620b1f911c:
pattern.c: In function 'is_valid_dns_name':
pattern.c:134:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (const char *c = value;; c++)
^
pattern.c:134:3: note: use option -std=c99 or -std=gnu99 to compile your code
pattern.c: In function 'is_valid_dns_name_pattern':
pattern.c:249:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (const char *c = value;; c++)
^
Fixes:
- http://autobuild.buildroot.org/results/eb0c34ff58eaf103f51c7171ecd97a3bdb887601
Signed-off-by: Fabrice Fontaine
Signed-off-by: Peter Korsgaard
---
...0004-src-pattern.c-fix-build-with-gcc-4.8.patch | 57 ++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/package/dnsmasq/0004-src-pattern.c-fix-build-with-gcc-4.8.patch b/package/dnsmasq/0004-src-pattern.c-fix-build-with-gcc-4.8.patch
new file mode 100644
index 0000000000..90bb02b23a
--- /dev/null
+++ b/package/dnsmasq/0004-src-pattern.c-fix-build-with-gcc-4.8.patch
@@ -0,0 +1,57 @@
+From 0c89dd2fa0fe50b00bca638dbbacfbd361526e0a Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine
+Date: Sun, 2 Jan 2022 21:57:52 +0100
+Subject: [PATCH] src/pattern.c: fix build with gcc 4.8
+
+Fix the following build failure:
+
+pattern.c: In function 'is_valid_dns_name':
+pattern.c:134:3: error: 'for' loop initial declarations are only allowed in C99 mode
+ for (const char *c = value;; c++)
+ ^
+pattern.c:134:3: note: use option -std=c99 or -std=gnu99 to compile your code
+pattern.c: In function 'is_valid_dns_name_pattern':
+pattern.c:249:3: error: 'for' loop initial declarations are only allowed in C99 mode
+ for (const char *c = value;; c++)
+ ^
+
+Signed-off-by: Fabrice Fontaine
+[Retrieved from:
+https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=b2690415bfa1bc105e61b75f642fb5c1aaf0fae8]
+---
+ src/pattern.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/pattern.c b/src/pattern.c
+index 03e23b9..928d259 100644
+--- a/src/pattern.c
++++ b/src/pattern.c
+@@ -129,9 +129,9 @@ int is_valid_dns_name(const char *value)
+
+ size_t num_bytes = 0;
+ size_t num_labels = 0;
+- const char *label = NULL;
++ const char *c, *label = NULL;
+ int is_label_numeric = 1;
+- for (const char *c = value;; c++)
++ for (c = value;; c++)
+ {
+ if (*c &&
+ *c != '-' && *c != '.' &&
+@@ -242,11 +242,11 @@ int is_valid_dns_name_pattern(const char *value)
+
+ size_t num_bytes = 0;
+ size_t num_labels = 0;
+- const char *label = NULL;
++ const char *c, *label = NULL;
+ int is_label_numeric = 1;
+ size_t num_wildcards = 0;
+ int previous_label_has_wildcard = 1;
+- for (const char *c = value;; c++)
++ for (c = value;; c++)
+ {
+ if (*c &&
+ *c != '*' && /* Wildcard. */
+--
+2.20.1
+
From peter at korsgaard.com Thu Mar 3 21:57:46 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Thu, 3 Mar 2022 22:57:46 +0100
Subject: [Buildroot] [git commit] package/linux-headers: default to 5.15
series for _HEADERS_AS_KERNEL / KERNEL_LATEST_VERSION
Message-ID: <20220303215200.D1F5E8144C@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=5dc3cfbff11934a3b29f8b2b98aed22ec01e7c42
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes #14611
BR2_KERNEL_HEADERS_LATEST_VERSION selects a 5.15.x series kernel (as that is
current LTS), but support for 5.16.x kernel headers has been added, so by
default the "custom kernel headers series" option ends up with 5.16.x (the
first option), leading to confusing errors:
Incorrect selection of kernel headers: expected 5.16.x, got 5.15.x
As a help, default to the correct 5.15.x series when this combination is
used.
Signed-off-by: Peter Korsgaard
---
package/linux-headers/Config.in.host | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index 248a9a2d97..8543f1cd21 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -127,6 +127,8 @@ endif
choice
bool "Custom kernel headers series"
+ default BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 if \
+ (BR2_KERNEL_HEADERS_AS_KERNEL && BR2_LINUX_KERNEL_LATEST_VERSION)
depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL || \
BR2_KERNEL_HEADERS_CUSTOM_TARBALL || BR2_KERNEL_HEADERS_CUSTOM_GIT
help
From bugzilla at busybox.net Thu Mar 3 22:00:42 2022
From: bugzilla at busybox.net (bugzilla at busybox.net)
Date: Thu, 03 Mar 2022 22:00:42 +0000
Subject: [Buildroot] [Bug 14611] 2022.02-rc2: Build of BR2_x86_64 with
BR2_LINUX_KERNEL_LATEST_VERSION=y broken
In-Reply-To:
References:
Message-ID:
https://bugs.busybox.net/show_bug.cgi?id=14611
Peter Korsgaard changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Peter Korsgaard ---
Fixed in git, thanks:
https://git.buildroot.org/buildroot/commit/?id=5dc3cfbff11934a3b29f8b2b98aed22ec01e7c42
--
You are receiving this mail because:
You are on the CC list for the bug.
From peter at korsgaard.com Thu Mar 3 22:09:47 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Thu, 03 Mar 2022 23:09:47 +0100
Subject: [Buildroot] [PATCH 1/2] package/gdk-pixbuf-xlib: new package
In-Reply-To: <20220302174456.1641125-1-fontaine.fabrice@gmail.com> (Fabrice
Fontaine's message of "Wed, 2 Mar 2022 18:44:55 +0100")
References: <20220302174456.1641125-1-fontaine.fabrice@gmail.com>
Message-ID: <87k0daadsk.fsf@dell.be.48ers.dk>
>>>>> "Fabrice" == Fabrice Fontaine writes:
> Deprecated Xlib integration for GdkPixbuf.
> gdk-pixbuf-xlib has been deprecated and split off of gdk-pixbuf since
> version 2.42.0 and
> https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/3362e94c2595440f322798dc4d15f1ed24a4c52c
> resulting in the following "hidden" warnings with xscreensaver since
> commit a7b51ed3013c919b293deb95299e33363fb9df70:
> Warning: GTK version 2.24.33 was found, but at least one supporting
> library (gdk-pixbuf-xlib-2.0) was not, so GTK can't be used.
> Perhaps some of the development packages are not installed?
> Warning: The GTK libraries do not seem to be available; the
> `xscreensaver-demo' program requires them.
> Warning: The GDK-Pixbuf library was not found.
> The PNG library is being used instead.
> Some of the demos will not use images as much as they could.
> You should consider installing GDK-Pixbuf and re-running
> configure.
> https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib
> Signed-off-by: Fabrice Fontaine
Committed, thanks.
--
Bye, Peter Korsgaard
From peter at korsgaard.com Thu Mar 3 22:10:12 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Thu, 03 Mar 2022 23:10:12 +0100
Subject: [Buildroot] [PATCH 2/2] package/xscreensaver: add
gdk-pixbuf-xlib dependency
In-Reply-To: <20220302174456.1641125-2-fontaine.fabrice@gmail.com> (Fabrice
Fontaine's message of "Wed, 2 Mar 2022 18:44:56 +0100")
References: <20220302174456.1641125-1-fontaine.fabrice@gmail.com>
<20220302174456.1641125-2-fontaine.fabrice@gmail.com>
Message-ID: <87fsnyadrv.fsf@dell.be.48ers.dk>
>>>>> "Fabrice" == Fabrice Fontaine writes:
> gdk-pixbuf-xlib dependency is needed since bump of gdk-pixbuf to version
> 2.42.0 in commit a7b51ed3013c919b293deb95299e33363fb9df70 to avoid the
2.42.2, not 2.42.0.
> following "hidden" warnings:
> Warning: GTK version 2.24.33 was found, but at least one supporting
> library (gdk-pixbuf-xlib-2.0) was not, so GTK can't be used.
> Perhaps some of the development packages are not installed?
> Warning: The GTK libraries do not seem to be available; the
> `xscreensaver-demo' program requires them.
> Warning: The GDK-Pixbuf library was not found.
> The PNG library is being used instead.
> Some of the demos will not use images as much as they could.
> You should consider installing GDK-Pixbuf and re-running
> configure.
> Signed-off-by: Fabrice Fontaine
Committed, thanks.
--
Bye, Peter Korsgaard
From peter at korsgaard.com Thu Mar 3 22:08:05 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Thu, 3 Mar 2022 23:08:05 +0100
Subject: [Buildroot] [git commit] package/xscreensaver: add gdk-pixbuf-xlib
dependency
Message-ID: <20220303220221.C157F81D5C@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=35f02050be12b86cdd2220e09c72fd2586346068
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
gdk-pixbuf-xlib dependency is needed since bump of gdk-pixbuf to version
2.42.2 in commit a7b51ed3013c919b293deb95299e33363fb9df70 to avoid the
following "hidden" warnings:
Warning: GTK version 2.24.33 was found, but at least one supporting
library (gdk-pixbuf-xlib-2.0) was not, so GTK can't be used.
Perhaps some of the development packages are not installed?
Warning: The GTK libraries do not seem to be available; the
`xscreensaver-demo' program requires them.
Warning: The GDK-Pixbuf library was not found.
The PNG library is being used instead.
Some of the demos will not use images as much as they could.
You should consider installing GDK-Pixbuf and re-running
configure.
Signed-off-by: Fabrice Fontaine
Signed-off-by: Peter Korsgaard
---
package/xscreensaver/Config.in | 1 +
package/xscreensaver/xscreensaver.mk | 1 +
2 files changed, 2 insertions(+)
diff --git a/package/xscreensaver/Config.in b/package/xscreensaver/Config.in
index 787c3130ae..10b2b7012c 100644
--- a/package/xscreensaver/Config.in
+++ b/package/xscreensaver/Config.in
@@ -8,6 +8,7 @@ config BR2_PACKAGE_XSCREENSAVER
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgtk2 -> pango -> harfbuzz
select BR2_PACKAGE_GDK_PIXBUF
+ select BR2_PACKAGE_GDK_PIXBUF_XLIB
select BR2_PACKAGE_LIBGLU if BR2_PACKAGE_HAS_LIBGL
select BR2_PACKAGE_LIBGTK2
select BR2_PACKAGE_LIBXML2
diff --git a/package/xscreensaver/xscreensaver.mk b/package/xscreensaver/xscreensaver.mk
index f73a75bf14..46dedc3211 100644
--- a/package/xscreensaver/xscreensaver.mk
+++ b/package/xscreensaver/xscreensaver.mk
@@ -15,6 +15,7 @@ XSCREENSAVER_SELINUX_MODULES = xdg xscreensaver xserver
XSCREENSAVER_DEPENDENCIES = \
gdk-pixbuf \
+ gdk-pixbuf-xlib \
jpeg \
libgtk2 \
libxml2 \
From peter at korsgaard.com Thu Mar 3 22:03:03 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Thu, 3 Mar 2022 23:03:03 +0100
Subject: [Buildroot] [git commit] package/gdk-pixbuf-xlib: new package
Message-ID: <20220303220221.B764C819DE@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=559df4ef2888efda8a0142a9b61a1206e6ab0fff
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Deprecated Xlib integration for GdkPixbuf.
gdk-pixbuf-xlib has been deprecated and split off of gdk-pixbuf since
version 2.42.0 and
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/3362e94c2595440f322798dc4d15f1ed24a4c52c
resulting in the following "hidden" warnings with xscreensaver since
commit a7b51ed3013c919b293deb95299e33363fb9df70:
Warning: GTK version 2.24.33 was found, but at least one supporting
library (gdk-pixbuf-xlib-2.0) was not, so GTK can't be used.
Perhaps some of the development packages are not installed?
Warning: The GTK libraries do not seem to be available; the
`xscreensaver-demo' program requires them.
Warning: The GDK-Pixbuf library was not found.
The PNG library is being used instead.
Some of the demos will not use images as much as they could.
You should consider installing GDK-Pixbuf and re-running
configure.
https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib
Signed-off-by: Fabrice Fontaine
Signed-off-by: Peter Korsgaard
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/gdk-pixbuf-xlib/Config.in | 17 +++++++++++++++++
package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash | 5 +++++
package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk | 16 ++++++++++++++++
5 files changed, 40 insertions(+)
diff --git a/DEVELOPERS b/DEVELOPERS
index ac702d8d0f..b7a7c8771c 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -877,6 +877,7 @@ F: package/duktape/
F: package/expat/
F: package/flatbuffers/
F: package/freeipmi/
+F: package/gdk-pixbuf-xlib/
F: package/gerbera/
F: package/gtksourceview/
F: package/gssdp/
diff --git a/package/Config.in b/package/Config.in
index 10209d84d7..8d2d550a64 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1492,6 +1492,7 @@ menu "Graphics"
source "package/freetype/Config.in"
source "package/gd/Config.in"
source "package/gdk-pixbuf/Config.in"
+ source "package/gdk-pixbuf-xlib/Config.in"
source "package/giblib/Config.in"
source "package/giflib/Config.in"
source "package/granite/Config.in"
diff --git a/package/gdk-pixbuf-xlib/Config.in b/package/gdk-pixbuf-xlib/Config.in
new file mode 100644
index 0000000000..2efc5d4d66
--- /dev/null
+++ b/package/gdk-pixbuf-xlib/Config.in
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_GDK_PIXBUF_XLIB
+ bool "gdk-pixbuf-xlib"
+ depends on BR2_PACKAGE_XORG7
+ depends on BR2_USE_MMU # gdk-pixbuf -> glib2
+ depends on BR2_USE_WCHAR # gdk-pixbuf -> glib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # gdk-pixbuf -> glib2
+ select BR2_PACKAGE_GDK_PIXBUF
+ select BR2_PACKAGE_XLIB_LIBX11
+ help
+ Deprecated Xlib integration for GdkPixbuf.
+
+ https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib
+
+comment "gdk-pixbuf-xlib needs a toolchain w/ wchar, threads"
+ depends on BR2_PACKAGE_XORG7
+ depends on BR2_USE_MMU
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash b/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash
new file mode 100644
index 0000000000..e7f74e2b4b
--- /dev/null
+++ b/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash
@@ -0,0 +1,5 @@
+# From https://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf-xlib/2.40/gdk-pixbuf-xlib-2.40.2.sha256sum
+sha256 8b8e1c270ec16a06f665ea841f8e4e167eaa0118d0cbfeeade43745f09198ff7 gdk-pixbuf-xlib-2.40.2.tar.xz
+
+# Hash for license file
+sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
diff --git a/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk b/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk
new file mode 100644
index 0000000000..3e61373b3a
--- /dev/null
+++ b/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# gdk-pixbuf-xlib
+#
+################################################################################
+
+GDK_PIXBUF_XLIB_VERSION_MAJOR = 2.40
+GDK_PIXBUF_XLIB_VERSION = $(GDK_PIXBUF_XLIB_VERSION_MAJOR).2
+GDK_PIXBUF_XLIB_SOURCE = gdk-pixbuf-xlib-$(GDK_PIXBUF_XLIB_VERSION).tar.xz
+GDK_PIXBUF_XLIB_SITE = http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf-xlib/$(GDK_PIXBUF_XLIB_VERSION_MAJOR)
+GDK_PIXBUF_XLIB_LICENSE = LGPL-2.1+
+GDK_PIXBUF_XLIB_LICENSE_FILES = COPYING
+GDK_PIXBUF_XLIB_INSTALL_STAGING = YES
+GDK_PIXBUF_XLIB_DEPENDENCIES = gdk-pixbuf xlib_libX11
+
+$(eval $(meson-package))
From christian at paral.in Fri Mar 4 04:25:02 2022
From: christian at paral.in (Christian Stewart)
Date: Thu, 3 Mar 2022 20:25:02 -0800
Subject: [Buildroot] [PATCH 1/1] package/go: security bump to 1.17.8
Message-ID: <20220304042502.56629-1-christian@paral.in>
go1.17.8 includes a security fix to the regexp/syntax package, as well as bug
fixes to the compiler, runtime, the go command, and the crypto/x509, and net
packages.
https://go.dev/doc/devel/release#go1.17.minor
Signed-off-by: Christian Stewart
---
package/go/go.hash | 2 +-
package/go/go.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/go/go.hash b/package/go/go.hash
index fdf342e602..85e6adfb8c 100644
--- a/package/go/go.hash
+++ b/package/go/go.hash
@@ -1,3 +1,3 @@
# From https://golang.org/dl/
-sha256 c108cd33b73b1911a02b697741df3dea43e01a5c4e08e409e8b3a0e3745d2b4d go1.17.7.src.tar.gz
+sha256 2effcd898140da79a061f3784ca4f8d8b13d811fb2abe9dad2404442dabbdf7a go1.17.8.src.tar.gz
sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE
diff --git a/package/go/go.mk b/package/go/go.mk
index 56a21dfe55..3df16c9a68 100644
--- a/package/go/go.mk
+++ b/package/go/go.mk
@@ -4,7 +4,7 @@
#
################################################################################
-GO_VERSION = 1.17.7
+GO_VERSION = 1.17.8
GO_SITE = https://storage.googleapis.com/golang
GO_SOURCE = go$(GO_VERSION).src.tar.gz
--
2.35.1
From yegorslists at googlemail.com Fri Mar 4 08:48:48 2022
From: yegorslists at googlemail.com (Yegor Yefremov)
Date: Fri, 4 Mar 2022 09:48:48 +0100
Subject: [Buildroot] [PATCH 1/1] package/wpa_supplicant: fix
libwpa_client.so build
In-Reply-To: <20220303191945.3952450-1-geomatsi@gmail.com>
References: <20220303191945.3952450-1-geomatsi@gmail.com>
Message-ID:
Hi Sergey, all,
On Thu, Mar 3, 2022 at 8:19 PM Sergey Matyukevich wrote:
>
> Build target libwpa_client.so is not built regardless of whether the
> option CONFIG_BUILD_WPA_CLIENT_SO is set or not. Add patch that
> fixes wpa_supplicant build regression.
>
> Fixes:
> http://autobuild.buildroot.net/results/001981339f3b895ecd9208a747a0e47d07c9583a/
> http://autobuild.buildroot.net/results/318f9ecd4060d34cc8385891b56d0a0e6275f2c9/
>
> Signed-off-by: Sergey Matyukevich
Tested-by: Yegor Yefremov
The patch was already merged upstream.
Yegor
> ---
>
> Hi all,
>
> Note that the patch has been posted to hostapd mailing list
> and discussed, but not yet accepted:
>
> https://patchwork.ozlabs.org/project/hostap/patch/20220222085219.3996729-1-geomatsi at gmail.com/
>
> Regards,
> Sergey
>
> ...le-options-for-libwpa_client.so-and-.patch | 68 +++++++++++++++++++
> 1 file changed, 68 insertions(+)
> create mode 100644 package/wpa_supplicant/0001-build-re-enable-options-for-libwpa_client.so-and-.patch
>
> diff --git a/package/wpa_supplicant/0001-build-re-enable-options-for-libwpa_client.so-and-.patch b/package/wpa_supplicant/0001-build-re-enable-options-for-libwpa_client.so-and-.patch
> new file mode 100644
> index 0000000000..156d0e7e2c
> --- /dev/null
> +++ b/package/wpa_supplicant/0001-build-re-enable-options-for-libwpa_client.so-and-.patch
> @@ -0,0 +1,68 @@
> +From e6a6a4e3df52cc60425fcd037d3ec68a38f948ce Mon Sep 17 00:00:00 2001
> +From: Sergey Matyukevich
> +Date: Sun, 20 Feb 2022 10:12:28 +0300
> +Subject: [PATCH] build: re-enable options for libwpa_client.so and wpa_passphrase
> +
> +Commit a41a29192e5d ("build: Pull common fragments into a build.rules
> +file") introduced regression into wpa_supplicant build process. Build
> +target libwpa_client.so is not built regardless of whether the option
> +CONFIG_BUILD_WPA_CLIENT_SO is set or not. This happens because config
> +option is used before it is imported from the configuration file.
> +Moving its usage after including build.rules does not help: variable
> +ALL is processed by build.rules and further changes are not applied.
> +Similarly, option CONFIG_NO_WPA_PASSPHRASE also does not work as
> +expected: wpa_passphrase is always built regardless of whether the
> +option is set or not.
> +
> +This commit re-enables options adding both build targets to _all
> +dependencies.
> +
> +Signed-off-by: Sergey Matyukevich
> +---
> + wpa_supplicant/Makefile | 19 ++++++++++++-------
> + 1 file changed, 12 insertions(+), 7 deletions(-)
> +
> +diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
> +index cb66defac..e384cc6b8 100644
> +--- a/wpa_supplicant/Makefile
> ++++ b/wpa_supplicant/Makefile
> +@@ -1,24 +1,29 @@
> + BINALL=wpa_supplicant wpa_cli
> +
> +-ifndef CONFIG_NO_WPA_PASSPHRASE
> +-BINALL += wpa_passphrase
> +-endif
> +-
> + ALL = $(BINALL)
> + ALL += systemd/wpa_supplicant.service
> + ALL += systemd/wpa_supplicant at .service
> + ALL += systemd/wpa_supplicant-nl80211 at .service
> + ALL += systemd/wpa_supplicant-wired at .service
> + ALL += dbus/fi.w1.wpa_supplicant1.service
> +-ifdef CONFIG_BUILD_WPA_CLIENT_SO
> +-ALL += libwpa_client.so
> +-endif
> +
> + EXTRA_TARGETS=dynamic_eap_methods
> +
> + CONFIG_FILE=.config
> + include ../src/build.rules
> +
> ++ifdef CONFIG_BUILD_WPA_CLIENT_SO
> ++# add the dependency this way to allow CONFIG_BUILD_WPA_CLIENT_SO
> ++# being set in the config which is read by build.rules
> ++_all: libwpa_client.so
> ++endif
> ++
> ++ifndef CONFIG_NO_WPA_PASSPHRASE
> ++# add the dependency this way to allow CONFIGNO_WPA_PASSPHRASE
> ++# being set in the config which is read by build.rules
> ++_all: wpa_passphrase
> ++endif
> ++
> + ifdef LIBS
> + # If LIBS is set with some global build system defaults, clone those for
> + # LIBS_c and LIBS_p to cover wpa_passphrase and wpa_cli as well.
> +--
> +2.35.1
> +
> --
> 2.35.1
>
From peter at korsgaard.com Fri Mar 4 17:09:07 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Fri, 4 Mar 2022 18:09:07 +0100
Subject: [Buildroot] [PATCH] {linux, linux-headers}: bump 4.{4, 9, 14,
19}.x / 5.{4, 10, 15, 16}.x series
Message-ID: <20220304170907.157687-1-peter@korsgaard.com>
Signed-off-by: Peter Korsgaard
---
linux/Config.in | 2 +-
linux/linux.hash | 16 ++++++++--------
package/linux-headers/Config.in.host | 16 ++++++++--------
3 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/linux/Config.in b/linux/Config.in
index 13d99bd09d..df5261e5ff 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -125,7 +125,7 @@ endif
config BR2_LINUX_KERNEL_VERSION
string
- default "5.15.13" if BR2_LINUX_KERNEL_LATEST_VERSION
+ default "5.15.26" if BR2_LINUX_KERNEL_LATEST_VERSION
default "5.10.83-cip1" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
default "5.10.83-cip1-rt1" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
diff --git a/linux/linux.hash b/linux/linux.hash
index d0813e5db4..01325348ef 100644
--- a/linux/linux.hash
+++ b/linux/linux.hash
@@ -1,13 +1,13 @@
# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
-sha256 027d7e8988bb69ac12ee92406c3be1fe13f990b1ca2249e226225cd1573308bb linux-5.16.tar.xz
-sha256 0a131b6a2f9f5ee37ecb332b5459ab35a87f0bf2d4ec923988d0663646cf156a linux-5.15.13.tar.xz
-sha256 945e4264c014a3d9dfc0a4639309dd1ec2fb545416556421f931b95da78c2725 linux-5.10.90.tar.xz
-sha256 b09f74e0cf5fc7cf5de6aa932fe654c962cb10118bdbbdddb397022c6e6d382c linux-5.4.170.tar.xz
+sha256 bb5a1df15a10a715807a44872ff4fe775337aae445285181f1d1ba0c78b1d7f2 linux-5.16.12.tar.xz
+sha256 58122134f2613fcbb200bb2399ef2117852166a8e11eed4b632a86b20b6bbe3a linux-5.15.26.tar.xz
+sha256 4fb8ad55e6430342e4fbc94d54e594e9be8eb6a8bea1d71eccf835948d08580a linux-5.10.103.tar.xz
+sha256 b2f1201f64f010e9e3c85d6f303a559a7944a80a0244a86b8f5035bd23f1f40d linux-5.4.182.tar.xz
# From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
-sha256 86c9ed59b120fad14d207470446086ac46099cd7bb9e58682e368e721164a6e0 linux-4.4.298.tar.xz
-sha256 fd4bdbc8be3472d6324fa0f5f57a17f5c3f509d5f5b4fa4f1a9797d982d0bca8 linux-4.9.296.tar.xz
-sha256 bffaaa4c93ab4ed1de61f804c26c92b82dd80f92793e20194b62497d7b8b4723 linux-4.14.261.tar.xz
-sha256 01ccfc3413c3bb305653ceb0aa528aba0caa61b326e43709bf1f8b624f211031 linux-4.19.224.tar.xz
+sha256 35017bb40b604e0b577fc2b87e727632b46608a2ba3a4f5858b9177f58f376b3 linux-4.4.302.tar.xz
+sha256 295e4bb3ba3244a9f4c48139ad13f78145f3e6402e11aa25b20aadb9ae9f2b25 linux-4.9.304.tar.xz
+sha256 03a65f405c3acae4dd8cd952444b7cd931f972c01a42e20a471319a2f6c018d2 linux-4.14.269.tar.xz
+sha256 4fcfe814780d63dc56e907bf41596ff162e9601978bdc1a60eab64cc3903a22c linux-4.19.232.tar.xz
# Locally computed
sha256 5738dcf020ff75fb6e43d6d1a8b572d2f1fe58c08b31f822eb42fb91d6bdc98f linux-cip-5.10.83-cip1.tar.gz
sha256 2395443c5f960e5c6343f70480209d2530da27aa6f0299412e0f4b7128fccb7c linux-cip-5.10.83-cip1-rt1.tar.gz
diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index 8543f1cd21..8cfbd41831 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -380,14 +380,14 @@ endchoice
config BR2_DEFAULT_KERNEL_HEADERS
string
- default "4.4.298" if BR2_KERNEL_HEADERS_4_4
- default "4.9.296" if BR2_KERNEL_HEADERS_4_9
- default "4.14.261" if BR2_KERNEL_HEADERS_4_14
- default "4.19.224" if BR2_KERNEL_HEADERS_4_19
- default "5.4.170" if BR2_KERNEL_HEADERS_5_4
- default "5.10.90" if BR2_KERNEL_HEADERS_5_10
- default "5.15.13" if BR2_KERNEL_HEADERS_5_15
- default "5.16" if BR2_KERNEL_HEADERS_5_16
+ default "4.4.302" if BR2_KERNEL_HEADERS_4_4
+ default "4.9.304" if BR2_KERNEL_HEADERS_4_9
+ default "4.14.269" if BR2_KERNEL_HEADERS_4_14
+ default "4.19.232" if BR2_KERNEL_HEADERS_4_19
+ default "5.4.182" if BR2_KERNEL_HEADERS_5_4
+ default "5.10.103" if BR2_KERNEL_HEADERS_5_10
+ default "5.15.26" if BR2_KERNEL_HEADERS_5_15
+ default "5.16.12" if BR2_KERNEL_HEADERS_5_16
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
--
2.30.2
From peter at korsgaard.com Fri Mar 4 17:10:09 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Fri, 04 Mar 2022 18:10:09 +0100
Subject: [Buildroot] [PATCH 1/1] package/go: security bump to 1.17.8
In-Reply-To: <20220304042502.56629-1-christian@paral.in> (Christian Stewart's
message of "Thu, 3 Mar 2022 20:25:02 -0800")
References: <20220304042502.56629-1-christian@paral.in>
Message-ID: <87bkylabke.fsf@dell.be.48ers.dk>
>>>>> "Christian" == Christian Stewart writes:
> go1.17.8 includes a security fix to the regexp/syntax package, as well as bug
> fixes to the compiler, runtime, the go command, and the crypto/x509, and net
> packages.
> https://go.dev/doc/devel/release#go1.17.minor
> Signed-off-by: Christian Stewart
Committed, thanks.
--
Bye, Peter Korsgaard
From peter at korsgaard.com Fri Mar 4 17:11:36 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Fri, 4 Mar 2022 18:11:36 +0100
Subject: [Buildroot] [git commit] package/go: security bump to 1.17.8
Message-ID: <20220304170333.BD28382A39@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=1cd8faa8d3b525fc01c21bc03ddd617062516699
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
go1.17.8 includes a security fix to the regexp/syntax package, as well as bug
fixes to the compiler, runtime, the go command, and the crypto/x509, and net
packages.
https://go.dev/doc/devel/release#go1.17.minor
Signed-off-by: Christian Stewart
Signed-off-by: Peter Korsgaard
---
package/go/go.hash | 2 +-
package/go/go.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/go/go.hash b/package/go/go.hash
index fdf342e602..85e6adfb8c 100644
--- a/package/go/go.hash
+++ b/package/go/go.hash
@@ -1,3 +1,3 @@
# From https://golang.org/dl/
-sha256 c108cd33b73b1911a02b697741df3dea43e01a5c4e08e409e8b3a0e3745d2b4d go1.17.7.src.tar.gz
+sha256 2effcd898140da79a061f3784ca4f8d8b13d811fb2abe9dad2404442dabbdf7a go1.17.8.src.tar.gz
sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE
diff --git a/package/go/go.mk b/package/go/go.mk
index 56a21dfe55..3df16c9a68 100644
--- a/package/go/go.mk
+++ b/package/go/go.mk
@@ -4,7 +4,7 @@
#
################################################################################
-GO_VERSION = 1.17.7
+GO_VERSION = 1.17.8
GO_SITE = https://storage.googleapis.com/golang
GO_SOURCE = go$(GO_VERSION).src.tar.gz
From fontaine.fabrice at gmail.com Fri Mar 4 17:24:39 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Fri, 4 Mar 2022 18:24:39 +0100
Subject: [Buildroot] [PATCH 1/1] docs/manual: remove override in conditional
Message-ID: <20220304172440.3365435-1-fontaine.fabrice@gmail.com>
Remove override of FOO_{CONF_OPTS,DEPENDENCIES} in conditional
Signed-off-by: Fabrice Fontaine
---
docs/manual/adding-packages-kernel-module.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/manual/adding-packages-kernel-module.txt b/docs/manual/adding-packages-kernel-module.txt
index b609ecc90a..1d4251333d 100644
--- a/docs/manual/adding-packages-kernel-module.txt
+++ b/docs/manual/adding-packages-kernel-module.txt
@@ -70,11 +70,11 @@ Let's look at a more complex example:
14: FOO_MODULE_MAKE_OPTS = KVERSION=$(LINUX_VERSION_PROBED)
15:
16: ifeq ($(BR2_PACKAGE_LIBBAR),y)
-17: FOO_DEPENDENCIES = libbar
-18: FOO_CONF_OPTS = --enable-bar
+17: FOO_DEPENDENCIES += libbar
+18: FOO_CONF_OPTS += --enable-bar
19: FOO_MODULE_SUBDIRS += driver/bar
20: else
-21: FOO_CONF_OPTS = --disable-bar
+21: FOO_CONF_OPTS += --disable-bar
22: endif
23:
24: $(eval $(kernel-module))
--
2.34.1
From fontaine.fabrice at gmail.com Fri Mar 4 17:38:51 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Fri, 4 Mar 2022 18:38:51 +0100
Subject: [Buildroot] [PATCH 1/1] package/libvirt: fix build without libvirtd
Message-ID: <20220304173851.3566563-1-fontaine.fabrice@gmail.com>
Fix the following build failure without libvirtd raised since the
addition of the package in commit
ccfc90e1010e42e6529afae3a5ea8bf7226dabc1 and
https://gitlab.com/libvirt/libvirt/-/commit/89064c9e378b99fea0a334199a524f13390d5fc3:
../output-1/build/libvirt-7.10.0/meson.build:1518:2: ERROR: Problem encountered: Requested the Interface driver without netcf or udev and libvirtd support
Fixes:
- http://autobuild.buildroot.org/results/e43101c6d7f626439ef800263b8f5dfa99ce850b
Signed-off-by: Fabrice Fontaine
---
package/libvirt/libvirt.mk | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/package/libvirt/libvirt.mk b/package/libvirt/libvirt.mk
index 7b0ed5e52e..1dc61a7549 100644
--- a/package/libvirt/libvirt.mk
+++ b/package/libvirt/libvirt.mk
@@ -39,7 +39,6 @@ LIBVIRT_CONF_OPTS = \
-Ddriver_ch=disabled \
-Ddriver_esx=disabled \
-Ddriver_hyperv=disabled \
- -Ddriver_interface=enabled \
-Ddriver_libxl=disabled \
-Ddriver_openvz=disabled \
-Ddriver_remote=enabled \
@@ -196,7 +195,10 @@ endif
ifeq ($(BR2_PACKAGE_LIBVIRT_DAEMON),y)
# Network is used by daemon, only
-LIBVIRT_CONF_OPTS += -Ddriver_libvirtd=enabled -Ddriver_network=enabled
+LIBVIRT_CONF_OPTS += \
+ -Ddriver_interface=enabled \
+ -Ddriver_libvirtd=enabled \
+ -Ddriver_network=enabled
ifeq ($(BR2_PACKAGE_LIBSSH),y)
LIBVIRT_CONF_OPTS += -Dlibssh=enabled
@@ -235,7 +237,10 @@ endif
else # BR2_PACKAGE_LIBVIRT_DAEMON
-LIBVIRT_CONF_OPTS += -Ddriver_libvirtd=disabled -Ddriver_network=disabled
+LIBVIRT_CONF_OPTS += \
+ -Ddriver_interface=disabled \
+ -Ddriver_libvirtd=disabled \
+ -Ddriver_network=disabled
endif
--
2.34.1
From fontaine.fabrice at gmail.com Fri Mar 4 19:06:00 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Fri, 4 Mar 2022 20:06:00 +0100
Subject: [Buildroot] [PATCH 1/1] package/weston: fix build without
shell-desktop
Message-ID: <20220304190600.4021243-1-fontaine.fabrice@gmail.com>
Fix the following build failure without shell-desktop raised since bump
to version 10.0.0 in commit f67a6e9b7a7be9adbc405b3126000056120a01af and
https://gitlab.freedesktop.org/wayland/weston/-/commit/9e90760ab054db2234f73374600489fa5584ad7c:
In file included from ../tests/weston-test-client-helper.c:43:
../tests/weston-test-client-helper.h:40:10: fatal error: weston-screenshooter-client-protocol.h: No such file or directory
40 | #include "weston-screenshooter-client-protocol.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/8ece588f52fc1b4e422f8bce9b106d9d3822f1a1
Signed-off-by: Fabrice Fontaine
---
...ncy-on-screenshooter-client-protocol.patch | 38 +++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch
diff --git a/package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch b/package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch
new file mode 100644
index 0000000000..927215380e
--- /dev/null
+++ b/package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch
@@ -0,0 +1,38 @@
+From 2ac6b6b084a877adde64db7faff2ed22eb3ea97a Mon Sep 17 00:00:00 2001
+From: Daniel Stone
+Date: Tue, 8 Feb 2022 22:39:42 +0000
+Subject: [PATCH] tests: Add dependency on screenshooter client protocol
+
+Given that the test-helper code relies on the screenshooter protocol,
+make sure it's available for us to build, and the dependency ensures we
+build in order.
+
+Fixes: #588
+
+Signed-off-by: Daniel Stone
+
+[Retrieved from:
+https://gitlab.freedesktop.org/wayland/weston/-/commit/2ac6b6b084a877adde64db7faff2ed22eb3ea97a]
+Signed-off-by: Fabrice Fontaine
+---
+ tests/meson.build | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/tests/meson.build b/tests/meson.build
+index 2d464ddcc..222091cd1 100644
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -29,8 +29,9 @@ lib_test_client = static_library(
+ 'weston-test-client-helper.c',
+ 'weston-test-fixture-compositor.c',
+ weston_test_client_protocol_h,
+- weston_screenshooter_protocol_c,
+ weston_test_protocol_c,
++ weston_screenshooter_client_protocol_h,
++ weston_screenshooter_protocol_c,
+ viewporter_client_protocol_h,
+ viewporter_protocol_c,
+ 'color_util.h',
+--
+GitLab
+
--
2.34.1
From fontaine.fabrice at gmail.com Fri Mar 4 19:32:10 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Fri, 4 Mar 2022 20:32:10 +0100
Subject: [Buildroot] [PATCH/next 1/1] package/jpeg-turbo: bump to version
2.1.3
Message-ID: <20220304193210.4025746-1-fontaine.fabrice@gmail.com>
Update hash of license file (date updated with
https://github.com/libjpeg-turbo/libjpeg-turbo/commit/172972394a51352d0b67c30f20041e69a98d78b7)
https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/2.1.3
Signed-off-by: Fabrice Fontaine
---
package/jpeg-turbo/jpeg-turbo.hash | 10 +++++-----
package/jpeg-turbo/jpeg-turbo.mk | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package/jpeg-turbo/jpeg-turbo.hash b/package/jpeg-turbo/jpeg-turbo.hash
index de82199659..a892fd3eaa 100644
--- a/package/jpeg-turbo/jpeg-turbo.hash
+++ b/package/jpeg-turbo/jpeg-turbo.hash
@@ -1,7 +1,7 @@
-# From https://sourceforge.net/projects/libjpeg-turbo/files/2.1.2/
-sha1 65c51c543b1fbba6db9ff5bee474ccb0b52a929f libjpeg-turbo-2.1.2.tar.gz
-md5 e181bd78884dd5392a869209bfa41d4a libjpeg-turbo-2.1.2.tar.gz
+# From https://sourceforge.net/projects/libjpeg-turbo/files/2.1.3/
+sha1 6dec48193bb27e1c07abae8230031ce9ecb1cfec libjpeg-turbo-2.1.3.tar.gz
+md5 85244dedeaf06f636a9e7ddea6d236d8 libjpeg-turbo-2.1.3.tar.gz
# Locally computed
-sha256 09b96cb8cbff9ea556a9c2d173485fd19488844d55276ed4f42240e1e2073ce5 libjpeg-turbo-2.1.2.tar.gz
-sha256 7d8683a7f048e715e08b4cada8b7f0d9a6ab8afad88ed09c1143ef764ecbc0f2 LICENSE.md
+sha256 467b310903832b033fe56cd37720d1b73a6a3bd0171dbf6ff0b620385f4f76d0 libjpeg-turbo-2.1.3.tar.gz
+sha256 ee1eaf194d5924b6360af8a6ba6a4e1554037091f7505943300cdeec65f1aebb LICENSE.md
sha256 4b7b9f8c03bb8d60270dfd12684e70ab21e4abfd27e73905cd1a7c4cae6f5cdb README.ijg
diff --git a/package/jpeg-turbo/jpeg-turbo.mk b/package/jpeg-turbo/jpeg-turbo.mk
index ddae019839..475eb5fa84 100644
--- a/package/jpeg-turbo/jpeg-turbo.mk
+++ b/package/jpeg-turbo/jpeg-turbo.mk
@@ -4,7 +4,7 @@
#
################################################################################
-JPEG_TURBO_VERSION = 2.1.2
+JPEG_TURBO_VERSION = 2.1.3
JPEG_TURBO_SOURCE = libjpeg-turbo-$(JPEG_TURBO_VERSION).tar.gz
JPEG_TURBO_SITE = https://downloads.sourceforge.net/project/libjpeg-turbo/$(JPEG_TURBO_VERSION)
JPEG_TURBO_LICENSE = IJG (libjpeg), BSD-3-Clause (TurboJPEG), Zlib (SIMD)
--
2.34.1
From fontaine.fabrice at gmail.com Fri Mar 4 19:40:02 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Fri, 4 Mar 2022 20:40:02 +0100
Subject: [Buildroot] [PATCH/next 1/1] package/faketime: bump to version
0.9.10
Message-ID: <20220304194002.4028347-1-fontaine.fabrice@gmail.com>
https://github.com/wolfcw/libfaketime/releases/tag/v0.9.10
Signed-off-by: Fabrice Fontaine
---
package/faketime/faketime.hash | 2 +-
package/faketime/faketime.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/faketime/faketime.hash b/package/faketime/faketime.hash
index 0628ff9ae6..a7d8d62dba 100644
--- a/package/faketime/faketime.hash
+++ b/package/faketime/faketime.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 57d0181150361c0a9b5c8eef05b11392f6134ada2c2d998e92e63daed639647c faketime-0.9.9.tar.gz
+sha256 729ad33b9c750a50d9c68e97b90499680a74afd1568d859c574c0fe56fe7947f faketime-0.9.10.tar.gz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
diff --git a/package/faketime/faketime.mk b/package/faketime/faketime.mk
index 355477ba3b..6fc684f852 100644
--- a/package/faketime/faketime.mk
+++ b/package/faketime/faketime.mk
@@ -4,7 +4,7 @@
#
################################################################################
-FAKETIME_VERSION = 0.9.9
+FAKETIME_VERSION = 0.9.10
FAKETIME_SITE = $(call github,wolfcw,libfaketime,v$(FAKETIME_VERSION))
FAKETIME_LICENSE = GPL-2.0
FAKETIME_LICENSE_FILES = COPYING
--
2.34.1
From buildroot at busybox.net Fri Mar 4 20:33:36 2022
From: buildroot at busybox.net (jack)
Date: Sat, 05 Mar 2022 04:33:36 +0800
Subject: [Buildroot] =?utf-8?q?wholesale_old_mobile_phones_at_cheap_price?=
=?utf-8?q?s?=
Message-ID: <20220304203338.DD4AC8293F@smtp1.osuosl.org>
An HTML attachment was scrubbed...
URL:
From buildroot at uclibc.org Fri Mar 4 20:33:36 2022
From: buildroot at uclibc.org (jack)
Date: Sat, 05 Mar 2022 04:33:36 +0800
Subject: [Buildroot] =?utf-8?q?wholesale_old_mobile_phones_at_cheap_price?=
=?utf-8?q?s?=
Message-ID: <20220304203338.E51458244D@smtp1.osuosl.org>
An HTML attachment was scrubbed...
URL:
From yann.morin.1998 at free.fr Fri Mar 4 20:43:17 2022
From: yann.morin.1998 at free.fr (Yann E. MORIN)
Date: Fri, 4 Mar 2022 21:43:17 +0100
Subject: [Buildroot] [git commit] package/weston: fix build without
shell-desktop
Message-ID: <20220304205027.7E6B182B6F@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=0f3b4f9402b7f5da8f0e0840523d43ef40c3f73f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fix the following build failure without shell-desktop raised since bump
to version 10.0.0 in commit f67a6e9b7a7be9adbc405b3126000056120a01af and
https://gitlab.freedesktop.org/wayland/weston/-/commit/9e90760ab054db2234f73374600489fa5584ad7c:
In file included from ../tests/weston-test-client-helper.c:43:
../tests/weston-test-client-helper.h:40:10: fatal error: weston-screenshooter-client-protocol.h: No such file or directory
40 | #include "weston-screenshooter-client-protocol.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/8ece588f52fc1b4e422f8bce9b106d9d3822f1a1
Signed-off-by: Fabrice Fontaine
Signed-off-by: Yann E. MORIN
---
...pendency-on-screenshooter-client-protocol.patch | 38 ++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch b/package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch
new file mode 100644
index 0000000000..927215380e
--- /dev/null
+++ b/package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch
@@ -0,0 +1,38 @@
+From 2ac6b6b084a877adde64db7faff2ed22eb3ea97a Mon Sep 17 00:00:00 2001
+From: Daniel Stone
+Date: Tue, 8 Feb 2022 22:39:42 +0000
+Subject: [PATCH] tests: Add dependency on screenshooter client protocol
+
+Given that the test-helper code relies on the screenshooter protocol,
+make sure it's available for us to build, and the dependency ensures we
+build in order.
+
+Fixes: #588
+
+Signed-off-by: Daniel Stone
+
+[Retrieved from:
+https://gitlab.freedesktop.org/wayland/weston/-/commit/2ac6b6b084a877adde64db7faff2ed22eb3ea97a]
+Signed-off-by: Fabrice Fontaine
+---
+ tests/meson.build | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/tests/meson.build b/tests/meson.build
+index 2d464ddcc..222091cd1 100644
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -29,8 +29,9 @@ lib_test_client = static_library(
+ 'weston-test-client-helper.c',
+ 'weston-test-fixture-compositor.c',
+ weston_test_client_protocol_h,
+- weston_screenshooter_protocol_c,
+ weston_test_protocol_c,
++ weston_screenshooter_client_protocol_h,
++ weston_screenshooter_protocol_c,
+ viewporter_client_protocol_h,
+ viewporter_protocol_c,
+ 'color_util.h',
+--
+GitLab
+
From yann.morin.1998 at free.fr Fri Mar 4 20:58:40 2022
From: yann.morin.1998 at free.fr (Yann E. MORIN)
Date: Fri, 4 Mar 2022 21:58:40 +0100
Subject: [Buildroot] [PATCH 1/1] package/weston: fix build without
shell-desktop
In-Reply-To: <20220304190600.4021243-1-fontaine.fabrice@gmail.com>
References: <20220304190600.4021243-1-fontaine.fabrice@gmail.com>
Message-ID: <20220304205840.GA228549@scaer>
Fabrice, All,
On 2022-03-04 20:06 +0100, Fabrice Fontaine spake thusly:
> Fix the following build failure without shell-desktop raised since bump
> to version 10.0.0 in commit f67a6e9b7a7be9adbc405b3126000056120a01af and
> https://gitlab.freedesktop.org/wayland/weston/-/commit/9e90760ab054db2234f73374600489fa5584ad7c:
>
> In file included from ../tests/weston-test-client-helper.c:43:
> ../tests/weston-test-client-helper.h:40:10: fatal error: weston-screenshooter-client-protocol.h: No such file or directory
> 40 | #include "weston-screenshooter-client-protocol.h"
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Fixes:
> - http://autobuild.buildroot.org/results/8ece588f52fc1b4e422f8bce9b106d9d3822f1a1
>
> Signed-off-by: Fabrice Fontaine
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> ...ncy-on-screenshooter-client-protocol.patch | 38 +++++++++++++++++++
> 1 file changed, 38 insertions(+)
> create mode 100644 package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch
>
> diff --git a/package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch b/package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch
> new file mode 100644
> index 0000000000..927215380e
> --- /dev/null
> +++ b/package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch
> @@ -0,0 +1,38 @@
> +From 2ac6b6b084a877adde64db7faff2ed22eb3ea97a Mon Sep 17 00:00:00 2001
> +From: Daniel Stone
> +Date: Tue, 8 Feb 2022 22:39:42 +0000
> +Subject: [PATCH] tests: Add dependency on screenshooter client protocol
> +
> +Given that the test-helper code relies on the screenshooter protocol,
> +make sure it's available for us to build, and the dependency ensures we
> +build in order.
> +
> +Fixes: #588
> +
> +Signed-off-by: Daniel Stone
> +
> +[Retrieved from:
> +https://gitlab.freedesktop.org/wayland/weston/-/commit/2ac6b6b084a877adde64db7faff2ed22eb3ea97a]
> +Signed-off-by: Fabrice Fontaine
> +---
> + tests/meson.build | 3 ++-
> + 1 file changed, 2 insertions(+), 1 deletion(-)
> +
> +diff --git a/tests/meson.build b/tests/meson.build
> +index 2d464ddcc..222091cd1 100644
> +--- a/tests/meson.build
> ++++ b/tests/meson.build
> +@@ -29,8 +29,9 @@ lib_test_client = static_library(
> + 'weston-test-client-helper.c',
> + 'weston-test-fixture-compositor.c',
> + weston_test_client_protocol_h,
> +- weston_screenshooter_protocol_c,
> + weston_test_protocol_c,
> ++ weston_screenshooter_client_protocol_h,
> ++ weston_screenshooter_protocol_c,
> + viewporter_client_protocol_h,
> + viewporter_protocol_c,
> + 'color_util.h',
> +--
> +GitLab
> +
> --
> 2.34.1
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
From giulio.benetti at benettiengineering.com Fri Mar 4 21:38:28 2022
From: giulio.benetti at benettiengineering.com (Giulio Benetti)
Date: Fri, 4 Mar 2022 22:38:28 +0100
Subject: [Buildroot] [PATCH/next] package/libnss: bump to version 3.76
Message-ID: <20220304213828.3870123-1-giulio.benetti@benettiengineering.com>
Signed-off-by: Giulio Benetti
---
package/libnss/libnss.hash | 4 ++--
package/libnss/libnss.mk | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/libnss/libnss.hash b/package/libnss/libnss.hash
index 07fb340c33..b4b8be11f6 100644
--- a/package/libnss/libnss.hash
+++ b/package/libnss/libnss.hash
@@ -1,4 +1,4 @@
-# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_75_RTM/src/SHA256SUMS
-sha256 fd571507827284644f4dd522a032acda2286835f6683ed22a1c2d3878cc58582 nss-3.75.tar.gz
+# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_76_RTM/src/SHA256SUMS
+sha256 1b8e0310add364d2ade40620cde0f1c37f4f00a6999b2d3e7ea8dacda4aa1630 nss-3.76.tar.gz
# Locally calculated
sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING
diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk
index a9549e48dd..2f7a265136 100644
--- a/package/libnss/libnss.mk
+++ b/package/libnss/libnss.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBNSS_VERSION = 3.75
+LIBNSS_VERSION = 3.76
LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz
LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src
LIBNSS_DISTDIR = dist
--
2.25.1
From bugzilla at busybox.net Fri Mar 4 23:28:14 2022
From: bugzilla at busybox.net (bugzilla at busybox.net)
Date: Fri, 04 Mar 2022 23:28:14 +0000
Subject: [Buildroot] [Bug 14636] New: azure-iot-sdk-c: Installed headers do
not compile
Message-ID:
https://bugs.busybox.net/show_bug.cgi?id=14636
Bug ID: 14636
Summary: azure-iot-sdk-c: Installed headers do not compile
Product: buildroot
Version: 2021.02.10
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: jcowgill+busybox at jcowgill.uk
CC: buildroot at uclibc.org
Target Milestone: ---
After building azure-iot-sdk-c...
test.c contains:
#include
Running this:
$ output/host/bin/aarch64-none-linux-gnu-gcc -c test.c
Gives:
In file included from test.c:1:
.../output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/iothub_client.h:22:10:
fatal error: umock_c/umock_c_prod.h: No such file or directory
22 | #include "umock_c/umock_c_prod.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Most of the headers seem to depend on umock_c which isn't installed.
$ find output/staging/usr/include -name umock_c
$
This bug pretty much makes the package unusable.
----
It's only slightly related, but I also wonder why the headers are installed
directly into "/usr/include" even though upstream installs them under
"/usr/include/azureiot".
--
You are receiving this mail because:
You are on the CC list for the bug.
From mmayer at broadcom.com Sat Mar 5 00:00:51 2022
From: mmayer at broadcom.com (Markus Mayer)
Date: Fri, 4 Mar 2022 16:00:51 -0800
Subject: [Buildroot] [PATCH 0/1] linux: limit YYLTYPE kernel modification
Message-ID: <20220305000052.491721-1-mmayer@broadcom.com>
Hi,
It took me a while to find out why our kernel builds were suddenly
failing with the 2022.02-rcX sources. Oddly, building DTC for the host
would error out like so:
dtc-parser.y: In function `print_error':
dtc-parser.y:478:17: error: `yylloc' undeclared (first use in this function);
did you mean `yyalloc'?
dtc-parser.y:478:17: note: each undeclared identifier is reported only once
for each function it appears in
dtc-lexer.lex.c: In function `yylex':
dtc-lexer.l:46:18: error: `yylloc' undeclared (first use in this function);
did you mean `yyalloc'?
dtc-lexer.lex.c:845:2: note: in expansion of macro `YY_USER_ACTION'
dtc-lexer.lex.c:939:1: note: in expansion of macro `YY_RULE_SETUP'
dtc-lexer.l:46:18: note: each undeclared identifier is reported only once
for each function it appears in
dtc-lexer.lex.c:845:2: note: in expansion of macro `YY_USER_ACTION'
dtc-lexer.lex.c:939:1: note: in expansion of macro `YY_RULE_SETUP'
The kernel build that's failing is Linux 4.1 with GCC 6.3. Yes, I know.
Old kernel, old toolchain. Still, this used to work, and now it doesn't.
(We have newer toolchains and newer kernels, too. They seem fine.)
Eventually, I tracked it down to this change:
https://git.buildroot.net/buildroot/commit/?id=9b41b54be077
I think there are two issues with it. It claims to be for GCC 10+, but
it is applied at all times. I believe it should be conditional upon
BR2_TOOLCHAIN_GCC_AT_LEAST_10 if the intention is to fix up the sources
for GCC 10 and newer.
Secondly, this code works its magic completely silently and quietly.
There is no indication that anything is being done to the kernel
sources. That makes it really, *REALLY* challenging to figure out what's
going on when things go sideways.
I think an informational message to the user is absolutely crucial. At
least that way it'll show up in the build logs if one searches for
"YYLTYPE". That'll give the users a hint where the sources are being
touched. Modifying source code like this should not happen quietly.
Regards,
-Markus
Markus Mayer (1):
linux: limit YYLTYPE kernel modification
linux/linux.mk | 3 +++
1 file changed, 3 insertions(+)
--
2.25.1
From mmayer at broadcom.com Sat Mar 5 00:22:09 2022
From: mmayer at broadcom.com (Markus Mayer)
Date: Fri, 4 Mar 2022 16:22:09 -0800
Subject: [Buildroot] [PATCH 1/1] linux: limit YYLTYPE kernel modification
In-Reply-To: <20220305000052.491721-1-mmayer@broadcom.com>
References: <20220305000052.491721-1-mmayer@broadcom.com>
Message-ID: <20220305002209.493816-1-mmayer@broadcom.com>
Commit 9b41b54be07711c10ad13ce157be272ed1cf402e addresses a build issue
regarding re-defined YACC symbols. Unfortunately, this can break the
build for older toolchains.
To prevent unintentional breakage, make the source code modification
conditional on BR2_TOOLCHAIN_GCC_AT_LEAST_10. Also inform the user about
the modification when it is performed, so it becomes more obvious what
is happening in case of unforseen problems.
Signed-off-by: Markus Mayer
---
linux/linux.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/linux/linux.mk b/linux/linux.mk
index 940dc2849f..382a3f679e 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -293,12 +293,15 @@ endef
LINUX_POST_PATCH_HOOKS += LINUX_APPLY_LOCAL_PATCHES
+ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_10),y)
# Older versions break on gcc 10+ because of redefined symbols
define LINUX_DROP_YYLLOC
+ @echo "Removing 'YYLTYPE yylloc;' from kernel sources..."
$(Q)grep -Z -l -r -E '^YYLTYPE yylloc;$$' $(@D) \
|xargs -0 -r $(SED) '/^YYLTYPE yylloc;$$/d'
endef
LINUX_POST_PATCH_HOOKS += LINUX_DROP_YYLLOC
+endif
# Older linux kernels use deprecated perl constructs in timeconst.pl
# that were removed for perl 5.22+ so it breaks on newer distributions
--
2.25.1
From buildroot at busybox.net Sat Mar 5 07:47:22 2022
From: buildroot at busybox.net (buildroot at busybox.net)
Date: Sat, 5 Mar 2022 09:47:22 +0200 (EET)
Subject: [Buildroot] Alveks Friend
Message-ID: <20220305074722.8995E344165@bizzi.btv.lv>
Name: ???? Veronica want to meet you! Click here: https://clck.ru/dX8h6?ulqsc ????
E-mail: buildroot at busybox.net
Info: ttq6oxmg
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From yann.morin.1998 at free.fr Sat Mar 5 09:18:49 2022
From: yann.morin.1998 at free.fr (Yann E. MORIN)
Date: Sat, 5 Mar 2022 10:18:49 +0100
Subject: [Buildroot] [PATCH 1/1] linux: limit YYLTYPE kernel modification
In-Reply-To: <20220305002209.493816-1-mmayer@broadcom.com>
References: <20220305000052.491721-1-mmayer@broadcom.com>
<20220305002209.493816-1-mmayer@broadcom.com>
Message-ID: <20220305091849.GB228549@scaer>
Markus, All,
On 2022-03-04 16:22 -0800, Markus Mayer spake thusly:
> Commit 9b41b54be07711c10ad13ce157be272ed1cf402e addresses a build issue
> regarding re-defined YACC symbols. Unfortunately, this can break the
> build for older toolchains.
>
> To prevent unintentional breakage, make the source code modification
> conditional on BR2_TOOLCHAIN_GCC_AT_LEAST_10. Also inform the user about
> the modification when it is performed, so it becomes more obvious what
> is happening in case of unforseen problems.
>
> Signed-off-by: Markus Mayer
> ---
> linux/linux.mk | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/linux/linux.mk b/linux/linux.mk
> index 940dc2849f..382a3f679e 100644
> --- a/linux/linux.mk
> +++ b/linux/linux.mk
> @@ -293,12 +293,15 @@ endef
>
> LINUX_POST_PATCH_HOOKS += LINUX_APPLY_LOCAL_PATCHES
>
> +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_10),y)
That is wrong, because this is built with the _host_ compiler, not the
target compiler, and BR2_TOOLCHAIN_GCC_AT_LEAST_XX is about the target
compiler.
So, if we wanted to make that conditional, that would have to be
conditional on BR2_HOST_GCC_AT_LEAST_10 (we only have up to gcc-9 for
the host for now, so we'd need to add it for gcc-10 and 11; hint: search
for BR2_HOST_GCC_AT_LEAST_9, HOST_GCC_VERSION, HOSTCC_VERSION, and
HOSTCC_MAX_VERSION).
Furthermore, that is still wrong in your case: if you switch to a
distribution that has gcc 10 (so, as host compler!), then this fixup
will be applied again, and your build will break again, because your
kernel is (probably) missing the following commits (of the 29 that
touch scripts/dtc/ between 4.1 and e33a814e772c):
$ git slog -G'YYLTYPE yylloc;' v4.1..e33a814e772cdc36436c8c188d8c42d019fda639 -- scripts/dtc/
e33a814e772cd scripts/dtc: Remove redundant YYLOC global declaration
e039139be8c25 scripts/dtc: generate lexer and parser during build instead of shipping
4760597116e34 scripts/dtc: Update to upstream version 9d3649bd3be245c9
However, you still have a point: this is breaking older kernels that do
not have a recent-enough bundled dtc, whether they be built with a host
gcc 10+ or not...
Maybe we need to find a better heuristic to detect the case when we need
to apply the fix, but then I am afraid this is going to be a nightmare
of so many corner cases with vendor-specific franken-kernels.
I am not sure where to go from here, though...
> # Older versions break on gcc 10+ because of redefined symbols
> define LINUX_DROP_YYLLOC
> + @echo "Removing 'YYLTYPE yylloc;' from kernel sources..."
There are so many fixes and tweaks we do without informing the user. If
we were to, the build would be even more verbose than it currently is.
Finding a reference to yylloc in the build log would just mean grepping
for it, so you would achieve about the same by running:
$ make V=1
as that would print the fixup line.
Regards,
Yann E. MORIN.
> $(Q)grep -Z -l -r -E '^YYLTYPE yylloc;$$' $(@D) \
> |xargs -0 -r $(SED) '/^YYLTYPE yylloc;$$/d'
> endef
> LINUX_POST_PATCH_HOOKS += LINUX_DROP_YYLLOC
> +endif
>
> # Older linux kernels use deprecated perl constructs in timeconst.pl
> # that were removed for perl 5.22+ so it breaks on newer distributions
> --
> 2.25.1
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
From arnout at mind.be Sat Mar 5 14:46:39 2022
From: arnout at mind.be (Arnout Vandecappelle)
Date: Sat, 5 Mar 2022 15:46:39 +0100
Subject: [Buildroot] [PATCH 1/1] package/bpftool: needs headers >= 4.12
In-Reply-To: <20220213193336.1102940-1-fontaine.fabrice@gmail.com>
References: <20220213193336.1102940-1-fontaine.fabrice@gmail.com>
Message-ID: <5a736030-ecc7-6415-2e15-f73f564f6ea5@mind.be>
On 13/02/2022 20:33, Fabrice Fontaine wrote:
> NETLINK_EXT_ACK is only available since kernel 4.12 and
> https://github.com/torvalds/linux/commit/2d4bc93368f5a0ddb57c8c885cdad9c9b7a10ed5
> resulting in the following build failure since addition of the package
> in commit 3675131e6c654d7536a184db0184fde7a97040e0:
>
> net.c: In function 'netlink_open':
> net.c:110:36: error: 'NETLINK_EXT_ACK' undeclared (first use in this function); did you mean 'NETLINK_CAP_ACK'?
> 110 | if (setsockopt(sock, SOL_NETLINK, NETLINK_EXT_ACK,
> | ^~~~~~~~~~~~~~~
> | NETLINK_CAP_ACK
>
> Fixes:
> - http://autobuild.buildroot.org/results/c61678e56bd73609838747048f27068818c21150
>
> Signed-off-by: Fabrice Fontaine
Applied to master, thanks.
Regards,
Arnout
> ---
> package/bpftool/Config.in | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/package/bpftool/Config.in b/package/bpftool/Config.in
> index 39475aa962..e81d874343 100644
> --- a/package/bpftool/Config.in
> +++ b/package/bpftool/Config.in
> @@ -5,14 +5,16 @@ config BR2_PACKAGE_BPFTOOL
> depends on !BR2_STATIC_LIBS # elfutils
> depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils
> depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
> + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
> select BR2_PACKAGE_BINUTILS
> select BR2_PACKAGE_ELFUTILS
> help
> bpftool is a tool for for inspection and simple manipulation
> of eBPF programs and maps.
>
> -comment "bpftool needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads"
> +comment "bpftool needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.12"
> depends on !BR2_nios2
> depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
> || !BR2_TOOLCHAIN_HAS_THREADS \
> - || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
> + || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) \
> + || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
From arnout at mind.be Sat Mar 5 14:46:56 2022
From: arnout at mind.be (Arnout Vandecappelle)
Date: Sat, 5 Mar 2022 15:46:56 +0100
Subject: [Buildroot] [PATCH 1/1] package/zabbix: add ZABBIX_CPE_ID_VENDOR
In-Reply-To: <20220213203219.1206327-1-fontaine.fabrice@gmail.com>
References: <20220213203219.1206327-1-fontaine.fabrice@gmail.com>
Message-ID:
On 13/02/2022 21:32, Fabrice Fontaine wrote:
> cpe:2.3:a:zabbix:zabbix is a valid CPE identifier for this package:
>
> https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Azabbix%3Azabbix
>
> Signed-off-by: Fabrice Fontaine
Applied to master, thanks.
Regards,
Arnout
> ---
> package/zabbix/zabbix.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/zabbix/zabbix.mk b/package/zabbix/zabbix.mk
> index e72d831b46..e6564e68fd 100644
> --- a/package/zabbix/zabbix.mk
> +++ b/package/zabbix/zabbix.mk
> @@ -9,6 +9,7 @@ ZABBIX_VERSION = $(ZABBIX_VERSION_MAJOR).9
> ZABBIX_SITE = https://cdn.zabbix.com/zabbix/sources/stable/$(ZABBIX_VERSION_MAJOR)
> ZABBIX_LICENSE = GPL-2.0+
> ZABBIX_LICENSE_FILES = README COPYING
> +ZABBIX_CPE_ID_VENDOR = zabbix
>
> ZABBIX_DEPENDENCIES = pcre
> ZABBIX_CONF_OPTS = \
From arnout at mind.be Sat Mar 5 14:47:11 2022
From: arnout at mind.be (Arnout Vandecappelle)
Date: Sat, 5 Mar 2022 15:47:11 +0100
Subject: [Buildroot] [PATCH 1/1] package/python-gnupg: add
PYTHON_GNUPG_CPE_ID_VENDOR
In-Reply-To: <20220213204327.1206836-1-fontaine.fabrice@gmail.com>
References: <20220213204327.1206836-1-fontaine.fabrice@gmail.com>
Message-ID:
On 13/02/2022 21:43, Fabrice Fontaine wrote:
> cpe:2.3:a:python:python-gnupg is a valid CPE identifier for this
> package:
>
> https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Apython%3Apython-gnupg
>
> Signed-off-by: Fabrice Fontaine
Applied to master, thanks.
Regards,
Arnout
> ---
> package/python-gnupg/python-gnupg.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/python-gnupg/python-gnupg.mk b/package/python-gnupg/python-gnupg.mk
> index f16910e517..fda264a0ed 100644
> --- a/package/python-gnupg/python-gnupg.mk
> +++ b/package/python-gnupg/python-gnupg.mk
> @@ -8,6 +8,7 @@ PYTHON_GNUPG_VERSION = 0.4.8
> PYTHON_GNUPG_SITE = https://files.pythonhosted.org/packages/b1/90/75e15ead9693028c05fc7abd25c756c0d1da27bf04a27d6f5c4139d8ee10
> PYTHON_GNUPG_LICENSE = BSD-3-Clause
> PYTHON_GNUPG_LICENSE_FILES = LICENSE.txt
> +PYTHON_GNUPG_CPE_ID_VENDOR = python
> PYTHON_GNUPG_SETUP_TYPE = setuptools
>
> $(eval $(python-package))
From arnout at mind.be Sat Mar 5 14:49:44 2022
From: arnout at mind.be (Arnout Vandecappelle)
Date: Sat, 5 Mar 2022 15:49:44 +0100
Subject: [Buildroot] [PATCH] package/gdb: bump 11.x version to 11.2
In-Reply-To: <20220213220116.144141-1-thomas.petazzoni@bootlin.com>
References: <20220213220116.144141-1-thomas.petazzoni@bootlin.com>
Message-ID: <94702c85-4a62-54fe-017b-eb2cd6ffa26c@mind.be>
On 13/02/2022 23:01, Thomas Petazzoni via buildroot wrote:
> This is a minor corrective release over GDB 11.1, fixing the following issues:
>
> PR sim/28302 (gdb fails to build with glibc 2.34)
> PR build/28318 (std::thread support configure check does not use
> CXX_DIALECT)
> PR gdb/28405 (arm-none-eabi: internal-error: ptid_t
> remote_target::select_thread_for_ambiguous_stop_reply(const
> target_waitstatus*): Assertion `first_resumed_thread != nullptr'
> failed)
> PR tui/28483 ([gdb/tui] breakpoint creation not displayed)
> PR build/28555 (uclibc compile failure since commit 4655f8509fd44e6efabefa373650d9982ff37fd6)
> PR rust/28637 (Rust characters will be encoded using DW_ATE_UTF)
> PR gdb/28758 (GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section)
> PR gdb/28785 (Support SHT_RELR (.relr.dyn) section)
>
> Drop patch 0006-sim-filter-out-SIGSTKSZ-PR-sim-28302.patch, which was
> merged upstream as commit 17d6f2152b583cdc7defafa7813b727a304bac5b.
>
> Drop patch 0008-Fix-build-on-rhES5.patch, which was merged upstream as
> commit df9ebc472a162306dee8ba6e02b99963c2babb7c?
>
> Drop patch 0009-gdbserver-aarch64-support.patch, which was merged
> upstream as commit eb79b2318066cafb75ffdce310e3bbd44f7c79e3.
>
> Signed-off-by: Thomas Petazzoni
Bugfix bump, so applied to master, thanks.
Regards,
Arnout
> ---
> ...sim-filter-out-SIGSTKSZ-PR-sim-28302.patch | 110 ------
> .../gdb/11.1/0008-Fix-build-on-rhES5.patch | 194 -----------
> .../11.1/0010-gdbserver-aarch64-support.patch | 320 ------------------
> ...e-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch | 0
> ...-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch | 0
> .../0003-use-asm-sgidefs.h.patch | 0
> .../0004-gdbserver-fix-build-for-m68k.patch | 0
> ...fork-inferior-include-linux-ptrace.h.patch | 0
> ...etrandom-compile-for-uclibc-v1.0.35.patch} | 0
> .../0007-fix-musl-build-on-riscv.patch | 0
> ...gdbserver-Makefile.in-fix-NLS-build.patch} | 0
> package/gdb/Config.in.host | 2 +-
> package/gdb/gdb.hash | 2 +-
> 13 files changed, 2 insertions(+), 626 deletions(-)
> delete mode 100644 package/gdb/11.1/0006-sim-filter-out-SIGSTKSZ-PR-sim-28302.patch
> delete mode 100644 package/gdb/11.1/0008-Fix-build-on-rhES5.patch
> delete mode 100644 package/gdb/11.1/0010-gdbserver-aarch64-support.patch
> rename package/gdb/{11.1 => 11.2}/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch (100%)
> rename package/gdb/{11.1 => 11.2}/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch (100%)
> rename package/gdb/{11.1 => 11.2}/0003-use-asm-sgidefs.h.patch (100%)
> rename package/gdb/{11.1 => 11.2}/0004-gdbserver-fix-build-for-m68k.patch (100%)
> rename package/gdb/{11.1 => 11.2}/0005-nat-fork-inferior-include-linux-ptrace.h.patch (100%)
> rename package/gdb/{11.1/0007-Fix-getrandom-compile-for-uclibc-v1.0.35.patch => 11.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch} (100%)
> rename package/gdb/{11.1 => 11.2}/0007-fix-musl-build-on-riscv.patch (100%)
> rename package/gdb/{11.1/0009-gdbserver-Makefile.in-fix-NLS-build.patch => 11.2/0008-gdbserver-Makefile.in-fix-NLS-build.patch} (100%)
>
> diff --git a/package/gdb/11.1/0006-sim-filter-out-SIGSTKSZ-PR-sim-28302.patch b/package/gdb/11.1/0006-sim-filter-out-SIGSTKSZ-PR-sim-28302.patch
> deleted file mode 100644
> index d969d98831..0000000000
> --- a/package/gdb/11.1/0006-sim-filter-out-SIGSTKSZ-PR-sim-28302.patch
> +++ /dev/null
> @@ -1,110 +0,0 @@
> -From 7b3df9b8938357c2b0dcf2624e599a76fc4edc02 Mon Sep 17 00:00:00 2001
> -From: Mike Frysinger
> -Date: Sun, 3 Oct 2021 12:02:53 -0400
> -Subject: [PATCH] sim: filter out SIGSTKSZ [PR sim/28302]
> -
> -We map target signals to host signals so we can propagate signals
> -between the host & simulated worlds. That means we need to know
> -the symbolic names & values of all signals that might be sent.
> -
> -The tools that generate that list use signal.h and include all
> -symbols that start with "SIG" so as to automatically include any
> -new symbols that the C library might add. Unfortunately, this
> -also picks up "SIGSTKSZ" which is not actually a signal itself,
> -but a signal related setting -- it's the size of the stack when
> -a signal is handled.
> -
> -By itself this doesn't super matter as we will never see a signal
> -with that same value (since the range of valid signals tend to be
> -way less than 1024, and the size of the default signal stack will
> -never be that small). But with recent glibc changes that make this
> -into a dynamic value instead of a compile-time constant, some users
> -see build failures when building the sim.
> -
> -As suggested by Adam Sampson, update our scripts to ignore this
> -symbol to simplify everything and avoid the build failure.
> -
> -Bug: https://sourceware.org/PR28302
> -
> -[Upstream: https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=39d53d04357606a15efd400147fa7369d71baf2c]
> -Signed-off-by: Peter Seiderer
> ----
> - sim/bfin/linux-targ-map.h | 5 +----
> - sim/common/gennltvals.py | 6 ++++--
> - sim/common/nltvals.def | 1 -
> - 3 files changed, 5 insertions(+), 7 deletions(-)
> -
> -diff --git a/sim/bfin/linux-targ-map.h b/sim/bfin/linux-targ-map.h
> -index e9c8c8f..0340ed5 100644
> ---- a/sim/bfin/linux-targ-map.h
> -+++ b/sim/bfin/linux-targ-map.h
> -@@ -30,6 +30,7 @@ echo
> - # XXX: nothing uses this ?
> - echo '#include ' | \
> - bfin-uclinux-gcc -E -dD -P - | \
> -+grep -v SIGSTKSZ | \
> - sed -r -n \
> - -e '1istatic CB_TARGET_DEFS_MAP cb_linux_signal_map[] = {' \
> - -e '$i\ \ { 0, -1, -1 }\n};' \
> -@@ -1987,10 +1988,6 @@ static CB_TARGET_DEFS_MAP cb_linux_signal_map[] =
> - #ifdef SIG_SETMASK
> - # define TARGET_LINUX_SIG_SETMASK 2
> - { "SIG_SETMASK", SIG_SETMASK, TARGET_LINUX_SIG_SETMASK },
> --#endif
> --#ifdef SIGSTKSZ
> --# define TARGET_LINUX_SIGSTKSZ 8192
> -- { "SIGSTKSZ", SIGSTKSZ, TARGET_LINUX_SIGSTKSZ },
> - #endif
> - { 0, -1, -1 }
> - };
> -diff --git a/sim/common/gennltvals.py b/sim/common/gennltvals.py
> -index b3e558d..bd4d7e9 100755
> ---- a/sim/common/gennltvals.py
> -+++ b/sim/common/gennltvals.py
> -@@ -67,6 +67,7 @@ FILE_HEADER = f"""\
> - def gentvals(output: TextIO, cpp: str, srctype: str, srcdir: Path,
> - headers: Iterable[str],
> - pattern: str,
> -+ filter: str = r'^$',
> - target: str = None):
> - """Extract constants from the specified files using a regular expression.
> -
> -@@ -94,12 +95,13 @@ def gentvals(output: TextIO, cpp: str, srctype: str, srcdir: Path,
> - srcfile = ''.join(f'#include <{x}>\n' for x in headers)
> - syms = set()
> - define_pattern = re.compile(r'^#\s*define\s+(' + pattern + ')')
> -+ filter_pattern = re.compile(filter)
> - for header in headers:
> - with open(srcdir / header, 'r', encoding='utf-8') as fp:
> - data = fp.read()
> - for line in data.splitlines():
> - m = define_pattern.match(line)
> -- if m:
> -+ if m and not filter_pattern.search(line):
> - syms.add(m.group(1))
> - for sym in sorted(syms):
> - srcfile += f'#ifdef {sym}\nDEFVAL {{ "{sym}", {sym} }},\n#endif\n'
> -@@ -129,7 +131,7 @@ def gen_common(output: TextIO, newlib: Path, cpp: str):
> - ('errno.h', 'sys/errno.h'), 'E[A-Z0-9]*')
> -
> - gentvals(output, cpp, 'signal', newlib / 'newlib/libc/include',
> -- ('signal.h', 'sys/signal.h'), r'SIG[A-Z0-9]*')
> -+ ('signal.h', 'sys/signal.h'), r'SIG[A-Z0-9]*', filter=r'SIGSTKSZ')
> -
> - gentvals(output, cpp, 'open', newlib / 'newlib/libc/include',
> - ('fcntl.h', 'sys/fcntl.h', 'sys/_default_fcntl.h'), r'O_[A-Z0-9]*')
> -diff --git a/sim/common/nltvals.def b/sim/common/nltvals.def
> -index 8ae8839..8bc6ae5 100644
> ---- a/sim/common/nltvals.def
> -+++ b/sim/common/nltvals.def
> -@@ -116,7 +116,6 @@
> - { "SIGPROF", 27 },
> - { "SIGQUIT", 3 },
> - { "SIGSEGV", 11 },
> -- { "SIGSTKSZ", 8192 },
> - { "SIGSTOP", 17 },
> - { "SIGSYS", 12 },
> - { "SIGTERM", 15 },
> ---
> -2.33.1
> -
> diff --git a/package/gdb/11.1/0008-Fix-build-on-rhES5.patch b/package/gdb/11.1/0008-Fix-build-on-rhES5.patch
> deleted file mode 100644
> index 2d4e30ffe1..0000000000
> --- a/package/gdb/11.1/0008-Fix-build-on-rhES5.patch
> +++ /dev/null
> @@ -1,194 +0,0 @@
> -From db3aaeda1d6b156100d969edb8c0e674bca6b201 Mon Sep 17 00:00:00 2001
> -From: Tom Tromey
> -Date: Wed, 12 May 2021 12:39:22 -0600
> -Subject: [PATCH] Fix build on rhES5
> -
> -The rhES5 build failed due to an upstream import a while back. The
> -bug here is that, while the 'personality' function exists,
> -ADDR_NO_RANDOMIZE is only defined in , not
> -.
> -
> -However, does not declare the 'personality'
> -function, and and cannot
> -both be included.
> -
> -This patch restores one of the removed configure checks and updates
> -the code to check it.
> -
> -We had this as a local patch at AdaCore, because it seemed like there
> -was no interest upstream. However, now it turns out that this fixes
> -PR build/28555, so I'm sending it now.
> -
> -[Upstream: https://sourceware.org/git?p=binutils-gdb.git;h=0b03c6f03d51f441d999e0cee92f81af543d9373]
> -Signed-off-by: Peter Seiderer
> ----
> - gdb/config.in | 4 ++++
> - gdb/configure | 16 ++++++++++++++++
> - gdb/nat/linux-personality.c | 4 ++++
> - gdbserver/config.in | 4 ++++
> - gdbserver/configure | 16 ++++++++++++++++
> - gdbsupport/common.m4 | 5 +++++
> - gdbsupport/config.in | 4 ++++
> - gdbsupport/configure | 16 ++++++++++++++++
> - 8 files changed, 69 insertions(+)
> -
> -diff --git a/gdb/config.in b/gdb/config.in
> -index 2c30504..776bee9 100644
> ---- a/gdb/config.in
> -+++ b/gdb/config.in
> -@@ -96,6 +96,10 @@
> - /* define if the compiler supports basic C++11 syntax */
> - #undef HAVE_CXX11
> -
> -+/* Define to 1 if you have the declaration of `ADDR_NO_RANDOMIZE', and to 0 if
> -+ you don't. */
> -+#undef HAVE_DECL_ADDR_NO_RANDOMIZE
> -+
> - /* Define to 1 if you have the declaration of `asprintf', and to 0 if you
> - don't. */
> - #undef HAVE_DECL_ASPRINTF
> -diff --git a/gdb/configure b/gdb/configure
> -index 5d89635..27e3194 100755
> ---- a/gdb/configure
> -+++ b/gdb/configure
> -@@ -13838,6 +13838,22 @@ fi
> - done
> -
> -
> -+ # This is needed for RHEL 5 and uclibc-ng < 1.0.39.
> -+ # These did not define ADDR_NO_RANDOMIZE in sys/personality.h,
> -+ # only in linux/personality.h.
> -+ ac_fn_c_check_decl "$LINENO" "ADDR_NO_RANDOMIZE" "ac_cv_have_decl_ADDR_NO_RANDOMIZE" "#include
> -+"
> -+if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = xyes; then :
> -+ ac_have_decl=1
> -+else
> -+ ac_have_decl=0
> -+fi
> -+
> -+cat >>confdefs.h <<_ACEOF
> -+#define HAVE_DECL_ADDR_NO_RANDOMIZE $ac_have_decl
> -+_ACEOF
> -+
> -+
> - ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
> - if test "x$ac_cv_have_decl_strstr" = xyes; then :
> - ac_have_decl=1
> -diff --git a/gdb/nat/linux-personality.c b/gdb/nat/linux-personality.c
> -index 9ce345b..27999fd 100644
> ---- a/gdb/nat/linux-personality.c
> -+++ b/gdb/nat/linux-personality.c
> -@@ -22,6 +22,10 @@
> -
> - #include
> -
> -+# if !HAVE_DECL_ADDR_NO_RANDOMIZE
> -+# define ADDR_NO_RANDOMIZE 0x0040000
> -+# endif /* ! HAVE_DECL_ADDR_NO_RANDOMIZE */
> -+
> - /* See comment on nat/linux-personality.h. */
> -
> - maybe_disable_address_space_randomization::
> -diff --git a/gdbserver/config.in b/gdbserver/config.in
> -index cf06c56..c9258b3 100644
> ---- a/gdbserver/config.in
> -+++ b/gdbserver/config.in
> -@@ -31,6 +31,10 @@
> - /* define if the compiler supports basic C++11 syntax */
> - #undef HAVE_CXX11
> -
> -+/* Define to 1 if you have the declaration of `ADDR_NO_RANDOMIZE', and to 0 if
> -+ you don't. */
> -+#undef HAVE_DECL_ADDR_NO_RANDOMIZE
> -+
> - /* Define to 1 if you have the declaration of `asprintf', and to 0 if you
> - don't. */
> - #undef HAVE_DECL_ASPRINTF
> -diff --git a/gdbserver/configure b/gdbserver/configure
> -index b227167..d399d71 100755
> ---- a/gdbserver/configure
> -+++ b/gdbserver/configure
> -@@ -7131,6 +7131,22 @@ fi
> - done
> -
> -
> -+ # This is needed for RHEL 5 and uclibc-ng < 1.0.39.
> -+ # These did not define ADDR_NO_RANDOMIZE in sys/personality.h,
> -+ # only in linux/personality.h.
> -+ ac_fn_c_check_decl "$LINENO" "ADDR_NO_RANDOMIZE" "ac_cv_have_decl_ADDR_NO_RANDOMIZE" "#include
> -+"
> -+if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = xyes; then :
> -+ ac_have_decl=1
> -+else
> -+ ac_have_decl=0
> -+fi
> -+
> -+cat >>confdefs.h <<_ACEOF
> -+#define HAVE_DECL_ADDR_NO_RANDOMIZE $ac_have_decl
> -+_ACEOF
> -+
> -+
> - ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
> - if test "x$ac_cv_have_decl_strstr" = xyes; then :
> - ac_have_decl=1
> -diff --git a/gdbsupport/common.m4 b/gdbsupport/common.m4
> -index 901c454..56a355e 100644
> ---- a/gdbsupport/common.m4
> -+++ b/gdbsupport/common.m4
> -@@ -55,6 +55,11 @@ AC_DEFUN([GDB_AC_COMMON], [
> - ptrace64 sbrk setns sigaltstack sigprocmask \
> - setpgid setpgrp getrusage getauxval sigtimedwait])
> -
> -+ # This is needed for RHEL 5 and uclibc-ng < 1.0.39.
> -+ # These did not define ADDR_NO_RANDOMIZE in sys/personality.h,
> -+ # only in linux/personality.h.
> -+ AC_CHECK_DECLS([ADDR_NO_RANDOMIZE],,, [#include ])
> -+
> - AC_CHECK_DECLS([strstr])
> -
> - # ----------------------- #
> -diff --git a/gdbsupport/config.in b/gdbsupport/config.in
> -index f46e261..6945a62 100644
> ---- a/gdbsupport/config.in
> -+++ b/gdbsupport/config.in
> -@@ -28,6 +28,10 @@
> - /* define if the compiler supports basic C++11 syntax */
> - #undef HAVE_CXX11
> -
> -+/* Define to 1 if you have the declaration of `ADDR_NO_RANDOMIZE', and to 0 if
> -+ you don't. */
> -+#undef HAVE_DECL_ADDR_NO_RANDOMIZE
> -+
> - /* Define to 1 if you have the declaration of `asprintf', and to 0 if you
> - don't. */
> - #undef HAVE_DECL_ASPRINTF
> -diff --git a/gdbsupport/configure b/gdbsupport/configure
> -index a9dd02c..243a03f 100755
> ---- a/gdbsupport/configure
> -+++ b/gdbsupport/configure
> -@@ -8144,6 +8144,22 @@ fi
> - done
> -
> -
> -+ # This is needed for RHEL 5 and uclibc-ng < 1.0.39.
> -+ # These did not define ADDR_NO_RANDOMIZE in sys/personality.h,
> -+ # only in linux/personality.h.
> -+ ac_fn_c_check_decl "$LINENO" "ADDR_NO_RANDOMIZE" "ac_cv_have_decl_ADDR_NO_RANDOMIZE" "#include
> -+"
> -+if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = xyes; then :
> -+ ac_have_decl=1
> -+else
> -+ ac_have_decl=0
> -+fi
> -+
> -+cat >>confdefs.h <<_ACEOF
> -+#define HAVE_DECL_ADDR_NO_RANDOMIZE $ac_have_decl
> -+_ACEOF
> -+
> -+
> - ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
> - if test "x$ac_cv_have_decl_strstr" = xyes; then :
> - ac_have_decl=1
> ---
> -2.33.1
> -
> diff --git a/package/gdb/11.1/0010-gdbserver-aarch64-support.patch b/package/gdb/11.1/0010-gdbserver-aarch64-support.patch
> deleted file mode 100644
> index 3718b1b6fd..0000000000
> --- a/package/gdb/11.1/0010-gdbserver-aarch64-support.patch
> +++ /dev/null
> @@ -1,320 +0,0 @@
> -From eb79b2318066cafb75ffdce310e3bbd44f7c79e3 Mon Sep 17 00:00:00 2001
> -From: Luis Machado
> -Date: Fri, 29 Oct 2021 14:54:36 -0300
> -Subject: [PATCH] [AArch64] Make gdbserver register set selection dynamic
> -
> -The current register set selection mechanism for AArch64 is static, based
> -on a pre-populated array of register sets.
> -
> -This means that we might potentially probe register sets that are not
> -available. This is OK if the kernel errors out during ptrace, but probing the
> -tag_ctl register, for example, does not result in a ptrace error if the kernel
> -supports the tagged address ABI but not MTE (PR 28355).
> -
> -Making the register set selection dynamic, based on feature checks, solves
> -this and simplifies the code a bit. It allows us to list all of the register
> -sets only once, and pick and choose based on HWCAP/HWCAP2 or other properties.
> -
> -gdb/ChangeLog:
> -
> -2021-11-03 Luis Machado
> -
> - PR gdb/28355
> -
> - * arch/aarch64.h (struct aarch64_features): New struct.
> -
> -gdbserver/ChangeLog:
> -
> -2021-11-03 Luis Machado
> -
> - PR gdb/28355
> -
> - * linux-aarch64-low.cc (is_sve_tdesc): Remove.
> - (aarch64_target::low_arch_setup): Rework to adjust the register sets.
> - (aarch64_regsets): Update to list all register sets.
> - (aarch64_regsets_info, regs_info_aarch64): Replace NULL with nullptr.
> - (aarch64_sve_regsets, aarch64_sve_regsets_info)
> - (regs_info_aarch64_sve): Remove.
> - (aarch64_adjust_register_sets): New.
> - (aarch64_target::get_regs_info): Remove references to removed structs.
> - (initialize_low_arch): Likewise.
> -
> -Backported from: eb79b2318066cafb75ffdce310e3bbd44f7c79e3
> -Signed-off-by: Joachim Wiberg
> ----
> - gdb/arch/aarch64.h | 9 ++
> - gdbserver/linux-aarch64-low.cc | 186 ++++++++++++++++++---------------
> - 4 files changed, 130 insertions(+), 85 deletions(-)
> -
> -diff --git a/gdb/arch/aarch64.h b/gdb/arch/aarch64.h
> -index 0eb702c5b5e..95edb664b55 100644
> ---- a/gdb/arch/aarch64.h
> -+++ b/gdb/arch/aarch64.h
> -@@ -22,6 +22,15 @@
> -
> - #include "gdbsupport/tdesc.h"
> -
> -+/* Holds information on what architectural features are available. This is
> -+ used to select register sets. */
> -+struct aarch64_features
> -+{
> -+ bool sve = false;
> -+ bool pauth = false;
> -+ bool mte = false;
> -+};
> -+
> - /* Create the aarch64 target description. A non zero VQ value indicates both
> - the presence of SVE and the Vector Quotient - the number of 128bit chunks in
> - an SVE Z register. HAS_PAUTH_P indicates the presence of the PAUTH
> -diff --git a/gdbserver/linux-aarch64-low.cc b/gdbserver/linux-aarch64-low.cc
> -index daccfef746e..9a8cb4169a7 100644
> ---- a/gdbserver/linux-aarch64-low.cc
> -+++ b/gdbserver/linux-aarch64-low.cc
> -@@ -196,16 +196,6 @@ is_64bit_tdesc (void)
> - return register_size (regcache->tdesc, 0) == 8;
> - }
> -
> --/* Return true if the regcache contains the number of SVE registers. */
> --
> --static bool
> --is_sve_tdesc (void)
> --{
> -- struct regcache *regcache = get_thread_regcache (current_thread, 0);
> --
> -- return tdesc_contains_feature (regcache->tdesc, "org.gnu.gdb.aarch64.sve");
> --}
> --
> - static void
> - aarch64_fill_gregset (struct regcache *regcache, void *buf)
> - {
> -@@ -680,40 +670,6 @@ aarch64_target::low_new_fork (process_info *parent,
> - *child->priv->arch_private = *parent->priv->arch_private;
> - }
> -
> --/* Matches HWCAP_PACA in kernel header arch/arm64/include/uapi/asm/hwcap.h. */
> --#define AARCH64_HWCAP_PACA (1 << 30)
> --
> --/* Implementation of linux target ops method "low_arch_setup". */
> --
> --void
> --aarch64_target::low_arch_setup ()
> --{
> -- unsigned int machine;
> -- int is_elf64;
> -- int tid;
> --
> -- tid = lwpid_of (current_thread);
> --
> -- is_elf64 = linux_pid_exe_is_elf_64_file (tid, &machine);
> --
> -- if (is_elf64)
> -- {
> -- uint64_t vq = aarch64_sve_get_vq (tid);
> -- unsigned long hwcap = linux_get_hwcap (8);
> -- unsigned long hwcap2 = linux_get_hwcap2 (8);
> -- bool pauth_p = hwcap & AARCH64_HWCAP_PACA;
> -- /* MTE is AArch64-only. */
> -- bool mte_p = hwcap2 & HWCAP2_MTE;
> --
> -- current_process ()->tdesc
> -- = aarch64_linux_read_description (vq, pauth_p, mte_p);
> -- }
> -- else
> -- current_process ()->tdesc = aarch32_linux_read_description ();
> --
> -- aarch64_linux_get_debug_reg_capacity (lwpid_of (current_thread));
> --}
> --
> - /* Wrapper for aarch64_sve_regs_copy_to_reg_buf. */
> -
> - static void
> -@@ -730,21 +686,36 @@ aarch64_sve_regs_copy_from_regcache (struct regcache *regcache, void *buf)
> - return aarch64_sve_regs_copy_from_reg_buf (regcache, buf);
> - }
> -
> -+/* Array containing all the possible register sets for AArch64/Linux. During
> -+ architecture setup, these will be checked against the HWCAP/HWCAP2 bits for
> -+ validity and enabled/disabled accordingly.
> -+
> -+ Their sizes are set to 0 here, but they will be adjusted later depending
> -+ on whether each register set is available or not. */
> - static struct regset_info aarch64_regsets[] =
> - {
> -+ /* GPR registers. */
> - { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_PRSTATUS,
> -- sizeof (struct user_pt_regs), GENERAL_REGS,
> -+ 0, GENERAL_REGS,
> - aarch64_fill_gregset, aarch64_store_gregset },
> -+ /* Floating Point (FPU) registers. */
> - { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_FPREGSET,
> -- sizeof (struct user_fpsimd_state), FP_REGS,
> -+ 0, FP_REGS,
> - aarch64_fill_fpregset, aarch64_store_fpregset
> - },
> -+ /* Scalable Vector Extension (SVE) registers. */
> -+ { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_ARM_SVE,
> -+ 0, EXTENDED_REGS,
> -+ aarch64_sve_regs_copy_from_regcache, aarch64_sve_regs_copy_to_regcache
> -+ },
> -+ /* PAC registers. */
> - { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_ARM_PAC_MASK,
> -- AARCH64_PAUTH_REGS_SIZE, OPTIONAL_REGS,
> -- NULL, aarch64_store_pauthregset },
> -+ 0, OPTIONAL_REGS,
> -+ nullptr, aarch64_store_pauthregset },
> -+ /* Tagged address control / MTE registers. */
> - { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_ARM_TAGGED_ADDR_CTRL,
> -- AARCH64_LINUX_SIZEOF_MTE, OPTIONAL_REGS, aarch64_fill_mteregset,
> -- aarch64_store_mteregset },
> -+ 0, OPTIONAL_REGS,
> -+ aarch64_fill_mteregset, aarch64_store_mteregset },
> - NULL_REGSET
> - };
> -
> -@@ -752,47 +723,95 @@ static struct regsets_info aarch64_regsets_info =
> - {
> - aarch64_regsets, /* regsets */
> - 0, /* num_regsets */
> -- NULL, /* disabled_regsets */
> -+ nullptr, /* disabled_regsets */
> - };
> -
> - static struct regs_info regs_info_aarch64 =
> - {
> -- NULL, /* regset_bitmap */
> -- NULL, /* usrregs */
> -+ nullptr, /* regset_bitmap */
> -+ nullptr, /* usrregs */
> - &aarch64_regsets_info,
> - };
> -
> --static struct regset_info aarch64_sve_regsets[] =
> -+/* Given FEATURES, adjust the available register sets by setting their
> -+ sizes. A size of 0 means the register set is disabled and won't be
> -+ used. */
> -+
> -+static void
> -+aarch64_adjust_register_sets (const struct aarch64_features &features)
> - {
> -- { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_PRSTATUS,
> -- sizeof (struct user_pt_regs), GENERAL_REGS,
> -- aarch64_fill_gregset, aarch64_store_gregset },
> -- { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_ARM_SVE,
> -- SVE_PT_SIZE (AARCH64_MAX_SVE_VQ, SVE_PT_REGS_SVE), EXTENDED_REGS,
> -- aarch64_sve_regs_copy_from_regcache, aarch64_sve_regs_copy_to_regcache
> -- },
> -- { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_ARM_PAC_MASK,
> -- AARCH64_PAUTH_REGS_SIZE, OPTIONAL_REGS,
> -- NULL, aarch64_store_pauthregset },
> -- { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_ARM_TAGGED_ADDR_CTRL,
> -- AARCH64_LINUX_SIZEOF_MTE, OPTIONAL_REGS, aarch64_fill_mteregset,
> -- aarch64_store_mteregset },
> -- NULL_REGSET
> --};
> -+ struct regset_info *regset;
> -
> --static struct regsets_info aarch64_sve_regsets_info =
> -- {
> -- aarch64_sve_regsets, /* regsets. */
> -- 0, /* num_regsets. */
> -- NULL, /* disabled_regsets. */
> -- };
> -+ for (regset = aarch64_regsets; regset->size >= 0; regset++)
> -+ {
> -+ switch (regset->nt_type)
> -+ {
> -+ case NT_PRSTATUS:
> -+ /* General purpose registers are always present. */
> -+ regset->size = sizeof (struct user_pt_regs);
> -+ break;
> -+ case NT_FPREGSET:
> -+ /* This is unavailable when SVE is present. */
> -+ if (!features.sve)
> -+ regset->size = sizeof (struct user_fpsimd_state);
> -+ break;
> -+ case NT_ARM_SVE:
> -+ if (features.sve)
> -+ regset->size = SVE_PT_SIZE (AARCH64_MAX_SVE_VQ, SVE_PT_REGS_SVE);
> -+ break;
> -+ case NT_ARM_PAC_MASK:
> -+ if (features.pauth)
> -+ regset->size = AARCH64_PAUTH_REGS_SIZE;
> -+ break;
> -+ case NT_ARM_TAGGED_ADDR_CTRL:
> -+ if (features.mte)
> -+ regset->size = AARCH64_LINUX_SIZEOF_MTE;
> -+ break;
> -+ default:
> -+ gdb_assert_not_reached ("Unknown register set found.");
> -+ }
> -+ }
> -+}
> -
> --static struct regs_info regs_info_aarch64_sve =
> -- {
> -- NULL, /* regset_bitmap. */
> -- NULL, /* usrregs. */
> -- &aarch64_sve_regsets_info,
> -- };
> -+/* Matches HWCAP_PACA in kernel header arch/arm64/include/uapi/asm/hwcap.h. */
> -+#define AARCH64_HWCAP_PACA (1 << 30)
> -+
> -+/* Implementation of linux target ops method "low_arch_setup". */
> -+
> -+void
> -+aarch64_target::low_arch_setup ()
> -+{
> -+ unsigned int machine;
> -+ int is_elf64;
> -+ int tid;
> -+
> -+ tid = lwpid_of (current_thread);
> -+
> -+ is_elf64 = linux_pid_exe_is_elf_64_file (tid, &machine);
> -+
> -+ if (is_elf64)
> -+ {
> -+ struct aarch64_features features;
> -+
> -+ uint64_t vq = aarch64_sve_get_vq (tid);
> -+ features.sve = (vq > 0);
> -+ /* A-profile PAC is 64-bit only. */
> -+ features.pauth = linux_get_hwcap (8) & AARCH64_HWCAP_PACA;
> -+ /* A-profile MTE is 64-bit only. */
> -+ features.mte = linux_get_hwcap2 (8) & HWCAP2_MTE;
> -+
> -+ current_process ()->tdesc
> -+ = aarch64_linux_read_description (vq, features.pauth, features.mte);
> -+
> -+ /* Adjust the register sets we should use for this particular set of
> -+ features. */
> -+ aarch64_adjust_register_sets (features);
> -+ }
> -+ else
> -+ current_process ()->tdesc = aarch32_linux_read_description ();
> -+
> -+ aarch64_linux_get_debug_reg_capacity (lwpid_of (current_thread));
> -+}
> -
> - /* Implementation of linux target ops method "get_regs_info". */
> -
> -@@ -802,9 +821,7 @@ aarch64_target::get_regs_info ()
> - if (!is_64bit_tdesc ())
> - return ®s_info_aarch32;
> -
> -- if (is_sve_tdesc ())
> -- return ®s_info_aarch64_sve;
> --
> -+ /* AArch64 64-bit registers. */
> - return ®s_info_aarch64;
> - }
> -
> -@@ -3294,5 +3311,4 @@ initialize_low_arch (void)
> - initialize_low_arch_aarch32 ();
> -
> - initialize_regsets_info (&aarch64_regsets_info);
> -- initialize_regsets_info (&aarch64_sve_regsets_info);
> - }
> ---
> -2.27.0
> -
> diff --git a/package/gdb/11.1/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch b/package/gdb/11.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
> similarity index 100%
> rename from package/gdb/11.1/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
> rename to package/gdb/11.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
> diff --git a/package/gdb/11.1/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch b/package/gdb/11.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch
> similarity index 100%
> rename from package/gdb/11.1/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch
> rename to package/gdb/11.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch
> diff --git a/package/gdb/11.1/0003-use-asm-sgidefs.h.patch b/package/gdb/11.2/0003-use-asm-sgidefs.h.patch
> similarity index 100%
> rename from package/gdb/11.1/0003-use-asm-sgidefs.h.patch
> rename to package/gdb/11.2/0003-use-asm-sgidefs.h.patch
> diff --git a/package/gdb/11.1/0004-gdbserver-fix-build-for-m68k.patch b/package/gdb/11.2/0004-gdbserver-fix-build-for-m68k.patch
> similarity index 100%
> rename from package/gdb/11.1/0004-gdbserver-fix-build-for-m68k.patch
> rename to package/gdb/11.2/0004-gdbserver-fix-build-for-m68k.patch
> diff --git a/package/gdb/11.1/0005-nat-fork-inferior-include-linux-ptrace.h.patch b/package/gdb/11.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch
> similarity index 100%
> rename from package/gdb/11.1/0005-nat-fork-inferior-include-linux-ptrace.h.patch
> rename to package/gdb/11.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch
> diff --git a/package/gdb/11.1/0007-Fix-getrandom-compile-for-uclibc-v1.0.35.patch b/package/gdb/11.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch
> similarity index 100%
> rename from package/gdb/11.1/0007-Fix-getrandom-compile-for-uclibc-v1.0.35.patch
> rename to package/gdb/11.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch
> diff --git a/package/gdb/11.1/0007-fix-musl-build-on-riscv.patch b/package/gdb/11.2/0007-fix-musl-build-on-riscv.patch
> similarity index 100%
> rename from package/gdb/11.1/0007-fix-musl-build-on-riscv.patch
> rename to package/gdb/11.2/0007-fix-musl-build-on-riscv.patch
> diff --git a/package/gdb/11.1/0009-gdbserver-Makefile.in-fix-NLS-build.patch b/package/gdb/11.2/0008-gdbserver-Makefile.in-fix-NLS-build.patch
> similarity index 100%
> rename from package/gdb/11.1/0009-gdbserver-Makefile.in-fix-NLS-build.patch
> rename to package/gdb/11.2/0008-gdbserver-Makefile.in-fix-NLS-build.patch
> diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
> index 56999fa9e0..d3dea0b0a7 100644
> --- a/package/gdb/Config.in.host
> +++ b/package/gdb/Config.in.host
> @@ -71,7 +71,7 @@ config BR2_GDB_VERSION
> default "4ecb98fbc2f94dbe01b69384afbc515107de73df" if BR2_csky
> default "9.2" if BR2_GDB_VERSION_9_2
> default "10.2" if BR2_GDB_VERSION_10 || !BR2_PACKAGE_HOST_GDB
> - default "11.1" if BR2_GDB_VERSION_11
> + default "11.2" if BR2_GDB_VERSION_11
> depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
>
> # recent gdb versions (>= 10) have gdbserver moved at the top-level,
> diff --git a/package/gdb/gdb.hash b/package/gdb/gdb.hash
> index d3e83af0b9..e7933374f1 100644
> --- a/package/gdb/gdb.hash
> +++ b/package/gdb/gdb.hash
> @@ -1,7 +1,7 @@
> # From ftp://gcc.gnu.org/pub/gdb/releases/sha512.sum
> sha512 73635f00f343117aa5e2436f1e1597099e2bfb31ef7bb162b273fa1ea282c3fa9b0f52762e70bfc7ad0334addb8d159e9ac7cbe5998ca4f755ea8cf90714d274 gdb-9.2.tar.xz
> sha512 3653762ac008e065c37cd641653184c9ff7ce51ee2222ade1122bec9d6cc64dffd4fb74888ef11ac1942064a08910e96b7865112ad37f4602eb0a16bed074caa gdb-10.2.tar.xz
> -sha512 c40bf970e2f7c2107b29c5aa6a7150daa709d75ddadb73ac20742419d4637d158e3063a4c6ff6e47fae8ca8e1d36253973f85ea15445d004be6d5d7a2dd9bd46 gdb-11.1.tar.xz
> +sha512 07e9026423438049b11f4f784d57401ece4e940570f613bd6958b3714fe7fbc2c048470bcce3e7d7d9f93331cdf3881d30dcc964cb113a071143a02b28e5b127 gdb-11.2.tar.xz
>
> # Locally calculated (fetched from Github)
> sha512 5a2acf2fd33ab2ff589e1037ca40abda54328997dcff26b2b49b874bd3be980be5a63342962254f3c3bda98e32ce7a33af704d37353352833dee193135600458 gdb-arc-2020.09-release-gdb.tar.gz
From arnout at mind.be Sat Mar 5 14:50:11 2022
From: arnout at mind.be (Arnout Vandecappelle)
Date: Sat, 5 Mar 2022 15:50:11 +0100
Subject: [Buildroot] [PATCH] package/python-cryptography: needs cargo
env when downloading
In-Reply-To: <20220214102829.156331-1-yann.morin.1998@free.fr>
References: <20220214102829.156331-1-yann.morin.1998@free.fr>
Message-ID: <03a17198-1047-f356-908e-358a2936f899@mind.be>
On 14/02/2022 11:28, Yann E. MORIN wrote:
> python-cryptography is a python package, but it internally builds a rust
> crate. As such, it needs to be vendored at install time.
>
> Currently, we only pass the path to the sub-directory where the rust
> source is in the package tree, but calling cargo needs additional
> variables, most notably it needs CARGO_HOME to be set in the
> environment, otherwise it ends up writing in the user's own cargo home,
> which is by default ~/.cargo/
>
> We do not really know what variables are used at vendor tie, so we pass
> the full Cargo environment, that we pass when building target packages.
>
> Signed-off-by: Yann E. MORIN
> Cc: Thomas Petazzoni
> Cc: Yegor Yefremov
> Cc: Asaf Kahlon
Applied to master, thanks.
Regards,
Arnout
> ---
> package/python-cryptography/python-cryptography.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk
> index e642691bc5..a524f729c8 100644
> --- a/package/python-cryptography/python-cryptography.mk
> +++ b/package/python-cryptography/python-cryptography.mk
> @@ -24,6 +24,7 @@ PYTHON_CRYPTOGRAPHY_ENV = \
> PYTHON_CRYPTOGRAPHY_DOWNLOAD_POST_PROCESS = cargo
> PYTHON_CRYPTOGRAPHY_DOWNLOAD_DEPENDENCIES = host-rustc
> PYTHON_CRYPTOGRAPHY_DL_ENV = \
> + $(PKG_CARGO_ENV) \
> BR_CARGO_MANIFEST_PATH=src/rust/Cargo.toml
>
> $(eval $(python-package))
From arnout at mind.be Sat Mar 5 14:50:40 2022
From: arnout at mind.be (Arnout Vandecappelle)
Date: Sat, 5 Mar 2022 15:50:40 +0100
Subject: [Buildroot] [PATCH/next 1/1] package/libgee: bump to version
0.20.5
In-Reply-To: <20220214102959.1740165-1-fontaine.fabrice@gmail.com>
References: <20220214102959.1740165-1-fontaine.fabrice@gmail.com>
Message-ID: <89896379-d684-bd0d-0017-4c0c5ed14c02@mind.be>
On 14/02/2022 11:29, Fabrice Fontaine wrote:
> Drop patch (already in version) and so autoreconf
>
> https://gitlab.gnome.org/GNOME/libgee/-/blob/0.20.5/NEWS
>
> Signed-off-by: Fabrice Fontaine
Bugfix version bump, so applied to master, thanks.
Regards,
Arnout
> ---
> ...le.am-include-Makefile.introspection.patch | 40 -------------------
> package/libgee/libgee.hash | 4 +-
> package/libgee/libgee.mk | 4 +-
> 3 files changed, 3 insertions(+), 45 deletions(-)
> delete mode 100644 package/libgee/0001-gee-Makefile.am-include-Makefile.introspection.patch
>
> diff --git a/package/libgee/0001-gee-Makefile.am-include-Makefile.introspection.patch b/package/libgee/0001-gee-Makefile.am-include-Makefile.introspection.patch
> deleted file mode 100644
> index 0906275ae3..0000000000
> --- a/package/libgee/0001-gee-Makefile.am-include-Makefile.introspection.patch
> +++ /dev/null
> @@ -1,40 +0,0 @@
> -From d771e8ddb5e40f234459966e46880d10f34aaa1a Mon Sep 17 00:00:00 2001
> -From: Fabrice Fontaine
> -Date: Sat, 20 Nov 2021 23:57:33 +0100
> -Subject: [PATCH] gee/Makefile.am: include Makefile.introspection
> -
> -Include Makefile.introspection instead of using a custom rule which will
> -result in the following build failure when cross-compiling on buildroot
> -because of missing --includedir:
> -
> -/home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/../riscv32-buildroot-linux-gnu/sysroot/usr/bin/g-ir-compiler -l `/usr/bin/sed -nE "s/^dlname='([A-Za-z0-9.+-]+)'/\1/p" libgee-0.8.la` -o Gee-0.8.typelib Gee-0.8.gir libgee-0.8.la
> -Could not find GIR file 'GObject-2.0.gir'; check XDG_DATA_DIRS or use --includedir
> -error parsing file Gee-0.8.gir: Failed to parse included gir GObject-2.0
> -
> -Fixes:
> - - http://autobuild.buildroot.org/results/884faa0f84c8dc43ed1ca6cde9caf21c731a4b35
> -
> -Signed-off-by: Fabrice Fontaine
> -[Upstream status:
> -https://gitlab.gnome.org/GNOME/libgee/-/merge_requests/8]
> ----
> - gee/Makefile.am | 3 ++-
> - 1 file changed, 2 insertions(+), 1 deletion(-)
> -
> -diff --git a/gee/Makefile.am b/gee/Makefile.am
> -index 5634bcb..e0d950e 100644
> ---- a/gee/Makefile.am
> -+++ b/gee/Makefile.am
> -@@ -167,7 +167,8 @@ INTROSPECTION_COMPILER_ARGS= \
> - -l $(libgee_dlname)
> - Gee-0.8.gir: libgee_0_8_la_vala.stamp
> - Gee-0.8.typelib: Gee-0.8.gir libgee-0.8.la
> -- @INTROSPECTION_COMPILER@ $(INTROSPECTION_COMPILER_ARGS) -o $@ $^
> -+
> -+-include $(INTROSPECTION_MAKEFILE)
> - endif
> -
> - MOSTLYCLEANFILES = \
> ---
> -2.33.0
> -
> diff --git a/package/libgee/libgee.hash b/package/libgee/libgee.hash
> index 72d2c21ced..54a46f954c 100644
> --- a/package/libgee/libgee.hash
> +++ b/package/libgee/libgee.hash
> @@ -1,5 +1,5 @@
> -# From http://ftp.acc.umu.se/pub/gnome/sources/libgee/0.20/libgee-0.20.4.sha256sum
> -sha256 524c1bf390f9cdda4fbd9a47b269980dc64ab5280f0801b53bc69d782c72de0e libgee-0.20.4.tar.xz
> +# From http://ftp.acc.umu.se/pub/gnome/sources/libgee/0.20/libgee-0.20.5.sha256sum
> +sha256 31863a8957d5a727f9067495cabf0a0889fa5d3d44626e54094331188d5c1518 libgee-0.20.5.tar.xz
>
> # Hash for license file:
> sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING
> diff --git a/package/libgee/libgee.mk b/package/libgee/libgee.mk
> index 64beef30df..7d8d3d4863 100644
> --- a/package/libgee/libgee.mk
> +++ b/package/libgee/libgee.mk
> @@ -5,7 +5,7 @@
> ################################################################################
>
> LIBGEE_VERSION_MAJOR = 0.20
> -LIBGEE_VERSION = $(LIBGEE_VERSION_MAJOR).4
> +LIBGEE_VERSION = $(LIBGEE_VERSION_MAJOR).5
> LIBGEE_SITE = http://ftp.gnome.org/pub/gnome/sources/libgee/$(LIBGEE_VERSION_MAJOR)
> LIBGEE_SOURCE = libgee-$(LIBGEE_VERSION).tar.xz
> LIBGEE_DEPENDENCIES = host-pkgconf host-vala libglib2
> @@ -13,8 +13,6 @@ LIBGEE_INSTALL_STAGING = YES
> LIBGEE_LICENSE = LGPL-2.1+
> LIBGEE_LICENSE_FILES = COPYING
> LIBGEE_CPE_ID_VENDOR = gnome
> -# We're patching gee/Makefile.am
> -LIBGEE_AUTORECONF = YES
>
> ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
> LIBGEE_CONF_OPTS += --enable-introspection
From arnout at mind.be Sat Mar 5 14:51:20 2022
From: arnout at mind.be (Arnout Vandecappelle)
Date: Sat, 5 Mar 2022 15:51:20 +0100
Subject: [Buildroot] [PATCH v1] package/util-linux: bump version to
2.37.4 (fixes CVE-2022-0563)
In-Reply-To: <20220214154925.6014-1-ps.report@gmx.net>
References: <20220214154925.6014-1-ps.report@gmx.net>
Message-ID: <2c28b619-784f-6cf5-b2e1-6cae707051be@mind.be>
On 14/02/2022 16:49, Peter Seiderer wrote:
> For details see [1] and [2].
>
> [1] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.37/v2.37.4-ChangeLog
> [2] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.37/v2.37.4-ReleaseNotes
>
> Signed-off-by: Peter Seiderer
Bugfix bump, so applied to master, thanks.
Regards,
Arnout
> ---
> package/util-linux/util-linux.hash | 2 +-
> package/util-linux/util-linux.mk | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/util-linux/util-linux.hash b/package/util-linux/util-linux.hash
> index 9c10a42dca..748a36e0be 100644
> --- a/package/util-linux/util-linux.hash
> +++ b/package/util-linux/util-linux.hash
> @@ -1,5 +1,5 @@
> # From https://www.kernel.org/pub/linux/utils/util-linux/v2.37/sha256sums.asc
> -sha256 590c592e58cd6bf38519cb467af05ce6a1ab18040e3e3418f24bcfb2f55f9776 util-linux-2.37.3.tar.xz
> +sha256 634e6916ad913366c3536b6468e7844769549b99a7b2bf80314de78ab5655b83 util-linux-2.37.4.tar.xz
> # License files, locally calculated
> sha256 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955 README.licensing
> sha256 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d Documentation/licenses/COPYING.BSD-3-Clause
> diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
> index a25b69d910..891c17d1d9 100644
> --- a/package/util-linux/util-linux.mk
> +++ b/package/util-linux/util-linux.mk
> @@ -8,7 +8,7 @@
> # util-linux-libs/util-linux-libs.mk needs to be updated accordingly as well.
>
> UTIL_LINUX_VERSION_MAJOR = 2.37
> -UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).3
> +UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).4
> UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VERSION).tar.xz
> UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v$(UTIL_LINUX_VERSION_MAJOR)
>
From arnout at mind.be Sat Mar 5 14:54:22 2022
From: arnout at mind.be (Arnout Vandecappelle)
Date: Sat, 5 Mar 2022 15:54:22 +0100
Subject: [Buildroot] [PATCH 1/1] package/qt5/qt5base: put back riscv32
patch
In-Reply-To: <20220217134637.3728619-1-fontaine.fabrice@gmail.com>
References: <20220217134637.3728619-1-fontaine.fabrice@gmail.com>
Message-ID: <16d9e405-ee35-a02c-c17f-5abfd21d4b87@mind.be>
On 17/02/2022 14:46, Fabrice Fontaine wrote:
> Commit 5770a645a3a49a3f0f02972131a4ff5283b4c11e wrongly removed riscv32
> patch resulting in the following build failure:
>
> In file included from thread/qmutex_linux.cpp:45,
> from thread/qmutex.cpp:806:
> thread/qfutex_p.h: In function 'int QtLinuxFutex::_q_futex(int*, int, int, quintptr, int*, int)':
> thread/qfutex_p.h:116:30: error: '__NR_futex' was not declared in this scope; did you mean '_q_futex'?
> 116 | int result = syscall(__NR_futex, addr, op | FUTEX_PRIVATE_FLAG, val, val2, addr2, val3);
> | ^~~~~~~~~~
> | _q_futex
>
> Fixes:
> - http://autobuild.buildroot.org/results/ff90bc7680acf1487ed58e5e25cf1a5f13dfaedb
>
> Signed-off-by: Fabrice Fontaine
Applied to master, thanks.
Regards,
Arnout
> ---
> .../qt5base/0007-Fix-build-on-riscv32.patch | 46 +++++++++++++++++++
> 1 file changed, 46 insertions(+)
> create mode 100644 package/qt5/qt5base/0007-Fix-build-on-riscv32.patch
>
> diff --git a/package/qt5/qt5base/0007-Fix-build-on-riscv32.patch b/package/qt5/qt5base/0007-Fix-build-on-riscv32.patch
> new file mode 100644
> index 0000000000..5561acb9ae
> --- /dev/null
> +++ b/package/qt5/qt5base/0007-Fix-build-on-riscv32.patch
> @@ -0,0 +1,46 @@
> +From 035dc537bee26e3b63a211b2835d8560439e161f Mon Sep 17 00:00:00 2001
> +From: Fabrice Fontaine
> +Date: Fri, 27 Aug 2021 16:28:32 +0200
> +Subject: Fix build on riscv32
> +
> +riscv32 fails to build because __NR_futex is not defined on this
> +architecture:
> +
> +In file included from thread/qmutex_linux.cpp:45,
> + from thread/qmutex.cpp:804:
> +thread/qfutex_p.h: In function 'int QtLinuxFutex::_q_futex(int*, int, int, quintptr, int*, int)':
> +thread/qfutex_p.h:116:30: error: '__NR_futex' was not declared in this scope; did you mean '_q_futex'?
> + 116 | int result = syscall(__NR_futex, addr, op | FUTEX_PRIVATE_FLAG, val, val2, addr2, val3);
> + | ^~~~~~~~~~
> + | _q_futex
> +
> +Pick-to: 6.1 6.2
> +Fixes: QTBUG-96067
> +Change-Id: Ib6a9bcc496f37e69ac39362cb0a021fccaf311f5
> +Reviewed-by: Thiago Macieira
> +[Retrieved from:
> +https://code.qt.io/cgit/qt/qtbase.git/commit/?id=035dc537bee26e3b63a211b2835d8560439e161f]
> +Signed-off-by: Fabrice Fontaine
> +---
> + src/corelib/thread/qfutex_p.h | 5 +++++
> + 1 file changed, 5 insertions(+)
> +
> +diff --git a/src/corelib/thread/qfutex_p.h b/src/corelib/thread/qfutex_p.h
> +index 40482b6fc1..037207a5c0 100644
> +--- a/src/corelib/thread/qfutex_p.h
> ++++ b/src/corelib/thread/qfutex_p.h
> +@@ -103,6 +103,11 @@ QT_END_NAMESPACE
> + // if not defined in linux/futex.h
> + # define FUTEX_PRIVATE_FLAG 128 // added in v2.6.22
> +
> ++// RISC-V does not supply __NR_futex
> ++# ifndef __NR_futex
> ++# define __NR_futex __NR_futex_time64
> ++# endif
> ++
> + QT_BEGIN_NAMESPACE
> + namespace QtLinuxFutex {
> + constexpr inline bool futexAvailable() { return true; }
> +--
> +cgit v1.2.1
> +
From arnout at mind.be Sat Mar 5 14:05:44 2022
From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind))
Date: Sat, 5 Mar 2022 15:05:44 +0100
Subject: [Buildroot] [git commit] package/zabbix: add ZABBIX_CPE_ID_VENDOR
Message-ID: <20220305144636.A98E9826CD@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=ff3b0a0aee9e49de9c11dbc889f718969fdbc256
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
cpe:2.3:a:zabbix:zabbix is a valid CPE identifier for this package:
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Azabbix%3Azabbix
Signed-off-by: Fabrice Fontaine
Signed-off-by: Arnout Vandecappelle (Essensium/Mind)
---
package/zabbix/zabbix.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/zabbix/zabbix.mk b/package/zabbix/zabbix.mk
index e72d831b46..e6564e68fd 100644
--- a/package/zabbix/zabbix.mk
+++ b/package/zabbix/zabbix.mk
@@ -9,6 +9,7 @@ ZABBIX_VERSION = $(ZABBIX_VERSION_MAJOR).9
ZABBIX_SITE = https://cdn.zabbix.com/zabbix/sources/stable/$(ZABBIX_VERSION_MAJOR)
ZABBIX_LICENSE = GPL-2.0+
ZABBIX_LICENSE_FILES = README COPYING
+ZABBIX_CPE_ID_VENDOR = zabbix
ZABBIX_DEPENDENCIES = pcre
ZABBIX_CONF_OPTS = \
From arnout at mind.be Sat Mar 5 14:05:55 2022
From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind))
Date: Sat, 5 Mar 2022 15:05:55 +0100
Subject: [Buildroot] [git commit] package/python-gnupg: add
PYTHON_GNUPG_CPE_ID_VENDOR
Message-ID: <20220305144636.B2491826D4@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=b314ce8f7efe6c6cd6b57b35b86d7e973f2d919f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
cpe:2.3:a:python:python-gnupg is a valid CPE identifier for this
package:
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Apython%3Apython-gnupg
Signed-off-by: Fabrice Fontaine
Signed-off-by: Arnout Vandecappelle (Essensium/Mind)
---
package/python-gnupg/python-gnupg.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/python-gnupg/python-gnupg.mk b/package/python-gnupg/python-gnupg.mk
index f16910e517..fda264a0ed 100644
--- a/package/python-gnupg/python-gnupg.mk
+++ b/package/python-gnupg/python-gnupg.mk
@@ -8,6 +8,7 @@ PYTHON_GNUPG_VERSION = 0.4.8
PYTHON_GNUPG_SITE = https://files.pythonhosted.org/packages/b1/90/75e15ead9693028c05fc7abd25c756c0d1da27bf04a27d6f5c4139d8ee10
PYTHON_GNUPG_LICENSE = BSD-3-Clause
PYTHON_GNUPG_LICENSE_FILES = LICENSE.txt
+PYTHON_GNUPG_CPE_ID_VENDOR = python
PYTHON_GNUPG_SETUP_TYPE = setuptools
$(eval $(python-package))
From arnout at mind.be Sat Mar 5 14:05:19 2022
From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind))
Date: Sat, 5 Mar 2022 15:05:19 +0100
Subject: [Buildroot] [git commit] package/bpftool: needs headers >= 4.12
Message-ID: <20220305144636.9F725826C4@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=e0d94c6104496373476919931553fe58d5e927a5
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
NETLINK_EXT_ACK is only available since kernel 4.12 and
https://github.com/torvalds/linux/commit/2d4bc93368f5a0ddb57c8c885cdad9c9b7a10ed5
resulting in the following build failure since addition of the package
in commit 3675131e6c654d7536a184db0184fde7a97040e0:
net.c: In function 'netlink_open':
net.c:110:36: error: 'NETLINK_EXT_ACK' undeclared (first use in this function); did you mean 'NETLINK_CAP_ACK'?
110 | if (setsockopt(sock, SOL_NETLINK, NETLINK_EXT_ACK,
| ^~~~~~~~~~~~~~~
| NETLINK_CAP_ACK
Fixes:
- http://autobuild.buildroot.org/results/c61678e56bd73609838747048f27068818c21150
Signed-off-by: Fabrice Fontaine
Signed-off-by: Arnout Vandecappelle (Essensium/Mind)
---
package/bpftool/Config.in | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/package/bpftool/Config.in b/package/bpftool/Config.in
index 39475aa962..e81d874343 100644
--- a/package/bpftool/Config.in
+++ b/package/bpftool/Config.in
@@ -5,14 +5,16 @@ config BR2_PACKAGE_BPFTOOL
depends on !BR2_STATIC_LIBS # elfutils
depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
select BR2_PACKAGE_BINUTILS
select BR2_PACKAGE_ELFUTILS
help
bpftool is a tool for for inspection and simple manipulation
of eBPF programs and maps.
-comment "bpftool needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads"
+comment "bpftool needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.12"
depends on !BR2_nios2
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
|| !BR2_TOOLCHAIN_HAS_THREADS \
- || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
+ || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) \
+ || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
From arnout at mind.be Sat Mar 5 14:08:29 2022
From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind))
Date: Sat, 5 Mar 2022 15:08:29 +0100
Subject: [Buildroot] [git commit] package/python-cryptography: needs cargo
env when downloading
Message-ID: <20220305144636.C8B13826CD@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=2baaf5bcd748521a3bfcc178c284bc2b302993ed
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
python-cryptography is a python package, but it internally builds a rust
crate. As such, it needs to be vendored at install time.
Currently, we only pass the path to the sub-directory where the rust
source is in the package tree, but calling cargo needs additional
variables, most notably it needs CARGO_HOME to be set in the
environment, otherwise it ends up writing in the user's own cargo home,
which is by default ~/.cargo/
We do not really know what variables are used at vendor time, so we pass
the full Cargo environment, that we pass when building target packages.
Signed-off-by: Yann E. MORIN
Cc: Thomas Petazzoni
Cc: Yegor Yefremov
Cc: Asaf Kahlon
Signed-off-by: Arnout Vandecappelle (Essensium/Mind)
---
package/python-cryptography/python-cryptography.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk
index e642691bc5..a524f729c8 100644
--- a/package/python-cryptography/python-cryptography.mk
+++ b/package/python-cryptography/python-cryptography.mk
@@ -24,6 +24,7 @@ PYTHON_CRYPTOGRAPHY_ENV = \
PYTHON_CRYPTOGRAPHY_DOWNLOAD_POST_PROCESS = cargo
PYTHON_CRYPTOGRAPHY_DOWNLOAD_DEPENDENCIES = host-rustc
PYTHON_CRYPTOGRAPHY_DL_ENV = \
+ $(PKG_CARGO_ENV) \
BR_CARGO_MANIFEST_PATH=src/rust/Cargo.toml
$(eval $(python-package))
From arnout at mind.be Sat Mar 5 14:19:16 2022
From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind))
Date: Sat, 5 Mar 2022 15:19:16 +0100
Subject: [Buildroot] [git commit] package/qt5/qt5base: put back riscv32 patch
Message-ID: <20220305144636.E3D97826C4@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=ad25ca1c1f7a61a6cfaa1ef32c19f219fce82ff5
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Commit 5770a645a3a49a3f0f02972131a4ff5283b4c11e wrongly removed riscv32
patch resulting in the following build failure:
In file included from thread/qmutex_linux.cpp:45,
from thread/qmutex.cpp:806:
thread/qfutex_p.h: In function 'int QtLinuxFutex::_q_futex(int*, int, int, quintptr, int*, int)':
thread/qfutex_p.h:116:30: error: '__NR_futex' was not declared in this scope; did you mean '_q_futex'?
116 | int result = syscall(__NR_futex, addr, op | FUTEX_PRIVATE_FLAG, val, val2, addr2, val3);
| ^~~~~~~~~~
| _q_futex
Fixes:
- http://autobuild.buildroot.org/results/ff90bc7680acf1487ed58e5e25cf1a5f13dfaedb
Signed-off-by: Fabrice Fontaine
Reviewed-by: Peter Seiderer
Signed-off-by: Arnout Vandecappelle (Essensium/Mind)
---
.../qt5/qt5base/0007-Fix-build-on-riscv32.patch | 46 ++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/package/qt5/qt5base/0007-Fix-build-on-riscv32.patch b/package/qt5/qt5base/0007-Fix-build-on-riscv32.patch
new file mode 100644
index 0000000000..5561acb9ae
--- /dev/null
+++ b/package/qt5/qt5base/0007-Fix-build-on-riscv32.patch
@@ -0,0 +1,46 @@
+From 035dc537bee26e3b63a211b2835d8560439e161f Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine
+Date: Fri, 27 Aug 2021 16:28:32 +0200
+Subject: Fix build on riscv32
+
+riscv32 fails to build because __NR_futex is not defined on this
+architecture:
+
+In file included from thread/qmutex_linux.cpp:45,
+ from thread/qmutex.cpp:804:
+thread/qfutex_p.h: In function 'int QtLinuxFutex::_q_futex(int*, int, int, quintptr, int*, int)':
+thread/qfutex_p.h:116:30: error: '__NR_futex' was not declared in this scope; did you mean '_q_futex'?
+ 116 | int result = syscall(__NR_futex, addr, op | FUTEX_PRIVATE_FLAG, val, val2, addr2, val3);
+ | ^~~~~~~~~~
+ | _q_futex
+
+Pick-to: 6.1 6.2
+Fixes: QTBUG-96067
+Change-Id: Ib6a9bcc496f37e69ac39362cb0a021fccaf311f5
+Reviewed-by: Thiago Macieira
+[Retrieved from:
+https://code.qt.io/cgit/qt/qtbase.git/commit/?id=035dc537bee26e3b63a211b2835d8560439e161f]
+Signed-off-by: Fabrice Fontaine
+---
+ src/corelib/thread/qfutex_p.h | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/corelib/thread/qfutex_p.h b/src/corelib/thread/qfutex_p.h
+index 40482b6fc1..037207a5c0 100644
+--- a/src/corelib/thread/qfutex_p.h
++++ b/src/corelib/thread/qfutex_p.h
+@@ -103,6 +103,11 @@ QT_END_NAMESPACE
+ // if not defined in linux/futex.h
+ # define FUTEX_PRIVATE_FLAG 128 // added in v2.6.22
+
++// RISC-V does not supply __NR_futex
++# ifndef __NR_futex
++# define __NR_futex __NR_futex_time64
++# endif
++
+ QT_BEGIN_NAMESPACE
+ namespace QtLinuxFutex {
+ constexpr inline bool futexAvailable() { return true; }
+--
+cgit v1.2.1
+
From arnout at mind.be Sat Mar 5 14:10:36 2022
From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind))
Date: Sat, 5 Mar 2022 15:10:36 +0100
Subject: [Buildroot] [git commit] package/util-linux: bump version to 2.37.4
(fixes CVE-2022-0563)
Message-ID: <20220305144636.DAC20826C4@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=a586f0a283cd69f436bc6d0cff484460b412a1ce
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
For details see [1] and [2].
[1] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.37/v2.37.4-ChangeLog
[2] https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.37/v2.37.4-ReleaseNotes
Signed-off-by: Peter Seiderer
Signed-off-by: Arnout Vandecappelle (Essensium/Mind)
---
package/util-linux/util-linux.hash | 2 +-
package/util-linux/util-linux.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/util-linux/util-linux.hash b/package/util-linux/util-linux.hash
index 9c10a42dca..748a36e0be 100644
--- a/package/util-linux/util-linux.hash
+++ b/package/util-linux/util-linux.hash
@@ -1,5 +1,5 @@
# From https://www.kernel.org/pub/linux/utils/util-linux/v2.37/sha256sums.asc
-sha256 590c592e58cd6bf38519cb467af05ce6a1ab18040e3e3418f24bcfb2f55f9776 util-linux-2.37.3.tar.xz
+sha256 634e6916ad913366c3536b6468e7844769549b99a7b2bf80314de78ab5655b83 util-linux-2.37.4.tar.xz
# License files, locally calculated
sha256 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955 README.licensing
sha256 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d Documentation/licenses/COPYING.BSD-3-Clause
diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
index a25b69d910..891c17d1d9 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -8,7 +8,7 @@
# util-linux-libs/util-linux-libs.mk needs to be updated accordingly as well.
UTIL_LINUX_VERSION_MAJOR = 2.37
-UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).3
+UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).4
UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VERSION).tar.xz
UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v$(UTIL_LINUX_VERSION_MAJOR)
From arnout at mind.be Sat Mar 5 14:09:59 2022
From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind))
Date: Sat, 5 Mar 2022 15:09:59 +0100
Subject: [Buildroot] [git commit] package/libgee: bump to version 0.20.5
Message-ID: <20220305144636.D1A11826D4@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=10780e8d6df83d7a92b6dd3282e91fdc0ba369af
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Drop patch (already in version) and so autoreconf
https://gitlab.gnome.org/GNOME/libgee/-/blob/0.20.5/NEWS
Signed-off-by: Fabrice Fontaine
Signed-off-by: Arnout Vandecappelle (Essensium/Mind)
---
...akefile.am-include-Makefile.introspection.patch | 40 ----------------------
package/libgee/libgee.hash | 4 +--
package/libgee/libgee.mk | 4 +--
3 files changed, 3 insertions(+), 45 deletions(-)
diff --git a/package/libgee/0001-gee-Makefile.am-include-Makefile.introspection.patch b/package/libgee/0001-gee-Makefile.am-include-Makefile.introspection.patch
deleted file mode 100644
index 0906275ae3..0000000000
--- a/package/libgee/0001-gee-Makefile.am-include-Makefile.introspection.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From d771e8ddb5e40f234459966e46880d10f34aaa1a Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine
-Date: Sat, 20 Nov 2021 23:57:33 +0100
-Subject: [PATCH] gee/Makefile.am: include Makefile.introspection
-
-Include Makefile.introspection instead of using a custom rule which will
-result in the following build failure when cross-compiling on buildroot
-because of missing --includedir:
-
-/home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/../riscv32-buildroot-linux-gnu/sysroot/usr/bin/g-ir-compiler -l `/usr/bin/sed -nE "s/^dlname='([A-Za-z0-9.+-]+)'/\1/p" libgee-0.8.la` -o Gee-0.8.typelib Gee-0.8.gir libgee-0.8.la
-Could not find GIR file 'GObject-2.0.gir'; check XDG_DATA_DIRS or use --includedir
-error parsing file Gee-0.8.gir: Failed to parse included gir GObject-2.0
-
-Fixes:
- - http://autobuild.buildroot.org/results/884faa0f84c8dc43ed1ca6cde9caf21c731a4b35
-
-Signed-off-by: Fabrice Fontaine
-[Upstream status:
-https://gitlab.gnome.org/GNOME/libgee/-/merge_requests/8]
----
- gee/Makefile.am | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/gee/Makefile.am b/gee/Makefile.am
-index 5634bcb..e0d950e 100644
---- a/gee/Makefile.am
-+++ b/gee/Makefile.am
-@@ -167,7 +167,8 @@ INTROSPECTION_COMPILER_ARGS= \
- -l $(libgee_dlname)
- Gee-0.8.gir: libgee_0_8_la_vala.stamp
- Gee-0.8.typelib: Gee-0.8.gir libgee-0.8.la
-- @INTROSPECTION_COMPILER@ $(INTROSPECTION_COMPILER_ARGS) -o $@ $^
-+
-+-include $(INTROSPECTION_MAKEFILE)
- endif
-
- MOSTLYCLEANFILES = \
---
-2.33.0
-
diff --git a/package/libgee/libgee.hash b/package/libgee/libgee.hash
index 72d2c21ced..54a46f954c 100644
--- a/package/libgee/libgee.hash
+++ b/package/libgee/libgee.hash
@@ -1,5 +1,5 @@
-# From http://ftp.acc.umu.se/pub/gnome/sources/libgee/0.20/libgee-0.20.4.sha256sum
-sha256 524c1bf390f9cdda4fbd9a47b269980dc64ab5280f0801b53bc69d782c72de0e libgee-0.20.4.tar.xz
+# From http://ftp.acc.umu.se/pub/gnome/sources/libgee/0.20/libgee-0.20.5.sha256sum
+sha256 31863a8957d5a727f9067495cabf0a0889fa5d3d44626e54094331188d5c1518 libgee-0.20.5.tar.xz
# Hash for license file:
sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING
diff --git a/package/libgee/libgee.mk b/package/libgee/libgee.mk
index 64beef30df..7d8d3d4863 100644
--- a/package/libgee/libgee.mk
+++ b/package/libgee/libgee.mk
@@ -5,7 +5,7 @@
################################################################################
LIBGEE_VERSION_MAJOR = 0.20
-LIBGEE_VERSION = $(LIBGEE_VERSION_MAJOR).4
+LIBGEE_VERSION = $(LIBGEE_VERSION_MAJOR).5
LIBGEE_SITE = http://ftp.gnome.org/pub/gnome/sources/libgee/$(LIBGEE_VERSION_MAJOR)
LIBGEE_SOURCE = libgee-$(LIBGEE_VERSION).tar.xz
LIBGEE_DEPENDENCIES = host-pkgconf host-vala libglib2
@@ -13,8 +13,6 @@ LIBGEE_INSTALL_STAGING = YES
LIBGEE_LICENSE = LGPL-2.1+
LIBGEE_LICENSE_FILES = COPYING
LIBGEE_CPE_ID_VENDOR = gnome
-# We're patching gee/Makefile.am
-LIBGEE_AUTORECONF = YES
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
LIBGEE_CONF_OPTS += --enable-introspection
From arnout at mind.be Sat Mar 5 14:06:29 2022
From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind))
Date: Sat, 5 Mar 2022 15:06:29 +0100
Subject: [Buildroot] [git commit] package/gdb: bump 11.x version to 11.2
Message-ID: <20220305144636.BE4E6826C4@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=8cfbda109fc41d7567a67666f1f8a541ea1d1f61
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
This is a minor corrective release over GDB 11.1, fixing the following issues:
PR sim/28302 (gdb fails to build with glibc 2.34)
PR build/28318 (std::thread support configure check does not use
CXX_DIALECT)
PR gdb/28405 (arm-none-eabi: internal-error: ptid_t
remote_target::select_thread_for_ambiguous_stop_reply(const
target_waitstatus*): Assertion `first_resumed_thread != nullptr'
failed)
PR tui/28483 ([gdb/tui] breakpoint creation not displayed)
PR build/28555 (uclibc compile failure since commit 4655f8509fd44e6efabefa373650d9982ff37fd6)
PR rust/28637 (Rust characters will be encoded using DW_ATE_UTF)
PR gdb/28758 (GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section)
PR gdb/28785 (Support SHT_RELR (.relr.dyn) section)
Drop patch 0006-sim-filter-out-SIGSTKSZ-PR-sim-28302.patch, which was
merged upstream as commit 17d6f2152b583cdc7defafa7813b727a304bac5b.
Drop patch 0008-Fix-build-on-rhES5.patch, which was merged upstream as
commit df9ebc472a162306dee8ba6e02b99963c2babb7c?
Drop patch 0009-gdbserver-aarch64-support.patch, which was merged
upstream as commit eb79b2318066cafb75ffdce310e3bbd44f7c79e3.
Signed-off-by: Thomas Petazzoni
Signed-off-by: Arnout Vandecappelle (Essensium/Mind)
---
...0006-sim-filter-out-SIGSTKSZ-PR-sim-28302.patch | 110 -------
package/gdb/11.1/0008-Fix-build-on-rhES5.patch | 194 -------------
.../gdb/11.1/0010-gdbserver-aarch64-support.patch | 320 ---------------------
...Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch | 0
...efine-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch | 0
.../{11.1 => 11.2}/0003-use-asm-sgidefs.h.patch | 0
.../0004-gdbserver-fix-build-for-m68k.patch | 0
...-nat-fork-inferior-include-linux-ptrace.h.patch | 0
...Fix-getrandom-compile-for-uclibc-v1.0.35.patch} | 0
.../0007-fix-musl-build-on-riscv.patch | 0
...0008-gdbserver-Makefile.in-fix-NLS-build.patch} | 0
package/gdb/Config.in.host | 2 +-
package/gdb/gdb.hash | 2 +-
13 files changed, 2 insertions(+), 626 deletions(-)
diff --git a/package/gdb/11.1/0006-sim-filter-out-SIGSTKSZ-PR-sim-28302.patch b/package/gdb/11.1/0006-sim-filter-out-SIGSTKSZ-PR-sim-28302.patch
deleted file mode 100644
index d969d98831..0000000000
--- a/package/gdb/11.1/0006-sim-filter-out-SIGSTKSZ-PR-sim-28302.patch
+++ /dev/null
@@ -1,110 +0,0 @@
-From 7b3df9b8938357c2b0dcf2624e599a76fc4edc02 Mon Sep 17 00:00:00 2001
-From: Mike Frysinger
-Date: Sun, 3 Oct 2021 12:02:53 -0400
-Subject: [PATCH] sim: filter out SIGSTKSZ [PR sim/28302]
-
-We map target signals to host signals so we can propagate signals
-between the host & simulated worlds. That means we need to know
-the symbolic names & values of all signals that might be sent.
-
-The tools that generate that list use signal.h and include all
-symbols that start with "SIG" so as to automatically include any
-new symbols that the C library might add. Unfortunately, this
-also picks up "SIGSTKSZ" which is not actually a signal itself,
-but a signal related setting -- it's the size of the stack when
-a signal is handled.
-
-By itself this doesn't super matter as we will never see a signal
-with that same value (since the range of valid signals tend to be
-way less than 1024, and the size of the default signal stack will
-never be that small). But with recent glibc changes that make this
-into a dynamic value instead of a compile-time constant, some users
-see build failures when building the sim.
-
-As suggested by Adam Sampson, update our scripts to ignore this
-symbol to simplify everything and avoid the build failure.
-
-Bug: https://sourceware.org/PR28302
-
-[Upstream: https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=39d53d04357606a15efd400147fa7369d71baf2c]
-Signed-off-by: Peter Seiderer
----
- sim/bfin/linux-targ-map.h | 5 +----
- sim/common/gennltvals.py | 6 ++++--
- sim/common/nltvals.def | 1 -
- 3 files changed, 5 insertions(+), 7 deletions(-)
-
-diff --git a/sim/bfin/linux-targ-map.h b/sim/bfin/linux-targ-map.h
-index e9c8c8f..0340ed5 100644
---- a/sim/bfin/linux-targ-map.h
-+++ b/sim/bfin/linux-targ-map.h
-@@ -30,6 +30,7 @@ echo
- # XXX: nothing uses this ?
- echo '#include ' | \
- bfin-uclinux-gcc -E -dD -P - | \
-+grep -v SIGSTKSZ | \
- sed -r -n \
- -e '1istatic CB_TARGET_DEFS_MAP cb_linux_signal_map[] = {' \
- -e '$i\ \ { 0, -1, -1 }\n};' \
-@@ -1987,10 +1988,6 @@ static CB_TARGET_DEFS_MAP cb_linux_signal_map[] =
- #ifdef SIG_SETMASK
- # define TARGET_LINUX_SIG_SETMASK 2
- { "SIG_SETMASK", SIG_SETMASK, TARGET_LINUX_SIG_SETMASK },
--#endif
--#ifdef SIGSTKSZ
--# define TARGET_LINUX_SIGSTKSZ 8192
-- { "SIGSTKSZ", SIGSTKSZ, TARGET_LINUX_SIGSTKSZ },
- #endif
- { 0, -1, -1 }
- };
-diff --git a/sim/common/gennltvals.py b/sim/common/gennltvals.py
-index b3e558d..bd4d7e9 100755
---- a/sim/common/gennltvals.py
-+++ b/sim/common/gennltvals.py
-@@ -67,6 +67,7 @@ FILE_HEADER = f"""\
- def gentvals(output: TextIO, cpp: str, srctype: str, srcdir: Path,
- headers: Iterable[str],
- pattern: str,
-+ filter: str = r'^$',
- target: str = None):
- """Extract constants from the specified files using a regular expression.
-
-@@ -94,12 +95,13 @@ def gentvals(output: TextIO, cpp: str, srctype: str, srcdir: Path,
- srcfile = ''.join(f'#include <{x}>\n' for x in headers)
- syms = set()
- define_pattern = re.compile(r'^#\s*define\s+(' + pattern + ')')
-+ filter_pattern = re.compile(filter)
- for header in headers:
- with open(srcdir / header, 'r', encoding='utf-8') as fp:
- data = fp.read()
- for line in data.splitlines():
- m = define_pattern.match(line)
-- if m:
-+ if m and not filter_pattern.search(line):
- syms.add(m.group(1))
- for sym in sorted(syms):
- srcfile += f'#ifdef {sym}\nDEFVAL {{ "{sym}", {sym} }},\n#endif\n'
-@@ -129,7 +131,7 @@ def gen_common(output: TextIO, newlib: Path, cpp: str):
- ('errno.h', 'sys/errno.h'), 'E[A-Z0-9]*')
-
- gentvals(output, cpp, 'signal', newlib / 'newlib/libc/include',
-- ('signal.h', 'sys/signal.h'), r'SIG[A-Z0-9]*')
-+ ('signal.h', 'sys/signal.h'), r'SIG[A-Z0-9]*', filter=r'SIGSTKSZ')
-
- gentvals(output, cpp, 'open', newlib / 'newlib/libc/include',
- ('fcntl.h', 'sys/fcntl.h', 'sys/_default_fcntl.h'), r'O_[A-Z0-9]*')
-diff --git a/sim/common/nltvals.def b/sim/common/nltvals.def
-index 8ae8839..8bc6ae5 100644
---- a/sim/common/nltvals.def
-+++ b/sim/common/nltvals.def
-@@ -116,7 +116,6 @@
- { "SIGPROF", 27 },
- { "SIGQUIT", 3 },
- { "SIGSEGV", 11 },
-- { "SIGSTKSZ", 8192 },
- { "SIGSTOP", 17 },
- { "SIGSYS", 12 },
- { "SIGTERM", 15 },
---
-2.33.1
-
diff --git a/package/gdb/11.1/0008-Fix-build-on-rhES5.patch b/package/gdb/11.1/0008-Fix-build-on-rhES5.patch
deleted file mode 100644
index 2d4e30ffe1..0000000000
--- a/package/gdb/11.1/0008-Fix-build-on-rhES5.patch
+++ /dev/null
@@ -1,194 +0,0 @@
-From db3aaeda1d6b156100d969edb8c0e674bca6b201 Mon Sep 17 00:00:00 2001
-From: Tom Tromey
-Date: Wed, 12 May 2021 12:39:22 -0600
-Subject: [PATCH] Fix build on rhES5
-
-The rhES5 build failed due to an upstream import a while back. The
-bug here is that, while the 'personality' function exists,
-ADDR_NO_RANDOMIZE is only defined in , not
-.
-
-However, does not declare the 'personality'
-function, and and cannot
-both be included.
-
-This patch restores one of the removed configure checks and updates
-the code to check it.
-
-We had this as a local patch at AdaCore, because it seemed like there
-was no interest upstream. However, now it turns out that this fixes
-PR build/28555, so I'm sending it now.
-
-[Upstream: https://sourceware.org/git?p=binutils-gdb.git;h=0b03c6f03d51f441d999e0cee92f81af543d9373]
-Signed-off-by: Peter Seiderer
----
- gdb/config.in | 4 ++++
- gdb/configure | 16 ++++++++++++++++
- gdb/nat/linux-personality.c | 4 ++++
- gdbserver/config.in | 4 ++++
- gdbserver/configure | 16 ++++++++++++++++
- gdbsupport/common.m4 | 5 +++++
- gdbsupport/config.in | 4 ++++
- gdbsupport/configure | 16 ++++++++++++++++
- 8 files changed, 69 insertions(+)
-
-diff --git a/gdb/config.in b/gdb/config.in
-index 2c30504..776bee9 100644
---- a/gdb/config.in
-+++ b/gdb/config.in
-@@ -96,6 +96,10 @@
- /* define if the compiler supports basic C++11 syntax */
- #undef HAVE_CXX11
-
-+/* Define to 1 if you have the declaration of `ADDR_NO_RANDOMIZE', and to 0 if
-+ you don't. */
-+#undef HAVE_DECL_ADDR_NO_RANDOMIZE
-+
- /* Define to 1 if you have the declaration of `asprintf', and to 0 if you
- don't. */
- #undef HAVE_DECL_ASPRINTF
-diff --git a/gdb/configure b/gdb/configure
-index 5d89635..27e3194 100755
---- a/gdb/configure
-+++ b/gdb/configure
-@@ -13838,6 +13838,22 @@ fi
- done
-
-
-+ # This is needed for RHEL 5 and uclibc-ng < 1.0.39.
-+ # These did not define ADDR_NO_RANDOMIZE in sys/personality.h,
-+ # only in linux/personality.h.
-+ ac_fn_c_check_decl "$LINENO" "ADDR_NO_RANDOMIZE" "ac_cv_have_decl_ADDR_NO_RANDOMIZE" "#include
-+"
-+if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = xyes; then :
-+ ac_have_decl=1
-+else
-+ ac_have_decl=0
-+fi
-+
-+cat >>confdefs.h <<_ACEOF
-+#define HAVE_DECL_ADDR_NO_RANDOMIZE $ac_have_decl
-+_ACEOF
-+
-+
- ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
- if test "x$ac_cv_have_decl_strstr" = xyes; then :
- ac_have_decl=1
-diff --git a/gdb/nat/linux-personality.c b/gdb/nat/linux-personality.c
-index 9ce345b..27999fd 100644
---- a/gdb/nat/linux-personality.c
-+++ b/gdb/nat/linux-personality.c
-@@ -22,6 +22,10 @@
-
- #include
-
-+# if !HAVE_DECL_ADDR_NO_RANDOMIZE
-+# define ADDR_NO_RANDOMIZE 0x0040000
-+# endif /* ! HAVE_DECL_ADDR_NO_RANDOMIZE */
-+
- /* See comment on nat/linux-personality.h. */
-
- maybe_disable_address_space_randomization::
-diff --git a/gdbserver/config.in b/gdbserver/config.in
-index cf06c56..c9258b3 100644
---- a/gdbserver/config.in
-+++ b/gdbserver/config.in
-@@ -31,6 +31,10 @@
- /* define if the compiler supports basic C++11 syntax */
- #undef HAVE_CXX11
-
-+/* Define to 1 if you have the declaration of `ADDR_NO_RANDOMIZE', and to 0 if
-+ you don't. */
-+#undef HAVE_DECL_ADDR_NO_RANDOMIZE
-+
- /* Define to 1 if you have the declaration of `asprintf', and to 0 if you
- don't. */
- #undef HAVE_DECL_ASPRINTF
-diff --git a/gdbserver/configure b/gdbserver/configure
-index b227167..d399d71 100755
---- a/gdbserver/configure
-+++ b/gdbserver/configure
-@@ -7131,6 +7131,22 @@ fi
- done
-
-
-+ # This is needed for RHEL 5 and uclibc-ng < 1.0.39.
-+ # These did not define ADDR_NO_RANDOMIZE in sys/personality.h,
-+ # only in linux/personality.h.
-+ ac_fn_c_check_decl "$LINENO" "ADDR_NO_RANDOMIZE" "ac_cv_have_decl_ADDR_NO_RANDOMIZE" "#include
-+"
-+if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = xyes; then :
-+ ac_have_decl=1
-+else
-+ ac_have_decl=0
-+fi
-+
-+cat >>confdefs.h <<_ACEOF
-+#define HAVE_DECL_ADDR_NO_RANDOMIZE $ac_have_decl
-+_ACEOF
-+
-+
- ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
- if test "x$ac_cv_have_decl_strstr" = xyes; then :
- ac_have_decl=1
-diff --git a/gdbsupport/common.m4 b/gdbsupport/common.m4
-index 901c454..56a355e 100644
---- a/gdbsupport/common.m4
-+++ b/gdbsupport/common.m4
-@@ -55,6 +55,11 @@ AC_DEFUN([GDB_AC_COMMON], [
- ptrace64 sbrk setns sigaltstack sigprocmask \
- setpgid setpgrp getrusage getauxval sigtimedwait])
-
-+ # This is needed for RHEL 5 and uclibc-ng < 1.0.39.
-+ # These did not define ADDR_NO_RANDOMIZE in sys/personality.h,
-+ # only in linux/personality.h.
-+ AC_CHECK_DECLS([ADDR_NO_RANDOMIZE],,, [#include ])
-+
- AC_CHECK_DECLS([strstr])
-
- # ----------------------- #
-diff --git a/gdbsupport/config.in b/gdbsupport/config.in
-index f46e261..6945a62 100644
---- a/gdbsupport/config.in
-+++ b/gdbsupport/config.in
-@@ -28,6 +28,10 @@
- /* define if the compiler supports basic C++11 syntax */
- #undef HAVE_CXX11
-
-+/* Define to 1 if you have the declaration of `ADDR_NO_RANDOMIZE', and to 0 if
-+ you don't. */
-+#undef HAVE_DECL_ADDR_NO_RANDOMIZE
-+
- /* Define to 1 if you have the declaration of `asprintf', and to 0 if you
- don't. */
- #undef HAVE_DECL_ASPRINTF
-diff --git a/gdbsupport/configure b/gdbsupport/configure
-index a9dd02c..243a03f 100755
---- a/gdbsupport/configure
-+++ b/gdbsupport/configure
-@@ -8144,6 +8144,22 @@ fi
- done
-
-
-+ # This is needed for RHEL 5 and uclibc-ng < 1.0.39.
-+ # These did not define ADDR_NO_RANDOMIZE in sys/personality.h,
-+ # only in linux/personality.h.
-+ ac_fn_c_check_decl "$LINENO" "ADDR_NO_RANDOMIZE" "ac_cv_have_decl_ADDR_NO_RANDOMIZE" "#include
-+"
-+if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = xyes; then :
-+ ac_have_decl=1
-+else
-+ ac_have_decl=0
-+fi
-+
-+cat >>confdefs.h <<_ACEOF
-+#define HAVE_DECL_ADDR_NO_RANDOMIZE $ac_have_decl
-+_ACEOF
-+
-+
- ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
- if test "x$ac_cv_have_decl_strstr" = xyes; then :
- ac_have_decl=1
---
-2.33.1
-
diff --git a/package/gdb/11.1/0010-gdbserver-aarch64-support.patch b/package/gdb/11.1/0010-gdbserver-aarch64-support.patch
deleted file mode 100644
index 3718b1b6fd..0000000000
--- a/package/gdb/11.1/0010-gdbserver-aarch64-support.patch
+++ /dev/null
@@ -1,320 +0,0 @@
-From eb79b2318066cafb75ffdce310e3bbd44f7c79e3 Mon Sep 17 00:00:00 2001
-From: Luis Machado
-Date: Fri, 29 Oct 2021 14:54:36 -0300
-Subject: [PATCH] [AArch64] Make gdbserver register set selection dynamic
-
-The current register set selection mechanism for AArch64 is static, based
-on a pre-populated array of register sets.
-
-This means that we might potentially probe register sets that are not
-available. This is OK if the kernel errors out during ptrace, but probing the
-tag_ctl register, for example, does not result in a ptrace error if the kernel
-supports the tagged address ABI but not MTE (PR 28355).
-
-Making the register set selection dynamic, based on feature checks, solves
-this and simplifies the code a bit. It allows us to list all of the register
-sets only once, and pick and choose based on HWCAP/HWCAP2 or other properties.
-
-gdb/ChangeLog:
-
-2021-11-03 Luis Machado
-
- PR gdb/28355
-
- * arch/aarch64.h (struct aarch64_features): New struct.
-
-gdbserver/ChangeLog:
-
-2021-11-03 Luis Machado
-
- PR gdb/28355
-
- * linux-aarch64-low.cc (is_sve_tdesc): Remove.
- (aarch64_target::low_arch_setup): Rework to adjust the register sets.
- (aarch64_regsets): Update to list all register sets.
- (aarch64_regsets_info, regs_info_aarch64): Replace NULL with nullptr.
- (aarch64_sve_regsets, aarch64_sve_regsets_info)
- (regs_info_aarch64_sve): Remove.
- (aarch64_adjust_register_sets): New.
- (aarch64_target::get_regs_info): Remove references to removed structs.
- (initialize_low_arch): Likewise.
-
-Backported from: eb79b2318066cafb75ffdce310e3bbd44f7c79e3
-Signed-off-by: Joachim Wiberg
----
- gdb/arch/aarch64.h | 9 ++
- gdbserver/linux-aarch64-low.cc | 186 ++++++++++++++++++---------------
- 4 files changed, 130 insertions(+), 85 deletions(-)
-
-diff --git a/gdb/arch/aarch64.h b/gdb/arch/aarch64.h
-index 0eb702c5b5e..95edb664b55 100644
---- a/gdb/arch/aarch64.h
-+++ b/gdb/arch/aarch64.h
-@@ -22,6 +22,15 @@
-
- #include "gdbsupport/tdesc.h"
-
-+/* Holds information on what architectural features are available. This is
-+ used to select register sets. */
-+struct aarch64_features
-+{
-+ bool sve = false;
-+ bool pauth = false;
-+ bool mte = false;
-+};
-+
- /* Create the aarch64 target description. A non zero VQ value indicates both
- the presence of SVE and the Vector Quotient - the number of 128bit chunks in
- an SVE Z register. HAS_PAUTH_P indicates the presence of the PAUTH
-diff --git a/gdbserver/linux-aarch64-low.cc b/gdbserver/linux-aarch64-low.cc
-index daccfef746e..9a8cb4169a7 100644
---- a/gdbserver/linux-aarch64-low.cc
-+++ b/gdbserver/linux-aarch64-low.cc
-@@ -196,16 +196,6 @@ is_64bit_tdesc (void)
- return register_size (regcache->tdesc, 0) == 8;
- }
-
--/* Return true if the regcache contains the number of SVE registers. */
--
--static bool
--is_sve_tdesc (void)
--{
-- struct regcache *regcache = get_thread_regcache (current_thread, 0);
--
-- return tdesc_contains_feature (regcache->tdesc, "org.gnu.gdb.aarch64.sve");
--}
--
- static void
- aarch64_fill_gregset (struct regcache *regcache, void *buf)
- {
-@@ -680,40 +670,6 @@ aarch64_target::low_new_fork (process_info *parent,
- *child->priv->arch_private = *parent->priv->arch_private;
- }
-
--/* Matches HWCAP_PACA in kernel header arch/arm64/include/uapi/asm/hwcap.h. */
--#define AARCH64_HWCAP_PACA (1 << 30)
--
--/* Implementation of linux target ops method "low_arch_setup". */
--
--void
--aarch64_target::low_arch_setup ()
--{
-- unsigned int machine;
-- int is_elf64;
-- int tid;
--
-- tid = lwpid_of (current_thread);
--
-- is_elf64 = linux_pid_exe_is_elf_64_file (tid, &machine);
--
-- if (is_elf64)
-- {
-- uint64_t vq = aarch64_sve_get_vq (tid);
-- unsigned long hwcap = linux_get_hwcap (8);
-- unsigned long hwcap2 = linux_get_hwcap2 (8);
-- bool pauth_p = hwcap & AARCH64_HWCAP_PACA;
-- /* MTE is AArch64-only. */
-- bool mte_p = hwcap2 & HWCAP2_MTE;
--
-- current_process ()->tdesc
-- = aarch64_linux_read_description (vq, pauth_p, mte_p);
-- }
-- else
-- current_process ()->tdesc = aarch32_linux_read_description ();
--
-- aarch64_linux_get_debug_reg_capacity (lwpid_of (current_thread));
--}
--
- /* Wrapper for aarch64_sve_regs_copy_to_reg_buf. */
-
- static void
-@@ -730,21 +686,36 @@ aarch64_sve_regs_copy_from_regcache (struct regcache *regcache, void *buf)
- return aarch64_sve_regs_copy_from_reg_buf (regcache, buf);
- }
-
-+/* Array containing all the possible register sets for AArch64/Linux. During
-+ architecture setup, these will be checked against the HWCAP/HWCAP2 bits for
-+ validity and enabled/disabled accordingly.
-+
-+ Their sizes are set to 0 here, but they will be adjusted later depending
-+ on whether each register set is available or not. */
- static struct regset_info aarch64_regsets[] =
- {
-+ /* GPR registers. */
- { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_PRSTATUS,
-- sizeof (struct user_pt_regs), GENERAL_REGS,
-+ 0, GENERAL_REGS,
- aarch64_fill_gregset, aarch64_store_gregset },
-+ /* Floating Point (FPU) registers. */
- { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_FPREGSET,
-- sizeof (struct user_fpsimd_state), FP_REGS,
-+ 0, FP_REGS,
- aarch64_fill_fpregset, aarch64_store_fpregset
- },
-+ /* Scalable Vector Extension (SVE) registers. */
-+ { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_ARM_SVE,
-+ 0, EXTENDED_REGS,
-+ aarch64_sve_regs_copy_from_regcache, aarch64_sve_regs_copy_to_regcache
-+ },
-+ /* PAC registers. */
- { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_ARM_PAC_MASK,
-- AARCH64_PAUTH_REGS_SIZE, OPTIONAL_REGS,
-- NULL, aarch64_store_pauthregset },
-+ 0, OPTIONAL_REGS,
-+ nullptr, aarch64_store_pauthregset },
-+ /* Tagged address control / MTE registers. */
- { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_ARM_TAGGED_ADDR_CTRL,
-- AARCH64_LINUX_SIZEOF_MTE, OPTIONAL_REGS, aarch64_fill_mteregset,
-- aarch64_store_mteregset },
-+ 0, OPTIONAL_REGS,
-+ aarch64_fill_mteregset, aarch64_store_mteregset },
- NULL_REGSET
- };
-
-@@ -752,47 +723,95 @@ static struct regsets_info aarch64_regsets_info =
- {
- aarch64_regsets, /* regsets */
- 0, /* num_regsets */
-- NULL, /* disabled_regsets */
-+ nullptr, /* disabled_regsets */
- };
-
- static struct regs_info regs_info_aarch64 =
- {
-- NULL, /* regset_bitmap */
-- NULL, /* usrregs */
-+ nullptr, /* regset_bitmap */
-+ nullptr, /* usrregs */
- &aarch64_regsets_info,
- };
-
--static struct regset_info aarch64_sve_regsets[] =
-+/* Given FEATURES, adjust the available register sets by setting their
-+ sizes. A size of 0 means the register set is disabled and won't be
-+ used. */
-+
-+static void
-+aarch64_adjust_register_sets (const struct aarch64_features &features)
- {
-- { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_PRSTATUS,
-- sizeof (struct user_pt_regs), GENERAL_REGS,
-- aarch64_fill_gregset, aarch64_store_gregset },
-- { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_ARM_SVE,
-- SVE_PT_SIZE (AARCH64_MAX_SVE_VQ, SVE_PT_REGS_SVE), EXTENDED_REGS,
-- aarch64_sve_regs_copy_from_regcache, aarch64_sve_regs_copy_to_regcache
-- },
-- { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_ARM_PAC_MASK,
-- AARCH64_PAUTH_REGS_SIZE, OPTIONAL_REGS,
-- NULL, aarch64_store_pauthregset },
-- { PTRACE_GETREGSET, PTRACE_SETREGSET, NT_ARM_TAGGED_ADDR_CTRL,
-- AARCH64_LINUX_SIZEOF_MTE, OPTIONAL_REGS, aarch64_fill_mteregset,
-- aarch64_store_mteregset },
-- NULL_REGSET
--};
-+ struct regset_info *regset;
-
--static struct regsets_info aarch64_sve_regsets_info =
-- {
-- aarch64_sve_regsets, /* regsets. */
-- 0, /* num_regsets. */
-- NULL, /* disabled_regsets. */
-- };
-+ for (regset = aarch64_regsets; regset->size >= 0; regset++)
-+ {
-+ switch (regset->nt_type)
-+ {
-+ case NT_PRSTATUS:
-+ /* General purpose registers are always present. */
-+ regset->size = sizeof (struct user_pt_regs);
-+ break;
-+ case NT_FPREGSET:
-+ /* This is unavailable when SVE is present. */
-+ if (!features.sve)
-+ regset->size = sizeof (struct user_fpsimd_state);
-+ break;
-+ case NT_ARM_SVE:
-+ if (features.sve)
-+ regset->size = SVE_PT_SIZE (AARCH64_MAX_SVE_VQ, SVE_PT_REGS_SVE);
-+ break;
-+ case NT_ARM_PAC_MASK:
-+ if (features.pauth)
-+ regset->size = AARCH64_PAUTH_REGS_SIZE;
-+ break;
-+ case NT_ARM_TAGGED_ADDR_CTRL:
-+ if (features.mte)
-+ regset->size = AARCH64_LINUX_SIZEOF_MTE;
-+ break;
-+ default:
-+ gdb_assert_not_reached ("Unknown register set found.");
-+ }
-+ }
-+}
-
--static struct regs_info regs_info_aarch64_sve =
-- {
-- NULL, /* regset_bitmap. */
-- NULL, /* usrregs. */
-- &aarch64_sve_regsets_info,
-- };
-+/* Matches HWCAP_PACA in kernel header arch/arm64/include/uapi/asm/hwcap.h. */
-+#define AARCH64_HWCAP_PACA (1 << 30)
-+
-+/* Implementation of linux target ops method "low_arch_setup". */
-+
-+void
-+aarch64_target::low_arch_setup ()
-+{
-+ unsigned int machine;
-+ int is_elf64;
-+ int tid;
-+
-+ tid = lwpid_of (current_thread);
-+
-+ is_elf64 = linux_pid_exe_is_elf_64_file (tid, &machine);
-+
-+ if (is_elf64)
-+ {
-+ struct aarch64_features features;
-+
-+ uint64_t vq = aarch64_sve_get_vq (tid);
-+ features.sve = (vq > 0);
-+ /* A-profile PAC is 64-bit only. */
-+ features.pauth = linux_get_hwcap (8) & AARCH64_HWCAP_PACA;
-+ /* A-profile MTE is 64-bit only. */
-+ features.mte = linux_get_hwcap2 (8) & HWCAP2_MTE;
-+
-+ current_process ()->tdesc
-+ = aarch64_linux_read_description (vq, features.pauth, features.mte);
-+
-+ /* Adjust the register sets we should use for this particular set of
-+ features. */
-+ aarch64_adjust_register_sets (features);
-+ }
-+ else
-+ current_process ()->tdesc = aarch32_linux_read_description ();
-+
-+ aarch64_linux_get_debug_reg_capacity (lwpid_of (current_thread));
-+}
-
- /* Implementation of linux target ops method "get_regs_info". */
-
-@@ -802,9 +821,7 @@ aarch64_target::get_regs_info ()
- if (!is_64bit_tdesc ())
- return ®s_info_aarch32;
-
-- if (is_sve_tdesc ())
-- return ®s_info_aarch64_sve;
--
-+ /* AArch64 64-bit registers. */
- return ®s_info_aarch64;
- }
-
-@@ -3294,5 +3311,4 @@ initialize_low_arch (void)
- initialize_low_arch_aarch32 ();
-
- initialize_regsets_info (&aarch64_regsets_info);
-- initialize_regsets_info (&aarch64_sve_regsets_info);
- }
---
-2.27.0
-
diff --git a/package/gdb/11.1/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch b/package/gdb/11.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
similarity index 100%
rename from package/gdb/11.1/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
rename to package/gdb/11.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
diff --git a/package/gdb/11.1/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch b/package/gdb/11.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch
similarity index 100%
rename from package/gdb/11.1/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch
rename to package/gdb/11.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch
diff --git a/package/gdb/11.1/0003-use-asm-sgidefs.h.patch b/package/gdb/11.2/0003-use-asm-sgidefs.h.patch
similarity index 100%
rename from package/gdb/11.1/0003-use-asm-sgidefs.h.patch
rename to package/gdb/11.2/0003-use-asm-sgidefs.h.patch
diff --git a/package/gdb/11.1/0004-gdbserver-fix-build-for-m68k.patch b/package/gdb/11.2/0004-gdbserver-fix-build-for-m68k.patch
similarity index 100%
rename from package/gdb/11.1/0004-gdbserver-fix-build-for-m68k.patch
rename to package/gdb/11.2/0004-gdbserver-fix-build-for-m68k.patch
diff --git a/package/gdb/11.1/0005-nat-fork-inferior-include-linux-ptrace.h.patch b/package/gdb/11.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch
similarity index 100%
rename from package/gdb/11.1/0005-nat-fork-inferior-include-linux-ptrace.h.patch
rename to package/gdb/11.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch
diff --git a/package/gdb/11.1/0007-Fix-getrandom-compile-for-uclibc-v1.0.35.patch b/package/gdb/11.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch
similarity index 100%
rename from package/gdb/11.1/0007-Fix-getrandom-compile-for-uclibc-v1.0.35.patch
rename to package/gdb/11.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch
diff --git a/package/gdb/11.1/0007-fix-musl-build-on-riscv.patch b/package/gdb/11.2/0007-fix-musl-build-on-riscv.patch
similarity index 100%
rename from package/gdb/11.1/0007-fix-musl-build-on-riscv.patch
rename to package/gdb/11.2/0007-fix-musl-build-on-riscv.patch
diff --git a/package/gdb/11.1/0009-gdbserver-Makefile.in-fix-NLS-build.patch b/package/gdb/11.2/0008-gdbserver-Makefile.in-fix-NLS-build.patch
similarity index 100%
rename from package/gdb/11.1/0009-gdbserver-Makefile.in-fix-NLS-build.patch
rename to package/gdb/11.2/0008-gdbserver-Makefile.in-fix-NLS-build.patch
diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index 56999fa9e0..d3dea0b0a7 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -71,7 +71,7 @@ config BR2_GDB_VERSION
default "4ecb98fbc2f94dbe01b69384afbc515107de73df" if BR2_csky
default "9.2" if BR2_GDB_VERSION_9_2
default "10.2" if BR2_GDB_VERSION_10 || !BR2_PACKAGE_HOST_GDB
- default "11.1" if BR2_GDB_VERSION_11
+ default "11.2" if BR2_GDB_VERSION_11
depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
# recent gdb versions (>= 10) have gdbserver moved at the top-level,
diff --git a/package/gdb/gdb.hash b/package/gdb/gdb.hash
index d3e83af0b9..e7933374f1 100644
--- a/package/gdb/gdb.hash
+++ b/package/gdb/gdb.hash
@@ -1,7 +1,7 @@
# From ftp://gcc.gnu.org/pub/gdb/releases/sha512.sum
sha512 73635f00f343117aa5e2436f1e1597099e2bfb31ef7bb162b273fa1ea282c3fa9b0f52762e70bfc7ad0334addb8d159e9ac7cbe5998ca4f755ea8cf90714d274 gdb-9.2.tar.xz
sha512 3653762ac008e065c37cd641653184c9ff7ce51ee2222ade1122bec9d6cc64dffd4fb74888ef11ac1942064a08910e96b7865112ad37f4602eb0a16bed074caa gdb-10.2.tar.xz
-sha512 c40bf970e2f7c2107b29c5aa6a7150daa709d75ddadb73ac20742419d4637d158e3063a4c6ff6e47fae8ca8e1d36253973f85ea15445d004be6d5d7a2dd9bd46 gdb-11.1.tar.xz
+sha512 07e9026423438049b11f4f784d57401ece4e940570f613bd6958b3714fe7fbc2c048470bcce3e7d7d9f93331cdf3881d30dcc964cb113a071143a02b28e5b127 gdb-11.2.tar.xz
# Locally calculated (fetched from Github)
sha512 5a2acf2fd33ab2ff589e1037ca40abda54328997dcff26b2b49b874bd3be980be5a63342962254f3c3bda98e32ce7a33af704d37353352833dee193135600458 gdb-arc-2020.09-release-gdb.tar.gz
From arnout at mind.be Sat Mar 5 14:55:21 2022
From: arnout at mind.be (Arnout Vandecappelle)
Date: Sat, 5 Mar 2022 15:55:21 +0100
Subject: [Buildroot] [PATCH 1/1] package/safeclib: disable tests
In-Reply-To: <20220217135539.3784058-1-fontaine.fabrice@gmail.com>
References: <20220217135539.3784058-1-fontaine.fabrice@gmail.com>
Message-ID: <80abb66f-709f-a91d-d183-c9a72693428a@mind.be>
On 17/02/2022 14:55, Fabrice Fontaine wrote:
> Disable tests to avoid the following build failure raised since bump to
> version 3.7.1 in commit cc27267ae41bf44276c63b1e86042c4fae4adf50 and
> https://github.com/rurban/safeclib/commit/b90c52b1691fe82ce0a0681a503e1d45584f0162:
>
> In file included from perf_memcpy32_s.c:7:
> perf_private.h: In function 'rdtsc':
> perf_private.h:72:3: error: 'asm' undeclared (first use in this function)
> 72 | asm volatile("mrc p15, 0, %0, c9, c14, 0" : "=r"(pmuseren));
> | ^~~
>
> Fixes:
> - http://autobuild.buildroot.org/results/ceb13c071b1461eb6d73f5940d6b010095127f41
>
> Signed-off-by: Fabrice Fontaine
The patch was rejected upstream, and instead the underlying issue was fixed.
Care to submit the upstream patch instead?
Regards,
Arnout
> ---
> .../0001-Add-an-option-to-disable-tests.patch | 66 +++++++++++++++++++
> package/safeclib/safeclib.mk | 4 +-
> 2 files changed, 69 insertions(+), 1 deletion(-)
> create mode 100644 package/safeclib/0001-Add-an-option-to-disable-tests.patch
>
> diff --git a/package/safeclib/0001-Add-an-option-to-disable-tests.patch b/package/safeclib/0001-Add-an-option-to-disable-tests.patch
> new file mode 100644
> index 0000000000..420578fe2e
> --- /dev/null
> +++ b/package/safeclib/0001-Add-an-option-to-disable-tests.patch
> @@ -0,0 +1,66 @@
> +From 55b861a098434843f5614adcaab469defed95321 Mon Sep 17 00:00:00 2001
> +From: Fabrice Fontaine
> +Date: Thu, 17 Feb 2022 14:36:51 +0100
> +Subject: [PATCH] Add an option to disable tests
> +
> +Add an option to disable tests which are not always needed (e.g. on
> +embedded systems) and can raise the following build failure on some
> +architectures such as ARM cortex-a9:
> +
> +In file included from perf_memcpy32_s.c:7:
> +perf_private.h: In function 'rdtsc':
> +perf_private.h:72:3: error: 'asm' undeclared (first use in this function)
> + 72 | asm volatile("mrc p15, 0, %0, c9, c14, 0" : "=r"(pmuseren));
> + | ^~~
> +
> +Fixes:
> + - http://autobuild.buildroot.org/results/ceb13c071b1461eb6d73f5940d6b010095127f41
> +
> +Signed-off-by: Fabrice Fontaine
> +[Upstream status: https://github.com/rurban/safeclib/pull/115]
> +---
> + Makefile.am | 6 +++++-
> + configure.ac | 10 ++++++++++
> + 2 files changed, 15 insertions(+), 1 deletion(-)
> +
> +diff --git a/Makefile.am b/Makefile.am
> +index 429a84b2..7d14afb6 100644
> +--- a/Makefile.am
> ++++ b/Makefile.am
> +@@ -34,7 +34,11 @@
> + ACLOCAL_AMFLAGS = -I m4 --install ${ACLOCAL_FLAGS}
> +
> + # Sub-directories to preform recursive make in
> +-SUBDIRS = src tests
> ++SUBDIRS = src
> ++
> ++if ENABLE_TESTS
> ++SUBDIRS += tests
> ++endif
> +
> + # Library header files
> + pkginclude_HEADERS = \
> +diff --git a/configure.ac b/configure.ac
> +index b7fd03e9..8c8fbee7 100644
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -360,6 +360,16 @@ AC_ARG_ENABLE(doc,
> + esac], [enable_doc=true])
> + AM_CONDITIONAL(ENABLE_DOC, test "x$enable_doc" = "xtrue")
> +
> ++AC_ARG_ENABLE(tests,
> ++ AS_HELP_STRING([--disable-tests],
> ++ [disable tests @<:@default=no@:>@]),
> ++ [case "${enableval}" in
> ++ yes) enable_tests=true ;;
> ++ no) enable_tests=false ;;
> ++ *) AC_MSG_ERROR([bad value ${enableval} for --enable-tests]) ;;
> ++ esac], [enable_tests=true])
> ++AM_CONDITIONAL(ENABLE_TESTS, test "x$enable_tests" = "xtrue")
> ++
> + dnl for windows dllimport. checking pic_flag DLL_EXPORT would be better,
> + dnl but this is only enabled for the shared objs, and we need it in the config
> + dnl for our tests.
> +--
> +2.34.1
> +
> diff --git a/package/safeclib/safeclib.mk b/package/safeclib/safeclib.mk
> index bc58c1a38c..8f909f729b 100644
> --- a/package/safeclib/safeclib.mk
> +++ b/package/safeclib/safeclib.mk
> @@ -11,9 +11,11 @@ SAFECLIB_SOURCE = safeclib-$(SAFECLIB_VERSION).tar.xz
> SAFECLIB_LICENSE = MIT
> SAFECLIB_LICENSE_FILES = COPYING
> SAFECLIB_INSTALL_STAGING = YES
> +# We're patching configure.ac
> +SAFECLIB_AUTORECONF = YES
> SAFECLIB_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=c99"
> # -fstack-protector-strong is used by default. Disable that so the
> # BR2_SSP_* options in the toolchain wrapper are used instead
> -SAFECLIB_CONF_OPTS = --disable-hardening
> +SAFECLIB_CONF_OPTS = --disable-hardening --disable-tests
>
> $(eval $(autotools-package))
From arnout at mind.be Sat Mar 5 15:01:55 2022
From: arnout at mind.be (Arnout Vandecappelle)
Date: Sat, 5 Mar 2022 16:01:55 +0100
Subject: [Buildroot] [PATCH v2 2/2]
board/orangepi/orangepi-rk3399/genimage: fix partition types for gpt
In-Reply-To: <20220217155549.1084829-3-marcus.hoffmann@othermo.de>
References: <20220217155549.1084829-1-marcus.hoffmann@othermo.de>
<20220217155549.1084829-3-marcus.hoffmann@othermo.de>
Message-ID: <863fa1b5-dd78-2643-580e-fb5b231e5da1@mind.be>
On 17/02/2022 16:55, Marcus Hoffmann wrote:
> Fixes the following error during image generation:
> ERROR: hdimage(sdcard.img): part boot: 'partition-type' is only valid
> for mbr and hybrid partition-table-type
>
> Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/2103784375
>
> Signed-off-by: Marcus Hoffmann
Applied to master, thanks.
Regards,
Arnout
> ---
> board/orangepi/orangepi-rk3399/genimage.cfg | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/board/orangepi/orangepi-rk3399/genimage.cfg b/board/orangepi/orangepi-rk3399/genimage.cfg
> index c94e0bc7cc..a02166172f 100644
> --- a/board/orangepi/orangepi-rk3399/genimage.cfg
> +++ b/board/orangepi/orangepi-rk3399/genimage.cfg
> @@ -26,14 +26,13 @@ image sdcard.img {
> }
>
> partition boot {
> - partition-type = 0xC
> + partition-type-uuid = F
> bootable = "true"
> image = "boot.vfat"
> offset = 16M
> }
>
> partition rootfs {
> - partition-type = 0x83
> image = "rootfs.ext4"
> }
> }
From arnout at mind.be Sat Mar 5 15:01:27 2022
From: arnout at mind.be (Arnout Vandecappelle (Essensium/Mind))
Date: Sat, 5 Mar 2022 16:01:27 +0100
Subject: [Buildroot] [git commit] board/orangepi/orangepi-rk3399/genimage:
fix partition types for gpt
Message-ID: <20220305145417.7A75181761@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=b677a7bedb1a4c862944beeda53b104bd91cb2c2
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes the following error during image generation:
ERROR: hdimage(sdcard.img): part boot: 'partition-type' is only valid
for mbr and hybrid partition-table-type
Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/2103784375
Signed-off-by: Marcus Hoffmann
Reviewed-by: Giulio Benetti
Signed-off-by: Arnout Vandecappelle (Essensium/Mind)
---
board/orangepi/orangepi-rk3399/genimage.cfg | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/board/orangepi/orangepi-rk3399/genimage.cfg b/board/orangepi/orangepi-rk3399/genimage.cfg
index c94e0bc7cc..a02166172f 100644
--- a/board/orangepi/orangepi-rk3399/genimage.cfg
+++ b/board/orangepi/orangepi-rk3399/genimage.cfg
@@ -26,14 +26,13 @@ image sdcard.img {
}
partition boot {
- partition-type = 0xC
+ partition-type-uuid = F
bootable = "true"
image = "boot.vfat"
offset = 16M
}
partition rootfs {
- partition-type = 0x83
image = "rootfs.ext4"
}
}
From arnout at mind.be Sat Mar 5 15:09:24 2022
From: arnout at mind.be (Arnout Vandecappelle)
Date: Sat, 5 Mar 2022 16:09:24 +0100
Subject: [Buildroot] [PATCH 1/2] toolchain: support mismatched merged usr
In-Reply-To: <20220215124619.563502-1-nolange79@gmail.com>
References: <20220215124619.563502-1-nolange79@gmail.com>
Message-ID: <2086ffec-82b8-ec71-41f0-55253c3cd8eb@mind.be>
On 15/02/2022 13:46, Norbert Lange wrote:
> Look at the case where the source toolchain has non-merged usr,
> yet the target will have merged usr.
>
> sysroot/lib/ld-musl-x86_64.so.1 -> ../usr/lib/libc.so
> sysroot/usr/lib/libc.so
Where do you get an external toolchain with such a weird layout? Normally libc
is in sysroot/lib and ld-musl*.so.1 is a symlink to either /lib/libc.so or
../lib/libc.so.
Regards,
Arnout
>
> What happens is that buildroot copies the ld-*so* symlink
> into usr/lib, at which point it becomes broken.
>
> We now detect these broken symlinks, then try to find the target
> binary in the library directories and fix the link.
>
> Fix the case where the lib directory is a symlink, and no ld-*so*
> is installed by adding -H to find.
>
> Also use `cp -t` instead of some rarely used xargs tricks.
>
> Signed-off-by: Norbert Lange
> ---
> toolchain/helpers.mk | 13 +++++++++++--
> 1 file changed, 11 insertions(+), 2 deletions(-)
>
> diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk
> index ef8e9a5f64..aaf2aecd80 100644
> --- a/toolchain/helpers.mk
> +++ b/toolchain/helpers.mk
> @@ -135,8 +135,17 @@ copy_toolchain_sysroot = \
> $(call simplify_symlink,$$i,$(STAGING_DIR)) ; \
> done ; \
> fi ; \
> - if [[ ! $$(find $(STAGING_DIR)/lib -name 'ld*.so.*' -print -quit) ]]; then \
> - find $${ARCH_SYSROOT_DIR}/lib -name 'ld*.so.*' -print0 | xargs -0 -I % cp % $(STAGING_DIR)/lib/; \
> + for i in $$(find -H $(STAGING_DIR)/lib -name 'ld*.so.*' -xtype l); do \
> + LINKTARGET=`readlink $$i`; \
> + rm $$i; \
> + NEWLINKTARGET=$$(find -H $(STAGING_DIR)/$${ARCH_LIB_DIR} $(STAGING_DIR)/lib $(STAGING_DIR)/usr/$${ARCH_LIB_DIR} $(STAGING_DIR)/usr/lib -name "`basename $${LINKTARGET}`" -print -quit); \
> + if [ -n "$${NEWLINKTARGET}" -a -e "$${NEWLINKTARGET}" ]; then \
> + ln -sr $${NEWLINKTARGET} $$i; \
> + echo "Symlinking $$i -> `readlink $$i`" ; \
> + fi; \
> + done; \
> + if [[ ! $$(find -H $(STAGING_DIR)/lib -name 'ld*.so.*' -print -quit) ]]; then \
> + find $${ARCH_SYSROOT_DIR}/lib -name 'ld*.so.*' -print0 | xargs -0 cp -t $(STAGING_DIR)/lib/; \
> fi ; \
> if [ `readlink -f $${SYSROOT_DIR}` != `readlink -f $${ARCH_SYSROOT_DIR}` ] ; then \
> if [ ! -d $${ARCH_SYSROOT_DIR}/usr/include ] ; then \
From peter at korsgaard.com Sat Mar 5 16:27:55 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Sat, 05 Mar 2022 17:27:55 +0100
Subject: [Buildroot] [PATCH 1/1] docs/manual: remove override in
conditional
In-Reply-To: <20220304172440.3365435-1-fontaine.fabrice@gmail.com> (Fabrice
Fontaine's message of "Fri, 4 Mar 2022 18:24:39 +0100")
References: <20220304172440.3365435-1-fontaine.fabrice@gmail.com>
Message-ID: <8735jw9xf8.fsf@dell.be.48ers.dk>
>>>>> "Fabrice" == Fabrice Fontaine writes:
> Remove override of FOO_{CONF_OPTS,DEPENDENCIES} in conditional
> Signed-off-by: Fabrice Fontaine
Committed, thanks.
--
Bye, Peter Korsgaard
From peter at korsgaard.com Sat Mar 5 16:28:50 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Sat, 05 Mar 2022 17:28:50 +0100
Subject: [Buildroot] [PATCH 1/1] package/libvirt: fix build without
libvirtd
In-Reply-To: <20220304173851.3566563-1-fontaine.fabrice@gmail.com> (Fabrice
Fontaine's message of "Fri, 4 Mar 2022 18:38:51 +0100")
References: <20220304173851.3566563-1-fontaine.fabrice@gmail.com>
Message-ID: <87y21o8it9.fsf@dell.be.48ers.dk>
>>>>> "Fabrice" == Fabrice Fontaine writes:
> Fix the following build failure without libvirtd raised since the
> addition of the package in commit
> ccfc90e1010e42e6529afae3a5ea8bf7226dabc1 and
> https://gitlab.com/libvirt/libvirt/-/commit/89064c9e378b99fea0a334199a524f13390d5fc3:
> ../output-1/build/libvirt-7.10.0/meson.build:1518:2: ERROR: Problem
> encountered: Requested the Interface driver without netcf or udev and
> libvirtd support
> Fixes:
> - http://autobuild.buildroot.org/results/e43101c6d7f626439ef800263b8f5dfa99ce850b
> Signed-off-by: Fabrice Fontaine
Committed, thanks.
--
Bye, Peter Korsgaard
From peter at korsgaard.com Sat Mar 5 16:30:45 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Sat, 05 Mar 2022 17:30:45 +0100
Subject: [Buildroot] [PATCH] {linux, linux-headers}: bump 4.{4, 9, 14,
19}.x / 5.{4, 10, 15, 16}.x series
In-Reply-To: <20220304170907.157687-1-peter@korsgaard.com> (Peter Korsgaard's
message of "Fri, 4 Mar 2022 18:09:07 +0100")
References: <20220304170907.157687-1-peter@korsgaard.com>
Message-ID: <87tucc8iq2.fsf@dell.be.48ers.dk>
>>>>> "Peter" == Peter Korsgaard writes:
> Signed-off-by: Peter Korsgaard
Committed, thanks.
--
Bye, Peter Korsgaard
From peter at korsgaard.com Sat Mar 5 16:28:34 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Sat, 5 Mar 2022 17:28:34 +0100
Subject: [Buildroot] [git commit] package/libvirt: fix build without libvirtd
Message-ID: <20220305162320.04936827FE@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=87f1dd7b52deedb5a7f50a43e4b1dd1d23313395
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fix the following build failure without libvirtd raised since the
addition of the package in commit
ccfc90e1010e42e6529afae3a5ea8bf7226dabc1 and
https://gitlab.com/libvirt/libvirt/-/commit/89064c9e378b99fea0a334199a524f13390d5fc3:
../output-1/build/libvirt-7.10.0/meson.build:1518:2: ERROR: Problem encountered: Requested the Interface driver without netcf or udev and libvirtd support
Fixes:
- http://autobuild.buildroot.org/results/e43101c6d7f626439ef800263b8f5dfa99ce850b
Signed-off-by: Fabrice Fontaine
Signed-off-by: Peter Korsgaard
---
package/libvirt/libvirt.mk | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/package/libvirt/libvirt.mk b/package/libvirt/libvirt.mk
index 7b0ed5e52e..1dc61a7549 100644
--- a/package/libvirt/libvirt.mk
+++ b/package/libvirt/libvirt.mk
@@ -39,7 +39,6 @@ LIBVIRT_CONF_OPTS = \
-Ddriver_ch=disabled \
-Ddriver_esx=disabled \
-Ddriver_hyperv=disabled \
- -Ddriver_interface=enabled \
-Ddriver_libxl=disabled \
-Ddriver_openvz=disabled \
-Ddriver_remote=enabled \
@@ -196,7 +195,10 @@ endif
ifeq ($(BR2_PACKAGE_LIBVIRT_DAEMON),y)
# Network is used by daemon, only
-LIBVIRT_CONF_OPTS += -Ddriver_libvirtd=enabled -Ddriver_network=enabled
+LIBVIRT_CONF_OPTS += \
+ -Ddriver_interface=enabled \
+ -Ddriver_libvirtd=enabled \
+ -Ddriver_network=enabled
ifeq ($(BR2_PACKAGE_LIBSSH),y)
LIBVIRT_CONF_OPTS += -Dlibssh=enabled
@@ -235,7 +237,10 @@ endif
else # BR2_PACKAGE_LIBVIRT_DAEMON
-LIBVIRT_CONF_OPTS += -Ddriver_libvirtd=disabled -Ddriver_network=disabled
+LIBVIRT_CONF_OPTS += \
+ -Ddriver_interface=disabled \
+ -Ddriver_libvirtd=disabled \
+ -Ddriver_network=disabled
endif
From peter at korsgaard.com Sat Mar 5 16:27:04 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Sat, 5 Mar 2022 17:27:04 +0100
Subject: [Buildroot] [git commit] docs/manual: remove override in conditional
Message-ID: <20220305162319.F0267827E3@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=3d7f852ac5afb09f0a9a0b5f441403a98bc0f410
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Remove override of FOO_{CONF_OPTS,DEPENDENCIES} in conditional
Signed-off-by: Fabrice Fontaine
Signed-off-by: Peter Korsgaard
---
docs/manual/adding-packages-kernel-module.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/manual/adding-packages-kernel-module.txt b/docs/manual/adding-packages-kernel-module.txt
index b609ecc90a..1d4251333d 100644
--- a/docs/manual/adding-packages-kernel-module.txt
+++ b/docs/manual/adding-packages-kernel-module.txt
@@ -70,11 +70,11 @@ Let's look at a more complex example:
14: FOO_MODULE_MAKE_OPTS = KVERSION=$(LINUX_VERSION_PROBED)
15:
16: ifeq ($(BR2_PACKAGE_LIBBAR),y)
-17: FOO_DEPENDENCIES = libbar
-18: FOO_CONF_OPTS = --enable-bar
+17: FOO_DEPENDENCIES += libbar
+18: FOO_CONF_OPTS += --enable-bar
19: FOO_MODULE_SUBDIRS += driver/bar
20: else
-21: FOO_CONF_OPTS = --disable-bar
+21: FOO_CONF_OPTS += --disable-bar
22: endif
23:
24: $(eval $(kernel-module))
From peter at korsgaard.com Sat Mar 5 16:26:53 2022
From: peter at korsgaard.com (Peter Korsgaard)
Date: Sat, 5 Mar 2022 17:26:53 +0100
Subject: [Buildroot] [git commit] {linux, linux-headers}: bump 4.{4, 9, 14,
19}.x / 5.{4, 10, 15, 16}.x series
Message-ID: <20220305162319.E8286827CC@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=949aee637738341690b3a29a7dc2eb7572c164f1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard
---
linux/Config.in | 2 +-
linux/linux.hash | 16 ++++++++--------
package/linux-headers/Config.in.host | 16 ++++++++--------
3 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/linux/Config.in b/linux/Config.in
index 13d99bd09d..df5261e5ff 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -125,7 +125,7 @@ endif
config BR2_LINUX_KERNEL_VERSION
string
- default "5.15.13" if BR2_LINUX_KERNEL_LATEST_VERSION
+ default "5.15.26" if BR2_LINUX_KERNEL_LATEST_VERSION
default "5.10.83-cip1" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
default "5.10.83-cip1-rt1" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
diff --git a/linux/linux.hash b/linux/linux.hash
index d0813e5db4..01325348ef 100644
--- a/linux/linux.hash
+++ b/linux/linux.hash
@@ -1,13 +1,13 @@
# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
-sha256 027d7e8988bb69ac12ee92406c3be1fe13f990b1ca2249e226225cd1573308bb linux-5.16.tar.xz
-sha256 0a131b6a2f9f5ee37ecb332b5459ab35a87f0bf2d4ec923988d0663646cf156a linux-5.15.13.tar.xz
-sha256 945e4264c014a3d9dfc0a4639309dd1ec2fb545416556421f931b95da78c2725 linux-5.10.90.tar.xz
-sha256 b09f74e0cf5fc7cf5de6aa932fe654c962cb10118bdbbdddb397022c6e6d382c linux-5.4.170.tar.xz
+sha256 bb5a1df15a10a715807a44872ff4fe775337aae445285181f1d1ba0c78b1d7f2 linux-5.16.12.tar.xz
+sha256 58122134f2613fcbb200bb2399ef2117852166a8e11eed4b632a86b20b6bbe3a linux-5.15.26.tar.xz
+sha256 4fb8ad55e6430342e4fbc94d54e594e9be8eb6a8bea1d71eccf835948d08580a linux-5.10.103.tar.xz
+sha256 b2f1201f64f010e9e3c85d6f303a559a7944a80a0244a86b8f5035bd23f1f40d linux-5.4.182.tar.xz
# From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
-sha256 86c9ed59b120fad14d207470446086ac46099cd7bb9e58682e368e721164a6e0 linux-4.4.298.tar.xz
-sha256 fd4bdbc8be3472d6324fa0f5f57a17f5c3f509d5f5b4fa4f1a9797d982d0bca8 linux-4.9.296.tar.xz
-sha256 bffaaa4c93ab4ed1de61f804c26c92b82dd80f92793e20194b62497d7b8b4723 linux-4.14.261.tar.xz
-sha256 01ccfc3413c3bb305653ceb0aa528aba0caa61b326e43709bf1f8b624f211031 linux-4.19.224.tar.xz
+sha256 35017bb40b604e0b577fc2b87e727632b46608a2ba3a4f5858b9177f58f376b3 linux-4.4.302.tar.xz
+sha256 295e4bb3ba3244a9f4c48139ad13f78145f3e6402e11aa25b20aadb9ae9f2b25 linux-4.9.304.tar.xz
+sha256 03a65f405c3acae4dd8cd952444b7cd931f972c01a42e20a471319a2f6c018d2 linux-4.14.269.tar.xz
+sha256 4fcfe814780d63dc56e907bf41596ff162e9601978bdc1a60eab64cc3903a22c linux-4.19.232.tar.xz
# Locally computed
sha256 5738dcf020ff75fb6e43d6d1a8b572d2f1fe58c08b31f822eb42fb91d6bdc98f linux-cip-5.10.83-cip1.tar.gz
sha256 2395443c5f960e5c6343f70480209d2530da27aa6f0299412e0f4b7128fccb7c linux-cip-5.10.83-cip1-rt1.tar.gz
diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index 8543f1cd21..8cfbd41831 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -380,14 +380,14 @@ endchoice
config BR2_DEFAULT_KERNEL_HEADERS
string
- default "4.4.298" if BR2_KERNEL_HEADERS_4_4
- default "4.9.296" if BR2_KERNEL_HEADERS_4_9
- default "4.14.261" if BR2_KERNEL_HEADERS_4_14
- default "4.19.224" if BR2_KERNEL_HEADERS_4_19
- default "5.4.170" if BR2_KERNEL_HEADERS_5_4
- default "5.10.90" if BR2_KERNEL_HEADERS_5_10
- default "5.15.13" if BR2_KERNEL_HEADERS_5_15
- default "5.16" if BR2_KERNEL_HEADERS_5_16
+ default "4.4.302" if BR2_KERNEL_HEADERS_4_4
+ default "4.9.304" if BR2_KERNEL_HEADERS_4_9
+ default "4.14.269" if BR2_KERNEL_HEADERS_4_14
+ default "4.19.232" if BR2_KERNEL_HEADERS_4_19
+ default "5.4.182" if BR2_KERNEL_HEADERS_5_4
+ default "5.10.103" if BR2_KERNEL_HEADERS_5_10
+ default "5.15.26" if BR2_KERNEL_HEADERS_5_15
+ default "5.16.12" if BR2_KERNEL_HEADERS_5_16
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
From fontaine.fabrice at gmail.com Sat Mar 5 17:39:13 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Sat, 5 Mar 2022 18:39:13 +0100
Subject: [Buildroot] [PATCH 1/1] package/expat: bump to version 2.4.7
Message-ID: <20220305173913.229445-1-fontaine.fabrice@gmail.com>
This release relaxes the fix to CVE-2022-25236 (introduced with release
2.4.5) which some of you have been waiting for, due to related
incompatibilities.
https://blog.hartwork.org/posts/expat-2-4-7-released
https://github.com/libexpat/libexpat/blob/R_2_4_7/expat/Changes
Signed-off-by: Fabrice Fontaine
---
package/expat/expat.hash | 8 ++++----
package/expat/expat.mk | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/package/expat/expat.hash b/package/expat/expat.hash
index 0d9f60931f..26f1098b7a 100644
--- a/package/expat/expat.hash
+++ b/package/expat/expat.hash
@@ -1,7 +1,7 @@
-# From https://sourceforge.net/projects/expat/files/expat/2.4.6/
-md5 22a30c888752fdda9f8dd1b7281c54b0 expat-2.4.6.tar.xz
-sha1 26e223c4795c242814b0e3299a5027c22b9dc733 expat-2.4.6.tar.xz
+# From https://sourceforge.net/projects/expat/files/expat/2.4.7/
+md5 75a1f475e30281a00cb6f083ea481159 expat-2.4.7.tar.xz
+sha1 032ceaa11cd791d4bc622bbf0d835b8766207796 expat-2.4.7.tar.xz
# Locally calculated
-sha256 de55794b7a9bc214852fdc075beaaecd854efe1361597e6268ee87946951289b expat-2.4.6.tar.xz
+sha256 9875621085300591f1e64c18fd3da3a0eeca4a74f884b9abac2758ad1bd07a7d expat-2.4.7.tar.xz
sha256 8c6b5b6de8fae20b317f4992729abc0e520bfba4c7606cd1e9eeb87418eebdec COPYING
diff --git a/package/expat/expat.mk b/package/expat/expat.mk
index c481b5c225..b29b0e1d26 100644
--- a/package/expat/expat.mk
+++ b/package/expat/expat.mk
@@ -4,7 +4,7 @@
#
################################################################################
-EXPAT_VERSION = 2.4.6
+EXPAT_VERSION = 2.4.7
EXPAT_SITE = http://downloads.sourceforge.net/project/expat/expat/$(EXPAT_VERSION)
EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.xz
EXPAT_INSTALL_STAGING = YES
--
2.34.1
From ju.o at free.fr Sat Mar 5 17:50:41 2022
From: ju.o at free.fr (Julien Olivain)
Date: Sat, 5 Mar 2022 18:50:41 +0100
Subject: [Buildroot] [PATCH 1/1] package/openblas: bump to version v0.3.20
Message-ID: <20220305175041.2225915-1-ju.o@free.fr>
This commit dropped a patch included upstream. The other patch was
rebased.
For change log since v0.3.18, see:
- https://github.com/xianyi/OpenBLAS/releases/tag/v0.3.19
- https://github.com/xianyi/OpenBLAS/releases/tag/v0.3.20
Signed-off-by: Julien Olivain
---
Tested with:
make check-package
...
0 warnings generated
./utils/test-pkg -p openblas -a
...
45 builds, 25 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed
---
...nsider-Os-when-determining-LAPACK_NO.patch | 31 -------------------
...on-t-specify-optimization-level-bui.patch} | 9 +++---
package/openblas/openblas.hash | 2 +-
package/openblas/openblas.mk | 2 +-
4 files changed, 6 insertions(+), 38 deletions(-)
delete mode 100644 package/openblas/0001-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch
rename package/openblas/{0002-Makefile.system-don-t-specify-optimization-level-bui.patch => 0001-Makefile.system-don-t-specify-optimization-level-bui.patch} (86%)
diff --git a/package/openblas/0001-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch b/package/openblas/0001-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch
deleted file mode 100644
index f9278bd099..0000000000
--- a/package/openblas/0001-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From ced08de1ad74811bc23d74121751537bfd8e9556 Mon Sep 17 00:00:00 2001
-From: Thomas De Schampheleire
-Date: Fri, 5 Mar 2021 11:15:52 +0100
-Subject: [PATCH] Makefile: also consider -O, -Og and -Os when stripping flags
-
-gcc also supports -O, -Og and -Os as optimization flags.
-They may be given on the make command-line by users.
-
-For the calculation of LAPACK_NOOPT, all such flags should be considered.
-
-Signed-off-by: Thomas De Schampheleire
----
- Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index a22e16ba..fc5fe3f5 100644
---- a/Makefile
-+++ b/Makefile
-@@ -32,7 +32,7 @@ export NOFORTRAN
- export NO_LAPACK
- endif
-
--LAPACK_NOOPT := $(filter-out -O0 -O1 -O2 -O3 -Ofast,$(LAPACK_FFLAGS))
-+LAPACK_NOOPT := $(filter-out -O0 -O1 -O2 -O3 -Ofast -O -Og -Os,$(LAPACK_FFLAGS))
-
- SUBDIRS_ALL = $(SUBDIRS) test ctest utest exports benchmark ../laswp ../bench cpp_thread_test
-
---
-2.26.2
-
diff --git a/package/openblas/0002-Makefile.system-don-t-specify-optimization-level-bui.patch b/package/openblas/0001-Makefile.system-don-t-specify-optimization-level-bui.patch
similarity index 86%
rename from package/openblas/0002-Makefile.system-don-t-specify-optimization-level-bui.patch
rename to package/openblas/0001-Makefile.system-don-t-specify-optimization-level-bui.patch
index bcc3e0eb6a..e0c738748a 100644
--- a/package/openblas/0002-Makefile.system-don-t-specify-optimization-level-bui.patch
+++ b/package/openblas/0001-Makefile.system-don-t-specify-optimization-level-bui.patch
@@ -1,4 +1,4 @@
-From 6d1c1350977d74fb2239f765bd92a5763cd3bb73 Mon Sep 17 00:00:00 2001
+From d8ec4e4c6ef69165179f376e365034de10e6fee3 Mon Sep 17 00:00:00 2001
From: Thomas De Schampheleire
Date: Fri, 5 Mar 2021 14:09:23 +0100
Subject: [PATCH] Makefile.system: don't specify optimization level
@@ -12,16 +12,15 @@ The CFLAGS/FFLAGS would e.g. contain '-Os -O2' in which -O2 survives.
Remove the optimization level specified in openblas itself.
Signed-off-by: Thomas De Schampheleire
-
---
Makefile.system | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.system b/Makefile.system
-index 1e30d05a..04b0be16 100644
+index 438a8148..9de1bbd5 100644
--- a/Makefile.system
+++ b/Makefile.system
-@@ -1216,11 +1216,11 @@ FCOMMON_OPT += -g
+@@ -1519,11 +1519,11 @@ FCOMMON_OPT += -g
endif
ifndef COMMON_OPT
@@ -36,5 +35,5 @@ index 1e30d05a..04b0be16 100644
override CFLAGS += $(COMMON_OPT) $(CCOMMON_OPT) -I$(TOPDIR)
--
-2.26.2
+2.35.1
diff --git a/package/openblas/openblas.hash b/package/openblas/openblas.hash
index a1e35f4fc4..71fc4d34c5 100644
--- a/package/openblas/openblas.hash
+++ b/package/openblas/openblas.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 1632c1e8cca62d8bed064b37747e331a1796fc46f688626337362bf0d16aeadb openblas-0.3.18.tar.gz
+sha256 8495c9affc536253648e942908e88e097f2ec7753ede55aca52e5dead3029e3c openblas-0.3.20.tar.gz
sha256 190b5a9c8d9723fe958ad33916bd7346d96fab3c5ea90832bb02d854f620fcff LICENSE
diff --git a/package/openblas/openblas.mk b/package/openblas/openblas.mk
index 4d506fa618..608c2f24ea 100644
--- a/package/openblas/openblas.mk
+++ b/package/openblas/openblas.mk
@@ -4,7 +4,7 @@
#
################################################################################
-OPENBLAS_VERSION = 0.3.18
+OPENBLAS_VERSION = 0.3.20
OPENBLAS_SITE = https://github.com/xianyi/OpenBLAS/releases/download/v$(OPENBLAS_VERSION)
OPENBLAS_LICENSE = BSD-3-Clause
OPENBLAS_LICENSE_FILES = LICENSE
--
2.35.1
From ju.o at free.fr Sat Mar 5 20:07:30 2022
From: ju.o at free.fr (Julien Olivain)
Date: Sat, 5 Mar 2022 21:07:30 +0100
Subject: [Buildroot] [PATCH 1/1] package/octave: new package
Message-ID: <20220305200730.11060-1-ju.o@free.fr>
GNU Octave is a high-level language, primarily intended for numerical
computations. It provides a convenient command line interface for
solving linear and nonlinear problems numerically, and for performing
other numerical experiments using a language that is mostly compatible
with Matlab. It may also be used as a batch-oriented language. Octave
has extensive tools for solving common numerical linear algebra
problems, finding the roots of nonlinear equations, integrating
ordinary functions, manipulating polynomials, and integrating ordinary
differential and differential-algebraic equations. It is easily
extensible and customizable via user-defined functions written in
Octave's own language, or using dynamically loaded modules written in
C++, C, Fortran, or other languages.
https://www.octave.org/
Signed-off-by: Julien Olivain
---
Package tested with:
make check-package
...
0 warnings generated
./utils/test-pkg -a -p octave
...
45 builds, 35 skipped, 0 build failed, 0 legal-info failed, 0 show-info failed
support/testing/run-tests \
-d dl -o output_folder \
tests.package.test_octave.TestOctave
...
OK
>From qemu_aarch64_virt_defconfig with Octave, on target:
octave --eval 'oruntests general'
...
[all general tests passed]
---
DEVELOPERS | 2 +
package/Config.in | 1 +
...-BLAS-library-integer-size-detection.patch | 40 +++++++++++++
package/octave/Config.in | 42 +++++++++++++
package/octave/octave.hash | 3 +
package/octave/octave.mk | 28 +++++++++
support/testing/tests/package/test_octave.py | 60 +++++++++++++++++++
7 files changed, 176 insertions(+)
create mode 100644 package/octave/0001-Fix-BLAS-library-integer-size-detection.patch
create mode 100644 package/octave/Config.in
create mode 100644 package/octave/octave.hash
create mode 100644 package/octave/octave.mk
create mode 100644 support/testing/tests/package/test_octave.py
diff --git a/DEVELOPERS b/DEVELOPERS
index b7a7c8771c..af35af0bd3 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1611,6 +1611,7 @@ F: configs/zynq_qmtech_defconfig
F: package/fluid-soundfont/
F: package/fluidsynth/
F: package/glslsandbox-player/
+F: package/octave/
F: package/ptm2human/
F: package/python-distro/
F: package/python-gnupg/
@@ -1619,6 +1620,7 @@ F: package/riscv-isa-sim/
F: package/zynaddsubfx/
F: support/testing/tests/package/sample_python_distro.py
F: support/testing/tests/package/sample_python_gnupg.py
+F: support/testing/tests/package/test_octave.py
F: support/testing/tests/package/test_python_distro.py
F: support/testing/tests/package/test_python_gnupg.py
diff --git a/package/Config.in b/package/Config.in
index 8d2d550a64..c87bf04a7e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -756,6 +756,7 @@ menu "Mono libraries/modules"
endmenu
endif
source "package/nodejs/Config.in"
+ source "package/octave/Config.in"
source "package/openjdk/Config.in"
source "package/perl/Config.in"
if BR2_PACKAGE_PERL
diff --git a/package/octave/0001-Fix-BLAS-library-integer-size-detection.patch b/package/octave/0001-Fix-BLAS-library-integer-size-detection.patch
new file mode 100644
index 0000000000..81126c99e7
--- /dev/null
+++ b/package/octave/0001-Fix-BLAS-library-integer-size-detection.patch
@@ -0,0 +1,40 @@
+From 024bea5f3f78db166d3a97aca413cc2b96619673 Mon Sep 17 00:00:00 2001
+From: Julien Olivain
+Date: Sat, 5 Mar 2022 12:36:09 +0100
+Subject: [PATCH] Fix BLAS library integer size detection
+
+When cross-compiling, octave ./configure script fails to detect the BLAS
+library integer size and fails with the message:
+
+ configure: error: unrecognized BLAS library integer size
+
+This patch fixes this detection.
+
+Patch adapted from:
+https://github.com/openembedded/meta-openembedded/commit/0ad153f721ef99de585c4452a997a7104f45d71d
+
+Signed-off-by: Julien Olivain
+---
+ configure.ac | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 31e656fa20..a6a6350b48 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -760,6 +760,12 @@ if test $ax_blas_ok = no || test $ax_lapack_ok = no; then
+ AC_MSG_ERROR([BLAS and LAPACK libraries are required])
+ fi
+
++if ac_fn_f77_try_run "$LINENO"; then :
++ ax_blas_integer_size=8
++else
++ ax_blas_integer_size=4
++fi
++
+ case $ax_blas_integer_size in
+ 4)
+ HAVE_64_BIT_BLAS=no
+--
+2.35.1
+
diff --git a/package/octave/Config.in b/package/octave/Config.in
new file mode 100644
index 0000000000..b504310d19
--- /dev/null
+++ b/package/octave/Config.in
@@ -0,0 +1,42 @@
+config BR2_PACKAGE_OCTAVE
+ bool "octave"
+ depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
+ depends on BR2_TOOLCHAIN_HAS_FORTRAN
+ # Some Bootlin x86_64 toolchains (like version
+ # bleeding-edge-2021.11-1) has a file
+ # "x86_64-buildroot-linux-gnu/lib64/libgfortran.la" including
+ # a "dependency_libs=" entry with an incorrect absolute path
+ # to linquadmath.la on the bootlin build host. This breaks
+ # builds using libtool with libgfortran. Those toolchains are
+ # used by the "utils/test-pkg" script.
+ depends on !BR2_TOOLCHAIN_EXTERNAL_BOOTLIN || !BR2_x86_64
+ select BR2_PACKAGE_OPENBLAS
+ select BR2_PACKAGE_PCRE
+ select BR2_PACKAGE_PCRE_UTF
+ help
+ GNU Octave is a high-level language, primarily intended for
+ numerical computations. It provides a convenient command
+ line interface for solving linear and nonlinear problems
+ numerically, and for performing other numerical experiments
+ using a language that is mostly compatible with Matlab. It
+ may also be used as a batch-oriented language. Octave has
+ extensive tools for solving common numerical linear algebra
+ problems, finding the roots of nonlinear equations,
+ integrating ordinary functions, manipulating polynomials,
+ and integrating ordinary differential and
+ differential-algebraic equations. It is easily extensible
+ and customizable via user-defined functions written in
+ Octave's own language, or using dynamically loaded modules
+ written in C++, C, Fortran, or other languages.
+
+ https://www.octave.org/
+
+comment "octave needs a toolchain w/ C++11 and fortran"
+ depends on !BR2_INSTALL_LIBSTDCPP || \
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
+ !BR2_TOOLCHAIN_HAS_FORTRAN
+
+comment "octave needs the openblas package"
+ depends on !BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS
diff --git a/package/octave/octave.hash b/package/octave/octave.hash
new file mode 100644
index 0000000000..62f6aa3e80
--- /dev/null
+++ b/package/octave/octave.hash
@@ -0,0 +1,3 @@
+# Locally computed
+sha256 40eaa1492ec1baf5084a1694288febdcba568838f4983450f8dac5819934059a octave-6.4.0.tar.lz
+sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING
diff --git a/package/octave/octave.mk b/package/octave/octave.mk
new file mode 100644
index 0000000000..6048305280
--- /dev/null
+++ b/package/octave/octave.mk
@@ -0,0 +1,28 @@
+################################################################################
+#
+# octave
+#
+################################################################################
+
+OCTAVE_VERSION = 6.4.0
+OCTAVE_SITE = https://ftp.gnu.org/gnu/octave
+OCTAVE_SOURCE = octave-$(OCTAVE_VERSION).tar.lz
+OCTAVE_LICENSE = GPL-3.0+
+OCTAVE_LICENSE_FILES = COPYING
+OCTAVE_AUTORECONF = YES
+
+OCTAVE_CONF_OPTS = --disable-java
+
+OCTAVE_DEPENDENCIES = \
+ host-gperf \
+ openblas \
+ pcre
+
+ifeq ($(BR2_PACKAGE_READLINE),y)
+OCTAVE_CONF_OPTS += --enable-readline
+OCTAVE_DEPENDENCIES += readline
+else
+OCTAVE_CONF_OPTS += --disable-readline
+endif
+
+$(eval $(autotools-package))
diff --git a/support/testing/tests/package/test_octave.py b/support/testing/tests/package/test_octave.py
new file mode 100644
index 0000000000..f218b219d8
--- /dev/null
+++ b/support/testing/tests/package/test_octave.py
@@ -0,0 +1,60 @@
+import os
+
+import infra.basetest
+
+
+class TestOctave(infra.basetest.BRTest):
+ # infra.basetest.BASIC_TOOLCHAIN_CONFIG cannot be used as it does
+ # not include gfortran.
+ config = \
+ """
+ BR2_aarch64=y
+ BR2_TOOLCHAIN_EXTERNAL=y
+ BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
+ BR2_LINUX_KERNEL=y
+ BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.26"
+ BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
+ BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config"
+ BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+ BR2_TARGET_ROOTFS_CPIO=y
+ BR2_TARGET_ROOTFS_CPIO_GZIP=y
+ # BR2_TARGET_ROOTFS_TAR is not set
+ BR2_PACKAGE_OCTAVE=y
+ """
+
+ def octave_cmd(self, octave_expr):
+ return "octave --quiet --eval '{}'".format(octave_expr)
+
+ def test_run(self):
+ img = os.path.join(self.builddir, "images", "rootfs.cpio.gz")
+ kern = os.path.join(self.builddir, "images", "Image")
+ self.emulator.boot(arch="aarch64",
+ kernel=kern,
+ kernel_cmdline=["console=ttyAMA0"],
+ options=["-M", "virt", "-cpu", "cortex-a57", "-m", "512M", "-initrd", img])
+ self.emulator.login()
+
+ # Check Euler identity
+ cmd = self.octave_cmd("assert (exp(i*pi)+1, 0, 1e-10)")
+ self.assertRunOk(cmd)
+
+ # Solve equation system example from Octave homepage
+ octave_expr = "b = [4; 9; 2]; "
+ octave_expr += "A = [ 3 4 5; 1 3 1; 3 5 9 ]; "
+ octave_expr += "x = A \ b; "
+ octave_expr += "assert(x, [-1.5; 4; -1.5], 1e-10)"
+ cmd = self.octave_cmd(octave_expr)
+ self.assertRunOk(cmd)
+
+ # Check octave can fail
+ cmd = self.octave_cmd("assert(false)")
+ _, exit_code = self.emulator.run(cmd)
+ self.assertNotEqual(exit_code, 0)
+
+ # Check string output
+ string = "Hello World"
+ cmd = self.octave_cmd("printf(\"{}\\n\")".format(string))
+ output, exit_code = self.emulator.run(cmd)
+ self.assertEqual(exit_code, 0)
+ self.assertEqual(output, [string])
--
2.35.1
From fontaine.fabrice at gmail.com Sat Mar 5 20:44:46 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Sat, 5 Mar 2022 21:44:46 +0100
Subject: [Buildroot] [PATCH 1/1] package/azure-iot-sdk-c: drop custom
install rules
Message-ID: <20220305204446.823802-1-fontaine.fabrice@gmail.com>
Drop custom install rules which have been added since the addition of
the package in commit 2d837933e55216dc31a2206b063689cfd04a4c01 but are
now resulting in a broken installion
Fixes:
- https://bugs.buildroot.org/show_bug.cgi?id=14636
Signed-off-by: Fabrice Fontaine
---
package/azure-iot-sdk-c/azure-iot-sdk-c.mk | 58 ----------------------
1 file changed, 58 deletions(-)
diff --git a/package/azure-iot-sdk-c/azure-iot-sdk-c.mk b/package/azure-iot-sdk-c/azure-iot-sdk-c.mk
index 3f00db3ff4..e6de8c851b 100644
--- a/package/azure-iot-sdk-c/azure-iot-sdk-c.mk
+++ b/package/azure-iot-sdk-c/azure-iot-sdk-c.mk
@@ -14,62 +14,4 @@ AZURE_IOT_SDK_C_INSTALL_STAGING = YES
AZURE_IOT_SDK_C_DEPENDENCIES = libxml2 openssl libcurl util-linux
AZURE_IOT_SDK_C_CONF_OPTS = -Dskip_samples=ON
-# The project only supports building one kind of library.
-# Further the install target installs the wrong files, so we do it here:
-ifeq ($(BR2_STATIC_LIBS),y)
-AZURE_IOT_SDK_C_LIBS += \
- uamqp/libuamqp.a \
- c-utility/libaziotsharedutil.a \
- iothub_client/libiothub_client.a \
- iothub_client/libiothub_client_mqtt_ws_transport.a \
- iothub_client/libiothub_client_amqp_ws_transport.a \
- iothub_client/libiothub_client_http_transport.a \
- iothub_client/libiothub_client_amqp_transport.a \
- iothub_client/libiothub_client_mqtt_transport.a \
- iothub_service_client/libiothub_service_client.a \
- serializer/libserializer.a \
- umqtt/libumqtt.a \
- deps/uhttp/libuhttp.a \
- deps/umock-c/libumock_c.a \
- libparson.a
-else
-AZURE_IOT_SDK_C_LIBS += \
- uamqp/libuamqp.so \
- c-utility/libaziotsharedutil.so \
- iothub_client/libiothub_client.so \
- iothub_client/libiothub_client_mqtt_ws_transport.so \
- iothub_client/libiothub_client_amqp_ws_transport.so \
- iothub_client/libiothub_client_http_transport.so \
- iothub_client/libiothub_client_amqp_transport.so \
- iothub_client/libiothub_client_mqtt_transport.so \
- iothub_service_client/libiothub_service_client.so \
- serializer/libserializer.so \
- umqtt/libumqtt.so.1.1.12 \
- deps/uhttp/libuhttp.so \
- deps/umock-c/libumock_c.so \
- libparson.so
-
-define AZURE_IOT_SDK_C_CREATE_SYMLINKS
- ln -sf libumqtt.so.1.1.12 $(1)/usr/lib/libumqtt.so.1
- ln -sf libumqtt.so.1.1.12 $(1)/usr/lib/libumqtt.so
-endef
-endif
-
-define AZURE_IOT_SDK_C_INSTALL_LIBS
- $(foreach l,$(AZURE_IOT_SDK_C_LIBS), \
- $(INSTALL) -D -m 0755 $(@D)/$(l) $(1)/usr/lib/$(notdir $(l))
- )
- $(call AZURE_IOT_SDK_C_CREATE_SYMLINKS,$(1))
-endef
-
-define AZURE_IOT_SDK_C_INSTALL_STAGING_CMDS
- $(call AZURE_IOT_SDK_C_INSTALL_LIBS,$(STAGING_DIR))
- cp -a $(@D)/c-utility/inc/* $(STAGING_DIR)/usr/include/
- cp -a $(@D)/iothub_client/inc/* $(STAGING_DIR)/usr/include/
-endef
-
-define AZURE_IOT_SDK_C_INSTALL_TARGET_CMDS
- $(call AZURE_IOT_SDK_C_INSTALL_LIBS,$(TARGET_DIR))
-endef
-
$(eval $(cmake-package))
--
2.34.1
From bugzilla at busybox.net Sun Mar 6 09:05:10 2022
From: bugzilla at busybox.net (bugzilla at busybox.net)
Date: Sun, 06 Mar 2022 09:05:10 +0000
Subject: [Buildroot] [Bug 14636] azure-iot-sdk-c: Installed headers do not
compile
In-Reply-To:
References:
Message-ID:
https://bugs.busybox.net/show_bug.cgi?id=14636
--- Comment #1 from Fabrice Fontaine ---
Thanks for your bug report, can you confirm that the following patch fixes your
issue:
https://patchwork.ozlabs.org/project/buildroot/patch/20220305204446.823802-1-fontaine.fabrice at gmail.com/
--
You are receiving this mail because:
You are on the CC list for the bug.
From fontaine.fabrice at gmail.com Sun Mar 6 09:13:23 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Sun, 6 Mar 2022 10:13:23 +0100
Subject: [Buildroot] [PATCH 1/1] package/libglfw: fiw wayland build
Message-ID: <20220306091323.93313-1-fontaine.fabrice@gmail.com>
Fix the following build failure raised since bump to version 3.3.6 in
commit 3cd9bb4f2a91d3739c5da96f5e4dd37d3ae13799:
CMake Error at CMakeLists.txt:252 (find_package):
Could not find a package configuration file provided by "ECM" with any of
the following names:
ECMConfig.cmake
ecm-config.cmake
Fixes:
- http://autobuild.buildroot.org/results/0d7420aff7392c294614fd12e65ac7cd57787e98
Signed-off-by: Fabrice Fontaine
---
...emove-extra-cmake-modules-dependency.patch | 121 ++++++++++++++++++
...xt-allow-override-of-wayland-pkgdata.patch | 32 +++++
package/libglfw/Config.in | 2 +
package/libglfw/libglfw.mk | 6 +-
4 files changed, 160 insertions(+), 1 deletion(-)
create mode 100644 package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch
create mode 100644 package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch
diff --git a/package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch b/package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch
new file mode 100644
index 0000000000..d5ee7c829a
--- /dev/null
+++ b/package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch
@@ -0,0 +1,121 @@
+From 2747e47393cbca2d09db56223e735bd94b21e2eb Mon Sep 17 00:00:00 2001
+From: Joel Winarske
+Date: Mon, 28 Sep 2020 22:23:02 -0700
+Subject: [PATCH] Wayland: Remove extra-cmake-modules dependency
+
+Fixes #1774.
+
+[Retrieved (and backported) from:
+https://github.com/glfw/glfw/commit/2747e47393cbca2d09db56223e735bd94b21e2eb]
+Signed-off-by: Fabrice Fontaine
+---
+ .gitignore | 4 ---
+ CMakeLists.txt | 16 ++++++------
+ src/CMakeLists.txt | 62 ++++++++++++++++++++++++++++------------------
+ 3 files changed, 45 insertions(+), 37 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 42bfa1806d..394827520b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -191,20 +191,18 @@ endif()
+ # Use Wayland for window creation
+ #--------------------------------------------------------------------
+ if (_GLFW_WAYLAND)
+- find_package(ECM REQUIRED NO_MODULE)
+- list(APPEND CMAKE_MODULE_PATH "${ECM_MODULE_PATH}")
+
+- find_package(Wayland REQUIRED Client Cursor Egl)
+- find_package(WaylandScanner REQUIRED)
+- find_package(WaylandProtocols 1.15 REQUIRED)
++ include(FindPkgConfig)
++ pkg_check_modules(Wayland REQUIRED
++ wayland-client>=0.2.7
++ wayland-cursor>=0.2.7
++ wayland-egl>=0.2.7
++ xkbcommon)
+
+ list(APPEND glfw_PKG_DEPS "wayland-client")
+
+ list(APPEND glfw_INCLUDE_DIRS "${Wayland_INCLUDE_DIRS}")
+- list(APPEND glfw_LIBRARIES "${Wayland_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT}")
+-
+- find_package(XKBCommon REQUIRED)
+- list(APPEND glfw_INCLUDE_DIRS "${XKBCOMMON_INCLUDE_DIRS}")
++ list(APPEND glfw_LIBRARIES "${Wayland_LINK_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT}")
+
+ include(CheckIncludeFiles)
+ include(CheckFunctionExists)
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 2f2bdd883d..e834506c6c 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -45,30 +45,44 @@ if (_GLFW_X11 OR _GLFW_WAYLAND)
+ posix_time.c posix_thread.c xkb_unicode.c
+ egl_context.c osmesa_context.c)
+
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/stable/xdg-shell/xdg-shell.xml"
+- BASENAME xdg-shell)
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml"
+- BASENAME xdg-decoration)
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/stable/viewporter/viewporter.xml"
+- BASENAME viewporter)
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/relative-pointer/relative-pointer-unstable-v1.xml"
+- BASENAME relative-pointer-unstable-v1)
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml"
+- BASENAME pointer-constraints-unstable-v1)
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml"
+- BASENAME idle-inhibit-unstable-v1)
++ find_program(WAYLAND_SCANNER_EXECUTABLE NAMES wayland-scanner)
++ pkg_check_modules(WAYLAND_PROTOCOLS REQUIRED wayland-protocols>=1.15)
++ pkg_get_variable(WAYLAND_PROTOCOLS_BASE wayland-protocols pkgdatadir)
++
++ macro(wayland_generate protocol_file output_file)
++ add_custom_command(OUTPUT ${output_file}.h
++ COMMAND ${WAYLAND_SCANNER_EXECUTABLE} client-header
++ < ${protocol_file} > ${output_file}.h
++ DEPENDS ${protocol_file})
++ list(APPEND glfw_SOURCES ${output_file}.h)
++
++ add_custom_command(OUTPUT ${output_file}.c
++ COMMAND ${WAYLAND_SCANNER_EXECUTABLE} private-code
++ < ${protocol_file} > ${output_file}.c
++ DEPENDS ${protocol_file})
++ list(APPEND glfw_SOURCES ${output_file}.c)
++ endmacro()
++
++ set(GLFW_WAYLAND_PROTOCOL_SOURCES)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/stable/xdg-shell/xdg-shell.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-xdg-shell-client-protocol)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-xdg-decoration-client-protocol)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/stable/viewporter/viewporter.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-viewporter-client-protocol)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/unstable/relative-pointer/relative-pointer-unstable-v1.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-relative-pointer-unstable-v1-client-protocol)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-pointer-constraints-unstable-v1-client-protocol)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-idle-inhibit-unstable-v1-client-protocol)
++
+ elseif (_GLFW_OSMESA)
+ set(glfw_HEADERS ${common_HEADERS} null_platform.h null_joystick.h
+ posix_time.h posix_thread.h osmesa_context.h)
diff --git a/package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch b/package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch
new file mode 100644
index 0000000000..4bcb5e4eb7
--- /dev/null
+++ b/package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch
@@ -0,0 +1,32 @@
+From 46aaf2b2b4d3ec240b9aad175bb3eddb6ae11ead Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine
+Date: Fri, 4 Mar 2022 17:59:19 +0100
+Subject: [PATCH] src/CMakeLists.txt: allow override of wayland pkgdatadir
+
+Allow the user to override WAYLAND_{PROTOCOLS_BASE,CLIENT_PKGDATADIR}
+(needed when cross-compiling)
+
+Signed-off-by: Fabrice Fontaine
+[Upstream status: https://github.com/glfw/glfw/pull/2053]
+---
+ src/CMakeLists.txt | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 01f191c9..475ce882 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -75,7 +75,9 @@ if (GLFW_BUILD_WAYLAND)
+ include(FindPkgConfig)
+ find_program(WAYLAND_SCANNER_EXECUTABLE NAMES wayland-scanner)
+ pkg_check_modules(WAYLAND_PROTOCOLS REQUIRED wayland-protocols>=1.15)
+- pkg_get_variable(WAYLAND_PROTOCOLS_BASE wayland-protocols pkgdatadir)
++ if (NOT WAYLAND_PROTOCOLS_BASE)
++ pkg_get_variable(WAYLAND_PROTOCOLS_BASE wayland-protocols pkgdatadir)
++ endif()
+
+ macro(wayland_generate protocol_file output_file)
+ add_custom_command(OUTPUT "${output_file}.h"
+--
+2.34.1
+
diff --git a/package/libglfw/Config.in b/package/libglfw/Config.in
index 281b55df7b..e5e96036ff 100644
--- a/package/libglfw/Config.in
+++ b/package/libglfw/Config.in
@@ -2,6 +2,8 @@ config BR2_PACKAGE_LIBGLFW
bool "libglfw"
depends on BR2_PACKAGE_XORG7 || BR2_PACKAGE_WAYLAND
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
+ select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_WAYLAND
+ select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND
select BR2_PACKAGE_XLIB_LIBXCURSOR if BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXI if BR2_PACKAGE_XORG7
diff --git a/package/libglfw/libglfw.mk b/package/libglfw/libglfw.mk
index 2ba31fd674..0a3986f662 100644
--- a/package/libglfw/libglfw.mk
+++ b/package/libglfw/libglfw.mk
@@ -29,7 +29,11 @@ LIBGLFW_DEPENDENCIES += libgles
endif
ifeq ($(BR2_PACKAGE_WAYLAND),y)
-LIBGLFW_CONF_OPTS += -DGLFW_USE_WAYLAND=1
+LIBGLFW_DEPENDENCIES += libxkbcommon wayland-protocols
+# Override pkg-config pkgdatadir variable, it needs the prefix
+LIBGLFW_CONF_OPTS += \
+ -DGLFW_USE_WAYLAND=1 \
+ -DWAYLAND_PROTOCOLS_BASE=$(STAGING_DIR)/usr/share/wayland-protocols
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y)
--
2.34.1
From fontaine.fabrice at gmail.com Sun Mar 6 10:27:22 2022
From: fontaine.fabrice at gmail.com (Fabrice Fontaine)
Date: Sun, 6 Mar 2022 11:27:22 +0100
Subject: [Buildroot] [PATCH v2,1/1] package/libglfw: fix wayland build
Message-ID: <20220306102722.129713-1-fontaine.fabrice@gmail.com>
Fix the following build failure raised since bump to version 3.3.6 in
commit 3cd9bb4f2a91d3739c5da96f5e4dd37d3ae13799:
CMake Error at CMakeLists.txt:252 (find_package):
Could not find a package configuration file provided by "ECM" with any of
the following names:
ECMConfig.cmake
ecm-config.cmake
Fixes:
- http://autobuild.buildroot.org/results/0d7420aff7392c294614fd12e65ac7cd57787e98
Signed-off-by: Fabrice Fontaine
---
Changes v1 -> v2:
- Fix typo in title
...emove-extra-cmake-modules-dependency.patch | 121 ++++++++++++++++++
...xt-allow-override-of-wayland-pkgdata.patch | 32 +++++
package/libglfw/Config.in | 2 +
package/libglfw/libglfw.mk | 6 +-
4 files changed, 160 insertions(+), 1 deletion(-)
create mode 100644 package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch
create mode 100644 package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch
diff --git a/package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch b/package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch
new file mode 100644
index 0000000000..d5ee7c829a
--- /dev/null
+++ b/package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch
@@ -0,0 +1,121 @@
+From 2747e47393cbca2d09db56223e735bd94b21e2eb Mon Sep 17 00:00:00 2001
+From: Joel Winarske
+Date: Mon, 28 Sep 2020 22:23:02 -0700
+Subject: [PATCH] Wayland: Remove extra-cmake-modules dependency
+
+Fixes #1774.
+
+[Retrieved (and backported) from:
+https://github.com/glfw/glfw/commit/2747e47393cbca2d09db56223e735bd94b21e2eb]
+Signed-off-by: Fabrice Fontaine
+---
+ .gitignore | 4 ---
+ CMakeLists.txt | 16 ++++++------
+ src/CMakeLists.txt | 62 ++++++++++++++++++++++++++++------------------
+ 3 files changed, 45 insertions(+), 37 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 42bfa1806d..394827520b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -191,20 +191,18 @@ endif()
+ # Use Wayland for window creation
+ #--------------------------------------------------------------------
+ if (_GLFW_WAYLAND)
+- find_package(ECM REQUIRED NO_MODULE)
+- list(APPEND CMAKE_MODULE_PATH "${ECM_MODULE_PATH}")
+
+- find_package(Wayland REQUIRED Client Cursor Egl)
+- find_package(WaylandScanner REQUIRED)
+- find_package(WaylandProtocols 1.15 REQUIRED)
++ include(FindPkgConfig)
++ pkg_check_modules(Wayland REQUIRED
++ wayland-client>=0.2.7
++ wayland-cursor>=0.2.7
++ wayland-egl>=0.2.7
++ xkbcommon)
+
+ list(APPEND glfw_PKG_DEPS "wayland-client")
+
+ list(APPEND glfw_INCLUDE_DIRS "${Wayland_INCLUDE_DIRS}")
+- list(APPEND glfw_LIBRARIES "${Wayland_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT}")
+-
+- find_package(XKBCommon REQUIRED)
+- list(APPEND glfw_INCLUDE_DIRS "${XKBCOMMON_INCLUDE_DIRS}")
++ list(APPEND glfw_LIBRARIES "${Wayland_LINK_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT}")
+
+ include(CheckIncludeFiles)
+ include(CheckFunctionExists)
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 2f2bdd883d..e834506c6c 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -45,30 +45,44 @@ if (_GLFW_X11 OR _GLFW_WAYLAND)
+ posix_time.c posix_thread.c xkb_unicode.c
+ egl_context.c osmesa_context.c)
+
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/stable/xdg-shell/xdg-shell.xml"
+- BASENAME xdg-shell)
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml"
+- BASENAME xdg-decoration)
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/stable/viewporter/viewporter.xml"
+- BASENAME viewporter)
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/relative-pointer/relative-pointer-unstable-v1.xml"
+- BASENAME relative-pointer-unstable-v1)
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml"
+- BASENAME pointer-constraints-unstable-v1)
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml"
+- BASENAME idle-inhibit-unstable-v1)
++ find_program(WAYLAND_SCANNER_EXECUTABLE NAMES wayland-scanner)
++ pkg_check_modules(WAYLAND_PROTOCOLS REQUIRED wayland-protocols>=1.15)
++ pkg_get_variable(WAYLAND_PROTOCOLS_BASE wayland-protocols pkgdatadir)
++
++ macro(wayland_generate protocol_file output_file)
++ add_custom_command(OUTPUT ${output_file}.h
++ COMMAND ${WAYLAND_SCANNER_EXECUTABLE} client-header
++ < ${protocol_file} > ${output_file}.h
++ DEPENDS ${protocol_file})
++ list(APPEND glfw_SOURCES ${output_file}.h)
++
++ add_custom_command(OUTPUT ${output_file}.c
++ COMMAND ${WAYLAND_SCANNER_EXECUTABLE} private-code
++ < ${protocol_file} > ${output_file}.c
++ DEPENDS ${protocol_file})
++ list(APPEND glfw_SOURCES ${output_file}.c)
++ endmacro()
++
++ set(GLFW_WAYLAND_PROTOCOL_SOURCES)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/stable/xdg-shell/xdg-shell.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-xdg-shell-client-protocol)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-xdg-decoration-client-protocol)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/stable/viewporter/viewporter.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-viewporter-client-protocol)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/unstable/relative-pointer/relative-pointer-unstable-v1.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-relative-pointer-unstable-v1-client-protocol)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-pointer-constraints-unstable-v1-client-protocol)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-idle-inhibit-unstable-v1-client-protocol)
++
+ elseif (_GLFW_OSMESA)
+ set(glfw_HEADERS ${common_HEADERS} null_platform.h null_joystick.h
+ posix_time.h posix_thread.h osmesa_context.h)
diff --git a/package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch b/package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch
new file mode 100644
index 0000000000..4bcb5e4eb7
--- /dev/null
+++ b/package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch
@@ -0,0 +1,32 @@
+From 46aaf2b2b4d3ec240b9aad175bb3eddb6ae11ead Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine
+Date: Fri, 4 Mar 2022 17:59:19 +0100
+Subject: [PATCH] src/CMakeLists.txt: allow override of wayland pkgdatadir
+
+Allow the user to override WAYLAND_{PROTOCOLS_BASE,CLIENT_PKGDATADIR}
+(needed when cross-compiling)
+
+Signed-off-by: Fabrice Fontaine
+[Upstream status: https://github.com/glfw/glfw/pull/2053]
+---
+ src/CMakeLists.txt | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 01f191c9..475ce882 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -75,7 +75,9 @@ if (GLFW_BUILD_WAYLAND)
+ include(FindPkgConfig)
+ find_program(WAYLAND_SCANNER_EXECUTABLE NAMES wayland-scanner)
+ pkg_check_modules(WAYLAND_PROTOCOLS REQUIRED wayland-protocols>=1.15)
+- pkg_get_variable(WAYLAND_PROTOCOLS_BASE wayland-protocols pkgdatadir)
++ if (NOT WAYLAND_PROTOCOLS_BASE)
++ pkg_get_variable(WAYLAND_PROTOCOLS_BASE wayland-protocols pkgdatadir)
++ endif()
+
+ macro(wayland_generate protocol_file output_file)
+ add_custom_command(OUTPUT "${output_file}.h"
+--
+2.34.1
+
diff --git a/package/libglfw/Config.in b/package/libglfw/Config.in
index 281b55df7b..e5e96036ff 100644
--- a/package/libglfw/Config.in
+++ b/package/libglfw/Config.in
@@ -2,6 +2,8 @@ config BR2_PACKAGE_LIBGLFW
bool "libglfw"
depends on BR2_PACKAGE_XORG7 || BR2_PACKAGE_WAYLAND
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
+ select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_WAYLAND
+ select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND
select BR2_PACKAGE_XLIB_LIBXCURSOR if BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXI if BR2_PACKAGE_XORG7
diff --git a/package/libglfw/libglfw.mk b/package/libglfw/libglfw.mk
index 2ba31fd674..0a3986f662 100644
--- a/package/libglfw/libglfw.mk
+++ b/package/libglfw/libglfw.mk
@@ -29,7 +29,11 @@ LIBGLFW_DEPENDENCIES += libgles
endif
ifeq ($(BR2_PACKAGE_WAYLAND),y)
-LIBGLFW_CONF_OPTS += -DGLFW_USE_WAYLAND=1
+LIBGLFW_DEPENDENCIES += libxkbcommon wayland-protocols
+# Override pkg-config pkgdatadir variable, it needs the prefix
+LIBGLFW_CONF_OPTS += \
+ -DGLFW_USE_WAYLAND=1 \
+ -DWAYLAND_PROTOCOLS_BASE=$(STAGING_DIR)/usr/share/wayland-protocols
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y)
--
2.34.1
From fperrad at gmail.com Sun Mar 6 12:09:02 2022
From: fperrad at gmail.com (Francois Perrad)
Date: Sun, 6 Mar 2022 13:09:02 +0100
Subject: [Buildroot] [PATCH] package/libxlst: security bump to version 1.1.35
Message-ID: <20220306120902.132254-1-francois.perrad@gadz.org>
- fix CVE-2021-30560
- remove merged patch
- moved from xmlsoft.org to gnome.org
Signed-off-by: Francois Perrad
---
...ml2-config-check-in-configure-script.patch | 31 -------------------
package/libxslt/libxslt.hash | 6 ++--
package/libxslt/libxslt.mk | 5 +--
3 files changed, 6 insertions(+), 36 deletions(-)
delete mode 100644 package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch
diff --git a/package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch b/package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch
deleted file mode 100644
index 3848dcb23..000000000
--- a/package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 90c34c8bb90e095a8a8fe8b2ce368bd9ff1837cc Mon Sep 17 00:00:00 2001
-From: Nick Wellnhofer
-Date: Fri, 15 Nov 2019 11:53:11 +0100
-Subject: [PATCH] Fix xml2-config check in configure script
-
-A 'print' option has never been supported. After a recent change to
-libxml2, invalid options cause xml2-config to fail.
-
-[Retrieved from:
-https://gitlab.gnome.org/GNOME/libxslt/-/commit/90c34c8bb90e095a8a8fe8b2ce368bd9ff1837cc]
-Signed-off-by: Fabrice Fontaine
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 3da57b18..585b9d7c 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -548,7 +548,7 @@ dnl make sure xml2-config is executable,
- dnl test version and init our variables
- dnl
-
--if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs print > /dev/null 2>&1
-+if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs > /dev/null 2>&1
- then
- AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION)
- XMLVERS=`$XML_CONFIG --version`
---
-GitLab
-
diff --git a/package/libxslt/libxslt.hash b/package/libxslt/libxslt.hash
index 25aa30839..39523a695 100644
--- a/package/libxslt/libxslt.hash
+++ b/package/libxslt/libxslt.hash
@@ -1,5 +1,5 @@
-# Locally calculated after checking pgp signature
-sha256 98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f libxslt-1.1.34.tar.gz
+# from https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.35.sha256sum
+sha256 8247f33e9a872c6ac859aa45018bc4c4d00b97e2feac9eebc10c93ce1f34dd79 libxslt-1.1.35.tar.xz
# Hash for license file:
-sha256 7e48e290b6bfccc2ec1b297023a1d77f2fd87417f71fbb9f50aabef40a851819 COPYING
+sha256 7e48e290b6bfccc2ec1b297023a1d77f2fd87417f71fbb9f50aabef40a851819 COPYING
diff --git a/package/libxslt/libxslt.mk b/package/libxslt/libxslt.mk
index d0f79d252..9c7be6822 100644
--- a/package/libxslt/libxslt.mk
+++ b/package/libxslt/libxslt.mk
@@ -4,8 +4,9 @@
#
################################################################################
-LIBXSLT_VERSION = 1.1.34
-LIBXSLT_SITE = http://xmlsoft.org/sources
+LIBXSLT_VERSION = 1.1.35
+LIBXSLT_SOURCE = libxslt-$(LIBXSLT_VERSION).tar.xz
+LIBXSLT_SITE = https://download.gnome.org/sources/libxslt/1.1
LIBXSLT_INSTALL_STAGING = YES
LIBXSLT_LICENSE = MIT
LIBXSLT_LICENSE_FILES = COPYING
--
2.32.0
From jacques.samoun33 at gmail.com Sun Mar 6 12:46:54 2022
From: jacques.samoun33 at gmail.com (Jacques Samoun)
Date: Sun, 6 Mar 2022 14:46:54 +0200
Subject: [Buildroot] cannot make the device_table
Message-ID:
Hello,
despite all my tries, i just cannot make the "device_table" feature work as
described in the manual.
Basically, i am trying to set 666 rights to /dev/tty + add a dialout group,
so i created the following file (device_table.txt"
/dev/tty c 666 root dialout 5 0 - - -
and have set the correct variable in menuconfig. I know for sure that the
build has handled this file ... but looking at the /dev/tty, it is clear
that nothing has happened, the permissions are still 600 and the dialout
group has not been set.
Am I missing something ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From post at lespocky.de Sun Mar 6 12:44:46 2022
From: post at lespocky.de (Alexander Dahl)
Date: Sun, 6 Mar 2022 13:44:46 +0100
Subject: [Buildroot] [PATCH] package/libxlst: security bump to version
1.1.35
In-Reply-To: <20220306120902.132254-1-francois.perrad@gadz.org>
References: <20220306120902.132254-1-francois.perrad@gadz.org>
Message-ID: <20220306124445.GB10202@falbala.internal.home.lespocky.de>
Hello Francois,
there's a typo in the subject, should read libxslt.
Greets
Alex
On Sun, Mar 06, 2022 at 01:09:02PM +0100, Francois Perrad wrote:
> - fix CVE-2021-30560
> - remove merged patch
> - moved from xmlsoft.org to gnome.org
>
> Signed-off-by: Francois Perrad
> ---
> ...ml2-config-check-in-configure-script.patch | 31 -------------------
> package/libxslt/libxslt.hash | 6 ++--
> package/libxslt/libxslt.mk | 5 +--
> 3 files changed, 6 insertions(+), 36 deletions(-)
> delete mode 100644 package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch
>
> diff --git a/package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch b/package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch
> deleted file mode 100644
> index 3848dcb23..000000000
> --- a/package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch
> +++ /dev/null
> @@ -1,31 +0,0 @@
> -From 90c34c8bb90e095a8a8fe8b2ce368bd9ff1837cc Mon Sep 17 00:00:00 2001
> -From: Nick Wellnhofer
> -Date: Fri, 15 Nov 2019 11:53:11 +0100
> -Subject: [PATCH] Fix xml2-config check in configure script
> -
> -A 'print' option has never been supported. After a recent change to
> -libxml2, invalid options cause xml2-config to fail.
> -
> -[Retrieved from:
> -https://gitlab.gnome.org/GNOME/libxslt/-/commit/90c34c8bb90e095a8a8fe8b2ce368bd9ff1837cc]
> -Signed-off-by: Fabrice Fontaine
> ----
> - configure.ac | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/configure.ac b/configure.ac
> -index 3da57b18..585b9d7c 100644
> ---- a/configure.ac
> -+++ b/configure.ac
> -@@ -548,7 +548,7 @@ dnl make sure xml2-config is executable,
> - dnl test version and init our variables
> - dnl
> -
> --if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs print > /dev/null 2>&1
> -+if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs > /dev/null 2>&1
> - then
> - AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION)
> - XMLVERS=`$XML_CONFIG --version`
> ---
> -GitLab
> -
> diff --git a/package/libxslt/libxslt.hash b/package/libxslt/libxslt.hash
> index 25aa30839..39523a695 100644
> --- a/package/libxslt/libxslt.hash
> +++ b/package/libxslt/libxslt.hash
> @@ -1,5 +1,5 @@
> -# Locally calculated after checking pgp signature
> -sha256 98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f libxslt-1.1.34.tar.gz
> +# from https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.35.sha256sum
> +sha256 8247f33e9a872c6ac859aa45018bc4c4d00b97e2feac9eebc10c93ce1f34dd79 libxslt-1.1.35.tar.xz
>
> # Hash for license file:
> -sha256 7e48e290b6bfccc2ec1b297023a1d77f2fd87417f71fbb9f50aabef40a851819 COPYING
> +sha256 7e48e290b6bfccc2ec1b297023a1d77f2fd87417f71fbb9f50aabef40a851819 COPYING
> diff --git a/package/libxslt/libxslt.mk b/package/libxslt/libxslt.mk
> index d0f79d252..9c7be6822 100644
> --- a/package/libxslt/libxslt.mk
> +++ b/package/libxslt/libxslt.mk
> @@ -4,8 +4,9 @@
> #
> ################################################################################
>
> -LIBXSLT_VERSION = 1.1.34
> -LIBXSLT_SITE = http://xmlsoft.org/sources
> +LIBXSLT_VERSION = 1.1.35
> +LIBXSLT_SOURCE = libxslt-$(LIBXSLT_VERSION).tar.xz
> +LIBXSLT_SITE = https://download.gnome.org/sources/libxslt/1.1
> LIBXSLT_INSTALL_STAGING = YES
> LIBXSLT_LICENSE = MIT
> LIBXSLT_LICENSE_FILES = COPYING
> --
> 2.32.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
/"\ ASCII RIBBON | ?With the first link, the chain is forged. The first
\ / CAMPAIGN | speech censured, the first thought forbidden, the
X AGAINST | first freedom denied, chains us all irrevocably.?
/ \ HTML MAIL | (Jean-Luc Picard, quoting Judge Aaron Satie)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL:
From bugzilla at busybox.net Sun Mar 6 15:33:04 2022
From: bugzilla at busybox.net (bugzilla at busybox.net)
Date: Sun, 06 Mar 2022 15:33:04 +0000
Subject: [Buildroot] [Bug 14631] host-go-bootstrap: go not being built for
package in external tree
In-Reply-To:
References:
Message-ID:
https://bugs.busybox.net/show_bug.cgi?id=14631
--- Comment #1 from Fabrice Fontaine ---
Hello,
Thanks for your bug report, the following patch should fix your issue:
https://patchwork.ozlabs.org/project/buildroot/patch/11477_1644506977_62052F61_11477_142_1_1cfdf4aa3ac96d2d2cf246385325f93b451d773b.1644506959.git.yann.morin at orange.com/
Unfortunately, this patch has not been applied to master yet.
Best Regards,
Fabrice
--
You are receiving this mail because:
You are on the CC list for the bug.
From yann.morin.1998 at free.fr Sun Mar 6 20:28:55 2022
From: yann.morin.1998 at free.fr (Yann E. MORIN)
Date: Sun, 6 Mar 2022 21:28:55 +0100
Subject: [Buildroot] [git commit] package/libxslt: security bump to version
1.1.35
Message-ID: <20220306202200.C153082945@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=acf5b437cc329a392f26e5367de1f64b3601b605
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
- fix CVE-2021-30560
- remove merged patch, drop autoreconf
- moved from xmlsoft.org to gnome.org
- spaces in hash file
Signed-off-by: Francois Perrad
[yann.morin.1998 at free.fr:
- drop autoreconf as no longer patching
- also switch home in Config.in
]
Signed-off-by: Yann E. MORIN
---
...Fix-xml2-config-check-in-configure-script.patch | 31 ----------------------
package/libxslt/Config.in | 2 +-
package/libxslt/libxslt.hash | 6 ++---
package/libxslt/libxslt.mk | 7 +++--
4 files changed, 7 insertions(+), 39 deletions(-)
diff --git a/package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch b/package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch
deleted file mode 100644
index 3848dcb235..0000000000
--- a/package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 90c34c8bb90e095a8a8fe8b2ce368bd9ff1837cc Mon Sep 17 00:00:00 2001
-From: Nick Wellnhofer
-Date: Fri, 15 Nov 2019 11:53:11 +0100
-Subject: [PATCH] Fix xml2-config check in configure script
-
-A 'print' option has never been supported. After a recent change to
-libxml2, invalid options cause xml2-config to fail.
-
-[Retrieved from:
-https://gitlab.gnome.org/GNOME/libxslt/-/commit/90c34c8bb90e095a8a8fe8b2ce368bd9ff1837cc]
-Signed-off-by: Fabrice Fontaine
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 3da57b18..585b9d7c 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -548,7 +548,7 @@ dnl make sure xml2-config is executable,
- dnl test version and init our variables
- dnl
-
--if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs print > /dev/null 2>&1
-+if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs > /dev/null 2>&1
- then
- AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION)
- XMLVERS=`$XML_CONFIG --version`
---
-GitLab
-
diff --git a/package/libxslt/Config.in b/package/libxslt/Config.in
index dfe5b99f04..643bce2a61 100644
--- a/package/libxslt/Config.in
+++ b/package/libxslt/Config.in
@@ -13,4 +13,4 @@ config BR2_PACKAGE_LIBXSLT
to describe how the document is transformed into another
XML document that uses the formatting vocabulary.
- http://xmlsoft.org/xslt/
+ https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home
diff --git a/package/libxslt/libxslt.hash b/package/libxslt/libxslt.hash
index 25aa30839e..39523a6953 100644
--- a/package/libxslt/libxslt.hash
+++ b/package/libxslt/libxslt.hash
@@ -1,5 +1,5 @@
-# Locally calculated after checking pgp signature
-sha256 98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f libxslt-1.1.34.tar.gz
+# from https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.35.sha256sum
+sha256 8247f33e9a872c6ac859aa45018bc4c4d00b97e2feac9eebc10c93ce1f34dd79 libxslt-1.1.35.tar.xz
# Hash for license file:
-sha256 7e48e290b6bfccc2ec1b297023a1d77f2fd87417f71fbb9f50aabef40a851819 COPYING
+sha256 7e48e290b6bfccc2ec1b297023a1d77f2fd87417f71fbb9f50aabef40a851819 COPYING
diff --git a/package/libxslt/libxslt.mk b/package/libxslt/libxslt.mk
index d0f79d2521..df0286e986 100644
--- a/package/libxslt/libxslt.mk
+++ b/package/libxslt/libxslt.mk
@@ -4,14 +4,13 @@
#
################################################################################
-LIBXSLT_VERSION = 1.1.34
-LIBXSLT_SITE = http://xmlsoft.org/sources
+LIBXSLT_VERSION = 1.1.35
+LIBXSLT_SOURCE = libxslt-$(LIBXSLT_VERSION).tar.xz
+LIBXSLT_SITE = https://download.gnome.org/sources/libxslt/1.1
LIBXSLT_INSTALL_STAGING = YES
LIBXSLT_LICENSE = MIT
LIBXSLT_LICENSE_FILES = COPYING
LIBXSLT_CPE_ID_VENDOR = xmlsoft
-# We're patching configure.ac
-LIBXSLT_AUTORECONF = YES
LIBXSLT_CONF_OPTS = \
--with-gnu-ld \
From yann.morin.1998 at free.fr Sun Mar 6 20:32:40 2022
From: yann.morin.1998 at free.fr (Yann E. MORIN)
Date: Sun, 6 Mar 2022 21:32:40 +0100
Subject: [Buildroot] [PATCH] package/libxlst: security bump to version
1.1.35
In-Reply-To: <20220306120902.132254-1-francois.perrad@gadz.org>
References: <20220306120902.132254-1-francois.perrad@gadz.org>
Message-ID: <20220306203240.GE228549@scaer>
Fran?ois, All,
As noticed by Alexander: typo fixed in title
On 2022-03-06 13:09 +0100, Francois Perrad spake thusly:
> - fix CVE-2021-30560
> - remove merged patch
... so we can also drop the autoreconf, done.
> - moved from xmlsoft.org to gnome.org
... so we can also fix it in Config.in, done.
> Signed-off-by: Francois Perrad
Applied to master with the above fixed, thanks.
Regards,
Yann E. MORIN.
> ---
> ...ml2-config-check-in-configure-script.patch | 31 -------------------
> package/libxslt/libxslt.hash | 6 ++--
> package/libxslt/libxslt.mk | 5 +--
> 3 files changed, 6 insertions(+), 36 deletions(-)
> delete mode 100644 package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch
>
> diff --git a/package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch b/package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch
> deleted file mode 100644
> index 3848dcb23..000000000
> --- a/package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch
> +++ /dev/null
> @@ -1,31 +0,0 @@
> -From 90c34c8bb90e095a8a8fe8b2ce368bd9ff1837cc Mon Sep 17 00:00:00 2001
> -From: Nick Wellnhofer
> -Date: Fri, 15 Nov 2019 11:53:11 +0100
> -Subject: [PATCH] Fix xml2-config check in configure script
> -
> -A 'print' option has never been supported. After a recent change to
> -libxml2, invalid options cause xml2-config to fail.
> -
> -[Retrieved from:
> -https://gitlab.gnome.org/GNOME/libxslt/-/commit/90c34c8bb90e095a8a8fe8b2ce368bd9ff1837cc]
> -Signed-off-by: Fabrice Fontaine
> ----
> - configure.ac | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/configure.ac b/configure.ac
> -index 3da57b18..585b9d7c 100644
> ---- a/configure.ac
> -+++ b/configure.ac
> -@@ -548,7 +548,7 @@ dnl make sure xml2-config is executable,
> - dnl test version and init our variables
> - dnl
> -
> --if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs print > /dev/null 2>&1
> -+if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs > /dev/null 2>&1
> - then
> - AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION)
> - XMLVERS=`$XML_CONFIG --version`
> ---
> -GitLab
> -
> diff --git a/package/libxslt/libxslt.hash b/package/libxslt/libxslt.hash
> index 25aa30839..39523a695 100644
> --- a/package/libxslt/libxslt.hash
> +++ b/package/libxslt/libxslt.hash
> @@ -1,5 +1,5 @@
> -# Locally calculated after checking pgp signature
> -sha256 98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f libxslt-1.1.34.tar.gz
> +# from https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.35.sha256sum
> +sha256 8247f33e9a872c6ac859aa45018bc4c4d00b97e2feac9eebc10c93ce1f34dd79 libxslt-1.1.35.tar.xz
>
> # Hash for license file:
> -sha256 7e48e290b6bfccc2ec1b297023a1d77f2fd87417f71fbb9f50aabef40a851819 COPYING
> +sha256 7e48e290b6bfccc2ec1b297023a1d77f2fd87417f71fbb9f50aabef40a851819 COPYING
> diff --git a/package/libxslt/libxslt.mk b/package/libxslt/libxslt.mk
> index d0f79d252..9c7be6822 100644
> --- a/package/libxslt/libxslt.mk
> +++ b/package/libxslt/libxslt.mk
> @@ -4,8 +4,9 @@
> #
> ################################################################################
>
> -LIBXSLT_VERSION = 1.1.34
> -LIBXSLT_SITE = http://xmlsoft.org/sources
> +LIBXSLT_VERSION = 1.1.35
> +LIBXSLT_SOURCE = libxslt-$(LIBXSLT_VERSION).tar.xz
> +LIBXSLT_SITE = https://download.gnome.org/sources/libxslt/1.1
> LIBXSLT_INSTALL_STAGING = YES
> LIBXSLT_LICENSE = MIT
> LIBXSLT_LICENSE_FILES = COPYING
> --
> 2.32.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
From yann.morin.1998 at free.fr Sun Mar 6 20:38:12 2022
From: yann.morin.1998 at free.fr (Yann E. MORIN)
Date: Sun, 6 Mar 2022 21:38:12 +0100
Subject: [Buildroot] [git commit] package/azure-iot-sdk-c: drop custom
install rules
Message-ID: <20220306205305.36AFE82A4E@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=d1debbb4c7eb205d3ccddaa7849e3121a4929c6c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Drop custom install rules which have been added since the addition of
the package in commit 2d837933e55216dc31a2206b063689cfd04a4c01 but are
now resulting in a broken installion
Fixes:
- https://bugs.buildroot.org/show_bug.cgi?id=14636
Signed-off-by: Fabrice Fontaine
Signed-off-by: Yann E. MORIN
---
package/azure-iot-sdk-c/azure-iot-sdk-c.mk | 58 ------------------------------
1 file changed, 58 deletions(-)
diff --git a/package/azure-iot-sdk-c/azure-iot-sdk-c.mk b/package/azure-iot-sdk-c/azure-iot-sdk-c.mk
index 3f00db3ff4..e6de8c851b 100644
--- a/package/azure-iot-sdk-c/azure-iot-sdk-c.mk
+++ b/package/azure-iot-sdk-c/azure-iot-sdk-c.mk
@@ -14,62 +14,4 @@ AZURE_IOT_SDK_C_INSTALL_STAGING = YES
AZURE_IOT_SDK_C_DEPENDENCIES = libxml2 openssl libcurl util-linux
AZURE_IOT_SDK_C_CONF_OPTS = -Dskip_samples=ON
-# The project only supports building one kind of library.
-# Further the install target installs the wrong files, so we do it here:
-ifeq ($(BR2_STATIC_LIBS),y)
-AZURE_IOT_SDK_C_LIBS += \
- uamqp/libuamqp.a \
- c-utility/libaziotsharedutil.a \
- iothub_client/libiothub_client.a \
- iothub_client/libiothub_client_mqtt_ws_transport.a \
- iothub_client/libiothub_client_amqp_ws_transport.a \
- iothub_client/libiothub_client_http_transport.a \
- iothub_client/libiothub_client_amqp_transport.a \
- iothub_client/libiothub_client_mqtt_transport.a \
- iothub_service_client/libiothub_service_client.a \
- serializer/libserializer.a \
- umqtt/libumqtt.a \
- deps/uhttp/libuhttp.a \
- deps/umock-c/libumock_c.a \
- libparson.a
-else
-AZURE_IOT_SDK_C_LIBS += \
- uamqp/libuamqp.so \
- c-utility/libaziotsharedutil.so \
- iothub_client/libiothub_client.so \
- iothub_client/libiothub_client_mqtt_ws_transport.so \
- iothub_client/libiothub_client_amqp_ws_transport.so \
- iothub_client/libiothub_client_http_transport.so \
- iothub_client/libiothub_client_amqp_transport.so \
- iothub_client/libiothub_client_mqtt_transport.so \
- iothub_service_client/libiothub_service_client.so \
- serializer/libserializer.so \
- umqtt/libumqtt.so.1.1.12 \
- deps/uhttp/libuhttp.so \
- deps/umock-c/libumock_c.so \
- libparson.so
-
-define AZURE_IOT_SDK_C_CREATE_SYMLINKS
- ln -sf libumqtt.so.1.1.12 $(1)/usr/lib/libumqtt.so.1
- ln -sf libumqtt.so.1.1.12 $(1)/usr/lib/libumqtt.so
-endef
-endif
-
-define AZURE_IOT_SDK_C_INSTALL_LIBS
- $(foreach l,$(AZURE_IOT_SDK_C_LIBS), \
- $(INSTALL) -D -m 0755 $(@D)/$(l) $(1)/usr/lib/$(notdir $(l))
- )
- $(call AZURE_IOT_SDK_C_CREATE_SYMLINKS,$(1))
-endef
-
-define AZURE_IOT_SDK_C_INSTALL_STAGING_CMDS
- $(call AZURE_IOT_SDK_C_INSTALL_LIBS,$(STAGING_DIR))
- cp -a $(@D)/c-utility/inc/* $(STAGING_DIR)/usr/include/
- cp -a $(@D)/iothub_client/inc/* $(STAGING_DIR)/usr/include/
-endef
-
-define AZURE_IOT_SDK_C_INSTALL_TARGET_CMDS
- $(call AZURE_IOT_SDK_C_INSTALL_LIBS,$(TARGET_DIR))
-endef
-
$(eval $(cmake-package))
From yann.morin.1998 at free.fr Sun Mar 6 21:01:55 2022
From: yann.morin.1998 at free.fr (Yann E. MORIN)
Date: Sun, 6 Mar 2022 22:01:55 +0100
Subject: [Buildroot] [PATCH 1/1] package/azure-iot-sdk-c: drop custom
install rules
In-Reply-To: <20220305204446.823802-1-fontaine.fabrice@gmail.com>
References: <20220305204446.823802-1-fontaine.fabrice@gmail.com>
Message-ID: <20220306210155.GF228549@scaer>
Fabrice, All,
On 2022-03-05 21:44 +0100, Fabrice Fontaine spake thusly:
> Drop custom install rules which have been added since the addition of
> the package in commit 2d837933e55216dc31a2206b063689cfd04a4c01 but are
> now resulting in a broken installion
>
> Fixes:
> - https://bugs.buildroot.org/show_bug.cgi?id=14636
>
> Signed-off-by: Fabrice Fontaine
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/azure-iot-sdk-c/azure-iot-sdk-c.mk | 58 ----------------------
> 1 file changed, 58 deletions(-)
>
> diff --git a/package/azure-iot-sdk-c/azure-iot-sdk-c.mk b/package/azure-iot-sdk-c/azure-iot-sdk-c.mk
> index 3f00db3ff4..e6de8c851b 100644
> --- a/package/azure-iot-sdk-c/azure-iot-sdk-c.mk
> +++ b/package/azure-iot-sdk-c/azure-iot-sdk-c.mk
> @@ -14,62 +14,4 @@ AZURE_IOT_SDK_C_INSTALL_STAGING = YES
> AZURE_IOT_SDK_C_DEPENDENCIES = libxml2 openssl libcurl util-linux
> AZURE_IOT_SDK_C_CONF_OPTS = -Dskip_samples=ON
>
> -# The project only supports building one kind of library.
> -# Further the install target installs the wrong files, so we do it here:
> -ifeq ($(BR2_STATIC_LIBS),y)
> -AZURE_IOT_SDK_C_LIBS += \
> - uamqp/libuamqp.a \
> - c-utility/libaziotsharedutil.a \
> - iothub_client/libiothub_client.a \
> - iothub_client/libiothub_client_mqtt_ws_transport.a \
> - iothub_client/libiothub_client_amqp_ws_transport.a \
> - iothub_client/libiothub_client_http_transport.a \
> - iothub_client/libiothub_client_amqp_transport.a \
> - iothub_client/libiothub_client_mqtt_transport.a \
> - iothub_service_client/libiothub_service_client.a \
> - serializer/libserializer.a \
> - umqtt/libumqtt.a \
> - deps/uhttp/libuhttp.a \
> - deps/umock-c/libumock_c.a \
> - libparson.a
> -else
> -AZURE_IOT_SDK_C_LIBS += \
> - uamqp/libuamqp.so \
> - c-utility/libaziotsharedutil.so \
> - iothub_client/libiothub_client.so \
> - iothub_client/libiothub_client_mqtt_ws_transport.so \
> - iothub_client/libiothub_client_amqp_ws_transport.so \
> - iothub_client/libiothub_client_http_transport.so \
> - iothub_client/libiothub_client_amqp_transport.so \
> - iothub_client/libiothub_client_mqtt_transport.so \
> - iothub_service_client/libiothub_service_client.so \
> - serializer/libserializer.so \
> - umqtt/libumqtt.so.1.1.12 \
> - deps/uhttp/libuhttp.so \
> - deps/umock-c/libumock_c.so \
> - libparson.so
> -
> -define AZURE_IOT_SDK_C_CREATE_SYMLINKS
> - ln -sf libumqtt.so.1.1.12 $(1)/usr/lib/libumqtt.so.1
> - ln -sf libumqtt.so.1.1.12 $(1)/usr/lib/libumqtt.so
> -endef
> -endif
> -
> -define AZURE_IOT_SDK_C_INSTALL_LIBS
> - $(foreach l,$(AZURE_IOT_SDK_C_LIBS), \
> - $(INSTALL) -D -m 0755 $(@D)/$(l) $(1)/usr/lib/$(notdir $(l))
> - )
> - $(call AZURE_IOT_SDK_C_CREATE_SYMLINKS,$(1))
> -endef
> -
> -define AZURE_IOT_SDK_C_INSTALL_STAGING_CMDS
> - $(call AZURE_IOT_SDK_C_INSTALL_LIBS,$(STAGING_DIR))
> - cp -a $(@D)/c-utility/inc/* $(STAGING_DIR)/usr/include/
> - cp -a $(@D)/iothub_client/inc/* $(STAGING_DIR)/usr/include/
> -endef
> -
> -define AZURE_IOT_SDK_C_INSTALL_TARGET_CMDS
> - $(call AZURE_IOT_SDK_C_INSTALL_LIBS,$(TARGET_DIR))
> -endef
> -
> $(eval $(cmake-package))
> --
> 2.34.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
From bugzilla at busybox.net Sun Mar 6 21:04:39 2022
From: bugzilla at busybox.net (bugzilla at busybox.net)
Date: Sun, 06 Mar 2022 21:04:39 +0000
Subject: [Buildroot] [Bug 14636] azure-iot-sdk-c: Installed headers do not
compile
In-Reply-To:
References:
Message-ID:
https://bugs.busybox.net/show_bug.cgi?id=14636
Yann E. MORIN changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
CC| |yann.morin.1998 at free.fr
Status|NEW |RESOLVED
--- Comment #2 from Yann E. MORIN ---
James, All,
Thanks for the report.
We believe fis is now fixed with the patch from Fabrice applied to master:
d1debbb4c7eb package/azure-iot-sdk-c: drop custom install rules
Regards,
Yann E. MORIN.
--
You are receiving this mail because:
You are on the CC list for the bug.
From yann.morin.1998 at free.fr Sun Mar 6 21:20:37 2022
From: yann.morin.1998 at free.fr (Yann E. MORIN)
Date: Sun, 6 Mar 2022 22:20:37 +0100
Subject: [Buildroot] [git commit] package/libglfw: fix wayland build
Message-ID: <20220306211541.AFBB682983@busybox.osuosl.org>
commit: https://git.buildroot.net/buildroot/commit/?id=0bbb12eff3b9f9d9719c48644c2b3d563e80de48
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fix the following build failure raised since bump to version 3.3.6 in
commit 3cd9bb4f2a91d3739c5da96f5e4dd37d3ae13799:
CMake Error at CMakeLists.txt:252 (find_package):
Could not find a package configuration file provided by "ECM" with any of
the following names:
ECMConfig.cmake
ecm-config.cmake
Fixes:
- http://autobuild.buildroot.org/results/0d7420aff7392c294614fd12e65ac7cd57787e98
Signed-off-by: Fabrice Fontaine
Signed-off-by: Yann E. MORIN
---
...and-Remove-extra-cmake-modules-dependency.patch | 121 +++++++++++++++++++++
...sts.txt-allow-override-of-wayland-pkgdata.patch | 32 ++++++
package/libglfw/Config.in | 2 +
package/libglfw/libglfw.mk | 6 +-
4 files changed, 160 insertions(+), 1 deletion(-)
diff --git a/package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch b/package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch
new file mode 100644
index 0000000000..d5ee7c829a
--- /dev/null
+++ b/package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch
@@ -0,0 +1,121 @@
+From 2747e47393cbca2d09db56223e735bd94b21e2eb Mon Sep 17 00:00:00 2001
+From: Joel Winarske
+Date: Mon, 28 Sep 2020 22:23:02 -0700
+Subject: [PATCH] Wayland: Remove extra-cmake-modules dependency
+
+Fixes #1774.
+
+[Retrieved (and backported) from:
+https://github.com/glfw/glfw/commit/2747e47393cbca2d09db56223e735bd94b21e2eb]
+Signed-off-by: Fabrice Fontaine
+---
+ .gitignore | 4 ---
+ CMakeLists.txt | 16 ++++++------
+ src/CMakeLists.txt | 62 ++++++++++++++++++++++++++++------------------
+ 3 files changed, 45 insertions(+), 37 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 42bfa1806d..394827520b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -191,20 +191,18 @@ endif()
+ # Use Wayland for window creation
+ #--------------------------------------------------------------------
+ if (_GLFW_WAYLAND)
+- find_package(ECM REQUIRED NO_MODULE)
+- list(APPEND CMAKE_MODULE_PATH "${ECM_MODULE_PATH}")
+
+- find_package(Wayland REQUIRED Client Cursor Egl)
+- find_package(WaylandScanner REQUIRED)
+- find_package(WaylandProtocols 1.15 REQUIRED)
++ include(FindPkgConfig)
++ pkg_check_modules(Wayland REQUIRED
++ wayland-client>=0.2.7
++ wayland-cursor>=0.2.7
++ wayland-egl>=0.2.7
++ xkbcommon)
+
+ list(APPEND glfw_PKG_DEPS "wayland-client")
+
+ list(APPEND glfw_INCLUDE_DIRS "${Wayland_INCLUDE_DIRS}")
+- list(APPEND glfw_LIBRARIES "${Wayland_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT}")
+-
+- find_package(XKBCommon REQUIRED)
+- list(APPEND glfw_INCLUDE_DIRS "${XKBCOMMON_INCLUDE_DIRS}")
++ list(APPEND glfw_LIBRARIES "${Wayland_LINK_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT}")
+
+ include(CheckIncludeFiles)
+ include(CheckFunctionExists)
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 2f2bdd883d..e834506c6c 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -45,30 +45,44 @@ if (_GLFW_X11 OR _GLFW_WAYLAND)
+ posix_time.c posix_thread.c xkb_unicode.c
+ egl_context.c osmesa_context.c)
+
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/stable/xdg-shell/xdg-shell.xml"
+- BASENAME xdg-shell)
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml"
+- BASENAME xdg-decoration)
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/stable/viewporter/viewporter.xml"
+- BASENAME viewporter)
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/relative-pointer/relative-pointer-unstable-v1.xml"
+- BASENAME relative-pointer-unstable-v1)
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml"
+- BASENAME pointer-constraints-unstable-v1)
+- ecm_add_wayland_client_protocol(glfw_SOURCES
+- PROTOCOL
+- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml"
+- BASENAME idle-inhibit-unstable-v1)
++ find_program(WAYLAND_SCANNER_EXECUTABLE NAMES wayland-scanner)
++ pkg_check_modules(WAYLAND_PROTOCOLS REQUIRED wayland-protocols>=1.15)
++ pkg_get_variable(WAYLAND_PROTOCOLS_BASE wayland-protocols pkgdatadir)
++
++ macro(wayland_generate protocol_file output_file)
++ add_custom_command(OUTPUT ${output_file}.h
++ COMMAND ${WAYLAND_SCANNER_EXECUTABLE} client-header
++ < ${protocol_file} > ${output_file}.h
++ DEPENDS ${protocol_file})
++ list(APPEND glfw_SOURCES ${output_file}.h)
++
++ add_custom_command(OUTPUT ${output_file}.c
++ COMMAND ${WAYLAND_SCANNER_EXECUTABLE} private-code
++ < ${protocol_file} > ${output_file}.c
++ DEPENDS ${protocol_file})
++ list(APPEND glfw_SOURCES ${output_file}.c)
++ endmacro()
++
++ set(GLFW_WAYLAND_PROTOCOL_SOURCES)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/stable/xdg-shell/xdg-shell.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-xdg-shell-client-protocol)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-xdg-decoration-client-protocol)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/stable/viewporter/viewporter.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-viewporter-client-protocol)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/unstable/relative-pointer/relative-pointer-unstable-v1.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-relative-pointer-unstable-v1-client-protocol)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-pointer-constraints-unstable-v1-client-protocol)
++ wayland_generate(
++ ${WAYLAND_PROTOCOLS_BASE}/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml
++ ${CMAKE_BINARY_DIR}/src/wayland-idle-inhibit-unstable-v1-client-protocol)
++
+ elseif (_GLFW_OSMESA)
+ set(glfw_HEADERS ${common_HEADERS} null_platform.h null_joystick.h
+ posix_time.h posix_thread.h osmesa_context.h)
diff --git a/package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch b/package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch
new file mode 100644
index 0000000000..4bcb5e4eb7
--- /dev/null
+++ b/package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch
@@ -0,0 +1,32 @@
+From 46aaf2b2b4d3ec240b9aad175bb3eddb6ae11ead Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine
+Date: Fri, 4 Mar 2022 17:59:19 +0100
+Subject: [PATCH] src/CMakeLists.txt: allow override of wayland pkgdatadir
+
+Allow the user to override WAYLAND_{PROTOCOLS_BASE,CLIENT_PKGDATADIR}
+(needed when cross-compiling)
+
+Signed-off-by: Fabrice Fontaine
+[Upstream status: https://github.com/glfw/glfw/pull/2053]
+---
+ src/CMakeLists.txt | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 01f191c9..475ce882 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -75,7 +75,9 @@ if (GLFW_BUILD_WAYLAND)
+ include(FindPkgConfig)
+ find_program(WAYLAND_SCANNER_EXECUTABLE NAMES wayland-scanner)
+ pkg_check_modules(WAYLAND_PROTOCOLS REQUIRED wayland-protocols>=1.15)
+- pkg_get_variable(WAYLAND_PROTOCOLS_BASE wayland-protocols pkgdatadir)
++ if (NOT WAYLAND_PROTOCOLS_BASE)
++ pkg_get_variable(WAYLAND_PROTOCOLS_BASE wayland-protocols pkgdatadir)
++ endif()
+
+ macro(wayland_generate protocol_file output_file)
+ add_custom_command(OUTPUT "${output_file}.h"
+--
+2.34.1
+
diff --git a/package/libglfw/Config.in b/package/libglfw/Config.in
index 281b55df7b..e5e96036ff 100644
--- a/package/libglfw/Config.in
+++ b/package/libglfw/Config.in
@@ -2,6 +2,8 @@ config BR2_PACKAGE_LIBGLFW
bool "libglfw"
depends on BR2_PACKAGE_XORG7 || BR2_PACKAGE_WAYLAND
depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
+ select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_WAYLAND
+ select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND
select BR2_PACKAGE_XLIB_LIBXCURSOR if BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXI if BR2_PACKAGE_XORG7
diff --git a/package/libglfw/libglfw.mk b/package/libglfw/libglfw.mk
index 2ba31fd674..0a3986f662 100644
--- a/package/libglfw/libglfw.mk
+++ b/package/libglfw/libglfw.mk
@@ -29,7 +29,11 @@ LIBGLFW_DEPENDENCIES += libgles
endif
ifeq ($(BR2_PACKAGE_WAYLAND),y)
-LIBGLFW_CONF_OPTS += -DGLFW_USE_WAYLAND=1
+LIBGLFW_DEPENDENCIES += libxkbcommon wayland-protocols
+# Override pkg-config pkgdatadir variable, it needs the prefix
+LIBGLFW_CONF_OPTS += \
+ -DGLFW_USE_WAYLAND=1 \
+ -DWAYLAND_PROTOCOLS_BASE=$(STAGING_DIR)/usr/share/wayland-protocols
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y)
From yann.morin.1998 at free.fr Sun Mar 6 21:24:25 2022
From: yann.morin.1998 at free.fr (Yann E. MORIN)
Date: Sun, 6 Mar 2022 22:24:25 +0100
Subject: [Buildroot] [PATCH v2,1/1] package/libglfw: fix wayland build
In-Reply-To: <20220306102722.129713-1-fontaine.fabrice@gmail.com>
References: <20220306102722.129713-1-fontaine.fabrice@gmail.com>
Message-ID: <20220306212425.GG228549@scaer>
Fabrice, All,
On 2022-03-06 11:27 +0100, Fabrice Fontaine spake thusly:
> Fix the following build failure raised since bump to version 3.3.6 in
> commit 3cd9bb4f2a91d3739c5da96f5e4dd37d3ae13799:
>
> CMake Error at CMakeLists.txt:252 (find_package):
> Could not find a package configuration file provided by "ECM" with any of
> the following names:
>
> ECMConfig.cmake
> ecm-config.cmake
>
> Fixes:
> - http://autobuild.buildroot.org/results/0d7420aff7392c294614fd12e65ac7cd57787e98
>
> Signed-off-by: Fabrice Fontaine
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> Changes v1 -> v2:
> - Fix typo in title
>
> ...emove-extra-cmake-modules-dependency.patch | 121 ++++++++++++++++++
> ...xt-allow-override-of-wayland-pkgdata.patch | 32 +++++
> package/libglfw/Config.in | 2 +
> package/libglfw/libglfw.mk | 6 +-
> 4 files changed, 160 insertions(+), 1 deletion(-)
> create mode 100644 package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch
> create mode 100644 package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch
>
> diff --git a/package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch b/package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch
> new file mode 100644
> index 0000000000..d5ee7c829a
> --- /dev/null
> +++ b/package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch
> @@ -0,0 +1,121 @@
> +From 2747e47393cbca2d09db56223e735bd94b21e2eb Mon Sep 17 00:00:00 2001
> +From: Joel Winarske