You are not logged in.
Hi! I'm trying to install gitflow package from AUR. But the following error is showing up.
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> gitflow dependencies:
- git (already installed)
==> Continue building gitflow ? [Y/n]
==> ---------------------------------
==>
==> Building and installing package
==> Making package: gitflow 1.9.1_dev-1 (Wed Apr 20 13:11:30 BRT 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning gitflow.git git repo...
Cloning into bare repository '/tmp/yaourt-tmp-vitor/aur-gitflow/gitflow.git'...
fatal: unable to connect to github.com:
github.com[0: 192.30.252.128]: errno=Connection timed out
==> ERROR: Failure while downloading gitflow.git git repo
Aborting...
==> ERROR: Makepkg was unable to build gitflow.
==> Restart building gitflow ? [y/N]
==> --------------------------------
==> Another package that the error appears is: arm-bcm2708-linux-gnueabi
But I'm able to clone with git clone <url>
What could be wrong?
Last edited by vitor (2016-04-20 17:44:58)
Offline
The error seems pretty clear, you can't connect to github. Do you have something blocking the git protocol, maybe?
Last edited by Scimmia (2016-04-20 16:25:53)
Offline
The error seems pretty clear, you can't connect to github. Do you have something blocking the git protocol, maybe?
I thought too. But I'm able to clone. No problems..
les19:~ $ git clone https://github.com/nvie/gitflow
Cloning into 'gitflow'...
remote: Counting objects: 1407, done.
remote: Total 1407 (delta 0), reused 0 (delta 0), pack-reused 1407
Receiving objects: 100% (1407/1407), 592.95 KiB | 548.00 KiB/s, done.
Resolving deltas: 100% (713/713), done.
Checking connectivity... done.
les19:~ $ Offline
You're cloning over https:// there, not git://
Offline
You're cloning over https:// there, not git://
True. I can't clone with git protocol. If I change the protocol to http into PKGBUILD it return this error
=> Retrieving sources...
-> Downloading gitflow.git...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 178 100 178 0 0 216 0 --:--:-- --:--:-- --:--:-- 1873
100 107k 0 107k 0 0 85817 0 --:--:-- 0:00:01 --:--:-- 85817
==> Validating source files with md5sums...
gitflow.git ... Skipped
==> Extracting sources...
==> Starting prepare()...
/tmp/yaourt-tmp-vitor/aur-gitflow/./PKGBUILD: line 20: cd: /tmp/yaourt-tmp-vitor/aur-gitflow/src/gitflow.git: Not a directoryLooks like the git clone command clone just one file, and not the whole directory. I'm gonna investigate why they block git.
Offline
You're getting a single file because using git over https in makepkg requires special notation. See the PKGBUILD man page or the VCS Package Guidelines wiki page.
Offline
You're getting a single file because using git over https in makepkg requires special notation. See the PKGBUILD man page or the VCS Package Guidelines wiki page.
Thanks Scimmia! The problem resides in my network. As solution I used git+http:// int the PKGBUILD source variable.
Offline