ports/153421: Typo in openjdk6 port patch set

Alexander Vasyanin avasyanin at gmail.com
Fri Dec 24 10:00:21 UTC 2010


>Number:         153421
>Category:       ports
>Synopsis:       Typo in openjdk6 port patch set
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 24 10:00:20 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Vasyanin
>Release:        8.1-BETA1
>Organization:
>Environment:
FreeBSD xxx.yyy.zz 8.2-BETA1 FreeBSD 8.2-BETA1 #0: Tue Dec 14 11:29:10 YEKT 2010     root@:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Small typo in files/patch-set file which makes an unresolved link in 
/usr/local/openjdk6/jre/lib/amd64/libjava.so.

$ cd /usr/ports/java/openjdk6/
$ diff files/patch-set.orig  files/patch-set
15187c15187
< +                retuen NULL;
---
> +                return NULL;

>How-To-Repeat:
Just try to build any application, which requires libjava.so from openjdk6, e.g. scilab. 'configure' script stops with following error message:

checking to see if we can link a JNI application... no
configure: error: could not link file that includes jni.h
        Either the configure script does not know how to deal with
        this JVM configuration or the JVM install is broken or corrupted.
===>  Script "configure" failed unexpectedly.
Please report the problem to rfarmer at predatorlabs.net [maintainer] and attach
the "/usr/obj/usr/ports/math/scilab/work/scilab-5.3.0/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/math/scilab.
*** Error code 1

Stop in /usr/ports/math/scilab.

In config.log:
configure:10534: gcc45 -o conftest -O2 -fno-strict-aliasing -pipe -march=athlon64 -I/usr/local/include -L/usr/local/lib -pthread -Wl,-rpath=/usr/local/lib/gcc45 -DNDEBUG -I$(top_sr
cdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ -I/usr/local/openjdk6/include -I/usr/local/openjdk6/include/freebs
d  -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/  conftest.c  -L/usr/local/openjdk6/jre/lib/amd64 -lja
va -lverify -L/usr/local/openjdk6/jre/lib/amd64/server -ljvm -L/usr/local/openjdk6/jre/lib/amd64/native_threads -lhpi >&5
/usr/local/openjdk6/jre/lib/amd64/libjava.so: undefined reference to `retuen'
collect2: ld returned 1 exit status
>Fix:
Just fix typo on line #15187 of files/patch-set.

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



More information about the freebsd-ports-bugs mailing list