error when doing git shallow clone of log4cpp

Hi,

I am currently trying to build Orocos toolchain in buildroot
The shallow clone does not work with log4cpp:

# git clone --depth 1 -b v2.7.0-rc1
http://git.gitorious.org/orocos-toolchain/log4cpp.git
Initialized empty Git repository in /home/tbultel/tmp/log4cpp/.git/
error: RPC failed; result=22, HTTP code = 500

Any ideas about it ?
Regards
Thierry

Ruben Smits's picture

error when doing git shallow clone of log4cpp

Hi Thierry,

On Wed, Feb 5, 2014 at 5:38 PM, Thierry Bultel
<thierry [dot] bultel [..] ...> wrote:
> Hi,
>
> I am currently trying to build Orocos toolchain in buildroot
> The shallow clone does not work with log4cpp:
>
> # git clone --depth 1 -b v2.7.0-rc1
> http://git.gitorious.org/orocos-toolchain/log4cpp.git
> Initialized empty Git repository in /home/tbultel/tmp/log4cpp/.git/
> error: RPC failed; result=22, HTTP code = 500
>
> Any ideas about it ?

The depth option is apparently not supported by the http protocol. I
tried with the git protocol and that did work:

$ git clone --depth 1 -b toolchain-2.7
git://git.gitorious.org/orocos-toolchain/log4cpp.git
Cloning into 'log4cpp'...
remote: Counting objects: 444, done.
remote: Compressing objects: 100% (273/273), done.
remote: Total 444 (delta 181), reused 405 (delta 157)
Receiving objects: 100% (444/444), 538.32 KiB | 591 KiB/s, done.
Resolving deltas: 100% (181/181), done

Ruben

> Regards
> Thierry
>
> --
> Orocos-Dev mailing list
> Orocos-Dev [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>

error when doing git shallow clone of log4cpp

On Feb 5, 2014, at 11:38 , Thierry Bultel <thierry [dot] bultel [..] ...> wrote:

> Hi,
>
> I am currently trying to build Orocos toolchain in buildroot
> The shallow clone does not work with log4cpp:
>
> # git clone --depth 1 -b v2.7.0-rc1 http://git.gitorious.org/orocos-toolchain/log4cpp.git
> Initialized empty Git repository in /home/tbultel/tmp/log4cpp/.git/
> error: RPC failed; result=22, HTTP code = 500
>
> Any ideas about it ?

No idea. I've never used the depth option. But rtt, ocl, and utilrb, all do the same, including with master as the branch.
S