[ruby-core:63518] [ruby-trunk - Bug #10004] [Open] lack of "http 80/tcp" in /etc/inet/services in Solaris 10 causes error during make test-all

From: ngotogenome@...
Date: 2014-07-02 13:20:38 UTC
List: ruby-core #63518
Issue #10004 has been reported by Naohisa Goto.

----------------------------------------
Bug #10004: lack of "http 80/tcp" in /etc/inet/services in Solaris 10 causes error during make test-all
https://bugs.ruby-lang.org/issues/10004

* Author: Naohisa Goto
* Status: Open
* Priority: Low
* Assignee: 
* Category: ext
* Target version: 
* ruby -v: ruby 2.2.0dev (2014-06-25) [sparc64-solaris2.10]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
On Solaris 10, because of the lack of "http" in the default /etc/inet/services, the following error occurs during make test-all.

~~~
 52) Error:
TestGemCommandsServerCommand#test_handle_options_port:
OptionParser::InvalidArgument: invalid argument: -p http: no such named service
    /XXXXX/lib/rubygems/commands/server_command.rb:21:in `rescue in block in initialize'
    /XXXXX/lib/rubygems/commands/server_command.rb:18:in `block in initialize'
    /XXXXX/lib/rubygems/command.rb:375:in `handle_options'
    /XXXXX/test/rubygems/test_gem_commands_server_command.rb:40:in `test_handle_options_port'
~~~

The file /etc/inet/services in Illumos (OpenIndiana) was already updated in 2011. (https://www.illumos.org/issues/2690 )
I don't know in Solaris 10 because I don't have Solaris 11.



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next