automake-patches
[Top][All Lists]
Advanced

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

Re: bug#10866: 1.11a OSX with llvm - 3 fails, 47 skips, 3 errors, out of


From: Stefano Lattarini
Subject: Re: bug#10866: 1.11a OSX with llvm - 3 fails, 47 skips, 3 errors, out of 2856 tests
Date: Fri, 02 Mar 2012 21:54:47 +0100

On 03/01/2012 10:45 PM, P. Martin wrote:

FAIL: java-uninstall.test
==========================

Running from installcheck: no
Using TAP: no
PATH = 
/private/tmp/homebrew-automake-HEAD-DUdI/tests/ax:/private/tmp/homebrew-automake-HEAD-DUdI/tests/wrap:/usr/local/Cellar/libffi/3.0.10/bin:/usr/local/Cellar/texinfo/4.13a/bin:/usr/local/Cellar/gettext/0.18.1.1/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share/python:/usr/local/texlive/2011/bin/x86_64-darwin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/Library/Contributions/examples
java-uninstall: running javac -version -help
javac 1.6.0_29
Usage: javac <options> <source files>
where possible options include:
  -g                         Generate all debugging info
  -g:none                    Generate no debugging info
  -g:{lines,vars,source}     Generate only some debugging info
  -nowarn                    Generate no warnings
  -verbose                   Output messages about what the compiler is doing
  -deprecation               Output source locations where deprecated APIs are 
used
  -classpath <path>          Specify where to find user class files and 
annotation processors
  -cp <path>                 Specify where to find user class files and 
annotation processors
  -sourcepath <path>         Specify where to find input source files
  -bootclasspath <path>      Override location of bootstrap class files
  -extdirs <dirs>            Override location of installed extensions
  -endorseddirs <dirs>       Override location of endorsed standards path
  -proc:{none,only}          Control whether annotation processing and/or 
compilation is done.
  -processor <class1>[,<class2>,<class3>...]Names of the annotation processors 
to run; bypasses default discovery process
  -processorpath <path>      Specify where to find annotation processors
  -d <directory>             Specify where to place generated class files
  -s <directory>             Specify where to place generated source files
  -implicit:{none,class}     Specify whether or not to generate class files for 
implicitly referenced files
  -encoding <encoding>       Specify character encoding used by source files
  -source <release>          Provide source compatibility with specified release
  -target <release>          Generate class files for specific VM version
  -version                   Version information
  -help                      Print a synopsis of standard options
  -Akey[=value]              Options to pass to annotation processors
  -X                         Print a synopsis of nonstandard options
  -J<flag>                   Pass <flag> directly to the runtime system

++ pwd
/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir
+ cat
+ cat
+ echo 'class aClass {}'
+ echo 'class Zardoz {}'
+ aclocal-1.11a -Werror
+ autoconf
+ automake-1.11a --foreign -Werror -Wall
++ pwd
+ ./configure 
--prefix=/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
+ javadir=_inst/java
+ make
rm -f Foo2.java Foo2.java-t
echo 'class bClass {}' > Foo2.java-t
chmod a-w Foo2.java-t && mv -f Foo2.java-t Foo2.java
rm -f Baz.java Baz.java-t
echo 'class Baz {}' > Baz.java-t
echo 'class Baz2 {}' >> Baz.java-t
chmod a-w Baz.java-t && mv -f Baz.java-t Baz.java
CLASSPATH=.:./.${CLASSPATH:+":$CLASSPATH"} javac -d .    Foo.java Bar.java 
Foo2.java Baz.java
echo timestamp > classjava.stamp
+ ls -l
total 592
-rw-r--r--  1 nibbles  wheel     16 Mar  1 11:45 Bar.java
-rw-r--r--  1 nibbles  wheel    180 Mar  1 11:45 Baz.class
-r--r--r--  1 nibbles  wheel     27 Mar  1 11:45 Baz.java
-rw-r--r--  1 nibbles  wheel    181 Mar  1 11:45 Baz2.class
-rw-r--r--  1 nibbles  wheel     16 Mar  1 11:45 Foo.java
-r--r--r--  1 nibbles  wheel     16 Mar  1 11:45 Foo2.java
-rw-r--r--  1 nibbles  wheel  20064 Mar  1 11:45 Makefile
-rw-r--r--  1 nibbles  wheel    577 Mar  1 11:45 Makefile.am
-rw-r--r--  1 nibbles  wheel  19188 Mar  1 11:45 Makefile.in
-rw-r--r--  1 nibbles  wheel    183 Mar  1 11:45 Zardoz.class
-rw-r--r--  1 nibbles  wheel    183 Mar  1 11:45 aClass.class
-rw-r--r--  1 nibbles  wheel  22602 Mar  1 11:45 aclocal.m4
drwxr-xr-x  7 nibbles  wheel    238 Mar  1 11:45 autom4te.cache
-rw-r--r--  1 nibbles  wheel    184 Mar  1 11:45 bClass.class
-rw-r--r--  1 nibbles  wheel     10 Mar  1 11:45 classjava.stamp
-rw-r--r--  1 nibbles  wheel   5821 Mar  1 11:45 config.log
-rwxr-xr-x  1 nibbles  wheel  25886 Mar  1 11:45 config.status
-rwxr-xr-x  1 nibbles  wheel  99829 Mar  1 11:45 configure
-rw-r--r--  1 nibbles  wheel     88 Mar  1 11:45 configure.ac
-rwxr-xr-x  1 nibbles  wheel  20331 Mar  1 11:45 depcomp
-rwxr-xr-x  1 nibbles  wheel  13997 Mar  1 11:45 install-sh
-rwxr-xr-x  1 nibbles  wheel  10179 Mar  1 11:45 missing
+ make install
make[1]: Nothing to be done for `install-exec-am'.
test -z 
"/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java" 
|| ./install-sh -c -d 
"/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java"
 /usr/bin/install -c -m 644 Baz.class Baz2.class Zardoz.class aClass.class 
bClass.class 
'/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java/'
test -z 
"/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java" 
|| ./install-sh -c -d 
"/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java"
 /usr/bin/install -c -m 644 Baz.class Baz2.class Zardoz.class aClass.class 
bClass.class 
'/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java/'
test -z 
"/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java" 
|| ./install-sh -c -d 
"/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java"
 /usr/bin/install -c -m 644 Baz.class Baz2.class Zardoz.class aClass.class 
bClass.class 
'/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java/'
test -z 
"/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java" 
|| ./install-sh -c -d 
"/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java"
 /usr/bin/install -c -m 644 Baz.class Baz2.class Zardoz.class aClass.class 
bClass.class 
'/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java/'
+ :
+ :
+ :
+ :
+ ls -l _inst/java
total 32
-rw-r--r--  1 nibbles  wheel    0 Mar  1 11:45 Bar.class
-rw-r--r--  1 nibbles  wheel  180 Mar  1 11:45 Baz.class
-rw-r--r--  1 nibbles  wheel  181 Mar  1 11:45 Baz2.class
-rw-r--r--  1 nibbles  wheel    0 Mar  1 11:45 Foo.class
-rw-r--r--  1 nibbles  wheel  183 Mar  1 11:45 Zardoz.class
-rw-r--r--  1 nibbles  wheel    0 Mar  1 11:45 aClass.class
-rw-r--r--  1 nibbles  wheel  184 Mar  1 11:45 bClass.class
-rw-r--r--  1 nibbles  wheel    0 Mar  1 11:45 xClass.class
+ make uninstall
 ( cd 
'/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java' 
&& rm -f Baz.class Baz2.class Zardoz.class aClass.class bClass.class )
 ( cd 
'/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java' 
&& rm -f Baz.class Baz2.class Zardoz.class aClass.class bClass.class )
 ( cd 
'/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java' 
&& rm -f Baz.class Baz2.class Zardoz.class aClass.class bClass.class )
 ( cd 
'/private/tmp/homebrew-automake-HEAD-DUdI/tests/java-uninstall.dir/_inst/java' 
&& rm -f Baz.class Baz2.class Zardoz.class aClass.class bClass.class )
+ ls -l _inst/java
total 0
-rw-r--r--  1 nibbles  wheel  0 Mar  1 11:45 Bar.class
-rw-r--r--  1 nibbles  wheel  0 Mar  1 11:45 Foo.class
-rw-r--r--  1 nibbles  wheel  0 Mar  1 11:45 xClass.class
+ check_uninstallation
+ test '!' -r _inst/java/aClass.class
+ test '!' -r _inst/java/bClass.class
+ test '!' -r _inst/java/Zardoz.class
+ test '!' -r _inst/java/Baz.class
+ test '!' -r _inst/java/Baz2.class
+ test -f _inst/java/Foo.class
+ test -f _inst/java/Bar.class
+ test -f _inst/java/xClass.class
+ test -f _inst/java/aclass.class
+ exit_status=1
+ set +e
+ cd /private/tmp/homebrew-automake-HEAD-DUdI/tests
+ test no = yes
+ case $am_explicit_skips in
+ test 1 -eq 0
+ keep_testdirs=yes
+ am_keeping_testdirs
+ case $keep_testdirs in
+ return 0
+ set +x
java-uninstall: exit 1

-*-*-

Is perhaps your file system a case-insensitive HFS+?  If yes, does
the attached patch fix the failure?

Thanks,
  Stefano

Attachment: 0001-tests-fix-spurious-failure-on-case-insensitive-file-.patch
Description: Text Data


reply via email to

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