[MacPorts] #69509: rb32-numo-narray build error: cogen.rb: syntax error, unexpected ':', expecting kEND

MacPorts noreply at macports.org
Fri Mar 15 22:57:56 UTC 2024


#69509: rb32-numo-narray build error: cogen.rb: syntax error, unexpected ':',
expecting kEND
-------------------------------+--------------------------
  Reporter:  barracuda156      |      Owner:  barracuda156
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.9.1
Resolution:                    |   Keywords:  snowleopard
      Port:  rb32-numo-narray  |
-------------------------------+--------------------------
Description changed by barracuda156:

Old description:

> {{{
> ruby
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
> narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
> narray-0.9.2.1/ext/numo/narray/gen/cogen.rb -l -o t_bit.c
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
> narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
> narray-0.9.2.1/ext/numo/narray/gen/def/bit.rb
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
> narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
> narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:45: syntax error, unexpected
> ':', expecting kEND
>   set line_number: $line_number
>                   ^
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
> narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
> narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:46: syntax error, unexpected
> ':', expecting kEND
>   set erb_dir: erb_dir
>               ^
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
> narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
> narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:47: syntax error, unexpected
> ':', expecting kEND
>   set erb_suffix: ".c"
>                  ^
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
> narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
> narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:48: syntax error, unexpected
> ':', expecting kEND
>   set ns_var: "mNumo"
>              ^
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
> narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
> narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:50: syntax error, unexpected
> ':', expecting kEND
>   set file_name: $output||""
>                 ^
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
> narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
> narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:51: syntax error, unexpected
> ':', expecting kEND
>   set include_files: ["numo/types/#{type_name}.h"]
>                     ^
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
> narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
> narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:52: syntax error, unexpected
> ':', expecting kEND
>   set lib_name: "numo_"+type_name
>                ^
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
> narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
> narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:55: syntax error, unexpected
> ':', expecting kEND
>     set is_simd: true
>                 ^
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
> narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
> narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:57: syntax error, unexpected
> ':', expecting kEND
>     set is_simd: false
>                 ^
> make: *** [t_bit.c] Error 1
>
> make failed, exit code 2
> }}}

New description:

 {{{
 ruby
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
 narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
 narray-0.9.2.1/ext/numo/narray/gen/cogen.rb -l -o t_bit.c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
 narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
 narray-0.9.2.1/ext/numo/narray/gen/def/bit.rb
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
 narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
 narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:45: syntax error, unexpected
 ':', expecting kEND
   set line_number: $line_number
                   ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
 narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
 narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:46: syntax error, unexpected
 ':', expecting kEND
   set erb_dir: erb_dir
               ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
 narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
 narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:47: syntax error, unexpected
 ':', expecting kEND
   set erb_suffix: ".c"
                  ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
 narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
 narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:48: syntax error, unexpected
 ':', expecting kEND
   set ns_var: "mNumo"
              ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
 narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
 narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:50: syntax error, unexpected
 ':', expecting kEND
   set file_name: $output||""
                 ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
 narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
 narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:51: syntax error, unexpected
 ':', expecting kEND
   set include_files: ["numo/types/#{type_name}.h"]
                     ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
 narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
 narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:52: syntax error, unexpected
 ':', expecting kEND
   set lib_name: "numo_"+type_name
                ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
 narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
 narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:55: syntax error, unexpected
 ':', expecting kEND
     set is_simd: true
                 ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-numo-narray/rb32-numo-
 narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/numo-
 narray-0.9.2.1/ext/numo/narray/gen/cogen.rb:57: syntax error, unexpected
 ':', expecting kEND
     set is_simd: false
                 ^
 make: *** [t_bit.c] Error 1

 make failed, exit code 2
 }}}

 https://github.com/ruby-numo/numo-narray/issues/215

--

-- 
Ticket URL: <https://trac.macports.org/ticket/69509#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list