Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: vinnie on September 28, 2012, 06:44:48 PM

Title: Git do not work
Post by: vinnie on September 28, 2012, 06:44:48 PM
Try this command:
git clone https://android.googlesource.com/platform/prebuilt

This return to me a message but does not download anything:
Code: [Select]
tc@box:~/android$ git clone https://android.googlesource.com/platform/prebuilt
Cloning into prebuilt...
tc@box:~/android$ ls
tc@box:~/android$
Title: Re: Git do not work
Post by: bmarkus on September 29, 2012, 02:13:07 AM
Tried on my CentOS6 box:

Quote
[mb@zero ~]$ git clone https://android.googlesources.com/platform/prebuilt
Initialized empty Git repository in /home/mb/prebuilt/.git/
error: Failed connect to android.googlesources.com:443; Operation now in progress while accessing https://android.googlesources.com/platform/prebuilt/info/refs

fatal: HTTP request failed
[mb@zero ~]$
Title: Re: Git do not work
Post by: vinnie on September 30, 2012, 09:33:08 AM
on debian work fine:
http://oi47.tinypic.com/2jfxir9.jpg
Title: Re: Git do not work
Post by: bmarkus on September 30, 2012, 09:35:47 AM
Now it works on CentOS too. There was a problem with the site that time we tried. Worth to try TC again.
Title: Re: Git do not work
Post by: vinnie on September 30, 2012, 11:16:56 AM
no, this does not work at all on tiny core  :-[
I used debian to download for now, I hope this can be fixed
Title: Re: Git do not work
Post by: bmarkus on September 30, 2012, 11:30:05 AM
Right, get same on my TC.
Title: Re: Git do not work
Post by: Juanito on September 30, 2012, 12:54:04 PM
Is this perhaps something to do with the version of libssl?
Title: Re: Git do not work
Post by: vinnie on September 30, 2012, 02:22:59 PM
I do not know, you want me to do a test?
Title: Re: Git do not work
Post by: bmarkus on September 30, 2012, 02:34:42 PM
It is a 1 year old extension, maybe worth to update.
Title: Re: Git do not work
Post by: solorin on October 01, 2012, 02:31:36 AM
this bug has persisted through several updates. i posted about it here:
http://forum.tinycorelinux.net/index.php/topic,11520.msg60958.html#msg60958

as you can see in thread svolli was kind enough to repackage it,
i also tried repackaging from a later version of the source

neither of which solved the problem, so i just resigned myself to cloning over the git protocol as curaga suggested.

it would be nice to see this resolved, so if anyone's for looking into this more,
i'll help in anyway i can.

cheerio,
solorin

p.s. my memory is quite hazy - but maybe git.scm did finally work after loading all the extra 'dependencies'
       mods - maybe this thread belongs under TCE Bugs?
Title: Re: Git do not work
Post by: Jason W on October 01, 2012, 10:37:58 AM
Git.scm works with this if you either have a certificate or use the below command:

env GIT_SSL_NO_VERIFY=true /apps/bin/git clone https://android.googlesource.com/platform/prebuilt
Title: Re: Git do not work
Post by: SvOlli on October 01, 2012, 03:51:06 PM
this bug has persisted through several updates. i posted about it here:
http://forum.tinycorelinux.net/index.php/topic,11520.msg60958.html#msg60958
[...]
neither of which solved the problem, so i just resigned myself to cloning over the git protocol as curaga suggested.
From what I can tell now, that bug didn't persist, but it reappeared. A quick look during dinner suggested that the problem is re-introduced due to the change of openssl (0.9.8 -> 1.0.0). The https-helper didn't get loaded because libcrypto.so.0.9.8 is missing. Again, it would be wise to update to the current version and re-package git.

The main problem is that I didn't want to include all the dependencies necessary for ssl (curl and openssl), since most of git works without them. A good idea would be a meta-package git-https.tcz which just includes all the dependencies.

If someone sends me a pm that no-one else has fixed this problem, I'll try to update that extension. If someone needs it done quicker (s)he can download my buildscripts and give it a shot. More info about the scripts is at http://forum.tinycorelinux.net/index.php/topic,2056.msg10947.html#msg10947

Hope, this helps,
SvOlli