All of lore.kernel.org
 help / color / mirror / Atom feed
* gitver problems
@ 2010-05-31 21:12 Cliff Brake
  2010-05-31 21:54 ` Cliff Brake
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Cliff Brake @ 2010-05-31 21:12 UTC (permalink / raw)
  To: openembedded-devel

Hello,

I'm trying to put together some examples of using srctree/gitver, and
running into a few issues.

My example is in a bitbake overlay:

git://git.bec-systems.com/openembedded.custom
http://cgit.bec-systems.com/cgit.cgi/openembedded.custom/

This overlay includes a submodule for:

git://git.bec-systems.com/openembedded.custom
http://cgit.bec-systems.com/cgit.cgi/autotools-demo/

and a recipe to build the above submodule:

http://cgit.bec-systems.com/cgit.cgi/openembedded.custom/tree/recipes/autotools-demo/autotools-demo.bb

===================
# recipe to build the ics-test-app in the working tree

inherit srctree gitver autotools

PV = "${GITVER}"
S = "${OEDIR}/openembedded.custom/work/autotools-demo"
==================


When I try 'bitbake autotools-demo', I get the following:

cbrake@happy:/scratch/oe/oe-build/oe$ bitbake autotools-demo
NOTE: Handling BitBake files: / (4602/8385) [54 %]ERROR: 'NoneType'
object has no attribute 'startswith' while parsing
/scratch/oe/oe-build/oe/openembedded.custom/recipes/autotools-demo/autotools-demo.bb
NOTE: <type 'exceptions.AttributeError'>:'NoneType' object has no
attribute 'startswith' while evaluating:
${@get_git_pv('/scratch/oe/oe-build/oe/openembedded.custom/work/autotools-demo',
d)}
NOTE: <type 'exceptions.AttributeError'>:'NoneType' object has no
attribute 'startswith' while evaluating:
${GITVER}
NOTE: <type 'exceptions.AttributeError'>:'NoneType' object has no
attribute 'startswith' while evaluating:
${PN}-${EXTENDPE}${PV}-${PR}
NOTE: <type 'exceptions.AttributeError'>:'NoneType' object has no
attribute 'startswith' while evaluating:
${FILE_DIRNAME}/${PF}/${MACHINE}
ERROR: 'NoneType' object has no attribute 'startswith' while parsing
/scratch/oe/oe-build/oe/openembedded.custom/recipes/autotools-demo/autotools-demo.bb
NOTE: Handling BitBake files: \ (8384/8385) [99 %]Command execution
failed: Traceback (most recent call last):
  File "/scratch/oe/oe-build/oe/bitbake/lib/bb/command.py", line 85,
in runAsyncCommand
    self.cooker.updateCache()
  File "/scratch/oe/oe-build/oe/bitbake/lib/bb/cooker.py", line 802,
in updateCache
    if not self.parser.parse_next():
  File "/scratch/oe/oe-build/oe/bitbake/lib/bb/cooker.py", line 995,
in parse_next
    raise ParsingErrorsFound
ParsingErrorsFound

Any suggestions as to what might be going wrong with gitver?

Thanks,
Cliff



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-06-02 18:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-31 21:12 gitver problems Cliff Brake
2010-05-31 21:54 ` Cliff Brake
2010-05-31 22:02   ` Chris Larson
2010-05-31 22:12   ` Michael Smith
2010-05-31 22:03 ` Leon Woestenberg
2010-05-31 22:04 ` Cliff Brake
2010-05-31 22:21   ` Chris Larson
2010-06-01  6:45     ` Koen Kooi
2010-06-02 13:52       ` Cliff Brake
2010-06-02 16:36         ` Cliff Brake
2010-06-02 18:02           ` Cliff Brake

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.