Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155622 - tomcat-5.5.20-r2 & deps stabilization request
Summary: tomcat-5.5.20-r2 & deps stabilization request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on: 154678 154679
Blocks:
  Show dependency tree
 
Reported: 2006-11-18 15:09 UTC by William L. Thomson Jr. (RETIRED)
Modified: 2006-11-27 20:45 UTC (History)
1 user (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 William L. Thomson Jr. (RETIRED) gentoo-dev 2006-11-18 15:09:46 UTC
Requesting stabilization of Tomcat. I have been running this version on both my development and production servers for over a month. I have been running past versions of this ebuild for over a year. It's very refined, and way better than the current stable Tomcat. Although 6.0 will be out soon. 5.0.x is no longer actively developed or bugs fixed. I might remove the rest of those from tree at the earliest possible chance. Also Tomcat 5.0.27 should not be marked stable. It has bug fixes address in 5.0.28. 5.5 and 5.0 are slotted. I might file a stabilization bug for 5.0.28 as well. But I would like to see everything < 5.5.20 be gone.

Tomcat also has a decent amount of deps. Some stable, some not. I was going to hold off on requesting stabilization till I filed bugs on all the deps. However I have not had time for that thus far. Not sure when I will. Likely the only way it will get stable is with a team effort. So not trying to dump my work on others, but really need help with stabilizing all the deps. Most of which are packages I don't really touch or know much about. Beyond the ebuild, java aspects.

Thanks, sorry for the length.
Comment 1 William L. Thomson Jr. (RETIRED) gentoo-dev 2006-11-18 19:39:56 UTC
I believe these are the dependencies that need to be stabilized for Tomcat on x86

dev-java/mx4j-3*
dev-java/hessian-3.0.8*
dev-java/caucho-services-3.0.8*
dev-java/burlap-3.0*
dev-java/gnu-javamail-1*
dev-java/gnu-classpath-inetlib-1.0*
dev-java/jessie
dev-java/commons-digester-1.7

amd64 requires a few more

dev-java/jaxen-1.0
dev-java/sun-jaf
dev-java/sun-javamail

Hope that helps some


Comment 2 Ben 2006-11-18 21:47:12 UTC
I think this ebuild still needs some more work... or Tomcat needs some new use flags or something. 

This is what portage wants to install to go from Tomcat-5.0.27 to Tomcat-5.5.20:

Calculating dependencies... done!
[blocks B     ] <dev-java/ant-tasks-1.6.5 (is blocking dev-java/ant-core-1.6.5-r14)
[ebuild  N    ] dev-java/javatoolkit-0.1.9-r1  20 kB 
[ebuild     U ] dev-java/commons-pool-1.2-r2 [1.1] USE="doc -junit (-jikes%)" 263 kB 
[ebuild  N    ] dev-java/xml-commons-external-1.3.02-r1  USE="doc -source" 1,031 kB 
[ebuild  N    ] dev-java/servletapi-2.4-r4  USE="doc -source" 4,181 kB 
[ebuild  N    ] dev-java/saxpath-1.0-r2  USE="doc -source -test" 2,115 kB 
[ebuild  N    ] dev-java/jdom-1.0_beta9-r2  USE="doc -source" 3,337 kB 
[ebuild  N    ] dev-java/jaxen-1.0-r1  USE="doc -junit -source" 3,120 kB 
[ebuild  N    ] dev-java/eclipse-ecj-3.1-r13  USE="doc" 530 kB 
[ebuild  N    ] dev-java/commons-io-1.2  USE="doc -source" 200 kB 
[ebuild  N    ] dev-java/portletapi-1.0  USE="doc -source" 30,583 kB 
[ebuild  N    ] dev-java/servletapi-2.3-r3  USE="doc -source" 124 kB 
[ebuild  N    ] dev-java/commons-fileupload-1.1.1  USE="doc -source" 95 kB 
[ebuild  N    ] dev-java/avalon-logkit-1.2-r2  USE="doc -javamail -jms -source" 233 kB 
[ebuild  N    ] dev-java/commons-codec-1.3-r1  USE="doc -source" 86 kB 
[ebuild  N    ] dev-java/commons-httpclient-3.0.1  USE="doc -examples -source -test" 1,658 kB 
[ebuild  N F  ] dev-java/sun-jaf-bin-1.1  USE="doc" 371 kB 
[ebuild  N F  ] dev-java/sun-javamail-bin-1.4  USE="doc" 2,390 kB 
[ebuild  N    ] dev-java/commons-discovery-0.2-r3  USE="doc -junit -source" 71 kB 
[ebuild  N    ] dev-java/bsf-2.3.0-r3  USE="doc -jython -rhino -source" 1,021 kB 
[ebuild  N    ] dev-java/commons-httpclient-2.0.2-r1  USE="doc -source" 1,414 kB 
[ebuild  N    ] dev-java/wsdl4j-1.5.1-r1  USE="doc -source" 347 kB 
[ebuild  N    ] dev-java/ant-owanttask-1.1-r11  9 kB 
[ebuild  N    ] dev-java/asm-1.4.3-r3  USE="doc -source" 132 kB 
[ebuild  N    ] dev-java/junitperf-1.9.1-r1  USE="doc -source -test" 108 kB 
[ebuild  N    ] dev-java/jrexx-1.1.1-r1  USE="doc -source" 61 kB 
[ebuild  N    ] dev-java/trove-1.0.2-r1  USE="doc -source" 777 kB 
[ebuild  N    ] dev-java/qdox-20050104-r1  USE="doc -source" 34 kB 
[ebuild  N    ] dev-java/asm-1.5.2-r2  USE="doc -source" 145 kB 
[ebuild  N    ] dev-java/javassist-2.6-r1  USE="doc -source" 1,116 kB 
[ebuild  N    ] dev-java/concurrent-util-1.3.4-r1  USE="doc -source" 133 kB 
[ebuild  N    ] dev-java/aspectwerkz-2.0_rc2-r2  USE="-java5 -source" 9,530 kB 
[ebuild  N    ] dev-java/cglib-2.0.2-r2  USE="doc -source" 435 kB 
[ebuild  NS   ] dev-java/xerces-1.3.1-r2  USE="doc -source" 879 kB 
[ebuild  N    ] dev-java/jakarta-regexp-1.3-r3  USE="doc -source" 124 kB 
[ebuild  N    ] dev-libs/nspr-4.6.3-r1  USE="ipv6 -debug" 1,271 kB 
[ebuild  N    ] app-arch/zip-2.32  USE="crypt" 788 kB 
[ebuild  N    ] dev-libs/nss-3.11.3-r1  3,598 kB 
[ebuild  N    ] dev-java/jss-3.4-r1  470 kB 
[ebuild  N    ] dev-java/ldapsdk-4.1.7-r1  USE="doc" 1,043 kB 
[ebuild  N    ] dev-java/jdbc2-postgresql-7.3  160 kB 
[ebuild  N    ] dev-java/xml-commons-1.0_beta2-r1  USE="doc -source" 1,778 kB 
[ebuild  N    ] dev-java/gnu-jaxp-1.3-r1  USE="doc -source" 1,314 kB 
[ebuild  N    ] dev-java/adaptx-0.9.13_p20041105-r2  USE="doc -source" 325 kB 
[ebuild  N    ] dev-java/castor-0.9.9.1-r1  USE="doc postgres -source" 6,635 kB 
[ebuild  N F  ] dev-java/sun-jimi-1.0-r2  USE="doc" 3,790 kB 
[ebuild  N    ] www-servers/axis-1.2_rc2  USE="doc -debug" 9,656 kB 
[ebuild  N    ] dev-java/gnu-crypto-2.0.1-r2  USE="doc -source" 3,804 kB 
[ebuild  N    ] dev-java/jessie-1.0.0-r2  USE="doc" 855 kB 
[ebuild  N    ] dev-java/gnu-classpath-inetlib-1.0-r2  USE="doc" 147 kB 
[ebuild  N    ] dev-java/gnu-jaf-1.0-r2  USE="doc -source" 142 kB 
[ebuild  N    ] dev-java/gnu-javamail-1.0-r1  USE="doc" 690 kB 
[ebuild  N    ] dev-java/caucho-services-3.0.8-r1  USE="doc -source" 6 kB 
[ebuild  N    ] dev-java/hessian-3.0.8-r3  USE="doc -source" 179 kB 
[ebuild  N    ] dev-java/burlap-3.0.8-r1  USE="doc -source" 19 kB 
[ebuild  N    ] dev-java/mx4j-3.0.1-r1  USE="doc -examples -source" 607 kB 
[ebuild  N    ] dev-java/commons-launcher-0.9-r1  USE="doc -source" 40 kB 
[ebuild  N    ] dev-java/commons-digester-1.7-r2  USE="doc -examples -source -test" 232 kB 
[ebuild  N F  ] dev-java/sun-jmx-1.2.1-r2  USE="doc -examples -source" 2,126 kB 
[ebuild  N    ] dev-java/commons-modeler-1.1-r1  USE="doc -source" 90 kB 
[ebuild  N    ] dev-java/xjavac-20041208-r4  1 kB 
[ebuild  N    ] dev-java/xml-commons-resolver-1.1-r1  USE="doc -source" 225 kB 
[ebuild     U ] dev-java/ant-core-1.6.5-r14 [1.6.2] USE="doc -source%" 6,136 kB 
[ebuild     U ] dev-java/xerces-2.8.1 [2.6.2-r1] USE="doc -examples% -source%" 1,651 kB 
[ebuild  NS   ] dev-java/commons-beanutils-1.7.0-r2  USE="doc -source" 252 kB 
[ebuild  N    ] dev-java/commons-daemon-1.0.1-r1  USE="doc -examples -source" 293 kB 
[ebuild     U ] dev-java/commons-dbcp-1.2.1-r1 [1.1] USE="doc -source% (-jikes%)" 565 kB 
[ebuild  N    ] dev-java/commons-el-1.0-r1  USE="-source" 62 kB 
[ebuild  N    ] dev-java/sun-jaf-1.1  USE="doc -source" 32 kB 
[ebuild  N    ] dev-java/sun-javamail-1.4  USE="doc -source" 281 kB 
[ebuild     U ] dev-java/log4j-1.2.14 [1.2.8-r1] USE="doc -javamail% -jms% -jmx% -source%" 2,706 kB 
[ebuild  NS   ] www-servers/tomcat-5.5.20-r2  USE="doc -admin -examples -java5 -source -test" 4,683 kB 


I write Java webapps for a living and I haven't even heard of half these dependencies. They are most certainly NOT needed to run your basic webapp in Tomcat. If I need one of these technologies, I'm happy to install it separately.

I will NOT use this ebuild until the dependency issues are fixed. Gentoo has only recently started to get it's shit together as far as Java goes. It is very unfortunate that the current state of the ebuild for the most popular servlet container is so unappealing that this will likely continue to drive Java devs away from Gentoo.
Comment 3 Michael Weyershäuser 2006-11-18 22:27:41 UTC
(In reply to comment #2)
And this relates in what way to the stabilization of this package?

Please keep this bug on topic, if you absolutely have to state that you think the ebuild is below standards please open a new bug. If you attach a (sane) new ebuild you might even achieve something. Randomly ranting on a bug will most likely not get you anywhere.
Comment 4 William L. Thomson Jr. (RETIRED) gentoo-dev 2006-11-18 22:40:50 UTC
First off that is a pretty hostile comment, and please watch the language. Not sure where to even begin. Seems you are not aware of allot of the changes that have taken place with Java on Gentoo over the last year.

Tomcat 5.0.27 is a binary ebuild. Not only is Tomcat a binary installed, but it installs bundled dependencies which is something we do not do. Now please understand building Tomcat from source is totally different than installing a binary Tomcat. Therefore all of the dependencies you are seeing are required to BUILD Tomcat. Any optional ones have been use flagged. If you go to emerge one of the ~arch version of 5.0.28 you will see the same.

Enabling the java5 useflag reduces a considerable amount of dependencies in 5.5.20. Since most of the dependencies come from mx4j. There has been effort to make mx4j more flexible via use flags and etc. That still being worked on, tested and etc before moving from overlay into tree. There were still complaints about struts since it's only a runtime dependency for the admin webapp. Thus the admin USE flag.

I would suggesting reading the various Gentoo Java documents on all the stuff going on. If you don't like Tomcat's dependencies you surely won't like things like Netbeans which use Tomcat as a dependency. Which we are also building from source. And there are lots of reasons to build Java stuff from source. All covered in Gentoo Java docs. Not to be discussed or debated in a stabilization bug. Take it up on the mailing list, forum or irc.

To the actual arch devs working this bug. Please disregard the hostile comments buy a user. There are many currently running this ebuild and even more that will be very pleased to see it stabilized. The only current stable version 5.0.27 is very old, fraught with bugs, and will be removed from tree entirely as soon as there is another stable Tomcat. Upstream is only recommending and supporting 5.5.20, it's the only current release version of Tomcat 5.x.
Comment 5 Markus Meier gentoo-dev 2006-11-19 05:24:04 UTC
I used these versions to compile tomcat on x86. (they should all be in portage for over a month)
=www-servers/tomcat-5.5.20-r2
=dev-java/mx4j-3.0.1-r1
=dev-java/hessian-3.0.8-r3
=dev-java/caucho-services-3.0.8-r1
=dev-java/burlap-3.0.8-r1
=dev-java/gnu-javamail-1.0-r1
=dev-java/gnu-classpath-inetlib-1.0-r2
=dev-java/jessie-1.0.0-r2
=dev-java/commons-digester-1.7-r2
=dev-java/struts-1.2.9-r1
=dev-java/commons-validator-1.1.4-r1


The following packages emerge on x86, pass collision test and test suite (if they have one)
dev-java/mx4j-3.0.1-r1  USE="-doc -examples -source"
 Please note:
  dodoc: LICENSE does not exist
  dodoc: README does not exist
dev-java/hessian-3.0.8-r3  USE="-doc -source"
dev-java/caucho-services-3.0.8-r1  USE="-doc -source"
dev-java/burlap-3.0.8-r1  USE="-doc -source"
dev-java/gnu-javamail-1.0-r1  USE="-doc"
dev-java/gnu-classpath-inetlib-1.0-r2  USE="-doc"
dev-java/jessie-1.0.0-r2  USE="-doc"
dev-java/commons-digester-1.7-r2  USE="test -doc -examples -source" 
dev-java/struts-1.2.9-r1  USE="doc examples source"
dev-java/commons-validator-1.1.4-r1  USE="doc examples source"
www-servers/tomcat-5.5.20-r2  USE="test -admin -doc -examples -java5 -source"
I also emerged tomcat with and without java5. both worked (I got localhost:8080) but didn't do any further tests.

Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18.1 i686)
=================================================================
System uname: 2.6.18.1 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 18 Nov 2006 18:00:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
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 /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://gentoo.inode.at/"
LINGUAS="en de en_GB de_CH"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 asf berkdb bitmap-fonts cairo cdr cdrom cli cracklib crypt cups dbus divx dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss encode fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kdeenablefinal kernel_linux ldap libg++ linguas_de linguas_de_CH linguas_en linguas_en_GB mad mikmod mmx mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection rtsp ruby samba sdl session smp spell spl sse sse2 sse3 ssl svg tcpd test tetex theora threads truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_fbdev video_cards_i810 video_cards_vesa vorbis win32codecs wxwindows x264 xine xml xorg xprint xv xvid zlib"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 6 Ben 2006-11-22 09:41:49 UTC
I see that I didn't properly do my research. Apologies for that. Please try to reduce dependencies wherever possible.
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-23 05:49:10 UTC
Believe it or not, tomcat purrs on x86.
Comment 8 Michael Weyershäuser 2006-11-23 09:50:14 UTC
These packages emerge fine on amd64 and seem to be working ok:
www-servers/tomcat-5.5.20-r2
dev-java/mx4j-3.0.1-r1
dev-java/hessian-3.0.8-r3
dev-java/caucho-services-3.0.8-r1
dev-java/burlap-3.0.0-r1
dev-java/gnu-javamail-1.0-r1
dev-java/gnu-classpath-inetlib-1.0-r2
dev-java/jessie-1.0.0-r2
dev-java/commons-digester-1.7
dev-java/jaxen-1.0

These are already tested in other bugs (added to dependencies):
dev-java/sun-jaf
dev-java/sun-javamail


Portage 2.1.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-suspend2-Dudebox-Edition x86_64)
=================================================================
System uname: 2.6.18-suspend2-Dudebox-Edition x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Wed, 22 Nov 2006 05:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -Os -pipe"
CHOST="x86_64-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 /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -msse3 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distcc distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage_overlay"
SYNC="rsync://server/gentoo-portage"
USE="amd64 X alsa apache2 berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gcj gdbm gif gpm gstreamer gtk gtk2 hal iconv imap input_devices_keyboard input_devices_mouse isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux libg++ mad mikmod mp3 mpeg mysql ncurses nls nptl nptlonly objc objc++ ogg oss pam pcre perl png ppds pppd python qt3 quicktime readline reflection sdl session spell spl sqlite ssl tcpd test truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_radeon vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Christophe PEREZ 2006-11-26 09:30:43 UTC
I don't understand something :
Why tomcat 5.5 install needs jdk 1.4 even with java5 USE flag ? Not directly, but its dependencies need it as dev-java/commons-collections.
Comment 10 William L. Thomson Jr. (RETIRED) gentoo-dev 2006-11-27 15:37:36 UTC
Any progress or hiccups with stabilization on amd64? Looking to remove and mask older versions ASAP. Thanks
Comment 11 Josh Nichols (RETIRED) gentoo-dev 2006-11-27 20:45:18 UTC
amd64 done. last arch, marking fixed.