RE: SE Android (Was: Re: Welcome to selinux)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I've seen similar problems in the past, it was usually (always?) caused because a git pull or git clone had been interrupted at the wrong place.  My normal workaround is to remove the corrupted project.  In this case, I think that may be "rm -rf .repo/projects/dalvik.git dalvik"


________________________________________
From: owner-selinux@xxxxxxxxxxxxx [owner-selinux@xxxxxxxxxxxxx] on behalf of Stephen Smalley [sds@xxxxxxxxxxxxx]
Sent: Tuesday, August 14, 2012 7:33 AM
To: Alexandra Test
Cc: William Roberts; selinux@xxxxxxxxxxxxx
Subject: Re: SE Android (Was: Re: Welcome to selinux)

On Tue, 2012-08-14 at 12:42 +0200, Alexandra Test wrote:
> When I try to check out the aosp, it fails with this error
>  File "/home/ubuntu-user/Selinux/.repo/repo/main.py", line 385, in
> <module>
>     _Main(sys.argv[1:])
>   File "/home/ubuntu-user/Selinux/.repo/repo/main.py", line 365, in
> _Main
>     result = repo._Run(argv) or 0
>   File "/home/ubuntu-user/Selinux/.repo/repo/main.py", line 137, in
> _Run
>     result = cmd.Execute(copts, cargs)
>   File "/home/ubuntu-user/Selinux/.repo/repo/subcmds/sync.py", line
> 469, in Execute
>     project.Sync_LocalHalf(syncbuf)
>   File "/home/ubuntu-user/Selinux/.repo/repo/project.py", line 1049,
> in Sync_LocalHalf
>     lost = self._revlist(not_rev(revid), HEAD)
>   File "/home/ubuntu-user/Selinux/.repo/repo/project.py", line 1791,
> in _revlist
>     return self.work_git.rev_list(*a, **kw)
>   File "/home/ubuntu-user/Selinux/.repo/repo/project.py", line 1936,
> in rev_list
>     p.stderr))
> error.GitError: dalvik rev-list
> ('^938208a28b56f360c6cb0fb3a5e57d6121924a93', 'HEAD', '--'): fatal:
> bad object HEAD
>
> Any idea?

No, never seen that one.  Try creating a fresh client in an empty
directory (without any .repo subdirectory) from AOSP.  Might want to
also make sure you are using an up-to-date version of repo.

--
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux