<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/stintel/tools/bison, 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: bison: do not install or uninstall macros</title>
<updated>2025-07-30T21:06:30Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2025-07-30T18:44:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=66916096f3804f8c424828be9ad67f7812569a16'/>
<id>urn:sha1:66916096f3804f8c424828be9ad67f7812569a16</id>
<content type='text'>
There is a clobbering between bison and gnulib for installing
the macro file bison-i18n.m4 where gnulib has a newer version
while bison will replace it with an outdated version if built afterward.

Other builds depend on the changes made to the bison-i18n.m4 file and are
only included using aclocal unless other modifications are made in each case
in order to force imported macros from gnulib to override aclocal macros.

Gnulib is integrated within bison, however it is not with a bootstrap script
and there is already a reverse dependency between the two, where bison
is indirectly required for gnulib to start building. Therefore, do not allow
the building or cleaning of bison to install or uninstall m4 files.

Reported-by: Tianling Shen &lt;cnsztl@immortalwrt.org&gt;
Fixes: d19f8bc199 ("tools/gnulib: update to branch stable-202501")
Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
Link: https://github.com/openwrt/openwrt/pull/19606
Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>tools/bison: hardcode path to m4 with STAGING_DIR_HOST</title>
<updated>2024-04-25T19:33:51Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2024-04-01T19:51:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=41bc16dcc4594cd85fb87942032dcbec0ade7068'/>
<id>urn:sha1:41bc16dcc4594cd85fb87942032dcbec0ade7068</id>
<content type='text'>
Force bison to ignore the M4 environment variable and hardcode it to the
locally built m4 during build operations using the relocatable path
variable STAGING_DIR_HOST.

This allows bison to continue to function while we are forcefully avoiding
autoreconf and other autoconf and automake-like operations by giving a
fake path to m4 with the M4 environment variable.

The specific path can still be overridden independently from the
environment within the line of invocation that runs bison by setting
STAGING_DIR_HOST within the command, so document this in the help printout.

Tested-by: Georgi Valkov &lt;gvalkov@gmail.com&gt; # MacOS
Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
Signed-off-by: Tony Ambardar &lt;itugrok@yahoo.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: assign PKG_CPE_ID</title>
<updated>2023-09-19T18:21:33Z</updated>
<author>
<name>Alexander Couzens</name>
</author>
<published>2023-09-18T22:10:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=02f86a0765279918b54d1d51fe1926db213aeb2a'/>
<id>urn:sha1:02f86a0765279918b54d1d51fe1926db213aeb2a</id>
<content type='text'>
The PKG_CPE_ID links to NIST CPE version 2.2.
Assign PKG_CPE_ID to all remaining tools which have a CPE ID.
Not every tool has CPE id.

Related: https://github.com/openwrt/packages/issues/8534
Signed-off-by: Alexander Couzens &lt;lynxis@fe80.eu&gt;
</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/bison: update to 3.8.2</title>
<updated>2021-10-05T18:59:41Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2021-10-05T01:30:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=5266a273591d3a029a75db81f791dceae74cd35f'/>
<id>urn:sha1:5266a273591d3a029a75db81f791dceae74cd35f</id>
<content type='text'>
Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/bison: update to 3.8.1</title>
<updated>2021-09-20T13:21:17Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2021-09-18T07:10:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=af1853af602cbdd85d8efdbf7f6ab56efc2e0b71'/>
<id>urn:sha1:af1853af602cbdd85d8efdbf7f6ab56efc2e0b71</id>
<content type='text'>
Remove upstreamed patch.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/bison: update to 3.7.6</title>
<updated>2021-09-05T19:28:32Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2021-09-02T02:53:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=f431f2c4b654c04d9765b2aabe57a907b9c7b3ea'/>
<id>urn:sha1:f431f2c4b654c04d9765b2aabe57a907b9c7b3ea</id>
<content type='text'>
Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/bison: update to 3.7.4</title>
<updated>2020-11-21T17:49:08Z</updated>
<author>
<name>Hannu Nyman</name>
</author>
<published>2020-11-21T11:30:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=9d5eceae91a93d48f008cd6411b9f9baa1556421'/>
<id>urn:sha1:9d5eceae91a93d48f008cd6411b9f9baa1556421</id>
<content type='text'>
Update bison to 3.7.4

Release notes:
http://git.savannah.gnu.org/cgit/bison.git/tree/NEWS?id=7a11a9308cb

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