Skip to contentSkip to conversation

package/gnuradio: fix v3.10.11.0 bump

PATCH In review Thomas Perale via buildroot 2 participants 2 messages Sep 18, 2024 – Sep 28, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gnuradio: fix v3.10.11.0 bump

With GNURadio bump to v3.10.11.0, this patch is now part of that release. See https://github.com/gnuradio/gnuradio/commit/ead459813367e7fd679dad067d1b020010d49b4f

Fixes:
- http://autobuild.buildroot.org/results/dfd/dfda705bb1b3b975bde3d84c6b25a9b41c545c84/
- http://autobuild.buildroot.org/results/7c3/7c32bd40b5e1420535734480bf5a4d4365b8896f/

---
 ...o_signature-include-spdlog-ranges.h-.patch | 38 -------------------
 1 file changed, 38 deletions(-)
 delete mode 100644 package/gnuradio/0001-blocks-runtime-io_signature-include-spdlog-ranges.h-.patch
package/gnuradio/0001-blocks-runtime-io_signature-include-spdlog-ranges.h-.patch deleted +0 -38
deleted file mode 100644
index 6a08b8edee..0000000000
@@ -1,38 +0,0 @@
-From 03c9a40883e610e54b8fc3c3ce1842d68d7ce2e4 Mon Sep 17 00:00:00 2001
-From: Kefu Chai <[email protected]>
-Date: Mon, 15 Jul 2024 09:27:16 +0800
-Subject: [PATCH] blocks,runtime: io_signature: include spdlog/*/ranges.h for
- using fmt::join()
-
-fmt::join() was moved into fmt/ranges.h since fmt 11, so let's
-include the corresponding header in spdlog for using it.
-
-Signed-off-by: Kefu Chai <[email protected]>
-(cherry picked from commit 19b070051c1c2b5fb6f2da8fb6422b27418c3dfa)
-Signed-off-by: Jeff Long <[email protected]>
-Upstream: https://github.com/gnuradio/gnuradio/commit/ead459813367e7fd679dad067d1b020010d49b4f
-[Julien: backported commit ead45981 from v3.10.11.0]
-Signed-off-by: Julien Olivain <[email protected]>
----
- gr-blocks/lib/message_debug_impl.cc | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/gr-blocks/lib/message_debug_impl.cc b/gr-blocks/lib/message_debug_impl.cc
-index 1e81aec0d..415d2be97 100644
---- a/gr-blocks/lib/message_debug_impl.cc
-+++ b/gr-blocks/lib/message_debug_impl.cc
-@@ -14,6 +14,11 @@
- #include <pmt/pmt.h>
- #include <spdlog/common.h>
- #include <spdlog/fmt/fmt.h>
-+#if __has_include(<spdlog/fmt/ranges.h>)
-+#include <spdlog/fmt/ranges.h>
-+#elif __has_include(<spdlog/fmt/bundled/ranges.h>)
-+#include <spdlog/fmt/bundled/ranges.h>
-+#endif
- #include <functional>
- #include <utility>
- #include <vector>
--- 
-2.46.0
-
Signature · 6 lines
2.46.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by on v1 1/1
#1 lore raw

Hi Thomas, All,

Thanks for the patch.

Quoted 2 lines · Thomas Perale via buildroot

With GNURadio bump to v3.10.11.0, this patch is now part of that release. See https://github.com/gnuradio/gnuradio/commit/ead459813367e7fd679dad067d1b020010d49b4f

While this patch is valid, the commit log description is not completely accurate. I suggest to add in the commit log something like:

"""
package/gnuradio: fix build by removing unneeded package patch

The gnuradio package patch 0001 was introduced in commit 81e6541ef "package/gnuradio: fix build with fmt >= 11.x" [1] while Buildroot was in a release client stabilization branch. It was first in included in the 2024.08-rc2 tag. This is why the gnuradio version was _not_ bumped at that time.

At the same time, the gnuradio package was also broken in the "next" branch for the same reason. It was fixed by bumping the gnuradio version (which is already including the patch) in commit 101e7b69d "package/gnuradio: bump version to 3.10.11.0" [2].

Both commits [1] and [2] are individually working. The gnuradio package fails to build since the merge commit 3daa03752 "Merge branch 'next'" [3]. This is this merge commit which should have removed this package patch.

This commit fixes this issue by remove the package patch.

Fixes:
- http://autobuild.buildroot.org/results/dfda705bb1b3b975bde3d84c6b25a9b41c545c84
- http://autobuild.buildroot.org/results/7c32bd40b5e1420535734480bf5a4d4365b8896f
- https://gitlab.com/buildroot.org/buildroot/-/jobs/7888800399

[1] https://gitlab.com/buildroot.org/buildroot/-/commit/81e6541efe054df635947d0c143818f8cf7cb048
[2] https://gitlab.com/buildroot.org/buildroot/-/commit/101e7b69da88148fa8333af05444e47bae631833
[3] https://gitlab.com/buildroot.org/buildroot/-/commit/3daa037528c38b91caf616cb47992da7730f4343
"""

Quoted 6 lines

Fixes:
-
http://autobuild.buildroot.org/results/dfd/dfda705bb1b3b975bde3d84c6b25a9b41c545c84/
-
http://autobuild.buildroot.org/results/7c3/7c32bd40b5e1420535734480bf5a4d4365b8896f/

Quoted 58 lines
---
 ...o_signature-include-spdlog-ranges.h-.patch | 38 -------------------
 1 file changed, 38 deletions(-)
 delete mode 100644 

package/gnuradio/0001-blocks-runtime-io_signature-include-spdlog-ranges.h-.patch

package/gnuradio/0001-blocks-runtime-io_signature-include-spdlog-ranges.h-.patch deleted +0 -1
deleted file mode 100644
index 6a08b8edee..0000000000
--- 

a/package/gnuradio/0001-blocks-runtime-io_signature-include-spdlog-ranges.h-.patch +++ /dev/null

package/gnuradio/0001-blocks-runtime-io_signature-include-spdlog-ranges.h-.patch deleted +0 -4
@@ -1,38 +0,0 @@
-From 03c9a40883e610e54b8fc3c3ce1842d68d7ce2e4 Mon Sep 17 00:00:00 2001
-From: Kefu Chai <[email protected]>
-Date: Mon, 15 Jul 2024 09:27:16 +0800
-Subject: [PATCH] blocks,runtime: io_signature: include 

spdlog/*/ranges.h for
- using fmt::join()

package/gnuradio/0001-blocks-runtime-io_signature-include-spdlog-ranges.h-.patch deleted +0 -8
-
-fmt::join() was moved into fmt/ranges.h since fmt 11, so let's
-include the corresponding header in spdlog for using it.
-
-Signed-off-by: Kefu Chai <[email protected]>
-(cherry picked from commit 19b070051c1c2b5fb6f2da8fb6422b27418c3dfa)
-Signed-off-by: Jeff Long <[email protected]>
-Upstream: 

https://github.com/gnuradio/gnuradio/commit/ead459813367e7fd679dad067d1b020010d49b4f
-[Julien: backported commit ead45981 from v3.10.11.0]

package/gnuradio/0001-blocks-runtime-io_signature-include-spdlog-ranges.h-.patch deleted +0 -6
-Signed-off-by: Julien Olivain <[email protected]>
----
- gr-blocks/lib/message_debug_impl.cc | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/gr-blocks/lib/message_debug_impl.cc 

b/gr-blocks/lib/message_debug_impl.cc

package/gnuradio/0001-blocks-runtime-io_signature-include-spdlog-ranges.h-.patch deleted +0 -19
-index 1e81aec0d..415d2be97 100644
---- a/gr-blocks/lib/message_debug_impl.cc
-+++ b/gr-blocks/lib/message_debug_impl.cc
-@@ -14,6 +14,11 @@
- #include <pmt/pmt.h>
- #include <spdlog/common.h>
- #include <spdlog/fmt/fmt.h>
-+#if __has_include(<spdlog/fmt/ranges.h>)
-+#include <spdlog/fmt/ranges.h>
-+#elif __has_include(<spdlog/fmt/bundled/ranges.h>)
-+#include <spdlog/fmt/bundled/ranges.h>
-+#endif
- #include <functional>
- #include <utility>
- #include <vector>
---
-2.46.0
-
--

2.46.0

Quoted 4 lines

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot