Opened 4 months ago

Closed 4 months ago

#70129 closed defect (fixed)

rb*-numo-narray build failure: syntax error, unexpected ':', expecting kEND

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: tenomoto (Takeshi Enomoto)
Port: rb33-numo-narray, rb32-numo-narray, rb31-numo-narray, rb-numo-narray

Description

current directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_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
make DESTDIR\= sitearchdir\=./.gem.20240601-28688-t0zw7u sitelibdir\=./.gem.20240601-28688-t0zw7u
compiling narray.c
compiling array.c
compiling step.c
compiling index.c
compiling ndloop.c
compiling data.c
ruby /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_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_PPCSnowLeopardPorts_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_PPCSnowLeopardPorts_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_PPCSnowLeopardPorts_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_PPCSnowLeopardPorts_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_PPCSnowLeopardPorts_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_PPCSnowLeopardPorts_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_PPCSnowLeopardPorts_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_PPCSnowLeopardPorts_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_PPCSnowLeopardPorts_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_PPCSnowLeopardPorts_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

Gem files will remain installed in /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_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 for inspection.
Results logged to /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_ruby_rb-numo-narray/rb32-numo-narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/extensions/ppc-darwin-10/3.2.0/numo-narray-0.9.2.1/gem_make.out
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_ruby_rb-numo-narray/rb32-numo-narray/work/numo-narray-0.9.2.1" && /opt/local/bin/gem3.2 install --local --force --install-dir /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_ruby_rb-numo-narray/rb32-numo-narray/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_ruby_rb-numo-narray/rb32-numo-narray/work/numo-narray-0.9.2.1/numo-narray.gem 
Exit code: 1

Change History (1)

comment:1 Changed 4 months ago by barracuda156

Owner: set to Sergey Fedorov <barracuda@…>
Resolution: fixed
Status: newclosed

In 024c895610257226f78fee96e61c1ffcf9b40180/macports-ports (master):

rb-numo-narray: fix the port to use right ruby

Fixes: #70129

Note: See TracTickets for help on using tickets.