<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-extended/gawk, branch master-next</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=master-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=master-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2025-10-13T17:01:03+00:00</updated>
<entry>
<title>gawk: disable persistent memory allocator due to licensing</title>
<updated>2025-10-13T17:01:03+00:00</updated>
<author>
<name>Randy MacLeod</name>
<email>Randy.MacLeod@windriver.com</email>
</author>
<published>2025-10-07T20:46:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=47941252215ffb46a24ed820dd6e94d9c1f6bafe'/>
<id>urn:sha1:47941252215ffb46a24ed820dd6e94d9c1f6bafe</id>
<content type='text'>
In gawk-5.2, a feature that allows gawk to preserve memory between runs:
   https://www.gnu.org/software/gawk/manual/html_node/Persistent-Memory.html
was added. The files that implement this, support/pma.[ch], are licensed
under the AGPL3 which some entities perfer to avoid. Force people to knowingly
opt into using this feature and license using:
   PACKAGECONFIG:append:pn-gawk = " pma-if-64bit"
where pma is an abbreviation for persistent memory allocator and the
"-if-64bit" suffix is a indicator to users that the feature only works
for 64 bit targets. Also add AGPL to LICENSE and LICENSE:${PN}, when using pma.

Correct the license to be AGPL-3.0-or-later. There hasn't been a change in
the license terms, at least for main.c, haven't changed significantly in
the last 15 years:

License-Update: Reflects conditional AGPL use and more as described above.

Testing requires a non-root account and following the example in the link above:
  $ truncate -s &lt;size&gt; data.pma
  $ chmod 0600 data.pma
  $ GAWK_PERSIST_FILE=data.pma gawk 'BEGIN { print ++i }'
  1
  $ GAWK_PERSIST_FILE=data.pma gawk 'BEGIN { print ++i }'
  2
  $ GAWK_PERSIST_FILE=data.pma gawk 'BEGIN { print ++i }'
  3

This works on qemu[x86-|arm|riscv]64 but not on qemu[arm|x86] where the
--enable-pma is ignored because there is a requirement and build-time test
for 8 byte void pointers in m4/pma.m4:
  if test "$SKIP_PERSIST_MALLOC" = no &amp;&amp; test $ac_cv_sizeof_void_p -eq 8

Finally, remove an old comment about GPLv2, GPLv3 versions of gawk
since this is no longer important as the GPLv2 version is not maintained.

(From OE-Core rev: d7b6887dfbe2817ceb03d44a59210f65bbb25390)

Signed-off-by: Randy MacLeod &lt;Randy.MacLeod@windriver.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gawk: upgrade 5.3.1 -&gt; 5.3.2</title>
<updated>2025-04-10T10:05:34+00:00</updated>
<author>
<name>Wang Mingyu</name>
<email>wangmy@fujitsu.com</email>
</author>
<published>2025-04-08T00:51:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7eef4b12d9a34177607a4059a0e443c8976b65ec'/>
<id>urn:sha1:7eef4b12d9a34177607a4059a0e443c8976b65ec</id>
<content type='text'>
0001-Add-parameter-signatures-for-getenv-and-getopt.patch
removed since it's included in 5.3.2

0001-configure.ac-re-enable-disabled-printf-features.patch
refreshed for 5.3.2`

(From OE-Core rev: a8773ae9d866063e0562589af44b90a89b5cd93c)

Signed-off-by: Wang Mingyu &lt;wangmy@fujitsu.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gawk: Fix build with gcc-15 on musl</title>
<updated>2025-03-27T11:19:03+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2025-03-24T16:33:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0480bea97a80b633994946a57f367e67cfca3765'/>
<id>urn:sha1:0480bea97a80b633994946a57f367e67cfca3765</id>
<content type='text'>
getopt signature needs to include parameters or else gcc-15 complains

(From OE-Core rev: 1ec77b42d83c5059b581c0adeb2d816105411230)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gawk: Enable high precision arithmetic support</title>
<updated>2025-02-01T13:22:59+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2025-01-30T20:57:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c690181cd112ac6eac18c358b970f0ca0c73cd5f'/>
<id>urn:sha1:c690181cd112ac6eac18c358b970f0ca0c73cd5f</id>
<content type='text'>
This is now required [1] for running glibc tests with
2.41+ release

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=0feb6da94c435a81699bfeacdc84150098f64025
(From OE-Core rev: 7a08c7274f93fc6cbdcca740f38c2aa800df9b39)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gawk: upgrade 5.3.0 -&gt; 5.3.1</title>
<updated>2024-11-27T14:58:48+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex@linutronix.de</email>
</author>
<published>2024-11-25T12:01:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=97c13f14f8c72831660adc7229ed26e31cd41f72'/>
<id>urn:sha1:97c13f14f8c72831660adc7229ed26e31cd41f72</id>
<content type='text'>
(From OE-Core rev: 96240d86955b51f9a494bd46ce064a7517aac7ab)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gawk: Remove References to /usr/local/bin/gawk</title>
<updated>2024-06-18T07:44:41+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-06-14T19:03:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=41bc9f693e40411c3706e415582ca44b09fc83dc'/>
<id>urn:sha1:41bc9f693e40411c3706e415582ca44b09fc83dc</id>
<content type='text'>
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
https://github.com/riscv/meta-riscv/issues/384

(From OE-Core rev: 9f58ad97f6587322b716de1c9dc409bb4e1376f0)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gawk: update patch status</title>
<updated>2024-06-06T20:12:57+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2024-06-06T17:18:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f4812083f5b54f66cb66f877b09122fe8c134776'/>
<id>urn:sha1:f4812083f5b54f66cb66f877b09122fe8c134776</id>
<content type='text'>
(From OE-Core rev: 6d9052884f6eefdf65acbca76e1c39556d77a1af)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gawk: fix readline detection</title>
<updated>2024-05-22T09:21:27+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2024-05-21T15:32:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3d2ade560bea80d5166a84ef3c113da4e57f3a38'/>
<id>urn:sha1:3d2ade560bea80d5166a84ef3c113da4e57f3a38</id>
<content type='text'>
The code fragment used to detect readline in cross builds doesn't compile
cleanly with GCC 14.1, so readline is never enabled.

Add missing includes so the test works, and readline can be enabled.

(From OE-Core rev: a6e7c3ce700b82c57f1102187fea6b387339eca3)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gawk: Add coreutils to rdeps for ptests package</title>
<updated>2024-01-07T12:24:57+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-01-05T07:12:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6d4fb81e80854fd9bcd4ca9a394d2d6cbb43d9fb'/>
<id>urn:sha1:6d4fb81e80854fd9bcd4ca9a394d2d6cbb43d9fb</id>
<content type='text'>
newer gawk 5.3.0+ added a new testcase test/cmdlinefsbacknl2.sh which
use od utility with -An option which is not available in busybox
provided od applet. Replacing -An is not possible because default output
for od is octal and the test wants to use none for radix thats why it
uses -An.

Fixes test/cmdlinefsbacknl2.sh failures in ptests

which fails like below

   Usage: od [-aBbcDdeFfHhIiLlOovXx] [FILE]
    od: unrecognized option: A
    BusyBox v1.36.1 () multi-call binary.

Sadly, this prolongs depchain if ptest distro feature is used but there
is no other option if this test has to execute. Perhaps its best to
report this to upstream gawk and request to fix the testcase to not
hard depend on coreutils/od utility

(From OE-Core rev: ddcf27939625d96ee44e9c2297d5b17fa6cf46a0)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gawk: upgrade from 5.2.2 to 5.3.0</title>
<updated>2024-01-07T12:24:57+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2024-01-02T06:09:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b221ae6cde53e69dc4e8db70453ee4ef5215a62d'/>
<id>urn:sha1:b221ae6cde53e69dc4e8db70453ee4ef5215a62d</id>
<content type='text'>
(From OE-Core rev: 2076e830de2846dd0dfeba86637e575ced85aa54)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
