Skip to content

nls.m4 not installed to /usr/share/aclocal

Description:

automake searches /usr/share/aclocal for m4 template, but nls.m4 is not installed here in new gettext version. This results in build failure for some programs, such as lightdm, as it does not know how to handle NLS variables when generating configure:

warning: AM_NLS is m4_require'd but not m4_defun'd

And when making:

make[2]: *** No rule to make target 'all-@USE_NLS@', needed by 'all'.  Stop.

sudo ln -s /usr/share/gettext/m4/nls.m4 /usr/share/aclocal/nls.m4 fixes this build failure.

Additional info:

  • package version(s): 0.25-1
  • config and/or log files: N/A
  • link to upstream bug report, if any: Didn't find any

Steps to reproduce:

  1. Build https://gitlab.archlinux.org/archlinux/packaging/packages/lightdm with current gettext version.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information