Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.1
-
-
24d2215b67e1875046aa8c856751260f4356453f
Description
When cross-compiling on Linux for a MingGW target, qmlcachegen adds Windows style environment variables (%PATH%) to PATH that breaks the build.
cd /home/sapiippo/development/yocto/master/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-qtdeclarative/6.1.0-r0/build/src/imports/tooling && set PATH=/home/sapiippo/development/yocto/master/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-qtd
eclarative/6.1.0-r0/recipe-sysroot/opt/poky/3.2+snapshot/sysroots/x86_64-w64-mingw32/usr/bin;%PATH% && /home/sapiippo/development/yocto/master/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-qtdeclarative/6.1.0-r0/recipe-sysroot-native/usr/bin/qmlcachegen -
-resource-name quicktooling_qml_files_2.qrc=quicktooling_qml_files_2_qmlcache -o /home/sapiippo/development/yocto/master/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-qtdeclarative/6.1.0-r0/build/src/imports/tooling/.rcc/qmlcache/quicktooling_qml_files_2/
qmlcache_loader.cpp @/home/sapiippo/development/yocto/master/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-qtdeclarative/6.1.0-r0/build/src/imports/tooling/.rcc/qmlcache/quicktooling_qml_files_2/qml_loader_file_list.rsp
/bin/sh: line 0: fg: no job control
ninja: build stopped: subcommand failed.