Openembedded Bitbake Development
 help / color / mirror / Atom feed
From: Andreas Oberritter <obi@opendreambox.org>
To: bitbake-devel@lists.openembedded.org
Subject: Git, AUTOREV and SSH
Date: Tue, 28 Feb 2012 12:52:47 +0100	[thread overview]
Message-ID: <4F4CC00F.10608@opendreambox.org> (raw)

Hi,

there's a problem with the Git fetcher when used with AUTOREV, at least
with SSH URIs. "git ls-remote" may output warnings on stderr, e.g.:

X11 forwarding request failed on channel 0

When this happens, "X11" becomes the SRCREV and the fetcher subsequently
fails. Certainly, other warnings by Git, SSH or a different SCM or
transport could appear under other circumstances. Even localized strings
may appear. Fetch2 merges stderr into stdout on purpose [1], so I'm not
sure a proper fix should look like.

Regards,
Andreas

[1] See runfetchcmd() in lib/bb/fetch2/__init__.py



             reply	other threads:[~2012-02-28 12:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-28 11:52 Andreas Oberritter [this message]
2012-02-28 12:03 ` Git, AUTOREV and SSH Richard Purdie
2012-02-28 16:32   ` Andreas Oberritter
2012-03-02 16:23     ` Richard Purdie

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=4F4CC00F.10608@opendreambox.org \
    --to=obi@opendreambox.org \
    --cc=bitbake-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox