localhost mudiller # USE="-mysql" emerge -qav open-xchange [ebuild N ] www-apps/open-xchange-0.8.2 USE="doc ssl -jikes -mysql -postgres -sieve -vhosts -webdav" Would you like to merge these packages? [Yes/No] y ... Reproducible: Always
Created attachment 111429 [details] build log
I noticed this as well and reproduced it while I was trying to install open-xchange on our server. The problem is inside the ebuild: ox_setup_tomcat() { TOMCAT_DIR=`java-config -g CATALINA_HOME` if has_version '>=www-servers/tomcat-5.0.28-r4' ; then # it is now installed to the profile-directory choosen from /etc/conf.d/tomcat-5 local PROFILE="$(sed -n "s:^PROFILE=\(.*\):\1:p" /etc/conf.d/tomcat-5)" local CATALINA_BASE="$(sed -n "s:^CATALINA_BASE=\(.*\)/$.*:\1:p" /etc/conf.d/tomcat-5)" SERVLETDIR="${CATALINA_BASE}/${PROFILE}/webapps" TOMCAT_SHARED_LIB="${CATALINA_BASE}/${PROFILE}/shared/lib" else SERVLETDIR="${TOMCAT_DIR}/webapps" TOMCAT_SHARED_LIB="${TOMCAT_DIR}/shared/lib" fi } This code is not working, TOMCAT_DIR stays empty (the other variables aren't assigned correctly either) which leads to this configure: ./configure --prefix=/usr --host=i386-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-jdbcjar= --disable-doc --disable-webdav --enable-ssl --with-servletdir=//webapps --with-jsdkjar=/common/lib/servlet-api.jar --with-mailjar=/usr/share/sun-javamail-bin/lib/mail.jar --with-activationjar=/usr/share/sun-jaf-bin/lib/activation.jar --with-jdomjar=/usr/share/jdom-1.0/lib/jdom.jar --with-xercesjar=/usr/share/xerces-2/lib/xercesImpl.jar --with-jni-dir=/opt/blackdown-jdk-1.4.2.03/include --with-runuid=tomcat --with-rungid=tomcat --with-tomcatuser=tomcat --with-htdocsdir=/usr/share/webapps/open-xchange/0.8.2/htdocs --with-cgibindir=/usr/share/webapps/open-xchange/0.8.2/hostroot/cgi-bin --sysconfdir=/etc/open-xchange --datadir=/usr/share/open-xchange --includedir=/usr/include/open-xchange --libdir=/usr/lib/open-xchange --localstatedir=/var/open-xchange As you can see, the "with-jsdkjar" path is bogus, it is missing the Tomcat home, hence the Java Compiler cannot find the servlet classes which leads to the failure. As I did not write this code, I don't know how to fix it. For the moment, I will try to replace these with hardcoded paths on my server to get it working.. Best regards, Chris
open-xchange isn't in the tree anymore, sorry.