[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNU Autoconf 2.54] failures: 28
From: |
Akim Demaille |
Subject: |
Re: [GNU Autoconf 2.54] failures: 28 |
Date: |
17 Oct 2002 11:42:04 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) |
|On Wed 16 Oct 2002 19:21, Akim Demaille <address@hidden> wrote:
|> rm -f config.cache
|> sh -x ./foo.sh precious=foo
|> sh -x ./foo.sh precious=foo -C
|> cat config.cache
|> cat config.log
|> sh -x ./foo.sh precious=bar -C
|> cat config.cache
|> cat config.log
I think I have it!!! I should have doubted about it much earlier :(
On the LHS it is my machine, which, of course, is sane, and on the RHS
is yours, which of course, is HP :)
+ cat confcache + cat confcache
> + 1>& 6
# This file is a shell script that ca # This file is a shell script that ca
# tests run on this system so they ca # tests run on this system so they ca
# scripts and configure runs, see con # scripts and configure runs, see con
# It is not useful on other systems. # It is not useful on other systems.
# want to keep, you may remove or edi # want to keep, you may remove or edi
# #
# config.status only pays attention t # config.status only pays attention t
# the --recheck option to rerun confi # the --recheck option to rerun confi
# #
# `ac_cv_env_foo' variables (set or u # `ac_cv_env_foo' variables (set or u
# loading this file, other *unset* `a # loading this file, other *unset* `a
# following values. # following values.
ac_cv_env_build_alias_set='' | ac_cv_env_build_alias_set=''\'''\'''
ac_cv_env_build_alias_value='' | ac_cv_env_build_alias_value=''\'''\''
ac_cv_env_host_alias_set='' | ac_cv_env_host_alias_set=''\'''\'''
ac_cv_env_host_alias_value='' | ac_cv_env_host_alias_value=''\'''\'''
ac_cv_env_precious_set='set' ac_cv_env_precious_set='set'
ac_cv_env_precious_value='foo' ac_cv_env_precious_value='foo'
ac_cv_env_target_alias_set='' | ac_cv_env_target_alias_set=''\'''\'''
ac_cv_env_target_alias_value='' | ac_cv_env_target_alias_value=''\'''\'
+ echo 'foo.sh:1225: config.cache (/d | + echo foo.sh:1225: config.cache (/de
> + 1>& 6
foo.sh:1225: config.cache (/dev/null) foo.sh:1225: config.cache (/dev/null)
+ cat /dev/null + cat /dev/null
> + 1>& 6
+ cmp -s /dev/null confcache + cmp -s /dev/null confcache
+ test -w /dev/null | + :
+ test x/dev/null '!=' x/dev/null <
+ cat confcache <
The piece of code is:
cat confcache >&6
echo "$as_me:$LINENO: config.cache ($cache_file):" >&6
cat $cache_file >&6
if cmp -s $cache_file confcache; then :; else
if test -w $cache_file; then
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
cat confcache >$cache_file
else
echo "not updating unwritable cache $cache_file"
fi
fi
rm -f confcache
as you can see, it took the then branch, instead of the else branch.
In other words cmp -s /dev/null some-non-empty-file succeeds :(
May I ask you:
cmp /dev/null configure; echo $?
cmp configure /dev/null; echo $?
cmp -s /dev/null configure; echo $?
cmp -s configure /dev/null; echo $?
diff /dev/null configure >/dev/null; echo $?
diff configure /dev/null >/dev/null; echo $?
?
Thanks a lot!
PS/ I don't understand the elif thingy you found: what I sent was a
modified configure, which never triggered that error, did it?
- Re: [GNU Autoconf 2.54] failures: 28, (continued)
- Re: [GNU Autoconf 2.54] failures: 28, Akim Demaille, 2002/10/11
- Message not available
- Re: [GNU Autoconf 2.54] failures: 28, Akim Demaille, 2002/10/11
- Re: [GNU Autoconf 2.54] failures: 28, H.Merijn Brand, 2002/10/11
- Re: [GNU Autoconf 2.54] failures: 28, Akim Demaille, 2002/10/11
- Re: [GNU Autoconf 2.54] failures: 28, H.Merijn Brand, 2002/10/14
- Re: [GNU Autoconf 2.54] failures: 28, Akim Demaille, 2002/10/18
- Re: [GNU Autoconf 2.54] failures: 28, H.Merijn Brand, 2002/10/18
- Re: [GNU Autoconf 2.54] failures: 28, Akim Demaille, 2002/10/18
- Re: [GNU Autoconf 2.54] failures: 28, Akim Demaille, 2002/10/18
- Re: [GNU Autoconf 2.54] failures: 28, Akim Demaille, 2002/10/18
- Message not available
- Re: [GNU Autoconf 2.54] failures: 28,
Akim Demaille <=
- Message not available
- Solved! don't use cmp (Was: [GNU Autoconf 2.54] failures: 28), Akim Demaille, 2002/10/19
- Re: Solved! don't use cmp (Was: [GNU Autoconf 2.54] failures: 28), Akim Demaille, 2002/10/22
- Re: Solved! don't use cmp (Was: [GNU Autoconf 2.54] failures: 28), H.Merijn Brand, 2002/10/22
[GNU Autoconf 2.54] testsuite.log: 1 failures, Bob Hutzel, 2002/10/09
[GNU Autoconf 2.54] testsuite.log: 1 failures, Andreas Matthias, 2002/10/23