Created attachment 627024 [details] emerge --info I got the same error on version 1.12.2, too.: rm -f ffi_c.so x86_64-pc-linux-gnu-gcc -shared -o ffi_c.so AbstractMemory.o ArrayType.o Buffer.o Call.o ClosurePool.o DynamicLibrary.o Function.o FunctionInfo.o LastError.o LongDouble.o MappedType.o MemoryPointer.o MethodHandle.o Platform.o Pointer.o Struct.o StructByValue.o StructLayout.o Thread.o Type.o Types.o Variadic.o ffi.o -L. -L/usr/lib64 -L. -Wl,-O1 -Wl,--as-needed -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed -Wl,--compress-debug-sections=zlib -lruby24 -lffi -lffi -lpthread -lgmp -ldl -lcrypt -lm -lc make: Leaving directory '/var/tmp/portage/dev-ruby/ffi-1.11.3/work/ruby24/ffi-1.11.3/ext/ffi_c' /usr/lib64/ruby/site_ruby/2.4.0/rubygems.rb:284:in `find_spec_for_exe': can't find gem rake (>= 0.a) with executable rake (Gem::GemNotFoundException) from /usr/lib64/ruby/site_ruby/2.4.0/rubygems.rb:303:in `activate_bin_path' from /usr/local/bin/rake:23:in `<main>' * ERROR: dev-ruby/ffi-1.11.3::gentoo failed (compile phase): * types.conf generation failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2049: Called ruby-ng_src_compile * environment, line 1687: Called _ruby_each_implementation 'each_ruby_compile' * environment, line 511: Called _ruby_invoke_environment 'ruby24' 'each_ruby_compile' * environment, line 632: Called each_ruby_compile * environment, line 821: Called die * The specific snippet of code: * ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" * * If you need support, post the output of `emerge --info '=dev-ruby/ffi-1.11.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/ffi-1.11.3::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-ruby/ffi-1.11.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/ffi-1.11.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/ffi-1.11.3/work/ruby24/ffi-1.11.3' * S: '/var/tmp/portage/dev-ruby/ffi-1.11.3/work/ruby24/ffi-1.11.3'
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to * attach the logs and * paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Created attachment 627048 [details] emerge-info-ffi.txt
Created attachment 627050 [details] build.log
dev-ruby/rake is a dependency for dev-ruby/ffi, so it should have been pulled in. Can you check if dev-ruby/rake is installed?
dev-ruby/rake is and was installed with version 12.3.3, but doesn't seem to be found by ffi.
Which version of ruby is eselected? What does `which rake` say?
Hello Hans, thanks for your support: # which rake /usr/bin/rake # equery y ruby Keywords for dev-lang/ruby: | | u | | a a a p s r | n | | l m r i p h m s p i m | e u s | r | p d a m a p c x p 6 3 a s i | a s l | e | h 6 r 6 6 p 6 8 p 8 9 r c p | p e o | p | a 4 m 4 4 c 4 6 a k 0 c v s | i d t | o ----------+-----------------------------+---------+------- 2.4.9 | ~ + + + ~ + + + + o + + o ~ | 7 o 2.4 | gentoo [I]2.4.10 | ~ + + + ~ ~ ~ + + o + + o ~ | 7 o | gentoo ----------+-----------------------------+---------+------- 2.5.7 | ~ + + + ~ ~ ~ + + o + + o ~ | 7 # 2.5 | gentoo [I]2.5.8 | ~ + + + ~ + + + + o + + o ~ | 7 o | gentoo ... is it a problem that I have two versions of ruby? I need to check which packages pull the 2.4 in.
Looks like dev-lang/ruby-2.4.10:2.4 is pulled from dev-ruby/did_you_mean-1.1.2:2.4 which looks like for me that is pulled from dev-lang/ruby-2.5.8. That looks strange for me, is this right?
stupid me, I had an other version of rake installed on /usr/local/bin that messed up everything. Sorry for that noise, I close the bug. cheers