Date: Fri, 18 Mar 2011 11:54:47 +0100 (CET) From: Pierre Guinoiseau <geekounet@poildetroll.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/155657: java/openjdk6: missing symlink for include/freebsd/* Message-ID: <20110318105447.B6FE9295@alderaan.home.poildetroll.net> Resent-Message-ID: <201103181100.p2IB0IqG015661@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 155657 >Category: ports >Synopsis: java/openjdk6: missing symlink for include/freebsd/* >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 18 11:00:18 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Pierre Guinoiseau <geekounet@poildetroll.net> >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD alderaan.home.poildetroll.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r219373: Mon Mar 7 13:46:59 CET 2011 root@alderaan.home.poildetroll.net:/usr/obj/usr/src/sys/ALDERAAN amd64 >Description: Hello, headers located in $LOCALBASE/openjdk6/include/freebsd/ should be symlinked to $LOCALBASE/openjdk6/include/. There reason is that jni.h is doing this include: #include "jni_md.h" Therefore the include fail because jni_md.h is in freebsd/ subdirectory. A symlink fixes the problem. It doesn't seem necessary for jawt_md.h, but it still can be useful, so that java libs build systems don't have to be OS specific. I also noticed Debian's openjdk6 has these symlinks too (to linux/*). I don't know if this has to be fixed in the openjdk6 build system or in the port, so I don't have a patch for this. Thanks. >How-To-Repeat: Compile anything including jni.h >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110318105447.B6FE9295>