Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2012 20:09:27 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Erwin Lansing <erwin@freebsd.org>
Cc:        java@freebsd.org
Subject:   Re: [ports-i386@FreeBSD.org: openjdk6-jre-b26_1 pkg-plist errors on i386 9]
Message-ID:  <5089D4B7.9050603@FreeBSD.org>
In-Reply-To: <5089B928.2090504@FreeBSD.org>
References:  <20121025105934.GN4474@droso.net> <5089B928.2090504@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5089D4B7.9050603>