Bug#300497: FTBFS: bsh-1.3.0 with jikes as javac & lacks build-deps: lynx
Grzegorz B. Prokopski
"Grzegorz B. Prokopski" <gadek@debian.org>, 300497@bugs.debian.org
Sat Mar 19 20:55:02 2005
--=-G/0CIXwwnIeJ36YWbpvS
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Package: bsh
Version: 1.3.0-2
Severity: grave
Tags: patch
There's two small glitches in that prevents proper compilation
of the package.
1. It lacks build-deps: on lynx, which is used to generate
Changelog from Changelog.html
2. It does not compile with a less forgiving java compilers than, I
supect, kjc is.
Basically the root dir of the sources is tmp, so 'cd tmp/bsh' does not
put you into the root dir, as intended. Then javac is not able to find
ie. tmp/bsh/bsh/NameSpace (= bsh.NameSpace) and compilation fails.
A patch for the second problem is attached, please apply.
Thanks & cheers,
Grzegorz B. Prokopski
PS: Please don't be offended by the 'grave' severity of this tivial
bug. Unless I am seriously mistaken an FTBFS is generally an RC-class
bug, so I had little choice.
--
Grzegorz B. Prokopski <gadek@sablevm.org>
SableVM - Free, LGPL'ed Java VM http://sablevm.org
Why SableVM ?!? http://sablevm.org/wiki/Features
Debian GNU/Linux - the Free OS http://www.debian.org
--=-G/0CIXwwnIeJ36YWbpvS
Content-Disposition: attachment; filename=bsh-javac.diff
Content-Type: text/x-patch; name=bsh-javac.diff; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
--- ./bsh-1.3.0/debian/rules 2005-03-19 22:25:35.120738880 -0500
+++ ./bsh-1.3.0-corrected/debian/rules 2005-03-19 22:05:12.000000000 -0500
@@ -14,8 +14,8 @@
# rm tmp/bsh/XThis.java
cd tmp/bsh && $(JJTREE) bsh.jjt
cd tmp/bsh && $(JAVACC) bsh.jj
- cd tmp/bsh && CLASSPATH=$(CLASSPATH) $(JAVAC) \
- */*.java *.java
+ cd tmp && CLASSPATH=$(CLASSPATH) $(JAVAC) \
+ */*/*.java */*.java
cd tmp && jar cfm ../bsh.jar Manifest.console bsh/util/*.class \
bsh/util/lib/* bsh/commands/*.class bsh/commands/*.bsh \
bsh/*.class bsh/classpath/*.class
--=-G/0CIXwwnIeJ36YWbpvS--