The port fails to install. # make install ===> Installing for elasticsearch2-2.0.0 ===> elasticsearch2-2.0.0 depends on file: /usr/local/openjdk8/bin/java - found ===> Checking if elasticsearch2 already installed ===> Registering installation for elasticsearch2-2.0.0 pkg-static: Unable to access file /usr/ports/textproc/elasticsearch2/work/stage/usr/local/bin/elasticsearch-plugin: No such file or directory *** Error code 74 Stop. make[1]: stopped in /usr/ports/textproc/elasticsearch2 *** Error code 1 Stop. make: stopped in /usr/ports/textproc/elasticsearch2
I am running into the very same error, 10.2-RELEASE.
Verified that the patch located here, bumps the version to 2.1 (which is required for Kibana 4.3) but also fixes the error reported in this bug. https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163726&action=diff
A commit references this bug: Author: tj Date: Tue Dec 15 17:06:12 UTC 2015 New revision: 403794 URL: https://svnweb.freebsd.org/changeset/ports/403794 Log: Update to 2.1. Changes: https://www.elastic.co/guide/en/elasticsearch/reference/2.1/release-notes-2.1.0.html - Fix path to allow service to start at boot - Misc cleanup from ohauer PR: 195861, 204821, 204902, 204910 Changes: head/textproc/elasticsearch2/Makefile head/textproc/elasticsearch2/distinfo head/textproc/elasticsearch2/files/patch-bin-elasticsearch.in.sh head/textproc/elasticsearch2/pkg-descr head/textproc/elasticsearch2/pkg-plist