[OE-core] Failing devshell

Dariusz Pelowski dariusz.pelowski at gmail.com
Fri Nov 27 13:49:29 UTC 2015


2015-11-26 18:25 GMT+01:00 Dariusz Pelowski <dariusz.pelowski at gmail.com>:
> I'm getting an error during execution of devshell:
> bitbake -c devshell  quilt-native
> WARNING: Host distribution "Arch-Linux" has not been validated with this
> version of the build system; you may possibly experience unexpected
> failures. It is recommended that you use a tested distribution.
> ...
> ERROR: Unable to spawn terminal auto: Execution of
> '/home/darekp/locale_test/tmp/work/x86_64-linux/quilt-native/0.64-r0/temp/run.do_terminal.18591'
> failed with exit code 1:
> Opcja „-t” nie jest już obsługiwana w tej wersji programu gnome-terminal.
> Przetworzenie parametrów się nie powiodło: Opcja „--disable-factory” nie
> jest już obsługiwana w tej wersji programu gnome-terminal.
> ERROR: Function failed: do_devshell
> ERROR: Logfile of failure stored in:
> /home/darekp/locale_test/tmp/work/x86_64-linux/quilt-native/0.64-r0/temp/log.do_devshell.18591
> ERROR: Task 3
> (/home/darekp/poky/meta/recipes-devtools/quilt/quilt-native_0.64.bb,
> do_devshell) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 4 tasks of which 3 didn't need to be rerun
> and 1 failed.
>
>
> The cause of the problem is the implementation of
> poky/meta/lib/oe/terminal.py. It expects that gnome-terminal --version will
> return string starting from: "GNOME Terminal". But the returned string
> differs when locale is changes. This looks like this:
>
> [darekp at darekp ~]$ LANG=C gnome-terminal --version
> GNOME Terminal 3.18.2
>
> [darekp at darekp ~]$ LANG=pl_PL.utf8 gnome-terminal --version
> Terminal GNOME 3.18.2
>
> The same problem affects other locales in gnome-terminal. I'm proposing to
> fix this issue by setting LANG=C during execution of gnome-terminal
> --version.
>

Hi,

Described problem was discussed on yocto at yoctoproject.org mailing
list. Attached patch is fixing this issue, could you apply it? (I've
tested this change on all terminals calling changed function: GNOME
Terminal 3.18.2, Konsole: 15.08.0, tmux 2.1 and it worked correctly)

Thanks,
Dariusz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lib-oe-terminal-use-C-locale-when-determining-versio.patch
Type: text/x-patch
Size: 1044 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151127/ab6e9739/attachment-0002.bin>


More information about the Openembedded-core mailing list