[ports-i386 at FreeBSD.org: openjdk6-jre-b26_1 pkg-plist errors on i386 9]

Jung-uk Kim jkim at FreeBSD.org
Fri Oct 26 00:10:09 UTC 2012


-----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-----


More information about the freebsd-java mailing list