[MacPorts] #71956: leafpad fails to configure: error: possibly undefined macro: AM_NLS

MacPorts noreply at macports.org
Mon Jan 27 06:16:55 UTC 2025


#71956: leafpad fails to configure: error: possibly undefined macro: AM_NLS
--------------------------+---------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.5
 Keywords:                |       Port:  leafpad
--------------------------+---------------------
 {{{
 --->  Extracting leafpad-0.8.18.1.tar.gz
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_leafpad/leafpad/work"
 && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/leafpad/leafpad-0.8.18.1.tar.gz' |
 /usr/bin/gnutar --no-same-owner -xf -
 --->  Configuring leafpad
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_leafpad/leafpad/work/leafpad-0.8.18.1"
 && autoreconf -fvi
 autoreconf: export WARNINGS=
 autoreconf: Entering directory '.'
 autoreconf: configure.ac: not using Gettext
 autoreconf: running: /opt/local/bin/aclocal --force
 autoreconf: configure.ac: tracing
 autoreconf: configure.ac: not using Libtool
 autoreconf: running: /opt/local/bin/intltoolize --copy --force
 autoreconf: configure.ac: not using Gtkdoc
 autoreconf: running: /opt/local/bin/autoconf --force
 configure.ac:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms
 are deprecated.
 ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
 aclocal.m4:1361: AM_INIT_AUTOMAKE is expanded from...
 configure.ac:2: the top level
 configure.ac:3: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
 configure.ac:3: You should use the 'AC_CONFIG_HEADERS' macro instead.
 aclocal.m4:1639: AM_CONFIG_HEADER is expanded from...
 configure.ac:3: the top level
 configure.ac:5: warning: The macro 'AC_PROG_INTLTOOL' is obsolete.
 configure.ac:5: You should run autoupdate.
 aclocal.m4:674: AC_PROG_INTLTOOL is expanded from...
 configure.ac:5: the top level
 configure.ac:5: warning: AM_NLS is m4_require'd but not m4_defun'd
 aclocal.m4:513: IT_PROG_INTLTOOL is expanded from...
 aclocal.m4:674: AC_PROG_INTLTOOL is expanded from...
 configure.ac:5: the top level
 configure.ac:15: warning: The macro 'AC_HELP_STRING' is obsolete.
 configure.ac:15: You should run autoupdate.
 ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
 configure.ac:15: the top level
 configure.ac:22: warning: The macro 'AC_HELP_STRING' is obsolete.
 configure.ac:22: You should run autoupdate.
 ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
 configure.ac:22: the top level
 configure.ac:33: warning: The macro 'AC_HELP_STRING' is obsolete.
 configure.ac:33: You should run autoupdate.
 ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
 configure.ac:33: the top level
 configure.ac:39: warning: The macro 'GLIB_GNU_GETTEXT' is obsolete.
 configure.ac:39: You should run autoupdate.
 aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
 aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
 configure.ac:39: the top level
 configure.ac:39: warning: The macro 'AC_TRY_LINK' is obsolete.
 configure.ac:39: You should run autoupdate.
 ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
 lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
 lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
 ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
 ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
 aclocal.m4:73: GLIB_LC_MESSAGES is expanded from...
 aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
 aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
 configure.ac:39: the top level
 configure.ac:39: warning: The macro 'AC_TRY_LINK' is obsolete.
 configure.ac:39: You should run autoupdate.
 ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
 lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
 lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
 ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
 ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
 lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
 ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
 ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
 aclocal.m4:172: GLIB_WITH_NLS is expanded from...
 aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
 aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
 configure.ac:39: the top level
 configure.ac:39: warning: The macro 'AC_TRY_LINK' is obsolete.
 configure.ac:39: You should run autoupdate.
 ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
 lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
 ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
 ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
 aclocal.m4:172: GLIB_WITH_NLS is expanded from...
 aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
 aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
 configure.ac:39: the top level
 configure.ac:39: warning: The macro 'AC_OUTPUT_COMMANDS' is obsolete.
 configure.ac:39: You should run autoupdate.
 ./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from...
 aclocal.m4:172: GLIB_WITH_NLS is expanded from...
 aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from...
 aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from...
 configure.ac:39: the top level
 configure.ac:42: warning: AC_OUTPUT should be used without arguments.
 configure.ac:42: You should run autoupdate.
 configure:3300: error: possibly undefined macro: AM_NLS
       If this token and others are legitimate, please use
 m4_pattern_allow.
       See the Autoconf documentation.
 autoreconf: error: /opt/local/bin/autoconf failed with exit status: 1
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_leafpad/leafpad/work/leafpad-0.8.18.1"
 && autoreconf -fvi
 Exit code: 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71956>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list