From owner-freebsd-java@FreeBSD.ORG Fri Oct 26 00:10:09 2012 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A80EE85; Fri, 26 Oct 2012 00:10:09 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from hammer.pct.niksun.com (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 2495C8FC0A; Fri, 26 Oct 2012 00:10:09 +0000 (UTC) Message-ID: <5089D4B7.9050603@FreeBSD.org> Date: Thu, 25 Oct 2012 20:09:27 -0400 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121024 Thunderbird/16.0.1 MIME-Version: 1.0 To: Erwin Lansing Subject: Re: [ports-i386@FreeBSD.org: openjdk6-jre-b26_1 pkg-plist errors on i386 9] References: <20121025105934.GN4474@droso.net> <5089B928.2090504@FreeBSD.org> In-Reply-To: <5089B928.2090504@FreeBSD.org> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: java@freebsd.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2012 00:10:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-10-25 18:11:52 -0400, Jung-uk Kim wrote: > On 2012-10-25 06:59:34 -0400, Erwin Lansing wrote: > >> FYI; can you please investigate and/or report to the developers? >> If you are already aware of this problem but do not yet have a >> fix, please mark the port BROKEN in the appropriate case, so >> that users do not unexpectedly encounter it. > >> See http://pointyhat.freebsd.org for the full log. > > Actually, this is (arguably) a bug for javavmwrapper. Its > installation script searches for JDK/JREs under ${PREFIX} and > registers them all without an exception. That means you cannot > have a package containing ${PREFIX}/*j{dk|re}*/bin/java without > explicitly registering javavmwrapper as dependency. I think we > should get rid of this "feature" or de-installation script must > remove /usr/local/etc/javavms. > > I'll add javavmwrapper as a dependency for bootstrap-openjdk for > now. Actually it triggered another bug, i.e., stale symlinks. :-( https://redports.org/~jkim@FreeBSD.org/20121025222400-65315-93464/bootstrap-openjdk-r306294_1.log Now we really have to fix the root cause. Here is my suggestion: http://people.freebsd.org/~jkim/javavmwrapper.diff Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCJ1LcACgkQmlay1b9qnVPXNQCdFnTJj61aQh+x/vsdd9bKyd5K fH8Anjq36TfwhuEVrzutHn5K76dy8OBS =4cye -----END PGP SIGNATURE-----