Re: jhbuild, behind proxy compiling gnome-todo

Hashem Nasarat <[email protected]> Wed, 20 Jan 2016 01:57:57 -0500
Newsgroups gmane.comp.gnome.love
Message-ID <[email protected]>
It looks like you're using the repo config option correctly, but I'm no 
expert with jhbuild so I can't say for sure.
https://developer.gnome.org/jhbuild/stable/config-reference.html.en

If that option isn't working you could try modifying your local 
modulesets and then set the use_local_modulesets option.


On 01/20/2016 01:41 AM, Jay Aurabind wrote:
> Thank you for the response. I could fix this. But this is still an
> issue, as it tries to access repos using git protocol. I have this
> line in jhbuild which takes care of the gnome:
>
> repos['git.gnome.org'] = 'https://git.gnome.org/browse/'
>
> That is indeed working. But, I have the next few lines as:
>
> repos['anongit.freedesktop.org'] = 'http://anongit.freedesktop.org/git/'
> repos['git.sv.gnu.org'] = 'http://git.savannah.gnu.org/r/'
> repos['github.com'] = 'https://github.com/'
>
>
> But whenever jhbuild accesses any of these repos, the http/https url
> is not used. Is this the correct way to use repos option ?
>
>
> On 20 January 2016 at 11:11, Hashem Nasarat <[email protected]> wrote:
>> I'm not sure if jhbuild reads the repo overrides for submodules or how it
>> works really. But if you already have the m4-common git repository, you can
>> perhaps manually put the URL you want for the submodule:
>>
>> in m4-common/.git/config
>>
>> change/add the url you want like so:
>>
>> [submodule "autoconf-archive"]
>>          url = git://git.sv.gnu.org/autoconf-archive.git
>>
>> then try using jhbuild to build m4-common
>>
>> (https://git-scm.com/book/en/v2/Git-Tools-Submodules may prove useful)
>>
>> Or just try to fix your proxy ;)
>>
>>
>>
>> On 01/20/2016 12:28 AM, Jay Aurabind wrote:
>>>
>>> Bump!
>>>
>>> Can anyone please suggest me if there is any other appropriate list I
>>> can get this question answered.
>>>
>>>
>>>
>>> On 16 January 2016 at 14:01, Jay Aurabind <[email protected]> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I'm new to gnome build system and trying to build gnome-todo. jhbuild
>>>> is unable to properly download the sources because of proxy issues.
>>>>
>>>> My config is at https://paste.gnome.org/pzshlb6fp
>>>>
>>>> adding repo entry for gnome git (through https) is working fine, while
>>>> freedesktop and gnu is failing. After setting this config, jhbuild is
>>>> still trying to access git:// rather than http://
>>>>
>>>> Error log:
>>>>
>>>> *** Checking out m4-common *** [9/48]
>>>> git remote set-url origin https://git.gnome.org/browse/m4-common
>>>> git remote update origin
>>>> Fetching origin
>>>> git rebase origin/master
>>>> Current branch master is up to date.
>>>> git submodule init
>>>> git submodule update
>>>> Cloning into 'autoconf-archive'...
>>>> fatal: unable to connect to git.sv.gnu.org:
>>>> git.sv.gnu.org[0: 208.118.235.72]: errno=Connection timed out
>>>>
>>>> Clone of 'git://git.sv.gnu.org/autoconf-archive.git' into submodule
>>>> path 'autoconf-archive' failed
>>>> *** Error during phase checkout of m4-common: ########## Error running
>>>> git submodule update *** [9/48]
>>>>
>>>> Please provide some pointers.
>>>>
>>>> --
>>>>
>>>> Thanks and Regards,
>>>> Aurabindo J
>>>
>>>
>>>
>>>
>>
>
>
>