[aur-general] Mozc UT cannot build.
Troy Engel
troyengel+arch at gmail.com
Thu Feb 5 00:43:41 UTC 2015
On Wed, Feb 4, 2015 at 5:25 PM, MASAKI Yuhsuke
<hydrangea+ml at reasonset.net> wrote:
>
> $ LANG=C svn checkout http://japanese-usage-dictionary.googlecode.com/svn/trunk/
> svn: E000111: Unable to connect to a repository at URL 'http://japanese-usage-dictionary.googlecode.com/svn/trunk'
> svn: E000111: Error running context: Connection refused
> [1] 10182 exit 1 LANG=C svn checkout http://japanese-usage-dictionary.googlecode.com/svn/trunk
>From your workstation, first show us what the IP addresses resolve to like so:
$ host japanese-usage-dictionary.googlecode.com
japanese-usage-dictionary.googlecode.com is an alias for
googlecode.l.googleusercontent.com.
googlecode.l.googleusercontent.com has address 64.233.178.82
googlecode.l.googleusercontent.com has IPv6 address 2607:f8b0:4003:c0a::52
Next, run this command so that we can see the network connections
being attempted (you may need to install 'strace' first):
$ strace -e trace=network svn checkout
http://japanese-usage-dictionary.googlecode.com/svn/trunk/ 2>&1 | grep
^connect
It looks like you are having a network connection problem, so this
will show everyone what IPs and connections are failing for your SVN
checkout. I suspect that you have some sort of network block, or an
IPv6 routing problem etc. As just an example, I do not have IPv6
capability from home (ISP does not support) so all connections fail
for IPv6, but IPv4 is working find and the SVN checkout is working.
$ strace -e trace=network svn checkout
http://japanese-usage-dictionary.googlecode.com/svn/trunk/ 2>&1 | grep
^connect
connect(5, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110)
= -1 ENOENT (No such file or directory)
connect(4, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110)
= -1 ENOENT (No such file or directory)
connect(4, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("8.8.8.8")}, 16) = 0
connect(4, {sa_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("64.233.178.82")}, 16) = 0
connect(4, {sa_family=AF_INET6, sin6_port=htons(0),
inet_pton(AF_INET6, "2607:f8b0:4003:c0a::52", &sin6_addr),
sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is
unreachable)
connect(4, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("64.233.178.82")}, 16) = -1 EINPROGRESS (Operation
now in progress)
connect(5, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("8.8.8.8")}, 16) = 0
connect(5, {sa_family=AF_INET6, sin6_port=htons(0),
inet_pton(AF_INET6, "2607:f8b0:4003:c0a::52", &sin6_addr),
sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is
unreachable)
connect(5, {sa_family=AF_UNSPEC,
sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0
connect(5, {sa_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("64.233.178.82")}, 16) = 0
connect(5, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("64.233.178.82")}, 16) = -1 EINPROGRESS (Operation
now in progress)
connect(7, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("8.8.8.8")}, 16) = 0
connect(7, {sa_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("64.233.178.82")}, 16) = 0
connect(7, {sa_family=AF_INET6, sin6_port=htons(0),
inet_pton(AF_INET6, "2607:f8b0:4003:c0a::52", &sin6_addr),
sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is
unreachable)
What you're looking for is one of the IPv4 address connection lines
*not* = 0 (success), but instead show it cannot connect. Then once
it's identified, use a tool like curl or netcat (or even telnet) to
test that IP outside of SVN to confirm.
hth,
-te
More information about the aur-general
mailing list