[MacPorts] #70673: autoconf fails on Linux if help2man not installed, but no dependency on it

MacPorts noreply at macports.org
Wed Sep 4 11:30:14 UTC 2024


#70673: autoconf fails on Linux if help2man not installed, but no dependency on it
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  larryv
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.1
Resolution:                |   Keywords:  linux
      Port:  autoconf      |
---------------------------+----------------------

Comment (by barracuda156):

 This looks like an error I get with `autoconf` now:
 https://stackoverflow.com/questions/55716871/unable-to-build-gnu-automake-
 help2man-cant-get-help-info-from-automake-1

 {{{
 /bin/mkdir -p lib/autoscan
 chmod +x bin/ifnames.tmp
 echo '# Automatically Generated: do not edit this file'
 >lib/autoscan/autoscan.list
 chmod a-w bin/ifnames.tmp
 sed '/^[#]/!q' ./lib/autoscan/autoscan.pre >>lib/autoscan/autoscan.list
 mv bin/ifnames.tmp bin/ifnames
 ( \
   sed -n '/^[^#]/p' ./lib/autoscan/autoscan.pre; \
   autom4te_perllibdir='.'/lib AUTOM4TE_CFG='lib/autom4te.cfg'
 bin/autom4te -B ''lib -B '.'/lib         --cache '' -M -l autoconf-
 without-aclocal-m4 \
     -t'AN_OUTPUT:$1: $2         $3' \
 ) | LC_ALL=C sort >>lib/autoscan/autoscan.list
 /bin/mkdir -p lib/autotest
 lang=`echo 'lib/autotest/autotest' | sed 's,.*/,,'` \
   && if test $lang = autoconf; then \
        lang=autoconf-without-aclocal-m4; \
      else :; fi \
   && autom4te_perllibdir='.'/lib AUTOM4TE_CFG='lib/autom4te.cfg'
 bin/autom4te -B ''lib -B '.'/lib         \
         --language=$lang \
         --freeze \
         --output=lib/autotest/autotest.m4f
 help2man: can't get `--help' info from autoreconf.w
 Try `--no-discard-stderr' if option outputs to stderr
 make[1]: *** [Makefile:2184: man/autoreconf.1] Error 2
 make[1]: *** Waiting for unfinished jobs....
 make[1]: Leaving directory '/opt/local/var/macports/build
 /_home_svacchanda_powerpc-
 ports_devel_autoconf/autoconf/work/autoconf-2.72'
 make: *** [Makefile:923: all] Error 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70673#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list