Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56202 - dev-java/ant-optional-1.6.1-r1: JAR files empty
Summary: dev-java/ant-optional-1.6.1-r1: JAR files empty
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-06 00:19 UTC by Ernst de Haan
Modified: 2004-07-14 06:08 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 Ernst de Haan 2004-07-06 00:19:47 UTC
It seems that most of the JAR files installed by the dev-java/ant-optional-1.6.1-r1 ebuild are virtually empty:

$ ls -l /usr/share/ant-optional/lib/ | sort +4
total 716
-rw-r--r--  1 root root    354 May 17 12:41 ant-apache-bsf.jar
-rw-r--r--  1 root root    354 May 17 12:41 ant-apache-resolver.jar
-rw-r--r--  1 root root    354 May 17 12:41 ant-commons-net.jar
-rw-r--r--  1 root root    354 May 17 12:41 ant-icontract.jar
-rw-r--r--  1 root root    354 May 17 12:41 ant-jai.jar
-rw-r--r--  1 root root    354 May 17 12:41 ant-javamail.jar
-rw-r--r--  1 root root    354 May 17 12:41 ant-netrexx.jar
-rw-r--r--  1 root root    354 May 17 12:41 ant-starteam.jar
-rw-r--r--  1 root root    354 May 17 12:41 ant-stylebook.jar
-rw-r--r--  1 root root    354 May 17 12:41 ant-vaj.jar
-rw-r--r--  1 root root    354 May 17 12:41 ant-weblogic.jar
-rw-r--r--  1 root root    354 May 17 12:41 ant-xalan1.jar
-rw-r--r--  1 root root    354 May 17 12:41 ant-xslp.jar
-rw-r--r--  1 root root   2485 May 17 12:41 ant-xalan2.jar
-rw-r--r--  1 root root   3027 May 17 12:41 ant-jakarta-log4j.jar
-rw-r--r--  1 root root   3713 May 17 12:41 ant-jakarta-regexp.jar
-rw-r--r--  1 root root   3855 May 17 12:41 ant-commons-logging.jar
-rw-r--r--  1 root root   5678 May 17 12:41 ant-antlr.jar
-rw-r--r--  1 root root   6609 May 17 12:41 ant-jmf.jar
-rw-r--r--  1 root root   6832 May 17 12:41 ant-swing.jar
-rw-r--r--  1 root root   7985 May 17 12:41 ant-jdepend.jar
-rw-r--r--  1 root root   8569 May 17 12:41 ant-jakarta-bcel.jar
-rw-r--r--  1 root root  21352 May 17 12:41 ant-jsch.jar
-rw-r--r--  1 root root  48152 May 17 12:41 ant-jakarta-oro.jar
-rw-r--r--  1 root root  65974 May 17 12:41 ant-junit.jar
-rw-r--r--  1 root root  66894 May 17 12:41 ant-trax.jar
-rw-r--r--  1 root root 405459 May 17 12:41 ant-nodeps.jar
$ unzip -t /usr/share/ant-optional/lib/ant-apache-bsf.jar
Archive:  /usr/share/ant-optional/lib/ant-apache-bsf.jar
    testing: META-INF/MANIFEST.MF     OK
No errors detected in compressed data of /usr/share/ant-optional/lib/ant-apache-bsf.jar.
$ unzip -t /usr/share/ant-optional/lib/ant-commons-net.jar
Archive:  /usr/share/ant-optional/lib/ant-commons-net.jar
    testing: META-INF/MANIFEST.MF     OK
No errors detected in compressed data of /usr/share/ant-optional/lib/ant-commons-net.jar.

This is not correct. The 'ant-commons-net.jar' file, for example, should contain the file org/apache/tools/ant/taskdefs/optional/net/FTP.class.

Reproducible: Always
Steps to Reproduce:
1. Install dev-java/ant-optional-1.6.1-r1
2. unzip -t /usr/share/ant-optional/lib/ant-commons-net.jar | grep FTP
Actual Results:  
No output. 

Expected Results:  
Output: 
org/apache/tools/ant/taskdefs/optional/net/FTP.class 

# emerge info 
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 
2.6.5-gentoo-r1) 
================================================================= 
System uname: 2.6.5-gentoo-r1 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://gentoo.tiscali.nl/gentoo/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
http://ftp.gentoo.skynet.be/pub/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X alsa apm arts avi berkdb crypt cups directfb encode foomaticdb gdbm gif 
gimpprint gpm gtk2 imlib java jikes jpeg kde libg++ libwww mad mikmod mmx 
motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds 
qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xinerama xml2 
xmms xv zlib"
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2004-07-14 06:08:02 UTC
this happens when you don't have the packages isntalled ant-optional depends on
are you sure you have commons-net etc installed?
some of them should be empty, like ant-javamail (useless you enabled javamail useflag)

if you have still having this issue please reopen with more info