Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2013 21:26:12 GMT
From:      Michaël <m.viey@wanadoo.fr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   java/182100: Usage of iconv is missing in openjdk6-b27_7
Message-ID:  <201309142126.r8ELQCcR093914@oldred.freebsd.org>
Resent-Message-ID: <201309142130.r8ELU03Q086481@freefall.freebsd.org>

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

>Number:         182100
>Category:       java
>Synopsis:       Usage of iconv is missing in openjdk6-b27_7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-java
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 14 21:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Michaël
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD FreeBsdMik 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
In the Makefile of last commit of openjdk6-6-b27_7, usage of libiconv is not spécified.

This cause bluej can't start the jvm with this error :
"Error output from debug VM on launch:/usr/local/openjdk6/jre/lib/amd64/libnpt.so: Undefined symbol "libiconv_open""


>How-To-Repeat:
Run Bluej with openjdk6. An error message will occur. In the logs of bluej we will find the line above.
>Fix:
Modify line 56 of the Makefile :

USES = gmake motif

to 

USES = gmake motif iconv

I tested this patch and it's ok on my system.

Patch attached with submission follows:

Index: java/openjdk6/Makefile
===================================================================
--- java/openjdk6/Makefile	(revision 327311)
+++ java/openjdk6/Makefile	(working copy)
@@ -53,7 +53,7 @@
 TEST_DESC=	Add support for running regression test
 .endif
 
-USES=		gmake motif
+USES=		gmake motif iconv
 
 .include <bsd.port.options.mk>
 .include "${.CURDIR}/../openjdk6/Makefile.icedtea"


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



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