ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:61792] [ruby-trunk - Bug #9690] [Open] Better orror message for config.guess downloading
       [not found] <redmine.issue-9690.20140401062725@ruby-lang.org>
@ 2014-04-01  6:27 ` duerst
  2014-04-01  8:29 ` [ruby-core:61793] [ruby-trunk - Bug #9690] [Closed] " nobu
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: duerst @ 2014-04-01  6:27 UTC (permalink / raw
  To: ruby-core

Issue #9690 has been reported by Martin Dürst.

----------------------------------------
Bug #9690: Better orror message for config.guess downloading
https://bugs.ruby-lang.org/issues/9690

* Author: Martin Dürst
* Status: Open
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: build
* Target version: current: 2.2.0
* ruby -v: ruby 2.0.0p353 (this is baseruby)
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
I recently tried to compile Ruby on a new machine and got the error below:

Trying again today, it suddenly worked, but I think it would be great if there were a better error message. "getaddrinfo: Name or service not known (SocketError)" doesn't even say what it tried to download. Knowing what it tried to download could easily help to try download it by hand, see if the system is actually connected to the outside, and so on.

>>>>
Downloading config.guess.../usr/share/ruby/net/http.rb:878:in `initialize': getaddrinfo: Name or service not known (SocketError)
        from /usr/share/ruby/net/http.rb:878:in `open'
        from /usr/share/ruby/net/http.rb:878:in `block in connect'
        from /usr/share/ruby/timeout.rb:52:in `timeout'
        from /usr/share/ruby/net/http.rb:877:in `connect'
        from /usr/share/ruby/net/http.rb:862:in `do_start'
        from /usr/share/ruby/net/http.rb:851:in `start'
        from /usr/share/ruby/open-uri.rb:313:in `open_http'
        from /usr/share/ruby/open-uri.rb:708:in `buffer_open'
        from /usr/share/ruby/open-uri.rb:210:in `block in open_loop'
        from /usr/share/ruby/open-uri.rb:208:in `catch'
        from /usr/share/ruby/open-uri.rb:208:in `open_loop'
        from /usr/share/ruby/open-uri.rb:149:in `open_uri'
        from /usr/share/ruby/open-uri.rb:688:in `open'
        from /usr/share/ruby/open-uri.rb:696:in `read'
        from /home/duerst/ruby/tool/config_files.rb:5:in `download'
        from get-config_files:5:in `block in <main>'
        from get-config_files:3:in `each'
        from get-config_files:3:in `<main>'
checking build system type... /bin/sh: tool/config.guess: No such file or directory
configure: error: cannot guess build type; you must specify one
>>>>





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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:61793] [ruby-trunk - Bug #9690] [Closed] Better orror message for config.guess downloading
       [not found] <redmine.issue-9690.20140401062725@ruby-lang.org>
  2014-04-01  6:27 ` [ruby-core:61792] [ruby-trunk - Bug #9690] [Open] Better orror message for config.guess downloading duerst
@ 2014-04-01  8:29 ` nobu
  2014-07-02  7:02 ` [ruby-core:63493] [ruby-trunk - Bug #9690] " usa
  2014-08-08  3:27 ` [ruby-core:64261] " nagachika00
  3 siblings, 0 replies; 4+ messages in thread
From: nobu @ 2014-04-01  8:29 UTC (permalink / raw
  To: ruby-core

Issue #9690 has been updated by Nobuyoshi Nakada.

Status changed from Open to Closed
% Done changed from 0 to 100

Applied in changeset r45494.

----------
config_files.rb: show failure

* tool/config_files.rb (ConfigFiles.download): show failed URI.
  [ruby-core:61792] [Bug #9690]

----------------------------------------
Bug #9690: Better orror message for config.guess downloading
https://bugs.ruby-lang.org/issues/9690#change-46030

* Author: Martin Dürst
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: build
* Target version: current: 2.2.0
* ruby -v: ruby 2.0.0p353 (this is baseruby)
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
I recently tried to compile Ruby on a new machine and got the error below:

Trying again today, it suddenly worked, but I think it would be great if there were a better error message. "getaddrinfo: Name or service not known (SocketError)" doesn't even say what it tried to download. Knowing what it tried to download could easily help to try download it by hand, see if the system is actually connected to the outside, and so on.

>>>>
Downloading config.guess.../usr/share/ruby/net/http.rb:878:in `initialize': getaddrinfo: Name or service not known (SocketError)
        from /usr/share/ruby/net/http.rb:878:in `open'
        from /usr/share/ruby/net/http.rb:878:in `block in connect'
        from /usr/share/ruby/timeout.rb:52:in `timeout'
        from /usr/share/ruby/net/http.rb:877:in `connect'
        from /usr/share/ruby/net/http.rb:862:in `do_start'
        from /usr/share/ruby/net/http.rb:851:in `start'
        from /usr/share/ruby/open-uri.rb:313:in `open_http'
        from /usr/share/ruby/open-uri.rb:708:in `buffer_open'
        from /usr/share/ruby/open-uri.rb:210:in `block in open_loop'
        from /usr/share/ruby/open-uri.rb:208:in `catch'
        from /usr/share/ruby/open-uri.rb:208:in `open_loop'
        from /usr/share/ruby/open-uri.rb:149:in `open_uri'
        from /usr/share/ruby/open-uri.rb:688:in `open'
        from /usr/share/ruby/open-uri.rb:696:in `read'
        from /home/duerst/ruby/tool/config_files.rb:5:in `download'
        from get-config_files:5:in `block in <main>'
        from get-config_files:3:in `each'
        from get-config_files:3:in `<main>'
checking build system type... /bin/sh: tool/config.guess: No such file or directory
configure: error: cannot guess build type; you must specify one
>>>>





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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:63493] [ruby-trunk - Bug #9690] Better orror message for config.guess downloading
       [not found] <redmine.issue-9690.20140401062725@ruby-lang.org>
  2014-04-01  6:27 ` [ruby-core:61792] [ruby-trunk - Bug #9690] [Open] Better orror message for config.guess downloading duerst
  2014-04-01  8:29 ` [ruby-core:61793] [ruby-trunk - Bug #9690] [Closed] " nobu
@ 2014-07-02  7:02 ` usa
  2014-08-08  3:27 ` [ruby-core:64261] " nagachika00
  3 siblings, 0 replies; 4+ messages in thread
From: usa @ 2014-07-02  7:02 UTC (permalink / raw
  To: ruby-core

Issue #9690 has been updated by Usaku NAKAMURA.

Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: DONTNEED, 2.1: UNKNOWN

----------------------------------------
Bug #9690: Better orror message for config.guess downloading
https://bugs.ruby-lang.org/issues/9690#change-47536

* Author: Martin Dürst
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: build
* Target version: current: 2.2.0
* ruby -v: ruby 2.0.0p353 (this is baseruby)
* Backport: 2.0.0: DONTNEED, 2.1: UNKNOWN
----------------------------------------
I recently tried to compile Ruby on a new machine and got the error below:

Trying again today, it suddenly worked, but I think it would be great if there were a better error message. "getaddrinfo: Name or service not known (SocketError)" doesn't even say what it tried to download. Knowing what it tried to download could easily help to try download it by hand, see if the system is actually connected to the outside, and so on.

>>>>
Downloading config.guess.../usr/share/ruby/net/http.rb:878:in `initialize': getaddrinfo: Name or service not known (SocketError)
        from /usr/share/ruby/net/http.rb:878:in `open'
        from /usr/share/ruby/net/http.rb:878:in `block in connect'
        from /usr/share/ruby/timeout.rb:52:in `timeout'
        from /usr/share/ruby/net/http.rb:877:in `connect'
        from /usr/share/ruby/net/http.rb:862:in `do_start'
        from /usr/share/ruby/net/http.rb:851:in `start'
        from /usr/share/ruby/open-uri.rb:313:in `open_http'
        from /usr/share/ruby/open-uri.rb:708:in `buffer_open'
        from /usr/share/ruby/open-uri.rb:210:in `block in open_loop'
        from /usr/share/ruby/open-uri.rb:208:in `catch'
        from /usr/share/ruby/open-uri.rb:208:in `open_loop'
        from /usr/share/ruby/open-uri.rb:149:in `open_uri'
        from /usr/share/ruby/open-uri.rb:688:in `open'
        from /usr/share/ruby/open-uri.rb:696:in `read'
        from /home/duerst/ruby/tool/config_files.rb:5:in `download'
        from get-config_files:5:in `block in <main>'
        from get-config_files:3:in `each'
        from get-config_files:3:in `<main>'
checking build system type... /bin/sh: tool/config.guess: No such file or directory
configure: error: cannot guess build type; you must specify one
>>>>





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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:64261] [ruby-trunk - Bug #9690] Better orror message for config.guess downloading
       [not found] <redmine.issue-9690.20140401062725@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2014-07-02  7:02 ` [ruby-core:63493] [ruby-trunk - Bug #9690] " usa
@ 2014-08-08  3:27 ` nagachika00
  3 siblings, 0 replies; 4+ messages in thread
From: nagachika00 @ 2014-08-08  3:27 UTC (permalink / raw
  To: ruby-core

Issue #9690 has been updated by Tomoyuki Chikanaga.

Backport changed from 2.0.0: DONTNEED, 2.1: UNKNOWN to 2.0.0: DONTNEED, 2.1: WONTFIX

----------------------------------------
Bug #9690: Better orror message for config.guess downloading
https://bugs.ruby-lang.org/issues/9690#change-48249

* Author: Martin Dürst
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: build
* Target version: current: 2.2.0
* ruby -v: ruby 2.0.0p353 (this is baseruby)
* Backport: 2.0.0: DONTNEED, 2.1: WONTFIX
----------------------------------------
I recently tried to compile Ruby on a new machine and got the error below:

Trying again today, it suddenly worked, but I think it would be great if there were a better error message. "getaddrinfo: Name or service not known (SocketError)" doesn't even say what it tried to download. Knowing what it tried to download could easily help to try download it by hand, see if the system is actually connected to the outside, and so on.

>>>>
Downloading config.guess.../usr/share/ruby/net/http.rb:878:in `initialize': getaddrinfo: Name or service not known (SocketError)
        from /usr/share/ruby/net/http.rb:878:in `open'
        from /usr/share/ruby/net/http.rb:878:in `block in connect'
        from /usr/share/ruby/timeout.rb:52:in `timeout'
        from /usr/share/ruby/net/http.rb:877:in `connect'
        from /usr/share/ruby/net/http.rb:862:in `do_start'
        from /usr/share/ruby/net/http.rb:851:in `start'
        from /usr/share/ruby/open-uri.rb:313:in `open_http'
        from /usr/share/ruby/open-uri.rb:708:in `buffer_open'
        from /usr/share/ruby/open-uri.rb:210:in `block in open_loop'
        from /usr/share/ruby/open-uri.rb:208:in `catch'
        from /usr/share/ruby/open-uri.rb:208:in `open_loop'
        from /usr/share/ruby/open-uri.rb:149:in `open_uri'
        from /usr/share/ruby/open-uri.rb:688:in `open'
        from /usr/share/ruby/open-uri.rb:696:in `read'
        from /home/duerst/ruby/tool/config_files.rb:5:in `download'
        from get-config_files:5:in `block in <main>'
        from get-config_files:3:in `each'
        from get-config_files:3:in `<main>'
checking build system type... /bin/sh: tool/config.guess: No such file or directory
configure: error: cannot guess build type; you must specify one
>>>>





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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-08  3:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-9690.20140401062725@ruby-lang.org>
2014-04-01  6:27 ` [ruby-core:61792] [ruby-trunk - Bug #9690] [Open] Better orror message for config.guess downloading duerst
2014-04-01  8:29 ` [ruby-core:61793] [ruby-trunk - Bug #9690] [Closed] " nobu
2014-07-02  7:02 ` [ruby-core:63493] [ruby-trunk - Bug #9690] " usa
2014-08-08  3:27 ` [ruby-core:64261] " nagachika00

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).