I'm trying to package gridengine-sdm. I have a src.rpm here:
http://www.cora.nwra.com/~orion/gridengine-sdm-1.0u1-1.fc9.src.rpm
Build error:
cat > build_private.properties <<EOF ant.home=/usr/share/java javacc.home=/usr/share/java libs.junit.classpath=/usr/share/java/junit.jar EOF ant Buildfile: build.xml
jar:
-init.base:
init.arch.windows:
init.arch.unix:
[echo] lx-x86
init.arch:
-init.properties:
-init.macros:
init:
prepare:
[mkdir] Created dir: /builddir/build/BUILD/sdm_V10_U1_TAG/build
[mkdir] Created dir: /builddir/build/BUILD/sdm_V10_U1_TAG/dist/hedeby [mkdir] Created dir: /builddir/build/BUILD/sdm_V10_U1_TAG/build/docs [mkdir] Created dir: /builddir/build/BUILD/sdm_V10_U1_TAG/build/docs/api [mkdir] Created dir: /builddir/build/BUILD/sdm_V10_U1_TAG/dist/hedeby/lib buildtools.compile:
[mkdir] Created dir: /builddir/build/BUILD/sdm_V10_U1_TAG/build/buildtools/classes
[javac] Compiling 7 source files to /builddir/build/BUILD/sdm_V10_U1_TAG/build/buildtools/classe
s
[javac] ----------
[javac] 1. ERROR in /builddir/build/BUILD/sdm_V10_U1_TAG/util/ant/src/com/sun/grid/grm/util/ant/AntLoopTask.java (at line 36) [javac] import org.apache.tools.ant.BuildException;
[javac] ^^^^^^^^^^
[javac] The import org.apache cannot be resolved
So why isn't it finding /usr/share/java/ant.jar?
On Mon, Nov 10, 2008 at 4:20 PM, Orion Poplawski orion@cora.nwra.comwrote:
I'm trying to package gridengine-sdm. I have a src.rpm here:
http://www.cora.nwra.com/~orion/gridengine-sdm-1.0u1-1.fc9.src.rpmhttp://www.cora.nwra.com/%7Eorion/gridengine-sdm-1.0u1-1.fc9.src.rpm
I get an HTTP 404 on that URL. Regards,
Orion Poplawski wrote:
So why isn't it finding /usr/share/java/ant.jar?
Looks like upstream expects ant.jar to be in ${ant.home}/lib/ant.jar, which would be /usr/share/ant/lib/ant.jar. I've patched to ${java.home}/ant.jar. Should we have a link?
* Orion Poplawski orion@cora.nwra.com [2008-11-10 19:01]:
Orion Poplawski wrote:
So why isn't it finding /usr/share/java/ant.jar?
Looks like upstream expects ant.jar to be in ${ant.home}/lib/ant.jar, which would be /usr/share/ant/lib/ant.jar. I've patched to ${java.home}/ant.jar. Should we have a link?
If upstream ant packages things in a lib/ subdir, I'd be inclined to say yes. Maybe we should check with JPackage as to why they don't do this.
Andrew
Andrew Overholt wrote:
- Orion Poplawski orion@cora.nwra.com [2008-11-10 19:01]:
Orion Poplawski wrote:
So why isn't it finding /usr/share/java/ant.jar?
Looks like upstream expects ant.jar to be in ${ant.home}/lib/ant.jar, which would be /usr/share/ant/lib/ant.jar. I've patched to ${java.home}/ant.jar. Should we have a link?
If upstream ant packages things in a lib/ subdir, I'd be inclined to say yes. Maybe we should check with JPackage as to why they don't do this.
Andrew
I've reopened https://bugzilla.redhat.com/show_bug.cgi?id=179759
java-devel@lists.fedoraproject.org