-- Tor
Sorry, I should have posted here. After running repo sync -f a few more times, it finally finished. Although I'm not sure it actually got anything, I still saw a lot of 403 errors while it was running. I'll try again today to see if I get better results.
I'm still getting errors in Eclipse when trying to import the projects, which leads me to believe that maybe the whole source didnt sync properly. (I ran through the steps on the tools website).
Your right, here's the output from repo sync:
repo sync
Fetching projects: 76% (188/247) error: Couldn't resolve host 'android.googlesource.com' while accessing https://android.googlesource.com/platform/packages/apps/Gallery/info/refs
fatal: HTTP request failed
error: Couldn't resolve host 'android.googlesource.com' while accessing https://android.googlesource.com/platform/packages/apps/Exchange/info/refs
fatal: HTTP request failed
error: Couldn't resolve host 'android.googlesource.com' while accessing https://android.googlesource.com/platform/packages/apps/Gallery/info/refs
fatal: HTTP request failed
error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/packages/apps/Exchange/info/refs
fatal: HTTP request failed
error: Failed connect to android.googlesource.com:443; Connection timed out while accessing https://android.googlesource.com/platform/packages/apps/Gallery2/info/refs
fatal: HTTP request failed
error: Cannot fetch platform/packages/apps/Gallery
Fetching projects: 77% (191/247) error: Cannot fetch platform/packages/apps/Exchange
Fetching projects: 78% (193/247)error: Exited sync due to fetch errorsIf I use repo sync -f, it ends fine, but still throws those HTTP errors. I don't think those are needed for importing the ADT sources, but I could be wrong.
On Mon, Apr 2, 2012 at 9:08 PM, Raphaël Moll wrote:
Raphael,
Where is the Makefile? The one at the top level only has 3 lines in it. That seems to be the problem, as I'm in 32 bit. I suppose I should just reinstall 64bit Ubuntu rather than dealing with this every time a new version is put out. Thanks for the help.
Yes I did. And no, the errors didn't go away. In fact, there are a lot more now.
Here's what I get when running create symlinks:
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.0.4.0.4.0.4
TARGET_PRODUCT=sdk
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.0.0-12-generic-i686-athlon-with-Ubuntu-11.10-oneiric
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
host StaticLib: libhost (out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
ERROR: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/bin/x86_64-linux-ar only run on 64-bit linux
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a] Error 1
I couldn't find where the makefile for this is. I'm still going to install 64bit so I don't have to deal with things like this in the future, as it seems you're rightly pushing everything towards 64bit. If you want me to try a couple things before I do this, let me know.
Your right, here's the output from repo sync:
repo sync
Fetching projects: 76% (188/247) error: Couldn't resolve host 'android.googlesource.com' while accessing https://android.googlesource.com/platform/packages/apps/Gallery/info/refs
fatal: HTTP request failed
error: Couldn't resolve host 'android.googlesource.com' while accessing https://android.googlesource.com/platform/packages/apps/Exchange/info/refs
fatal: HTTP request failed
error: Couldn't resolve host 'android.googlesource.com' while accessing https://android.googlesource.com/platform/packages/apps/Gallery/info/refs
fatal: HTTP request failed
error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/packages/apps/Exchange/info/refs
fatal: HTTP request failed
error: Failed connect to android.googlesource.com:443; Connection timed out while accessing https://android.googlesource.com/platform/packages/apps/Gallery2/info/refs
fatal: HTTP request failed
error: Cannot fetch platform/packages/apps/Gallery
Fetching projects: 77% (191/247) error: Cannot fetch platform/packages/apps/Exchange
Fetching projects: 78% (193/247)error: Exited sync due to fetch errors
Are you possibly running out of memory? "Killed" makes me think you're getting hit by the Linux OOM killer. Try checking dmesg or running `grep -i 'killed process' /var/log/kern.log`.
Michael