Created attachment 896744 [details] build.log and emerge --info This seems to be automagic detecting a ruby interpreter installed, which I'm not sure we should be allowing it to. checking ruby testcase import_fragments (with run test) ./import_fragments_runme.rb:21: [BUG] Segmentation fault at 0x00000079 ruby 3.2.3 (2024-01-18 revision 52bb2ac0a6) [powerpc-linux] -- Control frame information ----------------------------------------------- c:0002 p:0021 s:0011 E:002540 EVAL ./import_fragments_runme.rb:21 [FINISH] c:0001 p:0000 s:0003 E:001798 DUMMY [FINISH] -- Ruby level backtrace information ---------------------------------------- ./import_fragments_runme.rb:21:in `<main>' -- C level backtrace information ------------------------------------------- /usr/lib/libruby32.so.3.2(0x92fbc8) [0x92fbc8] /usr/lib/libruby32.so.3.2(0x75bb94) [0x75bb94] /usr/lib/libruby32.so.3.2(0x885b44) [0x885b44] linux-vdso32.so.1(__kernel_sigtramp_rt32+0x0) [0xf7b603d0] /usr/lib/libruby32.so.3.2(rb_vm_search_method_slowpath+0x78) [0x90c810] [0x91b9f0] /usr/lib/libruby32.so.3.2(rb_vm_exec+0x13c) [0x91c090] /usr/lib/libruby32.so.3.2(rb_iseq_eval_main+0x12c) [0x91d294] [0x76247c] /usr/lib/libruby32.so.3.2(ruby_run_node+0xe0) [0x767b9c] [0xb106c8] [0x47b514] [0x47b738] -- Other runtime information ----------------------------------------------- * Loaded script: ./import_fragments_runme.rb * Loaded features: 0 enumerator.so 1 thread.rb 2 fiber.so 3 rational.so 4 complex.so 5 ruby2_keywords.rb 6 /usr/lib/ruby/3.2.0/powerpc-linux/enc/encdb.so 7 /usr/lib/ruby/3.2.0/powerpc-linux/enc/trans/transdb.so 8 /usr/lib/ruby/3.2.0/powerpc-linux/rbconfig.rb 9 /usr/lib/ruby/site_ruby/3.2.0/rubygems/compatibility.rb 10 /usr/lib/ruby/site_ruby/3.2.0/rubygems/defaults.rb 11 /usr/lib/ruby/site_ruby/3.2.0/rubygems/deprecate.rb 12 /usr/lib/ruby/site_ruby/3.2.0/rubygems/errors.rb 13 /usr/lib/ruby/site_ruby/3.2.0/rubygems/unknown_command_spell_checker.rb 14 /usr/lib/ruby/site_ruby/3.2.0/rubygems/exceptions.rb 15 /usr/lib/ruby/site_ruby/3.2.0/rubygems/basic_specification.rb 16 /usr/lib/ruby/site_ruby/3.2.0/rubygems/stub_specification.rb 17 /usr/lib/ruby/site_ruby/3.2.0/rubygems/platform.rb 18 /usr/lib/ruby/site_ruby/3.2.0/rubygems/util/list.rb 19 /usr/lib/ruby/site_ruby/3.2.0/rubygems/version.rb 20 /usr/lib/ruby/site_ruby/3.2.0/rubygems/requirement.rb 21 /usr/lib/ruby/site_ruby/3.2.0/rubygems/specification.rb 22 /usr/lib/ruby/site_ruby/3.2.0/rubygems/defaults/operating_system.rb 23 /usr/lib/ruby/site_ruby/3.2.0/rubygems/util.rb 24 /usr/lib/ruby/site_ruby/3.2.0/rubygems/dependency.rb 25 /usr/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_gem.rb 26 /usr/lib/ruby/3.2.0/powerpc-linux/monitor.so 27 /usr/lib/ruby/3.2.0/monitor.rb 28 /usr/lib/ruby/site_ruby/3.2.0/rubygems.rb 29 /usr/lib/ruby/site_ruby/3.2.0/rubygems/path_support.rb 30 /usr/lib/ruby/3.2.0/error_highlight/version.rb 31 /usr/lib/ruby/3.2.0/error_highlight/base.rb 32 /usr/lib/ruby/3.2.0/error_highlight/formatter.rb 33 /usr/lib/ruby/3.2.0/error_highlight/core_ext.rb 34 /usr/lib/ruby/3.2.0/error_highlight.rb 35 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean/version.rb 36 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean/core_ext/name_error.rb 37 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean/levenshtein.rb 38 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean/jaro_winkler.rb 39 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checker.rb 40 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb 41 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb 42 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/name_error_checkers.rb 43 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/method_name_checker.rb 44 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/key_error_checker.rb 45 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/null_checker.rb 46 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean/tree_spell_checker.rb 47 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/require_path_checker.rb 48 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean/spell_checkers/pattern_key_name_checker.rb 49 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean/formatter.rb 50 /usr/lib/ruby/gems/3.2.0/gems/did_you_mean-1.6.3/lib/did_you_mean.rb 51 /usr/lib/ruby/3.2.0/syntax_suggest/core_ext.rb 52 /var/tmp/portage/dev-lang/swig-4.2.1/work/swig-4.2.1/Examples/test-suite/ruby/swig_assert.rb * Process memory map: 00090000-000b0000 r-xp 00000000 07:00 394776 /usr/lib/gcc/powerpc-unknown-linux-gnu/13/libgcc_s.so.1 000b0000-000c0000 r--p 00010000 07:00 394776 /usr/lib/gcc/powerpc-unknown-linux-gnu/13/libgcc_s.so.1 000c0000-000d0000 rw-p 00020000 07:00 394776 /usr/lib/gcc/powerpc-unknown-linux-gnu/13/libgcc_s.so.1 000e0000-000f0000 r-xp 00000000 07:00 282452 /var/tmp/portage/dev-lang/swig-4.2.1/work/swig-4.2.1/Examples/test-suite/ruby/import_fragments.so 000f0000-00100000 r--p 00000000 07:00 282452 /var/tmp/portage/dev-lang/swig-4.2.1/work/swig-4.2.1/Examples/test-suite/ruby/import_fragments.so 00100000-00110000 rw-p 00010000 07:00 282452 /var/tmp/portage/dev-lang/swig-4.2.1/work/swig-4.2.1/Examples/test-suite/ruby/import_fragments.so 00120000-00130000 r-xp 00000000 07:00 270845 /usr/lib/ruby/3.2.0/powerpc-linux/monitor.so 00130000-00140000 r--p 00000000 07:00 270845 /usr/lib/ruby/3.2.0/powerpc-linux/monitor.so 00140000-00150000 rw-p 00010000 07:00 270845 /usr/lib/ruby/3.2.0/powerpc-linux/monitor.so 00160000-00170000 r-xp 00000000 07:00 265232 /usr/lib/ruby/3.2.0/powerpc-linux/enc/trans/transdb.so 00170000-00180000 r--p 00000000 07:00 265232 /usr/lib/ruby/3.2.0/powerpc-linux/enc/trans/transdb.so 00180000-00190000 rw-p 00010000 07:00 265232 /usr/lib/ruby/3.2.0/powerpc-linux/enc/trans/transdb.so 001a0000-001b0000 r-xp 00000000 07:00 270776 /usr/lib/ruby/3.2.0/powerpc-linux/enc/encdb.so 001b0000-001c0000 r--p 00000000 07:00 270776 /usr/lib/ruby/3.2.0/powerpc-linux/enc/encdb.so 001c0000-001d0000 rw-p 00010000 07:00 270776 /usr/lib/ruby/3.2.0/powerpc-linux/enc/encdb.so 001e0000-00290000 r-xp 00000000 07:00 412086 /usr/lib/libm.so.6 00290000-002a0000 r--p 000a0000 07:00 412086 /usr/lib/libm.so.6 002a0000-002b0000 rw-p 000b0000 07:00 412086 /usr/lib/libm.so.6 002c0000-00300000 r-xp 00000000 07:00 411961 /usr/lib/libcrypt.so.2.0.0 00300000-00310000 r--p 00030000 07:00 411961 /usr/lib/libcrypt.so.2.0.0 00310000-00320000 rw-p 00040000 07:00 411961 /usr/lib/libcrypt.so.2.0.0 00330000-003d0000 r-xp 00000000 07:00 412076 /usr/lib/libgmp.so.10.5.0 003d0000-003e0000 r--p 00090000 07:00 412076 /usr/lib/libgmp.so.10.5.0 003e0000-003f0000 rw-p 000a0000 07:00 412076 /usr/lib/libgmp.so.10.5.0 00400000-00420000 r-xp 00000000 07:00 81019 /usr/lib/libz.so.1.3.1 00420000-00430000 r--p 00010000 07:00 81019 /usr/lib/libz.so.1.3.1 00430000-00440000 rw-p 00020000 07:00 81019 /usr/lib/libz.so.1.3.1 00450000-00660000 r-xp 00000000 07:00 411943 /usr/lib/libc.so.6 00660000-00670000 r--p 00200000 07:00 411943 /usr/lib/libc.so.6 00670000-00680000 rw-p 00210000 07:00 411943 /usr/lib/libc.so.6 00690000-00a90000 r-xp 00000000 07:00 265198 /usr/lib/libruby32.so.3.2.3 00a90000-00aa0000 r--p 00400000 07:00 265198 /usr/lib/libruby32.so.3.2.3 00aa0000-00ab0000 rw-p 00410000 07:00 265198 /usr/lib/libruby32.so.3.2.3 00ac0000-00ae0000 r-xp 00000000 07:00 412087 /usr/lib/libsandbox.so 00ae0000-00af0000 r--p 00010000 07:00 412087 /usr/lib/libsandbox.so 00af0000-00b00000 rw-p 00020000 07:00 412087 /usr/lib/libsandbox.so 00b10000-00b20000 r-xp 00000000 07:00 265197 /usr/bin/ruby32 00b20000-00b30000 r--p 00000000 07:00 265197 /usr/bin/ruby32 00b30000-00b40000 rw-p 00010000 07:00 265197 /usr/bin/ruby32 00e50000-01080000 rw-p 00000000 00:00 0 [heap] f3de0000-f4200000 r--s 00000000 07:00 265198 /usr/lib/libruby32.so.3.2.3 f4200000-f4220000 r--s 00000000 07:00 265197 /usr/bin/ruby32 f4220000-f44e0000 r-xp 00000000 07:00 394782 /usr/lib/gcc/powerpc-unknown-linux-gnu/13/libstdc++.so.6.0.32 f44e0000-f44f0000 r--p 002c0000 07:00 394782 /usr/lib/gcc/powerpc-unknown-linux-gnu/13/libstdc++.so.6.0.32 f44f0000-f4500000 rw-p 002d0000 07:00 394782 /usr/lib/gcc/powerpc-unknown-linux-gnu/13/libstdc++.so.6.0.32 f4510000-f4570000 rw-p 00000000 00:00 0 f4570000-f4580000 r--s 00000000 07:00 395081 /usr/lib/gconv/gconv-modules.cache f4580000-f4590000 ---p 00000000 00:00 0 f4590000-f45f0000 rw-p 00000000 00:00 0 f45f0000-f4600000 ---p 00000000 00:00 0 f4600000-f4660000 rw-p 00000000 00:00 0 f4660000-f4670000 ---p 00000000 00:00 0 f4670000-f46d0000 rw-p 00000000 00:00 0 f46d0000-f46e0000 ---p 00000000 00:00 0 f46e0000-f4740000 rw-p 00000000 00:00 0 f4740000-f4750000 ---p 00000000 00:00 0 f4750000-f47b0000 rw-p 00000000 00:00 0 f47b0000-f47c0000 ---p 00000000 00:00 0 f47c0000-f4820000 rw-p 00000000 00:00 0 f4820000-f4830000 ---p 00000000 00:00 0 f4830000-f4890000 rw-p 00000000 00:00 0 f4890000-f48a0000 ---p 00000000 00:00 0 f48a0000-f4900000 rw-p 00000000 00:00 0 f4900000-f7410000 rw-p 00000000 00:00 0 f7410000-f7690000 r--p 00070000 07:00 449757 /usr/lib/locale/locale-archive f7690000-f7890000 r--p 00000000 07:00 449757 /usr/lib/locale/locale-archive f7890000-f7b40000 rw-p 00000000 00:00 0 f7b40000-f7b60000 r--p 00000000 00:00 0 [vvar] f7b60000-f7b70000 r-xp 00000000 00:00 0 [vdso] f7b70000-f7bb0000 r-xp 00000000 07:00 411841 /usr/lib/ld.so.1 f7bb0000-f7bc0000 r--p 00030000 07:00 411841 /usr/lib/ld.so.1 f7bc0000-f7bd0000 rw-p 00040000 07:00 411841 /usr/lib/ld.so.1 ff3e0000-ffbe0000 rw-p 00000000 00:00 0 [stack] make[1]: *** [Makefile:79: import_fragments.cpptest] Error 134
See https://github.com/swig/swig/issues/2800.