Skip to content

Support for DragonFly BSD #5768

@tuxillo

Description

@tuxillo

Hi,

No JRuby available for DragonFly BSD (www.dragonflybsd.org) and I'd like to know what would be the steps to have that OS included in the binary distribution.

We, at least, took what we thought the initial requirements, see: jnr/jnr-posix#127, jnr/jnr-ffi#184, jnr/jffi#64

Now, I cloned jruby's git repo and built distribution with this diff:

diff --git a/core/pom.rb b/core/pom.rb
index 5292aa1767..bf3be2f325 100644
--- a/core/pom.rb
+++ b/core/pom.rb
@@ -43,9 +43,9 @@ project 'JRuby Core' do
   jar 'com.github.jnr:jnr-netdb:1.1.6', :exclusions => ['com.github.jnr:jnr-ffi']
   jar 'com.github.jnr:jnr-enxio:0.19', :exclusions => ['com.github.jnr:jnr-ffi']
   jar 'com.github.jnr:jnr-unixsocket:0.20', :exclusions => ['com.github.jnr:jnr-ffi']
-  jar 'com.github.jnr:jnr-posix:3.0.47', :exclusions => ['com.github.jnr:jnr-ffi']
+  jar 'com.github.jnr:jnr-posix:3.0.50', :exclusions => ['com.github.jnr:jnr-ffi']
   jar 'com.github.jnr:jnr-constants:0.9.12', :exclusions => ['com.github.jnr:jnr-ffi']
-  jar 'com.github.jnr:jnr-ffi:2.1.9'
+  jar 'com.github.jnr:jnr-ffi:2.1.10'
   jar 'com.github.jnr:jffi:${jffi.version}'
   jar 'com.github.jnr:jffi:${jffi.version}:native'

diff --git a/pom.rb b/pom.rb
index 13a50c928e..fc0cf7d5f2 100644
--- a/pom.rb
+++ b/pom.rb
@@ -83,7 +83,7 @@ project 'JRuby', 'https://github.com/jruby/jruby' do
               'jruby-launcher.version' => '1.1.6',
               'ant.version' => '1.9.8',
               'asm.version' => '6.2.1',
-              'jffi.version' => '1.2.18',
+              'jffi.version' => '1.2.19',
               'joda.time.version' => '2.9.9' )
 
   plugin_management do

And mvnw -Pdist creates a .tar.gz with libjffi for DragonFly BSD but I see no stdlib/ffi.

Thanks,
Antonio Huete

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions