From owner-freebsd-java@FreeBSD.ORG Mon Dec 28 07:50:05 2009 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A0CC1065679 for ; Mon, 28 Dec 2009 07:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 511D38FC15 for ; Mon, 28 Dec 2009 07:50:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBS7o5Cf092831 for ; Mon, 28 Dec 2009 07:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBS7o51T092830; Mon, 28 Dec 2009 07:50:05 GMT (envelope-from gnats) Date: Mon, 28 Dec 2009 07:50:05 GMT Message-Id: <200912280750.nBS7o51T092830@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Brian Gardner Cc: Subject: Re: java/141919: Serious remote vulnerability in the JRE X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Brian Gardner List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 07:50:05 -0000 The following reply was made to PR java/141919; it has been noted by GNATS. From: Brian Gardner To: Romain Dalmaso Cc: freebsd-gnats-submit@freebsd.org Subject: Re: java/141919: Serious remote vulnerability in the JRE Date: Sun, 27 Dec 2009 23:46:23 -0800 I believe openjdk6-b17 fixes the problem. I haven't released it yet, although it's been tested and it's ready to ship. I'll try and get it committed later this week. The latest version of the port and instructions are available for test from here: http://www.getsnappy.com/tech-blog/freebsd-tips-tricks/upgrading-freebsd-port-java-openjdk6-from-b16-to-b17/ It sounds like the openjdk community will be releasing b18 shortly which I believe also includes some security fixes. On Dec 23, 2009, at 5:37 AM, Romain Dalmaso wrote: > >> Number: 141919 >> Category: java >> Synopsis: Serious remote vulnerability in the JRE >> Confidential: no >> Severity: critical >> Priority: high >> Responsible: freebsd-java >> State: open >> Quarter: >> Keywords: >> Date-Required: >> Class: update >> Submitter-Id: current-users >> Arrival-Date: Wed Dec 23 13:40:06 UTC 2009 >> Closed-Date: >> Last-Modified: >> Originator: Romain Dalmaso >> Release: 7.2-RELEASE >> Organization: >> Environment: >> Description: > A serious vulnerability affecting all the current Java ports allows > any potential attacker to take control of the machine remotely if it > uses a Java application dealing with the XML parser. > > The issue has been there for months, and has been fixed since Java 6 > update 15 and Java 5 update 20. So simply updating the port would > solve the issue. > > This vulnerability affects, for instance, all the Freenet nodes > running under FreeBSD : > http://freenetproject.org/news.html#xml-vuln > > More details about it : > http://www.cert.fi/en/reports/2009/vulnerability2009085.html > > Thanks for your interest. >> How-To-Repeat: > >> Fix: > > >> Release-Note: >> Audit-Trail: >> Unformatted: > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java- > unsubscribe@freebsd.org" > From owner-freebsd-java@FreeBSD.ORG Mon Dec 28 11:07:03 2009 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72EC91065672 for ; Mon, 28 Dec 2009 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 48DB08FC22 for ; Mon, 28 Dec 2009 11:07:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBSB73Tq079538 for ; Mon, 28 Dec 2009 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBSB72wB079536 for freebsd-java@FreeBSD.org; Mon, 28 Dec 2009 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 Dec 2009 11:07:02 GMT Message-Id: <200912281107.nBSB72wB079536@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 11:07:03 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o java/141919 java Serious remote vulnerability in the JRE o ports/139479 java java/linux-sun-jdk16 port doesn't work / needs update o java/138729 java java/jdk16: setting 'export AWT_TOOLKIT=MToolkit' caus o java/138728 java java/jdk16: SIGSEGV in java runtime o ports/138706 java /lib/libz.so version bump prevents java/jdk* from upgr o java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones o java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/121420 java java/jdk16: Java applet fails to find class under fire o ports/121416 java java/jdk15 can't build if BIN environment variable is o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/118496 java Eclipse packages do not work with 6.3-RC1/amd64 o ports/116841 java cannot build java/jdk16 by using java/linux-sun-jdk16 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/115773 java [request] java.nio channel selectors should use kqueue o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java o ports/113467 java Multiple "missing return value" errors building JDK on o java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections f java/105482 java diablo-jdk1.5.0/jdk-1.5.0 java.nio.Selector bug o java/97461 java Diablo JDK does not report Update level in a format su o ports/84742 java make ports/java/jdk14 use dynamic Motif librarires s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in s ports/56928 java jce-aba port should install to $JAVA_HOME/jre/lib/ext 32 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Dec 28 16:43:44 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDC7D1065670 for ; Mon, 28 Dec 2009 16:43:43 +0000 (UTC) (envelope-from fredericdelagoublaye@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 7E3528FC08 for ; Mon, 28 Dec 2009 16:43:43 +0000 (UTC) Received: by ewy26 with SMTP id 26so7507940ewy.3 for ; Mon, 28 Dec 2009 08:43:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=H7V70f5oHEvO4Av2K6tvpSG44Wvy4twU4wfVkWS51Tc=; b=vS/MRaCMSRn1LufLffv0D5Wy/rqwIyCH4wXPf9UwQk7lyXSGv+O5WC9+AhNd4rZCfC RtjNTzGJjaB6ia/5KBxvVRpvdrxDrvKC8EvCyYNdYVnJWu02Y4YNX7+NO9DhyfPdJ+zR 9DCsRvw4jmguramIIXpzdnX/dj0f7ucMSFCCk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=IIUtJQ8jZU2kE/9oX1CA2IKtsPfhklSYB0XDuiv7n2WTy9KkXzQ1U08kwULq+L41Sf rcnhGAfmghmR2fAX02H3BdtJtFwnS51tBhVS2n40PDUcV7rgfkGtcevDIKExKh7Gue6v X2B+RI3hJK1PENDjI4Fhh1FlOsOW2Lzb9tlDY= MIME-Version: 1.0 Received: by 10.213.24.25 with SMTP id t25mr17135839ebb.73.1262018615107; Mon, 28 Dec 2009 08:43:35 -0800 (PST) In-Reply-To: <32a0facf0912171319x7005bdeqb2832be9e61e9af7@mail.gmail.com> References: <32a0facf0912091523j4b28c4e6ycc4b920f374b915a@mail.gmail.com> <32a0facf0912091525h32304baay3a1cdcdd78f3e491@mail.gmail.com> <20091210025801.GA25808@osiris.chen.org.nz> <32a0facf0912092118y1bc9dd4bw2d5b9c618586f73@mail.gmail.com> <20091210081802.GA65752@osiris.chen.org.nz> <32a0facf0912171319x7005bdeqb2832be9e61e9af7@mail.gmail.com> Date: Mon, 28 Dec 2009 17:43:35 +0100 Message-ID: <32a0facf0912280843u4b00c67fp86fe3b40b230a28b@mail.gmail.com> From: Frederic de la Goublaye To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: How to install mod_jk apache22 and FreeBSD 8.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 16:43:44 -0000 can you help me ? I cannot install mod_jk for apache22 on FreeBSD 8.0 64 bits I even try with FreeBSD 7.1 64 bits and it is the same error. I want FreeBSD 8.0. Refering to my last message, it was not a SSD failure, the hard disk was check and even change, I still have the same trouble. I copy here all the installation process I have done before the error. The server was just installed with nothing one it. # cp -r /usr/share/examples/cvsup/ /usr/local/etc/cvsup/ # cd /usr/local/etc/cvsup/ # vi ports-supfile *default host=cvsup1.fr.FreeBSD.org ports-all # cvsup -g -L 2 ports-supfile # cd /usr/ports/www/apache22 # make install clean # cd /usr/ports/www/mod_jk-apache2 # make (I just leave the end of the make process) gmake[1]: Leaving directory `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/common' Making all in apache-2.0 gmake[1]: Entering directory `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/apache-2.0' /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -fno-strict-aliasing -pipe -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -I/usr/local/include -c mod_jk.c -o mod_jk.lo /usr/local/build-1/libtool --silent --mode=link cc -I/usr/local/include/apache22 -O2 -fno-strict-aliasing -pipe -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -I/usr/local/include -Wl,-L-L/usr/local/lib/mysql -Wl,-rpath=/usr/lib -Wl,/usr/local/lib -Wl,-L/usr/lib -o mod_jk.la -module -rpath /usr/local/libexec/apache22 -avoid-version mod_jk.lo ../common/jk_ajp12_worker.lo ../common/jk_connect.lo ../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo ../common/jk_pool.lo ../common/jk_worker.lo ../common/jk_ajp13_worker.lo ../common/jk_lb_worker.lo ../common/jk_sockbuf.lo ../common/jk_map.lo ../common/jk_uri_worker_map.lo ../common/jk_ajp14.lo ../common/jk_ajp14_worker.lo ../common/jk_md5.lo ../common/jk_shm.lo ../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_url.lo ../common/jk_status.lo /usr/local/lib: file not recognized: File format not recognized gmake[1]: *** [mod_jk.la] Error 1 gmake[1]: Leaving directory `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/apache-2.0' gmake: *** [all-recursive] Error 1 *** Error code 1 Stop in /usr/ports/www/mod_jk-apache2. # (the shell goes back here) From owner-freebsd-java@FreeBSD.ORG Mon Dec 28 17:55:50 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B30AF106566C for ; Mon, 28 Dec 2009 17:55:50 +0000 (UTC) (envelope-from fredericdelagoublaye@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 3FED98FC17 for ; Mon, 28 Dec 2009 17:55:50 +0000 (UTC) Received: by ewy26 with SMTP id 26so7577465ewy.3 for ; Mon, 28 Dec 2009 09:55:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Qqaz41I+bJyteGiIQEcGQsjY9IvgQ2r1HhwMSBlYu5Y=; b=O01hAr4T3jbJGT5umpap788OZybYwDM/SQSGM5ebWOpnKaxBKxaws1VCXrt/okxcbn AdQxNOCMVqZSgQqMCJa9XViMT0Td4RdcnyHMEwuqD6k9SI7pctdd9U71nBxIqaJbubZN RK9dmWCK1GGKiK1oUrV1OeckmTZesWZA4LuqM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=LIKmp3vXizBBnqwvGmGiaca8n8Eh9JVQpzJy/B+31+ysKIwJOAUNxZ9K6wxaskdGau dEN7XNkOJNpsF0nLRVwcGGXrIFSEsomzVszw+ugugBOEZkfbLLHeUO5JtrxzG6e0Rqp7 9jt5MVWfZCqIMkGFLx/nAMFyywM33vAzVt3CQ= MIME-Version: 1.0 Received: by 10.213.23.200 with SMTP id s8mr335686ebb.52.1262022943961; Mon, 28 Dec 2009 09:55:43 -0800 (PST) In-Reply-To: <32a0facf0912280843u4b00c67fp86fe3b40b230a28b@mail.gmail.com> References: <32a0facf0912091523j4b28c4e6ycc4b920f374b915a@mail.gmail.com> <32a0facf0912091525h32304baay3a1cdcdd78f3e491@mail.gmail.com> <20091210025801.GA25808@osiris.chen.org.nz> <32a0facf0912092118y1bc9dd4bw2d5b9c618586f73@mail.gmail.com> <20091210081802.GA65752@osiris.chen.org.nz> <32a0facf0912171319x7005bdeqb2832be9e61e9af7@mail.gmail.com> <32a0facf0912280843u4b00c67fp86fe3b40b230a28b@mail.gmail.com> Date: Mon, 28 Dec 2009 18:55:43 +0100 Message-ID: <32a0facf0912280955s6bcd6887mf9193a493b68773a@mail.gmail.com> From: Frederic de la Goublaye To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: How to install mod_jk apache22 and FreeBSD 8.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 17:55:50 -0000 I think there is a trouble between apache2.2 and mod_jk-apache2 because it is working with apache2 please read the commands bellow, any clue ??? how can I install apache2.2 and mod_jk ? Thanks for your attention :+) # cd /usr/ports/www/apache22 make deinstall # cd /usr/ports/www/mod_jk-apache2/ # make distclean # make package-recursive Creating package /usr/ports/www/apache20/apache-2.0.63_3.tbz # cd /usr/local/etc/apache2/ # ls Includes mime.types envvars.d mod_jk.conf.sample httpd.conf ssl.conf magic workers.properties.sample On Mon, Dec 28, 2009 at 5:43 PM, Frederic de la Goublaye wrote: > can you help me ? > > I cannot install mod_jk for apache22 on FreeBSD 8.0 64 bits > I even try with FreeBSD 7.1 64 bits and it is the same error. > > I want FreeBSD 8.0. > > Refering to my last message, it was not a SSD failure, > the hard disk was check and even change, I still have the same trouble. > > I copy here all the installation process I have done before the error. > The server was just installed with nothing one it. > > # cp -r /usr/share/examples/cvsup/ /usr/local/etc/cvsup/ > # cd /usr/local/etc/cvsup/ > # vi ports-supfile > *default host=3Dcvsup1.fr.FreeBSD.org > ports-all > # cvsup -g -L 2 ports-supfile > > # cd /usr/ports/www/apache22 > # make install clean > > # cd /usr/ports/www/mod_jk-apache2 > # make > > (I just leave the end of the make process) > > gmake[1]: Leaving directory > `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/c= ommon' > Making all in apache-2.0 > gmake[1]: Entering directory > `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/a= pache-2.0' > /usr/local/build-1/libtool --silent --mode=3Dcompile cc > -I/usr/local/include/apache22 -O2 -fno-strict-aliasing -pipe > -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix =A0-O2 > -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H > -I/usr/include -O2 -fno-strict-aliasing -pipe > -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include > -I/usr/local/include -DHAVE_APR =A0-I/usr/local/include/apr-1 > -I/usr/local/include/apr-1 -O2 -fno-strict-aliasing -pipe -O2 > -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H > -I/usr/include -I/usr/local/include =A0-c mod_jk.c -o mod_jk.lo > /usr/local/build-1/libtool --silent --mode=3Dlink cc > -I/usr/local/include/apache22 -O2 -fno-strict-aliasing -pipe > -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix =A0-O2 > -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H > -I/usr/include -O2 -fno-strict-aliasing -pipe > -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include > -I/usr/local/include -DHAVE_APR =A0-I/usr/local/include/apr-1 > -I/usr/local/include/apr-1 -O2 -fno-strict-aliasing -pipe -O2 > -fno-strict-aliasing -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H > -I/usr/include -I/usr/local/include =A0-Wl,-L-L/usr/local/lib/mysql > -Wl,-rpath=3D/usr/lib -Wl,/usr/local/lib -Wl,-L/usr/lib -o mod_jk.la > -module -rpath /usr/local/libexec/apache22 -avoid-version mod_jk.lo > ../common/jk_ajp12_worker.lo ../common/jk_connect.lo > ../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo > ../common/jk_pool.lo ../common/jk_worker.lo > ../common/jk_ajp13_worker.lo ../common/jk_lb_worker.lo > ../common/jk_sockbuf.lo ../common/jk_map.lo > ../common/jk_uri_worker_map.lo ../common/jk_ajp14.lo > ../common/jk_ajp14_worker.lo ../common/jk_md5.lo ../common/jk_shm.lo > ../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_url.lo > ../common/jk_status.lo > /usr/local/lib: file not recognized: File format not recognized > gmake[1]: *** [mod_jk.la] Error 1 > gmake[1]: Leaving directory > `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/a= pache-2.0' > gmake: *** [all-recursive] Error 1 > *** Error code 1 > > Stop in /usr/ports/www/mod_jk-apache2. > # > > (the shell goes back here) > From owner-freebsd-java@FreeBSD.ORG Tue Dec 29 09:34:38 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7DDC1065676 for ; Tue, 29 Dec 2009 09:34:38 +0000 (UTC) (envelope-from fredericdelagoublaye@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC3D8FC12 for ; Tue, 29 Dec 2009 09:34:37 +0000 (UTC) Received: by ewy26 with SMTP id 26so8149052ewy.3 for ; Tue, 29 Dec 2009 01:34:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=G6ZqNf3d1c6xBtAzGnOA2HBLtvdjvv3VnkoEBqsEcdk=; b=sDBfgfJprBzcuZ9lZpW6v0xfgCOjZh71GfXG4YZr9k8cXbEHHVslYm8awMBqwjVUez A2EtHOkpNs33MvtnldvHdQ7dI1VW5teVOSOcYoijfnHJakNkzTr9lEIjxThlvvCwagvr zSmhY7YZrw++i3t6NPNDVHHnAJCu3MasU0szY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KNM2pf7hw4GUxqxf206A2cdh4pjvLrN9vYE6eUJSqEKLTd3Mg6p9hBpTepK06f+0tW gtGdfIFQIL0/UlniXpMTGO/cF18aVewpyY6TD36EDYJ+C1Dv19AxyVAQod80T2SPrOoo s0NOqCdKGEf5do3P4rvQlem/CXFJszXX7vcB0= MIME-Version: 1.0 Received: by 10.213.2.83 with SMTP id 19mr3643660ebi.22.1262079272667; Tue, 29 Dec 2009 01:34:32 -0800 (PST) Date: Tue, 29 Dec 2009 10:34:32 +0100 Message-ID: <32a0facf0912290134s3411e5ccsd803b2bbec9de5b8@mail.gmail.com> From: Frederic de la Goublaye To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: mod-jk-apache2 make error with apache22 on FreeBSD 8.0-RELEASE X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2009 09:34:39 -0000 I cannot install mod_jk-apache2 after the installation of apache22 on FreeBSD 8.0 RELEASE Can you help me ? # cd /usr/ports/www/apache22/ # make # make install It works! # cd /usr/ports/www/mod_jk-apache2/ # make ===> Vulnerability check disabled, database not found => tomcat-connectors-1.2.28-src.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.28/. tomcat-connectors-1.2.28-src.tar.gz 100% of 1505 kB 6624 kBps ===> Extracting for mod_jk-ap2-1.2.28_1 => MD5 Checksum OK for tomcat-connectors-1.2.28-src.tar.gz. => SHA256 Checksum OK for tomcat-connectors-1.2.28-src.tar.gz. ===> Patching for mod_jk-ap2-1.2.28_1 ===> Applying FreeBSD patches for mod_jk-ap2-1.2.28_1 ===> mod_jk-ap2-1.2.28_1 depends on file: /usr/local/sbin/apxs - found ===> mod_jk-ap2-1.2.28_1 depends on executable: gmake - found ===> Configuring for mod_jk-ap2-1.2.28_1 checking build system type... amd64-portbld-freebsd8.0 checking host system type... amd64-portbld-freebsd8.0 checking target system type... amd64-portbld-freebsd8.0 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether gmake sets $(MAKE)... yes checking for test... /bin/test checking for rm... /bin/rm checking for grep... /usr/bin/grep checking for echo... /bin/echo checking for sed... /usr/bin/sed checking for cp... /bin/cp checking for mkdir... /bin/mkdir need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl APRINCLUDEDIR is -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 building connector for "apache-2.0" checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by gmake... GNU checking dependency style of cc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... cc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... none checking how to run the C++ preprocessor... c++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd8.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC checking if c++ PIC flag -fPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd8.0 ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool LIBTOOL="/usr/local/build-1/libtool --silent" checking for char... yes checking size of char... 1 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking for short... yes checking size of short... 2 checking for long double... yes checking size of long double... 16 checking for long long... yes checking size of long long... 8 checking for longlong... no checking size of longlong... 0 checking size of pid_t... 4 checking for snprintf... yes checking for vsnprintf... yes checking for flock... yes checking for setsockopt in -lsocket... no checking sys/filio.h usability... yes checking sys/filio.h presence... yes checking for sys/filio.h... yes checking whether to use SO_RCVTIMEO with setsockopt()... yes checking whether to use SO_SNDTIMEO with setsockopt()... yes checking for target platform... unix no apache given no netscape given configure: tokens in APXSLDFLAGS have been prefixed with '-Wl,' configure: creating ./config.status config.status: creating Makefile config.status: creating apache-1.3/Makefile config.status: creating apache-1.3/Makefile.apxs config.status: creating apache-2.0/Makefile config.status: creating apache-2.0/Makefile.apxs config.status: creating common/Makefile config.status: creating common/list.mk config.status: creating common/jk_types.h config.status: creating jni/Makefile config.status: creating common/portable.h config.status: executing depfiles commands ===> Building for mod_jk-ap2-1.2.28_1 Making all in common gmake[1]: Entering directory `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/common' /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_ajp12_worker.c -o jk_ajp12_worker.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_connect.c -o jk_connect.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_msg_buff.c -o jk_msg_buff.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_util.c -o jk_util.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_ajp13.c -o jk_ajp13.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_pool.c -o jk_pool.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_worker.c -o jk_worker.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_ajp13_worker.c -o jk_ajp13_worker.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_lb_worker.c -o jk_lb_worker.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_sockbuf.c -o jk_sockbuf.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_map.c -o jk_map.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_uri_worker_map.c -o jk_uri_worker_map.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_ajp14.c -o jk_ajp14.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_ajp14_worker.c -o jk_ajp14_worker.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_md5.c -o jk_md5.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_shm.c -o jk_shm.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_ajp_common.c -o jk_ajp_common.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_context.c -o jk_context.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_url.c -o jk_url.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_status.c -o jk_status.lo gmake[1]: Leaving directory `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/common' Making all in apache-2.0 gmake[1]: Entering directory `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/apache-2.0' /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -c mod_jk.c -o mod_jk.lo /usr/local/build-1/libtool --silent --mode=link cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -Wl,-L-L/usr/local/lib/mysql -Wl,-rpath=/usr/lib -Wl,/usr/local/lib -Wl,-L/usr/lib -Wl,-L/usr/local/lib -o mod_jk.la -module -rpath /usr/local/libexec/apache22 -avoid-version mod_jk.lo ../common/jk_ajp12_worker.lo ../common/jk_connect.lo ../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo ../common/jk_pool.lo ../common/jk_worker.lo ../common/jk_ajp13_worker.lo ../common/jk_lb_worker.lo ../common/jk_sockbuf.lo ../common/jk_map.lo ../common/jk_uri_worker_map.lo ../common/jk_ajp14.lo ../common/jk_ajp14_worker.lo ../common/jk_md5.lo ../common/jk_shm.lo ../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_url.lo ../common/jk_status.lo /usr/local/lib: file not recognized: File format not recognized gmake[1]: *** [mod_jk.la] Error 1 gmake[1]: Leaving directory `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/apache-2.0' gmake: *** [all-recursive] Error 1 *** Error code 1 Stop in /usr/ports/www/mod_jk-apache2. # END OF THE COMMAND LINES From owner-freebsd-java@FreeBSD.ORG Tue Dec 29 21:15:01 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF832106566B for ; Tue, 29 Dec 2009 21:15:01 +0000 (UTC) (envelope-from fredericdelagoublaye@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 602B78FC0A for ; Tue, 29 Dec 2009 21:15:01 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 9so1727402eyd.3 for ; Tue, 29 Dec 2009 13:14:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.0.139 with SMTP id 11mr15789515ebb.28.1262121290190; Tue, 29 Dec 2009 13:14:50 -0800 (PST) In-Reply-To: <32a0facf0912290134s3411e5ccsd803b2bbec9de5b8@mail.gmail.com> References: <32a0facf0912290134s3411e5ccsd803b2bbec9de5b8@mail.gmail.com> Date: Tue, 29 Dec 2009 22:14:50 +0100 Message-ID: <32a0facf0912291314k3c9725fci845435623a8a5e2a@mail.gmail.com> From: Frederic de la Goublaye To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: mod-jk-apache2 make error with apache22 on FreeBSD 8.0-RELEASE X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2009 21:15:01 -0000 the solution is here: http://www.freebsd.org/cgi/query-pr.cgi?pr=138370 > I cannot install mod_jk-apache2 after the installation of apache22 on > FreeBSD 8.0 RELEASE > > Can you help me ? > > # cd /usr/ports/www/apache22/ > # make > # make install > > It works! > > > # cd /usr/ports/www/mod_jk-apache2/ > # make > ../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_url.lo > ../common/jk_status.lo > /usr/local/lib: file not recognized: File format not recognized > gmake[1]: *** [mod_jk.la] Error 1 > gmake[1]: Leaving directory > `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/apache-2.0' > gmake: *** [all-recursive] Error 1 > *** Error code 1 > > Stop in /usr/ports/www/mod_jk-apache2. > > # > > END OF THE COMMAND LINES > From owner-freebsd-java@FreeBSD.ORG Wed Dec 30 05:07:46 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0430B1065694 for ; Wed, 30 Dec 2009 05:07:46 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id B45D28FC16 for ; Wed, 30 Dec 2009 05:07:45 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.3/8.14.3) with ESMTP id nBU57iQV032448; Tue, 29 Dec 2009 21:07:44 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.3/8.14.3/Submit) id nBU57hCQ032447; Tue, 29 Dec 2009 21:07:43 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 29 Dec 2009 21:07:43 -0800 From: Greg Lewis To: Frederic de la Goublaye Message-ID: <20091230050743.GA32339@misty.eyesbeyond.com> References: <32a0facf0912290134s3411e5ccsd803b2bbec9de5b8@mail.gmail.com> <32a0facf0912291314k3c9725fci845435623a8a5e2a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32a0facf0912291314k3c9725fci845435623a8a5e2a@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-java@freebsd.org Subject: Re: mod-jk-apache2 make error with apache22 on FreeBSD 8.0-RELEASE X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 05:07:46 -0000 G'day Frederic, On Tue, Dec 29, 2009 at 10:14:50PM +0100, Frederic de la Goublaye wrote: > the solution is here: > http://www.freebsd.org/cgi/query-pr.cgi?pr=138370 Thanks for looking into this. The proposed solution is really a hack on top of a hack. It will work for your particular case, but it isn't going to work for everyone. It looks like the problem originates with the output from apxs, a hack to workaround that and people having compiled Apache with options like MySQL natively (like yourself). The mod_jk build runs apxs to find out the link paths it should use. On my machine that looks like this: > apxs -q LDFLAGS -pthread -rpath=/usr/lib /usr/local/lib -L/usr/lib -L/usr/local/lib Which looks odd. At least some of it (e.g. the naked /usr/local/lib entry in the middle of it) looks bogus. On your machine I suspect it looks something like this: -pthread -rpath=/usr/lib -L/usr/local/lib/mysql /usr/local/lib -L/usr/lib -L/usr/local/lib If you look at patch-tomcat-connectors-src:native:configure in the mod_jk port, it tries to fix this, but sloppily, by replacing the first instance of /usr/local/lib in the line with -L/usr/local/lib. In my case that will work. In your case you'll end up with -rpath=/usr/lib -L-L/usr/local/lib/mysql /usr/local/lib -L/usr/lib -L/usr/local/lib after the substitution and the build will fail. It seems like a better patch would be to remove the raw /usr/local/lib, since there is already a -L/usr/local/lib present. That's still somewhat sloppy as it should really be ${LOCALBASE} rather than hardcoded to /usr/local. All that comes with the caveat that its been a long time since I played with Apache very much. > > I cannot install mod_jk-apache2 after the installation of apache22 on > > FreeBSD 8.0 RELEASE > > > > Can you help me ? > > > > # cd /usr/ports/www/apache22/ > > # make > > # make install > > > > It works! > > > > > > # cd /usr/ports/www/mod_jk-apache2/ > > # make > > > ../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_url.lo > > ../common/jk_status.lo > > /usr/local/lib: file not recognized: File format not recognized > > gmake[1]: *** [mod_jk.la] Error 1 > > gmake[1]: Leaving directory > > `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/apache-2.0' > > gmake: *** [all-recursive] Error 1 > > *** Error code 1 > > > > Stop in /usr/ports/www/mod_jk-apache2. > > > > # > > > > END OF THE COMMAND LINES > > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed Dec 30 06:49:48 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A12FC1065676 for ; Wed, 30 Dec 2009 06:49:48 +0000 (UTC) (envelope-from fredericdelagoublaye@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 3478E8FC08 for ; Wed, 30 Dec 2009 06:49:47 +0000 (UTC) Received: by ewy26 with SMTP id 26so9065990ewy.3 for ; Tue, 29 Dec 2009 22:49:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=CGVNj9k7Liy/ZVkLdtOsykewGSZRw7XU99jqHtYptt4=; b=fvyuKm/oqQjFw5PvzzEFS6KsGfOB9ytDEegaabpxyG8J3u5yRsltcyjWIf4alMAiZC iB3RXDOwO/+syQymYiSRtBDUBvrfdQTnIj2MrBcnBZgRlL6/KBbZ8E+k+22p90RpPqIQ Q+FVBt+/fWxufsH8XG2b8nodCLDYETmofbxgg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=W7V8Si3OEAm1pD/R1Sq/t/Jz+85MCCY7CbBBjq/UXVr7DYZDBwOXS5weuq+t4h5E83 43FrK6YCfCddR5EH0jQHkPbFZNDmkKWC7w2cBGsJPo5vrB8esGXRvvwfNSPiMel/KqIV jnO7mI3xLPBLffSjMLI9w6zxoPPBvnrHx9PyI= MIME-Version: 1.0 Received: by 10.213.103.210 with SMTP id l18mr16798038ebo.71.1262155776204; Tue, 29 Dec 2009 22:49:36 -0800 (PST) In-Reply-To: <32a0facf0912280955s6bcd6887mf9193a493b68773a@mail.gmail.com> References: <32a0facf0912091523j4b28c4e6ycc4b920f374b915a@mail.gmail.com> <32a0facf0912091525h32304baay3a1cdcdd78f3e491@mail.gmail.com> <20091210025801.GA25808@osiris.chen.org.nz> <32a0facf0912092118y1bc9dd4bw2d5b9c618586f73@mail.gmail.com> <20091210081802.GA65752@osiris.chen.org.nz> <32a0facf0912171319x7005bdeqb2832be9e61e9af7@mail.gmail.com> <32a0facf0912280843u4b00c67fp86fe3b40b230a28b@mail.gmail.com> <32a0facf0912280955s6bcd6887mf9193a493b68773a@mail.gmail.com> Date: Wed, 30 Dec 2009 07:49:36 +0100 Message-ID: <32a0facf0912292249j24b6f635ke6bde27ba33cc8e4@mail.gmail.com> From: Frederic de la Goublaye To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: How to install mod_jk apache22 and FreeBSD 8.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 06:49:48 -0000 To install mod_jk-apache2 with apache22 on FreeBSD 8.0, one solution is here: http://www.freebsd.org/cgi/query-pr.cgi?pr=138370 but as said on another thread, it is a "hack on the top of the hack" and it may not work on every machine, for other information, please look at the freebsd-java thread nammed "mod-jk-apache2 make error with apache22 on FreeBSD 8.0-RELEASE" I think that the port should work without modification thanks for the FreeBSD expert support :+) From owner-freebsd-java@FreeBSD.ORG Wed Dec 30 10:31:30 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77D2F106566C for ; Wed, 30 Dec 2009 10:31:30 +0000 (UTC) (envelope-from fredericdelagoublaye@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id EF2D98FC0C for ; Wed, 30 Dec 2009 10:31:29 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so3052333eyf.9 for ; Wed, 30 Dec 2009 02:31:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=EdsjUg6UMku5DvDst6uMXNTIXKZmdWeE55gN0EL7JLs=; b=YjcegAZTyVM/xgM9W9kLXGiIuWlMCp/B4NYf2hLu8AXeTgapaOxjJmFuAAoqVHfXtg pUl2PIdQOdXiWdbgbITcQfkU5Soy//9xj3NKGpPfie0Z6zwzYFsjN0fHZeIwEcdexsa7 4mZ3ztrg/woGAmjqQRdD2ZNCzccd46Pm9eDNo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=hd/o8Q7TfFg9CwctW59lRCoqZ9egxTAfKa1KMRKJ4ltq0LBXRKgfhzDh5P883zoa6i 9IA/zpRVnz4CAX380h7MSPy5AhwtZb+Uzr1uFVoeSJ6B17tly7juev20YpEDBoSlXO8x 99N7LWsWiU3mD2UvX/YCNEVzFdP0gFKldiV9I= MIME-Version: 1.0 Received: by 10.213.72.207 with SMTP id n15mr4982549ebj.85.1262169080896; Wed, 30 Dec 2009 02:31:20 -0800 (PST) In-Reply-To: <20091230050743.GA32339@misty.eyesbeyond.com> References: <32a0facf0912290134s3411e5ccsd803b2bbec9de5b8@mail.gmail.com> <32a0facf0912291314k3c9725fci845435623a8a5e2a@mail.gmail.com> <20091230050743.GA32339@misty.eyesbeyond.com> Date: Wed, 30 Dec 2009 11:31:20 +0100 Message-ID: <32a0facf0912300231i65ef1df1ud76607b5e3035d5e@mail.gmail.com> From: Frederic de la Goublaye To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: mod-jk-apache2 make error with apache22 on FreeBSD 8.0-RELEASE X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 10:31:30 -0000 Hi Greg, Thanks for your explanation The hack is working on my server. It took a long time for me to find the good page on Internet. Where can I be informed if the mod_jk port is fixed? Cheers Frederic >> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D138370 > > The proposed solution is really a hack on > top of a hack. =A0It will work for your particular case, > but it isn't going to work for everyone. From owner-freebsd-java@FreeBSD.ORG Wed Dec 30 17:43:15 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BBD1106568D for ; Wed, 30 Dec 2009 17:43:15 +0000 (UTC) (envelope-from mvh@ix.netcom.com) Received: from elasmtp-scoter.atl.sa.earthlink.net (elasmtp-scoter.atl.sa.earthlink.net [209.86.89.67]) by mx1.freebsd.org (Postfix) with ESMTP id CDA818FC20 for ; Wed, 30 Dec 2009 17:43:14 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=ix.netcom.com; b=Do+9by4+n8QPhCj1Oll+yT7+Gy66E941qjACENVfj/spcHt7FOggpdW3eRjIUBpc; h=X-Virus-Scanned:From:To:Message-Id:Date:X-ELNK-Trace:X-Originating-IP; Received: from [71.116.162.184] (helo=bsd.mvh) by elasmtp-scoter.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1NQ2L2-0007vp-U4 for freebsd-java@freebsd.org; Wed, 30 Dec 2009 12:28:06 -0500 Received: from bsd.mvh (localhost [127.0.0.1]) by bsd.mvh (Postfix) with ESMTP id D60FB17430 for ; Wed, 30 Dec 2009 09:27:56 -0800 (PST) X-Virus-Scanned: amavisd-new at bsd.mvh Received: from bsd.mvh ([127.0.0.1]) by bsd.mvh (bsd.mvh [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8lUD0OFwt-vT for ; Wed, 30 Dec 2009 09:27:50 -0800 (PST) Received: by bsd.mvh (Postfix, from userid 1001) id 09C9D17127; Wed, 30 Dec 2009 09:27:49 -0800 (PST) From: Mike Harding To: freebsd-java@freebsd.org Message-Id: <20091230172750.09C9D17127@bsd.mvh> Date: Wed, 30 Dec 2009 09:27:49 -0800 (PST) X-ELNK-Trace: 2159e7a04884740af66dc3a06d5924d84eefc6aaea308de028b53bf20833bdde30febb85a5f48815350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 71.116.162.184 Subject: (no subject) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 17:43:15 -0000 I can't get jboss5 to install from ports on a FreeBSD 8.0 installation - a friend reports the same. Anything I can do to get this working? I think this was working ok on 7.2... bsd# cd /usr/ports/java/jboss5 bsd# make clean ===> Cleaning for jboss-5.1.0.GA_1,1 bsd# make install clean ===> Extracting for jboss-5.1.0.GA_1,1 => MD5 Checksum OK for jboss-5.1.0.GA-src.tar.gz. => SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz. ===> Patching for jboss-5.1.0.GA_1,1 ===> jboss-5.1.0.GA_1,1 depends on file: /usr/local/jdk1.6.0/bin/java - found ===> jboss-5.1.0.GA_1,1 depends on file: /usr/local/bin/ant - found ===> Configuring for jboss-5.1.0.GA_1,1 ===> Building for jboss-5.1.0.GA_1,1 Buildfile: build/build.xml maven-init: [echo] Maven Home set to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/tools/maven maven-install: [java] [INFO] Scanning for projects... [java] [INFO] Reactor build order: [java] [INFO] JBossAS Component Matrix [java] [INFO] JBoss Application Server Parent POM [java] [INFO] JBoss Application Server Thirdparty Build [java] WAGON_VERSION: 1.0-beta-2 [java] [INFO] ------------------------------------------------------------------------ [java] [INFO] Building JBossAS Component Matrix [java] [INFO] task-segment: [install] [java] [INFO] ------------------------------------------------------------------------ [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}] [java] [INFO] [site:attach-descriptor] [java] [INFO] Preparing source:jar [java] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}] [java] [INFO] [source:jar {execution: attach-sources}] [java] [INFO] [install:install] [java] [INFO] Installing /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/component-matrix/pom.xml to /root/.m2/repository/org/jboss/jbossas/jboss-as-component-matrix/5.1.0.GA/jboss-as-component-matrix-5.1.0.GA.pom [java] [INFO] ------------------------------------------------------------------------ [java] [INFO] Building JBoss Application Server Parent POM [java] [INFO] task-segment: [install] [java] [INFO] ------------------------------------------------------------------------ [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}] [java] [INFO] [enforcer:enforce {execution: enforce-java-maven-versions}] [java] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}] [java] [INFO] [site:attach-descriptor] [java] [INFO] Preparing source:jar [java] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}] [java] [INFO] [enforcer:enforce {execution: enforce-java-maven-versions}] [java] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}] [java] [INFO] [source:jar {execution: attach-sources}] [java] [INFO] [install:install] [java] [INFO] Installing /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/pom.xml to /root/.m2/repository/org/jboss/jbossas/jboss-as-parent/5.1.0.GA/jboss-as-parent-5.1.0.GA.pom [java] [INFO] ------------------------------------------------------------------------ [java] [INFO] Building JBoss Application Server Thirdparty Build [java] [INFO] task-segment: [install] [java] [INFO] ------------------------------------------------------------------------ [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}] [java] [INFO] [enforcer:enforce {execution: enforce-java-maven-versions}] [java] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}] [java] [INFO] [enforcer:enforce {execution: ban-app-server-modules}] [java] [INFO] [dependency:sources {execution: download-sources}] [java] [INFO] [jboss-license:download-licenses {execution: default}] [java] [INFO] Downloading licenses [java] [INFO] [buildmagic-thirdparty:build-thirdparty {execution: build-thirdparty}] [java] [INFO] Copying dependencies to thirdparty directories... [java] [INFO] Generating component info files... [java] [INFO] Creating libraries.ent... [java] [INFO] [buildmagic-thirdparty:build-thirdparty {execution: build-thirparty-testsuite}] [java] [INFO] Copying dependencies to thirdparty directories... [java] [INFO] Generating component info files... [java] [INFO] Creating testsuite-libraries.ent... [java] [INFO] [site:attach-descriptor] [java] [INFO] Preparing source:jar [java] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}] [java] [INFO] [enforcer:enforce {execution: enforce-java-maven-versions}] [java] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}] [java] [INFO] [enforcer:enforce {execution: ban-app-server-modules}] [java] [INFO] [dependency:sources {execution: download-sources}] [java] [INFO] [source:jar {execution: attach-sources}] [java] [INFO] [install:install] [java] [INFO] Installing /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/thirdparty/pom.xml to /root/.m2/repository/org/jboss/jbossas/jboss-as-thirdparty/5.1.0.GA/jboss-as-thirdparty-5.1.0.GA.pom [java] [INFO] [java] [INFO] [java] [INFO] ------------------------------------------------------------------------ [java] [INFO] Reactor Summary: [java] [INFO] ------------------------------------------------------------------------ [java] [INFO] JBossAS Component Matrix .............................. SUCCESS [5.809s] [java] [INFO] JBoss Application Server Parent POM ................... SUCCESS [0.091s] [java] [INFO] JBoss Application Server Thirdparty Build ............. SUCCESS [13.518s] [java] [INFO] ------------------------------------------------------------------------ [java] [INFO] ------------------------------------------------------------------------ [java] [INFO] BUILD SUCCESSFUL [java] [INFO] ------------------------------------------------------------------------ [java] [INFO] Total time: 23 seconds [java] [INFO] Finished at: Wed Dec 30 17:24:45 GMT 2009 [java] [INFO] Final Memory: 37M/69M [java] [INFO] ------------------------------------------------------------------------ _buildmagic:init: Trying to override old definition of task property _buildmagic:init:local-properties: [copy] Copying 1 file to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build _buildmagic:init:buildlog: configure: [echo] groups: default [echo] modules: main,j2se,mbeans,jmx,system,system-jmx,security,server,deployment,jbossas/remoting,jmx-remoting,jbossas/jmx-remoting,messaging,cluster,varia,iiop,aspects,profileservice,connector,management,ejb3,tomcat,webservices,hibernate-int,console,spring-int init: _buildmagic:modules:most: ====================================================================== == Executing 'most' in module 'main'... == _buildmagic:init: configure: [echo] Classpath = /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/thirdparty/gnu-getopt/lib/getopt.jar _default:task-init: init: _buildmagic:build-bypass-checker: _buildmagic:build-bypass-notice: _buildmagic:build-bypass-check: jars: _buildmagic:init: init: _default:compile-classes: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/output/classes [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/output/gen-src [javac] Compiling 8 source files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/output/classes [execmodules] /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/src/main/org/jboss/Main.java:172: warning: [deprecation] toURL() in java.io.File has been deprecated [execmodules] loader.addURL(dir.toURL()); [execmodules] ^ [execmodules] /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/src/main/org/jboss/Main.java:179: warning: [deprecation] toURL() in java.io.File has been deprecated [execmodules] loader.addURL(jars[j].getCanonicalFile().toURL()); [execmodules] ^ [execmodules] /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/src/main/org/jboss/Main.java:246: warning: [deprecation] toURL() in java.io.File has been deprecated [execmodules] url = file.toURL(); [execmodules] ^ [execmodules] /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/src/main/org/jboss/Main.java:255: warning: [deprecation] toURL() in java.io.File has been deprecated [execmodules] url = file.toURL(); [execmodules] ^ [execmodules] /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/src/main/org/jboss/system/ORBSingleton.java:172: warning: [deprecation] create_recursive_sequence_tc(int,int) in org.omg.CORBA.ORB has been deprecated [execmodules] public TypeCode create_recursive_sequence_tc(int bound, int offset) [execmodules] ^ [execmodules] /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/src/main/org/jboss/system/ORBSingleton.java:172: warning: [deprecation] create_recursive_sequence_tc(int,int) in org.omg.CORBA.ORB has been deprecated [execmodules] public TypeCode create_recursive_sequence_tc(int bound, int offset) [execmodules] ^ [execmodules] /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/src/main/org/jboss/system/ORBSingleton.java:285: warning: [deprecation] get_current() in org.omg.CORBA.ORB has been deprecated [execmodules] public Current get_current() [execmodules] ^ [execmodules] 7 warnings _default:compile-resources: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/output/resources [copy] Copying 4 files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/output/resources _default:compile-etc: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/output/etc [copy] Copying 2 files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/output/etc _default:compile-bin: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/output/bin [copy] Copying 7 files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/output/bin _buildmagic:init: init: _default:fix-bin: compile: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/output/lib module-jars: [jar] Building jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/output/lib/log4j-boot.jar [jar] Building jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/output/lib/jboss-main.jar [jar] Building MANIFEST-only jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/output/lib/jboss-main-client.jar [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/tmp-bootstrap [unjar] Expanding: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/thirdparty/jboss/jboss-bootstrap/lib/jboss-bootstrap.jar into /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/tmp-bootstrap [jar] Building jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/output/lib/run.jar [delete] Deleting directory /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/tmp-bootstrap [touch] Creating /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/main/output/build-marker most: == == Finished with 'most' in module 'main'. ====================================================================== _module-main-most: _module-main-most: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/lib [copy] Copying 2 files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/lib [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/client [copy] Copying 1 file to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/client [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/bin [copy] Copying 8 files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/bin [copy] Copying 1 file to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/lib [copy] Copying 1 file to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/server/all/lib [copy] Copying 1 file to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/server/all/lib [copy] Copying 2 files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/client ====================================================================== == Executing 'most' in module 'j2se'... == _buildmagic:init: configure: _default:task-init: init: _buildmagic:build-bypass-checker: _buildmagic:build-bypass-notice: _buildmagic:build-bypass-check: jars: _buildmagic:init: init: compile-classes: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/output/classes [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/output/gen-src [javac] Compiling 260 source files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/output/classes /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/src/tests/org/jboss/test/jmx/compliance/modelmbean/DescriptorTEST.java:378: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.String for a varargs call cast to java.lang.String[] for a non-varargs call and to suppress this warning Object[] result = descriptor.getFieldValues(null); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:603: warning: [deprecation] getThreshold() in javax.management.monitor.CounterMonitor has been deprecated if (((CounterMonitor)monitor).getThreshold().equals(new Integer(30))) ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:645: warning: [deprecation] getThreshold() in javax.management.monitor.CounterMonitor has been deprecated if (((CounterMonitor)monitor).getThreshold().equals(new Integer(30))) ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:1821: warning: [deprecation] setThreshold(java.lang.Number) in javax.management.monitor.CounterMonitor has been deprecated counterMonitor.setThreshold(threshold); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:1898: warning: [deprecation] setObservedObject(javax.management.ObjectName) in javax.management.monitor.Monitor has been deprecated monitor.setObservedObject(monitoredName); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:2057: warning: [deprecation] setObservedObject(javax.management.ObjectName) in javax.management.monitor.Monitor has been deprecated monitor.setObservedObject(monitoredName); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:2285: warning: [deprecation] getDerivedGauge() in javax.management.monitor.StringMonitor has been deprecated assertEquals(gauge, ((StringMonitor)monitor).getDerivedGauge()); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:2287: warning: [deprecation] getDerivedGauge() in javax.management.monitor.CounterMonitor has been deprecated assertEquals(gauge, ((CounterMonitor)monitor).getDerivedGauge()); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/src/tests/org/jboss/test/jmx/compliance/monitor/MonitorTestCase.java:2289: warning: [deprecation] getDerivedGauge() in javax.management.monitor.GaugeMonitor has been deprecated assertEquals(gauge, ((GaugeMonitor)monitor).getDerivedGauge()); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/src/tests/org/jboss/test/jmx/compliance/openmbean/OpenTypeTestCase.java:64: warning: [deprecation] ALLOWED_CLASSNAMES in javax.management.openmbean.OpenType has been deprecated String[] allowedClassNames = OpenType.ALLOWED_CLASSNAMES; ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/src/tests/org/jboss/test/jmx/serialization/SerializationSUITE.java:56: warning: [deprecation] toURL() in java.io.File has been deprecated jmxri = new URLClassLoader(new URL[] {riLocation.toURL()}, ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/src/tests/org/jboss/test/jmx/serialization/SerializationSUITE.java:59: warning: [deprecation] toURL() in java.io.File has been deprecated jbossmx = new URLClassLoader(new URL[] {jbossmxLocation.toURL()}, ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 12 warnings _default:compile-etc: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/output/etc [copy] Copying 9 files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/output/etc compile: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/output/lib module-jars: [jar] Building jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/output/lib/jboss-j2se.jar [jar] Building jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/output/lib/jboss-jmx-compliance.jar [jar] Building jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/output/lib/jmxcompliance-MyMBeans.jar [jar] Building jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/output/lib/jmxcompliance-MyMBeans2.jar [jar] Building jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/output/lib/jmxcompliance-MoreMBeans.jar [jar] Building jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/output/lib/jmxcompliance-Test.jar [touch] Creating /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/j2se/output/build-marker most: == == Finished with 'most' in module 'j2se'. ====================================================================== _module-j2se-most: _module-j2se-most: [copy] Copying 1 file to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/lib [copy] Copying 1 file to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/client ====================================================================== == Executing 'most' in module 'mbeans'... == _buildmagic:init: configure: init: _buildmagic:build-bypass-checker: _buildmagic:build-bypass-notice: _buildmagic:build-bypass-check: output: _buildmagic:init: init: _default:compile-classes: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/output/classes [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/output/gen-src [javac] Compiling 84 source files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/output/classes Warning: Reference javac.bootclasspath has not been set at runtime, but was found during build file parsing, attempting to resolve. Future versions of Ant may support referencing ids defined in non-executed targets. /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/src/main/org/jboss/mx/mxbean/MXBeanUtils.java:885: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning Object itemValue = method.invoke(value, null); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/src/main/org/jboss/mx/mxbean/MXBeanUtils.java:990: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class for a varargs call cast to java.lang.Class[] for a non-varargs call and to suppress this warning method = clazz.getMethod("get" + name, null); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/src/main/org/jboss/mx/mxbean/MXBeanUtils.java:998: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class for a varargs call cast to java.lang.Class[] for a non-varargs call and to suppress this warning method = clazz.getMethod("is" + name, null); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/src/main/org/jboss/mx/persistence/DelegatingPersistenceManager.java:91: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated if (log.isDebugEnabled()) ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/src/main/org/jboss/mx/persistence/DelegatingPersistenceManager.java:114: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated if (log.isDebugEnabled()) ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/src/main/org/jboss/mx/persistence/DelegatingPersistenceManager.java:123: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated if (log.isDebugEnabled()) ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/src/main/org/jboss/mx/persistence/DelegatingPersistenceManager.java:152: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated if (log.isDebugEnabled()) ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/src/main/org/jboss/mx/persistence/DelegatingPersistenceManager.java:161: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated if (log.isDebugEnabled() && attrs.length > 0) ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/src/main/org/jboss/mx/persistence/DelegatingPersistenceManager.java:170: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated if (log.isDebugEnabled()) ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/src/main/org/jboss/mx/persistence/DelegatingPersistenceManager.java:198: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated if (log.isDebugEnabled()) ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/src/main/org/jboss/mx/persistence/DelegatingPersistenceManager.java:204: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated if (log.isDebugEnabled()) ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/src/main/org/jboss/mx/persistence/DelegatingPersistenceManager.java:227: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated if (log.isDebugEnabled()) { ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/src/main/org/jboss/mx/persistence/DelegatingPersistenceManager.java:252: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated if (log.isDebugEnabled()) ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/src/main/org/jboss/mx/persistence/DelegatingPersistenceManager.java:295: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated if (log.isDebugEnabled()) ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 14 warnings _default:compile-etc: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/output/etc [copy] Copying 1 file to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/output/etc compile-resources: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/output/resources [copy] Copying 5 files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/output/resources compile: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/output/lib [jar] Building jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/output/lib/jboss-mbeans.jar [touch] Creating /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/mbeans/output/build-marker _default:most: most: == == Finished with 'most' in module 'mbeans'. ====================================================================== _module-mbeans-most: _module-mbeans-most: [copy] Copying 1 file to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/lib [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/docs/dtd [copy] Copying 3 files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/docs/dtd ====================================================================== == Executing 'most' in module 'jmx'... == _buildmagic:init: configure: init: _buildmagic:build-bypass-checker: _buildmagic:build-bypass-notice: _buildmagic:build-bypass-check: output: _buildmagic:init: init: _default:compile-classes: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/output/classes [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/output/gen-src [javac] Compiling 126 source files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/output/classes Warning: Reference javac.bootclasspath has not been set at runtime, but was found during build file parsing, attempting to resolve. Future versions of Ant may support referencing ids defined in non-executed targets. /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/src/main/test/implementation/loading/LoaderRepositoryTEST.java:31: warning: [deprecation] javax.management.loading.DefaultLoaderRepository in javax.management.loading has been deprecated import javax.management.loading.DefaultLoaderRepository; ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/src/main/org/jboss/mx/standardmbean/StandardMBeanImpl.java:167: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class for a varargs call cast to java.lang.Class[] for a non-varargs call and to suppress this warning Method method = implementation.getClass().getMethod("get" + attribute, null); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/src/main/test/implementation/loading/LoaderRepositoryTEST.java:100: warning: [deprecation] javax.management.loading.DefaultLoaderRepository in javax.management.loading has been deprecated DefaultLoaderRepository.loadClass(classes[i]); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 warnings _default:compile-etc: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/output/etc [copy] Copying 1 file to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/output/etc compile-resources: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/output/resources compile: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/output/lib [jar] Building jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/output/lib/jboss-jmx.jar [jar] Building jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/output/lib/jboss-jmx-testsuite.jar [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/output/etc/test/implementation/loading [jar] Building jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/output/etc/test/implementation/loading/MyMBeans.jar [copy] Copying 6 files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/output/etc [jar] Building jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/output/etc/test/implementation/loading/Start.jar [jar] Building jar: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/output/etc/test/implementation/loading/Target.jar [touch] Creating /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/jmx/output/build-marker _default:most: most: == == Finished with 'most' in module 'jmx'. ====================================================================== _module-jmx-most: _module-jmx-most: [copy] Copying 1 file to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/lib [copy] Copying 2 files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/lib [copy] Copying 1 file to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/output/jboss-5.1.0.GA/client ====================================================================== == Executing 'most' in module 'system'... == _buildmagic:init: configure: _default:task-init: init: _buildmagic:build-bypass-checker: _buildmagic:build-bypass-notice: _buildmagic:build-bypass-check: jars: _buildmagic:init: init: _default:compile-classes: [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/output/classes [mkdir] Created dir: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/output/gen-src [javac] Compiling 174 source files to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/output/classes /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jboss/deployers/plugins/managed/TypedManagedDeploymentCreator.java:43: warning: [deprecation] org.jboss.managed.api.ManagedDeployment.DeploymentPhase in org.jboss.managed.api.ManagedDeployment has been deprecated import org.jboss.managed.api.ManagedDeployment.DeploymentPhase; ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jboss/deployers/plugins/managed/TypedManagedDeploymentCreator.java:75: warning: [deprecation] org.jboss.managed.api.ManagedDeployment.DeploymentPhase in org.jboss.managed.api.ManagedDeployment has been deprecated DeploymentPhase phase = unit.getAttachment(DeploymentPhase.class); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jboss/deployers/plugins/managed/TypedManagedDeploymentCreator.java:75: warning: [deprecation] org.jboss.managed.api.ManagedDeployment.DeploymentPhase in org.jboss.managed.api.ManagedDeployment has been deprecated DeploymentPhase phase = unit.getAttachment(DeploymentPhase.class); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jboss/deployers/plugins/managed/TypedManagedDeploymentCreator.java:101: warning: [deprecation] org.jboss.managed.api.ManagedDeployment.DeploymentPhase in org.jboss.managed.api.ManagedDeployment has been deprecated phase = DeploymentPhase.APPLICATION; ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jboss/deployers/plugins/managed/TypedManagedDeploymentCreator.java:103: warning: [deprecation] ManagedDeploymentImpl(java.lang.String,java.lang.String,org.jboss.managed.api.ManagedDeployment.DeploymentPhase,org.jboss.managed.api.ManagedDeployment,java.util.Map) in org.jboss.managed.plugins.ManagedDeploymentImpl has been deprecated ManagedDeployment md = new ManagedDeploymentImpl(unit.getName(), simpleName, phase, parent, validUnitMOs); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jboss/system/deployers/TempBeanMetaDataDeployer.java:39: warning: [deprecation] BeanMetaDataDeployer(org.jboss.kernel.Kernel) in org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer has been deprecated super(kernel); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jboss/system/server/profileservice/ProfileServiceBootstrap.java:447: warning: [deprecation] ManagedObjectImpl(java.lang.String,java.lang.String,java.lang.String,java.util.Set,java.util.HashSet,java.io.Serializable) in org.jboss.managed.plugins.ManagedObjectImpl has been deprecated ManagedObject kdMO = new ManagedObjectImpl(kd.getName(), "", ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jboss/system/server/profileservice/repository/clustered/local/JAXBRepositoryContentMetadataPersister.java:85: warning: [deprecation] toURL() in java.io.File has been deprecated return (RepositoryContentMetadata) unmarshaller.unmarshal(metadataStore.toURL().openStream(), resolver); ^ /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jboss/system/server/profileservice/repository/clustered/local/JAXBRepositoryContentMetadataPersister.java:98: cannot find symbol symbol : method marshal(org.jboss.system.server.profileservice.repository.clustered.metadata.RepositoryContentMetadata,java.io.File) location: interface javax.xml.bind.Marshaller marshaller.marshal(metadata, metadataStore); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error 8 warnings BUILD FAILED /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/tools/etc/buildmagic/buildmagic.ent:436: Compile failed; see the compiler error output for details. Total time: 37 seconds *** Error code 1 Stop in /usr/ports/java/jboss5. bsd# From owner-freebsd-java@FreeBSD.ORG Wed Dec 30 18:58:12 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72BC5106568D for ; Wed, 30 Dec 2009 18:58:12 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 1EE178FC1A for ; Wed, 30 Dec 2009 18:58:12 +0000 (UTC) Received: by chen.org.nz (Postfix, from userid 1000) id 41F072840C; Thu, 31 Dec 2009 07:58:09 +1300 (NZDT) Date: Thu, 31 Dec 2009 07:58:09 +1300 From: Jonathan Chen To: Mike Harding Message-ID: <20091230185809.GA91259@osiris.chen.org.nz> References: <20091230172750.09C9D17127@bsd.mvh> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091230172750.09C9D17127@bsd.mvh> User-Agent: Mutt/1.4.2.3i Cc: freebsd-java@freebsd.org Subject: Re: (no subject) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 18:58:12 -0000 On Wed, Dec 30, 2009 at 09:27:49AM -0800, Mike Harding wrote: > > I can't get jboss5 to install from ports on a FreeBSD 8.0 installation > - a friend reports the same. Anything I can do to get this working? > I think this was working ok on 7.2... > > bsd# cd /usr/ports/java/jboss5 > bsd# make clean > ===> Cleaning for jboss-5.1.0.GA_1,1 > bsd# make install clean > ===> Extracting for jboss-5.1.0.GA_1,1 > => MD5 Checksum OK for jboss-5.1.0.GA-src.tar.gz. > => SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz. > ===> Patching for jboss-5.1.0.GA_1,1 > ===> jboss-5.1.0.GA_1,1 depends on file: /usr/local/jdk1.6.0/bin/java - found [...] > /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jboss/system/server/profileservice/repository/clustered/local/JAXBRepositoryContentMetadataPersister.java:98: cannot find symbol > symbol : method marshal(org.jboss.system.server.profileservice.repository.clustered.metadata.RepositoryContentMetadata,java.io.File) > location: interface javax.xml.bind.Marshaller > marshaller.marshal(metadata, metadataStore); > ^ > Note: Some input files use unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > 1 error > 8 warnings Did you make any changes to your JDK 1.6 installation? eg: putting stuff into the endoresed directories? Cheers. -- Jonathan Chen ---------------------------------------------------------------------- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. From owner-freebsd-java@FreeBSD.ORG Wed Dec 30 19:22:01 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99B6F106568F for ; Wed, 30 Dec 2009 19:22:01 +0000 (UTC) (envelope-from mvh@ix.netcom.com) Received: from elasmtp-banded.atl.sa.earthlink.net (elasmtp-banded.atl.sa.earthlink.net [209.86.89.70]) by mx1.freebsd.org (Postfix) with ESMTP id 515378FC0A for ; Wed, 30 Dec 2009 19:22:01 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=ix.netcom.com; b=YxHehNioEW5mtV1ryx/bHs4MJSM04qgeSd8w69M7A+KGKFMr5mVLotOahtbAp+Qs; h=X-Virus-Scanned:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-ID:Mime-Version:X-Mailer:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; Received: from [71.116.162.184] (helo=bsd.mvh) by elasmtp-banded.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1NQ47M-0004Eo-2d; Wed, 30 Dec 2009 14:22:00 -0500 Received: from bsd.mvh (localhost [127.0.0.1]) by bsd.mvh (Postfix) with ESMTP id F19001778A; Wed, 30 Dec 2009 11:21:56 -0800 (PST) X-Virus-Scanned: amavisd-new at bsd.mvh Received: from bsd.mvh ([127.0.0.1]) by bsd.mvh (bsd.mvh [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A792MbdiDlCA; Wed, 30 Dec 2009 11:21:49 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by bsd.mvh (Postfix) with ESMTP id 113CD17718; Wed, 30 Dec 2009 11:21:49 -0800 (PST) From: Mike Harding To: Jonathan Chen In-Reply-To: <20091230185809.GA91259@osiris.chen.org.nz> References: <20091230172750.09C9D17127@bsd.mvh> <20091230185809.GA91259@osiris.chen.org.nz> Content-Type: text/plain; charset="us-ascii" Date: Wed, 30 Dec 2009 11:21:48 -0800 Message-ID: <1262200908.12298.1.camel@bsd.mvh> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-ELNK-Trace: 2159e7a04884740af66dc3a06d5924d8e2e40f329bbfe18c7053266ac1a443890cdf93a589ab4c3c350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 71.116.162.184 Cc: freebsd-java@freebsd.org Subject: Re: Can't install /usr/ports/java/jboss5 on FreeBSD 8.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 19:22:01 -0000 Nope, I did not make any changes at all. Again, someone else had the same error on a fresh install... I may not be using Java correctly, if I need to set up some variables, but I did not find any docs so I am not sure what to do. On Thu, 2009-12-31 at 07:58 +1300, Jonathan Chen wrote: > On Wed, Dec 30, 2009 at 09:27:49AM -0800, Mike Harding wrote: > > > > I can't get jboss5 to install from ports on a FreeBSD 8.0 installation > > - a friend reports the same. Anything I can do to get this working? > > I think this was working ok on 7.2... > > > > bsd# cd /usr/ports/java/jboss5 > > bsd# make clean > > ===> Cleaning for jboss-5.1.0.GA_1,1 > > bsd# make install clean > > ===> Extracting for jboss-5.1.0.GA_1,1 > > => MD5 Checksum OK for jboss-5.1.0.GA-src.tar.gz. > > => SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz. > > ===> Patching for jboss-5.1.0.GA_1,1 > > ===> jboss-5.1.0.GA_1,1 depends on file: /usr/local/jdk1.6.0/bin/java - found > [...] > > /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jboss/system/server/profileservice/repository/clustered/local/JAXBRepositoryContentMetadataPersister.java:98: cannot find symbol > > symbol : method marshal(org.jboss.system.server.profileservice.repository.clustered.metadata.RepositoryContentMetadata,java.io.File) > > location: interface javax.xml.bind.Marshaller > > marshaller.marshal(metadata, metadataStore); > > ^ > > Note: Some input files use unchecked or unsafe operations. > > Note: Recompile with -Xlint:unchecked for details. > > 1 error > > 8 warnings > > Did you make any changes to your JDK 1.6 installation? eg: putting > stuff into the endoresed directories? > > Cheers. From owner-freebsd-java@FreeBSD.ORG Wed Dec 30 19:41:37 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0D14106568F for ; Wed, 30 Dec 2009 19:41:37 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id 80BF68FC25 for ; Wed, 30 Dec 2009 19:41:37 +0000 (UTC) Received: from [212.123.145.58] (helo=sjakie.klop.ws) by smtp-out0.tiscali.nl with esmtp (Exim) (envelope-from ) id 1NQ4QK-0008Ly-5g; Wed, 30 Dec 2009 20:41:36 +0100 Received: from 82-170-177-25.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id C0B8212D1E; Wed, 30 Dec 2009 20:41:25 +0100 (CET) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: "Jonathan Chen" , "Mike Harding" References: <20091230172750.09C9D17127@bsd.mvh> <20091230185809.GA91259@osiris.chen.org.nz> Date: Wed, 30 Dec 2009 20:41:25 +0100 MIME-Version: 1.0 From: "Ronald Klop" Message-ID: In-Reply-To: <20091230185809.GA91259@osiris.chen.org.nz> User-Agent: Opera Mail/10.10 (FreeBSD) Content-Transfer-Encoding: quoted-printable Cc: freebsd-java@freebsd.org Subject: Re: (no subject) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 19:41:37 -0000 On Wed, 30 Dec 2009 19:58:09 +0100, Jonathan Chen wrot= e: > On Wed, Dec 30, 2009 at 09:27:49AM -0800, Mike Harding wrote: >> >> I can't get jboss5 to install from ports on a FreeBSD 8.0 installation >> - a friend reports the same. Anything I can do to get this working? >> I think this was working ok on 7.2... >> >> bsd# cd /usr/ports/java/jboss5 >> bsd# make clean >> =3D=3D=3D> Cleaning for jboss-5.1.0.GA_1,1 >> bsd# make install clean >> =3D=3D=3D> Extracting for jboss-5.1.0.GA_1,1 >> =3D> MD5 Checksum OK for jboss-5.1.0.GA-src.tar.gz. >> =3D> SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz. >> =3D=3D=3D> Patching for jboss-5.1.0.GA_1,1 >> =3D=3D=3D> jboss-5.1.0.GA_1,1 depends on file: /usr/local/jdk1.6.0/b= in/java =20 >> - found > [...] >> /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jbo= ss/system/server/profileservice/repository/clustered/local/JAXBRepository= ContentMetadataPersister.java:98: =20 >> cannot find symbol >> symbol : method =20 >> marshal(org.jboss.system.server.profileservice.repository.clustered.me= tadata.RepositoryContentMetadata,java.io.File) >> location: interface javax.xml.bind.Marshaller >> marshaller.marshal(metadata, metadataStore); >> ^ >> Note: Some input files use unchecked or unsafe operations. >> Note: Recompile with -Xlint:unchecked for details. >> 1 error >> 8 warnings > > Did you make any changes to your JDK 1.6 installation? eg: putting > stuff into the endoresed directories? > > Cheers. The API of some xml stuff changed between revisions of java6. At work I =20 need the openjdk6 port to compile everything, because colleges use newer = =20 java versions than the current jdk16 port is. I don't have the details here right now, but I recommend you to install =20 openjdk6 and try again. Ronald. From owner-freebsd-java@FreeBSD.ORG Wed Dec 30 20:50:15 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BB8B1065676 for ; Wed, 30 Dec 2009 20:50:15 +0000 (UTC) (envelope-from mvh@ix.netcom.com) Received: from elasmtp-banded.atl.sa.earthlink.net (elasmtp-banded.atl.sa.earthlink.net [209.86.89.70]) by mx1.freebsd.org (Postfix) with ESMTP id 320138FC08 for ; Wed, 30 Dec 2009 20:50:15 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=ix.netcom.com; b=jndYYl/b4OoUGze0SuLIxsdHMEjkz8Vxey2c24Yv3oisryyBN8GHhZhuZHo0xHrp; h=X-Virus-Scanned:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-ID:Mime-Version:X-Mailer:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; Received: from [71.116.162.184] (helo=bsd.mvh) by elasmtp-banded.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1NQ5Uj-0004hi-VD; Wed, 30 Dec 2009 15:50:14 -0500 Received: from bsd.mvh (localhost [127.0.0.1]) by bsd.mvh (Postfix) with ESMTP id 10290177AE; Wed, 30 Dec 2009 12:50:13 -0800 (PST) X-Virus-Scanned: amavisd-new at bsd.mvh Received: from bsd.mvh ([127.0.0.1]) by bsd.mvh (bsd.mvh [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RuVrSJ-Or-aQ; Wed, 30 Dec 2009 12:50:10 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by bsd.mvh (Postfix) with ESMTP id 261C1176A3; Wed, 30 Dec 2009 12:50:10 -0800 (PST) From: Mike Harding To: Ronald Klop In-Reply-To: References: <20091230172750.09C9D17127@bsd.mvh> <20091230185809.GA91259@osiris.chen.org.nz> Content-Type: text/plain; charset="us-ascii" Date: Wed, 30 Dec 2009 12:50:09 -0800 Message-ID: <1262206209.12298.5.camel@bsd.mvh> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-ELNK-Trace: 2159e7a04884740af66dc3a06d5924d8e2e40f329bbfe18cb6636a8b8c6c9d4c396bf6a0aafa7dc0350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 71.116.162.184 Cc: freebsd-java@freebsd.org Subject: Re: (no subject) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 20:50:15 -0000 I have openjdk installed, how do I get it to be used for this port build? On Wed, 2009-12-30 at 20:41 +0100, Ronald Klop wrote: > On Wed, 30 Dec 2009 19:58:09 +0100, Jonathan Chen wrote: > > > On Wed, Dec 30, 2009 at 09:27:49AM -0800, Mike Harding wrote: > >> > >> I can't get jboss5 to install from ports on a FreeBSD 8.0 installation > >> - a friend reports the same. Anything I can do to get this working? > >> I think this was working ok on 7.2... > >> > >> bsd# cd /usr/ports/java/jboss5 > >> bsd# make clean > >> ===> Cleaning for jboss-5.1.0.GA_1,1 > >> bsd# make install clean > >> ===> Extracting for jboss-5.1.0.GA_1,1 > >> => MD5 Checksum OK for jboss-5.1.0.GA-src.tar.gz. > >> => SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz. > >> ===> Patching for jboss-5.1.0.GA_1,1 > >> ===> jboss-5.1.0.GA_1,1 depends on file: /usr/local/jdk1.6.0/bin/java > >> - found > > [...] > >> /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jboss/system/server/profileservice/repository/clustered/local/JAXBRepositoryContentMetadataPersister.java:98: > >> cannot find symbol > >> symbol : method > >> marshal(org.jboss.system.server.profileservice.repository.clustered.metadata.RepositoryContentMetadata,java.io.File) > >> location: interface javax.xml.bind.Marshaller > >> marshaller.marshal(metadata, metadataStore); > >> ^ > >> Note: Some input files use unchecked or unsafe operations. > >> Note: Recompile with -Xlint:unchecked for details. > >> 1 error > >> 8 warnings > > > > Did you make any changes to your JDK 1.6 installation? eg: putting > > stuff into the endoresed directories? > > > > Cheers. > > The API of some xml stuff changed between revisions of java6. At work I > need the openjdk6 port to compile everything, because colleges use newer > java versions than the current jdk16 port is. > I don't have the details here right now, but I recommend you to install > openjdk6 and try again. > > Ronald. From owner-freebsd-java@FreeBSD.ORG Thu Dec 31 00:39:33 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53EFA1065695 for ; Thu, 31 Dec 2009 00:39:33 +0000 (UTC) (envelope-from mvh@ix.netcom.com) Received: from elasmtp-galgo.atl.sa.earthlink.net (elasmtp-galgo.atl.sa.earthlink.net [209.86.89.61]) by mx1.freebsd.org (Postfix) with ESMTP id 0ABBA8FC18 for ; Thu, 31 Dec 2009 00:39:32 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=ix.netcom.com; b=t5N3tS67NOk0mVBQgPsl9uHIf2hnSgZGisLpyfhHzTrtCaZQjzx9VJfjAl3Mp2Od; h=X-Virus-Scanned:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-ID:Mime-Version:X-Mailer:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; Received: from [71.116.162.184] (helo=bsd.mvh) by elasmtp-galgo.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1NQ94d-0006Qo-RY; Wed, 30 Dec 2009 19:39:32 -0500 Received: from bsd.mvh (localhost [127.0.0.1]) by bsd.mvh (Postfix) with ESMTP id A13DD1753D; Wed, 30 Dec 2009 16:39:30 -0800 (PST) X-Virus-Scanned: amavisd-new at bsd.mvh Received: from bsd.mvh ([127.0.0.1]) by bsd.mvh (bsd.mvh [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id avn2HuUrPEgc; Wed, 30 Dec 2009 16:39:28 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by bsd.mvh (Postfix) with ESMTP id 1D1BE1751E; Wed, 30 Dec 2009 16:39:28 -0800 (PST) From: Mike Harding To: Ronald Klop In-Reply-To: References: <20091230172750.09C9D17127@bsd.mvh> <20091230185809.GA91259@osiris.chen.org.nz> Content-Type: text/plain; charset="us-ascii" Date: Wed, 30 Dec 2009 16:39:27 -0800 Message-ID: <1262219967.12298.7.camel@bsd.mvh> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-ELNK-Trace: 2159e7a04884740af66dc3a06d5924d8277a56d9dd522a0841eb9fb900a95756b3d6b29ebf2fd88f350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 71.116.162.184 Cc: freebsd-java@freebsd.org Subject: Re: (no subject) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2009 00:39:33 -0000 I removed all of the jdks except openjdk, and jboss5 does install and run. Thanks you all - how do I select the jdk to use for a port if I have multiple ones installed? On Wed, 2009-12-30 at 20:41 +0100, Ronald Klop wrote: > On Wed, 30 Dec 2009 19:58:09 +0100, Jonathan Chen wrote: > > > On Wed, Dec 30, 2009 at 09:27:49AM -0800, Mike Harding wrote: > >> > >> I can't get jboss5 to install from ports on a FreeBSD 8.0 installation > >> - a friend reports the same. Anything I can do to get this working? > >> I think this was working ok on 7.2... > >> > >> bsd# cd /usr/ports/java/jboss5 > >> bsd# make clean > >> ===> Cleaning for jboss-5.1.0.GA_1,1 > >> bsd# make install clean > >> ===> Extracting for jboss-5.1.0.GA_1,1 > >> => MD5 Checksum OK for jboss-5.1.0.GA-src.tar.gz. > >> => SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz. > >> ===> Patching for jboss-5.1.0.GA_1,1 > >> ===> jboss-5.1.0.GA_1,1 depends on file: /usr/local/jdk1.6.0/bin/java > >> - found > > [...] > >> /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jboss/system/server/profileservice/repository/clustered/local/JAXBRepositoryContentMetadataPersister.java:98: > >> cannot find symbol > >> symbol : method > >> marshal(org.jboss.system.server.profileservice.repository.clustered.metadata.RepositoryContentMetadata,java.io.File) > >> location: interface javax.xml.bind.Marshaller > >> marshaller.marshal(metadata, metadataStore); > >> ^ > >> Note: Some input files use unchecked or unsafe operations. > >> Note: Recompile with -Xlint:unchecked for details. > >> 1 error > >> 8 warnings > > > > Did you make any changes to your JDK 1.6 installation? eg: putting > > stuff into the endoresed directories? > > > > Cheers. > > The API of some xml stuff changed between revisions of java6. At work I > need the openjdk6 port to compile everything, because colleges use newer > java versions than the current jdk16 port is. > I don't have the details here right now, but I recommend you to install > openjdk6 and try again. > > Ronald. From owner-freebsd-java@FreeBSD.ORG Thu Dec 31 10:15:31 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DDCF106566B for ; Thu, 31 Dec 2009 10:15:31 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2B0E98FC1D for ; Thu, 31 Dec 2009 10:15:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id EAE135E17C for ; Thu, 31 Dec 2009 11:15:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -2.262 X-Spam-Level: X-Spam-Status: No, score=-2.262 tagged_above=-999 required=5 tests=[AWL=0.338, BAYES_00=-2.599, SPF_PASS=-0.001] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fPPba8dlzytT for ; Thu, 31 Dec 2009 11:15:26 +0100 (CET) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-040-164.static.bjare.net [195.216.40.164]) by mx1.bjare.net (Postfix) with ESMTP id 213B65E15F for ; Thu, 31 Dec 2009 11:15:24 +0100 (CET) Message-ID: <4B3C79BC.6040808@eskk.nu> Date: Thu, 31 Dec 2009 11:15:24 +0100 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; sv-SE; rv:1.9.1.5) Gecko/20091221 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Java error/question X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2009 10:15:31 -0000 On the console I see a lot of warnings like this: Cannot open "/home/lib/amd64/libjavaplugin_nscp.so I can find libjavaplugin_nscp.so in two places: /usr/local/diablo-jdk1.6.0/jre/lib/amd64/libjavaplugin_nscp.so /usr/local/jdk1.6.0/jre/lib/amd64/libjavaplugin_nscp.so To get rid of the error I'm considering a symlink, but to which of the above should I point? Both the diablo-jdk1.6.0 and jdk1.6.0 are installed as dependencies. I would like your suggestion on how to fix this. Thanks Leslie From owner-freebsd-java@FreeBSD.ORG Thu Dec 31 10:21:54 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 751D71065692 for ; Thu, 31 Dec 2009 10:21:54 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out3.tiscali.nl (smtp-out3.tiscali.nl [195.241.79.178]) by mx1.freebsd.org (Postfix) with ESMTP id 32D358FC0C for ; Thu, 31 Dec 2009 10:21:54 +0000 (UTC) Received: from [212.123.145.58] (helo=sjakie.klop.ws) by smtp-out3.tiscali.nl with esmtp (Exim) (envelope-from ) id 1NQIAD-00028i-35; Thu, 31 Dec 2009 11:21:53 +0100 Received: from 82-170-177-25.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id C30E712E89; Thu, 31 Dec 2009 11:21:47 +0100 (CET) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: "Mike Harding" References: <20091230172750.09C9D17127@bsd.mvh> <20091230185809.GA91259@osiris.chen.org.nz> <1262219967.12298.7.camel@bsd.mvh> Date: Thu, 31 Dec 2009 11:21:47 +0100 MIME-Version: 1.0 From: "Ronald Klop" Message-ID: In-Reply-To: <1262219967.12298.7.camel@bsd.mvh> User-Agent: Opera Mail/10.10 (FreeBSD) Content-Transfer-Encoding: quoted-printable Cc: freebsd-java@freebsd.org Subject: Re: (no subject) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2009 10:21:54 -0000 On Thu, 31 Dec 2009 01:39:27 +0100, Mike Harding wrot= e: > I removed all of the jdks except openjdk, and jboss5 does install and > run. Thanks you all - how do I select the jdk to use for a port if I > have multiple ones installed? Not sure, but this could do it. # export JAVA_HOME=3D/usr/local/openjdk6 # cd /usr/ports/../.. # make ... It depends on how the port detects the JVM. Ronald. > On Wed, 2009-12-30 at 20:41 +0100, Ronald Klop wrote: >> On Wed, 30 Dec 2009 19:58:09 +0100, Jonathan Chen =20 >> wrote: >> >> > On Wed, Dec 30, 2009 at 09:27:49AM -0800, Mike Harding wrote: >> >> >> >> I can't get jboss5 to install from ports on a FreeBSD 8.0 =20 >> installation >> >> - a friend reports the same. Anything I can do to get this working= ? >> >> I think this was working ok on 7.2... >> >> >> >> bsd# cd /usr/ports/java/jboss5 >> >> bsd# make clean >> >> =3D=3D=3D> Cleaning for jboss-5.1.0.GA_1,1 >> >> bsd# make install clean >> >> =3D=3D=3D> Extracting for jboss-5.1.0.GA_1,1 >> >> =3D> MD5 Checksum OK for jboss-5.1.0.GA-src.tar.gz. >> >> =3D> SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz. >> >> =3D=3D=3D> Patching for jboss-5.1.0.GA_1,1 >> >> =3D=3D=3D> jboss-5.1.0.GA_1,1 depends on file: =20 >> /usr/local/jdk1.6.0/bin/java >> >> - found >> > [...] >> >> =20 >> /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/system/src/main/org/jbo= ss/system/server/profileservice/repository/clustered/local/JAXBRepository= ContentMetadataPersister.java:98: >> >> cannot find symbol >> >> symbol : method >> >> =20 >> marshal(org.jboss.system.server.profileservice.repository.clustered.me= tadata.RepositoryContentMetadata,java.io.File) >> >> location: interface javax.xml.bind.Marshaller >> >> marshaller.marshal(metadata, metadataStore); >> >> ^ >> >> Note: Some input files use unchecked or unsafe operations. >> >> Note: Recompile with -Xlint:unchecked for details. >> >> 1 error >> >> 8 warnings >> > >> > Did you make any changes to your JDK 1.6 installation? eg: putting >> > stuff into the endoresed directories? >> > >> > Cheers. >> >> The API of some xml stuff changed between revisions of java6. At work = I >> need the openjdk6 port to compile everything, because colleges use new= er >> java versions than the current jdk16 port is. >> I don't have the details here right now, but I recommend you to instal= l >> openjdk6 and try again. >> >> Ronald. > > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Thu Dec 31 11:02:33 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 458981065670 for ; Thu, 31 Dec 2009 11:02:33 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id E8E278FC08 for ; Thu, 31 Dec 2009 11:02:32 +0000 (UTC) Received: by chen.org.nz (Postfix, from userid 1000) id 7945D2840C; Fri, 1 Jan 2010 00:02:30 +1300 (NZDT) Date: Fri, 1 Jan 2010 00:02:30 +1300 From: Jonathan Chen To: Ronald Klop Message-ID: <20091231110230.GA6912@osiris.chen.org.nz> References: <20091230172750.09C9D17127@bsd.mvh> <20091230185809.GA91259@osiris.chen.org.nz> <1262219967.12298.7.camel@bsd.mvh> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Mike Harding , freebsd-java@freebsd.org Subject: Re: JBoss5 port failure (Was: no subject) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2009 11:02:33 -0000 On Thu, Dec 31, 2009 at 11:21:47AM +0100, Ronald Klop wrote: > On Thu, 31 Dec 2009 01:39:27 +0100, Mike Harding wrote: > > >I removed all of the jdks except openjdk, and jboss5 does install and > >run. Thanks you all - how do I select the jdk to use for a port if I > >have multiple ones installed? > > Not sure, but this could do it. > # export JAVA_HOME=/usr/local/openjdk6 > # cd /usr/ports/../.. > # make ... > > It depends on how the port detects the JVM. Try adding the following line to /etc/make.conf: JAVA_PREFERRED_PORTS=JAVA_PORT_NATIVE_OPENJDK_JDK_1_6 Cheers. -- Jonathan Chen | To do is to be -- Nietzsche | To be is to do -- Sartre | Scooby do be do -- Scooby