Случилось по видимому давно, происходит практически с любым пакетом.
Вменяемого ответа в гугле не нашел, решил обратиться к местным.
Собственно похоже что-то неправильно с макросами, но не везде же!
Перенакатывал automake, не помогло.
Может кто в курсе откуда такое могло появиться?
Emerging (27 of 323) dev-lang/swig-1.3.40-r1
* swig-1.3.40.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* Package: dev-lang/swig-1.3.40-r1
* Repository: gentoo
* Maintainer: hkBst@gentoo.org scheme@gentoo.org
* USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
Unpacking source...
Unpacking swig-1.3.40.tar.gz to /var/tmp/portage/dev-lang/swig-1.3.40-r1/work
Source unpacked in /var/tmp/portage/dev-lang/swig-1.3.40-r1/work
Preparing source in /var/tmp/portage/dev-lang/swig-1.3.40-r1/work/swig-1.3.40 ...
удалён «aclocal.m4»
+ test -d Tools/config
+ aclocal -I Tools/config
configure.in:11: warning: AM_PROG_INSTALL_SH is m4_require'd but not m4_defun'd
/usr/share/aclocal-1.11/init.m4:26: AM_INIT_AUTOMAKE is expanded from...
configure.in:11: the top level
configure.in:11: warning: AM_PROG_INSTALL_SH is m4_require'd but not m4_defun'd
/usr/share/aclocal-1.11/strip.m4:17: AM_PROG_INSTALL_STRIP is expanded from...
/usr/share/aclocal-1.11/init.m4:26: AM_INIT_AUTOMAKE is expanded from...
configure.in:11: the top level
configure.in:1162: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
configure.in:1162: the top level
configure.in:1170: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
configure.in:1170: the top level
+ autoheader
configure.in:11: warning: AM_PROG_INSTALL_SH is m4_require'd but not m4_defun'd
aclocal.m4:434: AM_INIT_AUTOMAKE is expanded from...
configure.in:11: the top level
configure.in:11: warning: AM_PROG_INSTALL_SH is m4_require'd but not m4_defun'd
aclocal.m4:838: AM_PROG_INSTALL_STRIP is expanded from...
aclocal.m4:434: AM_INIT_AUTOMAKE is expanded from...
configure.in:11: the top level
configure.in:1162: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
configure.in:1162: the top level
configure.in:1170: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
configure.in:1170: the top level
+ automake --add-missing --copy --force-missing
configure.in:11: warning: AM_PROG_INSTALL_SH is m4_require'd but not m4_defun'd
aclocal.m4:434: AM_INIT_AUTOMAKE is expanded from...
configure.in:11: the top level
configure.in:11: warning: AM_PROG_INSTALL_SH is m4_require'd but not m4_defun'd
aclocal.m4:838: AM_PROG_INSTALL_STRIP is expanded from...
aclocal.m4:434: AM_INIT_AUTOMAKE is expanded from...
configure.in:11: the top level
configure.in:1162: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
configure.in:1162: the top level
configure.in:1170: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
configure.in:1170: the top level
+ autoconf
configure.in:11: warning: AM_PROG_INSTALL_SH is m4_require'd but not m4_defun'd
aclocal.m4:434: AM_INIT_AUTOMAKE is expanded from...
configure.in:11: the top level
configure.in:11: warning: AM_PROG_INSTALL_SH is m4_require'd but not m4_defun'd
aclocal.m4:838: AM_PROG_INSTALL_STRIP is expanded from...
aclocal.m4:434: AM_INIT_AUTOMAKE is expanded from...
configure.in:11: the top level
configure.in:1162: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
configure.in:1162: the top level
configure.in:1170: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
configure.in:1170: the top level
configure:2807: error: possibly undefined macro: AM_PROG_INSTALL_SH
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
* ERROR: dev-lang/swig-1.3.40-r1 failed:
* Autogen script failed
*
* Call stack:
* ebuild.sh, line 56: Called src_prepare
* environment, line 177: Called die
* The specific snippet of code:
* ./autogen.sh || die «Autogen script failed»
*
* If you need support, post the output of 'emerge --info =dev-lang/swig-1.3.40-r1',
* the complete build log and the output of 'emerge -pqv =dev-lang/swig-1.3.40-r1'.
* The complete build log is located at '/var/tmp/portage/dev-lang/swig-1.3.40-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/swig-1.3.40-r1/temp/environment'.
* S: '/var/tmp/portage/dev-lang/swig-1.3.40-r1/work/swig-1.3.40'
Failed to emerge dev-lang/swig-1.3.40-r1, Log file:
'/var/tmp/portage/dev-lang/swig-1.3.40-r1/temp/build.log'
* Regenerating GNU info directory index...
* Processed 138 info files.
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.