[MacPorts] #66908: ruby30 @3.0.5_1 doesn't work properly on 10.6 ppc

MacPorts noreply at macports.org
Mon Feb 13 00:08:40 UTC 2023


#66908: ruby30 @3.0.5_1 doesn't work properly on 10.6 ppc
---------------------------------+-----------------------
 Reporter:  fhgwright            |      Owner:  fhgwright
     Type:  defect               |     Status:  assigned
 Priority:  Low                  |  Milestone:
Component:  ports                |    Version:
 Keywords:  snowleopard powerpc  |       Port:  ruby30
---------------------------------+-----------------------
 @fhgwright I sorta realise that I am the only one here to care about 10.6
 (so this is just for the record), but now, after reverting back
 asciidoctor to ruby30, it is again broken on 10.6 for ppc. While ruby30
 builds successfully after the recent update, it does not work. At the same
 time ruby31 works fine.

 With ruby30, the build freezes on:

 {{{
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_asciidoctor/asciidoctor/work/asciidoctor-2.0.18"
 && /opt/local/bin/gem3.0 install --local --force --install-dir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_asciidoctor/asciidoctor/work/destroot/opt/local/lib/ruby3.0/gems/3.0.0
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_asciidoctor/asciidoctor/work/asciidoctor-2.0.18/asciidoctor.gem
 It freezes so badly that Control+C does not help.
 Here is the process snapshot:

 Analysis of sampling ruby3.0 (pid 70845) every 1 millisecond
 Call graph:
     1795 Thread_350b
       1795 start
         1795 main
           1795 ruby_run_node
             1795 rb_ec_exec_node
               1795 rb_vm_exec
                 1795 vm_exec_core
                   1795 vm_sendish
                     1795 vm_call_cfunc_with_frame
                       1795 rb_ary_each
                         1795 rb_yield
                           1795 rb_yield_0
                             1795 rb_vm_exec
                               1795 vm_exec_core
                                 1795 vm_sendish
                                   1795 vm_call_cfunc_with_frame
                                     1795 rb_ary_each
                                       1795 rb_yield
                                         1795 rb_yield_0
                                           1795 rb_vm_exec
                                             1795 vm_exec_core
                                               1795 vm_sendish
                                                 1795
 vm_call_cfunc_with_frame
                                                   1795 rb_ensure
                                                     1795 rb_yield
                                                       1795 rb_yield_0
                                                         1795 rb_vm_exec
                                                           1795
 vm_exec_core
                                                             1795
 vm_sendish
                                                               1795
 vm_call_cfunc_with_frame
                                                                 1795
 rb_ensure
                                                                   1795
 rb_yield
                                                                     1795
 rb_yield_0
                                                                       1795
 rb_vm_exec
 1795 vm_exec_core
 1795 vm_sendish
 1795 vm_call_cfunc_with_frame
 1795 gzfile_read
 1795 zstream_shift_buffer
 1795 str_new0
 1795 newobj_of
 1795 newobj_slowpath_wb_protected
 1795 ractor_cache_slots
 1795 heap_increment
 1795 heap_assign_page
 1795 rb_aligned_malloc
 1795 posix_memalign
 1795 malloc_zone_memalign
 1795 szone_memalign
 1795 szone_free
 1795 small_free_detach_region
 1795 small_free_detach_region
     1795 Thread_3603
       1795 timer_pthread_fn
         1795 poll$UNIX2003
           1795 poll$UNIX2003

 Total number in stack (recursive counted multiple, when >=5):
         5       rb_vm_exec
         5       vm_call_cfunc_with_frame
         5       vm_exec_core
         5       vm_sendish

 Sort by top of stack, same collapsed (when >= 5):
         poll$UNIX2003        1795
         small_free_detach_region        1795
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66908>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list