config.sh nexus-s fail to run sync

NEW
Unassigned

Status

Firefox OS
General
3 years ago
3 years ago

People

(Reporter: fleblanc50, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release)
Build ID: 20131206145143

Steps to reproduce:

After git clone git://github.com/mozilla-b2g/B2G.git
cd B2G
./config.sh nexus-s


Actual results:

Fetching (...)
(...)
Syncing work tree:  35% (28/79)  error: revision refs/tags/android-4.0.4_r1.2 in platform/external/icu4c not found
Repo sync failed



Expected results:

Expected repo sync

Comment 1

3 years ago
Same here:
Syncing work tree:  35% (28/79)  error: revision refs/tags/android-4.0.4_r1.2 in platform/external/icu4c not found
Repo sync failed
(Reporter)

Comment 2

3 years ago
I have a workaround, 
I change .repo/manifest.xml 
<default revision="refs/tags/android-4.0.4_r1.2" remote="caf" sync-j="4"/>
by
<default revision="refs/tags/android-4.0.4_r1.2" remote="aosp" sync-j="4"/>

I made repo sync, and after again ./config.sh nexus-s
(Reporter)

Comment 3

3 years ago
(In reply to Axel Nennker from comment #1)
> Same here:
> Syncing work tree:  35% (28/79)  error: revision
> refs/tags/android-4.0.4_r1.2 in platform/external/icu4c not found
> Repo sync failed

Ok thank you, this confirm the problem.

Comment 4

3 years ago
(In reply to fleblanc50 from comment #2)
> I have a workaround, 
> I change .repo/manifest.xml 
> <default revision="refs/tags/android-4.0.4_r1.2" remote="caf" sync-j="4"/>
> by
> <default revision="refs/tags/android-4.0.4_r1.2" remote="aosp" sync-j="4"/>
> 
> I made repo sync, and after again ./config.sh nexus-s

hey thank you. it really works

Comment 5

3 years ago
Fetching projects: 100% (79/79), done.  
Syncing work tree:  35% (28/79)  error: manifest required for this command -- please run init

Comment 6

3 years ago
Syncing work tree:  33% (29/86)  error: manifest required for this command -- please run init if i remove the .repo/manifest.xml..

Comment 7

3 years ago
Hello,

I have a similar problem:

  Syncing work tree:  35% (28/79)  error: revision refs/tags/android-4.0.4_r1.2 in platform/external/icu4c not found
  Repo sync failed

Then, if I run a "./repo sync" I get the same error.

When I apply the workaround, I get the following error:

  Fetching projects: 100% (79/79), done.  
  Syncing work tree:  35% (28/79)  error: manifest required for this command -- please run init

I don't understand this error message: Which command? What manifest? Running "./repo init" doesn't help.

If I restore the old manifest.xml I still get the "manifest required" error message. In order to get to the previous state, I need to remove the following files from ./.repo/projects/external/icu4c.git/:

  objects/pack/pack-e81a5da28c7df29ef3d929cf84249d405e1d82b1.*
  refs/remotes/aosp/
  refs/tags/android-*

This issue is blocking for me, I have already downloaded the 6.5G of data five times, I installed gcc-4.6 and g++-4.6, I triple-checked the prerequisites (still, I could have triple-mistaken)...

Device:
  Nexus S (I9023XXKI1)
  Android 4.1.2

Linux
  uname -a
  Linux server 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux

  cat /proc/meminfo | grep MemTotal
  MemTotal:        7632344 kB

If you need more information I'm at your disposal.

Regards,

Mathieu.

Comment 8

3 years ago
I could bypass this issue like this:

1. clean everything (remove B2G and "git clone git://github.com/mozilla-b2g/B2G.git" again)
2. run "./config.sh nexus-s" and [ctrl-c] when it asks for "Your Name"
3. "cp .repo/repo/repo repo" as advised by the script, I don't know if it had any incidence
4. apply the workaround from fleblanc50@gmail.com, defaulting to "aosp" in .repo/manifest.xml
5. run "./repo sync" (it synchronized ok, what a relief!)
6. run "./config.sh nexus-s", and when it asks for "Your Name", apply the workaround again (I don't know if it has any incidence)
7. continue as normally

Note: I have CC and CXX defined as described in "https://developer.mozilla.org/en-US/Firefox_OS/Customization_with_the_.userconfig_file#Changing_the_default_host_compiler". I don't think it has anything to do with this issue, but since I could not understand the error message, I prefer to record as much details as possible.

Comment 9

3 years ago
It was definitely a bad idea to set CC and CXX on my environment, the build failed until I unset these variables.

Comment 10

3 years ago
I can reproduce this issue with the nexus-s.
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 11

3 years ago
I had the same error, then changed the manifest file to point at a different repository for icu4c:

    <project path="external/icu4c" name="platform/external/icu4c" remote="aosp" revision="master" />

This lead to the following error:

    error: manifest required for this command -- please run init

Which I fixed by cleaning-up the failed clone:

    $ rm -rf external/icu4c

Then `.repo sync` succeeded.
You need to log in before you can comment on or make changes to this bug.