Docker Community Forums

Share and learn in the Docker community.

Trying to compile a Yocto/Poky distribution in Windows, but fails with a strange compiler error

Topic: Trying to compile a Yocto/Poky distribution in Windows, but fails with a strange compiler error

Hello,
I’m using Docker to compile a Yocto distribution with CROPS.
I already succeeded in using those images under Ubuntu 18.04 and Debian Stretch in Virtualbox using Docker 19.03. It compiled successfully there.

The compile errors occur on Docker Desktop on Windows, when Bitbake processes the recipes for Qt 5.12.

I’m using Docker Desktop Community Edition 2.1.0.1 on Windows 10 x64. Hyper-V is enabled.

Here are two log messages from the compilation:

{standard input}: Assembler messages:
{standard input}:1078456: Warning: end of file in string; ‘"’ inserted
compiling .moc/moc_myobject.cpp

{standard input}: Assembler messages:
{standard input}:757868: Warning: end of file not at end of a line; newline inserted
{standard input}:757869: Warning: zero assumed for missing expression
linking tutorial5

See the complete log messages there (can’t upload files as new user):
https://pastebin.com/0NyqsawY
https://pastebin.com/jiFupAkU