On Wed, Apr 21, 2010 at 11:30 PM, Thomas Zimmermann <[email protected]> wrote:
> Am Donnerstag 22 April 2010 07:53:04 schrieb SAL-e:
>> Hi Everybody,
>>
>> I tried to setup local SHR buildhost on my Ubuntu 10.04 box. I was
>> following the instructions from the SHR wiki page:
>> http://shr-project.org/trac/wiki/Building%20SHR
>>
>> But the 'make setup' step keep failing on me. Here are the steps I did so
>>  far:
>>
>> 1. Install all needed tools.
>> 2. Downloaded the 'Makefile'
>> 3. Run 'make setup'. It fails with error:
>>
>> setting up bitbake ...
>> Initialized empty Git repository in /home/sal-e/shr-test/bitbake/.git/
>> fatal: The remote end hung up unexpectedly
>> cd: 7: can't cd to bitbake
>> fatal: Not a git repository (or any of the parent directories): .git
>> fatal: Not a git repository (or any of the parent directories): .git
>> make: *** [setup-bitbake] Error 128
>> make: Leaving directory `/home/sal-e/shr-test'
>>
>> 4. Delete everything in my 'shr-test' directory and repeated steps 2
>> and 3. This time it fails with error:
>>
>> make[1]: Entering directory `/home/sal-e/shr-test'
>> preparing shr-unstable tree
>> Initialized empty Git repository in
>> /home/sal-e/shr-test/shr-unstable/openembedded/.git/
>> fatal: The remote end hung up unexpectedly
>> cd: 4: can't cd to openembedded
>> fatal: Not a git repository (or any of the parent directories): .git
>> make[1]: *** [shr-unstable/.configured] Error 128
>> make[1]: Leaving directory `/home/sal-e/shr-test'
>> make: *** [setup-shr-unstable] Error 2
>> make: Leaving directory `/home/sal-e/shr-test'
>>
>> 5. Delete everything in my 'shr-test' directory and repeate steps 2
>> and 3. And it fails again, but repeating again error described in #3.
>> 6. I keep spinning in this loop.
>>
>> What I am doing wrong? Both errors are suggesting problem on remote
>> server, but I am not sure that I understand the error message
>> correctly and I have no idea what is wrong.
>>
>> Thank you,
>> SAL-e
>
> Just rerun make setup without deleting everything.
>
> The git servers sometimes are a bit slow and not so reliable.
> _______________________________________________

Thanks Thomas.

I see. After rerunning the 'make setup' 3 times It was able to finish.
Why the git servers are slow or not reliable? What should be done in
order to fix it? And if we can't fix them now is it going to be good
idea re-try the git commands after user confirmation in case of
failure?

Now I am suck on 'make image'. The error is:
. ./setup-env; exec bitbake "shr-lite-image"
FATAL:  Openembedded's config sanity checker detected a potential
misconfiguration.
        Either fix the cause of this error or at your own risk disable the
checker (see sanity.conf).
        Following is the list of potential problems / advisories:

        Please install following missing utilities: makeinfo
Using dash as /bin/sh causes various subtle build problems, please use
bash instead.

make: *** [image] Error 1

Looks like I have two problems.
1. dash is used instead of bash. I believe I know how to fix this.
2. I am missing 'makeinfo'. Ubuntu is suggesting to install 'texinfo'
package. I'm going to do it, but my question should we update the
SHR's wiki page to include 'texinfo' as dependency?

Thank you,
SAL-e
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to