<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>20712</bug_id>
          
          <creation_ts>2003-05-09 12:03 0000</creation_ts>
          <short_desc>!!! ERROR: dev-java/xerces-2.3.0 failed.</short_desc>
          <delta_ts>2003-05-26 06:09:43 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>liviu.voicu@gmail.com</reporter>
          <assigned_to>absinthe@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>liviu.voicu@gmail.com</who>
            <bug_when>2003-05-09 12:03:16 0000</bug_when>
            <thetext>The error is:
=============

[xjavac] /var/tmp/portage/xerces-2.3.0/work/xerces-2_3_0/build/src/org/apache/html/dom/HTMLIFrameElementImp
l.java:70: org.apache.html.dom.HTMLIFrameElementImpl should be declared abstract; it does not define getConten
tDocument() in org.apache.html.dom.HTMLIFrameElementImpl
   [xjavac] public class HTMLIFrameElementImpl
   [xjavac]        ^
   [xjavac] /var/tmp/portage/xerces-2.3.0/work/xerces-2_3_0/build/src/org/apache/html/dom/HTMLObjectElementImp
l.java:70: org.apache.html.dom.HTMLObjectElementImpl should be declared abstract; it does not define getConten
tDocument() in org.apache.html.dom.HTMLObjectElementImpl
   [xjavac] public class HTMLObjectElementImpl
   [xjavac]        ^
   [xjavac] /var/tmp/portage/xerces-2.3.0/work/xerces-2_3_0/build/src/org/apache/html/dom/HTMLFrameElementImpl
.java:70: org.apache.html.dom.HTMLFrameElementImpl should be declared abstract; it does not define getContentD
ocument() in org.apache.html.dom.HTMLFrameElementImpl
   [xjavac] public class HTMLFrameElementImpl
   [xjavac]        ^
   [xjavac] Note: Some input files use or override a deprecated API.
   [xjavac] Note: Recompile with -deprecation for details.
   [xjavac] 3 errors

BUILD FAILED


How to fix?
===========
I did 3 patches plus I have edited the ebuild of it.
Is possible to grab them from:
http://132.64.182.216/~pacman/gentoo/dev-java/xerces-2.3.0/xerces-2.3.0.ebuild
http://132.64.182.216/~pacman/gentoo/dev-java/xerces-2.3.0/HTMLFrameElementImpl.patch
http://132.64.182.216/~pacman/gentoo/dev-java/xerces-2.3.0/HTMLIFrameElementImpl.patch
http://132.64.182.216/~pacman/gentoo/dev-java/xerces-2.3.0/HTMLObjectElementImpl.patch

the patches need to be under &quot;files&quot; dir like this:
starshooter files # pwd
/usr/portage/dev-java/xerces/files
starshooter files # ls *.patch
HTMLFrameElementImpl.patch  HTMLIFrameElementImpl.patch  HTMLObjectElementImpl.patch</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liviu.voicu@gmail.com</who>
            <bug_when>2003-05-09 12:05:08 0000</bug_when>
            <thetext>Created an attachment (id=11726)
The edited ebuild.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liviu.voicu@gmail.com</who>
            <bug_when>2003-05-09 12:06:25 0000</bug_when>
            <thetext>Created an attachment (id=11727)
First patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liviu.voicu@gmail.com</who>
            <bug_when>2003-05-09 12:06:41 0000</bug_when>
            <thetext>Created an attachment (id=11728)
First patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liviu.voicu@gmail.com</who>
            <bug_when>2003-05-09 12:08:28 0000</bug_when>
            <thetext>Created an attachment (id=11729)
Second patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liviu.voicu@gmail.com</who>
            <bug_when>2003-05-09 12:09:04 0000</bug_when>
            <thetext>Created an attachment (id=11730)
Third patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liviu.voicu@gmail.com</who>
            <bug_when>2003-05-09 13:28:39 0000</bug_when>
            <thetext>(From update of attachment 11727)
ingore it please, is duplicate of first patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sf-gentoo@stephan-feder.de</who>
            <bug_when>2003-05-26 01:08:07 0000</bug_when>
            <thetext>Is this change of API allowed? Is this a confirmed xerces bug? A quick search on  the apache bugzilla yielded nothing, so could you please give the relevant bug number or a link to a mailing list thread.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sf-gentoo@stephan-feder.de</who>
            <bug_when>2003-05-26 01:12:20 0000</bug_when>
            <thetext>Seems to be a duplicate of 17765, meaning the xerces code is not buggy and needs no patch.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liviu.voicu@gmail.com</who>
            <bug_when>2003-05-26 01:40:49 0000</bug_when>
            <thetext>Of course it is a bug!
if you knew java you could understand the error ( I hope you don&apos;t get offended and maybe you do know java ) These classes should be declared ABSTRACT because the instances of these classes are used in an ABSTRACT way......................

[xjavac] /var/tmp/portage/xerces-2.3.0/work/xerces-2_3_0/build/src/org/apache/html/dom/HTMLObjectElementImp
l.java:70: org.apache.html.dom.HTMLObjectElementImpl should be declared abstract;
it does not define getConten

[xjavac] /var/tmp/portage/xerces-2.3.0/work/xerces-2_3_0/build/src/org/apache/html/dom/HTMLFrameElementImpl
.java:70: org.apache.html.dom.HTMLFrameElementImpl should be declared abstract; it
does not define getContentD


See?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liviu.voicu@gmail.com</who>
            <bug_when>2003-05-26 01:43:28 0000</bug_when>
            <thetext>Ok, I have read the bug number you gave me so why not use these patches for blackdown?
Anyway, to be correct java code patches must be applyed.
Is possible to attach these comments to bug 17765? I want to know the oppinion of the other people.
Regards</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>absinthe@gentoo.org</who>
            <bug_when>2003-05-26 05:37:00 0000</bug_when>
            <thetext>At first, I wasn&apos;t comfortable with the idea of patching Xerces because of a Blackdown compile program.  However I have reviewed Voicu Liviu&apos;s patchset and have tested Xerces across Blackdown, and the things that depend on Xerces at runtime (including my own applications) ... and all appears to be sane.  

My thanks to Voicu for submitting this fix.  

xerces-2.3.0-r1 is in the tree. Cheers</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liviu.voicu@gmail.com</who>
            <bug_when>2003-05-26 06:09:43 0000</bug_when>
            <thetext>Great :-)
Right now there are one more package which does not compile with blackdown and I&apos;m still hunting it,....anyway, if java team of gentoo need help and has place for one more gentoo developer I&apos;ll be hapy to assist it.

Regards,
Voicu Liviu</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>11726</attachid>
            <date>2003-05-09 12:05 0000</date>
            <desc>The edited ebuild.</desc>
            <filename>xerces-2.3.0.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDAzIEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogL2hvbWUvY3Zzcm9vdC9nZW50b28teDg2L2Rldi1qYXZhL3hlcmNlcy94ZXJj
ZXMtMi4zLjAuZWJ1aWxkLHYgMS4zIDIwMDMvMDQvMDYgMDg6MTk6MjcgYWJzaW50aGUgRXhwICQK
ClM9JHtXT1JLRElSfS94ZXJjZXMtJHtQVi8vLi9ffQpERVNDUklQVElPTj0iVGhlIG5leHQgZ2Vu
ZXJhdGlvbiBvZiBoaWdoIHBlcmZvcm1hbmNlLCBmdWxseSBjb21wbGlhbnQgWE1MIHBhcnNlcnMg
aW4gdGhlIEFwYWNoZSBYZXJjZXMgZmFtaWx5IgpTUkNfVVJJPSJodHRwOi8veG1sLmFwYWNoZS5v
cmcvZGlzdC94ZXJjZXMtai9YZXJjZXMtSi1zcmMuJHtQVn0udGFyLmd6CglodHRwOi8veG1sLmFw
YWNoZS5vcmcvZGlzdC94ZXJjZXMtai9YZXJjZXMtSi10b29scy4ke1BWfS50YXIuZ3oiCkhPTUVQ
QUdFPSJodHRwOi8veG1sLmFwYWNoZS5vcmcveGVyY2VzMi1qL2luZGV4Lmh0bWwiCkRFUEVORD0i
Pj12aXJ0dWFsL2pkay0xLjMiClJERVBFTkQ9Ij49dmlydHVhbC9qZGstMS4zIgpMSUNFTlNFPSJB
cGFjaGUtMS4xIgpTTE9UPSIwIgpLRVlXT1JEUz0ieDg2IHBwYyBzcGFyYyIKSVVTRT0iIgoKc3Jj
X3VucGFjaygpIHsKCXVucGFjayAke0F9CgllcGF0Y2ggJHtGSUxFU0RJUn0vSFRNTEZyYW1lRWxl
bWVudEltcGwucGF0Y2gKCWVwYXRjaCAke0ZJTEVTRElSfS9IVE1MT2JqZWN0RWxlbWVudEltcGwu
cGF0Y2gKCWVwYXRjaCAke0ZJTEVTRElSfS9IVE1MSUZyYW1lRWxlbWVudEltcGwucGF0Y2gKCW12
IHRvb2xzICR7U30KfQoKc3JjX2NvbXBpbGUoKSB7CglzaCBidWlsZC5zaCBqYXJzIGphdmFkb2Nz
IHx8IGRpZQp9CgpzcmNfaW5zdGFsbCAoKSB7Cglkb2phciBidWlsZC94Ki5qYXIKCWRvZG9jIFRP
RE8gU1RBVFVTIFJFQURNRSBMSUNFTlNFIElTU1VFUyAKCWRvaHRtbCBSZWFkbWUuaHRtbAoKCWRv
ZGlyIC91c3Ivc2hhcmUvZG9jLyR7UH0KCWNwIC1hIHNhbXBsZXMgJHtEfS91c3Ivc2hhcmUvZG9j
LyR7UH0KCWRvaHRtbCAtciBidWlsZC9kb2NzL2phdmFkb2NzCn0K
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>11727</attachid>
            <date>2003-05-09 12:06 0000</date>
            <desc>ingore it please, is duplicate of first patch</desc>
            <filename>HTMLFrameElementImpl.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHhlcmNlcy0yXzNfMC9zcmMvb3JnL2FwYWNoZS9odG1sL2RvbS9IVE1MRnJhbWVFbGVtZW50
SW1wbC5qYXZhCTIwMDMtMDUtMDkgMTQ6MTU6MDQuMDAwMDAwMDAwICswMzAwCisrKyB4ZXJjZXMt
Ml8zXzAvc3JjL29yZy9hcGFjaGUvaHRtbC9kb20vSFRNTEZyYW1lRWxlbWVudEltcGwuamF2YS5u
ZXcJMjAwMy0wNS0wOSAxNDoxNDo1Ni4wMDAwMDAwMDAgKzAzMDAKQEAgLTY3LDcgKzY3LDcgQEAK
ICAqIEBzZWUgb3JnLnczYy5kb20uaHRtbC5IVE1MRnJhbWVFbGVtZW50CiAgKiBAc2VlIG9yZy5h
cGFjaGUueGVyY2VzLmRvbS5FbGVtZW50SW1wbAogICovCi1wdWJsaWMgY2xhc3MgSFRNTEZyYW1l
RWxlbWVudEltcGwKK3B1YmxpYyBhYnN0cmFjdCBjbGFzcyBIVE1MRnJhbWVFbGVtZW50SW1wbAog
ICAgIGV4dGVuZHMgSFRNTEVsZW1lbnRJbXBsCiAgICAgaW1wbGVtZW50cyBIVE1MRnJhbWVFbGVt
ZW50CiB7Cg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>11728</attachid>
            <date>2003-05-09 12:06 0000</date>
            <desc>First patch</desc>
            <filename>HTMLFrameElementImpl.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHhlcmNlcy0yXzNfMC9zcmMvb3JnL2FwYWNoZS9odG1sL2RvbS9IVE1MRnJhbWVFbGVtZW50
SW1wbC5qYXZhCTIwMDMtMDUtMDkgMTQ6MTU6MDQuMDAwMDAwMDAwICswMzAwCisrKyB4ZXJjZXMt
Ml8zXzAvc3JjL29yZy9hcGFjaGUvaHRtbC9kb20vSFRNTEZyYW1lRWxlbWVudEltcGwuamF2YS5u
ZXcJMjAwMy0wNS0wOSAxNDoxNDo1Ni4wMDAwMDAwMDAgKzAzMDAKQEAgLTY3LDcgKzY3LDcgQEAK
ICAqIEBzZWUgb3JnLnczYy5kb20uaHRtbC5IVE1MRnJhbWVFbGVtZW50CiAgKiBAc2VlIG9yZy5h
cGFjaGUueGVyY2VzLmRvbS5FbGVtZW50SW1wbAogICovCi1wdWJsaWMgY2xhc3MgSFRNTEZyYW1l
RWxlbWVudEltcGwKK3B1YmxpYyBhYnN0cmFjdCBjbGFzcyBIVE1MRnJhbWVFbGVtZW50SW1wbAog
ICAgIGV4dGVuZHMgSFRNTEVsZW1lbnRJbXBsCiAgICAgaW1wbGVtZW50cyBIVE1MRnJhbWVFbGVt
ZW50CiB7Cg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>11729</attachid>
            <date>2003-05-09 12:08 0000</date>
            <desc>Second patch</desc>
            <filename>HTMLIFrameElementImpl.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHhlcmNlcy0yXzNfMC9zcmMvb3JnL2FwYWNoZS9odG1sL2RvbS9IVE1MSUZyYW1lRWxlbWVu
dEltcGwuamF2YQkyMDAzLTA1LTA5IDE0OjE0OjQ1LjAwMDAwMDAwMCArMDMwMAorKysgeGVyY2Vz
LTJfM18wL3NyYy9vcmcvYXBhY2hlL2h0bWwvZG9tL0hUTUxJRnJhbWVFbGVtZW50SW1wbC5qYXZh
Lm5ldwkyMDAzLTA1LTA5IDE0OjE0OjM2LjAwMDAwMDAwMCArMDMwMApAQCAtNjcsNyArNjcsNyBA
QAogICogQHNlZSBvcmcudzNjLmRvbS5odG1sLkhUTUxJRnJhbWVFbGVtZW50CiAgKiBAc2VlIG9y
Zy5hcGFjaGUueGVyY2VzLmRvbS5FbGVtZW50SW1wbAogICovCi1wdWJsaWMgY2xhc3MgSFRNTElG
cmFtZUVsZW1lbnRJbXBsCitwdWJsaWMgYWJzdHJhY3QgY2xhc3MgSFRNTElGcmFtZUVsZW1lbnRJ
bXBsCiAgICAgZXh0ZW5kcyBIVE1MRWxlbWVudEltcGwKICAgICBpbXBsZW1lbnRzIEhUTUxJRnJh
bWVFbGVtZW50CiB7Cg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>11730</attachid>
            <date>2003-05-09 12:09 0000</date>
            <desc>Third patch</desc>
            <filename>HTMLObjectElementImpl.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHhlcmNlcy0yXzNfMC9zcmMvb3JnL2FwYWNoZS9odG1sL2RvbS9IVE1MT2JqZWN0RWxlbWVu
dEltcGwuamF2YQkyMDAzLTA1LTA5IDE0OjE0OjI1LjAwMDAwMDAwMCArMDMwMAorKysgeGVyY2Vz
LTJfM18wL3NyYy9vcmcvYXBhY2hlL2h0bWwvZG9tL0hUTUxPYmplY3RFbGVtZW50SW1wbC5qYXZh
Lm5ldwkyMDAzLTA1LTA5IDE0OjE0OjE0LjAwMDAwMDAwMCArMDMwMApAQCAtNjcsNyArNjcsNyBA
QAogICogQHNlZSBvcmcudzNjLmRvbS5odG1sLkhUTUxPYmplY3RFbGVtZW50CiAgKiBAc2VlIG9y
Zy5hcGFjaGUueGVyY2VzLmRvbS5FbGVtZW50SW1wbAogICovCi1wdWJsaWMgY2xhc3MgSFRNTE9i
amVjdEVsZW1lbnRJbXBsCitwdWJsaWMgYWJzdHJhY3QgY2xhc3MgSFRNTE9iamVjdEVsZW1lbnRJ
bXBsCiAgICAgZXh0ZW5kcyBIVE1MRWxlbWVudEltcGwKICAgICBpbXBsZW1lbnRzIEhUTUxPYmpl
Y3RFbGVtZW50LCBIVE1MRm9ybUNvbnRyb2wKIHsK
</data>        

          </attachment>
    </bug>

</bugzilla>