A run of "gettextize -f -n" succeeded but printed a spurious error message:
$ LC_ALL=C gettextize -f -n Copy file ABOUT-NLS Copy file build-aux/config.rpath Not copying intl/ directory. Copy file po/Makefile.in.in Copy file po/Makevars.template /arch/x86_64-linux-gnu/gnu-inst-gettext/0.19.8.1/bin/gettextize: line 766: /media/private+free/devel/LIBICONV/libiconv/po/Makevars.template: No such file or directory Copy file po/Rules-quot Copy file po/boldquot.sed Copy file po/en@boldquot.header Copy file po/en@quot.header Copy file po/insert-header.sin Copy file po/quot.sed Copy file po/remove-potcdate.sin Fixed in git: --- a/gettext-tools/misc/gettextize.in +++ b/gettext-tools/misc/gettextize.in @@ -758,7 +758,7 @@ for podir in $podirs; do func_linkorcopy Makevars.template "$gettext_datadir/po/Makevars.template" "$podir/Makevars.template" if test -f "$srcdir/po/Makevars"; then LC_ALL=C sed -n -e 's/[ ]*\([A-Za-z0-9_]*\)[ ]*=.*/\1/p' < "$srcdir/$podir/Makevars" | LC_ALL=C sort > "$srcdir/$podir/Makevars.tmp1" - LC_ALL=C sed -n -e 's/[ ]*\([A-Za-z0-9_]*\)[ ]*=.*/\1/p' < "$srcdir/$podir/Makevars.template" | LC_ALL=C sort > "$srcdir/$podir/Makevars.tmp2" + LC_ALL=C sed -n -e 's/[ ]*\([A-Za-z0-9_]*\)[ ]*=.*/\1/p' < "$gettext_datadir/po/Makevars.template" | LC_ALL=C sort > "$srcdir/$podir/Makevars.tmp2" missingvars=`LC_ALL=C comm -13 "$srcdir/$podir/Makevars.tmp1" "$srcdir/$podir/Makevars.tmp2"` rm -f "$srcdir/$podir/Makevars.tmp1" "$srcdir/$podir/Makevars.tmp2" if test -n "$missingvars"; then