rtems source builde git repository

Hoefle Marco Marco.Hoefle at nanotronic.ch
Wed Aug 27 07:28:53 UTC 2014


Hello Chris,
with trace switch:

hoefle at wheezy:~/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems$ ../source-builder/sb-set-builder --log=$TOOLCHAIN_DIR/4.10-sparc.log --prefix=$TOOLCHAIN_DIR --no-clean 4.10/rtems-sparc-gr.bset --trace
RTEMS Source Builder - Set Builder, v0.4.0
Build Set: 4.10/rtems-sparc-gr.bset
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-linux-gnu-1
building: expat-2.1.0-x86_64-linux-gnu-1
config: tools/rtems-binutils-2.20.1-1.cfg
package: sparc-rtems4.10-binutils-2.20.1-1
building: sparc-rtems4.10-binutils-2.20.1-1
config: tools/rtems-gcc-4.4.7-newlib-1.18.0-1.cfg
package: sparc-rtems4.10-gcc-4.4.7-newlib-1.18.0-1
building: sparc-rtems4.10-gcc-4.4.7-newlib-1.18.0-1
config: tools/rtems-gdb-7.3.1-1.cfg
package: sparc-rtems4.10-gdb-7.3.1-1
building: sparc-rtems4.10-gdb-7.3.1-1
config: tools/rtems-kernel-4.10-1.2.14-gr.cfg
package: sparc-rtems4.10-kernel-4.10-1
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:05:50.679860
Build FAILED

Here the last part of rsb-report-sparc-rtems4.10-kernel-4.10-1.txt (the whole report is also attached to the mail):
script: 68: export PATH
script: 69: # Default environment set up.
script: 70: LANG=C
script: 71: export LANG
script: 72: unset DISPLAY || :
script: 73: umask 022
script: 74: cd "/home/NANOTRONIC/hoefle/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems/build/sparc-rtems4.10-kernel-4.10-1"
script: 75: echo "=> sparc-rtems4.10-kernel-4.10-1:"
script: 76: echo "==> %prep:"
script: 77: source_dir_rtems="rtems-4.10"
source setup: sparc-rtems4.10-kernel-4.10-1: source rtems -q -c -n sparc-rtems4.10-kernel-4.10-1-4.10
making dir: /home/NANOTRONIC/hoefle/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems/sources/git
_url: git://git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10 -> /home/NANOTRONIC/hoefle/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems/sources/git/git.nanotronic:rtems.git
git: clone: git://git.nanotronic:rtems.git -> sources/git/git.nanotronic:rtems.git
cmd: (None) /usr/bin/git clone git://git.nanotronic:rtems.git /home/NANOTRONIC/hoefle/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems/sources/git/git.nanotronic:rtems.git
exe: ['/usr/bin/git', 'clone', 'git://git.nanotronic:rtems.git', '/home/NANOTRONIC/hoefle/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems/sources/git/git.nanotronic:rtems.git']
fatal: unable to connect to :
: Name or service not known

Cloning into '/home/NANOTRONIC/hoefle/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems/sources/git/git.nanotronic:rtems.git'...




-----Original Message-----
From: Chris Johns [mailto:chrisj at rtems.org]
Sent: Wed 27/08/2014 02:22
To: Hoefle Marco; users at rtems.org
Subject: Re: rtems source builde git repository
 
On 26/08/2014 11:26 pm, Hoefle Marco wrote:
> 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

Can I please have a look at this file ? Can you please add --trace to 
the command line ?

> 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.

Could be but it worked before so I suspect it is just a matter of a 
suitable URL or some improvements in the RSB git down loader to handle 
the existing one.

> 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.

This is good to see.

> 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

You cannot interchange the clone path directly with git. The RSB 
supports a number of protocols for downloading and the prefix of 
'git://' is internal to the RSB. In theory what follows should be ok but 
this is a little more difficult that it may seem.

I need to see the error report to see what happened. It may mean I need 
to improve the git support

Chris





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20140827/7cc511a7/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rsb-report-sparc-rtems4.10-kernel-4.10-1.txt
URL: <http://lists.rtems.org/pipermail/users/attachments/20140827/7cc511a7/attachment-0001.txt>


More information about the users mailing list