pafra88 / rowboat

Automatically exported from code.google.com/p/rowboat
0 stars 0 forks source link

download failed when fetching ti_android_sgx_sdk #55

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow the instruction on wiki to download the rowboat source code
2. $ repo init -u git://gitorious.org/rowboat/manifest.git -m rowboat-eclair.xml
3. $ repo sync

What is the expected output? What do you see instead?

It should completely download the source code 
to my local directory. However it fails at getting 
ti_android_sgx_sdk. Here is what is shows:

Fetching projects:  48% (81/168)  
Initializing project ti_android_sgx_sdk ...
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (16/16), done.
fatal: The remote end hung up unexpectedly
fatal: protocol error: bad pack header
error: Cannot fetch ti_android_sgx_sdk

I also tried to get ti_android_sgx_sdk as follow:

$ git clone git://gitorious.org/rowboat/ti_android_sgx_sdk.git

It also failed.

What version of the product are you using? On what operating system?

rowboat-eclair on Linux.

Please provide any additional information bellow.

Original issue reported on code.google.com by junzha...@hotmail.com on 28 Oct 2010 at 12:00

GoogleCodeExporter commented 9 years ago
Confirming the issue with rowboat-eclair on MacOSX 10.6.4

MacPro:rowboat-eclair qdot$ git clone 
git://gitorious.org/rowboat/ti_android_sgx_sdk.git
Cloning into ti_android_sgx_sdk...
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (16/16), done.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

Original comment by qdot...@gmail.com on 31 Oct 2010 at 9:50

GoogleCodeExporter commented 9 years ago
same problem here.
platform ubuntu 9.10 (vmware)

root@ubuntu:~/bin/rowboat-android-eclair# ../repo sync
Fetching projects:  48% (81/168)  remote: Counting objects: 16, done.
remote: Compressing objects: 100% (16/16), done.
fatal: The remote end hung up unexpectedly
fatal: protocol error: bad pack header
error: Cannot fetch ti_android_sgx_sdk

Original comment by benjichw...@gmail.com on 31 Oct 2010 at 10:37

GoogleCodeExporter commented 9 years ago
Issue on ubuntu 9.x and 10.x :

git clone git://gitorious.org/rowboat/ti_android_sgx_sdk.git    :

Initialized empty Git repository in /home/userxx/ti_android_sgx_sdk/.git/
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (16/16), done.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

and also  doing  git clone 
http://git.gitorious.org/rowboat/ti_android_sgx_sdk.git      :

Initialized empty Git repository in /home/userxx/ti_android_sgx_sdk/.git/
got 44333071a374823af8ade0ee86a24f618bffc5a0
walk 44333071a374823af8ade0ee86a24f618bffc5a0
got 147952a0a47de3f10a6c924660355882378f996c
got 1026621582671ca774ec28518db9a4982bb413a5
got 8dfde1126e5504eadc9cecd8ea140d4c7fa82f55
walk 1026621582671ca774ec28518db9a4982bb413a5
got 6cfcabe57d74c5cde1866a414fc4eeabc15c3322
got b57996e652cc05fefc946d2b32bad0f39a6cf2e5
got 03a02e8f7b656f6aa9c069ffa3e59e1c59ed645a
got ea50c4d31a704571542bb88324ccaf5d292bf2ec
got f6fe084a99220b96102fb8c288fdec910e6e473e
got 63449e9cfa53e07ce49d8dd35b1824d40080cd5c
error: transfer closed with 221481913 bytes remaining to read (curl_result = 
18, http_code = 200, sha1 = 63449e9cfa53e07ce49d8dd35b1824d40080cd5c)
Getting pack list for http://git.gitorious.org/rowboat/ti_android_sgx_sdk.git
error: Failed connect to git.gitorious.org:80; Operation now in progress
Getting alternates list for 
http://git.gitorious.org/rowboat/ti_android_sgx_sdk.git
error: Unable to find 1729876c8fe5917f843621dedc328b400256f138 under 
http://git.gitorious.org/rowboat/ti_android_sgx_sdk.git
Cannot obtain needed blob 1729876c8fe5917f843621dedc328b400256f138
while processing commit 1026621582671ca774ec28518db9a4982bb413a5.
fatal: Fetch failed.

Original comment by A.Aubl...@gmail.com on 2 Nov 2010 at 4:11

GoogleCodeExporter commented 9 years ago
Confirmed for Ubuntu 10.x, rowboat-eclair.xml and rowboat-froyo.xml

Original comment by lib...@gmail.com on 4 Nov 2010 at 1:25

GoogleCodeExporter commented 9 years ago
Encountered exactly the same issue. It may occurs in low memory condition. My 
environment is Fedora 14 on VMware Player version 3.1.2 build-301548 with 1G 
RAM.
Fixed it by increasing memory to 2G RAM and do not do any other task during 
syncing. The issue goes away.

Original comment by batuoc...@gmail.com on 4 Nov 2010 at 2:53

GoogleCodeExporter commented 9 years ago
I don't think it is a problem related to memory (I have 4G of ram). It seems 
that gitorious.org has some load/bandwith problem. 

Original comment by A.Aubl...@gmail.com on 4 Nov 2010 at 3:10

GoogleCodeExporter commented 9 years ago
Can't be a bandwith problem since using "git clone" does work.

Original comment by hedwin.k...@gmail.com on 4 Nov 2010 at 6:27

GoogleCodeExporter commented 9 years ago
I tryed a git clone at different period of the day and sometimes it fails. But 
since other parts can be downloaded it's true that it seems no to come from 
bandwith.

Original comment by A.Aubl...@gmail.com on 4 Nov 2010 at 6:35

GoogleCodeExporter commented 9 years ago
You are may right Aublanc. It now can be proceed to sync at another time.

It's was mixed with another issue that I've encountered before; low memory 
condition once compiling leading terminated compilation. Not related to syncing 
as I mentioned above.

Original comment by batuoc...@gmail.com on 4 Nov 2010 at 10:36

GoogleCodeExporter commented 9 years ago
I'll try fix it after weekends. Currently just remove line with 
ti_android_sgx_sdk from .repo/manifest.xml before repo sync. And do "make ... 
droid" instead of usual "make ..." 

Original comment by yegor.ye...@gmail.com on 6 Nov 2010 at 12:34

GoogleCodeExporter commented 9 years ago
Thank you for your information. It's able to clone the ti_android_sgx_sdk after 
twice times.

In the case of cloning ti_android_sgx_sdk successfully. There is another issue 
when compiling, please see the message below
------------------------------------------------
$ make TARGET_PRODUCT=beagleboard OMAPES=5.x

...

  Kernel: arch/arm/boot/Image is ready
  Kernel: arch/arm/boot/zImage is ready
  UIMAGE  arch/arm/boot/uImage
Image Name:   Linux-2.6.32
Created:      Sat Nov  6 21:49:09 2010
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    2452520 Bytes = 2395.04 kB = 2.34 MB
Load Address: 80008000
Entry Point:  80008000
  Image arch/arm/boot/uImage is ready
make[1]: Leaving directory 
`/home/hakun/working/rowboat/froyo_build/froyo/kernel'
make -C external/ti_android_sgx_sdk ANDROID_ROOT_DIR=`pwd` 
TOOLS_PREFIX=prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
make[1]: Entering directory 
`/home/hakun/working/rowboat/froyo_build/froyo/external/ti_android_sgx_sdk'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make 
rule.
Installing OMAP35x Android Graphics SDK...
make[1]: *** [prepare] Error 126
make[1]: Leaving directory 
`/home/hakun/working/rowboat/froyo_build/froyo/external/ti_android_sgx_sdk'
make: *** [sgx] Error 2
make: Leaving directory `/home/hakun/working/rowboat/froyo_build/froyo'
-------------------------------------------------

Hereunder is ti_android_sgx_sdk folder of this build
-------------------------------------------------
$ ls -l froyo/external/ti_android_sgx_sdk/
install_SDK.exp
internal_install_SDK.exp
Makefile
md5_SDK.txt
OMAP35x_Android_Graphics_SDK_setuplinux_3_01_00_03.bin
sdk.patch
-------------------------------------------------
It seems no lacking any file but still failed.

As your information, it's possible to build the filesystem without building the 
sgx driver by adding 'droid'
I also would like to how to build the filesystem only without building the 
kernel.

Thanks you.

Original comment by batuoc...@gmail.com on 6 Nov 2010 at 1:00

GoogleCodeExporter commented 9 years ago
Oh, by adding 'droid'. It does not build the kernel also.

But in the case of including build sgx, please help me to fix it. Thanks.

Original comment by batuoc...@gmail.com on 6 Nov 2010 at 1:03

GoogleCodeExporter commented 9 years ago
The problem with internal_install_SDK.exp can be solved by installing "expect" 
tool - sudo apt-get install expect

Original comment by vovan...@gmail.com on 5 Dec 2010 at 8:40

GoogleCodeExporter commented 9 years ago
I was able to bypass this issue by modifying the manifest to remove the 
ti_android_sgx_sdk entry and git´ing it separately.

1) repo init -u git://gitorious.org/rowboat/manifest.git -m 
rowboat-froyo-dsp.xml
2) edit .repo/manifest.xml and remove the ti_android_sgx_sdk entry (line 112).
3) repo sync 
4) cd external
5) git clone git://gitorious.org/rowboat/ti_android_sgx_sdk.git

Original comment by sturnfie on 16 Dec 2010 at 7:46

GoogleCodeExporter commented 9 years ago
I have been able to get around this by deleting the ti_android_sgx_sdk.git 
folder in .repo/external and then redoing repo sync.

Original comment by jquesne...@gmail.com on 5 Jan 2011 at 7:14