Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179927 - dev-java/xerces migrated versions stabilization request
Summary: dev-java/xerces migrated versions stabilization request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: STABLEREQ
: 196881 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-26 22:14 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2007-11-15 01:13 UTC (History)
2 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 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-05-26 22:14:39 UTC
Please stabilize the following versions with different SLOTs. It's all generation-2 migrations and/or split-ant migrations.

dev-java/xjavac-20041208-r5 (used to build xerces, now with split-ant way)
dev-java/xerces:
1.3.1-r2 (except ppc64)
2.3.0-r3 (except ppc64)
2.6.2-r4
Comment 1 Markus Meier gentoo-dev 2007-05-27 15:02:10 UTC
on x86:

dev-java/xjavac-20041208-r5
1. emerges
2. passes collision test
3. the mentioned xerces packages emerge with it

dev-java/xerces-1.3.1-r2  USE="doc source"
1. emerges, please note:
   >>> Install xerces-1.3.1-r2 into /var/tmp/portage/dev-java/xerces-1.3.1-r2/image/ category dev-java
   zip error: Nothing to do! (/var/tmp/portage/dev-java/xerces-1.3.1-r2/temp/xerces-src.zip)
2. passes collision test
3. net-p2p/limewire-4.12.6-r1 emerges with it

dev-java/xerces-2.3.0-r3  USE="doc examples source"
1. emerges
2. passes collision test
(no stable reverse deps w/o fetch restrictions =))

dev-java/xerces-2.6.2-r4  USE="doc examples source"
1. emerges
2. passes collision test
(no stable reverse deps)


Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.20.12 i686)
=================================================================
System uname: 2.6.20.12 i686 AMD Athlon(TM) XP1800+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 26 May 2007 08:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://gentoo.inode.at/"
LANG="en_GB.utf8"
LINGUAS="en de en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/normal"
SYNC="rsync://192.168.2.1/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl alsa apache2 avahi berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus divx4linux dri dts dvd dvdr dvdread eds emboss evo exif fam ffmpeg firefox fortran gdbm gif gnome gphoto2 gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kerberos ldap libg++ mad midi mikmod mmx mmxext mono mp3 mpeg mudflap ncurses network nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl seamonkey session spell spl ssl svg tcpd test tetex tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis win32codecs x86 xine xinerama xml xorg xprint xv xvid zlib" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LINGUAS="en de en_GB" USERLAND="GNU" VIDEO_CARDS="nv none"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-05-27 16:21:24 UTC
(In reply to comment #1)
>    zip error: Nothing to do!

fixed
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2007-05-30 08:50:02 UTC
Thanks Markus, x86 stable
Comment 4 nixnut (RETIRED) gentoo-dev 2007-06-01 18:38:50 UTC
breakage on my ppc:

   [xjavac] /var/tmp/portage/dev-java/xerces-2.3.0-r3/work/xerces-2_3_0/build/src/org/apache/wml/dom/WMLTemplateElementImpl.java:66: org.apache.wml.dom.WMLTemplfo() in org.w3c.dom.Element
ateElementImpl is not abstract and does not override abstract method getSchemaTypeInfo() in org.w3c.dom.Element
   [xjavac] public class WMLTemplateElementImpl extends WMLElementImpl implements WMLTemplateElement {
   [xjavac]        ^
   [xjavac] /var/tmp/portage/dev-java/xerces-2.3.0-r3/work/xerces-2_3_0/build/src/org/apache/wml/dom/WMLTimerElementImpl.java:66: org.apache.wml.dom.WMLTimerElementImpl is not abstract and does not override abstract method getSchemaTypeInfo() in org.w3c.dom.Element
   [xjavac] public class WMLTimerElementImpl extends WMLElementImpl implements WMLTimerElement {
   [xjavac]        ^
   [xjavac] 100 errors

BUILD FAILED
/var/tmp/portage/dev-java/xerces-2.3.0-r3/work/xerces-2_3_0/build.xml:172: Compile failed; see the compiler error output for details.

Total time: 25 seconds

!!! ERROR: dev-java/xerces-2.3.0-r3 failed.

same for dev-java/xerces-2.6.2-r4
xjavac and dev-java/xerces-1.3.1-r2 emerged without problems.
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2007-06-01 18:45:43 UTC
(In reply to comment #4)
> breakage on my ppc:
> 

ibm-jdk-bin-1.4 or 1.5?
Comment 6 nixnut (RETIRED) gentoo-dev 2007-06-01 18:55:16 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > breakage on my ppc:
> > 
> 
> ibm-jdk-bin-1.4 or 1.5?
> 

 # java-config -L
The following VMs are available for generation-2:
1)      IBM JDK 1.4.2.7 [ibm-jdk-bin-1.4]
*)      IBM JDK 1.5.0.4 [ibm-jdk-bin-1.5]
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2007-06-01 18:59:19 UTC
(In reply to comment #6)
> 
>  # java-config -L
> The following VMs are available for generation-2:
> 1)      IBM JDK 1.4.2.7 [ibm-jdk-bin-1.4]
> *)      IBM JDK 1.5.0.4 [ibm-jdk-bin-1.5]
> 

The system vm is not necessarily used to build your packages as the jdk.conf controls that but testing both it's easy to find out which failes.
Comment 8 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-06-01 19:55:23 UTC
easiest way is JAVA_PKG_FORCE_VM=ibm-jdk-bin-1.4 ebuild/emerge foo... and similarly with 1.5
Comment 9 nixnut (RETIRED) gentoo-dev 2007-06-01 20:30:58 UTC
if you mean /etc/java-config-2/build/jdk.conf, that file has no uncommented lines.

2.3.0-r3 and 2.6.2-r4 emerge fine with JAVA_PKG_FORCE_VM=ibm-jdk-bin-1.4 
Comment 10 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-06-01 21:10:01 UTC
Reproduced fail with ibm-jdk-bin-1.5. Looks similar to bug 142692. There we added xjavac patch that fixed 2.7.1+ with this JDK (still works there). Could be that the patch broke older versions and there can't be one xjavac to work with all xerces versions?
Comment 11 Simon Cooper 2007-06-21 21:50:56 UTC
amd64:

xjavac-20041208-r5 compiles fine and all xerces slots (including SLOT 2) compile against it without error

All 3 xerces versions compile without errors or collisions, xerces-1.3.1-r2 compiles against limewire without errors
Comment 12 Simon Cooper 2007-06-21 21:51:49 UTC
Portage 2.1.2.7 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.21-gentoo-r3 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-56
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 21 Jun 2007 01:47:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache collision-protect distlocks fixpackages metadata-transfer multilib-strict sandbox sfperms strict test userpriv"
GENTOO_MIRRORS="http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo http://gentoo.virginmedia.com http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/portage/local/layman/sunrise /usr/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d a52 aac acpi alsa amd64 audiofile berkdb bitmap-fonts branding bzip2 cairo cddb cdparanoia cdr cli cracklib cups curl dbus dri dts dvb dvd dvdr dvdread emboss encode evo exif expat fam ffmpeg firefox foomaticdb gdbm gif glitz gs gtk guile hal iconv icu imagemagick imlib isdnlog ithreads java javascript jpeg libg++ libwww lirc logrotate mad midi mmap mmx mmxext mp3 msn mudflap ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session sndfile spl sse sse2 ssl svg symlink tcl tcpd test threads tiff tk truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis x264 xcb xml xorg xosd xscreensaver xv zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics ps2mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" LIRC_DEVICES="mceusb2" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 13 Christoph Mende (RETIRED) gentoo-dev 2007-06-23 14:17:48 UTC
amd64 done, thanks Simon
Comment 14 Markus Rothe (RETIRED) gentoo-dev 2007-08-14 18:35:48 UTC
stable on ppc64 (by tgall)
Comment 15 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-10-18 12:48:07 UTC
dev-java/xerces-2.6.2-r4 and dev-java/xerces-2.3.0-r3 fail on ppc:

   [xjavac] Compiling 614 source files to /var/tmp/portage/dev-java/xerces-2.6.2-r4/work/xerces-2_6_2/build/classes
   [xjavac] /var/tmp/portage/dev-java/xerces-2.6.2-r4/work/xerces-2_6_2/build/src/org/apache/xerces/dom/ElementImpl.java:95: org.apache.xerces.dom.ElementImpl is not abstract and does not override abstract method setUserData(java.lang.String,java.lang.Object,org.w3c.dom.UserDataHandler) in org.w3c.dom.Node
   [xjavac] public class ElementImpl
   [xjavac]        ^
   [xjavac] /var/tmp/portage/dev-java/xerces-2.6.2-r4/work/xerces-2_6_2/build/src/org/apache/xerces/dom/ElementImpl.java:1078: getSchemaTypeInfo() in org.apache.xerces.dom.ElementImpl cannot implement getSchemaTypeInfo() in org.w3c.dom.Element; attempting to use incompatible return type
   [xjavac] found   : org.apache.xerces.dom3.TypeInfo
   [xjavac] required: org.w3c.dom.TypeInfo
   [xjavac]     public TypeInfo getSchemaTypeInfo(){
   [xjavac]                     ^
   [xjavac] /var/tmp/portage/dev-java/xerces-2.6.2-r4/work/xerces-2_6_2/build/src/org/apache/html/dom/HTMLElementImpl.java:84: org.apache.html.dom.HTMLElementImpl is not abstract and does not override abstract method getSchemaTypeInfo() in org.w3c.dom.Element
   [xjavac] public class HTMLElementImpl
   [xjavac]        ^
   [xjavac] /var/tmp/portage/dev-java/xerces-2.6.2-r4/work/xerces-2_6_2/build/src/org/apache/html/dom/HTMLAnchorElementImpl.java:69: org.apache.html.dom.HTMLAnchorElementImpl is not abstract and does not override abstract method getSchemaTypeInfo() in org.w3c.dom.Element
   [xjavac] public class HTMLAnchorElementImpl
   [xjavac]        ^

and so on about abstract classes, used JDK is ibm-jdk-bin-1.5 on ppc.

xjavac and xerces-1.3.1-r2 marked stable, xerces-2.3.0-r3 and xerces-2.6.2-r4 are waiting for fix of that build failure. Maybe set =virtual/jdk-1.4* in 2.3.0 and 2.6.2 ?
Comment 16 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-10-24 06:41:05 UTC
*** Bug 196881 has been marked as a duplicate of this bug. ***
Comment 17 Petteri Räty (RETIRED) gentoo-dev 2007-11-15 01:13:22 UTC
(In reply to comment #15)
> xjavac and xerces-1.3.1-r2 marked stable, xerces-2.3.0-r3 and xerces-2.6.2-r4
> are waiting for fix of that build failure. Maybe set =virtual/jdk-1.4* in 2.3.0
> and 2.6.2 ?
> 

slot 2.3 is only used by dev-java/openjms and it's not keyworded for ppc so I just dropped ppc keywords from 2.3 and slot 2.6 is not used by anything in the main tree so I moved that slot to the java overlay. That means we are done here.