bitbake error: while parsing /cacao-native_hg.bb

I get the following error when running "bitbake -v"

NOTE: Handling BitBake files: - (1137/7318) [15 %]ERROR: SRCREV was
used yet no valid SCM was found in SRC_URI
NOTE: <class 'bb.fetch.ParameterError'>: while evaluating:
${@bb.fetch.get_srcrev(d)}
NOTE: <class 'bb.fetch.ParameterError'>: while evaluating:
1.1.0+hgr${SRCPV}
NOTE: <class 'bb.fetch.ParameterError'>: while evaluating:
${PN}-${EXTENDPE}${PV}-${PR}
NOTE: <class 'bb.fetch.ParameterError'>: while evaluating:
${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PF}
NOTE: <class 'bb.fetch.ParameterError'>: while evaluating:
${WORKDIR}/cacao
NOTE: <class 'bb.fetch.ParameterError'>: while evaluating:
${S}
ERROR: while parsing /home/yoder/BeagleBoard/oe/openembedded/recipes/
cacao/cacao-native_hg.bb
NOTE: Handling BitBake files: | (7318/7318) [100 %]
NOTE: Parsing finished. 6567 cached, 439 parsed, 311 skipped, 0
masked.
ERROR: Parsing errors found, exiting...

Any ideas on how it fix it?

--Mark

Are you following http://www.angstrom-distribution.org/building-angstrom ?

When I follow those directions this [1] fails. It fetches some 104k and then hangs. If finally times out with:

fatal: read error: Connection timed out

./oebb.sh: line 249: cd: /home/yoder/BeagleBoard/oe/setup-scripts/sources/openembedded: No such file or directory

Checking out OE, depending on your git version you might get a harmless, what git alarmingly calls ‘fatal’ error. It just means the branch already exists.

fatal: git checkout: updating paths is incompatible with switching branches.

Did you intend to checkout ‘origin/2011.03-maintenance’ which can not be resolved as commit?

We don’t run a firewall proxy here.

How do I fix it?

–Mark

[1] git clone “git://git.openembedded.org/openembedded” ${OE_SOURCE_DIR}/openembedded

When I follow those directions this [1] fails. It fetches some 104k
and then hangs. If finally times out with:

fatal: read error: Connection timed out
./oebb.sh: line 249: cd: /home/yoder/BeagleBoard/oe/setup-scripts/
sources/openembedded: No such file or directory
Checking out OE, depending on your git version you might get a
harmless, what git alarmingly calls 'fatal' error. It just means the
branch already exists.
fatal: git checkout: updating paths is incompatible with switching
branches.
Did you intend to checkout 'origin/2011.03-maintenance' which can not
be resolved as commit?

We don't run a firewall proxy here.

How do I fix it?

--Mark

[1] git clone "git://git.openembedded.org/openembedded" $
{OE_SOURCE_DIR}/openembedded

Hmmm.... I just changed:

git clone "git://git.openembedded.org/openembedded" $
{OE_SOURCE_DIR}/openembedded

to

git clone "git://git.openembedded.org/openembedded.git" $
{OE_SOURCE_DIR}/openembedded

and it appears to be working. Is this a bug in the oebb.sh file?

--Mark

We are making progress, but still failing. After some time, the
instructions at [1] fail with:
MACHINE=beagleboard ./oebb.sh bitbake virtual/kernel
The error is:

2011-03-22 12:17:42 (86.4 KB/s) - `/home/yoder/BeagleBoard/oe/setup-
scripts/sources/downloads/linux-2.6.31.tar.bz2' saved
[61494822/61494822]

NOTE: package linux-libc-headers-native-2.6.31-r6: task do_fetch:
Succeeded
ERROR: '/home/yoder/BeagleBoard/oe/setup-scripts/sources/openembedded/
recipes/perl/perl-native_5.10.1.bb' failed

What do I do next?

--Mark

[1] http://www.angstrom-distribution.org/building-angstrom

We are making progress, but still failing. After some time, the
instructions at [1] fail with:
MACHINE=beagleboard ./oebb.sh bitbake virtual/kernel
The error is:

2011-03-22 12:17:42 (86.4 KB/s) - `/home/yoder/BeagleBoard/oe/setup-
scripts/sources/downloads/linux-2.6.31.tar.bz2' saved
[61494822/61494822]

NOTE: package linux-libc-headers-native-2.6.31-r6: task do_fetch:
Succeeded
ERROR: '/home/yoder/BeagleBoard/oe/setup-scripts/sources/openembedded/
recipes/perl/perl-native_5.10.1.bb' failed

Can you look up where the logs are stored on OE/bitbake builds and share them? You must have something in parallel as you have left off where the error occurred and only provided the notice about why the build didn't continue.



What do I do next

SWITCH to Ubuntu


— On Tue, 3/22/11, Jason Kridner jkridner@beagleboard.org wrote:



> From: Jason Kridner jkridner@beagleboard.org
> Subject: Re: [beagleboard] Re: bitbake error: while parsing /cacao-native_hg.bb
> To: “beagleboard@googlegroups.combeagleboard@googlegroups.com
> Cc: “Beagle Board” beagleboard@googlegroups.com
> Date: Tuesday, March 22, 2011, 2:35 PM
>
> On Mar 22, 2011, at 11:01 AM, “Mark A. Yoder” <mark.a.yoder@gmail.com> wrote:
>
> > We are making progress, but still failing. After some time, the
> > instructions at [1] fail with:
> > MACHINE=beagleboard ./oebb.sh bitbake virtual/kernel
> > The error is:
> >
> > 2011-03-22 12:17:42 (86.4 KB/s) - `/home/yoder/BeagleBoard/oe/setup-
> > scripts/sources/downloads/linux-2.6.31.tar.bz2’ saved
> > [61494822/61494822]
> >
> > NOTE: package linux-libc-headers-native-2.6.31-r6: task do_fetch:
> > Succeeded
> > ERROR: ‘/home/yoder/BeagleBoard/oe/setup-scripts/sources/openembedded/
> > recipes/perl/perl-native_5.10.1.bb’ failed
>
> Can you look up where the logs are stored on OE/bitbake builds and share them? You must have something in parallel as you have left off where the error occurred and only provided the notice about why the build didn’t continue.
>
> >
> > What do I do next?
> >
> > --Mark
> >
> > [1] http://www.angstrom-distribution.org/building-angstrom
> >
> > On Mar 22, 11:53 am, “Mark A. Yoder” <mark.a.yo…@gmail.com> wrote:
> >> Hmmm… I just changed:
> >>
> >> git clone “git://git.openembedded.org/openembedded” $
> >> {OE_SOURCE_DIR}/openembedded
> >>
> >> to
> >>
> >> git clone “git://git.openembedded.org/openembedded.git” $
> >> {OE_SOURCE_DIR}/openembedded
> >>
> >> and it appears to be working. Is this a bug in the oebb.sh file?
> >>
> >> --Mark
> >>
> >> On Mar 22, 11:51 am, “Mark A. Yoder” <mark.a.yo…@gmail.com> wrote:
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>> When I follow those directions this [1] fails. It fetches some 104k
> >>> and then hangs. If finally times out with:
> >>
> >>> fatal: read error: Connection timed out
> >>> ./oebb.sh: line 249: cd: /home/yoder/BeagleBoard/oe/setup-scripts/
> >>> sources/openembedded: No such file or directory
> >>> Checking out OE, depending on your git version you might get a
> >>> harmless, what git alarmingly calls ‘fatal’ error. It just means the
> >>> branch already exists.
> >>> fatal: git checkout: updating paths is incompatible with switching
> >>> branches.
> >>> Did you intend to checkout ‘origin/2011.03-maintenance’ which can not
> >>> be resolved as commit?
> >>
> >>> We don’t run a firewall proxy here.
> >>
> >>> How do I fix it?
> >>
> >>> --Mark
> >>
> >>> [1] git clone “git://git.openembedded.org/openembedded” $
> >>> {OE_SOURCE_DIR}/openembedded
> >>
> >>> On Mar 22, 11:28 am, Koen Kooi <k…@beagleboard.org> wrote:
> >>
> >>>> Are you followinghttp://www.angstrom-distribution.org/building-angstrom?
> >>
> >>>> Op 22 mrt 2011, om 15:39 heeft Mark A. Yoder het volgende geschreven:
> >>
> >>>>> I get the following error when running “bitbake -v”
> >>
> >>>>> NOTE: Handling BitBake files: - (1137/7318) [15 %]ERROR: SRCREV was
> >>>>> used yet no valid SCM was found in SRC_URI
> >>>>> NOTE: <class ‘bb.fetch.ParameterError’>: while evaluating:
> >>>>> $…@bb.fetch.get_srcrev(d)}
> >>>>> NOTE: <class ‘bb.fetch.ParameterError’>: while evaluating:
> >>>>> 1.1.0+hgr${SRCPV}
> >>>>> NOTE: <class ‘bb.fetch.ParameterError’>: while evaluating:
> >>>>> ${PN}-${EXTENDPE}${PV}-${PR}
> >>>>> NOTE: <class ‘bb.fetch.ParameterError’>: while evaluating:
> >>>>> ${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PF}
> >>>>> NOTE: <class ‘bb.fetch.ParameterError’>: while evaluating:
> >>>>> ${WORKDIR}/cacao
> >>>>> NOTE: <class ‘bb.fetch.ParameterError’>: while evaluating:
> >>>>> ${S}
> >>>>> ERROR: while parsing /home/yoder/BeagleBoard/oe/openembedded/recipes/
> >>>>> cacao/cacao-native_hg.bb
> >>>>> NOTE: Handling BitBake files: | (7318/7318) [100 %]
> >>>>> NOTE: Parsing finished. 6567 cached, 439 parsed, 311 skipped, 0
> >>>>> masked.
> >>>>> ERROR: Parsing errors found, exiting…
> >>
> >>>>> Any ideas on how it fix it?
> >>
> >>>>> --Mark
> >>
> >>>>> –
> >>>>> You received this message because you are subscribed to the Google Groups “Beagle Board” group.
> >>>>> To post to this group, send email to beagleboard@googlegroups.com.
> >>>>> To unsubscribe from this group, send email to beagleboard+unsubscribe@googlegroups.com.
> >>>>> For more options, visit this group athttp://groups.google.com/group/beagleboard?hl=en.
> >
> > –
> > You received this message because you are subscribed to the Google Groups “Beagle Board” group.
> > To post to this group, send email to beagleboard@googlegroups.com.
> > To unsubscribe from this group, send email to beagleboard+unsubscribe@googlegroups.com.
> > For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.
> >
>
> –
> You received this message because you are subscribed to the Google Groups “Beagle Board” group.
> To post to this group, send email to beagleboard@googlegroups.com.
> To unsubscribe from this group, send email to beagleboard+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.

|

What do I do next

SWITCH to Ubuntu

Good to see you being helpful again.

Philip

I have the same problem perl-native_5.10.1.bb failed
Here is the error log i get http://pastebin.com/6keA7agp
--Siegen

I have the same problem. Seems there is a patch for it in
http://patches.openembedded.org/patch/1493/ but that patch won't help
for me.
The patch is dated 2011-03-16, it's strange that it is absent in
latest git repo.

Having the same problem. The patch http://patches.openembedded.org/patch/1493/
won't work.
OE is updated from git repo on 2011-04-13, but the patch is dated
2011-03-16.