[aur-general] Mozc UT cannot build.
Hi. Mozc UT relative packages cannot build because fail to checkout Mozc SVN repository. Error occur thus: ==> Retrieving sources... -> Cloning mozc-1.15.1917.102 svn repo... svn: E000111: Unable to connect to a repository at URL 'http://mozc.googlecode.com/svn/trunk/src' svn: E000111: Error running context: Connection refused ==> ERROR: Failure while downloading mozc-1.15.1917.102 svn repo ****************************** * The Rider, Hacker and Musician. * +++ ENABLE YOUR HEART +++ ****************************** * MASAKI Yuhsuke. * hydrangea+ml@reasonset.net * Website: http://reasonset.net/ * GitHub : https://github.com/reasonset/ * Twitter: @reasonset ******************************
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Am 01.02.2015 um 15:37 schrieb MASAKI Yuhsuke:
Hi.
Mozc UT relative packages cannot build because fail to checkout Mozc SVN repository. Error occur thus:
==> Retrieving sources... -> Cloning mozc-1.15.1917.102 svn repo... svn: E000111: Unable to connect to a repository at URL 'http://mozc.googlecode.com/svn/trunk/src' svn: E000111: Error running context: Connection refused ==> ERROR: Failure while downloading mozc-1.15.1917.102 svn repo
****************************** * The Rider, Hacker and Musician. * +++ ENABLE YOUR HEART +++ ****************************** * MASAKI Yuhsuke. * hydrangea+ml@reasonset.net * Website: http://reasonset.net/ * GitHub : https://github.com/reasonset/ * Twitter: @reasonset ******************************
In the AUR comments there is an entry. Cite: ==> Connecting to mozc SVN server... Error: SVN version is older than 1.4: (r1295709) Seems the project is dead. Best Regards Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJUzk+9AAoJEIT1NQXkgeRlLkoP/3JM+laR9yFKQ8Z3v9JVpggE nn1qyn+o9dRLrX91ENalNyt1zJwNo8P3W1qqPH0kGSOMOzqgfsDi6E3UPZBiCaSP dFocvAMcrarnagQzql5sN9jhtIyArZJSiN0YN9kkux0ucbb2IyrfK9CfbT5qXbWa AhTXNoe+mwnqCzSyh2E2MhHUgEkLMTvIDUF2tlG7TWEgZmE4cA+KI+wLQguE98XV HbuT7hUdp6HSyrKmIbbY9VbpBiKRgHQzgmF5k/5dlz6r2ML9RVDwjbQ0RGyDX/7c nAAyVCZoycJ6q/FeZiKySwYndX3ORPuew551vbpexX/9oezUxWncZyCdxZYe/oW6 /FbGe30c1uNTsZQbPuh7jTyBrHMOxBg+Eng8xDhuil/LJJpx5IsO7lRjt3HZcfPp QQK/Rb47FNpUXkm8TmOds/N5fO6uswwwCy/MuSRlKGw2t7xoyUOBb1HtoNuZ3OyU CKBar+qlTn7npKLogwp+OQPTuG3j4+hXzr9vaVzUKbb8rV1spJE/DabhpwvuDSeD YXJC/yY2NlLJxVvMoC1UkRapPz2QruhAVmKKF0p1KS6sg+sn9S6PR/a5knp3jE8x fQP1nRzi/Jv6HyEPuaOSCfnbemFk1lsgw0EuN7MuRj/nVbIUgw624a1l4q/Sxc8v wVJgicTmm1JmsqaNSIns =eFZr -----END PGP SIGNATURE-----
Thank you for your reply. I confirmed that Mozc Subversion repository and UT Subversion repository are dead. I tried to use archives instead of them, but UT project not publish any archives. I think it is difficult... I'm so sad because fine Japanese input method is Japanese core requirement and Mozc is the probable it. Mozc-UT is best on now. You wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Am 01.02.2015 um 15:37 schrieb MASAKI Yuhsuke:
Hi.
Mozc UT relative packages cannot build because fail to checkout Mozc SVN repository. Error occur thus:
==> Retrieving sources... -> Cloning mozc-1.15.1917.102 svn repo... svn: E000111: Unable to connect to a repository at URL 'http://mozc.googlecode.com/svn/trunk/src' svn: E000111: Error running context: Connection refused ==> ERROR: Failure while downloading mozc-1.15.1917.102 svn repo
****************************** * The Rider, Hacker and Musician. * +++ ENABLE YOUR HEART +++ ****************************** * MASAKI Yuhsuke. * hydrangea+ml@reasonset.net * Website: http://reasonset.net/ * GitHub : https://github.com/reasonset/ * Twitter: @reasonset ******************************
In the AUR comments there is an entry. Cite: ==> Connecting to mozc SVN server... Error: SVN version is older than 1.4: (r1295709)
Seems the project is dead.
Best Regards
Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iQIcBAEBCAAGBQJUzk+9AAoJEIT1NQXkgeRlLkoP/3JM+laR9yFKQ8Z3v9JVpggE nn1qyn+o9dRLrX91ENalNyt1zJwNo8P3W1qqPH0kGSOMOzqgfsDi6E3UPZBiCaSP dFocvAMcrarnagQzql5sN9jhtIyArZJSiN0YN9kkux0ucbb2IyrfK9CfbT5qXbWa AhTXNoe+mwnqCzSyh2E2MhHUgEkLMTvIDUF2tlG7TWEgZmE4cA+KI+wLQguE98XV HbuT7hUdp6HSyrKmIbbY9VbpBiKRgHQzgmF5k/5dlz6r2ML9RVDwjbQ0RGyDX/7c nAAyVCZoycJ6q/FeZiKySwYndX3ORPuew551vbpexX/9oezUxWncZyCdxZYe/oW6 /FbGe30c1uNTsZQbPuh7jTyBrHMOxBg+Eng8xDhuil/LJJpx5IsO7lRjt3HZcfPp QQK/Rb47FNpUXkm8TmOds/N5fO6uswwwCy/MuSRlKGw2t7xoyUOBb1HtoNuZ3OyU CKBar+qlTn7npKLogwp+OQPTuG3j4+hXzr9vaVzUKbb8rV1spJE/DabhpwvuDSeD YXJC/yY2NlLJxVvMoC1UkRapPz2QruhAVmKKF0p1KS6sg+sn9S6PR/a5knp3jE8x fQP1nRzi/Jv6HyEPuaOSCfnbemFk1lsgw0EuN7MuRj/nVbIUgw624a1l4q/Sxc8v wVJgicTmm1JmsqaNSIns =eFZr -----END PGP SIGNATURE-----
****************************** * The Rider, Hacker and Musician. * +++ ENABLE YOUR HEART +++ ****************************** * MASAKI Yuhsuke. * aki@reasonset.net * Website: http://reasonset.net/ * GitHub : https://github.com/reasonset/ * Twitter: @reasonset ******************************
On 03-02-2015 05:16, MASAKI Yuhsuke wrote:
Thank you for your reply.
I confirmed that Mozc Subversion repository and UT Subversion repository are dead. I tried to use archives instead of them, but UT project not publish any archives. I think it is difficult...
I'm so sad because fine Japanese input method is Japanese core requirement and Mozc is the probable it. Mozc-UT is best on now.
Try this url[1]: http://mozc.googlecode.com/svn/ Seems to checkout fine for me. [1] https://code.google.com/p/mozc/source/checkout -- Mauro Santos
Thank you for your reply. Maybe, I don't understand right. * I confirmed the URI available on HTTP access. * "svn checkout http://mozc.googlecode.com/svn/" had error. * I fixed PKGBUILD to svn+http://mozc.googlecode.com/svn/ * This is the result. ==> Retrieving sources... -> Updating mozc-1.15.1917.102 svn repo... Skipped '.' Summary of conflicts: Skipped paths: 1 -> Cloning japanese_usage_dictionary svn repo... 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 ==> ERROR: Failure while downloading japanese_usage_dictionary svn repo Aborting... ==> ERROR: Makepkg was unable to build fcitx-mozc-ut. I couldn't fetch Mozc and Japanese Usage Dictionary. Should I use wget instead of subversion? I had success to download with this fix, ----- source=(mozc-${_mozcver}::http://mozc.googlecode.com/svn/trunk/src japanese_usage_dictionary::http://japanese-usage-dictionary.googlecode.com/svn/trunk#revision=$_japanes... gyp::http://gyp.googlecode.com/svn/trunk#revision=$_gyp_rev http://downloads.sourceforge.net/project/mdk-ut/30-source/source/mozcdic-ut-... http://downloads.sourceforge.net/project/pnsft-aur/mozc/edict-${_utdicver}.gz EDICT_license.html mod-generate-mozc-ut.sh http://downloads.sourceforge.net/pnsft-aur/x-ken-all-${_zipcoderel}.zip http://downloads.sourceforge.net/pnsft-aur/jigyosyo-${_zipcoderel}.zip git+https://github.com/google/protobuf.git#commit=${_protobuf_rev} http://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-${_patchver}.patch http://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-icon.tar.gz) ----- (and disable to check mozcdic-ut's checksum.) but will be an error. ----- ==> Starting prepare()... /tmp/yaourt-tmp-aki/aur-fcitx-mozc-ut/./PKGBUILD: line 91: cd: /tmp/yaourt-tmp-aki/aur-fcitx-mozc-ut/src/mozcdic-ut-20141110: No such file or directory ==> ERROR: A failure occurred in prepare(). Aborting... ==> ERROR: Makepkg was unable to build fcitx-mozc-ut. ----- Too difficult for me... You wrote:
On 03-02-2015 05:16, MASAKI Yuhsuke wrote:
Thank you for your reply.
I confirmed that Mozc Subversion repository and UT Subversion repository are dead. I tried to use archives instead of them, but UT project not publish any archives. I think it is difficult...
I'm so sad because fine Japanese input method is Japanese core requirement and Mozc is the probable it. Mozc-UT is best on now.
Try this url[1]: http://mozc.googlecode.com/svn/ Seems to checkout fine for me.
[1] https://code.google.com/p/mozc/source/checkout
-- Mauro Santos
****************************** * The Rider, Hacker and Musician. * +++ ENABLE YOUR HEART +++ ****************************** * MASAKI Yuhsuke. * aki@reasonset.net * Website: http://reasonset.net/ * GitHub : https://github.com/reasonset/ * Twitter: @reasonset ******************************
On 03-02-2015 11:41, MASAKI Yuhsuke wrote:
Thank you for your reply.
Maybe, I don't understand right. * I confirmed the URI available on HTTP access. * "svn checkout http://mozc.googlecode.com/svn/" had error. * I fixed PKGBUILD to svn+http://mozc.googlecode.com/svn/ * This is the result.
==> Retrieving sources... -> Updating mozc-1.15.1917.102 svn repo... Skipped '.' Summary of conflicts: Skipped paths: 1 -> Cloning japanese_usage_dictionary svn repo... 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 ==> ERROR: Failure while downloading japanese_usage_dictionary svn repo Aborting... ==> ERROR: Makepkg was unable to build fcitx-mozc-ut.
I couldn't fetch Mozc and Japanese Usage Dictionary. Should I use wget instead of subversion?
I had success to download with this fix, ----- source=(mozc-${_mozcver}::http://mozc.googlecode.com/svn/trunk/src japanese_usage_dictionary::http://japanese-usage-dictionary.googlecode.com/svn/trunk#revision=$_japanes... gyp::http://gyp.googlecode.com/svn/trunk#revision=$_gyp_rev http://downloads.sourceforge.net/project/mdk-ut/30-source/source/mozcdic-ut-... http://downloads.sourceforge.net/project/pnsft-aur/mozc/edict-${_utdicver}.gz EDICT_license.html mod-generate-mozc-ut.sh http://downloads.sourceforge.net/pnsft-aur/x-ken-all-${_zipcoderel}.zip http://downloads.sourceforge.net/pnsft-aur/jigyosyo-${_zipcoderel}.zip git+https://github.com/google/protobuf.git#commit=${_protobuf_rev} http://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-${_patchver}.patch http://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-icon.tar.gz) ----- (and disable to check mozcdic-ut's checksum.) but will be an error.
----- ==> Starting prepare()... /tmp/yaourt-tmp-aki/aur-fcitx-mozc-ut/./PKGBUILD: line 91: cd: /tmp/yaourt-tmp-aki/aur-fcitx-mozc-ut/src/mozcdic-ut-20141110: No such file or directory ==> ERROR: A failure occurred in prepare(). Aborting... ==> ERROR: Makepkg was unable to build fcitx-mozc-ut. -----
Too difficult for me...
From what you wrote it seems to me this is one of the first times you are editing/fixing a pkgbuild, so I'd say it is normal to find it a
Manually doing: svn checkout http://japanese-usage-dictionary.googlecode.com/svn/trunk/ works here. I suspect you are trying to use a pkgbuild that needs a good amount of work to get everything working. little difficult, and this one seems to be a bit more complicated than the average pkgbuild. Regarding the fixes you have to make, I would suggest that you change as little as possible, fix the urls but try not to change how you fetch the sources, otherwise later in the pkgbuild it will throw an error because it doesn't find the sources in the expected place. The other thing I suggest is that you use makepkg directly instead of yaourt while you try to fix the package. You don't need 2 programs throwing errors and making things harder for you. -- Mauro Santos
Thank you. It's so hard for me. I think that I progress step by step ( but I may give it up...) I tried simply svn checkout http://japanese-usage-dictionary.googlecode.com/svn/trunk/ but $ 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 What should I do? I understood that I should not use yaourt. I got the tarball and expand it. However, won't it fix by upstream or maintainer? If it will be fixed, I wait. If not so, I try to write good PKGBUILD. You wrote:
On 03-02-2015 11:41, MASAKI Yuhsuke wrote:
Thank you for your reply.
Maybe, I don't understand right. * I confirmed the URI available on HTTP access. * "svn checkout http://mozc.googlecode.com/svn/" had error. * I fixed PKGBUILD to svn+http://mozc.googlecode.com/svn/ * This is the result.
==> Retrieving sources... -> Updating mozc-1.15.1917.102 svn repo... Skipped '.' Summary of conflicts: Skipped paths: 1 -> Cloning japanese_usage_dictionary svn repo... 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 ==> ERROR: Failure while downloading japanese_usage_dictionary svn repo Aborting... ==> ERROR: Makepkg was unable to build fcitx-mozc-ut.
I couldn't fetch Mozc and Japanese Usage Dictionary. Should I use wget instead of subversion?
I had success to download with this fix, ----- source=(mozc-${_mozcver}::http://mozc.googlecode.com/svn/trunk/src japanese_usage_dictionary::http://japanese-usage-dictionary.googlecode.com/svn/trunk#revision=$_japanes... gyp::http://gyp.googlecode.com/svn/trunk#revision=$_gyp_rev http://downloads.sourceforge.net/project/mdk-ut/30-source/source/mozcdic-ut-... http://downloads.sourceforge.net/project/pnsft-aur/mozc/edict-${_utdicver}.gz EDICT_license.html mod-generate-mozc-ut.sh http://downloads.sourceforge.net/pnsft-aur/x-ken-all-${_zipcoderel}.zip http://downloads.sourceforge.net/pnsft-aur/jigyosyo-${_zipcoderel}.zip git+https://github.com/google/protobuf.git#commit=${_protobuf_rev} http://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-${_patchver}.patch http://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-icon.tar.gz) ----- (and disable to check mozcdic-ut's checksum.) but will be an error.
----- ==> Starting prepare()... /tmp/yaourt-tmp-aki/aur-fcitx-mozc-ut/./PKGBUILD: line 91: cd: /tmp/yaourt-tmp-aki/aur-fcitx-mozc-ut/src/mozcdic-ut-20141110: No such file or directory ==> ERROR: A failure occurred in prepare(). Aborting... ==> ERROR: Makepkg was unable to build fcitx-mozc-ut. -----
Too difficult for me...
Manually doing: svn checkout http://japanese-usage-dictionary.googlecode.com/svn/trunk/ works here.
I suspect you are trying to use a pkgbuild that needs a good amount of work to get everything working.
From what you wrote it seems to me this is one of the first times you are editing/fixing a pkgbuild, so I'd say it is normal to find it a little difficult, and this one seems to be a bit more complicated than the average pkgbuild.
Regarding the fixes you have to make, I would suggest that you change as little as possible, fix the urls but try not to change how you fetch the sources, otherwise later in the pkgbuild it will throw an error because it doesn't find the sources in the expected place.
The other thing I suggest is that you use makepkg directly instead of yaourt while you try to fix the package. You don't need 2 programs throwing errors and making things harder for you.
-- Mauro Santos
****************************** * The Rider, Hacker and Musician. * +++ ENABLE YOUR HEART +++ ****************************** * MASAKI Yuhsuke. * hydrangea+ml@reasonset.net * Website: http://reasonset.net/ * GitHub : https://github.com/reasonset/ * Twitter: @reasonset ******************************
On Wed, Feb 4, 2015 at 5:25 PM, MASAKI Yuhsuke <hydrangea+ml@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
Thank you. I tried and got it. ----- japanese-usage-dictionary.googlecode.com is an alias for googlecode.l.googleusercontent.com. googlecode.l.googleusercontent.com has address 173.194.72.82 googlecode.l.googleusercontent.com has IPv6 address 2404:6800:4008:c01::52 It is looked right, but the address is different from you. googlecode.l.googleusercontent.com has address 173.194.72.82
googlecode.l.googleusercontent.com has address 64.233.178.82
googlecode.l.googleusercontent.com has IPv6 address 2404:6800:4008:c01::52
googlecode.l.googleusercontent.com has IPv6 address 2607:f8b0:4003:c0a::52
----- (Test the host is available?) $ ping -c 3 173.194.72.82 PING 173.194.72.82 (173.194.72.82) 56(84) bytes of data. 64 bytes from 173.194.72.82: icmp_seq=1 ttl=42 time=49.0 ms 64 bytes from 173.194.72.82: icmp_seq=2 ttl=42 time=48.7 ms 64 bytes from 173.194.72.82: icmp_seq=3 ttl=42 time=48.8 ms --- 173.194.72.82 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 48.753/48.857/49.016/0.279 ms ----- Result of strace: $ 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_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "2404:6800:4008:c01::52", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("173.194.72.82")}, 16) = 0 connect(4, {sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6, "2404:6800:4008:c01::52", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 EINPROGRESS (Operation now in progress) [1] 31614 exit 1 strace -e trace=network svn checkout 2>&1 | 31615 done grep --color=always "^connect" ----- Test again with IPv6: $ ping6 -c 3 2404:6800:4008:c01::52 PING 2404:6800:4008:c01::52(2404:6800:4008:c01::52) 56 data bytes --- 2404:6800:4008:c01::52 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2008ms [1] 32548 exit 1 ping6 -c 3 2404:6800:4008:c01::52 ----- Humm? IPv6 address isn't avilable... So, I added entry hosts file: 173.194.72.82 mozc.googlecode.com japanese_usage_dictionary.googlecode.com japanese-usage-dictionary.googlecode.com gyp.googlecode.com And fix PKGBUILD because mozcdic and edit are already updated and Revision 0 is not exist in Japanese Usage Dictionary's repository. AND SUCCEEDED! I attach the patch and modified PKGBUILD. Thank you very much. You wrote:
On Wed, Feb 4, 2015 at 5:25 PM, MASAKI Yuhsuke <hydrangea+ml@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
****************************** * The Rider, Hacker and Musician. * +++ ENABLE YOUR HEART +++ ****************************** * MASAKI Yuhsuke. * hydrangea+ml@reasonset.net * Website: http://reasonset.net/ * GitHub : https://github.com/reasonset/ * Twitter: @reasonset ******************************
I forgot to mention. The patch and PKGBUILD are for fcitx-mozc-ut. ****************************** * The Rider, Hacker and Musician. * +++ ENABLE YOUR HEART +++ ****************************** * MASAKI Yuhsuke. * hydrangea+ml@reasonset.net * Website: http://reasonset.net/ * GitHub : https://github.com/reasonset/ * Twitter: @reasonset ******************************
participants (4)
-
MASAKI Yuhsuke
-
Mauro Santos
-
Stefan Husmann
-
Troy Engel