* [Buildroot] [PATCH 1/2] package/boinc: fix build error with uClibc-ng
@ 2026-09-06 16:51 Bernd Kuhls
2026-09-06 16:51 ` [Buildroot] [PATCH 2/2] package/boinc: bump version to 8.2.15 Bernd Kuhls
2026-09-16 21:26 ` [Buildroot] [PATCH 1/2] package/boinc: fix build error with uClibc-ng Thomas Petazzoni via buildroot
0 siblings, 2 replies; 4+ messages in thread
From: Bernd Kuhls @ 2026-09-06 16:51 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
Fixes:
https://autobuild.buildroot.net/results/f10/f1015559e37d73403c396ee883d9a73fd167b9dd/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/6f246f65bc89cd9e146a606c60b3c9ccf19f8ec4
...ched.h-to-fix-build-error-with-uClib.patch | 69 +++++++++++++++++++
1 file changed, 69 insertions(+)
create mode 100644 package/boinc/0001-client-include-sched.h-to-fix-build-error-with-uClib.patch
diff --git a/package/boinc/0001-client-include-sched.h-to-fix-build-error-with-uClib.patch b/package/boinc/0001-client-include-sched.h-to-fix-build-error-with-uClib.patch
new file mode 100644
index 0000000000..c4f0c1f87e
--- /dev/null
+++ b/package/boinc/0001-client-include-sched.h-to-fix-build-error-with-uClib.patch
@@ -0,0 +1,69 @@
+From f06b730ad648607e1a2ace0c364f6dd4a13fd159 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd@kuhls.net>
+Date: Sun, 6 Sep 2026 17:49:47 +0200
+Subject: [PATCH] client: include sched.h to fix build error with uClibc-ng
+
+Detected by buildroot autobuilders:
+https://autobuild.buildroot.net/results/f10/f1015559e37d73403c396ee883d9a73fd167b9dd/build-end.log
+
+In file included from /home/autobuild/autobuild/instance-6/output-1/host/i686-buildroot-linux-uclibc/sysroot/usr/include/pthread.h:20,
+ from thread.h:23,
+ from client_state.h:37,
+ from cpu_sched.cpp:76:
+cpu_sched.cpp: In member function 'void PROC_RESOURCES::schedule(RESULT*, ACTIVE_TASK*, bool)':
+cpu_sched.cpp:247:30: error: 'struct PROJECT' has no member named '__sched_priority'; did you mean 'sched_priority'?
+ 247 | rp->project->sched_priority
+ | ^~~~~~~~~~~~~~
+cpu_sched.cpp: In member function 'RESULT* CLIENT_STATE::highest_prio_project_best_result()':
+cpu_sched.cpp:438:25: error: 'struct PROJECT' has no member named '__sched_priority'; did you mean 'sched_priority'?
+ 438 | if (first || p->sched_priority > best_prio) {
+ | ^~~~~~~~~~~~~~
+cpu_sched.cpp:441:28: error: 'struct PROJECT' has no member named '__sched_priority'; did you mean 'sched_priority'?
+ 441 | best_prio = p->sched_priority;
+ | ^~~~~~~~~~~~~~
+cpu_sched.cpp: In function 'RESULT* first_coproc_result(int)':
+cpu_sched.cpp:474:29: error: 'struct PROJECT' has no member named '__sched_priority'; did you mean 'sched_priority'?
+ 474 | prio = rp->project->sched_priority;
+ | ^~~~~~~~~~~~~~
+cpu_sched.cpp: In function 'void project_priority_init(bool)':
+cpu_sched.cpp:684:16: error: 'struct PROJECT' has no member named '__sched_priority'; did you mean 'sched_priority'?
+ 684 | p->sched_priority = 0;
+ | ^~~~~~~~~~~~~~
+cpu_sched.cpp:690:24: error: 'struct PROJECT' has no member named '__sched_priority'; did you mean 'sched_priority'?
+ 690 | p->sched_priority, p->resource_share_frac,
+ | ^~~~~~~~~~~~~~
+cpu_sched.cpp: In member function 'void PROJECT::compute_sched_priority()':
+cpu_sched.cpp:705:9: error: '__sched_priority' was not declared in this scope; did you mean 'sched_priority'?
+ 705 | sched_priority = -1e3 - rec_frac;
+ | ^~~~~~~~~~~~~~
+cpu_sched.cpp:708:13: error: '__sched_priority' was not declared in this scope; did you mean 'sched_priority'?
+ 708 | sched_priority = - rec_frac/resource_share_frac;
+ | ^~~~~~~~~~~~~~
+cpu_sched.cpp:710:13: error: '__sched_priority' was not declared in this scope; did you mean 'sched_priority'?
+ 710 | sched_priority = - rec_frac;
+ | ^~~~~~~~~~~~~~
+
+Upstream: https://github.com/BOINC/boinc/pull/7282
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ client/cpu_sched.cpp | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/client/cpu_sched.cpp b/client/cpu_sched.cpp
+index f50b1b1785..f093c48e2c 100644
+--- a/client/cpu_sched.cpp
++++ b/client/cpu_sched.cpp
+@@ -56,6 +56,9 @@
+ #include <list>
+ #endif
+
++#if HAVE_SCHED_SETSCHEDULER && defined (__linux__)
++#include <sched.h>
++#endif
+
+ #include "coproc.h"
+ #include "error_numbers.h"
+--
+2.47.3
+
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/boinc: bump version to 8.2.15
2026-09-06 16:51 [Buildroot] [PATCH 1/2] package/boinc: fix build error with uClibc-ng Bernd Kuhls
@ 2026-09-06 16:51 ` Bernd Kuhls
2026-09-16 21:26 ` [Buildroot] [PATCH 1/2] package/boinc: fix build error with uClibc-ng Thomas Petazzoni via buildroot
1 sibling, 0 replies; 4+ messages in thread
From: Bernd Kuhls @ 2026-09-06 16:51 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
https://github.com/BOINC/boinc/wiki/Client-release-notes
Upstream commit
https://github.com/BOINC/boinc/commit/72d6e36abacb0e89d9122a24ff5e44094244d022
which was first released in version 8.2.14 enabled C++17 features.
To fix a build error seen with the Gitlab pipelines with the bootlin-
aarch64-glibc-old defconfig we raise the minimum gcc version to 7.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/0b2ae2cf0276a921cb4798ada40cf13938467d0a
package/boinc/Config.in | 6 +++---
package/boinc/boinc.hash | 2 +-
package/boinc/boinc.mk | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/package/boinc/Config.in b/package/boinc/Config.in
index 72d5440131..ef336a79fe 100644
--- a/package/boinc/Config.in
+++ b/package/boinc/Config.in
@@ -2,7 +2,7 @@ config BR2_PACKAGE_BOINC
bool "boinc"
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS # dlfcn.h
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_LIBCURL
@@ -17,8 +17,8 @@ config BR2_PACKAGE_BOINC
https://boinc.berkeley.edu
-comment "boinc needs a toolchain w/ dynamic library, C++, threads, gcc >= 4.8"
+comment "boinc needs a toolchain w/ dynamic library, C++, threads, gcc >= 7"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
- || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
+ || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 \
|| !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/boinc/boinc.hash b/package/boinc/boinc.hash
index ee3168b148..47ae5e4a27 100644
--- a/package/boinc/boinc.hash
+++ b/package/boinc/boinc.hash
@@ -1,4 +1,4 @@
# Locally computed:
-sha256 0697781686bd99f0294d639d19d7184f884e5d8b11ae8fae720b855f58bb3f5a boinc-8.2.11.tar.gz
+sha256 59ab7ce2877e211ab627350544b0c21cd639ee46191d0b0d804320e539c246b2 boinc-8.2.15.tar.gz
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
sha256 9ccf26cfe845e0eb8bb58053e47366e7ab6b697ae010f7650978d4b71b7d1fc1 COPYING.LESSER
diff --git a/package/boinc/boinc.mk b/package/boinc/boinc.mk
index 6227d464d2..6b9db1c727 100644
--- a/package/boinc/boinc.mk
+++ b/package/boinc/boinc.mk
@@ -5,7 +5,7 @@
################################################################################
BOINC_VERSION_MAJOR = 8.2
-BOINC_VERSION = $(BOINC_VERSION_MAJOR).11
+BOINC_VERSION = $(BOINC_VERSION_MAJOR).15
BOINC_SITE = \
$(call github,BOINC,boinc,client_release/$(BOINC_VERSION_MAJOR)/$(BOINC_VERSION))
BOINC_LICENSE = LGPL-3.0+
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/2] package/boinc: fix build error with uClibc-ng
2026-09-06 16:51 [Buildroot] [PATCH 1/2] package/boinc: fix build error with uClibc-ng Bernd Kuhls
2026-09-06 16:51 ` [Buildroot] [PATCH 2/2] package/boinc: bump version to 8.2.15 Bernd Kuhls
@ 2026-09-16 21:26 ` Thomas Petazzoni via buildroot
2026-10-03 16:32 ` Thomas Petazzoni via buildroot
1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-16 21:26 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot, Fabrice Fontaine
On Sun, Sep 06, 2026 at 06:51:48PM +0200, Bernd Kuhls wrote:
> Fixes:
> https://autobuild.buildroot.net/results/f10/f1015559e37d73403c396ee883d9a73fd167b9dd/
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Thanks, but when was this issue introduced?
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/2] package/boinc: fix build error with uClibc-ng
2026-09-16 21:26 ` [Buildroot] [PATCH 1/2] package/boinc: fix build error with uClibc-ng Thomas Petazzoni via buildroot
@ 2026-10-03 16:32 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-10-03 16:32 UTC (permalink / raw)
To: Bernd Kuhls, buildroot, Fabrice Fontaine
On Wed, Sep 16, 2026 at 11:26:50PM +0200, Thomas Petazzoni via buildroot wrote:
> On Sun, Sep 06, 2026 at 06:51:48PM +0200, Bernd Kuhls wrote:
> > Fixes:
> > https://autobuild.buildroot.net/results/f10/f1015559e37d73403c396ee883d9a73fd167b9dd/
> >
> > Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
>
> Thanks, but when was this issue introduced?
Gentle ping.
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-10-03 16:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-06 16:51 [Buildroot] [PATCH 1/2] package/boinc: fix build error with uClibc-ng Bernd Kuhls
2026-09-06 16:51 ` [Buildroot] [PATCH 2/2] package/boinc: bump version to 8.2.15 Bernd Kuhls
2026-09-16 21:26 ` [Buildroot] [PATCH 1/2] package/boinc: fix build error with uClibc-ng Thomas Petazzoni via buildroot
2026-10-03 16:32 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.