Greetings,
The jakarta-bsf package fails to compile. I haven't found any extant list
posts that mention this problem.
This happened while satisfying dependencies for the following set of
requested packages:
# fink install junit xmlunit batik
Appended is:
- personal system info and environment
- output of compilation
I'm a relative Java newbie so I would appreciate any additional tips to
chase down this problem. My goal is to compile Apache FOP; that failed,
and I wanted to check/upgrade my build environment, hence the current
situation.
cheers,
Jubal
---
% which ant
/sw/bin/ant
% locate bin/ant
/usr/bin/ant
/usr/share/ant/bin/ant
% diff /usr/share/ant/bin/ant /sw/bin/ant
[ no output ]
# which make
/usr/bin/make
# make -v
GNU Make 3.81
[ snip ]
This program built for i386-apple-darwin9.0
# uname -a
Darwin my.machine 9.2.0 Darwin Kernel Version 9.2.0: Tue Feb 5 16:13:22 PST
2008; root:xnu-1228.3.13~1/RELEASE_I386 i386
# which gcc
/usr/bin/gcc
# gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking
-enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=i686-apple-darwin9 --with-arch=apple --with-tune=generic
--host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)
----
Script started on Tue Feb 26 12:28:46 2008
# fink install junit xmlunit batik
Information about 6451 packages read in 0 seconds.
The following package will be installed or updated:
xmlunit
The following 2 additional packages will be installed:
ant-optional jakarta-bsf
Do you want to continue? [Y/n] Y
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-jakarta-bsf-2.3.0-3
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-jakarta-bsf-2.3.0-3' in
`/sw/src/fink.build/fink-buildlock-jakarta-bsf-2.3.0-3_2008.02.26-12.29.02_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i
/sw/src/fink.build/fink-buildlock-jakarta-bsf-2.3.0-3_2008.02.26-12.29.02_darwin-i386.deb
Selecting previously deselected package fink-buildlock-jakarta-bsf-2.3.0-3.
(Reading database ... 20620 files and directories currently installed.)
Unpacking fink-buildlock-jakarta-bsf-2.3.0-3 (from
.../fink-buildlock-jakarta-bsf-2.3.0-3_2008.02.26-12.29.02_darwin-i386.deb) ...
Setting up fink-buildlock-jakarta-bsf-2.3.0-3 (2008.02.26-12.29.02) ...
gzip -dc /sw/src/bsf-src-2.3.0.tar.gz | /sw/bin/tar -xf - --no-same-owner
--no-same-permissions
/sw/bin/tar: A lone zero block at 5785
/var/tmp/tmp.1.L2DeCo
++ find . -name build.xml
+ perl -pi -e 's,<javac,<javac target="1.4",' ./bsf/build.xml
./bsf_debug/build.xml ./build.xml ./jsdb/build.xml ./taglib/build.xml
+ ant bindist javadocs
Buildfile: build.xml
init:
prepare:
bsf_debug-compile:
[echo] Target: bsf_debug - Compile ...
init:
prepare:
compile:
[javac] Compiling 1 source file to
/sw/src/fink.build/jakarta-bsf-2.3.0-3/bsf-2.3.0/src/bsf_debug/build/classes
[javac]
[javac] WARNING
[javac]
[javac] The -source switch defaults to 1.5 in JDK 1.5 and 1.6.
[javac] If you specify -target 1.4 you now must also specify -source 1.4.
[javac] Ant will implicitly add -source 1.4 for you. Please change your
build file.
[jar] Building jar:
/sw/src/fink.build/jakarta-bsf-2.3.0-3/bsf-2.3.0/src/bsf_debug/build/lib/bsf_debug.jar
bsf-compile:
[echo] Target: bsf - Compile ...
init:
prepare:
checkDependencies:
checkJacl:
[echo] Warning: Jacl dependencies were not resolved.
checkJPython:
[echo] Warning: JPython dependencies were not resolved.
checkJython:
[echo] Warning: Jython dependencies were not resolved.
checkNetRexx:
checkRhino:
checkXalan:
compile:
[javac] Compiling 2 source files to
/sw/src/fink.build/jakarta-bsf-2.3.0-3/bsf-2.3.0/src/bsf/build/classes
[javac]
[javac] WARNING
[javac]
[javac] The -source switch defaults to 1.5 in JDK 1.5 and 1.6.
[javac] If you specify -target 1.4 you now must also specify -source 1.4.
[javac] Ant will implicitly add -source 1.4 for you. Please change your
build file.
[javac]
/sw/src/fink.build/jakarta-bsf-2.3.0-3/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/RhinoEngineDebugger.java:77:
org.apache.bsf.engines.javascript.RhinoEngineDebugger is not abstract and does
not override abstract method
getFrame(org.mozilla.javascript.Context,org.mozilla.javascript.debug.DebuggableScript)
in org.mozilla.javascript.debug.Debugger
[javac] public class RhinoEngineDebugger implements Debugger {
[javac] ^
[javac]
/sw/src/fink.build/jakarta-bsf-2.3.0-3/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/RhinoEngineDebugger.java:476:
org.mozilla.javascript.NativeError is not public in org.mozilla.javascript;
cannot be accessed from outside package
[javac] NativeError error;
[javac] ^
[javac]
/sw/src/fink.build/jakarta-bsf-2.3.0-3/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/RhinoEngineDebugger.java:498:
org.mozilla.javascript.NativeError is not public in org.mozilla.javascript;
cannot be accessed from outside package
[javac] error = (NativeError)exceptionThrown;
[javac] ^
[javac]
/sw/src/fink.build/jakarta-bsf-2.3.0-3/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/CompilationUnit.java:124:
cannot find symbol
[javac] symbol : method getScriptable()
[javac] location: interface org.mozilla.javascript.debug.DebuggableScript
[javac] Scriptable scriptable = dbgScript.getScriptable();
[javac] ^
[javac]
/sw/src/fink.build/jakarta-bsf-2.3.0-3/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/CompilationUnit.java:157:
cannot find symbol
[javac] symbol : method placeBreakpoint(int)
[javac] location: interface org.mozilla.javascript.debug.DebuggableScript
[javac] m_dbgScript.placeBreakpoint(lineno);
[javac] ^
[javac]
/sw/src/fink.build/jakarta-bsf-2.3.0-3/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/CompilationUnit.java:167:
cannot find symbol
[javac] symbol : method removeBreakpoint(int)
[javac] location: interface org.mozilla.javascript.debug.DebuggableScript
[javac] m_dbgScript.removeBreakpoint(lineno);
[javac] ^
[javac] 6 errors
BUILD FAILED
/sw/src/fink.build/jakarta-bsf-2.3.0-3/bsf-2.3.0/src/build.xml:143: The
following error occurred while executing this line:
/sw/src/fink.build/jakarta-bsf-2.3.0-3/bsf-2.3.0/src/bsf/build.xml:211: Compile
failed; see the compiler error output for details.
Total time: 1 second
### execution of /var/tmp/tmp.1.L2DeCo failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-jakarta-bsf-2.3.0-3
(Reading database ... 20621 files and directories currently installed.)
Removing fink-buildlock-jakarta-bsf-2.3.0-3 ...
Failed: phase compiling: jakarta-bsf-2.3.0-3 failed
[ snip ]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users