Skip to contentSkip to conversation

package/ola: remove package

PATCH In review Bernd Kuhls 3 participants 4 messages Nov 15, 2025 – Nov 16, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/ola: remove package

The package is incompatible with newer versions of protobuf:
https://github.com/OpenLightingProject/ola/issues/1879#issuecomment-2567133849
https://github.com/OpenLightingProject/ola/pull/1975#issuecomment-2346854820

with no upstream fixes in sight and fails to build with protobuf 29.3 currently used by buildroot:
https://lists.buildroot.org/pipermail/buildroot/2025-February/772533.html

Fixes:
https://autobuild.buildroot.net/results/fbb/fbbfef6e3715c0ac195537ab88ebb2e0e6c90c2f/

---
 .checkpackageignore                           |   1 -
 Config.in.legacy                              |   6 +
 DEVELOPERS                                    |   3 -
 package/Config.in                             |   1 -
 ...-ola-fix-compilation-with-musl-1-2-3.patch |  35 ---
 ...-protoc-version-checking-since-v20.x.patch |  35 ---
 ...rectly-match-multi-digit-major-versi.patch |  28 ---
 package/ola/Config.in                         | 196 ---------------
 package/ola/ola.hash                          |   8 -
 package/ola/ola.mk                            | 232 ------------------
 support/testing/tests/package/test_ola.py     |  95 -------
 .../usr/bin/sample_ola_rdm_discovery.py       |  24 --
 12 files changed, 6 insertions(+), 658 deletions(-)
 delete mode 100644 package/ola/0001-ola-fix-compilation-with-musl-1-2-3.patch
 delete mode 100644 package/ola/0002-Fix-protoc-version-checking-since-v20.x.patch
 delete mode 100644 package/ola/0003-Protoc-check-correctly-match-multi-digit-major-versi.patch
 delete mode 100644 package/ola/Config.in
 delete mode 100644 package/ola/ola.hash
 delete mode 100644 package/ola/ola.mk
 delete mode 100644 support/testing/tests/package/test_ola.py
 delete mode 100755 support/testing/tests/package/test_ola/rootfs-overlay/usr/bin/sample_ola_rdm_discovery.py
.checkpackageignore +0 -1
index 4821f41cce..2554347bd7 100644
@@ -764,7 +764,6 @@ package/nuttcp/0001-susv3-legacy.patch lib_patch.Upstream
 package/nvidia-driver/0001-use-LDFLAGS.patch lib_patch.Upstream
 package/octave/0001-Fix-BLAS-library-integer-size-detection.patch lib_patch.Upstream
 package/ofono/S46ofono lib_sysv.Variables
-package/ola/0001-ola-fix-compilation-with-musl-1-2-3.patch lib_patch.Upstream
 package/olsr/0001-olsrd-migrate-to-using-bison-3.7.1.patch lib_patch.Upstream
 package/olsr/0002-lib-pud-Makefile-fix-parallel-build.patch lib_patch.Upstream
 package/olsr/0003-pud-adapt-to-API-changes-in-gpsd-3-20.patch lib_patch.Upstream
Config.in.legacy +6 -0
index 24e627a28b..9fcff38d33 100644
@@ -146,6 +146,12 @@ endif
 
 comment "Legacy options removed in 2025.11"
 
+config BR2_PACKAGE_OLA
+	bool "ola has been removed"
+	select BR2_LEGACY
+	help
+	  ola is incompatible with current versions of protobuf
+
 config BR2_PACKAGE_DVBSNOOP
 	bool "dvbsnoop has been removed"
 	select BR2_LEGACY
DEVELOPERS +0 -3
index 47fe1f467e..f26da64fdf 100644
@@ -1820,7 +1820,6 @@ F:	package/libopenmpt/
 F:	package/mokutil/
 F:	package/oath-toolkit/
 F:	package/octave/
-F:	package/ola/
 F:	package/openblas/
 F:	package/opencsd/
 F:	package/openmpi/
@@ -1976,8 +1975,6 @@ F:	support/testing/tests/package/test_numactl.py
 F:	support/testing/tests/package/test_numactl/
 F:	support/testing/tests/package/test_oath_toolkit.py
 F:	support/testing/tests/package/test_octave.py
-F:	support/testing/tests/package/test_ola.py
-F:	support/testing/tests/package/test_ola/
 F:	support/testing/tests/package/test_openblas.py
 F:	support/testing/tests/package/test_openocd.py
 F:	support/testing/tests/package/test_parted.py
package/Config.in +0 -1
index ec67380db6..12f327cb27 100644
@@ -566,7 +566,6 @@ endmenu
 	source "package/nvme/Config.in"
 	source "package/nxp-mwifiex/Config.in"
 	source "package/ofono/Config.in"
-	source "package/ola/Config.in"
 	source "package/open2300/Config.in"
 	source "package/openfpgaloader/Config.in"
 	source "package/openipmi/Config.in"
package/ola/0001-ola-fix-compilation-with-musl-1-2-3.patch deleted +0 -35
deleted file mode 100644
index f236ef0957..0000000000
@@ -1,35 +0,0 @@
-From eb31017284f9a1c95602a9c06d606df6b558a691 Mon Sep 17 00:00:00 2001
-From: Rosen Penev <[email protected]>
-Date: Thu, 14 Apr 2022 17:39:32 -0700
-Subject: [PATCH] ola: fix compilation with musl 1.2.3
-
-musl 1.2.3 defines NULL as nullptr. cannot use reinterpret_cast with
-nullptr.
-
-Signed-off-by: Rosen Penev <[email protected]>
-[Retrieved from:
-https://github.com/OpenLightingProject/ola/pull/1773/commits/eb31017284f9a1c95602a9c06d606df6b558a691]
-Signed-off-by: Fabrice Fontaine <[email protected]>
----
- ola/AutoStart.cpp | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/ola/AutoStart.cpp b/ola/AutoStart.cpp
-index 89fa51f115..4dbe20d317 100644
---- a/ola/AutoStart.cpp
-+++ b/ola/AutoStart.cpp
-@@ -110,11 +110,11 @@ TCPSocket *ConnectToServer(unsigned short port) {
-     // Try to start the server, we pass --daemon (fork into background) and
-     // --syslog (log to syslog).
-     execlp("olad", "olad", "--daemon", "--syslog",
--#ifdef __FreeBSD__
--           reinterpret_cast<char*>(0));
-+#if __cplusplus >= 201103L
-+           nullptr);
- #else
-            reinterpret_cast<char*>(NULL));
--#endif  // __FreeBSD__
-+#endif  // __cplusplus >= 201103L
-     OLA_WARN << "Failed to exec: " << strerror(errno);
-     _exit(1);
-   }
package/ola/0002-Fix-protoc-version-checking-since-v20.x.patch deleted +0 -35
deleted file mode 100644
index ee98c5569d..0000000000
@@ -1,35 +0,0 @@
-From d4414feefd95adf9c91d7eaf1e94380296c35f7a Mon Sep 17 00:00:00 2001
-From: Peter Newman <[email protected]>
-Date: Fri, 7 Jul 2023 15:57:35 +0100
-Subject: [PATCH] Fix protoc version checking, since v20.x (cherry picked from
- commit 2e55aa88756718d8ab4a4c8fde97d620542c2c98)
-
-Signed-off-by: James Hilliard <[email protected]>
-Upstream: https://github.com/OpenLightingProject/ola/commit/d4414feefd95adf9c91d7eaf1e94380296c35f7a
----
- config/ola.m4 | 9 ++++++++-
- 1 file changed, 8 insertions(+), 1 deletion(-)
-
-diff --git a/config/ola.m4 b/config/ola.m4
-index f838ab70a..51b6c825c 100644
---- a/config/ola.m4
-+++ b/config/ola.m4
-@@ -44,7 +44,14 @@ if test -z "$PROTOC" ; then
-   AC_MSG_ERROR([cannot find 'protoc' program]);
- elif test -n "$1" ; then
-   AC_MSG_CHECKING([protoc version])
--  [protoc_version=`$PROTOC --version 2>&1 | grep 'libprotoc' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`]
-+  # Since v20.x we only get effectively the minor and patch versions out of protoc.
-+  # Treat them as major and minor and everything should keep working indefinitely.
-+  # See https://protobuf.dev/support/version-support/
-+  # So we've got either of these:
-+  # libprotoc 2.4.1
-+  # libprotoc 23.3
-+  # The first sed ensures all versions have major, minor, patch, by adding a .0 on the end of ones missing it
-+  [protoc_version=`$PROTOC --version 2>&1 | grep 'libprotoc' | sed 's/\([^\.0-9][0-9][0-9]*\.[0-9][0-9]*\)$/\1\.0/g' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`]
-   [required=$1]
-   [required_major=`echo $required | sed 's/[^0-9].*//'`]
-   [required_minor=`echo $required | sed 's/[0-9][0-9]*\.\([0-9][0-9]*\)\.[0-9][0-9]*/\1/'`]
--- 
-2.34.1
-
package/ola/0003-Protoc-check-correctly-match-multi-digit-major-versi.patch deleted +0 -28
deleted file mode 100644
index cee2c7eb43..0000000000
@@ -1,28 +0,0 @@
-From 546d9ee8d970c4e5b33d9d28b4acf6eb34f27a5d Mon Sep 17 00:00:00 2001
-From: Peter Newman <[email protected]>
-Date: Fri, 7 Jul 2023 16:14:21 +0100
-Subject: [PATCH] Protoc check - correctly match multi-digit major versions
- (cherry picked from commit 69a2946622cdfce54cb6ed7f2210df2be0ec5576)
-
-Signed-off-by: James Hilliard <[email protected]>
-Upstream: https://github.com/OpenLightingProject/ola/commit/546d9ee8d970c4e5b33d9d28b4acf6eb34f27a5d
----
- config/ola.m4 | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/config/ola.m4 b/config/ola.m4
-index 51b6c825c..eacee5d94 100644
---- a/config/ola.m4
-+++ b/config/ola.m4
-@@ -51,7 +51,7 @@ elif test -n "$1" ; then
-   # libprotoc 2.4.1
-   # libprotoc 23.3
-   # The first sed ensures all versions have major, minor, patch, by adding a .0 on the end of ones missing it
--  [protoc_version=`$PROTOC --version 2>&1 | grep 'libprotoc' | sed 's/\([^\.0-9][0-9][0-9]*\.[0-9][0-9]*\)$/\1\.0/g' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`]
-+  [protoc_version=`$PROTOC --version 2>&1 | grep 'libprotoc' | sed 's/\([^\.0-9][0-9][0-9]*\.[0-9][0-9]*\)$/\1\.0/g' | sed 's/[^0-9]*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`]
-   [required=$1]
-   [required_major=`echo $required | sed 's/[^0-9].*//'`]
-   [required_minor=`echo $required | sed 's/[0-9][0-9]*\.\([0-9][0-9]*\)\.[0-9][0-9]*/\1/'`]
--- 
-2.34.1
-
package/ola/Config.in deleted +0 -196

196 lines not on this page · raw message

package/ola/ola.hash deleted +0 -8
deleted file mode 100644
index a1a5577ed3..0000000000
@@ -1,8 +0,0 @@
-# Locally calculated
-sha256  44073698c147fe641507398253c2e52ff8dc7eac8606cbf286c29f37939a4ebf  ola-0.10.9.tar.gz
-
-# License files (locally computed)
-sha256  e6b95dd336a57abb343e2988ac22b7e21b35c5b86003e6eb9e066ffbeeff9da7  COPYING
-sha256  1480a883c87789075ccdead38b8ad9e2d740d6f7eefaaf183f894b50bebd8a25  GPL
-sha256  e6b95dd336a57abb343e2988ac22b7e21b35c5b86003e6eb9e066ffbeeff9da7  LGPL
-sha256  685ceaf368d37250f69f2861e91a4cbbab069e81af8bf50adce8a498936e02fc  LICENCE
package/ola/ola.mk deleted +0 -232

232 lines not on this page · raw message

support/testing/tests/package/test_ola.py deleted +0 -95

95 lines not on this page · raw message

support/testing/tests/package/test_ola/rootfs-overlay/usr/bin/sample_ola_rdm_discovery.py deleted +0 -24
deleted file mode 100755
index c2aa0733bb..0000000000
@@ -1,24 +0,0 @@
-#! /usr/bin/env python3
-
-import sys
-
-from ola.ClientWrapper import ClientWrapper
-
-
-def show_uids(state, uids):
-    if state.Succeeded():
-        for uid in uids:
-            print(str(uid))
-    else:
-        print('Error: %s' % state.message, file=sys.stderr)
-    wrapper.Stop()
-
-
-wrapper = ClientWrapper()
-client = wrapper.Client()
-universe = 0
-full_discovery = True
-
-client.RunRDMDiscovery(universe, full_discovery, show_uids)
-
-wrapper.Run()
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

Hi,

Quoted 4 lines

The package is incompatible with newer versions of protobuf:
https://github.com/OpenLightingProject/ola/issues/1879#issuecomment-2567133849
https://github.com/OpenLightingProject/ola/pull/1975#issuecomment-2346854820

Quoted 8 lines

with no upstream fixes in sight and fails to build with protobuf 29.3 currently used by buildroot:
https://lists.buildroot.org/pipermail/buildroot/2025-February/772533.html

Fixes:
https://autobuild.buildroot.net/results/fbb/fbbfef6e3715c0ac195537ab88ebb2e0e6c90c2f/

Julien, what do you say?

It sounds like there also may be some unfixed security issues in ola:

https://github.com/OpenLightingProject/ola/issues/2006

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Acked-by Julien Olivain
#2 lore raw

Hi Peter, Bernd,

Quoted 20 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

Hi,

Quoted 2 lines

The package is incompatible with newer versions of protobuf:

https://github.com/OpenLightingProject/ola/issues/1879#issuecomment-2567133849

Quoted 1 line

https://github.com/OpenLightingProject/ola/pull/1975#issuecomment-2346854820

Quoted 1 line

with no upstream fixes in sight and fails to build with protobuf

29.3

Quoted 2 lines

currently used by buildroot:

https://lists.buildroot.org/pipermail/buildroot/2025-February/772533.html

Quoted 2 lines

Fixes:

https://autobuild.buildroot.net/results/fbb/fbbfef6e3715c0ac195537ab88ebb2e0e6c90c2f/

Quoted 7 lines
Quoted 1 line

Julien, what do you say?

It sounds like there also may be some unfixed security issues in ola:

https://github.com/OpenLightingProject/ola/issues/2006

I am OK to remove this package for the time being.

Quoted 3 lines

--
Bye, Peter Korsgaard

Best regards,

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

#3 lore raw
Quoted 20 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Julien" == Julien Olivain <[email protected]> writes:

Hi Peter, Bernd,

Quoted 16 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

Hi,

Quoted 2 lines

The package is incompatible with newer versions of protobuf:

https://github.com/OpenLightingProject/ola/issues/1879#issuecomment-2567133849

Quoted 1 line

https://github.com/OpenLightingProject/ola/pull/1975#issuecomment-2346854820

Quoted 1 line

with no upstream fixes in sight and fails to build with protobuf

29.3

Quoted 2 lines

currently used by buildroot:

https://lists.buildroot.org/pipermail/buildroot/2025-February/772533.html

Quoted 2 lines

Fixes:

https://autobuild.buildroot.net/results/fbb/fbbfef6e3715c0ac195537ab88ebb2e0e6c90c2f/

Quoted 1 line
Quoted 8 lines
Quoted 4 lines

Julien, what do you say?
It sounds like there also may be some unfixed security issues in ola:
https://github.com/OpenLightingProject/ola/issues/2006

I am OK to remove this package for the time being.

OK, good - Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot