Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55379 - Build errors with Subversion 1.0.4-rc1
Summary: Build errors with Subversion 1.0.4-rc1
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-27 19:38 UTC by Calvin Spealman
Modified: 2004-07-01 12:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Calvin Spealman 2004-06-27 19:38:28 UTC
Subversion 1.0.4-rc1 gets errors building the Java bindings. It seems to be a badly named path.

Reproducible: Always
Steps to Reproduce:
1. emerge subversion
Actual Results:  
make[1]: Entering directory 
`/var/tmp/portage/subversion-1.0.4-r1/work/subversion-1.0.4/subversion/bindings/java/javahl/src' 
CLASSPATH=../cls:./../cls:$CLASSPATH none/bin/javac -d ../cls -g  
org/tigris/subversion/javahl/BlameCallback.java 
org/tigris/subversion/javahl/ClientException.java 
org/tigris/subversion/javahl/DirEntry.java 
org/tigris/subversion/javahl/JNIError.java 
org/tigris/subversion/javahl/LogMessage.java 
org/tigris/subversion/javahl/NodeKind.java 
org/tigris/subversion/javahl/Notify.java 
org/tigris/subversion/javahl/PromptUserPassword.java 
org/tigris/subversion/javahl/PromptUserPassword2.java 
org/tigris/subversion/javahl/PromptUserPassword3.java 
org/tigris/subversion/javahl/PropertyData.java 
org/tigris/subversion/javahl/Revision.java 
org/tigris/subversion/javahl/SVNClient.java 
org/tigris/subversion/javahl/SVNClientInterface.java 
org/tigris/subversion/javahl/SVNClientSynchronized.java 
org/tigris/subversion/javahl/Status.java 
/bin/sh: line 1: none/bin/javac: No such file or directory 
make[1]: *** [classnoinst.stamp] Error 127 
make[1]: Leaving directory 
`/var/tmp/portage/subversion-1.0.4-r1/work/subversion-1.0.4/subversion/bindings/java/javahl/src' 
make: *** [all-recursive] Error 1 
 
!!! ERROR: dev-util/subversion-1.0.4-r1 failed. 
!!! Function src_compile, Line 156, Exitcode 2 
!!! Compilation failed 
 

Expected Results:  
Subversion should be compiled and merged
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2004-07-01 07:12:10 UTC
Make sure that you have a jdk configured correctly with java-config. The none part in the javac command comes from java-config returning none instead of a path on jdk-config --jdk-home
Comment 2 Calvin Spealman 2004-07-01 07:59:54 UTC
That is a work-around, not a resolution.

I don't have a JDK installed and configured and this should not require me to stop my world update, install a java jdk, and resume the world update. Thats why we have dependancies. If you're suggestion were a valid resolution, we wouldn't have portage at all, we'd all just use the raw tarballs and wing it.

Secondly, these java bindings are not properly controlled by the java USE flag, which has no affect on if they are built or not. I don't actually care to have the java bindings: i dont need them. Thus, when i did 'USE="-java" emerge subversion" the compile should have ran smoothly, skipping the java bindings, but it doesn't.

I don't mean to be a pain in the ass, but this bug was prematurely marked resolved. It needs to be reopened and fixed properly. If I find the time, I'll fix it myself. If anyone else has the same problem and fixes it, just as well.
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2004-07-01 12:20:40 UTC
The jdk is a clear dependency for subversion, so it should be installed (what is the output of "java-config -L"? I'll check about the building of subversion with USE="-java"
Comment 4 Calvin Spealman 2004-07-01 12:26:08 UTC
Turns out i did have the blackdown-jdk installed, but i had to add it to my paths manually. This is surely not the right way for things to be.

Also, i've tried with -java and no go. The ebuild doesn't account for it.
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2004-07-01 12:57:33 UTC
Adding to the path is not necessary, please use "java-config -S" This should happen most times automatically. As another point, USE=-java works perfectly for me. Have you possibly put java in the package use flags (/etc/portage/package.use) for subversion? Alternatively remember that when continuing an ebuild (or using the ebuild command) the environment is not updated, but the retained version is used.