<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/nbd/tools, branch master</title>
<subtitle>Felix Fietkaus staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/nbd/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/nbd/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/'/>
<updated>2026-08-19T17:46:46Z</updated>
<entry>
<title>tools: gnulib: remove stale gl_-prefixed macros from staging</title>
<updated>2026-08-19T17:46:46Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-16T11:14:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=c0262ed5af2a5b97b864f6c2a0a56f731c8a4213'/>
<id>urn:sha1:c0262ed5af2a5b97b864f6c2a0a56f731c8a4213</id>
<content type='text'>
Commit c820f097e0 ("tools: gnulib: install .m4 file with gl_ prefix")
installed gnulib autoconf macros under gl_-prefixed file names. The
scheme was later reverted in commit cda598a595, but the previously
installed files were never removed from share/aclocal.

As aclocal reads the whole directory, stale gl_*.m4 files can override
the current unprefixed macros. This breaks elfutils builds on macOS
after the gnulib stable-202507 update, resulting in empty #if
expressions in the generated ctype.h.

Remove the stale files in Host/Uninstall. Host/Install calls it first,
so affected build trees are cleaned up automatically on the next
gnulib reinstall.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/24759
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools: firmware-utils: update to Git HEAD (2026-07-30)</title>
<updated>2026-08-18T23:19:54Z</updated>
<author>
<name>Luiz Angelo Daros de Luca</name>
</author>
<published>2026-07-14T18:46:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=36946e299399a6efd2862ae2830f34814a493a6e'/>
<id>urn:sha1:36946e299399a6efd2862ae2830f34814a493a6e</id>
<content type='text'>
df23826047c9 uimage_padhdr: improve error handling and cleanup
c9da48613b5d uimage_padhdr: add options to insert data into padding area

Signed-off-by: Luiz Angelo Daros de Luca &lt;luizluca@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/24773
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>tools: zip: fix command injection in -T</title>
<updated>2026-08-17T08:36:17Z</updated>
<author>
<name>Peter Polonec</name>
</author>
<published>2026-08-14T16:25:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=56c66549576307f4c88cee6d1096471c6d6953ae'/>
<id>urn:sha1:56c66549576307f4c88cee6d1096471c6d6953ae</id>
<content type='text'>
[backport from Debian zip 3.0-16]
https://sources.debian.org/data/main/z/zip/3.0-16/debian/patches/fix-command-injection.patch

Info-ZIP 3.0 builds a shell command with the archive name when -T tests
an archive. A crafted archive name can inject additional shell commands.

Backport Debian's fix. Quote the archive name before it is added to the
test command.

Link: https://sintonen.fi/advisories/infozip-test-option-command-injection.txt
Signed-off-by: Peter Polonec &lt;polonec.devel@pm.me&gt;
Link: https://github.com/openwrt/openwrt/pull/24730
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/meson: update to 1.11.2</title>
<updated>2026-08-14T10:11:19Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2026-07-30T01:41:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=fc636dac867fcd8c68dee0ad69fc15954e075715'/>
<id>urn:sha1:fc636dac867fcd8c68dee0ad69fc15954e075715</id>
<content type='text'>
Remove upstreamed patch and refresh others.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/24560
Signed-off-by: Jonas Jelonek &lt;jelonek.jonas@gmail.com&gt;
</content>
</entry>
<entry>
<title>mold: bump to 2.42.0</title>
<updated>2026-08-14T09:00:45Z</updated>
<author>
<name>Carsten Schuette</name>
</author>
<published>2026-08-11T17:38:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=dfa0a92172d73743c4a790d61859775bbb6fe8d5'/>
<id>urn:sha1:dfa0a92172d73743c4a790d61859775bbb6fe8d5</id>
<content type='text'>
Update mold to 2.42.0

Changelog:
https://github.com/rui314/mold/releases/tag/v2.42.0

Signed-off-by: Carsten Schuette &lt;schuettecarsten@googlemail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/24672
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/sed: update to 4.10</title>
<updated>2026-08-13T21:39:03Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2026-07-30T01:46:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=5f144a75136825207a62f4adbef8ccc36324ef7b'/>
<id>urn:sha1:5f144a75136825207a62f4adbef8ccc36324ef7b</id>
<content type='text'>
Remove upstreamed patch.

Remove HOST_CONFIGURE_VARS. These are not needed any more.
ac_cv_search_setfilecon was removed completely and the others are guarded
by if test "$with_selinux" != no; then now.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/24572
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>tools/isl: update to 0.28</title>
<updated>2026-08-06T21:11:50Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2026-07-30T01:51:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=d70761c2e5028c3ee782f2c889db71b9143c357d'/>
<id>urn:sha1:d70761c2e5028c3ee782f2c889db71b9143c357d</id>
<content type='text'>
Basic update. No patches.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/24573
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>tools/cmake: update to 4.4.0</title>
<updated>2026-08-04T19:40:38Z</updated>
<author>
<name>Jack Sun</name>
</author>
<published>2026-07-20T15:10:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=ac61bc0a9c552399b4a1d212130760d3918cb4eb'/>
<id>urn:sha1:ac61bc0a9c552399b4a1d212130760d3918cb4eb</id>
<content type='text'>
Release notes:https://cmake.org/cmake/help/latest/release/4.4.html

Refresh patches:
- 100-no-testing.patch
- 130-bootstrap_parallel_make_flag.patch
- 150-zstd-libarchive.patch
- 160-disable_xcode_generator.patch

Signed-off-by: Jack Sun &lt;sunjiazheng321521@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/24324
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools: elfutils: fix uio header inclusion</title>
<updated>2026-08-04T07:17:53Z</updated>
<author>
<name>Paweł Owoc</name>
</author>
<published>2026-08-02T06:51:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=9452d9672165c2acfdb93824938b285bbf86be28'/>
<id>urn:sha1:9452d9672165c2acfdb93824938b285bbf86be28</id>
<content type='text'>
Fixes arm64 build failures by replacing &lt;linux/uio.h&gt; with POSIX &lt;sys/uio.h&gt;
to avoid header redefinition conflicts.

gnulib's fcntl.h ends up including glibc's fcntl.h and fcntl-linux.h
which includes glibc's types/struct_iovec.h,
thats where the redefinition happens.

the lines that use &lt;linux/uio.h&gt; are antiquated and were never necessary.
it can be traced back to the original 2014 change that added the file with aarch64 support
in upstream commit 66637fa21044ac0058b25522f473669e73de328b

it was never necessary to use the linux header over the glibc headers,
as elfutils only needs the iovec struct and that struct was present since glibc 2.0 in the 1990s

Signed-off-by: Paweł Owoc &lt;frut3k7@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/24539
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools: gnulib: fix build with latest glibc C23 changes</title>
<updated>2026-07-30T17:40:44Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2026-07-18T12:14:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=a3830a1589529a2f97f256ca492471b1fe7c5716'/>
<id>urn:sha1:a3830a1589529a2f97f256ca492471b1fe7c5716</id>
<content type='text'>
Backport a patch that covers a build problem with latest glibc
being used as the host standard C library during tools build.

The C23 standard changes some functions that used to drop qualifiers
like "const" or "volatile" and are now forced to preserve them
in the return type based on the input type at all times.
Developers of glibc have responded by making these functions
into macros after they are declared with prototypes.
This is not compatible with the way gnulib is written,
so when the functions are redeclared in gnulib,
the preprocessor expands the _function name_ itself
as if it is a macro name, but not fully,
which results in unusual looking build errors,
e.g. the failed processing of keywords that were never written
and have no business being in a prototype, or,
as a keyword that is expected to be there and nearly guarenteed
to work but mysteriously is not working, displayed as:
"error: expected identifier or '(' before _____".

The backport patch introduces and implements a new macro
in order to prevent function names from being interpreted as macros,
by wrapping it in parentheses for C, or simply placing it back for C++
in the first stage of macro expansion which satisfies the goal
of no further expansion taking place during preprocessing.

Add an additional patch for the functions declared
in the fts header, as this bug also applies to them,
however, this was overlooked by upstream gnulib,
likely because the bug is not presenting as an error.

Yet another patch corrects the order between
specifiers and attributes in GCC syntax for header
lib/fts.in.h which can be blamed on an upstream commit.

Specifically, the throw() or noexcept() keywords
must be before attributes at the end of a declaration.
There are two headers, lib/cdefs.h and lib/getopt-ext.h
that already demonstrate the correct order which is very
strictly necessary in the latest version of GCC
when compiling C++ code, and acceptable for C code,
as the "__THROW" macro is simply another attribute in that case.

Added backport patch:
 - 400-c23-qualifier-generic.patch

Added pending patch:
 - 410-unmacro-fts-functions.patch
 - 450-attribute-specifier-order.patch

Ref: 80e5de158316 ("fts: Improve GCC 11 allocation-deallocation checking.") # gnulib.git
Reported-by: Aditya Nugraha &lt;vortexilation@gmail.com&gt;
Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
Link: https://github.com/openwrt/openwrt/pull/24247
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
</feed>
