[ruby-trunk - Bug #6873][Open] Failed to build ruby for NaCl i686 version

Issue #6873 has been reported by ikeay (Ayaka Ikezawa).


Bug #6873: Failed to build ruby for NaCl i686 version

Author: ikeay (Ayaka Ikezawa)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3p194 (2012-04-20 revision 35410)
[x86_64-darwin10.8.0]

・My PC Spec:Mac OS X, Chrome 21, pepper_19

I tried to install pepper-ruby i686 version to directory of
“/Users/user-name/Work/pepper-ruby”.
And I put “make” command and “make package” command on there.
Then they succeeded, but maybe it is not enough. I can’t run
pepper-ruby.

After,
(1) I copied example.html (in the nacl directory of Ruby) and httpd.py
(from NaCl SDK) to “temp/nacl-ruby/”.
(2) I entered “puts ‘Hello World!’” into the text box and pressed the
submit button. I expected that the evaluation result of the script
appeared in the second text box. But nothing displayed.

・Chrome error
Failed to load resource: the server responded with a status of 404 (File
not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so
Failed to load resource: the server responded with a status of 404 (File
not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.rb
Failed to load resource: the server responded with a status of 404 (File
not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.so
Failed to load resource: the server responded with a status of 404 (File
not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so
Failed to load resource: the server responded with a status of 404 (File
not found)
http://localhost:5103/lib/ruby/2.0.0/x86_64-nacl/enc/ansi_x3_4_1968.so
Failed to load resource: the server responded with a status of 404 (File
not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.rb
Failed to load resource: the server responded with a status of 404 (File
not found)
http://localhost:5103/lib/ruby/2.0.0/x86_64-nacl/enc/ansi_x3_4_1968.so.rb
Failed to load resource: the server responded with a status of 404 (File
not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.so
Failed to load resource: the server responded with a status of 404 (File
not found)
http://localhost:5103/lib/ruby/2.0.0/x86_64-nacl/enc/ansi_x3_4_1968.so.so

I download i686 version, but Chrome error said “File not found” x86_64’s
file.

Issue #6873 has been updated by shyouhei (Shyouhei U.).

Category set to build
Status changed from Open to Assigned
Assignee set to yugui (Yuki S.)


Bug #6873: Failed to build ruby for NaCl i686 version

Author: ikeay (Ayaka Ikezawa)
Status: Assigned
Priority: Normal
Assignee: yugui (Yuki S.)
Category: build
Target version:
ruby -v: ruby 1.9.3p194 (2012-04-20 revision 35410)
[x86_64-darwin10.8.0]

・My PC Spec:Mac OS X, Chrome 21, pepper_19

I tried to install pepper-ruby i686 version to directory of
“/Users/user-name/Work/pepper-ruby”.
And I put “make” command and “make package” command on there.
Then they succeeded, but maybe it is not enough. I can’t run
pepper-ruby.

After,
(1) I copied example.html (in the nacl directory of Ruby) and httpd.py
(from NaCl SDK) to “temp/nacl-ruby/”.
(2) I entered “puts ‘Hello World!’” into the text box and pressed the
submit button. I expected that the evaluation result of the script
appeared in the second text box. But nothing displayed.

・Chrome error
Failed to load resource: the server responded with a status of 404 (File
not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so
Failed to load resource: the server responded with a status of 404 (File
not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.rb
Failed to load resource: the server responded with a status of 404 (File
not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.so
Failed to load resource: the server responded with a status of 404 (File
not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so
Failed to load resource: the server responded with a status of 404 (File
not found)
http://localhost:5103/lib/ruby/2.0.0/x86_64-nacl/enc/ansi_x3_4_1968.so
Failed to load resource: the server responded with a status of 404 (File
not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.rb
Failed to load resource: the server responded with a status of 404 (File
not found)
http://localhost:5103/lib/ruby/2.0.0/x86_64-nacl/enc/ansi_x3_4_1968.so.rb
Failed to load resource: the server responded with a status of 404 (File
not found) http://localhost:5103/lib/ruby/2.0.0/enc/ansi_x3_4_1968.so.so
Failed to load resource: the server responded with a status of 404 (File
not found)
http://localhost:5103/lib/ruby/2.0.0/x86_64-nacl/enc/ansi_x3_4_1968.so.so

I download i686 version, but Chrome error said “File not found” x86_64’s
file.