Bug#251432: commons-digester: FTBFS: Cannot find class
Alan Tam
Alan Tam <Tam@SiuLung.com>, 251432@bugs.debian.org
Sun Jul 18 20:39:03 2004
Hi,
It works for me.
===========================================================================
sltam@cherry:~/src/commons-digester-1.3$ debuild
dpkg-buildpackage: source package is commons-digester
dpkg-buildpackage: source version is 1.3-2
dpkg-buildpackage: source maintainer is Takashi Okamoto <tora@debian.org>
dpkg-buildpackage: host architecture is i386
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
ant -buildfile build.xml clean
Unable to locate tools.jar. Expected to find it in
/usr/lib/kaffe/pthreads/lib/t
ools.jar
Buildfile: build.xml
clean:
BUILD SUCCESSFUL
Total time: 2 seconds
dh_clean
dpkg-source -b commons-digester-1.3
dpkg-source: building commons-digester using existing
commons-digester_1.3.orig.
tar.gz
dpkg-source: building commons-digester in commons-digester_1.3-2.diff.gz
dpkg-source: building commons-digester in commons-digester_1.3-2.dsc
debian/rules build
dh_testdir
# Add here commands to compile the package.
ant -buildfile build.xml dist
Unable to locate tools.jar. Expected to find it in
/usr/lib/kaffe/pthreads/lib/t
ools.jar
Buildfile: build.xml
init:
[echo] -------- digester 1.3 --------
prepare:
[mkdir] Created dir: /home/sltam/src/commons-digester-1.3/target
[mkdir] Created dir: /home/sltam/src/commons-digester-1.3/target/classes
[mkdir] Created dir: /home/sltam/src/commons-digester-1.3/target/conf
[mkdir] Created dir: /home/sltam/src/commons-digester-1.3/target/tests
static:
[copy] Copying 1 file to
/home/sltam/src/commons-digester-1.3/target/conf
[copy] Replacing: @name@ -> org.apache.commons.digester
[copy] Replacing: @version@ -> 1.3
compile:
[javac] Compiling 31 source files to
/home/sltam/src/commons-digester-1.3/ta
rget/classes
[javac] Issued 9 semantic warnings compiling
"/home/sltam/src/commons-digest
er-1.3/src/java/org/apache/commons/digester/Digester.java":
[javac] 375. ArrayStack stack = (ArrayStack)
namespaces.get(prefi
x);
[javac] ^---^
[javac] *** Semantic Warning: Local "stack" shadows a field of the
same name
in "org.apache.commons.digester.Digester".
[javac] 404. ClassLoader classLoader =
[javac] ^---------^
[javac] *** Semantic Warning: Local "classLoader" shadows a field of
the sam
e name in "org.apache.commons.digester.Digester".
[javac] 950. Iterator rules = getRules().rules().iterator();
[javac] ^---^
[javac] *** Semantic Warning: Local "rules" shadows a field of the
same name
in "org.apache.commons.digester.Digester".
[javac] 997. List rules = getRules().match(namespaceURI,
match);
[javac] ^---^
[javac] *** Semantic Warning: Local "rules" shadows a field of the
same name
in "org.apache.commons.digester.Digester".
[javac] 999. String bodyText = this.bodyText.toString();
[javac] ^------^
[javac] *** Semantic Warning: Local "bodyText" shadows a field of
the same n
ame in "org.apache.commons.digester.Digester".
[javac] 1072. ArrayStack stack = (ArrayStack)
namespaces.get(prefi
x);
[javac] ^---^
[javac] *** Semantic Warning: Local "stack" shadows a field of the
same name
in "org.apache.commons.digester.Digester".
[javac] 1228. List rules = getRules().match(namespaceURI,
match);
[javac] ^---^
[javac] *** Semantic Warning: Local "rules" shadows a field of the
same name
in "org.apache.commons.digester.Digester".
[javac] 1230. String bodyText = this.bodyText.toString();
[javac] ^------^
[javac] *** Semantic Warning: Local "bodyText" shadows a field of
the same n
ame in "org.apache.commons.digester.Digester".
[javac] 1271. ArrayStack stack = (ArrayStack)
namespaces.get(prefi
x);
[javac] ^---^
[javac] *** Semantic Warning: Local "stack" shadows a field of the
same name
in "org.apache.commons.digester.Digester".
[javac] Issued 2 semantic warnings compiling
"/home/sltam/src/commons-digest
er-1.3/src/java/org/apache/commons/digester/SetPropertyRule.java":
[javac] 152. String name = attributes.getLocalName(i);
[javac] ^--^
[javac] *** Semantic Warning: Local "name" shadows a field of the
same name
in "org.apache.commons.digester.SetPropertyRule".
[javac] 156. String value = attributes.getValue(i);
[javac] ^---^
[javac] *** Semantic Warning: Local "value" shadows a field of the
same name
in "org.apache.commons.digester.SetPropertyRule".
[javac] Issued 6 semantic warnings compiling
"/home/sltam/src/commons-digest
er-1.3/src/java/org/apache/commons/digester/rss/Channel.java":
[javac] 352. Item items[] = new Item[this.items.size()];
[javac] ^---^
[javac] *** Semantic Warning: Local "items" shadows a field of the
same name
in "org.apache.commons.digester.rss.Channel".
[javac] 371. String skipDays[] = new
String[this.skipDays.siz
e()];
[javac] ^------^
[javac] *** Semantic Warning: Local "skipDays" shadows a field of
the same n
ame in "org.apache.commons.digester.rss.Channel".
[javac] 390. String skipHours[] = new
String[this.skipHours.s
ize()];
[javac] ^-------^
[javac] *** Semantic Warning: Local "skipHours" shadows a field of
the same
name in "org.apache.commons.digester.rss.Channel".
[javac] 628. String skipDays[] = findSkipDays();
[javac] ^------^
[javac] *** Semantic Warning: Local "skipDays" shadows a field of
the same n
ame in "org.apache.commons.digester.rss.Channel".
[javac] 639. String skipHours[] = findSkipHours();
[javac] ^-------^
[javac] *** Semantic Warning: Local "skipHours" shadows a field of
the same
name in "org.apache.commons.digester.rss.Channel".
[javac] 651. Item items[] = findItems();
[javac] ^---^
[javac] *** Semantic Warning: Local "items" shadows a field of the
same name
in "org.apache.commons.digester.rss.Channel".
[javac] Issued 1 semantic warning compiling
"/home/sltam/src/commons-digeste
r-1.3/src/java/org/apache/commons/digester/rss/RSSDigester.java":
[javac] 107. protected boolean configured = false;
[javac] ^--------^
[javac] *** Semantic Warning: Field "configured" shadows a field of
the same
name in "org.apache.commons.digester.Digester".
[javac] Issued 1 semantic warning compiling
"/home/sltam/src/commons-digeste
r-1.3/src/java/org/apache/commons/digester/xmlrules/DigesterRuleParser.java":
[javac] 357. Digester digester = new Digester();
[javac] ^------^
[javac] *** Semantic Warning: Local "digester" shadows a field of
the same n
ame in "org.apache.commons.digester.Rule".
[copy] Copying 8 files to
/home/sltam/src/commons-digester-1.3/target/class
es
javadoc:
[mkdir] Created dir: /home/sltam/src/commons-digester-1.3/dist
[mkdir] Created dir: /home/sltam/src/commons-digester-1.3/dist/docs
[mkdir] Created dir: /home/sltam/src/commons-digester-1.3/dist/docs/api
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] ERROR: Unknown option -windowtitle
dist:
[copy] Copying 1 file to /home/sltam/src/commons-digester-1.3/dist
[jar] Building jar:
/home/sltam/src/commons-digester-1.3/dist/commons-dige
ster.jar
BUILD SUCCESSFUL
Total time: 23 seconds
touch build-stamp
fakeroot debian/rules binary
make: Current time: Timestamp out of range; substituting 1970-01-01
07:59:59.999
999999
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/commons-collections.
install -m 644 dist/commons-digester.jar
/home/sltam/src/commons-digester-1.3/de
bian/libcommons-digester-java/usr/share/java/commons-digester-1.3.jar
dh_movefiles --sourcedir=debian/libcommons-digester-java
dh_testdir -i
dh_testroot -i
dh_installdocs -i
dh_installexamples -i
dh_installmenu -i
dh_installchangelogs -i
dh_link -i
dh_strip -i
dh_compress -i
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
dpkg-deb: building package `libcommons-digester-java' in
`../libcommons-digester
-java_1.3-2_all.deb'.
dpkg-deb: building package `libcommons-digester-java-doc' in
`../libcommons-dige
ster-java-doc_1.3-2_all.deb'.
dpkg-genchanges
dpkg-genchanges: not including original source code in upload
dpkg-buildpackage: binary and diff upload (original source NOT included)
Now signing changes and any dsc files...
signfile commons-digester_1.3-2.dsc Takashi Okamoto <tora@debian.org>
gpg: skipped `Takashi Okamoto <tora@debian.org>': secret key not available
gpg: [stdin]: clearsign failed: secret key not available
debsign: gpg error occurred! Aborting....
debuild: fatal error at line 786:
running debsign failed
sltam@cherry:~/src/commons-digester-1.3$
===========================================================================
--
Regards,
Alan