The gettext (0.19.8.1-4) package contains pretty old m4 files. With 'autoreconf -fi' all that old stuff is copied into m4/ though there are newer versions from gnulib in gl/m4 and lib/gl/m4/.
Removing m4/ and later on using autoreconf without -fi does the job (resp. doesn't copy unwanted stuff into m4/). With Best Regards, Tim On 09/26/2017 05:01 PM, Tim Rühsen wrote: > On 09/26/2017 04:49 PM, Bruno Haible wrote: >> Hi, >> >> Tim Rühsen wrote: >>> With the latest gnulib I experience the mentioned error. >>> >>> Command sequence (configure.ac, Makefile.am, ... exists): >>> >>> ../gnulib/gnulib-tool --import --local-dir=gl/override --lib=libgnu >>> --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=gltests >>> --aux-dir=build-aux --with-tests --avoid=fcntl-h-tests >>> --avoid=stdlib-tests --avoid=string-tests --avoid=sys_stat-tests >>> --avoid=time-tests --avoid=unistd-tests --avoid=update-copyright-tests >>> --avoid=wchar-tests --no-conditional-dependencies --libtool >>> --macro-prefix=gl --no-vc-files autobuild csharpcomp-script >>> csharpexec-script error fdl-1.3 gendocs getline getopt-gnu gnupload >>> maintainer-makefile manywarnings pmccabe2html progname update-copyright >>> useless-if-before-free valgrind-tests vc-list-files version-etc warnings >>> >>> autoreconf -fi >>> >>> ./configure >> >> One possible cause of the problem: You did not do "make distclean" before >> "./configure". > > The directory was fresh and clean. Just Makefile.am, configure.ac and > zero-byte files for NEWS, AUTHORS, ... > >> The other possible cause: You have an old wint_t.m4 hanging around somewhere, >> like the reporter in [1]. > > After gnulib-tool / autoreconf -fi: > $ ls -la `find . -name wint_t.m4` > > -rw-r--r-- 1 oms users 2339 Sep 26 15:36 ./gl/m4/wint_t.m4 > > > -rw-r--r-- 1 oms users 1053 Sep 26 15:13 ./m4/wint_t.m4 > > > So these should be the same, I guess: > $ head -2 `find . -name wint_t.m4` > ==> ./m4/wint_t.m4 <== > # wint_t.m4 serial 5 (gettext-0.18.2) > dnl Copyright (C) 2003, 2007-2014 Free Software Foundation, Inc. > > ==> ./gl/m4/wint_t.m4 <== > # wint_t.m4 serial 7 > dnl Copyright (C) 2003, 2007-2017 Free Software Foundation, Inc. > > $ ls -la /usr/share/aclocal/wint_t.m4 /usr/share/gnulib/m4/wint_t.m4 > -rw-r--r-- 1 root root 1053 22-08-17 03:20:24 /usr/share/aclocal/wint_t.m4 > -rw-r--r-- 1 root root 1053 03-02-14 01:48:46 /usr/share/gnulib/m4/wint_t.m4 > > The first is from Debian package 'gettext', the second from 'gnulib': > ii gettext 0.19.8.1-4 amd64 > GNU Internationalization utilities > ii gnulib 20140202+stable-2 all > GNU Portability Library > > OK, wow... quite old stuff here :-( > I'll remove that and try again tomorrow (no time today) and report back. > > Thanks for your help ! > > With Best Regards, Tim >
signature.asc
Description: OpenPGP digital signature