List: openembedded-issues
Subject: [Openembedded-issues] [meta-qt5] populate_sdk_ext fails
From: Mike Nicholson <Mike.Nicholson () viavisolutions ! com>
Date: 2017-01-17 20:55:47
Message-ID: 272DFAB3-01EC-4988-97A6-4D14732ACCC6 () viavisolutions ! com
[Download RAW message or body]
[Attachment #2 (text/plain)]
Hello,
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-gnue \
> abi/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.
[Attachment #3 (text/html)]
<html xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:Calibri;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Calibri;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:Calibri;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hello, <br>
<br>
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:<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt"><o:p> </o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt">| NOTE: Executing create_sdk_files ...<o:p></o:p></span></p> \
<p class="MsoNormal"><span style="font-size:11.0pt">| DEBUG: Executing shell function \
create_sdk_files<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt">| touch: cannot touch \
'/home/nic47222/Projects/viavi-platform/viavi-bsp/build/tmp/work/mts-poky-linux-gnueab \
i/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<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">It appears that here <a \
href="https://github.com/meta-qt5/meta-qt5/blob/9aa870eecf6dc7a87678393bd55b97e21033ab48/classes/populate_sdk_qt5_base.bbclass#L7">
https://github.com/meta-qt5/meta-qt5/blob/9aa870eecf6dc7a87678393bd55b97e21033ab48/classes/populate_sdk_qt5_base.bbclass#L7</a> \
the directory that should contain the qt.conf file does not exist. \
<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt"><o:p> </o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt">Are there known issues with the populate_sdk_ext command and \
the meta-qt5 layer?<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt"><o:p> </o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt">I can get generate the extensible SDK just fine if I make \
the following changes: <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">diff --git \
a/classes/populate_sdk_qt5_base.bbclass \
b/classes/populate_sdk_qt5_base.bbclass<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:11.0pt">index b6ce596..b66fe25 \
100644<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt">--- \
a/classes/populate_sdk_qt5_base.bbclass<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:11.0pt">+++ \
b/classes/populate_sdk_qt5_base.bbclass<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:11.0pt">@@ -4,6 +4,7 @@ inherit \
qmake5_paths<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt">create_sdk_files_prepend () {<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:11.0pt"> # Generate \
a qt.conf file to be deployed with the SDK<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:11.0pt"> \
qtconf=${SDK_OUTPUT}/${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/qt.conf<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">+ mkdir -p \
${SDK_OUTPUT}/${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:11.0pt"> touch \
$qtconf<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt"> echo '[Paths]' >> \
$qtconf<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt"> echo 'Prefix = \
${OE_QMAKE_PATH_PREFIX}' >> $qtconf<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:11.0pt">--<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:11.0pt">2.7.4<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p> <p \
class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p> <p \
class="MsoNormal"><span style="font-size:11.0pt">Thank you in advance for any help. \
<o:p></o:p></span></p> </div>
</body>
</html>
--
_______________________________________________
Openembedded-issues mailing list
Openembedded-issues@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-issues
--===============1136014579==--
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic