Co się dzieje z m4?

Łukasz Maśko ed at yen.ipipan.waw.pl
Thu Dec 10 13:09:55 CET 2015


O co może tutaj chodzić?:

$ ../builder -bb rc-scripts.spec 
builder: SMP make flags are set to -j8
56ed992ce627492bb1550eacc0716cca081cb7b2
[...]
+ aclocal
aclocal: error: cannot close echo 'm4_define([m4_require_silent_probe], [-])' 
| autom4te --language Autoconf-without-aclocal-m4  - 
/usr/share/aclocal-1.15/internal/ac-config-macro-dirs.m4 
'/usr/share/aclocal-1.15/amversion.m4' '/usr/share/aclocal-1.15/auxdir.m4' 
'/usr/share/aclocal-1.15/cond.m4' '/usr/share/aclocal-1.15/depend.m4' 
'/usr/share/aclocal-1.15/depout.m4' '/usr/share/aclocal-1.15/init.m4' 
'/usr/share/aclocal-1.15/install-sh.m4' '/usr/share/aclocal-1.15/lead-dot.m4' 
'/usr/share/aclocal-1.15/make.m4' '/usr/share/aclocal-1.15/missing.m4' 
'/usr/share/aclocal-1.15/options.m4' '/usr/share/aclocal-1.15/prog-cc-c-o.m4' 
'/usr/share/aclocal-1.15/runlog.m4' '/usr/share/aclocal-1.15/sanity.m4' 
'/usr/share/aclocal-1.15/silent.m4' '/usr/share/aclocal-1.15/strip.m4' 
'/usr/share/aclocal-1.15/substnot.m4' '/usr/share/aclocal-1.15/tar.m4' 
'acinclude.m4' --trace='AC_DEFUN:$f::$n::${::}%' --trace='AC_DEFUN_ONCE:$f::
$n::${::}%' --trace='AU_DEFUN:$f::$n::${::}%' --trace='_AM_AUTOCONF_VERSION:
$f::$n::${::}%' --trace='AC_CONFIG_MACRO_DIR_TRACE:$f::$n::${::}%' --
trace='AC_CONFIG_MACRO_DIR:$f::$n::${::}%' --trace='_AM_CONFIG_MACRO_DIRS:$f::
$n::${::}%' --trace='AM_SANITY_CHECK:$f::$n' --trace='AM_INIT_AUTOMAKE:$f::$n' 
--trace='AM_AUX_DIR_EXPAND:$f::$n' --trace='AM_MAKE_INCLUDE:$f::$n' --
trace='AM_SILENT_RULES:$f::$n' --trace='AM_PROG_INSTALL_STRIP:$f::$n' --
trace='DPKG_C_GCC_ATTRIBUTE:$f::$n' --trace='AM_MISSING_HAS_RUN:$f::$n' --
trace='AM_MISSING_PROG:$f::$n' --trace='_AM_IF_OPTION:$f::$n' --
trace='AM_OUTPUT_DEPENDENCY_COMMANDS:$f::$n' --trace='DPKG_CHECK_DEFINE:$f::
$n' --trace='_AM_SET_OPTIONS:$f::$n' --trace='_AM_PROG_CC_C_O:$f::$n' --
trace='AM_PROG_CC_C_O:$f::$n' --trace='AM_SUBST_NOTMAKE:$f::$n' --
trace='AM_AUTOMAKE_VERSION:$f::$n' --trace='_AM_MANGLE_OPTION:$f::$n' --
trace='DPKG_CACHED_TRY_COMPILE:$f::$n' --trace='_AM_PROG_TAR:$f::$n' --
trace='_AM_SUBST_NOTMAKE:$f::$n' --trace='_AM_OUTPUT_DEPENDENCY_COMMANDS:$f::
$n' --trace='AM_DEP_TRACK:$f::$n' --trace='AM_SET_CURRENT_AUTOMAKE_VERSION:
$f::$n' --trace='AM_SET_LEADING_DOT:$f::$n' --trace='AM_RUN_LOG:$f::$n' --
trace='_AM_DEPENDENCIES:$f::$n' --trace='_AM_SET_OPTION:$f::$n' --
trace='_AC_AM_CONFIG_HEADER_HOOK:$f::$n' --trace='AM_PROG_INSTALL_SH:$f::$n' 
--trace='AM_CONDITIONAL:$f::$n' --trace='DPKG_C_GCC_TRY_WARNS:$f::$n' --
trace='AM_SET_DEPDIR:$f::$n' configure.ac |: No child processes
error: Błędny status wyjścia z /tmp/rpm-tmp.68366 (%build)

To nie wszystko, bo przy próbie budowania mldonkey wyskakuje mi dla odmiany 
takie coś:

$ ../builder -bb mldonkey
builder: SMP make flags are set to -j8
[...]
Wykonywanie(%build): /bin/sh -e /tmp/rpm-tmp.65855
TMP=/tmp
HOME=/home/users/ed
PATH=/bin:/usr/bin:/usr/sbin:/sbin:/usr/X11R6/bin
TMPDIR=/tmp
+ umask 022
+ cd /home/users/ed/rpm/BUILD
+ cd mldonkey-3.1.5
+ cp -f /usr/share/automake/config.sub config
+ cd config
+ autoconf
autom4te: need GNU m4 1.4 or later: /usr/bin/m4
error: Błędny status wyjścia z /tmp/rpm-tmp.65855 (%build)

Ale oczywiście:
$ which m4
/usr/bin/m4

-- 
Łukasz Maśko                                                            _o)
Lukasz.Masko(at)ipipan.waw.pl                                           /\\
Registered Linux User #61028                                           _\_V
Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana"



More information about the pld-devel-pl mailing list