bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS: 1 failure: tagsub.test


From: Akim Demaille
Subject: Re: CVS: 1 failure: tagsub.test
Date: Tue, 20 Apr 2004 09:41:23 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

>>> "adl" == Alexandre Duret-Lutz <address@hidden> writes:

>>> "Akim" == Akim Demaille <address@hidden> writes:
 Akim> Here is the verbose run.

 > Hi Akim, thanks.

Hi!

 > Is that still your old autoconf or did you finally managed to cvs up?

Actually I now only have one failure (after upgrading Autoconf).

 > Could you resend the output with VERBOSE=x so we see the shell traces?

Sure!

make  defs aclocal-1.8a automake-1.8a
make[1]: entrant dans le répertoire « /home/akim/src/am/tests »
make[1]: « defs » est à jour.
make[1]: « aclocal-1.8a » est à jour.
make[1]: « automake-1.8a » est à jour.
make[1]: quittant le répertoire « /home/akim/src/am/tests »
make  check-TESTS
make[1]: entrant dans le répertoire « /home/akim/src/am/tests »
/home/akim/src/am/tests:/home/akim/bin:/home/lrde/lrde/usr/bin:/home/akim/bin:/home/lrde/lrde/usr/bin:/home/akim/bin:/home/lrde/lrde/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/X11R6/bin:/usr/local/kde/bin
tagsub: running etags --version -o /dev/null
Exuberant Ctags 5.5.4, Copyright (C) 1996-2003 Darren Hiebert
  Compiled: Mar 30 2004, 11:26:12
  Addresses: <address@hidden>, http://ctags.sourceforge.net
  Optional compiled features: +wildcards, +regex
=== Running test ./tagsub.test
++ pwd
/home/akim/src/am/tests/testSubDir
+ set -e
+ cat
+ echo 'SUBDIRS = sub'
+ mkdir sub
+ echo 'noinst_HEADERS = iguana.h'
+ :
+ aclocal-1.8a
+ /bin/sh /home/akim/src/am/lib/missing --run autoconf
+ automake-1.8a --foreign -Werror -Wall
+ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sub/Makefile
+ make tags
list='sub'; for subdir in $list; do \
  test "$subdir" = . || (cd $subdir && make  tags); \
done
make[1]: entrant dans le répertoire « /home/akim/src/am/tests/testSubDir/sub »
tags=; \
here=`pwd`; \
list=' iguana.h   '; \
unique=`for i in $list; do \
    if test -f "$i"; then echo $i; else echo ./$i; fi; \
  done | \
  gawk '    { files[$0] = 1; } \
       END { for (i in files) print i; }'`; \
test -z "$tags$unique" \
  || etags    \
     $tags $unique
make[1]: quittant le répertoire « /home/akim/src/am/tests/testSubDir/sub »
tags=; \
here=`pwd`; \
if (etags --etags-include --version) >/dev/null 2>&1; then \
  include_option=--etags-include; \
else \
  include_option=--include; \
fi; \
list='sub'; for subdir in $list; do \
  if test "$subdir" = .; then :; else \
    test -f $subdir/TAGS && \
      tags="$tags $include_option=$here/$subdir/TAGS"; \
  fi; \
done; \
list='    '; \
unique=`for i in $list; do \
    if test -f "$i"; then echo $i; else echo ./$i; fi; \
  done | \
  gawk '    { files[$0] = 1; } \
       END { for (i in files) print i; }'`; \
test -z "$tags$unique" \
  || etags    \
     $tags $unique
+ test -f sub/TAGS
+ test -f TAGS
FAIL: tagsub.test
=====================================
1 of 1 tests failed
Please report to address@hidden
=====================================
make[1]: *** [check-TESTS] Erreur 1
make[1]: quittant le répertoire « /home/akim/src/am/tests »
make: *** [check-am] Erreur 2


src/am/tests % ls -lR testSubDir                                  nostromo 9:18
testSubDir:
total 240
-rw-r--r--    1 akim     lrde        21175 2004-04-20 09:18 aclocal.m4
drwxr-xr-x    2 akim     lrde         4096 2004-04-20 09:18 autom4te.cache/
-rw-r--r--    1 akim     lrde         4270 2004-04-20 09:18 config.log
-rwxr-xr-x    1 akim     lrde        20912 2004-04-20 09:18 config.status*
-rwxr-xr-x    1 akim     lrde        83390 2004-04-20 09:18 configure*
-rw-r--r--    1 akim     lrde          112 2004-04-20 09:18 configure.in
-rwxr-xr-x    1 akim     lrde        14766 2004-04-20 09:18 depcomp*
-rwxr-xr-x    1 akim     lrde         9505 2004-04-20 09:18 install-sh*
-rw-r--r--    1 akim     lrde        16936 2004-04-20 09:18 Makefile
-rw-r--r--    1 akim     lrde           14 2004-04-20 09:18 Makefile.am
-rw-r--r--    1 akim     lrde        16586 2004-04-20 09:18 Makefile.in
-rwxr-xr-x    1 akim     lrde        10678 2004-04-20 09:18 missing*
drwxr-xr-x    2 akim     lrde         4096 2004-04-20 09:18 sub/

testSubDir/autom4te.cache:
total 224
-rw-r--r--    1 akim     lrde        83701 2004-04-20 09:18 output.0
-rw-r--r--    1 akim     lrde        83701 2004-04-20 09:18 output.1
-rw-r--r--    1 akim     lrde        12649 2004-04-20 09:18 requests
-rw-r--r--    1 akim     lrde        23696 2004-04-20 09:18 traces.0
-rw-r--r--    1 akim     lrde         7290 2004-04-20 09:18 traces.1

testSubDir/sub:
total 32
-rw-r--r--    1 akim     lrde            0 2004-04-20 09:18 iguana.h
-rw-r--r--    1 akim     lrde         8994 2004-04-20 09:18 Makefile
-rw-r--r--    1 akim     lrde           26 2004-04-20 09:18 Makefile.am
-rw-r--r--    1 akim     lrde         8639 2004-04-20 09:18 Makefile.in
-rw-r--r--    1 akim     lrde           13 2004-04-20 09:18 TAGS


If I change the $MAKE in tagsub to use a verbose shell, then I have:

tags=; \
here=`pwd`; \
if (etags --etags-include --version) >/dev/null 2>&1; then \
  include_option=--etags-include; \
else \
  include_option=--include; \
fi; \
list='sub'; for subdir in $list; do \
  if test "$subdir" = .; then :; else \
    test -f $subdir/TAGS && \
      tags="$tags $include_option=$here/$subdir/TAGS"; \
  fi; \
done; \
list='    '; \
unique=`for i in $list; do \
    if test -f "$i"; then echo $i; else echo ./$i; fi; \
  done | \
  gawk '    { files[$0] = 1; } \
       END { for (i in files) print i; }'`; \
test -z "$tags$unique" \
  || etags    \
     $tags $unique
tags=;  here=`pwd`;  if (etags --etags-include --version) >/dev/null 2>&1; then 
 include_option=--etags-include;  else  include_option=--include;  fi;  
list='sub'; for subdir in $list; do  if test "$subdir" = .; then :; else  test 
-f $subdir/TAGS &&  tags="$tags $include_option=$here/$subdir/TAGS";  fi;  
done;  list='    ';  unique=`for i in $list; do  if test -f "$i"; then echo $i; 
else echo ./$i; fi;  done |  gawk '    { files[$0] = 1; }  END { for (i in 
files) print i; }'`;  test -z "$tags$unique"  || etags     $tags $unique
+ tags=
pwd
++ pwd
+ here=/home/akim/src/am/tests/testSubDir
+ include_option=--etags-include
+ list=sub
+ test sub = .
+ test -f sub/TAGS
+ tags= --etags-include=/home/akim/src/am/tests/testSubDir/sub/TAGS
+ list=    
for i in $list; do  if test -f "$i"; then echo $i; else echo ./$i; fi;  done |  
gawk '    { files[$0] = 1; }  END { for (i in files) print i; }'
++ gawk '    { files[$0] = 1; }  END { for (i in files) print i; }'
+ unique=
+ test -z ' --etags-include=/home/akim/src/am/tests/testSubDir/sub/TAGS'
+ etags --etags-include=/home/akim/src/am/tests/testSubDir/sub/TAGS
+ test -f sub/TAGS
+ test -f TAGS

I'm not sure what `unique' is supposed to be, but if I run this last
command with a period at the end, it works:

am/tests/testSubDir % etags 
--etags-include=/home/akim/src/am/tests/testSubDir/sub/TAGS .
am/tests/testSubDir % less TAGS                                   nostromo 9:38
^L
/home/akim/src/am/tests/testSubDir/sub/TAGS,include

With the period, nothing is created, and no error is reported (I guess
this is a bug).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]