DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22560>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22560
Touch doesn't work on Debian unstable & Java1.4.2
------- Additional Comments From gturner@unzane.com 2003-08-21 18:34 -------
This bug affects my Debian unstable machines with Java 1.4.1 and 1.4.2, as well
as Ant version 1.5.3 and 1.5.4.
I submitted the following report to the Debian BTS:
Subject: ant: touch task broken
Package: ant
Version: 1.5.4-1
Severity: normal
*** Please type your report below this line ***
This bug has already been reported on Apache as bug #22560,
http://issues.apache.org/bugzilla/show_bug.cgi?id=22560
However I wanted to report it to the BTS because my intuition tells me it
has something to do with a recent libc6 upload to unstable. It affects Ant
versions 1.5.4 and 1.5.3, JVMs 1.4.2 and 1.4.1. In my experience this bug
only came into affect within the past few weeks.
The effect is that a simple build file, like the following:
<project default="touch">
<target name="touch">
<touch file="touchme"/>
</target>
</project>
The touch task will fail to create or modify a file with the current
mtime, e.g.:
$ rm touchme
$ ant -f touch.xml
Buildfile: touch.xml
touch:
[touch] Creating /home/gturner/touchme
BUILD SUCCESSFUL
Total time: 1 second
$ ls -l touchme
-rw-r--r-- 1 gturner users 0 Dec 31 1969 touchme
$ ant -f touch.xml
Buildfile: touch.xml
touch:
BUILD SUCCESSFUL
Total time: 1 second
$ ls -l touchme
-rw-r--r-- 1 gturner users 0 Dec 31 1969 touchme
I have tested this bug with two diverse Debian unstable hosts, one which is
running SMP and has been up-to-date with the debian archive and is using the
latest JVM 1.4.2 from Sun, the other host is uniprocessor and a week or so
out-of-date with the debian archive and using an older Blackdown JVM 1.4.1
that is linked to libstdc++2.9-glibc2.1 (which was removed from the archive
a few months ago). As long as I'm getting nitty-gritty I may as well
mention both hosts are using stock reiserfs file systems on Linux 2.4.2[01]
kernels.
Below I ran dpkg-debcheck and dpkg-query on both hosts:
gturner@genuxb$ dpkg-depcheck -a java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
----------------------------------------------------------------------
Packages used:
j2sdk
base-files
libc6
gturner@genuxb$ dpkg-query -l j2sdk base-files libc6
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
hi j2sdk 1.4.2-1 Java(TM) 2 Software Development Kit, Standar
ii base-files 3.0.10 Debian base system miscellaneous files
ii libc6 2.3.2-3 GNU C Library: Shared libraries and Timezone
gturner@calleiach$ dpkg-depcheck -a java -version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.1-01)
Java HotSpot(TM) Client VM (build Blackdown-1.4.1-01, mixed mode)
----------------------------------------------------------------------
warning: files in /usr/local or /var/local used:
/usr/local/java/j2sdk
/usr/local/java/j2sdk1.4.1/bin/java
/usr/local/java/j2sdk1.4.1/jre/lib/charsets.jar
/usr/local/java/j2sdk1.4.1/jre/lib/i386/client/libjvm.so
/usr/local/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg
/usr/local/java/j2sdk1.4.1/jre/lib/i386/libjava.so
/usr/local/java/j2sdk1.4.1/jre/lib/i386/libverify.so
/usr/local/java/j2sdk1.4.1/jre/lib/i386/libzip.so
/usr/local/java/j2sdk1.4.1/jre/lib/i386/native_threads/libhpi.so
/usr/local/java/j2sdk1.4.1/jre/lib/jce.jar
/usr/local/java/j2sdk1.4.1/jre/lib/jsse.jar
/usr/local/java/j2sdk1.4.1/jre/lib/logging.properties
/usr/local/java/j2sdk1.4.1/jre/lib/rt.jar
/usr/local/java/j2sdk1.4.1/jre/lib/sunrsasign.jar
Packages used:
libgcc1
base-files
libstdc++5
libc6
gturner@calleiach$ dpkg-query -l libgcc1 base-files libstdc++5 libc6
libstdc++2.9-glibc2.1 ant
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii libgcc1 3.3.1-1 GCC support library
ii base-files 3.0.10 Debian base system miscellaneous files
ii libstdc++5 3.3.1-1 The GNU Standard C++ Library v3
ii libc6 2.3.2-2 GNU C Library: Shared libraries and Timezone
hi libstdc++2.9-g 2.91.66-4 The GNU stdc++ library (old egcs version)
ii ant 1.5.3-2 Java based build tool like make
Note that this older system is running ant 1.5.3-2, the system information
that follows was taken for the newer, up-to-date system.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux genuxb 2.4.21 #2 SMP Sun Aug 17 13:19:07 PDT 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages ant depends on:
ii antlr 2.7.2-1 A language tool for constructing r
ii gij-3.3 [java1-runtime] 1:3.3.2-0pre1 The GNU Java bytecode interpreter
pn j2re1.4 | java-virtual-ma Not found.
hi j2sdk [java2-runtime] 2:1.4.2-1 Java(TM) 2 Software Development Ki
ii junit 3.8.1-3 Automated testing framework for Ja
ii jython 2.1.0-12 Python seamlessly integrated with
ii libbcel-java 5.1-1 Analyze, create, and manipulate (b
ii libbsf-java 1:2.3.0rc1-1 Bean Scripting Framework to suppor
ii libcommons-logging-java 1.0.3-2 The commmon wrapper interface for
ii libjdepend-java 2.6-1 tool to measure design quality of
ii liblog4j1.2-java 1.2.8-2 Logging library for java
ii liboro-java 2.0.6-2 Regular expression library for Jav
ii libregexp-java 1.2.20010409-4 regular expression library for Jav
ii libxalan2-java 2.5.0-1 XSL Transformations (XSLT) process
ii libxerces2-java 2.4.0-1 Validating XML parser for Java
-- no debconf information
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
|