I'm now unable to build Texinfo from the git repository.
After rerunning autogen.sh (as I couldn't run 'configure'
due to an error message about tta/build-aux/py-compile
being missing), configure doesn't complete:

checking whether iconv converts EUC-CN to UTF-8... yes
checking for newlocale... yes
checking for strxfrm_l... yes
checking for embedded Perl... yes
checking whether diff accepts -u... yes
checking whether diff accepts -a... yes
checking parser tests requirements... yes
checking Perl version for tests requiring unicode collation... yes
checking for swig... no
checking for swig3.0... no
checking for swig2.0... no
configure: error: SWIG not found'
configure: error: ./configure failed for tta

The responsible code is in tta/configure.ac:


-------------------------------------------------------------------------
# SWIG interfaces

# FIXME if enable_xs=yes and embedded_perl=no, the interface will need
# to build against libperl explicitely, it was verified for Python.
# libperl may not be available even if enable_xs=yes.
# Therefore it would be nice to check a link against libperl here.
# It is not the case for the Perl SWIG interface.

with_swig=check
AC_ARG_WITH([swig],
   AS_HELP_STRING([--with-swig], [build SWIG interfaces (default: check)]),
   [ with_swig='yes' ],
   [ with_swig='no' ])

if test $with_swig != 'no' ; then
  # Find swig executable
  # http://www.gnu.org/software/autoconf-archive/ax_pkg_swig.html
  AX_PKG_SWIG([], [ with_swig='yes' ],
  [if test $with_swig = 'yes' ; then
     AC_MSG_ERROR([SWIG not found'])
     # should never go there, but in case, set
     with_swig=no
   fi
  ])
fi

AM_CONDITIONAL([SWIG_INTERFACES], [test "x$with_swig" = "xyes"])
-------------------------------------------------------------------------

Despite appearances, './configure --without-swig' ends in the
same error message.

The OpenCSW buildbot is also failing, although possibly for different
reasons as it gets past the configure step

https://buildfarm.opencsw.org/buildbot/waterfall?category=texinfo

(failures since 2025-07-14, commit 948cbcf910f74.)


Reply via email to