rtems source builde git repository

Hoefle Marco Marco.Hoefle at nanotronic.ch
Tue Aug 26 13:26:02 UTC 2014


Hello Chris,
I tried with:

%source set rtems git://git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10

Now I get:
Creating source directory: sources/git
git: clone: git://git.nanotronic:rtems.git -> sources/git/git.nanotronic:rtems.git
error: git command failed (/usr/bin/git): 128
Build FAILED
  See error report: rsb-report-sparc-rtems4.10-kernel-4.10-1.txt
error: git command failed (/usr/bin/git): 128
Build Set: Time 0:06:48.445824
Build FAILED

Google sais that the ssh key might not be setup correctly.
FYI:
hoefle at wheezy:~/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems$ git clone git.nanotronic:rtems.git
Cloning into 'rtems'...
remote: Counting objects: 452048, done.
remote: Compressing objects: 100% (76658/76658), done.
remote: Total 452048 (delta 366194), reused 451708 (delta 365854)
Receiving objects: 100% (452048/452048), 62.37 MiB | 28.78 MiB/s, done.
Resolving deltas: 100% (366194/366194), done.
hoefle at wheezy:~/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems$ rm -Rf rtems/
hoefle at wheezy:~/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems$ git clone git://git.nanotronic:rtems.git
Cloning into 'rtems'...
fatal: unable to connect to :
: Name or service not known

Regards,
Marco

-----Original Message-----
From: Chris Johns [mailto:chrisj at rtems.org]
Sent: Tue 26/08/2014 02:13
To: Hoefle Marco; users at rtems.org
Subject: Re: rtems source builde git repository
 
On 25/08/2014 6:26 pm, Hoefle Marco wrote:
> Hello Chris,
> I just tried the latest commit from 23.08.
> Unfortunately it still fails with
>
> error: malforned URL:
> git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10
> Build FAILED
>    See error report: rsb-report-sparc-rtems4.10-kernel-4.10-1.txt
> error: malforned URL:
> git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10
> Build Set: Time 0:05:35.003275
> Build FAILED
>
>
> We use gitolite as our repository management tool and thus we set our
> ssh config file as:
> hoefle at wheezy:~/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems$
> cat ~/.ssh/config
> Host git.nanotronic
> HostName srv03
> User gitolite
> IdentityFile ~/.ssh/id_dsa-git
>
> Cloning from command line and with a previous version of source builder
> works.

The URL in your configuration needs to change. I cleaned up the parsing. 
The current code in download.py is:

    colon = url.find(':')
    if url[colon + 1:colon + 3] != '//':
       raise error.general('malforned URL: %s' % (url))

which means there needs to be a '//' after the first ':' therefore you 
need to use:

  git://git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10

Can you please try this ?

The reason is worked before was the simple fact that your git server 
started with the word 'git'.

Chris

> regards,
> Marco
>
>
>
>
>
> -----Original Message-----
> From: Chris Johns [mailto:chrisj at rtems.org]
> Sent: Tue 19/08/2014 14:46
> To: Hoefle Marco; users at rtems.org
> Subject: Re: rtems source builde git repository
>
> On 19/08/2014 10:20 pm, Hoefle Marco wrote:
>  > Dear Chris,
>  > cloning rtems using git works (and worked also with the previous rtems
>  > source builder version):
>
> I fixed some of the download code and this may now catch the URL.
>
>  >
>  > hoefle at wheezy:/tmp/hoefle$ git clone git.nanotronic:rtems.git
>  > Cloning into 'rtems'...
>  > remote: Counting objects: 452048, done.
>  > remote: Compressing objects: 100% (76658/76658), done.
>  > remote: Total 452048 (delta 366194), reused 451708 (delta 365854)
>  > Receiving objects: 100% (452048/452048), 62.37 MiB | 29.90 MiB/s, done.
>  > Resolving deltas: 100% (366194/366194), done.
>  >
>  >
>  > this is the content of:
>  > ./rtems-source-builder/rtems/rsb-report-sparc-rtems4.10-kernel-4.10-1.txt
>  >
>  >
> hoefle at wheezy:~/projects/customers/unibern/cassis/clone/source_build_test$
>  > cat
>  > ./rtems-source-builder/rtems/rsb-report-sparc-rtems4.10-kernel-4.10-1.txt
>  > RTEMS Tools Project - Source Builder Error Report
>  >   Build: error: malforned URL:
>  > git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10
>
> Following this ...
>
> http://www.rtems.org/ftp/pub/rtems/people/chrisj/source-builder/source-builder.html#_git
>
> I would try:
>
>    git://git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10
>
> as the URL the RSB config file.
>
> Please update the RSB as I just fixed a bug Joel and Josh pointed out.
>
> Chris
>
>
>
>




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20140826/ab0e7cd4/attachment-0002.html>


More information about the users mailing list