You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @jperkin. The current Elasticsearch version is 7.12.0, but the SmartOS base64 package is version 6.8.8. Would it be practical to update that package?
I've been tinkering with it over the past few days, and I was able to get it to build with this patch: elasticsearch-7.12.0-sunos.txt
$ pkgin in openjdk15-15.0.0rc24
$ curl -OL https://github.com/elastic/elasticsearch/archive/refs/tags/v7.12.0.tar.gz
$ tar zxf v7.12.0.tar.gz
$ cd elasticsearch-7.12.0
$ patch -p1 < ../elasticsearch-7.12.0-sunos.txt
$ JAVA_HOME=/opt/local/java/openjdk15 RUNTIME_JAVA_HOME=/opt/local ./gradlew localDistro
$ ln -s /opt/local build/distribution/local/elasticsearch-7.12.0-SNAPSHOT/jdk
$ build/distribution/local/elasticsearch-7.12.0-SNAPSHOT/bin/elasticsearch --versionwarning: no-jdk distributions that do not bundle a JDK are deprecated and will be removed in a future releaseVersion: 7.12.0-SNAPSHOT, Build: default/tar/unknown/2021-04-15T23:00:38.667690Z, JVM: 15-internal
(I haven't figured out the pkgsrc package build system though.)
When I launch it in server mode, it complains about not finding JNA (libjnidispatch.so)… but the server finishes launching, and I can create an index and add documents to it, so it seems to basically work at least.
Edit: The JNA issue can be fixed by following the steps here: #93 (comment)
Correction: in order to talk to other Elasticsearch nodes, it needs to be built from inside the Git source tree. Updated steps:
$ pkgin in git openjdk15-15.0.0rc24
$ curl -OL https://github.com/joyent/pkgsrc/files/6328379/elasticsearch-7.12.0-sunos.txt
$ git clone https://github.com/elastic/elasticsearch
$ cd elasticsearch
$ git checkout 78722783c38caa25a70982b5b042074cde5d3b3a # tagged v7.12.0
$ patch -p1 < ../elasticsearch-7.12.0-sunos.txt
$ JAVA_HOME=/opt/local/java/openjdk15 RUNTIME_JAVA_HOME=/opt/local ./gradlew localDistro
$ ln -s /opt/local build/distribution/local/elasticsearch-7.12.0-SNAPSHOT/jdk
$ build/distribution/local/elasticsearch-7.12.0-SNAPSHOT/bin/elasticsearch --versionwarning: no-jdk distributions that do not bundle a JDK are deprecated and will be removed in a future releaseVersion: 7.12.0-SNAPSHOT, Build: default/tar/78722783c38caa25a70982b5b042074cde5d3b3a/2021-04-18T01:50:41.726304Z, JVM: 15-internal
(Now the version string includes the Git commit hash instead of "unknown", enabling this Elasticsearch build to confirm compatibility with other 7.12.0 nodes.)
Activity
jperkin commentedon Apr 15, 2021
Yeh I need to take a look at this at some point.
smokris commentedon Apr 17, 2021
I've been tinkering with it over the past few days, and I was able to get it to build with this patch:
elasticsearch-7.12.0-sunos.txt
(I haven't figured out the pkgsrc package build system though.)
When I launch it in server mode, it complains about not finding JNA (
libjnidispatch.so)… but the server finishes launching, and I can create an index and add documents to it, so it seems to basically work at least.Edit: The JNA issue can be fixed by following the steps here: #93 (comment)
smokris commentedon Apr 18, 2021
Correction: in order to talk to other Elasticsearch nodes, it needs to be built from inside the Git source tree. Updated steps:
(Now the version string includes the Git commit hash instead of "unknown", enabling this Elasticsearch build to confirm compatibility with other 7.12.0 nodes.)
(sysutils/R-processx) Updated 3.4.5 to 3.5.2
(www/R-httpuv) Updated 1.5.1 to 1.6.1
(textproc/R-xml2) Updated 1.2.2 to 1.3.2
games/arx-libertatis: update to arx-libertatis-1.2
(www/R-rvest) Updated 0.3.5 to 1.0.1
smokris commentedon Dec 4, 2021
Withdrawing this request; see #308 (comment).
py-importlib-metadata: update to 4.10.1.
sysutils/ups-nut-*: Update to 2.8.0
Update to 0.4.20
py-pip-audit: update to 2.3.4.
34 remaining items
textproc/inlyne: update to 0.5.0
www/ruby-loofah: update to 2.25.0
p5-Template-Toolkit: update to 3.103.
OpenJPH: update to 0.30.1.
www/litehtml: Update v0.10
grafana-prometheus-datasource: update to 13.1.9.
tree-sitter-php: update to 0.25.0.
py-cares: update to 5.1.0.
tree-sitter-php: update to 0.25.0.
py-cares: update to 5.1.0.
games/chess-tui: update to 2.8.0
devel/feluda: update to 1.18.0
misc/rozi: update to 0.0.41
net/xfr: update to 0.14.0
py-test-benchmark: update to 5.3.0.