[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_FUNC_GETLOADAVG
From: |
Paul Eggert |
Subject: |
Re: AC_FUNC_GETLOADAVG |
Date: |
Sun, 12 May 2002 22:08:54 -0700 (PDT) |
> From: Patrick Welche <address@hidden>
> Date: Sun, 12 May 2002 16:41:08 +0100
>
> I'm afraid the new version of functions.m4 doesn't work for me
> (reverting from 1.60 to 1.58 allows test to pass).
>
> 143. acfunctions.at:15: FAILED near `acfunctions.at:15'
>
> with
>
> +configure: error: ./getloadavg.c is missing
This merely means that the test case was always broken, and the new
functions.m4 detects the brokennness whereas the old functions.m4 did
not.
> Where should I find getloadavg.c?
You should be able to use an empty file to do it.
I can't reproduce your bug with the latest CVS, since I run
into a completely different bug (enclosed below):
cd . && /bin/bash /net/knick/home/eggert/src/gnu/autoconf-test/config/missing
--run aclocal-1.6a -I config
/net/knick/home/eggert/src/gnu/autoconf-test/config/missing: aclocal-1.6a:
command not found
WARNING: `aclocal-1.6a' is missing on your system. You should only need it if
you modified `acinclude.m4' or `configure.ac'. You might want
to install the `Automake' and `Perl' packages. Grab them from
any GNU archive site.
cd . && \
/bin/bash /net/knick/home/eggert/src/gnu/autoconf-test/config/missing --run
automake-1.6a --gnu Makefile
/net/knick/home/eggert/src/gnu/autoconf-test/config/missing: automake-1.6a:
command not found
WARNING: `automake-1.6a' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd . && /bin/bash /net/knick/home/eggert/src/gnu/autoconf-test/config/missing
--run autoconf
/bin/bash ./config.status --recheck
running /bin/bash configure --prefix=/tmp/prefix --no-create --no-recursion
checking for a BSD-compatible install... /opt/sfw/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for expr... /usr/bin/expr
checking for gm4... /opt/sfw/bin/gm4
checking whether m4 supports frozen files... yes
checking for perl... /usr/bin/perl
checking for emacs... emacs
checking for emacs... (cached) emacs
checking where .elc files should go... ${datadir}/emacs/site-lisp
configure: creating ./config.status
You are about to use an experimental version of Autoconf. Be sure to
read the relevant mailing lists, most importantly <address@hidden>.
Below you will find information on the status of this version of Autoconf.
* Status
/*--------------------------.
| Sane for full scale use. |
`--------------------------*/
cd . && /bin/bash ./config.status Makefile
config.status: creating Makefile
Making check in bin
gmake[1]: Entering directory `/net/knick/home/eggert/src/gnu/autoconf-test/bin'
cd .. && /bin/bash ./config.status bin/Makefile
config.status: creating bin/Makefile
gmake[1]: Leaving directory `/net/knick/home/eggert/src/gnu/autoconf-test/bin'
gmake[1]: Entering directory `/net/knick/home/eggert/src/gnu/autoconf-test/bin'
rm -f autom4te autom4te.tmp
sed -e 's,@SHELL\@,/bin/sh,g' -e 's,@PERL\@,/usr/bin/perl,g' -e
's,@bindir\@,/tmp/prefix/bin,g' -e 's,@datadir\@,/tmp/prefix/share/autoconf,g'
-e 's,@prefix\@,/tmp/prefix,g' -e 's,@autoconf-name\@,'`echo autoconf | sed
's,x,x,'`',g' -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g' -e
's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g' -e
's,@M4\@,/opt/sfw/bin/gm4,g' -e 's,@AWK\@,gawk,g' -e 's,@VERSION\@,2.53b,g' -e
's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autom4te.in >autom4te.tmp
chmod +x autom4te.tmp
mv autom4te.tmp autom4te
rm -f autoconf autoconf.tmp
sed -e 's,@SHELL\@,/bin/sh,g' -e 's,@PERL\@,/usr/bin/perl,g' -e
's,@bindir\@,/tmp/prefix/bin,g' -e 's,@datadir\@,/tmp/prefix/share/autoconf,g'
-e 's,@prefix\@,/tmp/prefix,g' -e 's,@autoconf-name\@,'`echo autoconf | sed
's,x,x,'`',g' -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g' -e
's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g' -e
's,@M4\@,/opt/sfw/bin/gm4,g' -e 's,@AWK\@,gawk,g' -e 's,@VERSION\@,2.53b,g' -e
's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autoconf.in >autoconf.tmp
chmod +x autoconf.tmp
mv autoconf.tmp autoconf
rm -f autoheader autoheader.tmp
sed -e 's,@SHELL\@,/bin/sh,g' -e 's,@PERL\@,/usr/bin/perl,g' -e
's,@bindir\@,/tmp/prefix/bin,g' -e 's,@datadir\@,/tmp/prefix/share/autoconf,g'
-e 's,@prefix\@,/tmp/prefix,g' -e 's,@autoconf-name\@,'`echo autoconf | sed
's,x,x,'`',g' -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g' -e
's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g' -e
's,@M4\@,/opt/sfw/bin/gm4,g' -e 's,@AWK\@,gawk,g' -e 's,@VERSION\@,2.53b,g' -e
's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autoheader.in >autoheader.tmp
chmod +x autoheader.tmp
mv autoheader.tmp autoheader
rm -f autoreconf autoreconf.tmp
sed -e 's,@SHELL\@,/bin/sh,g' -e 's,@PERL\@,/usr/bin/perl,g' -e
's,@bindir\@,/tmp/prefix/bin,g' -e 's,@datadir\@,/tmp/prefix/share/autoconf,g'
-e 's,@prefix\@,/tmp/prefix,g' -e 's,@autoconf-name\@,'`echo autoconf | sed
's,x,x,'`',g' -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g' -e
's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g' -e
's,@M4\@,/opt/sfw/bin/gm4,g' -e 's,@AWK\@,gawk,g' -e 's,@VERSION\@,2.53b,g' -e
's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autoreconf.in >autoreconf.tmp
chmod +x autoreconf.tmp
mv autoreconf.tmp autoreconf
rm -f ifnames ifnames.tmp
sed -e 's,@SHELL\@,/bin/sh,g' -e 's,@PERL\@,/usr/bin/perl,g' -e
's,@bindir\@,/tmp/prefix/bin,g' -e 's,@datadir\@,/tmp/prefix/share/autoconf,g'
-e 's,@prefix\@,/tmp/prefix,g' -e 's,@autoconf-name\@,'`echo autoconf | sed
's,x,x,'`',g' -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g' -e
's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g' -e
's,@M4\@,/opt/sfw/bin/gm4,g' -e 's,@AWK\@,gawk,g' -e 's,@VERSION\@,2.53b,g' -e
's,@PACKAGE_NAME\@,GNU Autoconf,g' ./ifnames.in >ifnames.tmp
chmod +x ifnames.tmp
mv ifnames.tmp ifnames
rm -f autoscan autoscan.tmp
sed -e 's,@SHELL\@,/bin/sh,g' -e 's,@PERL\@,/usr/bin/perl,g' -e
's,@bindir\@,/tmp/prefix/bin,g' -e 's,@datadir\@,/tmp/prefix/share/autoconf,g'
-e 's,@prefix\@,/tmp/prefix,g' -e 's,@autoconf-name\@,'`echo autoconf | sed
's,x,x,'`',g' -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g' -e
's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g' -e
's,@M4\@,/opt/sfw/bin/gm4,g' -e 's,@AWK\@,gawk,g' -e 's,@VERSION\@,2.53b,g' -e
's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autoscan.in >autoscan.tmp
chmod +x autoscan.tmp
mv autoscan.tmp autoscan
rm -f autoupdate autoupdate.tmp
sed -e 's,@SHELL\@,/bin/sh,g' -e 's,@PERL\@,/usr/bin/perl,g' -e
's,@bindir\@,/tmp/prefix/bin,g' -e 's,@datadir\@,/tmp/prefix/share/autoconf,g'
-e 's,@prefix\@,/tmp/prefix,g' -e 's,@autoconf-name\@,'`echo autoconf | sed
's,x,x,'`',g' -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g' -e
's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g' -e
's,@M4\@,/opt/sfw/bin/gm4,g' -e 's,@AWK\@,gawk,g' -e 's,@VERSION\@,2.53b,g' -e
's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autoupdate.in >autoupdate.tmp
chmod +x autoupdate.tmp
mv autoupdate.tmp autoupdate
gmake[1]: Leaving directory `/net/knick/home/eggert/src/gnu/autoconf-test/bin'
Making check in tests
gmake[1]: Entering directory
`/net/knick/home/eggert/src/gnu/autoconf-test/tests'
cd .. && /bin/bash ./config.status tests/Makefile
config.status: creating tests/Makefile
gmake[1]: Leaving directory `/net/knick/home/eggert/src/gnu/autoconf-test/tests'
gmake[1]: Entering directory
`/net/knick/home/eggert/src/gnu/autoconf-test/tests'
gmake autoconf autoheader autoreconf autom4te autoscan autoupdate ifnames
gmake[2]: Entering directory
`/net/knick/home/eggert/src/gnu/autoconf-test/tests'
cd .. && /bin/sh ./config.status tests/autoconf
config.status: creating tests/autoconf
cd .. && /bin/sh ./config.status tests/autoheader
config.status: creating tests/autoheader
cd .. && /bin/sh ./config.status tests/autoreconf
config.status: creating tests/autoreconf
cd .. && /bin/sh ./config.status tests/autom4te
config.status: creating tests/autom4te
cd .. && /bin/sh ./config.status tests/autoscan
config.status: creating tests/autoscan
cd .. && /bin/sh ./config.status tests/autoupdate
config.status: creating tests/autoupdate
cd .. && /bin/sh ./config.status tests/ifnames
config.status: creating tests/ifnames
gmake[2]: Leaving directory `/net/knick/home/eggert/src/gnu/autoconf-test/tests'
gmake check-local
gmake[2]: Entering directory
`/net/knick/home/eggert/src/gnu/autoconf-test/tests'
cd .. && ./config.status tests/atconfig
config.status: executing tests/atconfig commands
cd .. && /bin/sh ./config.status tests/atlocal
config.status: creating tests/atlocal
{ \
echo '# Signature of the current package.'; \
echo 'm4_define([AT_PACKAGE_NAME], [GNU Autoconf])'; \
echo 'm4_define([AT_PACKAGE_TARNAME], [autoconf])'; \
echo 'm4_define([AT_PACKAGE_VERSION], [2.53b])'; \
echo 'm4_define([AT_PACKAGE_STRING], [GNU Autoconf 2.53b])'; \
echo 'm4_define([AT_PACKAGE_BUGREPORT], address@hidden)'; \
} >./package.m4
cd . && ./mktests.sh ../lib/autoconf/general.m4 ../lib/autoconf/status.m4
../lib/autoconf/autoheader.m4 ../lib/autoconf/autoupdate.m4
../lib/autoconf/specific.m4 ../lib/autoconf/functions.m4
../lib/autoconf/lang.m4 ../lib/autoconf/c.m4 ../lib/autoconf/fortran.m4
../lib/autoconf/headers.m4 ../lib/autoconf/libs.m4 ../lib/autoconf/types.m4
../lib/autoconf/programs.m4
gmake[2]: *** Warning: File `acprograms.at' has modification time 0.047 s in
the future
cd ../lib && gmake autom4te.cfg
gmake[3]: Entering directory `/net/knick/home/eggert/src/gnu/autoconf-test/lib'
cd .. && /bin/bash ./config.status lib/Makefile
config.status: creating lib/Makefile
gmake[3]: Leaving directory `/net/knick/home/eggert/src/gnu/autoconf-test/lib'
gmake[3]: Entering directory `/net/knick/home/eggert/src/gnu/autoconf-test/lib'
rm -f autom4te.cfg autom4te.tmp
sed -e 's,@SHELL\@,/bin/sh,g' -e 's,@PERL\@,/usr/bin/perl,g' -e
's,@bindir\@,/tmp/prefix/bin,g' -e 's,@datadir\@,/tmp/prefix/share/autoconf,g'
-e 's,@prefix\@,/tmp/prefix,g' -e 's,@autoconf-name\@,'`echo autoconf | sed
's,x,x,'`',g' -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g' -e
's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g' -e
's,@M4\@,/opt/sfw/bin/gm4,g' -e 's,@AWK\@,gawk,g' -e 's,@VERSION\@,2.53b,g' -e
's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autom4te.in >autom4te.tmp
mv autom4te.tmp autom4te.cfg
gmake[3]: Leaving directory `/net/knick/home/eggert/src/gnu/autoconf-test/lib'
cd ../lib/m4sugar && gmake version.m4
gmake[3]: Entering directory
`/net/knick/home/eggert/src/gnu/autoconf-test/lib/m4sugar'
cd ../.. && /bin/bash ./config.status lib/m4sugar/Makefile
config.status: creating lib/m4sugar/Makefile
gmake[3]: Leaving directory
`/net/knick/home/eggert/src/gnu/autoconf-test/lib/m4sugar'
gmake[3]: Entering directory
`/net/knick/home/eggert/src/gnu/autoconf-test/lib/m4sugar'
{ \
echo '# This file is part of -*- Autoconf -*-.'; \
echo '# Version of Autoconf.'; \
echo '# Copyright (C) 1999, 2000, 2001, 2002'; \
echo '# Free Software Foundation, Inc.'; \
echo ;\
echo 'm4_define([m4_PACKAGE_NAME], [GNU Autoconf])'; \
echo 'm4_define([m4_PACKAGE_TARNAME], [autoconf])'; \
echo 'm4_define([m4_PACKAGE_VERSION], [2.53b])'; \
echo 'm4_define([m4_PACKAGE_STRING], [GNU Autoconf 2.53b])'; \
echo 'm4_define([m4_PACKAGE_BUGREPORT], address@hidden)'; \
} >version.m4
gmake[3]: Leaving directory
`/net/knick/home/eggert/src/gnu/autoconf-test/lib/m4sugar'
./autom4te --language=autotest -I . suite.at -o testsuite.tmp
mv testsuite.tmp testsuite
/bin/sh ./testsuite
## ------------------------------ ##
## GNU Autoconf 2.53b test suite. ##
## ------------------------------ ##
Executables (autoheader, autoupdate...).
1: tools.at:47 ok
2: tools.at:92 ok
3: tools.at:122 ok
4: tools.at:211 FAILED near `tools.at:220'
5: tools.at:242 ok
6: tools.at:268 ok
7: tools.at:312 ok
8: tools.at:360 ok
9: tools.at:478 ok
10: tools.at:512 ok
11: tools.at:539 ok
M4sugar.
12: m4sugar.at:35 ok
13: m4sugar.at:76 ok
14: m4sugar.at:115 ok
M4sh.
15: m4sh.at:29 ok
16: m4sh.at:105 ok
17: m4sh.at:166 ok
18: m4sh.at:223 ok
19: m4sh.at:256 ok
Autoconf base layer.
20: base.at:29 ok
21: base.at:71 ok
22: base.at:115 ok
23: base.at:158 ok
24: base.at:190 ok
25: base.at:209 ok
Testing config.status.
26: torture.at:30 ok
27: torture.at:37 ok
28: torture.at:81 ok
29: torture.at:123 ok
30: torture.at:207 ok
31: torture.at:238 ok
32: torture.at:275 ok
33: torture.at:369 ok
34: torture.at:478 ok
35: torture.at:518 ok
36: torture.at:554 ok
Low level compiling/preprocessing macros.
37: compile.at:32 ok
38: compile.at:78 ok
39: compile.at:114 ok
40: compile.at:151 ok
C low level compiling/preprocessing macros.
41: c.at:47 ok
42: c.at:59 ok
43: c.at:87 ok
44: c.at:100 ok
45: c.at:111 ok
46: c.at:141 ok
47: c.at:178 ok
Fortran low level compiling/preprocessing macros.
48: fortran.at:51 ok
Semantics.
49: semantics.at:73 ok
50: semantics.at:86 ok
51: semantics.at:98 ok
52: semantics.at:106 ok
53: semantics.at:141 ok
54: semantics.at:154 ok
55: semantics.at:171 ok
56: semantics.at:189 ok
57: semantics.at:205 ok
58: semantics.at:212 ok
59: semantics.at:257 ok
60: semantics.at:291 ok
61: semantics.at:340 ok
62: semantics.at:378 ok
63: semantics.at:422 ok
64: semantics.at:440 ok
65: semantics.at:441 ok
Compatibility with other tools.
66: foreign.at:27 ok
## ------------------------------------------------ ##
## ERROR: Suite unsuccessful, 1 of 66 tests failed. ##
## ------------------------------------------------ ##
You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point.
Now, failed tests will be executed again, verbosely, and logged
in the file testsuite.log.
## ------------------------------ ##
## GNU Autoconf 2.53b test suite. ##
## ------------------------------ ##
4. tools.at:211: testing autoconf --trace: builtins...
tools.at:220: autoconf -t define | sed -n '$p'
--- /dev/null 2002-05-12 22:01:17.000000000 -0700
+++ /net/knick/home/eggert/src/gnu/autoconf-test/tests/testsuite.dir/at-stderr
2002-05-12 22:01:21.968202000 -0700
@@ -0,0 +1,10 @@
+/tmp/t45018.26442/traces.m4:1676: /opt/sfw/bin/gm4: Error matching regular
expression "^ *\(.*\) *$"
+/tmp/t45018.26442/traces.m4:1807: /opt/sfw/bin/gm4: Error matching regular
expression "^ *\(.*\) *$"
+/tmp/t45018.26442/traces.m4:1964: /opt/sfw/bin/gm4: Error matching regular
expression "^ *\(.*\) *$"
+/tmp/t45018.26442/traces.m4:2937: /opt/sfw/bin/gm4: Error matching regular
expression "^ *\(.*\) *$"
+/tmp/t45018.26442/traces.m4:3216: /opt/sfw/bin/gm4: Error matching regular
expression "^ *\(.*\) *$"
+/tmp/t45018.26442/traces.m4:3650: /opt/sfw/bin/gm4: Error matching regular
expression "^ *\(.*\) *$"
+/tmp/t45018.26442/traces.m4:5938: /opt/sfw/bin/gm4: Error matching regular
expression "^ *\(.*\) *$"
+/tmp/t45018.26442/traces.m4:6206: /opt/sfw/bin/gm4: Error matching regular
expression "^ *\(.*\) *$"
+/tmp/t45018.26442/traces.m4:6349: /opt/sfw/bin/gm4: Error matching regular
expression "^ *\(.*\) *$"
+/tmp/t45018.26442/traces.m4:7875: /opt/sfw/bin/gm4: Error matching regular
expression "^ *\(.*\) *$"
4. tools.at:211: FAILED near `tools.at:220'
## ------------------------- ##
## testsuite.log is created. ##
## ------------------------- ##
Please send `testsuite.log' and all information you think might help:
To: <address@hidden>
Subject: [GNU Autoconf 2.53b] testsuite.log: 1 failures
gmake[2]: *** [check-local] Error 1
gmake[2]: Leaving directory `/net/knick/home/eggert/src/gnu/autoconf-test/tests'
gmake[1]: *** [check-am] Error 2
gmake[1]: Leaving directory `/net/knick/home/eggert/src/gnu/autoconf-test/tests'
gmake: *** [check-recursive] Error 1