On Tue, August 16, 2016 18:03:29 Milian Wolff wrote: > On Montag, 15. August 2016 21:23:16 CEST Mehak Goyal wrote: > > Hi! > > > > I am trying to build kdevelop usinf kdesrc-build. I am using > > > > a proxy server. I am stuck at the following error when I run the > > > > initial command: kdesrc-build kdevelop > > > > Cloning kde-build-metadata > > > > Falling back to clone of kde-build-metadata > > > > kdesrc-build encountered an exceptional error condition: > > ======== > > > > Runtime Error: Failed to make initial clone of kde-build-metadata > > > > ======== > > > > Can't continue, so stopping now. > > > > The proxy works through the terminal as in works with the sudo apt-get > > install/update commands. > > Does git clone of a KDE repository work? > > $ git clone -vvv git://anongit.kde.org/kde-build-metadata > Cloning into 'kde-build-metadata'... > Looking up anongit.kde.org ... done. > Connecting to anongit.kde.org (port 9418) ... 31.216.41.69 done. > Server supports multi_ack_detailed > Server supports side-band-64k > Server supports ofs-delta > Server version is git/2.1.4 > want b0d7cd532b36b92e15a787c89c82fa7db00f4d09 (HEAD) > want 97919ce4159285eb2c75b2571aa648e23f412bd3 (refs/heads/branch_info) > want 164e1f94ab808c07df66585aa54ce770972255f9 (refs/heads/ciUpdate) > want b0d7cd532b36b92e15a787c89c82fa7db00f4d09 (refs/heads/master) > done > remote: Counting objects: 4366, done. > remote: Compressing objects: 100% (2284/2284), done. > remote: Total 4366 (delta 2924), reused 3129 (delta 2079) > Receiving objects: 100% (4366/4366), 495.18 KiB | 0 bytes/s, done. > Resolving deltas: 100% (2924/2924), done. > Checking connectivity... done. > > If not, then please figure out why. Also, I'm moving this to kde-devel, as > it's not directly a problem related only to KDevelop.
You may need to set an extra couple of options for proxy support in kdesrc- build but it should work otherwise (though I've not tried it in 4 years...) See https://docs.kde.org/trunk5/en/extragear-utils/kdesrc-build/conf-options-table.html#conf-git-desired-protocol which refers to the configuration options "git-desired-protocol" and "http- proxy". Regards, - Michael Pyne