Recipe updates for NetBSD 11 support; fix nut-scanner builds --without-threading#3300
Open
jimklimov wants to merge 28 commits intonetworkupstools:masterfrom
Open
Recipe updates for NetBSD 11 support; fix nut-scanner builds --without-threading#3300jimklimov wants to merge 28 commits intonetworkupstools:masterfrom
jimklimov wants to merge 28 commits intonetworkupstools:masterfrom
Conversation
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this pull request
Feb 4, 2026
…TGT_RULE with explicit .MAKE pseudo-target [networkupstools#3300] The BSD make as of NetBSD 11 (Beta) updates gets confused about sub-calls to $(MAKE) with respective $(MAKEFLAGS) passed to it with our parallel build scripting, despite the standard "+" prefix to commands in the caller. An explicit pseudo-target seems to help quiesce the warnings (and hopefully rectify the practical handling). Co-authored-by: Greg Troxel <gdt@lexort.com> Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
|
❌ Build nut 2.8.4.4189-master failed (commit e43cf0d9db by @jimklimov) |
|
✅ Build nut 2.8.4.4190-master completed (commit 7a50d367e3 by @jimklimov) |
…py.in: fix codecs.open() deprecation warning (3.14+) [networkupstools#3256] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com> Co-Authored-by: Paul Donald <newtwen+github@gmail.com>
…@" (was a goal body before) Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
… the already-built artefacts Thanks to Lee Damon for the heads-up Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…TGT_RULE with explicit .MAKE pseudo-target [networkupstools#3300] The BSD make as of NetBSD 11 (Beta) updates gets confused about sub-calls to $(MAKE) with respective $(MAKEFLAGS) passed to it with our parallel build scripting, despite the standard "+" prefix to commands in the caller. An explicit pseudo-target seems to help quiesce the warnings (and hopefully rectify the practical handling). Co-authored-by: Greg Troxel <gdt@lexort.com> Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…nd of file (some SEDs complain) Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…e.am, docs/configure.txt, NEWS.adoc, UPGRADING.adoc: Added an option to (primarily) `--disable-threading` [networkupstools#3300] Can be useful for systems with broken libraries, as well as for CI testing of sequential implementation on build systems WITH threading support available (and until now unavoidable then). This commit also fixes problems found when trying such a build. Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…t for (C99+) printf("%zu") et al
It seems Solaris 8 struggles with the lack of it, so formatting strings get skewed
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…sing through the arrays Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…dex increment Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…-NULL args to realpath(), provide the buffer and handle errors better Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…rings Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
|
❌ Build nut 2.8.4.4195-master failed (commit 73665287b0 by @jimklimov) |
… most logs are short Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…epare_search_paths() [networkupstools#3300] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
|
✅ Build nut 2.8.4.4197-master completed (commit 4bf47a15c2 by @jimklimov) |
…nsistently with other code [networkupstools#3300] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ed to link anything additional) [networkupstools#3300] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ization of some tools" twice [networkupstools#3300] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…er fixing use of realpath() to use our buffer [networkupstools#3300] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…d libusb_init() on libusb older than 1.0.24 [networkupstools#3300] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…de option [networkupstools#3300] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…orkupstools#3300] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…kupstools#3300] Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bmakebehaviorUPDATE: Further fixes due to building recent code on Solaris 8 as the other range of the spectrum, and finding some bugs regarding nut-scanner initialization. It suffers somehow from faults inside
malloc's duringvupslog()called at random places when debugging is enabled, but passes OK e.g. for network scans which also involve quite a bit of memory work for the strings, I think. For posterity:That exercise led to fixing a long-standing imperfection about fallback
PRI<x>SIZEdefinitions NOT via%z<x>which is not a validprintfformatting character on older systems. Also a smaller initial buffer forvupslog()would be used on some systems, which should suffice for the majority of our log messages withoutrealloc.