I tried to run manually what configure does (ant -buildfile conftest.xml), and here is the output: --- Buildfile: conftest.xml BUILD FAILED Unable to load default ProjectHelper due to java.lang.NoClassDefFoundError: org/xml/sax/SAXException Total time: 1 second --- Quite cryptic, at least for me. Re-emerging ant doesn't work.
Can you show me these output. 1. java-config --list-available-vms 2. java-config --list-available-packages 3. emerge info And which version of postgresql did you try to emerge?
Ok, problem fixed by changing the VM from blackdown-jdk-1.3.1 to blackdown-jdk-1.4.1. Shouldn't java ebuilds config themselves upon installation? Well, all's well that ends well.
Why is it marked as resolved? If ebuild fails then no way it should be unmasked. And the only way to fix it I see is to make sure that the ebuild will use a proper JDK. The ebuild postgresql-7.3.3 is defenitely broken in terms of compiling and thus it must be masked with tilda (~), IMHO.
I can emerge using blackdown-jdk-1.3.1 at the moment and I think many people can emerge it. so I don't want to mask it. If it has a problem, could you show me detail reports(emerge info and java-config...)?
I had this problem when I was using the jdk-1.3. The xerces package can provide this class if necessary, but there is a caveat: you must either force an emerge of xerces-2.3.0 or modify the ebuild for xerces-2.3.0-r1 as I detailed in bug 23540.