<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/stintel/tools/tar, branch master</title>
<subtitle>Staging tree of Stijn Tintel</subtitle>
<id>https://git.openwrt.org/openwrt/staging/stintel/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/stintel/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/'/>
<updated>2026-09-22T16:18:58Z</updated>
<entry>
<title>tools: cache the configure results of ten autotools tools</title>
<updated>2026-09-22T16:18:58Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2026-09-20T15:20:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=cd322612ccb66e35878ed7f9d3e562f9f4b4bd09'/>
<id>urn:sha1:cd322612ccb66e35878ed7f9d3e562f9f4b4bd09</id>
<content type='text'>
These ten hold up the wall clock on their own. Their configure stages
run while nothing else does, because the tools build in dependency
order. Measured over a full build, cold cache against warm:

  sed        21.68 s -&gt; 1.22 s
  m4         21.48 s -&gt; 1.22 s
  findutils  19.47 s -&gt; 1.56 s
  tar        17.75 s -&gt; 1.47 s
  cpio       14.28 s -&gt; 1.26 s
  bison      12.81 s -&gt; 1.29 s
  patch      12.16 s -&gt; 1.31 s
  elfutils   26.58 s -&gt; 15.47 s

Each of the ten configures the same way with a warm cache as it does
without one. The check runs configure three times, without a cache, with
a cold cache and with a warm cache, and compares every file that
configure generates between the first and the last. ncurses fails that
check; these do not.

The only difference left is ac_ct_AR and ac_ct_RANLIB, which a cold run
fills through the fallback path of AC_CHECK_TOOL and a warm run leaves
empty. AR and RANLIB are correct in both, and no generated Makefile
reads the ac_ct_ form.

tools/cmake keeps its 33 s, the longest configure stage in the build. It
bootstraps with its own script rather than autoconf, so this does not
reach it.

Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
</content>
</entry>
<entry>
<title>tools: tar: update to 1.35</title>
<updated>2024-06-18T17:49:54Z</updated>
<author>
<name>Robert Marko</name>
</author>
<published>2024-06-18T11:32:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=fcdc7da31c5b33cedfeb0049a25c5c122c980f8a'/>
<id>urn:sha1:fcdc7da31c5b33cedfeb0049a25c5c122c980f8a</id>
<content type='text'>
Instead of backporting select 1.35 fixes to make tar work for us, lets
update to 1.35 now that we have identified the upstream fix for macOS.

Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/15743
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools: tar: backport patch for paxlib shipped in tar</title>
<updated>2024-06-12T13:16:58Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-06-12T13:11:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=95597dc2e3f9139d7e847a14aeff55cd25920c4e'/>
<id>urn:sha1:95597dc2e3f9139d7e847a14aeff55cd25920c4e</id>
<content type='text'>
Tar 1.34 ship an old version of paxlib with rtapelib.c that produce some
compilation warning. This library got updated in 1.35 but we still can't
use the new Tar version.

GCC 14 then made these compilarion warning errors.

Manually backport the fixes to rtapelib.c and patch the version shipped
in 1.34 to fix these compilation warning.

Fixes: #15692
Fixes: 2951e0a80e9f ("tools: tar: backport patches fixing broken --delete")
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools: tar: backport patches fixing broken --delete</title>
<updated>2024-06-11T21:58:14Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-05-23T17:02:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=2951e0a80e9f9a8d11e5bc04a89d9c7aa0623919'/>
<id>urn:sha1:2951e0a80e9f9a8d11e5bc04a89d9c7aa0623919</id>
<content type='text'>
In experimenting with --delete for APK handling, it was discovered that
--delete is broken and corrupts the TAR in some case.

This is fixed in version 1.35 but 1.35 introduce some problem with MacOS
making it difficult to bump. Backport the 2 required patches to fix this
problem so --delete is usable again.

Link: https://github.com/openwrt/openwrt/pull/15543
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools: prefer gz or bz2 tarballs</title>
<updated>2024-04-06T09:24:18Z</updated>
<author>
<name>Robert Marko</name>
</author>
<published>2024-04-03T17:12:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=bab3ae2ee7656600a185f4cef11cef94389023af'/>
<id>urn:sha1:bab3ae2ee7656600a185f4cef11cef94389023af</id>
<content type='text'>
In the light of recent XZ events, and fundamental XZ issues lets work on
moving away from using XZ.

So, use gz compressed tarballs as sources whenever possible.

dwarves only offers bz2 compressed tarballs, so use those as size
difference is minor compared to XZ.

Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;

dwarves
</content>
</entry>
<entry>
<title>tools: add Host/Uninstall where possible</title>
<updated>2022-10-19T22:33:22Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2022-09-28T08:23:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=a63805b25f99e609d575ee920baae269fb58794c'/>
<id>urn:sha1:a63805b25f99e609d575ee920baae269fb58794c</id>
<content type='text'>
This cleans staging_dir when calling tool/x/clean.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/tar: update to 1.34</title>
<updated>2021-09-05T19:26:48Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2021-09-02T03:04:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=cb8e5ede190427618601d2cd38c7363d54b3f173'/>
<id>urn:sha1:cb8e5ede190427618601d2cd38c7363d54b3f173</id>
<content type='text'>
Refresh patch.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools: tar: update to version 1.32</title>
<updated>2019-03-10T20:36:28Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2019-03-10T20:34:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=a18d41996ebfbbed0598d589e8b381d60aac802b'/>
<id>urn:sha1:a18d41996ebfbbed0598d589e8b381d60aac802b</id>
<content type='text'>
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>tools/tar: Update to 1.31</title>
<updated>2019-02-10T19:47:58Z</updated>
<author>
<name>Daniel Engberg</name>
</author>
<published>2019-02-10T11:53:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=1d1dabdf0a6e848f211d58c7fb8867f21496b61f'/>
<id>urn:sha1:1d1dabdf0a6e848f211d58c7fb8867f21496b61f</id>
<content type='text'>
Update tar to 1.31
Fixes CVE-2018-20482
Switch to tar.xz tarball
Refresh patches

Signed-off-by: Daniel Engberg &lt;daniel.engberg.lists@pyret.net&gt;
</content>
</entry>
<entry>
<title>tools/tar: update to 1.30</title>
<updated>2018-01-20T19:22:01Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2018-01-19T16:55:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=e787ad5c9658deb1baae7ebb1f86bfbe219cb13f'/>
<id>urn:sha1:e787ad5c9658deb1baae7ebb1f86bfbe219cb13f</id>
<content type='text'>
update GNU tar to 1.30

Signed-off-by: Hannu Nyman &lt;hannu.nyman@iki.fi&gt;
</content>
</entry>
</feed>
