[Bug 241312] sysutils/logstash6 Cipher Error

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 8 14:19:18 UTC 2019


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

--- Comment #16 from Dan Langille <dvl at 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 at 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.


More information about the freebsd-elastic mailing list