From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: parsing errors with angstrom/meta-linaro
Date: Fri, 9 Aug 2013 10:05:47 +0200 [thread overview]
Message-ID: <20130809080547.GD17945@jama> (raw)
In-Reply-To: <CAMKF1sqp4j=_OEW0trRtRkCkVbyODyp1WSH7Zfvh0uBkiuGiJw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3571 bytes --]
On Fri, Aug 09, 2013 at 02:15:06AM -0500, Khem Raj wrote:
> On Thursday, August 8, 2013, Riku Voipio wrote:
>
> > Hi,
> >
> > The problem is that git.linaro.org is not providing good service and
> > often fails to respond to git requests. When bitbake fails to fetch
> > the latest git, it is unable to expand AUTOREV, and throws in the
> > towel. You can reproduce the issue easily with any recipe that has a
> > git:// url and AUTOREV by disconnecting the OE build machine from the
> > network.
> >
> > Could we make AUTOREV to expand to latest version found from
> > downloads/git2 in case the git fetch fails?
> >
> >
>
> I would suggest to not use autorev if git servers are flaky
> Secondly for external recipes its bad practice since it defeats
> BB_NO_NETWORK
> Feature which many use
Agreed, please add example to README how to enable it in local.conf, but use
known-to-work SRCREV in recipe for other people who enabled meta-linaro
layer, but maybe aren't even interested in any linux-linaro revision.
>
>
>
> > Riku
> >
> >
> >
> > On 8 August 2013 20:28, Khem Raj <raj.khem@gmail.com <javascript:;>>
> > wrote:
> > >
> > > On Aug 8, 2013, at 9:00 AM, Fathi Boudra <fathi.boudra@linaro.org<javascript:;>>
> > wrote:
> > >
> > >> Hi,
> > >>
> > >> On 8 August 2013 08:48, Khem Raj <raj.khem@gmail.com <javascript:;>>
> > wrote:
> > >>> Hi
> > >>>
> > >>> Often I see this error when parsing angstrom-next, has anyone seen
> > something similar or delved into the reason behind
> > >>> it ?
> > >>>
> > >>> NOTE: Started PRServer with DBfile:
> > /builds1/angstrom/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 45141, PID:
> > 6728
> > >>> Parsing recipes...ERROR: ExpansionError during parsing
> > /builds1/angstrom/sources/meta-linaro/meta-aarch64/recipes-kernel/linux/
> > linux-linaro_git.bb: Failure expanding variable SRCPV, expression was
> > ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher
> > failure: Fetch command failed with exit code 128, output:
> > >>> fatal: read error: Connection reset by peer
> > >>>
> > >>> ERROR: Command execution failed: Exited with 1
> > >>>
> > >>> Summary: There were 2 ERROR messages shown, returning a non-zero exit
> > code.
> > >>
> > >> I'm seeing a similar issue[1] on another recipe (libhugetlbfs[2] for
> > instance).
> > >> It's worth mentioning:
> > >> - only on my local machine (it doesn't happen on daily builds using
> > >> EC2 instances)
> > >> - also from meta-linaro/meta-aarch64
> > >> - also code pull from git, using SRCPV/AUTOREV
> > >>
> > >> [1] Failure expanding variable SRCPV, expression was
> > ${@bb.fetch2.get_srcrev(d)}
> > >> [2]
> > https://git.linaro.org/gitweb?p=openembedded/meta-linaro.git;a=blob;f=meta-aarch64/recipes-extended/libhugetlbfs/libhugetlbfs_2.16.bb;hb=master
> > >
> > > if I pull out meta-aarch64 from the bblayers all works ok. I don't hit
> > this error at all
> > > so somethins is fishy with this layer
> > >
> > >>
> > >> Cheers,
> > >> Fathi
> > >
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org <javascript:;>
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
prev parent reply other threads:[~2013-08-09 8:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-08 5:48 parsing errors with angstrom/meta-linaro Khem Raj
2013-08-08 16:00 ` Fathi Boudra
2013-08-08 17:28 ` Khem Raj
2013-08-09 6:51 ` Riku Voipio
2013-08-09 7:15 ` Khem Raj
2013-08-09 8:05 ` Martin Jansa [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130809080547.GD17945@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.