problem in moko makefile setup

saurabh gupta saurabhgupta1403 at gmail.com
Mon May 26 12:44:52 CEST 2008


Hello sir,
As i was working under a firewall so i changed the "git://" part by "http://"
in the modified Makefile sent by you. But still the same following problem
is occuring. The error message is:

*********************************
student at student-desktop:~/moko2$ make setup
( [ -e stamps/bitbake ] && \
          [ -e bitbake/.git ] ) || \
        ( git clone -n http://git.openmoko.org/git/bitbake.git bitbake )
Initialized empty Git repository in /home/student/moko2/bitbake/.git/
cat: /home/student/moko2/bitbake/.git/refs/remotes/origin/bitbake-om: No
such file or directory
cd: 465: can't cd to /home/student/moko2/bitbake/.git/refs/remotes/origin
fatal: : not a valid SHA1
( cd bitbake && \
          ( git branch | egrep -e ' bitbake-om$' > /dev/null || \
            git checkout -b bitbake-om --track bitbake-om ))
git checkout: updating paths is incompatible with switching branches/forcing
Did you intend to checkout 'bitbake-om' which can not be resolved as commit?
make: *** [setup-bitbake] Error 1
student at student-desktop:~/moko2$
**************************************
Am i missing something or is there any problem in changing the "git://" by
"http://".
I will be highly glad to hear any help.


On Mon, May 26, 2008 at 3:24 PM, David Samblas Martinez <dsamblas at yahoo.es>
wrote:

> Hi saurabh,
> Mi first reply to your post was intentended to be posted on the dev-list
> not direct  to you  so I post this in list.
>
> I have not found the Makefile of the mokomakefile in the new git repo, but
> I attached mine modified Makefile that solves(for me) the origin/bitbake
> update issue.
>
> I only erase "origin/" from the begining of the {$BB_GIT_BRANCH} in all his
> appearence
>
> Any comment from a more skilled dev will be apreciated.
>
> Regards
>
> --- El *lun, 26/5/08, saurabh gupta <saurabhgupta1403 at gmail.com>*escribió:
>
> De: saurabh gupta <saurabhgupta1403 at gmail.com>
> Asunto: Re: problem in moko makefile setup
> Para: dsamblas at yahoo.es
> Fecha: lunes, 26 mayo, 2008 10:00
>
>
> Thank you sir,
>
> I tried to change the makefile but the problem is still there and same. Can
> you please mail me the new makefile which is updated to the current
> repository system at git://git.openmoko.org/git/.
>
> Thanks very much...
>
> On Sat, May 24, 2008 at 7:40 PM, David Samblas Martinez <dsamblas at yahoo.es>
> wrote:
>
>>
>> Same problem here, I have modified the Makefile removing the "origin/"
>> from the Bitbake variable, be aware to not remove "origin/" from the
>> openembedded variable.
>> Regards
>> --- El *sáb, 24/5/08, saurabh gupta <saurabhgupta1403 at gmail.com>*escribió:
>>
>> De: saurabh gupta <saurabhgupta1403 at gmail.com>
>> Asunto: problem in moko makefile setup
>> Para: "openmoko-devel" <openmoko-devel at lists.openmoko.org>
>> Fecha: sábado, 24 mayo, 2008 10:49
>>
>>
>> Hello everyone,
>>
>> I tried to use the moko makefile but there seems some problem. I edited
>> the makefile by replacing the "git://" by "http://" so that installation
>> can go on despite of firewall and other things. But while using the command
>> "make setup" I got the following error
>>
>> ------------------
>> student at student-desktop:~/moko$ make setup
>> ( [ -e stamps/bitbake ] && \
>>           [ -e bitbake/.git ] ) || \
>>         ( git clone -n http://git.openmoko.org/git/bitbake.git bitbake )
>> Initialized empty Git repository in /home/student/moko/bitbake/.git/
>> cat: /home/student/moko/bitbake/.git/refs/remotes/origin/bitbake-om: No
>> such file or directory
>> cd: 465: can't cd to /home/student/moko/bitbake/.git/refs/remotes/origin
>> fatal: : not a valid SHA1
>> ( cd bitbake && \
>>           ( git branch | egrep -e ' bitbake-om$' > /dev/null || \
>>             git checkout -b bitbake-om --track origin/bitbake-om ))
>> git checkout: updating paths is incompatible with switching
>> branches/forcing
>> Did you intend to checkout 'origin/bitbake-om' which can not be resolved
>> as commit?
>> make: *** [setup-bitbake] Error 1
>> --------------------------
>>
>> It seems that there is no origin directory in the
>> /home/student/moko/bitbake/.git/refs/remotes/ . I checked the repository
>> structure on http://git.openmoko.org/git, but there is no origin file or
>> directory in the http://git.openmoko.org/git/bitbake.git/refs/remotes/.
>> So I think that there is something missing.  Can anyone help me out in this
>> regard.
>>
>> thanks..
>>
>> Regards...
>>
>> --
>> Saurabh Gupta
>> Electronics and Communication Engg.
>> NSIT,New Delhi
>>
>>
>> ------------------------------
>>
>> Enviado desde Correo Yahoo!<http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52431/*http://es.docs.yahoo.com/mail/overview/index.html>
>> La bandeja de entrada más inteligente.
>>
>
>
>
> --
> Saurabh Gupta
> Electronics and Communication Engg.
> NSIT,New Delhi
>
> "Chance favors the prepared mind........"
>
>
> ------------------------------
>
> Enviado desde Correo Yahoo!<http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52431/*http://es.docs.yahoo.com/mail/overview/index.html>
> La bandeja de entrada más inteligente.
>



-- 
Saurabh Gupta
Electronics and Communication Engg.
NSIT,New Delhi

"Chance favors the prepared mind........"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/openmoko-devel/attachments/20080526/bcc6e72f/attachment.html


More information about the openmoko-devel mailing list