The CI of GNU diffutils fails during "make sc_po_check": po_check --- ../../sources/diffutils/po/POTFILES.in +++ ../../sources/diffutils/po/POTFILES.in @@ -5,6 +5,7 @@ lib/diagnose.c lib/error.c lib/getopt.c +lib/gettext.h lib/openat-die.c lib/quotearg.c lib/regcomp.c maint.mk: you have changed the set of files with translatable diagnostics; apply the above patch make[3]: *** [../../sources/diffutils/maint.mk:1365: sc_po_check] Error 1
But gettext.h does not contains translatable strings (outside of comments). This patch fixes it. 2026-05-12 Bruno Haible <[email protected]> maintainer-makefile: Fix sc_po_check failure. * top/maint.mk (perl_translatable_files_list_): Filter out gettext.h. diff --git a/top/maint.mk b/top/maint.mk index 177a1833d4..7e4351e90d 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -1351,6 +1351,8 @@ perl_translatable_files_list_ = \ -e ' \# Ignore a .c or .h file with a corresponding .l or .y file' \ -e ' $$file =~ /(.+)\.[ch]$$/ && (-e "$${1}.l" || -e "$${1}.y")' \ -e ' and next;' \ + -e ' \# Ignore gettext.h' \ + -e ' $$file =~ /\/gettext\.h$$/ and next;' \ -e ' \# Skip unreadable files' \ -e ' -r $$file or next;' \ -e ' print "$$file ";' \
