Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Nov 2019 14:19:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        elastic@FreeBSD.org
Subject:   [Bug 241312] sysutils/logstash6 Cipher Error
Message-ID:  <bug-241312-37421-qLIQLTGm6f@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241312-37421@https.bugs.freebsd.org/bugzilla/>
References:  <bug-241312-37421@https.bugs.freebsd.org/bugzilla/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241312

--- Comment #16 from Dan Langille <dvl@FreeBSD.org> ---
I'm getting compile errors on head with both FreeBSD 11.3 and FreeBSD 12.0: 

--- sslutils.pico ---
/usr/local/bin/ccache cc -fpic -DPIC  -O2 -pipe  -I/usr/local/openjdk8/include
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing 
-DHAVE_OPENSSL -I/usr/include/openssl `/usr/local/bin/apr-1-config --includes`
-I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd
-D_LARGEFILE64_SOURCE `/usr/local/bin/apr-1-config --cflags`
-fvisibility=hidden   -MD  -MF.depend.sslutils.pico -MTsslutils.pico -std=gnu99
-fstack-protector-strong    -Qunused-arguments  -c sslutils.c -o sslutils.pico
--- bb.pico ---
In file included from bb.c:32:
./tcn.h:36:10: fatal error: 'jni.h' file not found
#include <jni.h>
         ^~~~~~~


I tried adding this to the Makefile, but that makes no difference:

CFLAGS+=        "-I/usr/local/openjdk8/include"

That is where I found the required file:

root@120R-dvl:~ # find / -name jni.h
/usr/local/openjdk8/include/jni.h


Discussions on IRC speculated it might be -isystem is causing the problem.  The
full poudriere testport output is at:
https://gist.github.com/dlangille/5a4d586507738f5acb173688080cf7c0

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241312-37421-qLIQLTGm6f>