Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22629 - Postgresql ebuild fails because of non-working ant
Summary: Postgresql ebuild fails because of non-working ant
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-11 12:02 UTC by Matteo Sasso
Modified: 2007-09-22 23:13 UTC (History)
3 users (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 Matteo Sasso 2003-06-11 12:02:32 UTC
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.
Comment 1 Masatomo Nakano (RETIRED) gentoo-dev 2003-06-11 18:13:42 UTC
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?
Comment 2 Matteo Sasso 2003-06-12 06:33:47 UTC
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. 
 
 
Comment 3 Axxackall 2003-06-13 09:34:14 UTC
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.
Comment 4 Masatomo Nakano (RETIRED) gentoo-dev 2003-06-13 13:01:19 UTC
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...)?
Comment 5 Simon Reynolds 2003-08-01 06:18:49 UTC
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.