Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91484 - some jars in sun-j2ee are broken
Summary: some jars in sun-j2ee are broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2005-05-04 13:24 UTC by Petteri Räty (RETIRED)
Modified: 2012-02-29 06:44 UTC (History)
0 users

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 Petteri Räty (RETIRED) gentoo-dev 2005-05-04 13:24:15 UTC
aria lib # jar -tf j2eetools.jar
com/
com/sun/
com/sun/enterprise/
com/sun/enterprise/tools/
com/sun/enterprise/tools/deployment/
com/sun/enterprise/tools/deployment/ui/
com/sun/enterprise/tools/deployment/ui/AboutDialog$1.class
com/sun/enterprise/tools/deployment/ui/AboutDialog$2.class
com/sun/enterprise/tools/deployment/ui/AboutDialog$3.class
com/sun/enterprise/tools/deployment/ui/AboutDialog$AboutPanel.class
com/sun/enterprise/tools/deployment/ui/AboutDialog.class
com/sun/enterprise/tools/deployment/ui/utils/
com/sun/enterprise/tools/deployment/ui/utils/UIDialog$DialogFactory.class
com/sun/enterprise/tools/deployment/ui/utils/UIDialog$DialogFactoryImpl.class
com/sun/enterprise/tools/deployment/ui/utils/UIDialog$1.class
com/sun/enterprise/tools/deployment/ui/utils/UIDialog.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledControlButtonBox$SelectionEnabledSpecifier.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledControlButtonBox.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledBox$Validator.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledBox$1.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledBox$2.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledBox$_TitleGridBagLayout.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledBox$_TitleLabel.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledBox$_TitleBorder.class
com/sun/enterprise/tools/deployment/ui/utils/Wizard$1.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledBox$3.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledBox$4.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledBox$ActionWrapper.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledBox.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledTextArea$1.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledTextArea$2.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledTextArea$PrivateTextArea.class
com/sun/enterprise/tools/deployment/ui/utils/UITitledTextArea.class
com/sun/enterprise/tools/deployment/ui/utils/InspectorPane$1.class
com/sun/enterprise/tools/deployment/ui/utils/InspectorPane$DeferredRefresh.class
com/sun/enterprise/tools/deployment/ui/utils/InspectorPane$InspectorPaneDialog.class
com/sun/enterprise/tools/deployment/ui/utils/InspectorPane$InspectorPaneOwner.class
java.util.zip.ZipException: invalid entry size (expected 513933320 but got 18733 bytes)
        at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:367)
        at java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
        at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
        at sun.tools.jar.Main.list(Main.java:744)
        at sun.tools.jar.Main.run(Main.java:192)
        at sun.tools.jar.Main.main(Main.java:904)


Reproducible: Always
Steps to Reproduce:
1.emerge sun-j2ee
2.cd /opt/sun-j2ee-1.3.1/lib
3.jar -tf j2eetools.jar

Actual Results:  
I tested this with my desktop and server. Both give the same problem. jar -xf
also fails.


aria lib # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 09:17:37)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/home/distfiles"
FEATURES="autoaddcvs autoconfig distlocks sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo
http://lame.lut.fi/linux/gentoo "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex acl acpi alsa apache2 apm avi bash-completion berkdb
bitmap-fonts bzlib cdr crypt cups curl emboss encode foomaticdb gd gdbm gif gpm
jpeg libg++ libwww mad makecheck mikmod mmx motif mp3 mpeg ncurses nls nptl
oggvorbis pam png ppds python quicktime readline ruby samba slang sse ssl tcpd
tiff truetype truetype-fonts type1-fonts unicode usb vhosts xml2 xmms zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2005-05-04 13:26:38 UTC
j2ee.jar also gives same the problem
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2005-05-04 13:34:47 UTC
I checked after src_unpack and already then they are broken.
Comment 3 Tim Ekl 2007-10-23 21:12:36 UTC
After downloading the relevant file from Sun, running 

# tar xvf j2sdkee-1_3_1-linux.tar.gz && jar tf j2sdkee1.3.1/lib/j2eetools.jar

produces the same output. This bug is UPSTREAM.
Comment 4 Tim Ekl 2007-10-25 11:27:58 UTC
This bug also exists in the Sun database: http://bugs.sun.com/view_bug.do?bug_id=4644363
Comment 5 Ralph Sennhauser (RETIRED) gentoo-dev 2012-01-28 07:45:01 UTC
# Ralph Sennhauser <sera@gentoo.org> (28 Jan 2012)
# Hopelessly outdated, contains broken jars. #91484
# Removal in 30 days.
dev-java/sun-j2ee
Comment 6 Ralph Sennhauser (RETIRED) gentoo-dev 2012-02-29 06:44:20 UTC
(In reply to comment #5)
> # Ralph Sennhauser <sera@gentoo.org> (28 Jan 2012)
> # Hopelessly outdated, contains broken jars. #91484
> # Removal in 30 days.
> dev-java/sun-j2ee

Removed the package from tree.