public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
* Annoying gcj bug with extensions directory support
@ 2002-05-09  7:00 Anthony Green
  0 siblings, 0 replies; only message in thread
From: Anthony Green @ 2002-05-09  7:00 UTC (permalink / raw)
  To: rhug-rhats


When you build and install xerces from rhug, it puts the appropriate
link in the extensions directory ($prefix/share/java/ext/xerces.jar).

If you try building xerces again, you get this:

gcj -C --encoding=8859_1 --classpath=upstream/src:./upstream/src -O2 -d upstream/src upstream/src/org/apache/xerces/validators/schema/GeneralAttrCheck.java
upstream/src/org/apache/xerces/framework/XMLContentSpec.java:625: Interface `org.apache.xerces.framework.XMLContentSpec$Provider' already defined in XMLContentSpec.java:0.
       public interface Provider {
                        ^
upstream/src/org/apache/xerces/framework/XMLContentSpec.java:642: confused by earlier errors, bailing out
make: *** [upstream/src/org/apache/xerces/validators/schema/GeneralAttrCheck.class] Error 1

Removing xerces.jar from the extensions directory solves the problem.

I guess it's too late to do anything about 3.1, but this sure would be
nice to fix for 3.1.1.  I will file a PR.

I guess the work-around for now is to compile with `--extdirs='.

AG

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-09 14:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-09  7:00 Annoying gcj bug with extensions directory support Anthony Green

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).