ffi / ffi

Ruby FFI
https://github.com/ffi/ffi/wiki
BSD 3-Clause "New" or "Revised" License
2.08k stars 333 forks source link

Can't install gem ffi version 1.9.3 under Alpine 3.4 #576

Closed AlexanderAllen closed 7 years ago

AlexanderAllen commented 7 years ago

Hi,

I am trying to install version 1.9.3 (required by some other dependency). I tried all the suggestions above but it still doesn't work for me. I can install the latest version with no problems.

Version 1.9.3 complains about gnu/lib-names.h not found:

gem install ffi -v '1.9.3'
...
compiling Platform.c
Platform.c:47:28: fatal error: gnu/lib-names.h: No such file or directory
compilation terminated.

Full result:

root@3f8f393b9c82:/home/docker# gem install --verbose ffi -v '1.9.3'
GET http://rubygems.org/specs.4.8.gz
200 OK
Installing gem ffi-1.9.3
/opt/bundle/gems/ffi-1.9.3/ffi.gemspec
/opt/bundle/gems/ffi-1.9.3/LICENSE
/opt/bundle/gems/ffi-1.9.3/COPYING
/opt/bundle/gems/ffi-1.9.3/README.md
/opt/bundle/gems/ffi-1.9.3/Rakefile
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/AbstractMemory.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/AbstractMemory.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/ArrayType.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/ArrayType.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Buffer.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Call.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Call.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/ClosurePool.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/ClosurePool.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/compat.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/DataConverter.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/DynamicLibrary.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/DynamicLibrary.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/extconf.rb
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Function.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Function.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/FunctionInfo.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/LastError.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/LastError.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/acinclude.m4
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/aclocal.m4
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/build-ios.sh
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/ChangeLog
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/ChangeLog.libffi
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/ChangeLog.libgcj
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/ChangeLog.v1
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/compile
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/config.guess
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/config.sub
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/configure
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/configure.ac
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/configure.host
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/depcomp
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/doc/libffi.info
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/doc/libffi.texi
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/doc/stamp-vti
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/doc/version.texi
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/fficonfig.h.in
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/fficonfig.hw
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/include/ffi.h.in
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/include/ffi.h.vc
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/include/ffi.h.vc64
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/include/ffi_common.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/include/Makefile.am
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/include/Makefile.in
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/install-sh
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/libffi.pc.in
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/libtool-version
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/LICENSE
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/ltmain.sh
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/m4/ax_check_compiler_flags.m4
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/m4/ax_configure_args.m4
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/m4/ax_enable_builddir.m4
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/m4/libtool.m4
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/m4/ltoptions.m4
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/m4/ltsugar.m4
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/m4/ltversion.m4
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/m4/lt~obsolete.m4
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/Makefile.am
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/Makefile.in
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/Makefile.vc
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/Makefile.vc64
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/man/ffi.3
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/man/ffi_call.3
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/man/ffi_prep_cif.3
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/man/Makefile.am
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/man/Makefile.in
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/mdate-sh
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/missing
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/msvcc.sh
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/README
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/alpha/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/alpha/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/alpha/osf.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/arm/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/arm/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/arm/gentramp.sh
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/arm/sysv.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/arm/trampoline.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/avr32/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/avr32/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/avr32/sysv.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/closures.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/cris/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/cris/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/cris/sysv.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/debug.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/dlmalloc.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/frv/eabi.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/frv/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/frv/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/ia64/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/ia64/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/ia64/ia64_flags.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/ia64/unix.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/java_raw_api.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/m32r/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/m32r/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/m32r/sysv.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/m68k/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/m68k/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/m68k/sysv.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/mips/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/mips/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/mips/n32.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/mips/o32.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/moxie/eabi.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/moxie/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/pa/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/pa/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/pa/hpux32.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/pa/linux.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/powerpc/aix.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/powerpc/aix_closure.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/powerpc/asm.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/powerpc/darwin.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/powerpc/darwin_closure.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/powerpc/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/powerpc/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/powerpc/linux64.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/powerpc/linux64_closure.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/powerpc/ppc_closure.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/powerpc/sysv.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/prep_cif.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/raw_api.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/s390/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/s390/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/s390/sysv.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/sh/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/sh/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/sh/sysv.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/sh64/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/sh64/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/sh64/sysv.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/sparc/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/sparc/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/sparc/v8.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/sparc/v9.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/types.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/x86/darwin.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/x86/darwin64.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/x86/ffi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/x86/ffi64.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/x86/ffitarget.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/x86/freebsd.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/x86/sysv.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/x86/unix64.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/x86/win32.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/src/x86/win64.S
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/config/default.exp
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/lib/libffi-dg.exp
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/lib/libffi.exp
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/lib/wrapper.exp
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/call.exp
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn0.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn1.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn2.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn3.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn4.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn5.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn6.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_loc_fn0.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/closure_stdcall.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_12byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_16byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_18byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_19byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_1_1byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte1.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_24byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_2byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_3_1byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte1.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte2.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_4_1byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_4byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_5_1_byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_5byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_64byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_6_1_byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_6byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_7_1_byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_7byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_8byte.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte1.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte2.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_double.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_float.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_pointer.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint16.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint32.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint16.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint32.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_dbls_struct.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_double.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_float.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_schar.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshort.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshortchar.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_uchar.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushort.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushortchar.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_schar.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_sint.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_sshort.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_abi.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/float.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/float1.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/float2.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/float3.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/float4.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/many.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/many_win32.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/negint.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct1.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct10.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct2.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct3.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct4.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct5.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct6.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct7.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct8.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct9.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/problem1.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/stret_large.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/stret_large2.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/strlen_win32.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.special/ffitestcxx.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.special/special.exp
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.special/unwindtest.cc
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/Makefile.am
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/testsuite/Makefile.in
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi/texinfo.tex
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi.bsd.mk
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi.darwin.mk
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi.gnu.mk
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi.mk
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi.vc.mk
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/libffi.vc64.mk
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/LongDouble.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/LongDouble.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/MappedType.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/MappedType.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/MemoryPointer.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/MemoryPointer.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/MethodHandle.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/MethodHandle.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Platform.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Platform.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Pointer.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Pointer.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/rbffi.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/rbffi_endian.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Struct.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Struct.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/StructByReference.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/StructByReference.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/StructByValue.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/StructByValue.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/StructLayout.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Thread.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Thread.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Type.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Type.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Types.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Types.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/Variadic.c
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/win32/stdbool.h
/opt/bundle/gems/ffi-1.9.3/ext/ffi_c/win32/stdint.h
/opt/bundle/gems/ffi-1.9.3/gen/Rakefile
/opt/bundle/gems/ffi-1.9.3/lib/ffi/autopointer.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/buffer.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/callback.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/enum.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/errno.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/ffi.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/io.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/library.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/managedstruct.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/memorypointer.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/arm-linux/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/i386-cygwin/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/i386-darwin/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/i386-freebsd/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/i386-gnu/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/i386-linux/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/i386-netbsd/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/i386-openbsd/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/i386-solaris/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/i386-windows/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/ia64-linux/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/mips-linux/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/mipsel-linux/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/powerpc-aix/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/powerpc-darwin/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/powerpc-linux/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/s390-linux/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/s390x-linux/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/sparc-linux/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/sparc-solaris/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/sparcv9-solaris/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/x86_64-cygwin/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/x86_64-darwin/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/x86_64-freebsd/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/x86_64-linux/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/x86_64-netbsd/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/x86_64-openbsd/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/x86_64-solaris/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform/x86_64-windows/types.conf
/opt/bundle/gems/ffi-1.9.3/lib/ffi/platform.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/pointer.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/struct.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/struct_layout_builder.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/tools/const_generator.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/tools/generator.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/tools/generator_task.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/tools/struct_generator.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/tools/types_generator.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/types.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/union.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/variadic.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi/version.rb
/opt/bundle/gems/ffi-1.9.3/lib/ffi.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/async_callback_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/bool_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/buffer_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/callback_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/custom_param_type.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/custom_type_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/dup_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/enum_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/errno_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/ffi_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/function_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/library_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/long_double.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/managed_struct_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/number_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/pointer_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/rbx/attach_function_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/rbx/memory_pointer_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/rbx/spec_helper.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/rbx/struct_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/spec_helper.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/string_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/strptr_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/struct_by_ref_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/struct_callback_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/struct_initialize_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/struct_packed_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/struct_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/typedef_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/union_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/ffi/variadic_spec.rb
/opt/bundle/gems/ffi-1.9.3/spec/spec.opts
/opt/bundle/gems/ffi-1.9.3/libtest/Benchmark.c
/opt/bundle/gems/ffi-1.9.3/libtest/BoolTest.c
/opt/bundle/gems/ffi-1.9.3/libtest/BufferTest.c
/opt/bundle/gems/ffi-1.9.3/libtest/ClosureTest.c
/opt/bundle/gems/ffi-1.9.3/libtest/EnumTest.c
/opt/bundle/gems/ffi-1.9.3/libtest/FunctionTest.c
/opt/bundle/gems/ffi-1.9.3/libtest/GlobalVariable.c
/opt/bundle/gems/ffi-1.9.3/libtest/GNUmakefile
/opt/bundle/gems/ffi-1.9.3/libtest/LastErrorTest.c
/opt/bundle/gems/ffi-1.9.3/libtest/NumberTest.c
/opt/bundle/gems/ffi-1.9.3/libtest/PointerTest.c
/opt/bundle/gems/ffi-1.9.3/libtest/ReferenceTest.c
/opt/bundle/gems/ffi-1.9.3/libtest/StringTest.c
/opt/bundle/gems/ffi-1.9.3/libtest/StructTest.c
/opt/bundle/gems/ffi-1.9.3/libtest/UnionTest.c
/opt/bundle/gems/ffi-1.9.3/libtest/VariadicTest.c
Building native extensions.  This could take a while...
/opt/ruby/lib/ruby/1.9.1/rubygems/ext/builder.rb:48: warning: Insecure world writable dir /opt/bundle/bin in PATH, mode 040777
ERROR:  Error installing ffi:
    ERROR: Failed to build gem native extension.

        /opt/ruby/bin/ruby extconf.rb
/opt/ruby/lib/ruby/1.9.1/mkmf.rb:1369: warning: Insecure world writable dir /opt/bundle/bin in PATH, mode 040777
checking for ffi_call() in -lffi... yes
checking for ffi_prep_closure()... yes
checking for ffi_raw_call()... yes
checking for ffi_prep_raw_closure()... yes
checking for rb_thread_blocking_region()... yes
checking for rb_thread_call_with_gvl()... yes
checking for rb_thread_call_without_gvl()... yes
checking for ffi_prep_cif_var()... yes
creating extconf.h
creating Makefile

make
compiling StructLayout.c
compiling Type.c
compiling Function.c
Function.c: In function 'callback_invoke':
Function.c:479:33: warning: passing argument 1 of 'rb_thread_call_with_gvl' from incompatible pointer type [-Wincompatible-pointer-types]
         rb_thread_call_with_gvl(callback_with_gvl, &cb);
                                 ^
Function.c:102:14: note: expected 'void * (*)(void *)' but argument is of type 'VALUE (*)(void *) {aka long unsigned int (*)(void *)}'
 extern void *rb_thread_call_with_gvl(void *(*func)(void *), void *data1);
              ^
Function.c: In function 'async_cb_event':
Function.c:563:9: warning: implicit declaration of function 'rb_thread_call_without_gvl' [-Wimplicit-function-declaration]
         rb_thread_call_without_gvl(async_cb_wait, &w, async_cb_stop, &w);
         ^
compiling FunctionInfo.c
compiling MappedType.c
compiling MemoryPointer.c
compiling Platform.c
Platform.c:47:28: fatal error: gnu/lib-names.h: No such file or directory
compilation terminated.
Makefile:206: recipe for target 'Platform.o' failed
make: *** [Platform.o] Error 1

Gem files will remain installed in /opt/bundle/gems/ffi-1.9.3 for inspection.
Results logged to /opt/bundle/gems/ffi-1.9.3/ext/ffi_c/gem_make.out

Other info Using Ruby 1.9.3 compiled from source:

root@3f8f393b9c82:/home/docker# ruby --version
ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-linux]

Relevant packages installed:

root@3f8f393b9c82:/home/docker# apk add build-base
(1/3) Installing fortify-headers (0.8-r0)
(2/3) Installing g++ (5.3.0-r0)
(3/3) Installing build-base (0.4-r1)

Apk info:

      coreutils \
      linux-headers \
      gcc \
      glib-dev \
      libc-dev \
      libffi-dev \
tduehr commented 7 years ago

FFI 1.9.3 and Ruby 1.9.3 are no longer supported versions.