Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Ensure the tests for these FFI projects pass on Rubinius #2121

Open
jc00ke opened this Issue Jan 10, 2013 · 11 comments

Comments

Projects
None yet
8 participants
Owner

jc00ke commented Jan 10, 2013

Here is a list of popular FFI-dependent gems. Ensure the tests for each pass on Rubinius in 1.8 and 1.9 modes.

Needs help

<tr>
  <td><a href="http://github.com/dark-panda/ffi-geos">GEOS</a></td>
  <td>?<!--<img src="https://travis-build-status.herokuapp.com/?owner-name=dark-panda&repo-name=ffi-geos&ruby-engine=rbx-1" />--></td>
  <td>?<!--<img src="https://travis-build-status.herokuapp.com/?owner-name=dark-panda&repo-name=ffi-geos&ruby-engine=rbx-2" />--></td>
  <td>?<!--<a href="https://travis-ci.org/dark-panda/ffi-geos">Travis (o)</a>--></td>
</tr>

<tr>
  <td><a href="http://github.com/dark-panda/ffi-geos">Ruby/GD2 interface</a></td>
  <td>?<!--<img src="https://travis-build-status.herokuapp.com/?owner-name=dark-panda&repo-name=gd2-ffij&ruby-engine=rbx-1" />--></td>
  <td>?<!--<img src="https://travis-build-status.herokuapp.com/?owner-name=dark-panda&repo-name=gd2-ffij&ruby-engine=rbx-2" />--></td>
  <td>?<!--<a href="https://travis-ci.org/dark-panda/gd2-ffij">Travis (o)</a>--></td>
</tr>

<tr>
  <td><a href="http://github.com/dark-panda/ffi-proj4">PROJ.4 Cartographic Projections</a></td>
  <td>?<!--<img src="https://travis-build-status.herokuapp.com/?owner-name=dark-panda&repo-name=ffi-proj4&ruby-engine=rbx-1" />--></td>
  <td>?<!--<img src="https://travis-build-status.herokuapp.com/?owner-name=dark-panda&repo-name=ffi-proj4&ruby-engine=rbx-2" />--></td>
  <td>?<!--<a href="https://travis-ci.org/dark-panda/ffi-proj4">Travis (o)</a>--></td>
</tr>
1.x (Ruby 1.8.7) 2.x (Ruby 2.x) Tested?
ffi-rzmq Travis (o)
Gnu Linear Programming Toolkit ? ? ?
ffi-wiiuse ? ? ?
NiceFFI ? ? ?
Ruby-SDL-FFI ? ? ?
Rubygame ? ? ?
ffi-inliner ? ? ?
ffi-opengl ? ? ?
ffi-life ? ? ?
ffi-tcc ? ? ?
Johnson FFI port ? ? ?
rufus-tokyo ? ? ?
ffi-tk ? ? ?
GirFFI ? ? ?
libnotify ? ? ?
spread_client ? ? ?
chipmunk-ffi ? ? ?
ffi-allegro ? ? ?
Win ? ? ?
ffi-udis86 ? ? ?
ruby-llvm ? ? ?
ruby-portaudio ? ? ?
samtools-ruby ? ? ?
simple_krb5 ? ? ?
rrd-ffi ? ? ?
ruby-gsl-ng ? ? ?
ffi-pcap Travis (o)
ffi-libc Travis (o)
ffi-msgpack Travis (o)
RDF::Raptor ? ? ?
Dia ? ? ?
ffi-hunspell Travis (o)
sgc-ruby-cuda ? ? ?
libjack-ffi-ruby ? ? ?
pulseaudio-ffi-ruby ? ? ?
gssapi ? ? ?
smartcard ? ? ?
spotify ? ?
alsa-rawmidi ? ? ?
midi-winmm ? ? ?
ffi-coremidi ? ? ?
ragweed ? ? ?
x11 ? ? ?
rubypython ? ? ?
ruby-player Travis (o)
SAP Netweaver RFC SDK ? ? ?
libusb Travis (o)
OpenCV-FFI Travis (o)
OpenCV-FFI-Ext ? ? ?
OpenCV-FFI-FAST ? ? ?

Note: Travis (o) means the owner of the repo is testing on Travis (official) and Travis (u) means it's unofficial (one of us set it up)

We can add to this list as well.

Some of these may already pass, but we should verify them all.

Contributor

mitchellh commented Jan 10, 2013

You can remove "virtualbox." I abandoned it almost a year ago, and I'd be surprised if it still worked with latest VirtualBox.

Owner

jc00ke commented Jan 10, 2013

@mitchellh I noticed the deprecation warning 😉

Member

chuckremes commented Jan 10, 2013

@jc00ke you might want to add ffi-rzmq to the table above (https://github.com/chuckremes/ffi-rzmq). I don't know why that project isn't listed on the ffi wiki page...

Owner

jc00ke commented Jan 10, 2013

@chuckremes done, thanks.

Owner

jc00ke commented Jan 14, 2013

@sempervictus any chance I could get you to test those projects on Travis?

Contributor

razielgn commented Apr 6, 2013

ffi-libc is green on both: https://travis-ci.org/razielgn/ffi-libc
ffi-msgpack is red on both: https://travis-ci.org/razielgn/ffi-msgpack
ffi-hunspell fails even on MRI: https://travis-ci.org/razielgn/ffi-hunspell
ffi-pcap� fails due to permission errors and other stuff on MRI: https://travis-ci.org/razielgn/ffi-pcap
libusb already passes: https://travis-ci.org/larskanis/libusb�
ragweed doesn't have tests
spotify� crashes the VM: https://travis-ci.org/razielgn/spotify/jobs/6097906

Contributor

postmodern commented Apr 6, 2013

FYI, use ffi-hunspell instead of hunspell-ffi. Also, might want to add these FFI libraries: http://rubygems.org/search?utf8=%E2%9C%93&query=ffi- http://rubygems.org/search?utf8=%E2%9C%93&query=-ffi

spotify crash might be because of a garbage collection test that won’t work in Rubinius nor JRuby, and not necessarily related to Rubinius — I’ll disable that test for non-MRI engines. However, the gem crashes the Rubinius VM when run for real (outside of tests) anyway, something that I have not yet properly examined.

The tests in spotify is mainly to make sure that the FFI mapping matches the underlying native library header definitions. They pass on Rubinius now.

Contributor

razielgn commented Apr 6, 2013

ffi-pcap: resolved permission errors and now it's green! https://travis-ci.org/razielgn/ffi-pcap

Contributor

postmodern commented Apr 6, 2013

We started updating the list of known FFI projects using this script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment