From eugen@eg.sd.rdtc.ru  Tue Mar  8 20:49:46 2011
Return-Path: <eugen@eg.sd.rdtc.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E77E0106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Mar 2011 20:49:45 +0000 (UTC)
	(envelope-from eugen@eg.sd.rdtc.ru)
Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [62.231.161.221])
	by mx1.freebsd.org (Postfix) with ESMTP id 53AEC8FC17
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Mar 2011 20:49:44 +0000 (UTC)
Received: from eg.sd.rdtc.ru (localhost [127.0.0.1])
	by eg.sd.rdtc.ru (8.14.4/8.14.4) with ESMTP id p28KQiiw058434
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 9 Mar 2011 02:26:44 +0600 (NOVT)
	(envelope-from eugen@eg.sd.rdtc.ru)
Received: (from eugen@localhost)
	by eg.sd.rdtc.ru (8.14.4/8.14.4/Submit) id p28KQdJA058433;
	Wed, 9 Mar 2011 02:26:39 +0600 (NOVT)
	(envelope-from eugen)
Message-Id: <201103082026.p28KQdJA058433@eg.sd.rdtc.ru>
Date: Wed, 9 Mar 2011 02:26:39 +0600 (NOVT)
From: Eugene Grosbein <egrosbein@rdtc.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: java/openjdk16 does not build with WEB option enabled
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         155381
>Category:       ports
>Synopsis:       java/openjdk6 does not build with WEB option enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jkim
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 08 20:50:10 UTC 2011
>Closed-Date:    Tue Mar 29 07:27:27 UTC 2011
>Last-Modified:  Tue Mar 29 07:27:27 UTC 2011
>Originator:     Eugene Grosbein
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
RDTC JSC
>Environment:
System: FreeBSD eg.sd.rdtc.ru 8.2-STABLE FreeBSD 8.2-STABLE #21: Fri Feb 25 19:25:25 NOVT 2011 root@eg.sd.rdtc.ru:/usr/local/obj/usr/local/src/sys/EG i386


>Description:
	The Handbook and the port java/openjdk16 claim to support Java for Firefox 3.6.
	However, the port does not build when WEB option (browser plugin and Java Web Start)
	is enabled.

>How-To-Repeat:
	cd /usr/ports/java/openjdk16
	make # enable WEB option in menu

	Here are last lines of make's output:

>Fix:

	Unknown.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-java 
Responsible-Changed-By: sunpoet 
Responsible-Changed-When: Fri Mar 11 04:56:21 UTC 2011 
Responsible-Changed-Why:  
Fix synopsis and reassign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155381 

From: Eugene Grosbein <egrosbein@rdtc.ru>
To: bug-followup@FreeBSD.ORG
Cc:  
Subject: Re: ports/155381: java/openjdk6 does not build with WEB option enabled
Date: Mon, 28 Mar 2011 17:40:19 +0700

 Hi!
 
 I've just found source of the problem and fixed it.
 
 I had libxul-1.9.0.14 installed. With upgrade to libxul-1.9.2.13 or later,
 problem goes away. I've settled with currently most recent ports version libxul-1.9.2.16.
 
 Corresponding patch for ports/java/openjdk6/Makefile follows:
 
 --- Makefile.orig	2011-03-28 17:26:06.000000000 +0700
 +++ Makefile	2011-03-28 17:38:28.000000000 +0700
 @@ -172,7 +172,7 @@
  BUILD_DEPENDS+=	${LOCALBASE}/bin/pkg-config:${PORTSDIR}/devel/pkg-config \
  		${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc:${PORTSDIR}/devel/glib20 \
  		${LOCALBASE}/libdata/pkgconfig/gtk+-2.0.pc:${PORTSDIR}/x11-toolkits/gtk20 \
 -		${LOCALBASE}/libdata/pkgconfig/mozilla-plugin.pc:${PORTSDIR}/www/libxul
 +		libxul>=1.9.2.13:${PORTSDIR}/www/libxul
  ITWEBDIR=	${WRKDIR}/icedtea-web-${ITWEBVERSION}
  ITWEB_JAVAC=	${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/bin/javac
  ITWEB_JAR=	${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/bin/jar
State-Changed-From-To: open->feedback 
State-Changed-By: jkim 
State-Changed-When: Mon Mar 28 21:09:18 UTC 2011 
State-Changed-Why:  
Although we do not support out-of-sync dependency, I've committed 
a fix.  Please verify.  Thanks! 


Responsible-Changed-From-To: freebsd-java->jkim 
Responsible-Changed-By: jkim 
Responsible-Changed-When: Mon Mar 28 21:09:18 UTC 2011 
Responsible-Changed-Why:  
Committed a different fix. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155381 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/155381: commit references a PR
Date: Mon, 28 Mar 2011 21:09:02 +0000 (UTC)

 jkim        2011-03-28 21:08:52 UTC
 
   FreeBSD ports repository
 
   Modified files:
     java/openjdk6/files  Makefile.plugin 
   Log:
   Force libxul include directory and allow building IcedTea-Web plugin with
   an ancient xulrunner (i.e., 1.9.2.9 and earlier).  This commit should fix:
   
   PR:     ports/155381
   
   Revision  Changes    Path
   1.4       +7 -3      ports/java/openjdk6/files/Makefile.plugin
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: Eugene Grosbein <egrosbein@rdtc.ru>
To: jkim@freebsd.org
Cc: freebsd-java@freebsd.org, bug-followup@freebsd.org
Subject: Re: ports/155381: java/openjdk6 does not build with WEB option enabled
Date: Tue, 29 Mar 2011 12:36:39 +0700

 On 29.03.2011 04:12, jkim@freebsd.org wrote:
 > Synopsis: java/openjdk6 does not build with WEB option enabled
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: jkim
 > State-Changed-When: Mon Mar 28 21:09:18 UTC 2011
 > State-Changed-Why: 
 > Although we do not support out-of-sync dependency, I've committed
 > a fix.  Please verify.  Thanks!
 > 
 > 
 > Responsible-Changed-From-To: freebsd-java->jkim
 > Responsible-Changed-By: jkim
 > Responsible-Changed-When: Mon Mar 28 21:09:18 UTC 2011
 > Responsible-Changed-Why: 
 > Committed a different fix.
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=155381
 
 It builds, thanks.
 
 Eugene Grosbein
State-Changed-From-To: feedback->closed 
State-Changed-By: jkim 
State-Changed-When: Tue Mar 29 07:26:38 UTC 2011 
State-Changed-Why:  
Feedback received. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155381 
>Unformatted:
 >>>Making sec-files-win @ Wed Mar  9 01:39:20 NOVT 2011 ...
 >>>Making jgss-files @ Wed Mar  9 01:39:20 NOVT 2011 ...
 >>>Finished making images @ Wed Mar  9 01:39:20 NOVT 2011 ...
 gmake[2]: Leaving directory `/var/tmp/usr/local/ports/java/openjdk6/work/jdk/make'
 gmake[1]: Leaving directory `/var/tmp/usr/local/ports/java/openjdk6/work'
 Control bsd i586 1.6.0 build_product_image build finished: 11-03-09 01:39
 Control bsd i586 1.6.0 all_product_build build finished: 11-03-09 01:39
 Control bsd i586 1.6.0 all build finished: 11-03-09 01:39
 rm -f .depend
 mkdep -f .depend -a    -DJDK_UPDATE_VERSION="\"22\"" -DPLUGIN_NAME="\"IcedTea-Web Plugin\"" -DPLUGIN_VERSION="\"IcedTea-Web 1.0.1\"" -DPACKAGE_URL="\"http://icedtea.classpath.org/wiki/IcedTea-Web\"" -DMOZILLA_VERSION_COLLAPSED="1090015" -D_THREAD_SAFE -D _REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix- 2.0/ -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libxul/stable -I/usr/local/include/nspr  IcedTeaJavaRequestProcessor.cc IcedTeaNPPlugin.cc IcedTeaPluginRequestProcessor.cc IcedTeaPluginUtils.cc  IcedTeaScriptablePluginObject.cc   
 In file included from IcedTeaJavaRequestProcessor.h:46,
                  from IcedTeaJavaRequestProcessor.cc:41:
 IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory
 In file included from IcedTeaJavaRequestProcessor.h:46,
                  from IcedTeaScriptablePluginObject.h:49,
                  from IcedTeaNPPlugin.cc:51:
 IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory
 IcedTeaNPPlugin.cc:56:31: error: nsIPluginInstance.h: No such file or directory
 IcedTeaNPPlugin.cc:57:35: error: nsIPluginInstancePeer.h: No such file or directory
 IcedTeaNPPlugin.cc:58:31: error: nsIPluginTagInfo2.h: No such file or directory
 IcedTeaNPPlugin.cc:62:30: error: nsICookieService.h: No such file or directory
 IcedTeaNPPlugin.cc:63:26: error: nsIDNSRecord.h: No such file or directory
 IcedTeaNPPlugin.cc:64:27: error: nsIDNSService.h: No such file or directory
 IcedTeaNPPlugin.cc:65:24: error: nsINetUtil.h: No such file or directory
 IcedTeaNPPlugin.cc:66:26: error: nsIProxyInfo.h: No such file or directory
 IcedTeaNPPlugin.cc:67:37: error: nsIProtocolProxyService.h: No such file or directory
 IcedTeaNPPlugin.cc:68:38: error: nsIScriptSecurityManager.h: No such file or directory
 IcedTeaNPPlugin.cc:71:22: error: nsNetCID.h: No such file or directory
 In file included from IcedTeaJavaRequestProcessor.h:46,
                  from IcedTeaScriptablePluginObject.h:49,
                  from IcedTeaPluginRequestProcessor.cc:41:
 IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory
 In file included from IcedTeaPluginUtils.cc:39:
 IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory
 In file included from IcedTeaJavaRequestProcessor.h:46,
                  from IcedTeaScriptablePluginObject.h:49,
                  from IcedTeaScriptablePluginObject.cc:41:
 IcedTeaNPPlugin.h:43:27: error: nsThreadUtils.h: No such file or directory
 mkdep: compile failed
 *** Error code 1
 
 Stop in /var/tmp/usr/local/ports/java/openjdk6/work/icedtea-web-1.0.1/plugin/icedteanp.
 *** Error code 1
 
 Stop in /usr/local/ports/java/openjdk6.
 *** Error code 1
 
 Stop in /usr/local/ports/java/openjdk6.
 
