Bug 204910 - textproc/elasticsearch2 does not install
Summary: textproc/elasticsearch2 does not install
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tom Judge
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-30 11:38 UTC by Borja Marcos
Modified: 2015-12-15 17:07 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (tj)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Borja Marcos 2015-11-30 11:38:10 UTC
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
Comment 1 Ron 2015-12-13 16:25:29 UTC
I am running into the very same error, 10.2-RELEASE.
Comment 2 Ron 2015-12-13 18:48:57 UTC
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
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-12-15 17:07:15 UTC
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