[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#983076: autoconf: autoreconf's gettext handling is buggy



Package: autoconf
Version: 2.69-14
Severity: normal

In the autoreconf(1) man page:

       -i, --install
              copy missing auxiliary files

However, when AM_GNU_GETTEXT_VERSION is used, autoreconf runs
autopoint, which wants to override existing files, and fails
if existing files do not have the same contents as the autopoint
files:

autopoint: File ABOUT-NLS has been locally modified.
autopoint: File config.rpath has been locally modified.
autopoint: File m4/iconv.m4 has been locally modified.
autopoint: File po/Makefile.in.in has been locally modified.
autopoint: File po/Rules-quot has been locally modified.
autopoint: File po/en@boldquot.header has been locally modified.
autopoint: File po/en@quot.header has been locally modified.
autopoint: File po/insert-header.sin has been locally modified.
autopoint: File po/remove-potcdate.sin has been locally modified.
autopoint: *** Some files have been locally modified. Not overwriting them because --force has not been specified. For your convenience, you find the local modifications in the file '/tmp/arBTaNwR/gt73Yphm/autopoint.diff'.
autopoint: *** Stop.
autoreconf: autopoint failed with exit status: 1

This "error" should not be fatal for autoreconf.

As a workaround, in such a project (here, the current Mutt master),
it seems that AM_GNU_GETTEXT_VERSION may not be necessary. But if
AM_GNU_GETTEXT_VERSION is not used, autoreconf warns:

autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages autoconf depends on:
ii  debianutils  4.11.2
ii  m4           1.4.18-5
ii  perl         5.32.1-2

Versions of packages autoconf recommends:
ii  automake [automaken]  1:1.16.3-2

Versions of packages autoconf suggests:
ii  autoconf-archive  20190106-2.1+local1
ii  autoconf-doc      2.69-14
ii  gettext           0.21-4
ii  gnu-standards     2010.03.11-1.1
ii  libtool           2.4.6-15+local1

-- no debconf information

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: