Skip site navigation (1)Skip section navigation (2)
Date:      13 May 2008 06:41:16 -0000
From:      Andrew Reilly <areilly@bigpond.net.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/123624: port java/sablevm installs jni.h in /usr/local/include that messes up other JVM builds.
Message-ID:  <20080513064116.77812.qmail@areilly.bpa.nu>
Resent-Message-ID: <200805130650.m4D6o2cT048288@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         123624
>Category:       ports
>Synopsis:       port java/sablevm installs jni.h in /usr/local/include that messes up other JVM builds.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 13 06:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Reilly
>Release:        FreeBSD 7.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD duncan.reilly.home 7.0-STABLE FreeBSD 7.0-STABLE #11: Sat May 10 16:36:58 EST 2008 root@duncan.reilly.home:/usr/obj/usr/src/sys/DUNCAN amd64


	athlon-x2, 3G
>Description:
	per pr java/123608: sablevm installs jni.h directly into
	/usr/local/include, where it is found by c and c++
	compilers on the standard search path, before the other
	JVM's own jni.h headers.  This causes them (specifically
	java/jdk16) to fail to build.
>How-To-Repeat:
	install java/sablevm
	attempt to build java/jdk16 -- see it break.
>Fix:

	work-around: de-install java/sablevm before attempting
	to install jdk16, and re-install after.

	Fix would be for port to install header in
	/usr/local/lib/sablevm/include, which (currently)
	contains a symlink to the /usr/local/include version.


>Release-Note:
>Audit-Trail:
>Unformatted:



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