* fatal: Not a git repository
@ 2009-03-02 3:55 Douglas Royds
2009-03-03 0:12 ` Vitus Jensen
2009-03-03 1:28 ` Mike (mwester)
0 siblings, 2 replies; 7+ messages in thread
From: Douglas Royds @ 2009-03-02 3:55 UTC (permalink / raw)
To: openembedded-devel
Anyone else getting this?
NOTE: Handling BitBake files: / (6587/6587) [100 %]
NOTE: Parsing finished. 6302 cached, 0 parsed, 285 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200903021645: started
fatal: Not a git repository <----------------------
OE Build Configuration:
BB_VERSION = "1.8.12"
...
The same complaint seems to crop up at various points during a build, as
well.
Suggestions?
Douglas.
=======================================================================
This email, including any attachments, is only for the intended
addressee. It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
=======================================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: fatal: Not a git repository
2009-03-02 3:55 fatal: Not a git repository Douglas Royds
@ 2009-03-03 0:12 ` Vitus Jensen
2009-03-03 2:17 ` Tom Rini
2009-03-03 1:28 ` Mike (mwester)
1 sibling, 1 reply; 7+ messages in thread
From: Vitus Jensen @ 2009-03-03 0:12 UTC (permalink / raw)
To: openembedded-devel
Am Mon, 02 Mar 2009 16:55:54 +1300 schrieb Douglas Royds:
> Anyone else getting this?
>
> NOTE: Handling BitBake files: / (6587/6587) [100 %] NOTE: Parsing
> finished. 6302 cached, 0 parsed, 285 skipped, 0 masked. NOTE: Cache
> is clean, not saving.
> NOTE: build 200903021645: started
> fatal: Not a git repository <----------------------
>
> OE Build Configuration:
> BB_VERSION = "1.8.12"
> ...
Yes, it happens on every build. I guess bitbake is testing the current
directory via git and would include the current head in the build number.
> The same complaint seems to crop up at various points during a build, as
> well.
>
> Suggestions?
Just ignore. Besides called "fatal" it isn't fatal at all.
Bye,
Vitus
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: fatal: Not a git repository
2009-03-02 3:55 fatal: Not a git repository Douglas Royds
2009-03-03 0:12 ` Vitus Jensen
@ 2009-03-03 1:28 ` Mike (mwester)
2009-03-03 8:45 ` Yuri Bushmelev
1 sibling, 1 reply; 7+ messages in thread
From: Mike (mwester) @ 2009-03-03 1:28 UTC (permalink / raw)
To: openembedded-devel
Douglas Royds wrote:
> Anyone else getting this?
>
> NOTE: Handling BitBake files: / (6587/6587) [100 %]
> NOTE: Parsing finished. 6302 cached, 0 parsed, 285 skipped, 0 masked.
> NOTE: Cache is clean, not saving.
> NOTE: build 200903021645: started
> fatal: Not a git repository <----------------------
>
> OE Build Configuration:
> BB_VERSION = "1.8.12"
> ...
>
> The same complaint seems to crop up at various points during a build, as
> well.
Yes, I see that as well. Of course, since I -- at the time -- was
building from a snapshot and not the original git repo, and the build
results seemed quite normal, I gave it no further thought.
> =======================================================================
> This email, including any attachments, is only for the intended
> addressee. It is subject to copyright, is confidential and may be
> the subject of legal or other privilege, none of which is waived or
> lost by reason of this transmission.
> If the receiver is not the intended addressee, please accept our
> apologies, notify us by return, delete all copies and perform no
> other act on the email.
> Unfortunately, we cannot warrant that the email has not been
> altered or corrupted during transmission.
> =======================================================================
I guess I'm not sure that I am the intended addressee. Can you tell me
if you did, in fact, intend to send the original email to me, in the
legal sense of the definition of "intended addressee"?
In any case, please inform your legal department that I do not accept
apologies from lawyers, and that this email constitutes my notification
of that to your lawyers, that I have deleted all copies -- at least
those copies that _I_ possess; the email notice is rather vague as to
whether I am required to track down all copies that might exist in the
world today -- and I also shall perform no other act on the email.
- Mike (mwester)
P.S. Neither can I warrant that my response to this email has not been
altered or corrupted during transmission. And I'll go one better than
your lawyers, and note that you'll never know if my original email was
full of typos -- and that it was actually *corrected* during
transmission. Poor lawyers... that sort of disclaimer rather makes the
entire footnote they added there completely ridiculous and pointless,
doesn't it??!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: fatal: Not a git repository
2009-03-03 0:12 ` Vitus Jensen
@ 2009-03-03 2:17 ` Tom Rini
2009-03-03 5:54 ` Douglas Royds
0 siblings, 1 reply; 7+ messages in thread
From: Tom Rini @ 2009-03-03 2:17 UTC (permalink / raw)
To: openembedded-devel
On Tue, Mar 03, 2009 at 12:12:38AM +0000, Vitus Jensen wrote:
> Am Mon, 02 Mar 2009 16:55:54 +1300 schrieb Douglas Royds:
>
> > Anyone else getting this?
> >
> > NOTE: Handling BitBake files: / (6587/6587) [100 %] NOTE: Parsing
> > finished. 6302 cached, 0 parsed, 285 skipped, 0 masked. NOTE: Cache
> > is clean, not saving.
> > NOTE: build 200903021645: started
> > fatal: Not a git repository <----------------------
> >
> > OE Build Configuration:
> > BB_VERSION = "1.8.12"
> > ...
>
>
> Yes, it happens on every build. I guess bitbake is testing the current
> directory via git and would include the current head in the build number.
>
> > The same complaint seems to crop up at various points during a build, as
> > well.
> >
> > Suggestions?
>
> Just ignore. Besides called "fatal" it isn't fatal at all.
Well, to git it's fatal :) Someone should dig to where the call is and
redirect stderr somewhere, I suspect..
--
Tom Rini
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: fatal: Not a git repository
2009-03-03 2:17 ` Tom Rini
@ 2009-03-03 5:54 ` Douglas Royds
2009-03-03 8:14 ` pHilipp Zabel
0 siblings, 1 reply; 7+ messages in thread
From: Douglas Royds @ 2009-03-03 5:54 UTC (permalink / raw)
To: openembedded-devel
Tom Rini wrote:
> On Tue, Mar 03, 2009 at 12:12:38AM +0000, Vitus Jensen wrote:
>
>> Am Mon, 02 Mar 2009 16:55:54 +1300 schrieb Douglas Royds:
>>
>>> Anyone else getting this?
>>>
>>> NOTE: Handling BitBake files: / (6587/6587) [100 %] NOTE: Parsing
>>> finished. 6302 cached, 0 parsed, 285 skipped, 0 masked. NOTE: Cache
>>> is clean, not saving.
>>> NOTE: build 200903021645: started
>>> fatal: Not a git repository <----------------------
>>>
>>> OE Build Configuration:
>>> BB_VERSION = "1.8.12"
>>> ...
>>>
>> Yes, it happens on every build. I guess bitbake is testing the current
>> directory via git and would include the current head in the build number.
>>
>>
>>> The same complaint seems to crop up at various points during a build, as
>>> well.
>>>
>>> Suggestions?
>>>
>> Just ignore. Besides called "fatal" it isn't fatal at all.
>>
>
> Well, to git it's fatal :) Someone should dig to where the call is and
> redirect stderr somewhere, I suspect..
>
This silences it, though I'm not sure that it's the right solution:
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 18afc1a..21b08a5 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -807,7 +807,7 @@ def base_get_metadata_svn_revision(d):
def base_get_metadata_git_branch(d):
import os
- branch = os.popen('cd %s; git branch | grep "^* " | tr -d "* "'
% base_get_scmbasepath(d)).read()
+ branch = os.popen('cd %s; git branch 2>&1 | grep "^* " | tr -d
"* "' % base_get_scmbasepath(d)).read()
if len(branch) != 0:
return branch
=======================================================================
This email, including any attachments, is only for the intended
addressee. It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
=======================================================================
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: fatal: Not a git repository
2009-03-03 5:54 ` Douglas Royds
@ 2009-03-03 8:14 ` pHilipp Zabel
0 siblings, 0 replies; 7+ messages in thread
From: pHilipp Zabel @ 2009-03-03 8:14 UTC (permalink / raw)
To: openembedded-devel
On Tue, Mar 3, 2009 at 6:54 AM, Douglas Royds <douglas.royds@tait.co.nz> wrote:
> Tom Rini wrote:
>>
>> On Tue, Mar 03, 2009 at 12:12:38AM +0000, Vitus Jensen wrote:
>>
>>>
>>> Am Mon, 02 Mar 2009 16:55:54 +1300 schrieb Douglas Royds:
>>>
>>>>
>>>> Anyone else getting this?
>>>>
>>>> NOTE: Handling BitBake files: / (6587/6587) [100 %] NOTE: Parsing
>>>> finished. 6302 cached, 0 parsed, 285 skipped, 0 masked. NOTE: Cache
>>>> is clean, not saving.
>>>> NOTE: build 200903021645: started
>>>> fatal: Not a git repository <----------------------
>>>>
>>>> OE Build Configuration:
>>>> BB_VERSION = "1.8.12"
>>>> ...
>>>>
>>>
>>> Yes, it happens on every build. I guess bitbake is testing the current
>>> directory via git and would include the current head in the build number.
>>>
>>>
>>>>
>>>> The same complaint seems to crop up at various points during a build, as
>>>> well.
>>>>
>>>> Suggestions?
>>>>
>>>
>>> Just ignore. Besides called "fatal" it isn't fatal at all.
>>>
>>
>> Well, to git it's fatal :) Someone should dig to where the call is and
>> redirect stderr somewhere, I suspect..
>>
>
> This silences it, though I'm not sure that it's the right solution:
>
> diff --git a/classes/base.bbclass b/classes/base.bbclass
> index 18afc1a..21b08a5 100644
> --- a/classes/base.bbclass
> +++ b/classes/base.bbclass
> @@ -807,7 +807,7 @@ def base_get_metadata_svn_revision(d):
>
> def base_get_metadata_git_branch(d):
> import os
> - branch = os.popen('cd %s; git branch | grep "^* " | tr -d "* "' %
> base_get_scmbasepath(d)).read()
> + branch = os.popen('cd %s; git branch 2>&1 | grep "^* " | tr -d "* "'
> % base_get_scmbasepath(d)).read()
>
> if len(branch) != 0:
> return branch
Maybe it should test whether
os.path.join(base_get_scmbasepath(d),'.git') exists before calling out
to git?
regards
Philipp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: fatal: Not a git repository
2009-03-03 1:28 ` Mike (mwester)
@ 2009-03-03 8:45 ` Yuri Bushmelev
0 siblings, 0 replies; 7+ messages in thread
From: Yuri Bushmelev @ 2009-03-03 8:45 UTC (permalink / raw)
To: openembedded-devel
Hello!
> Douglas Royds wrote:
> > Anyone else getting this?
> >
> > NOTE: Handling BitBake files: / (6587/6587) [100 %]
> > NOTE: Parsing finished. 6302 cached, 0 parsed, 285 skipped, 0
> > masked. NOTE: Cache is clean, not saving.
> > NOTE: build 200903021645: started
> > fatal: Not a git repository <----------------------
> >
> > OE Build Configuration:
> > BB_VERSION = "1.8.12"
> > ...
> >
> > The same complaint seems to crop up at various points during a build,
> > as well.
>
> Yes, I see that as well. Of course, since I -- at the time -- was
> building from a snapshot and not the original git repo, and the build
> results seemed quite normal, I gave it no further thought.
I have this too.
I think we should add some parameter to conf-files which allows to point
where is git repository located.
This is useful when publishing build stats to tinderbox.
--
Yuri Bushmelev
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-03-03 8:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-02 3:55 fatal: Not a git repository Douglas Royds
2009-03-03 0:12 ` Vitus Jensen
2009-03-03 2:17 ` Tom Rini
2009-03-03 5:54 ` Douglas Royds
2009-03-03 8:14 ` pHilipp Zabel
2009-03-03 1:28 ` Mike (mwester)
2009-03-03 8:45 ` Yuri Bushmelev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox