First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 156258
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Vlastimil Babka (Caster) <caster@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 156258 depends on: Show dependency tree
Bug 156258 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: 2006-11-25 16:03 0000
There is an issue with this bump. As the changelog says:

Migrated the DOM Level 3 serialization support onto a common serialization
codebase shared with Xalan and deprecated Xerces' native serializer.

This means the upstream binary comes with bundled serializer.jar from xalan
(xalan itself consists of xalan.jar and serializer.jar). I've already tested
building of xerces-2.9.0 and although it will build fine without serializer.jar
(uses dynamic class loading and can fallback to own implementation if xalan's
not found), I think it's better to go with upstream suggestion and let xerces
use xalan's serializer. But that's a problem, xalan depends on xerces so we
can't let xerces depend on xalan (circular dep). So here's the possible
solutions I see:

a) let xerces build without symlink to serializer.jar (as it's not needed
build-time) but somehow (extend eclass to be able to) record the dep to
package.env dependency, and put xalan in PDEPEND to ensure it will be there.

b) move serializer.jar out of xalan to separate package (xalan-serializer?) and
let both xalan and xerces depend on it.

------- Comment #1 From Josh Nichols (RETIRED) 2006-11-25 17:50:39 0000 -------
b seems like the best choice here.

------- Comment #2 From Vlastimil Babka (Caster) 2006-11-25 18:12:05 0000 -------
Okay, will implement it in migrated-overlay first and see what breaks :)

------- Comment #3 From Vlastimil Babka (Caster) 2006-12-02 18:33:59 0000 -------
initial ebuild of xalan-serializer is in the migrated overlay
need to polish the building of rest if xalan, probably fixing bug 113894 on the
way... then I can commit it together with xerces and let the testing begin

------- Comment #4 From Vlastimil Babka (Caster) 2007-01-12 21:11:51 0000 -------
Everything is now in the overlay. The split xalan:
dev-java/xalan-serializer-2.7.0
dev-java/xalan-2.7.0-r4

xerces:
dev-java/xerces-2.9.0

All of this seems pretty finished on my side, except xalan could be tweaked to
exclude serializer.jar's classes also from javadoc and sources packed by
java-pkg_dosrc.

What it definitely needs before merging to portage is extensive testing - both
of split-xalan and xerces itself. I've tried maximum backwards compatibility
for now, by recording serializer.jar into xalan's CLASSPATH in package.env like
split-mx4j does, and also creating it as symlink, should anything reference it
with absolute path. After it's merged and stabled, we can remove this backwards
compatibility in ~arch (or p.mask) revbump and test stuff to see if something
builds against the classes in serializer.jar and thus needs to be updated to
xalan-serializer DEPEND as well. Xerces needs to be tested if anything breaks
with it (and thus needs new slot, god please no).

------- Comment #5 From Vlastimil Babka (Caster) 2007-05-26 19:17:18 0000 -------
Sat in overlay for long enough. Had no probs with it. Commited to tree.

First Last Prev Next    No search results available      Search page      Enter new bug