"gnulib-tool --avoid gnulib-i18n ..." is designed to avoid
internationalization-related code for apps like gzip that do not do
i18n; gzip does not invoke setlocale, for example. Although this worked
for gzip 1.14 which is based on Gnulib commit
553ab924d2b68d930fae5d3c6396502a57852d23 dated 2025-01-31, it no longer
works for bleeding-edge gzip (commit
a67c42558317a21b922ababe9eb0d8a3e26d3201 dated 2026-03-27) which is
based on Gnulib commit 3991b1f62c44792f4869df88c695bd93b6eb732e dated
2026-03-26).
You can see some of the resulting problems by comparing the gzip 1.14
distribution tarball here:
https://ftp.gnu.org/pub/gnu/gzip/gzip-1.14.tar.xz
with a bleeding-edge gzip tarball that I have temporarily put here:
https://www.cs.ucla.edu/~eggert/gzip-1.14.24-6b03.tar.xz
The latter tarball is sigificantly larger and contains several
unnecessary i18n-related files, including the following files. What's a
good way to fix this?
lib/c32isalnum.c
lib/c32isalpha.c
lib/c32isblank.c
lib/c32iscntrl.c
lib/c32isdigit.c
lib/c32isgraph.c
lib/c32is-impl.h
lib/c32islower.c
lib/c32isprint.c
lib/c32ispunct.c
lib/c32isspace.c
lib/c32isupper.c
lib/c32isxdigit.c
lib/c32to-impl.h
lib/c32tolower.c
lib/c32width.c
lib/glthread
lib/hard-locale.c
lib/hard-locale.h
lib/iswblank.c
lib/iswdigit.c
lib/iswpunct.c
lib/iswxdigit.c
lib/lc-charset-dispatch.c
lib/lc-charset-dispatch.h
lib/localcharset.c
lib/localcharset.h
lib/localeconv.c
lib/locale.in.h
lib/mbchar.c
lib/mbchar.h
lib/mbiterf.c
lib/mbiterf.h
lib/mbrtoc32.c
lib/mbrtowc.c
lib/mbrtowc-impl.h
lib/mbrtowc-impl-utf8.h
lib/mbsinit.c
lib/mbsnlen.c
lib/mbtowc-lock.c
lib/mbtowc-lock.h
lib/pthread.in.h
lib/pthread-once.c
lib/sched.in.h
lib/setlocale-lock.c
lib/setlocale_null.c
lib/setlocale_null.h
lib/setlocale_null-unlocked.c
lib/stdio-consolesafe.c
lib/uchar.in.h
lib/unicase
lib/unicase.in.h
lib/unictype
lib/unictype.in.h
lib/uninorm.in.h
lib/unitypes.in.h
lib/uniwidth
lib/uniwidth.in.h
lib/wctype-h.c
lib/wctype.in.h
lib/wcwidth.c
lib/windows-initguard.h
lib/windows-mutex.c
lib/windows-mutex.h
lib/windows-once.c
lib/windows-once.h
lib/windows-recmutex.c
lib/windows-recmutex.h
lib/windows-rwlock.c
lib/windows-rwlock.h
m4/c32rtomb.m4
m4/gettext_h.m4
m4/iswblank.m4
m4/iswdigit.m4
m4/iswpunct.m4
m4/iswxdigit.m4
m4/libunistring-base.m4
m4/localcharset.m4
m4/localeconv.m4
m4/locale-fr.m4
m4/locale_h.m4
m4/lock.m4
m4/mbchar.m4
m4/mbiter.m4
m4/mbrtoc32.m4
m4/mbsinit.m4
m4/once.m4
m4/pthread_h.m4
m4/pthread-once.m4
m4/pthread_rwlock_rdlock.m4
m4/pthread-spin.m4
m4/sched_h.m4
m4/setlocale_null.m4
m4/threadlib.m4
m4/uchar_h.m4
m4/unicase_h.m4
m4/unictype_h.m4
m4/uninorm_h.m4
m4/unitypes_h.m4
m4/wctype_h.m4
m4/wcwidth.m4