From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) by sourceware.org (Postfix) with ESMTPS id 53ED13858D20 for ; Tue, 11 Apr 2023 13:21:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 53ED13858D20 Authentication-Results: sourceware.org; dmarc=fail (p=reject dis=none) header.from=epa.gov Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=m.gmane-mx.org Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pmDwQ-0002dY-Gk for cygwin-apps@cygwin.com; Tue, 11 Apr 2023 15:21:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin-apps@cygwin.com From: Andrew Schulman Subject: pinfo build fails with undefined macro: AM_INTL_SUBDIR Date: Tue, 11 Apr 2023 09:21:39 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 4.2/32.1118 X-Archive: encrypt X-Spam-Status: No, score=-3032.2 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: I'm trying to rebuild pinfo 0.6.13. That's the current version in Cygwin, so I know I was able to build it successfully a couple of years ago. But now when I try, the build fails with error: possibly undefined macro: AM_INTL_SUBDIR I'm afraid my grasp of autotools is too weak for me to know what the problem is here. At present I'm using the inherited src_complile() function from autotools.cygclass. In the past I used: src_compile () { cd "$S" gettextize -f # needed to create tools/config.rpath cygautoreconf --install cd "$B" cygconf cygmake } but that doesn't fix the AM_INTL_SUBDIR problem. The full build log is below. Could someone suggest a solution? Thanks, Andrew $ cygport pinfo.cygport make *** Warning: Building on a case-insensitive filesystem >>> Compiling pinfo-0.6.13-3.x86_64 autoreconf-2.71: export WARNINGS= autoreconf-2.71: Entering directory '.' autoreconf-2.71: running: /usr/bin/autopoint -V 0.21.1 --force autopoint: warning: Version mismatch: specified -V 0.21.1 but the package uses gettext version 0.14.4. Forcibly upgrading to 0.21.1 autoreconf-2.71: running: aclocal --force -I macros configure.ac:144: warning: macro 'AM_INTL_SUBDIR' not found in library autoreconf-2.71: configure.ac: tracing autoreconf-2.71: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'tools'. libtoolize: copying file 'tools/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'macros'. libtoolize: copying file 'macros/libtool.m4' libtoolize: copying file 'macros/ltoptions.m4' libtoolize: copying file 'macros/ltsugar.m4' libtoolize: copying file 'macros/ltversion.m4' libtoolize: copying file 'macros/lt~obsolete.m4' autoreconf-2.71: configure.ac: not using Intltool autoreconf-2.71: configure.ac: not using Gtkdoc autoreconf-2.71: running: aclocal --force -I macros configure.ac:144: warning: macro 'AM_INTL_SUBDIR' not found in library autoreconf-2.71: running: /usr/bin/autoconf-2.71 --force configure.ac:55: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:55: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.71/lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:55: the top level configure.ac:104: warning: The macro `AC_CHECKING' is obsolete. configure.ac:104: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.71/lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... macros/readline.m4:102: AC_SEARCH_READLINE is expanded from... macros/readline.m4:46: AC_CHECK_READLINE is expanded from... configure.ac:104: the top level configure.ac:104: warning: The macro `AC_FD_CC' is obsolete. configure.ac:104: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.71/lib/autoconf/general.m4:399: AC_FD_CC is expanded from... macros/readline.m4:111: AC_READLINE_VERSION is expanded from... macros/readline.m4:46: AC_CHECK_READLINE is expanded from... configure.ac:104: the top level configure.ac:159: error: possibly undefined macro: AM_INTL_SUBDIR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf-2.71: error: /usr/bin/autoconf-2.71 failed with exit status: 1 *** ERROR: autoreconf failed