[bitbake-devel] Git, AUTOREV and SSH

Andreas Oberritter obi at opendreambox.org
Tue Feb 28 11:52:47 UTC 2012


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




More information about the bitbake-devel mailing list