[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: openjdk-8 ftbfs again on kfreebsd



Control: tags -1 + patch

Hi,

Matthias Klose wrote:
> /usr/lib/jvm/java-8-openjdk-kfreebsd-amd64/include/jni.h:45:20:
> fatal error: jni_md.h: No such file or directory
> compilation terminated.
>
> the header is now included in include/bsd instead of include/linux.
> Was this an intended change? Please either fix it, or revert it.

That was not intentional, but something changed upstream that we need
to patch.

The attached patch hunk appended to kfreebsd-support-jdk.diff will fix
this.  I've tested that the resulting openjdk-8 can be used as a build
dependency to successfully build itself again.

Thanks,
Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org
--- a/jdk/make/CopyFiles.gmk
+++ b/jdk/make/CopyFiles.gmk
@@ -31,6 +31,8 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
   OPENJDK_TARGET_OS_INCLUDE = $(INCLUDEDIR)/win32
 else ifeq ($(OPENJDK_TARGET_OS), macosx)
   OPENJDK_TARGET_OS_INCLUDE = $(INCLUDEDIR)/darwin
+else ifeq ($(OPENJDK_TARGET_OS), bsd)
+  OPENJDK_TARGET_OS_INCLUDE = $(INCLUDEDIR)/linux
 endif
 
 #

Attachment: signature.asc
Description: Digital signature


Reply to: