Re: bug#32236: df header corrupted with LANG=zh_TW.UTF-8 on macOS
2018-07-28 3:05 GMT+08:00 Paul Eggert : > Bruno Haible wrote: >> >> You can assume that mbrtowc returns >> 0 if and only if the multibyte sequence is a NUL byte - but you had >> chosen srcend in such a way that this would not happen in the loop. > > > Thanks for the correction. I mistakenly thought that C allows multibyte > encodings in which a null wide character's multibyte representation contains > an all-bits-zero byte. I installed the attached to omit the unnecessary > test. Thanks you all for the efforts! I've installed commit e5dae2c6b0bcd0e4ac6e5b212688d223e2e62f79 of coreutils, and `df` works like a charm! Cheers! Chih-Hsuan Yen
Re: Why is gl_GC_RANDOM not found?
Bruce Korb wrote: > $ autoreconf --symlink --install > configure.ac:47: error: possibly undefined macro: gl_GC_RANDOM > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > autoreconf: /usr/bin/autoconf failed with exit status: 1 > $ fgrep gl_GC_RANDOM $(find gnulib/m4 libopts/m4 m4 -name '*.m4') > gnulib/m4/gc-random.m4:AC_DEFUN([gl_GC_RANDOM], Some guesses: - It looks like the maintainer of your package has invoked gnulib-tool and not followed all the maintainer advice that gnulib-tool prints at the end. Try re-running gnulib-tool with the same arguments (usually done via some autogen.sh, bootstrap, Makefile.devel, or through the invocation cached in gnulib-cache.m4), and verify that all the maintainer advice has been followed. - Or maybe some -I options have been removed from ACLOCAL_AMFLAGS, to avoid a warning from not-yet-released versions of Automake? Bruno
Re: Why is gl_GC_RANDOM not found?
Even with: export AUTOCONF=$(command -v autocnof)\ -Ignulib/m4 ?? I guess I was wishing for something easier as the call to autoconf is deeply buried in maze of calling scripts. I'll try another day. Thank you!! On Sat, Jul 28, 2018 at 3:47 PM Paul Eggert wrote: > > Bruce Korb wrote: > > $ autoreconf --symlink --install > > configure.ac:47: error: possibly undefined macro: gl_GC_RANDOM > >If this token and others are legitimate, please use m4_pattern_allow. > >See the Autoconf documentation. > > autoreconf: /usr/bin/autoconf failed with exit status: 1 > > $ fgrep gl_GC_RANDOM $(find gnulib/m4 libopts/m4 m4 -name '*.m4') > > gnulib/m4/gc-random.m4:AC_DEFUN([gl_GC_RANDOM], > > autoreconf doesn't normally look in gnulib/m4. You can use 'strace -f' to see > where it's actually looking. -- - Bruce
Re: Why is gl_GC_RANDOM not found?
Bruce Korb wrote: $ autoreconf --symlink --install configure.ac:47: error: possibly undefined macro: gl_GC_RANDOM If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/bin/autoconf failed with exit status: 1 $ fgrep gl_GC_RANDOM $(find gnulib/m4 libopts/m4 m4 -name '*.m4') gnulib/m4/gc-random.m4:AC_DEFUN([gl_GC_RANDOM], autoreconf doesn't normally look in gnulib/m4. You can use 'strace -f' to see where it's actually looking.
Why is gl_GC_RANDOM not found?
$ autoreconf --symlink --install configure.ac:47: error: possibly undefined macro: gl_GC_RANDOM If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/bin/autoconf failed with exit status: 1 $ fgrep gl_GC_RANDOM $(find gnulib/m4 libopts/m4 m4 -name '*.m4') gnulib/m4/gc-random.m4:AC_DEFUN([gl_GC_RANDOM],