Skip to content

oonf-*: remove oonf packages such as init scripts, proxy, radio, olsrd2#1145

Merged
BKPepe merged 1 commit into
openwrt:masterfrom
BKPepe:drop-oonf
Nov 10, 2025
Merged

oonf-*: remove oonf packages such as init scripts, proxy, radio, olsrd2#1145
BKPepe merged 1 commit into
openwrt:masterfrom
BKPepe:drop-oonf

Conversation

@BKPepe
Copy link
Copy Markdown
Member

@BKPepe BKPepe commented Nov 10, 2025

These packages have not been compiling for some time due to the transition to GCC14 (issue: OLSR/OONF#71). This has been reported to the upstream repositories, but it appears that development has stalled.

Additionally, the project's website and documentation have been non-functional since 2024. Reference:
OLSR/OONF#54

Another issue is the transition to CMake 4.x, which causes the packages to fail with the following error:

CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

Superseeds: #1144

These packages have not been compiling for some time due to the
transition to GCC14 (issue: OLSR/OONF#71).
This has been reported to the upstream repositories, but it appears
that development has stalled.

Additionally, the project's website and documentation have been
non-functional since 2024. Reference:
OLSR/OONF#54

Another issue is the transition to CMake 4.x, which causes the
packages to fail with the following error:

CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
@BKPepe
Copy link
Copy Markdown
Member Author

BKPepe commented Nov 10, 2025

cjdns is failing:

2025-11-10T08:32:14.9915543Z Total build time: 14807ms.
2025-11-10T08:32:14.9935687Z /builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1/node_build/builder.js:1050
2025-11-10T08:32:14.9937050Z                     throw err;
2025-11-10T08:32:14.9937861Z                     ^
2025-11-10T08:32:14.9938243Z 
2025-11-10T08:32:14.9976674Z Error: gcc -c -x cpp-output -o build_linux/test_testcjdroute_c.o -std=c99 -Wall -Wextra -Werror -Wno-pointer-sign -Wmissing-prototypes -pedantic -D linux=1 -Wno-unused-parameter -fomit-frame-pointer -D Log_DEBUG -g -D NumberCompress_TYPE=v3x5x8 -D Identity_CHECK=1 -D Allocator_USE_CANARIES=1 -D PARANOIA=1 -DHAS_ETH_INTERFACE=1 -fPIE -fdiagnostics-color=always -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1=cjdns-cjdns-v21.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -U_FORTIFY_SOURCE -Wno-error=array-bounds -Wno-error=stringop-overflow -Wno-error=stringop-overread -Os -D_FORTIFY_SOURCE=2 -fno-stack-protector -fstack-protector-all -Wstack-protector -D CJD_PACKAGE_VERSION="unknown" build_linux/test_testcjdroute_c.i
2025-11-10T08:32:15.0012048Z 
2025-11-10T08:32:15.0012733Z �[01m�[Kcc1:�[m�[K �[01;36m�[Knote: �[m�[Ksomeone does not honour COPTS correctly, passed 16 times
2025-11-10T08:32:15.0013692Z �[01m�[Ktest/testcjdroute.c:�[m�[K In function '�[01m�[KinitFuzzTests�[m�[K':
2025-11-10T08:32:15.0045857Z �[01m�[Ktest/testcjdroute.c:116:57:�[m�[K �[01;31m�[Kerror: �[m�[K'�[01m�[KAllocator__calloc�[m�[K' sizes specified with '�[01m�[Ksizeof�[m�[K' in the earlier argument and not in the later argument [�[01;31m�[K-Werror=calloc-transposed-args�[m�[K]
2025-11-10T08:32:15.0047639Z   116 |     void** contexts = Allocator_calloc(alloc, sizeof(cha�[01;31m�[Kr*),�[m�[K FUZZ_TEST_COUNT);
2025-11-10T08:32:15.0048456Z       |                                                         �[01;31m�[K^~~~�[m�[K
2025-11-10T08:32:15.0049545Z �[01m�[Ktest/testcjdroute.c:116:57:�[m�[K �[01;36m�[Knote: �[m�[Kearlier argument should specify number of elements, later size of each element
2025-11-10T08:32:15.0050548Z cc1: all warnings being treated as errors
2025-11-10T08:32:15.0050901Z 
2025-11-10T08:32:15.0051364Z     at error (/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1/node_build/builder.js:104:15)
2025-11-10T08:32:15.0052441Z     at /builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1/node_build/builder.js:185:29
2025-11-10T08:32:15.0053467Z     at /builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1/node_build/builder.js:150:17
2025-11-10T08:32:15.0054732Z     at ChildProcess.<anonymous> (/builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1/node_modules/saferphore/index.js:22:34)
2025-11-10T08:32:15.0055857Z     at emitTwo (events.js:106:13)
2025-11-10T08:32:15.0056257Z     at ChildProcess.emit (events.js:191:7)
2025-11-10T08:32:15.0056742Z     at maybeClose (internal/child_process.js:877:16)
2025-11-10T08:32:15.0057285Z     at Socket.<anonymous> (internal/child_process.js:334:11)
2025-11-10T08:32:15.0057805Z     at emitOne (events.js:96:13)
2025-11-10T08:32:15.0058176Z     at Socket.emit (events.js:188:7)
2025-11-10T08:32:15.0206751Z make[2]: *** [Makefile:154: /builder/build_dir/target-aarch64_generic_musl/cjdns-cjdns-v21.1/.built] Error 1
2025-11-10T08:32:15.0211831Z make[2]: Leaving directory '/feed/cjdns'
2025-11-10T08:32:15.0220346Z time: package/feeds/packages_ci/cjdns/compile#27.89#12.32#16.04
2025-11-10T08:32:15.0238197Z     ERROR: package/feeds/packages_ci/cjdns failed to build.
2025-11-10T08:32:15.0248436Z make[1]: *** [package/Makefile:187: package/feeds/packages_ci/cjdns/compile] Error 1
2025-11-10T08:32:15.0253066Z make[1]: Leaving directory '/builder'

Already reported here: #1083

@BKPepe BKPepe merged commit 58070aa into openwrt:master Nov 10, 2025
1 of 12 checks passed
@XDjackieXD
Copy link
Copy Markdown

OONF master branch is now compiling again with modern GCC (tested with 15) and develop has been merged back into master.
I'd therefore like to re-add the packages here.

@parasew
Copy link
Copy Markdown

parasew commented Jun 4, 2026

Opened #1176 to reinstate oonf-olsrd2 (plus oonf-init-scripts).

The blockers cited here are fixed in current OONF master: the GCC 14
-Wint-conversion (OLSR/OONF#71) is resolved by designated struct msghdr initializers, and the root CMakeLists.txt now requires CMake 3.10. The fix landed on master in the 2025-12 developmaster merge, which the old 2022 pin predated.

The PR bumps the pin to master b2164126 (2025-12-04), drops the now-redundant lan_import patch (upstream absorbed it), and bumps PKG_RELEASE. Verified a clean x86-64 gcc-14.3.0_musl SDK build with hash verification.

olsrd2 only for now; DLEP can follow once build-tested separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants