On 4 October 2012 21:26, Patrik Ryd <patrik.ryd@linaro.org> wrote:


On 4 October 2012 17:36, Vishal Bhoj <vishal.bhoj@linaro.org> wrote:
Hi,

There is a an experimental feature of groups added in manifest by JBQ to reduce the downloads when we clone . The details are here: https://groups.google.com/forum/#!msg/android-building/Zf1oirfV_v0/1VSGkFickc0J

The current issue is repo manifest -r -o seems to be broken with this new group feature due to which I am not able to build AOSP galaxy nexus master build:

I have seen the groups when doing repo manifest -r -o but never had any problems with the groups except that they made the manifests hard to read. 

What kind of problem does it cause for the nexus builds? 
I see the groups feature in the master branch only. It is not generating pinned-manifest using the group feature. It tries to fetch the revision for the particular project which is not synced based on the group feature. This is the error I get :

repo manifest -r -o out/pinned-manifest.xml
Traceback (most recent call last):
  File "/home/vishalbhoj/android/nexus/.repo/repo/main.py", line 384, in <module>
    _Main(sys.argv[1:])
  File "/home/vishalbhoj/android/nexus/.repo/repo/main.py", line 364, in _Main
    result = repo._Run(argv) or 0
  File "/home/vishalbhoj/android/nexus/.repo/repo/main.py", line 136, in _Run
    result = cmd.Execute(copts, cargs)
  File "/home/vishalbhoj/android/nexus/.repo/repo/subcmds/manifest.py", line 73, in Execute
    self._Output(opt)
  File "/home/vishalbhoj/android/nexus/.repo/repo/subcmds/manifest.py", line 63, in _Output
    peg_rev = opt.peg_rev)
  File "/home/vishalbhoj/android/nexus/.repo/repo/manifest_xml.py", line 204, in Save
    p.work_git.rev_parse(HEAD + '^0'))
  File "/home/vishalbhoj/android/nexus/.repo/repo/project.py", line 1958, in runner
    capture_stderr = True)
  File "/home/vishalbhoj/android/nexus/.repo/repo/git_command.py", line 221, in __init__
    raise GitError('%s: %s' % (command[1], e))
error.GitError: rev-parse: [Errno 2] No such file or directory: '/home/vishalbhoj/android/nexus/prebuilts/eclipse-build-deps'
 
 

Fow now I will work out of android build from the branch android-4.1.1_r6 .

On the other note, this feature should allow us to download kernel and u-boot selectively depending on the target which can allow us to get to a single manifest . I guess we should put invest some time in it.

+1

Maybe we should move some Linaro additions to a separate group. Some of them are not really necessary to build. I ignore some of them when I pull code into ST-Ericsson to avoid some administrative work. :)
 


Regards,
Vishal

_______________________________________________
linaro-android mailing list
linaro-android@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-android