[arch-general] makepkg, curl "no route to host"
Hi all, I have a problem with makepkg. I want to install ctemplate from AUR: $ makepkg -s ==> Making package: ctemplate 2.2-1 (Wed May 7 15:49:15 EAT 2014) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading ctemplate-2.2.tar.gz... [...] curl: (7) Failed to connect to ctemplate.googlecode.com port 80: No route to host ==> ERROR: Failure while downloading ctemplate-2.2.tar.gz Aborting... But when browsing to http://ctemplate.googlecode.com with my browser is OK. The same for ping, it's OK. $ ping ctemplate.googlecode.com PING googlecode.l.googleusercontent.com (173.194.78.82) 56(84) bytes of data. 64 bytes from wg-in-f82.1e100.net (173.194.78.82): icmp_seq=1 ttl=43 time=244 ms 64 bytes from wg-in-f82.1e100.net (173.194.78.82): icmp_seq=2 ttl=43 time=243 ms I do have route to "ctemplate.googlecode.com". How special is "curl" way to connect to the network so that it doesnt find a route for this destination? How can I switch to "wget" just to try? Thank you.
Hi can you show your /etc/makepkg.conf ? 2014-05-07 10:03 GMT-03:00 Mihamina Rakotomandimby < mihamina.rakotomandimby@rktmb.org>:
Hi all,
I have a problem with makepkg. I want to install ctemplate from AUR:
$ makepkg -s ==> Making package: ctemplate 2.2-1 (Wed May 7 15:49:15 EAT 2014) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading ctemplate-2.2.tar.gz... [...] curl: (7) Failed to connect to ctemplate.googlecode.com port 80: No route to host ==> ERROR: Failure while downloading ctemplate-2.2.tar.gz Aborting...
But when browsing to http://ctemplate.googlecode.com with my browser is OK. The same for ping, it's OK.
$ ping ctemplate.googlecode.com PING googlecode.l.googleusercontent.com (173.194.78.82) 56(84) bytes of data. 64 bytes from wg-in-f82.1e100.net (173.194.78.82): icmp_seq=1 ttl=43 time=244 ms 64 bytes from wg-in-f82.1e100.net (173.194.78.82): icmp_seq=2 ttl=43 time=243 ms
I do have route to "ctemplate.googlecode.com".
How special is "curl" way to connect to the network so that it doesnt find a route for this destination?
How can I switch to "wget" just to try?
Thank you.
On 05/07/2014 04:12 PM, Gabriel Ozaki wrote:
can you show your /etc/makepkg.conf ?
Here you are: http://pastebin.com/CmieZk6A
Like Savyasachee says, try this: DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' 'http::/usr/bin/wget -c -O %o %u' 'https::/usr/bin/wget -c -O %o %u' 'rsync::/usr/bin/rsync --no-motd -z %u %o' 'scp::/usr/bin/scp -C %u %o') 2014-05-07 10:38 GMT-03:00 Mihamina Rakotomandimby < mihamina.rakotomandimby@rktmb.org>:
On 05/07/2014 04:12 PM, Gabriel Ozaki wrote:
can you show your /etc/makepkg.conf ?
Here you are: http://pastebin.com/CmieZk6A
On 05/07/14 16:48, Gabriel Ozaki wrote:
Like Savyasachee says, try this:
DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' 'http::/usr/bin/wget -c -O %o %u' 'https::/usr/bin/wget -c -O %o %u' 'rsync::/usr/bin/rsync --no-motd -z %u %o' 'scp::/usr/bin/scp -C %u %o')
Thank you. It's weird, after insisting (and keeping curl) several times, it works...
On Wed, May 7, 2014 at 10:03 PM, Mihamina Rakotomandimby < mihamina.rakotomandimby@rktmb.org> wrote:
How can I switch to "wget" just to try?
Just change the DLAGENTS line specific to the protocol in /etc/makepkg.conf. For example, for http, you can set "http::/usr/bin/wget -c -O %o %u" to use wget for http downloads while using makepkg. -- Savyasachee Jha *"Aerodynamics is for people whodon't know how to build engines."*
participants (3)
-
Gabriel Ozaki
-
Mihamina Rakotomandimby
-
Savyasachee Jha