Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 20712
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Dylan Carlson (RETIRED) <absinthe@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Voicu Liviu <liviu.voicu@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
xerces-2.3.0.ebuild The edited ebuild. text/plain Voicu Liviu 2003-05-09 12:05 0000 1.10 KB Details
HTMLFrameElementImpl.patch ingore it please, is duplicate of first patch patch Voicu Liviu 2003-05-09 12:06 0000 463 bytes Details | Diff
HTMLFrameElementImpl.patch First patch patch Voicu Liviu 2003-05-09 12:06 0000 463 bytes Details | Diff
HTMLIFrameElementImpl.patch Second patch patch Voicu Liviu 2003-05-09 12:08 0000 469 bytes Details | Diff
HTMLObjectElementImpl.patch Third patch patch Voicu Liviu 2003-05-09 12:09 0000 486 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 20712 depends on: Show dependency tree
Bug 20712 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-05-09 12:03 0000
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 "files" dir like this:
starshooter files # pwd
/usr/portage/dev-java/xerces/files
starshooter files # ls *.patch
HTMLFrameElementImpl.patch  HTMLIFrameElementImpl.patch  HTMLObjectElementImpl.patch

------- Comment #1 From Voicu Liviu 2003-05-09 12:05:08 0000 -------
Created an attachment (id=11726) [details]
The edited ebuild.

------- Comment #2 From Voicu Liviu 2003-05-09 12:06:25 0000 -------
Created an attachment (id=11727) [details]
First patch

------- Comment #3 From Voicu Liviu 2003-05-09 12:06:41 0000 -------
Created an attachment (id=11728) [details]
First patch

------- Comment #4 From Voicu Liviu 2003-05-09 12:08:28 0000 -------
Created an attachment (id=11729) [details]
Second patch

------- Comment #5 From Voicu Liviu 2003-05-09 12:09:04 0000 -------
Created an attachment (id=11730) [details]
Third patch

------- Comment #6 From Voicu Liviu 2003-05-09 13:28:39 0000 -------
(From update of attachment 11727 [details])
ingore it please, is duplicate of first patch

------- Comment #7 From sf 2003-05-26 01:08:07 0000 -------
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.

------- Comment #8 From sf 2003-05-26 01:12:20 0000 -------
Seems to be a duplicate of 17765, meaning the xerces code is not buggy and
needs no patch.

------- Comment #9 From Voicu Liviu 2003-05-26 01:40:49 0000 -------
Of course it is a bug!
if you knew java you could understand the error ( I hope you don'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?

------- Comment #10 From Voicu Liviu 2003-05-26 01:43:28 0000 -------
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

------- Comment #11 From Dylan Carlson (RETIRED) 2003-05-26 05:37:00 0000 -------
At first, I wasn't comfortable with the idea of patching Xerces because of a
Blackdown compile program.  However I have reviewed Voicu Liviu'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

------- Comment #12 From Voicu Liviu 2003-05-26 06:09:43 0000 -------
Great :-)
Right now there are one more package which does not compile with blackdown and I'm still hunting it,....anyway, if java team of gentoo need help and has place for one more gentoo developer I'll be hapy to assist it.

Regards,
Voicu Liviu

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug