From owner-freebsd-java@FreeBSD.ORG Sun Apr 10 19:50:52 2011 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 917F0106566C; Sun, 10 Apr 2011 19:50:52 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6904C8FC0A; Sun, 10 Apr 2011 19:50:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3AJoq89057660; Sun, 10 Apr 2011 19:50:52 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3AJoq4K057651; Sun, 10 Apr 2011 19:50:52 GMT (envelope-from edwin) Date: Sun, 10 Apr 2011 19:50:52 GMT Message-Id: <201104101950.p3AJoq4K057651@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-java@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/156319: [patch] java/openjdk6 does not compile with previous libXext and libXtst 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: Sun, 10 Apr 2011 19:50:52 -0000 Synopsis: [patch] java/openjdk6 does not compile with previous libXext and libXtst Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-java Responsible-Changed-By: edwin Responsible-Changed-When: Sun Apr 10 19:50:51 UTC 2011 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=156319 From owner-freebsd-java@FreeBSD.ORG Mon Apr 11 11:07:05 2011 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 0F96D106568F for ; Mon, 11 Apr 2011 11:07:05 +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 D913E8FC13 for ; Mon, 11 Apr 2011 11:07:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3BB74NK025924 for ; Mon, 11 Apr 2011 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3BB74Fp025922 for freebsd-java@FreeBSD.org; Mon, 11 Apr 2011 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Apr 2011 11:07:04 GMT Message-Id: <201104111107.p3BB74Fp025922@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, 11 Apr 2011 11:07:05 -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 ports/156319 java [patch] java/openjdk6 does not compile with previous l o ports/155967 java [bsd.java.mk] [patch] javavm wrapper insists on diablo o ports/155657 java java/openjdk6: missing symlink for include/freebsd/* o java/155107 java [patch] port java/diablo-jdk16 small cosmetic fix for o ports/154884 java java/openjdk6: Every NetBeans version on FreeBSD 8.1 c o ports/151923 java [patch] java/openjdk6: free and native openjdk bootstr o ports/151042 java [patch] java/openjdk6 Respect CC o ports/150142 java Not installed java/openjdk6 on file system zfs /usr/lo o java/147512 java Crash of RXTX-2.1-7 on AMD64 system o ports/142704 java [PATCH] java/jai-imageio: use $SUB_FILES to dynamicall o java/138729 java java/jdk16: setting 'export AWT_TOOLKIT=MToolkit' caus o java/138728 java java/jdk16: SIGSEGV in java runtime 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 f java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con 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 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/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 f java/112595 java Java appletviewer frequently hangs (kse_release loop) o java/110912 java Java krb5 client leaks UDP connections o java/97461 java Diablo JDK does not report Update level in a format su s java/62837 java linux-sun-jdk14 executables hang with COMPAT_LINUX in 32 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Apr 11 15:47:50 2011 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 24999106564A; Mon, 11 Apr 2011 15:47:50 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id A98978FC0C; Mon, 11 Apr 2011 15:47:48 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA00942; Mon, 11 Apr 2011 18:47:27 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4DA3228F.2010901@FreeBSD.org> Date: Mon, 11 Apr 2011 18:47:27 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Greg Lewis References: <4D95B654.1090900@FreeBSD.org> <4D9F29E1.6020606@FreeBSD.org> <20110409180058.GB31452@misty.eyesbeyond.com> In-Reply-To: <20110409180058.GB31452@misty.eyesbeyond.com> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-java@FreeBSD.org, freebsd-eclipse@FreeBSD.org Subject: Re: adding and maintaining the port upstream 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, 11 Apr 2011 15:47:50 -0000 on 09/04/2011 21:00 Greg Lewis said the following: > I'm very interested in that happening, but I have no time to pursue it. > The bulk of my time is devoted to keeping the port of OpenJDK 7 (the > OpenJDK hosted port that is, not java/openjdk7) up to date. That is very important too. Thank you for all that you've been doing over all these many years. I think that there were a few other people who made substantial contributions to Eclipse. As I am using Eclipse on FreeBSD for work, I could devote some (rather small) portion of my time for Eclipse maintenance. Unfortunately, I am so out of the loop at the moment that it would be too hard for me to get started on my own. It's possible that we haven't just grown enough community here (Eclipse/FreeBSD) yet. Java/FreeBSD community seems to be a little bit more active. -- Andriy Gapon From owner-freebsd-java@FreeBSD.ORG Fri Apr 15 16:42:41 2011 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 CE5FA106566C; Fri, 15 Apr 2011 16:42:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id A56068FC0C; Fri, 15 Apr 2011 16:42:41 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 5A91B46B5C; Fri, 15 Apr 2011 12:42:41 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id EBAC48A027; Fri, 15 Apr 2011 12:42:40 -0400 (EDT) From: John Baldwin To: "Jung-uk Kim" Date: Fri, 15 Apr 2011 12:27:05 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <4D9F1E05.4070900@FreeBSD.org> <4D9F667A.90302@FreeBSD.org> <201104081628.25082.jkim@FreeBSD.org> In-Reply-To: <201104081628.25082.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104151227.05954.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 15 Apr 2011 12:42:41 -0400 (EDT) Cc: freebsd-java@freebsd.org Subject: Re: Version number of openjdk6 port 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: Fri, 15 Apr 2011 16:42:41 -0000 On Friday, April 08, 2011 4:28:18 pm Jung-uk Kim wrote: > On Friday 08 April 2011 03:48 pm, John Baldwin wrote: > > On 4/8/11 3:11 PM, Jung-uk Kim wrote: > > > On Friday 08 April 2011 10:39 am, John Baldwin wrote: > > >> Please consider using a better version number for the openjdk6 > > >> port. Right now it uses a version number of 'b20_7' which due to > > >> the way package version works, is considered less than 0: > > >> > > >> % pkg_version -t 0 b20_7 > > >> > > >> > > >> Why does this matter? cfengine uses 'pkg_info -E pkg_name>0' to > > >> test if a package is installed. > > > > > > Then, I would say cfengine is broken. "0" in that version match > > > string is package dependent, not major, minor, or whatever. For > > > example: > > > > > > %pkg_info -E 'avahi>0.6.20' > > > avahi-0.6.29 > > > %pkg_info -E 'openjdk6>b0' > > > openjdk6-b22_4 > > > %pkg_info -E 'mplayer>1.0.r0' > > > mplayer-1.0.r20110329 > > > > Hmm, I can probably workaround this then using an explicit > > comparison rule (so it doesn't use >0). It would be nice if we had > > an official way to match a package with "any version". Perhaps > > "pkg_info -E 'pkg-*'" if we assume that package names can never > > have dashes in them (to avoid problems, with, say, 'foo-*' matching > > both foo-1.0 and foo-bar-1.0.). Oh, we already have those types of > > packages: > > > > xorg-7.5 X.Org complete distribution metaport > > xorg-apps-7.5_1 X.org apps meta-port > > > > The problem is how can software generically say "is any version of > > the foo package installed". It would seem we don't support that > > currently? > > The key here is package origin, not the package name itself. > > %pkg_info -qO java/openjdk6 > openjdk6-b22_4 > %pkg_info -qO x11/xorg-apps > xorg-apps-7.5.1 > > It is always safe to find its origin because there may be prefixes and > postfixes. > > %pkg_info -qoX ko-openoffice.org > editors/openoffice.org-3-devel > > I think this would be the worse case in the ports tree: > > %pkg_info -qo apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.10 > devel/apr1 Unfortunately our package system is way too simple to handle something like that. What you get is a file and you can't say 'pkg_add java/openjdk6', you have to give it a path. Even if you try to use pkg_add -r, then you are still passing different things. I.e. if my directive was 'install the openjdk6' package, how is it supposed to map that to 'java/openjdk6' to query if it is already installed? -- John Baldwin From owner-freebsd-java@FreeBSD.ORG Fri Apr 15 17:47:46 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id B527910656D2; Fri, 15 Apr 2011 17:47:45 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: John Baldwin Date: Fri, 15 Apr 2011 13:47:36 -0400 User-Agent: KMail/1.6.2 References: <4D9F1E05.4070900@FreeBSD.org> <201104081628.25082.jkim@FreeBSD.org> <201104151227.05954.jhb@freebsd.org> In-Reply-To: <201104151227.05954.jhb@freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104151347.38234.jkim@FreeBSD.org> Cc: freebsd-java@freebsd.org Subject: Re: Version number of openjdk6 port 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: Fri, 15 Apr 2011 17:47:46 -0000 On Friday 15 April 2011 12:27 pm, John Baldwin wrote: > On Friday, April 08, 2011 4:28:18 pm Jung-uk Kim wrote: > > On Friday 08 April 2011 03:48 pm, John Baldwin wrote: > > > On 4/8/11 3:11 PM, Jung-uk Kim wrote: > > > > On Friday 08 April 2011 10:39 am, John Baldwin wrote: > > > >> Please consider using a better version number for the > > > >> openjdk6 port. Right now it uses a version number of 'b20_7' > > > >> which due to the way package version works, is considered > > > >> less than 0: > > > >> > > > >> % pkg_version -t 0 b20_7 > > > >> > > > >> > > > >> Why does this matter? cfengine uses 'pkg_info -E > > > >> pkg_name>0' to test if a package is installed. > > > > > > > > Then, I would say cfengine is broken. "0" in that version > > > > match string is package dependent, not major, minor, or > > > > whatever. For example: > > > > > > > > %pkg_info -E 'avahi>0.6.20' > > > > avahi-0.6.29 > > > > %pkg_info -E 'openjdk6>b0' > > > > openjdk6-b22_4 > > > > %pkg_info -E 'mplayer>1.0.r0' > > > > mplayer-1.0.r20110329 > > > > > > Hmm, I can probably workaround this then using an explicit > > > comparison rule (so it doesn't use >0). It would be nice if we > > > had an official way to match a package with "any version". > > > Perhaps "pkg_info -E 'pkg-*'" if we assume that package names > > > can never have dashes in them (to avoid problems, with, say, > > > 'foo-*' matching both foo-1.0 and foo-bar-1.0.). Oh, we > > > already have those types of packages: > > > > > > xorg-7.5 X.Org complete distribution metaport > > > xorg-apps-7.5_1 X.org apps meta-port > > > > > > The problem is how can software generically say "is any version > > > of the foo package installed". It would seem we don't support > > > that currently? > > > > The key here is package origin, not the package name itself. > > > > %pkg_info -qO java/openjdk6 > > openjdk6-b22_4 > > %pkg_info -qO x11/xorg-apps > > xorg-apps-7.5.1 > > > > It is always safe to find its origin because there may be > > prefixes and postfixes. > > > > %pkg_info -qoX ko-openoffice.org > > editors/openoffice.org-3-devel > > > > I think this would be the worse case in the ports tree: > > > > %pkg_info -qo apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.10 > > devel/apr1 > > Unfortunately our package system is way too simple to handle > something like that. What you get is a file and you can't say > 'pkg_add java/openjdk6', you have to give it a path. Even if you > try to use pkg_add -r, then you are still passing different things. > I.e. if my directive was 'install the openjdk6' package, how is it > supposed to map that to 'java/openjdk6' to query if it is already > installed? Yeah, our packaging system is not powerful enough to handle complex tasks. However, if you are creative enough, you can do it. :-P Long time ago, I had to do something like this for my $JOB: #!/bin/sh PKG_DIR=/usr/ports/packages/All PKGS=`find ${PKG_DIR} -name "*.tbz" | sed "s#^${PKG_DIR}/##g"` PKG_ORGS= for i in ${PKGS}; do o=`pkg_info -oq ${i}` PKG_ORGS="${PKG_ORGS} ${o}" done # Do some stuff by PKGS:PKG_ORGS pairs, e.g., upgrade packages # if there are new ones. This is overly simplified version but you know what I mean. Jung-uk Kim