From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 07385E00B03; Wed, 26 Apr 2017 01:56:11 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (thieldev[at]gmail.com) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.215.41 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9C985E00867 for ; Wed, 26 Apr 2017 01:56:07 -0700 (PDT) Received: by mail-lf0-f41.google.com with SMTP id c80so103935027lfh.3 for ; Wed, 26 Apr 2017 01:56:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0v/F0JENFKw7/9tmmzi9y7t4jVbDEGQQiPTbpElfwYo=; b=YnzNmiZTsxzf78F4CdVterEWPDKxG7wDZZ/u1WflnXjhkVxGYC8pAWDhBfJsVALyXd y3Sb/y52qJQcnu8dVKdoac3oy2ACcyA0QNKnCncXlCpzqSZQTLLp1FO/joYVvlNbZON5 xbCvtrNbVpzRmis4kcon4qmXVQSpHv6FLLWonVxmK7KqOgbjpSr4N4P9EKf3mecv4yT1 JJf33O07b/Z76LDg2yKhl8BZMMaDEjUm8wxaWaT5/nuT0AqgYPjEjG9qzDvLphSNxkRy jPGDjocGwZBdmpBRTo7Nt7rPSQ5yFWhFmVFr8kg/PSgcV9nJFY/J94mcvMp0Q3JRiulH vS6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0v/F0JENFKw7/9tmmzi9y7t4jVbDEGQQiPTbpElfwYo=; b=e+HpsMvr+XbKC1Vqeq80syeU9+vQCXJjnyUZKw+WKVzH6HaXJ2lG3E6/g0Y6ALjeJF OSR2hOKG52bAWUus37c34Avaj1vBpK0Kt64YM5LCnONT4iunMy3CtXAnGlsiqpGqB4Lk tPhR/9T8VB+7+q5nwriOBfVOOXHaQ6NpNiYawVkS4TC0zKpQ4MolwHyJf+6RQutDS0ud X8rvc44gZY3MGO+1TbLHFeHkIKUMHFFBKzklCFlQiI2sJeqM0CqWhvyIRnnxSQTFQx3F sjXcfRaat/B03cJlT9YSX4G2kczsJ2eZhnGby8eUMXNF2Km3rh0I51/YY2vIh8N1kkj2 6xCw== X-Gm-Message-State: AN3rC/7whXzlcBrqWN6rAB3RxbrEKn/iEAX1hpkSApQE4CFN6KwaurJm znm6bTll+6f8cbAE963M6DqRzaXHIg== X-Received: by 10.25.157.210 with SMTP id g201mr10136473lfe.13.1493196966255; Wed, 26 Apr 2017 01:56:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.234.92 with HTTP; Wed, 26 Apr 2017 01:56:05 -0700 (PDT) In-Reply-To: References: From: Malte Thiel Date: Wed, 26 Apr 2017 10:56:05 +0200 Message-ID: To: Martin Jansa Cc: "yocto@yoctoproject.org" Subject: Re: Qt 5.8: do_rootfs: File 'qtdeclarative-plugins' not found X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2017 08:56:11 -0000 Content-Type: multipart/alternative; boundary=001a11403990c0e109054e0e026d --001a11403990c0e109054e0e026d Content-Type: text/plain; charset=UTF-8 I am willed to do it the right way. Would you provide a bit more information about how to do PACKAGECONFIG properly? On Wed, Apr 26, 2017 at 8:51 AM, Martin Jansa wrote: > No, this won't be added to meta-qt5 layer, because it's not the right fix. > > If you're happy with empty packages, then you don't need meta-qt5 at all. > > Empty packages are useless and bitbake is right not to create them. > > My guess is that you don't have all necessary PACKAGECONFIGs enabled for > qtbase. > > On Wed, Apr 26, 2017 at 8:27 AM, Malte Thiel wrote: > >> Hey, >> >> thanks, that solved my problem! Should probably added to the qt5 layer? >> >> Best >> >> >> On Tue, Apr 25, 2017 at 9:51 PM, Martin Kelly wrote: >> >>> On 04/25/2017 07:41 AM, Malte Thiel wrote: >>> >>>> Hello, >>>> >>>> I am trying to compile a Qt 5.8 application using the master branch >>>> of meta-qt5/recipes-qt/qt5/ (For 5.8 support). >>>> >>>> Within my recipe I have: >>>> >>>> RDEPENDS_${PN} = "libgcc glibc qtbase [...] qtdeclarative" >>>> >>>> My recipe (and therefore the application) compiles fine. However, in >>>> do_rootfs I get the following error: >>>> >>>> ------------------------------------------------------------ >>>> ERROR: my-image-1.0-r0 do_rootfs: Error executing a python function in >>>> exec_python_func() autogenerated: >>>> >>>> [...] >>>> >>>> Exception: FileNotFoundError: [Errno 2] No such file or directory: >>>> '/home/sec/sdk/build/0101301/tmp/sysroots/sm2-imx6/pkgdata/r >>>> untime-reverse/qtdeclarative-plugins' >>>> >>>> ERROR: my-image-1.0-r0 do_rootfs: Function failed: >>>> license_create_manifest >>>> ------------------------------------------------------------ >>>> >>>> It's true, there is no file 'qtdeclarative-plugins'. >>>> However, qtdeclarative RPROVIDES qtdeclarative-plugins, so I expect that >>>> this file should be generated somehow? >>>> >>>> Any help is appreciated >>>> >>>> >>>> >>>> >>> Hi, >>> >>> I actually hit this issue as well. I discovered that >>> qtdeclarative-plugins wasn't being generated because it was empty, and by >>> default, bitbake won't generate an empty package. You can fix it by adding: >>> >>> ALLOW_EMPTY_${PN}-plugins = "1" >>> >>> to the qtdeclarative_git.bb file. That said, I'm not sure if this is >>> the right fix, or if there is some other reason why qtdeclarative-plugins >>> is not being generated. >>> >> >> >> -- >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto >> >> > --001a11403990c0e109054e0e026d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I am willed to do it the right way. Would you provide a bi= t more information about how to do PACKAGECONFIG properly?

On Wed, Apr 26, 2017 at 8:5= 1 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">
No, this won't be added = to meta-qt5 layer, because it's not the right fix.

I= f you're happy with empty packages, then you don't need meta-qt5 at= all.

Empty packages are useless and bitbake is ri= ght not to create them.

My guess is that you don&#= 39;t have all necessary PACKAGECONFIGs enabled for qtbase.

On Wed, Apr 26, 2017 at 8:27 AM, Malte Thiel <thieldev@gmail.com>= wrote:
Hey,

thanks, that solved my pr= oblem! Should probably added to the qt5 layer?

Bes= t


On Tue, Apr 25, 2017 at 9:51 PM, Martin Kelly <mkelly@xe= vo.com> wrote:
On 04/25/2017 07:41 AM, Malte Th= iel wrote:
Hello,

I am trying to compile a Qt 5.8 application using the master branch
of meta-qt5/recipes-qt/qt5/ (For 5.8 support).

Within my recipe I have:

RDEPENDS_${PN} =3D "libgcc glibc qtbase [...] qtdeclarative"

My recipe (and therefore the application) compiles fine. However, in
do_rootfs I get the following error:

------------------------------------------------------------
ERROR: my-image-1.0-r0 do_rootfs: Error executing a python function in
exec_python_func() autogenerated:

[...]

Exception: FileNotFoundError: [Errno 2] No such file or directory:
'/home/sec/sdk/build/0101301/tmp/sysroots/sm2-imx6/pkgdata/ru= ntime-reverse/qtdeclarative-plugins'

ERROR: my-image-1.0-r0 do_rootfs: Function failed: license_create_manifest<= br> ------------------------------------------------------------

It's true, there is no file 'qtdeclarative-plugins'.
However, qtdeclarative RPROVIDES qtdeclarative-plugins, so I expect that this file should be generated somehow?

Any help is appreciated




Hi,

I actually hit this issue as well. I discovered that qtdeclarative-plugins = wasn't being generated because it was empty, and by default, bitbake wo= n't generate an empty package. You can fix it by adding:

ALLOW_EMPTY_${PN}-plugins =3D "1"

to the qtdeclarative_git.bb file. That said, I'm not sure if this= is the right fix, or if there is some other reason why qtdeclarative-plugi= ns is not being generated.


= --
_______________________________________________
yocto mailing list
yocto@yoctoproj= ect.org
https://lists.yoctoproject.org/listinfo/yocto<= br>


--001a11403990c0e109054e0e026d--