Hello,

I sent the following the the openembedded-issues email list last month with no 
response.  I wanted to follow up with openembedded-devel in case ‘issues’ 
wasn’t the right mailing list.

I’m attempting to generate an extensible SDK that includes the meta-qt5 layer.  
Generating a standard sdk via Yocto works just fine but generating the 
extensible sdk fails with the following error:
 
| NOTE: Executing create_sdk_files ...
| DEBUG: Executing shell function create_sdk_files
| touch: cannot touch 
'/home/nic47222/Projects/viavi-platform/viavi-bsp/build/tmp/work/mts-poky-linux-gnueabi/viavi-image-qt5/1.0-r0/sdk-ext/image//opt/poky/2.1.1/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qt.conf':
 No such file or directory
 
It appears that here 
https://github.com/meta-qt5/meta-qt5/blob/9aa870eecf6dc7a87678393bd55b97e21033ab48/classes/populate_sdk_qt5_base.bbclass#L7
 the directory that should contain the qt.conf file does not exist.
 
Are there known issues with the populate_sdk_ext command and the meta-qt5 layer?
 
I can get generate the extensible SDK just fine if I make the following changes:
 
diff --git a/classes/populate_sdk_qt5_base.bbclass 
b/classes/populate_sdk_qt5_base.bbclass
index b6ce596..b66fe25 100644
--- a/classes/populate_sdk_qt5_base.bbclass
+++ b/classes/populate_sdk_qt5_base.bbclass
@@ -4,6 +4,7 @@ inherit qmake5_paths
create_sdk_files_prepend () {
     # Generate a qt.conf file to be deployed with the SDK
     qtconf=${SDK_OUTPUT}/${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/qt.conf
+    mkdir -p ${SDK_OUTPUT}/${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}
     touch $qtconf
     echo '[Paths]' >> $qtconf
     echo 'Prefix = ${OE_QMAKE_PATH_PREFIX}' >> $qtconf
--
2.7.4
 
 
Thank you in advance for any help.


-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to