Hi Rueben,

Do you think you could create a new GNU hello release? The current
package can't build on glibc-2.43 with an error like this [1]:

    In file included from /usr/include/features.h:540,
                     from /usr/include/bits/libc-header-start.h:33,
                     from /usr/include/stdlib.h:26,
                     from lib/stdlib.h:51,
                     from lib/xalloc.h:29,
                     from lib/xalloc-die.c:21:
    lib/stdlib.h:827:20: error: expected identifier or '(' before '_Generic'
      827 | _GL_EXTERN_C void *bsearch (const void *__key,
          |                    ^~~~~~~
    lib/string.h:777:20: error: expected identifier or '(' before '_Generic'
      777 | _GL_EXTERN_C void *memchr (const void *__s, int __c, size_t __n)
          |                    ^~~~~~
    make[2]: * [Makefile:4633: lib/libhello_a-xalloc-die.o] Error 1
    make[2]: Leaving directory 
'/var/tmp/portage/app-misc/hello-2.12.2/work/hello-2.12.2'
    make[1]: * [Makefile:4950: all-recursive] Error 1
    make: * [Makefile:2624: all] Error 2 

The current Gnulib submodule already has commit
df17f4f37ed3ca373d23ad42eae51122bdb96626 which fixes it.

I hadn't realized that GNU hello was affected by this, like coreutils,
m4, etc. were otherwise I would have mentioned it earlier.

Perhaps a news entry something like this would be good as well:

    Ported to glibc-2.43 which implements functions such as strchr as
    macros which conflict with Gnulib files used in previous releases.

I also pushed the attatched patch to fix another bug reported on
Savannah [2].

[1] https://savannah.gnu.org/bugs/?67961
[2] https://savannah.gnu.org/bugs/?68030

>From 374015edfdfa97bced6da81f066cd18797a39573 Mon Sep 17 00:00:00 2001
Message-ID: <374015edfdfa97bced6da81f066cd18797a39573.1770610935.git.collin.fu...@gmail.com>
From: Collin Funk <[email protected]>
Date: Sun, 8 Feb 2026 20:11:31 -0800
Subject: [PATCH] doc: don't document short options for --help and --version

These were removed in commit e8e46123cfe62170a2f7f79db6b471b66ae36947.
Reported by Lorenzo Lomartire in
<https://savannah.gnu.org/bugs/?68030>.

* doc/hello.texi (Invoking hello): Don't list the unsupported -h and -v
short options.
---
 NEWS           | 2 ++
 doc/hello.texi | 4 ----
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/NEWS b/NEWS
index cb7a939..80a9af8 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@ GNU Hello NEWS                                         -*- outline -*-
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+The manual no longer mentions the -h and -v short options which were
+removed in release 2.11.
 
 * Noteworthy changes in release 2.12.2 (2025-05-19) [stable]
 
diff --git a/doc/hello.texi b/doc/hello.texi
index e3a2353..923c67b 100644
--- a/doc/hello.texi
+++ b/doc/hello.texi
@@ -234,9 +234,7 @@ @node Invoking hello
 Output @var{text} instead of the default greeting.
 
 @item --help
-@itemx -h
 @opindex --help
-@opindex -h
 Print an informative help message on standard output and exit
 successfully.
 
@@ -257,9 +255,7 @@ @node Invoking hello
 Output the traditional greeting message @samp{hello, world}.
 
 @item --version
-@itemx -v
 @opindex --version
-@opindex -v
 Print the version number and licensing information of Hello on
 standard output and then exit successfully.
 
-- 
2.53.0

Reply via email to