Skip to content

kadnode: update to 2.4.2 - #30342

Open
mwarning wants to merge 1 commit into
openwrt:masterfrom
mwarning:kadnode242
Open

kadnode: update to 2.4.2#30342
mwarning wants to merge 1 commit into
openwrt:masterfrom
mwarning:kadnode242

Conversation

@mwarning

Copy link
Copy Markdown
Contributor

📦 Package Details

Maintainer: @mwarning

Description:
Bugfixes.


🧪 Run Testing Details

  • OpenWrt Version: master
  • OpenWrt Target/Subtarget:
  • OpenWrt Device: wr902ac v3

✅ Formalities

  • [*] I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

@openwrt

openwrt Bot commented Aug 20, 2026

Copy link
Copy Markdown

Formality Check: Suggestions Available

We checked this pull request against the contribution guidelines. Here is what needs your attention:

⚠️ STYLISTIC WARNINGS & SUGGESTIONS

Commit e1a9760:

  • ⚠️ Commit subject and description body are identical or virtually identical. Avoid repeating the subject line in the body; provide context instead.

Something broken? Consider reporting an issue.
Running version 3eeda58 deployed on 2026-08-18 11:06:29 CEST

Minor version update with bugfixes.

Signed-off-by: Moritz Warning <[email protected]>

@openwrt-ai openwrt-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 new commit; no blocking issues found.

Checks performed against upstream: the v2.4.2 tag exists in mwarning/KadNode (e3d2617, peeled to commit 11acc78), PKG_RELEASE correctly stays at 1 for a version bump, and nothing in the v2.4.1..v2.4.2 range breaks the packaging — no CLI option was removed (only --bob-print-keys added), the build/kadnode output path and the FEATURES= interface are unchanged, and --version still prints the feature list that files/kadnode.init greps for cmd. The upstream Makefile churn in that range only touches the nss feature, which this package does not enable.

One optional, pre-existing packaging note inline.


Generated by Claude Code

Comment thread net/kadnode/Makefile
PKG_VERSION:=2.4.2
PKG_RELEASE:=1

PKG_SOURCE_PROTO:=git

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit (optional, pre-existing — not a blocker for this bump): the feed guidelines ask for PKG_SOURCE_PROTO:=git only as a last resort when no release archive is available. KadNode publishes tags (v2.4.2 resolves upstream), so this could move to a tarball fetch via the @GITHUB mirror macro with PKG_HASH instead of PKG_SOURCE_VERSION + PKG_MIRROR_HASH, which also removes the need to regenerate a mirror tarball on every release. Since that changes the download scheme, it is better done as its own commit rather than folded into this version bump.


Generated by Claude Code

@mwarning

Copy link
Copy Markdown
Contributor Author

I have tried to use these lines to use the source package download instead of git:

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/mwarning/KadNode/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=6cd25f875465cbbe2880e002c2db3973bd733047181b4cde90919a206b47eccf

But I get this error message:

SHELL= flock /home/mwarning/openwrt/tmp/.kadnode-2.4.2.tar.gz.flock -c '  	/home/mwarning/openwrt/scripts/download.pl "/home/mwarning/openwrt/dl" "kadnode-2.4.2.tar.gz" "6cd25f875465cbbe2880e002c2db3973bd733047181b4cde90919a206b47eccf" "" "https://codeload.github.com/mwarning/KadNode/tar.gz/v2.4.2?"    '
+ curl -f --connect-timeout 5 --retry 3 --location https://codeload.github.com/mwarning/KadNode/tar.gz/v2.4.2?/kadnode-2.4.2.tar.gz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100 455.7k 100 455.7k   0      0 857.3k      0                              0
touch /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2/.prepared_522c17f46e7101c4ef06fccc1ec7a6ea_6664517399ebbbc92a37c5bb081b5c53_check
. /home/mwarning/openwrt/include/shell.sh; /home/mwarning/openwrt/staging_dir/host/bin/libdeflate-gzip -dc /home/mwarning/openwrt/dl/kadnode-2.4.2.tar.gz | tar -C /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2/.. -xf -
find /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2 -mindepth 1 -type f -not -name '.*' -not -name 'version.date' -printf '%T@\n' 2>/dev/null | cut -d. -f1 | sort -n | tail -n1 > /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2/version.date
[ ! -d ./src/ ] || cp -fpR ./src/. /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2
touch /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2/.prepared_522c17f46e7101c4ef06fccc1ec7a6ea_6664517399ebbbc92a37c5bb081b5c53
rm -f /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2/.configured_*
rm -f /home/mwarning/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.kadnode_installed
(cd /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2/./; if [ -x ./configure ]; then find /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2/ -name config.guess | xargs -r chmod u+w; find /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2/ -name config.guess | xargs -r -n1 cp --remove-destination /home/mwarning/openwrt/scripts/config.guess; find /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2/ -name config.sub | xargs -r chmod u+w; find /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2/ -name config.sub | xargs -r -n1 cp --remove-destination /home/mwarning/openwrt/scripts/config.sub; AR="mipsel-openwrt-linux-musl-gcc-ar" AS="mipsel-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2=kadnode-2.4.2 -ffunction-sections -fdata-sections -Wl,-z,max-page-size=4096 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD="mipsel-openwrt-linux-musl-ld.bfd" NM="mipsel-openwrt-linux-musl-gcc-nm" CC="mipsel-openwrt-linux-musl-gcc" GCC="mipsel-openwrt-linux-musl-gcc" CXX="mipsel-openwrt-linux-musl-g++" RANLIB="mipsel-openwrt-linux-musl-gcc-ranlib" STRIP=mipsel-openwrt-linux-musl-strip OBJCOPY=mipsel-openwrt-linux-musl-objcopy OBJDUMP=mipsel-openwrt-linux-musl-objdump SIZE=mipsel-openwrt-linux-musl-size CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2=kadnode-2.4.2 -mips16 -minterlink-mips16 -ffunction-sections -fdata-sections -Wl,-z,max-page-size=4096 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2=kadnode-2.4.2 -mips16 -minterlink-mips16 -ffunction-sections -fdata-sections -Wl,-z,max-page-size=4096 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -mips16 -minterlink-mips16 -ffunction-sections -fdata-sections " CPPFLAGS="-I/home/mwarning/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-14.4.0_musl/usr/include -I/home/mwarning/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-14.4.0_musl/include -I/home/mwarning/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-14.4.0_musl/include/fortify " LDFLAGS="-L/home/mwarning/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-14.4.0_musl/usr/lib -L/home/mwarning/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-14.4.0_musl/lib -fuse-ld=bfd -Wl,--gc-sections -zmax-page-size=4096 -znow -zrelro "   ./configure --target=mipsel-openwrt-linux --host=mipsel-openwrt-linux --build=x86_64-pc-linux-gnu --disable-dependency-tracking --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls  ; fi; )
touch /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2/.configured_68b329da9893e34099c7d8ad5cb9c940
rm -f /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2/.built
touch /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2/.built_check
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2=kadnode-2.4.2 -mips16 -minterlink-mips16 -ffunction-sections -fdata-sections -Wl,-z,max-page-size=4096 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/mwarning/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-14.4.0_musl/usr/include -I/home/mwarning/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-14.4.0_musl/include -I/home/mwarning/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-14.4.0_musl/include/fortify " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2=kadnode-2.4.2 -mips16 -minterlink-mips16 -ffunction-sections -fdata-sections -Wl,-z,max-page-size=4096 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -mips16 -minterlink-mips16 -ffunction-sections -fdata-sections  -I/home/mwarning/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-14.4.0_musl/usr/include -I/home/mwarning/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-14.4.0_musl/include -I/home/mwarning/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-14.4.0_musl/include/fortify " LDFLAGS="-L/home/mwarning/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-14.4.0_musl/usr/lib -L/home/mwarning/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-14.4.0_musl/lib -fuse-ld=bfd -Wl,--gc-sections -zmax-page-size=4096 -znow -zrelro " make  -C /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2/. AR="mipsel-openwrt-linux-musl-gcc-ar" AS="mipsel-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2=kadnode-2.4.2 -ffunction-sections -fdata-sections -Wl,-z,max-page-size=4096 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD="mipsel-openwrt-linux-musl-ld.bfd" NM="mipsel-openwrt-linux-musl-gcc-nm" CC="mipsel-openwrt-linux-musl-gcc" GCC="mipsel-openwrt-linux-musl-gcc" CXX="mipsel-openwrt-linux-musl-g++" RANLIB="mipsel-openwrt-linux-musl-gcc-ranlib" STRIP=mipsel-openwrt-linux-musl-strip OBJCOPY=mipsel-openwrt-linux-musl-objcopy OBJDUMP=mipsel-openwrt-linux-musl-objdump SIZE=mipsel-openwrt-linux-musl-size CROSS="mipsel-openwrt-linux-musl-" ARCH="mipsel" FEATURES="cmd lpd tls bob dns" ;
make[3]: Entering directory '/home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2'
make[3]: *** No targets specified and no makefile found.  Stop.
make[3]: Leaving directory '/home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2'
make[2]: *** [Makefile:95: /home/mwarning/openwrt/build_dir/target-mipsel_24kc_musl/kadnode-2.4.2/.built] Error 2
make[2]: Leaving directory '/home/mwarning/openwrt/feeds/packages/net/kadnode'
time: package/feeds/packages/kadnode/compile#0.39#0.29#1.16
    ERROR: package/feeds/packages/kadnode failed to build.
make[1]: *** [package/Makefile:198: package/feeds/packages/kadnode/compile] Error 1
make[1]: Leaving directory '/home/mwarning/openwrt'
make: *** [/home/mwarning/openwrt/include/toplevel.mk:233: package/kadnode/compile] Error 2

No idea how to fix it right now.

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.

2 participants