[meta-virtualization] [PATCH] Fixed Q&A error for OpenFlow recipe

Bruce Ashfield bruce.ashfield at gmail.com
Sat Aug 24 22:29:10 PDT 2013


On Thu, Aug 22, 2013 at 3:55 AM, David Nyström <david.nystrom at enea.com> wrote:
> $ bitbake openflow
> WARNING: Host distribution "Ubuntu-13.10" has not been validated with this
> version of the build system; you may possibly experience unexpected
> failures. It is recommended that you use a tested distribution.
> Loading cache: 100%
> |######################################################################|
> ETA:  00:00:00
> Loaded 1727 entries from dependency cache.
> Parsing recipes: 100%
> |####################################################################| Time:
> 00:00:00
> Parsing of 1336 .bb files complete (1335 cached, 1 parsed). 1726 targets, 38
> skipped, 0 masked, 0 errors.
>
> Build Configuration:
> BB_VERSION        = "1.19.1"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "Ubuntu-13.10"
> TARGET_SYS        = "x86_64-poky-linux"
> MACHINE           = "qemux86-64"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.4+snapshot-20130822"
> TUNE_FEATURES     = "m64"
> TARGET_FPU        = ""
> meta
> meta-yocto
> meta-yocto-bsp    = "master:b2ff1add530b1fec2fb7f385227a03db47015c37"
> meta-oe
> meta-networking   = "master:d4571b3d94d999ad54d8965f0d049dcfd34da504"
> meta-virtualization = "master:ef0700820686d262fa28091b8e143fc881f69965"
>
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: QA Issue: openflow: Files/directories were installed but not shipped
>   /run

Ah yes. I've seen this same QA error here. I've actually just packaged it
in the past to avoid the same error .. with no ill effects at runtime.

But this works just as well.

I was working on some code, so I tweaked the commit message and pushed
out your two pending changes.

Cheers,

Bruce

> ERROR: QA run found fatal errors. Please consider fixing them.
> ERROR: Function failed: do_package_qa
> ERROR: Logfile of failure stored in:
> /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/temp/log.do_package.14523
> ERROR: Task 10
> (/media/sdb5/eel/meta-virtualization/recipes-networking/openflow/openflow_1.0.bb,
> do_package) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 578 tasks of which 576 didn't need to be
> rerun and 1 failed.
> No currently running tasks (577 of 582)
>
> Summary: 1 task failed:
>
> /media/sdb5/eel/meta-virtualization/recipes-networking/openflow/openflow_1.0.bb,
> do_package
> Summary: There was 1 WARNING message shown.
> Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
>
>
> Br,
> David
>
>
>
>
> On 08/22/2013 02:54 AM, Bruce Ashfield wrote:
>>
>> Can you dump the QA recipe here for the long log ? I've been building this
>> and
>> haven't seen it myself. So I'm curious to see what it is .. with it in
>> the commit log,
>> I'll know if I see it.
>>
>> On Wed, Aug 21, 2013 at 10:16 AM, David Nyström
>> <david.c.nystrom at gmail.com> wrote:
>>>
>>> Signed-off-by: David Nyström <david.nystrom at enea.com>
>>> ---
>>>   recipes-networking/openflow/openflow_1.0.bb | 9 +++++++--
>>>   1 file changed, 7 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/recipes-networking/openflow/openflow_1.0.bb
>>> b/recipes-networking/openflow/openflow_1.0.bb
>>> index 3663e50..20a2bc9 100644
>>> --- a/recipes-networking/openflow/openflow_1.0.bb
>>> +++ b/recipes-networking/openflow/openflow_1.0.bb
>>> @@ -1,4 +1,4 @@
>>> -SUMMARY = "OpelFlow"
>>> +SUMMARY = "OpenFlow"
>>
>>
>> I for one liked the OpelFlow support! :)
>>
>>>   DESCRIPTION = "Provide a generic framework for handling devices in
>>> userspace."
>>>   HOMEPAGE = "http://www.openflow.org"
>>>   SECTION = "networking"
>>> @@ -21,4 +21,9 @@ PACKAGECONFIG[libssl] = "--enable-ssl,--disable-ssl,
>>> openssl, libssl"
>>>
>>>   S = "${WORKDIR}/git"
>>>
>>> -inherit autotools
>>> \ No newline at end of file
>>> +inherit autotools
>>> +
>>> +do_install_append() {
>>> +       # Remove /var/run as it is created on startup
>>> +        rm -rf ${D}${localstatedir}/run
>>> +}
>>
>>
>> Indeed .. this will get populated without OpenFlow's help.
>>
>> Bruce
>>
>>> --
>>> 1.8.3.2
>>>
>>> _______________________________________________
>>> meta-virtualization mailing list
>>> meta-virtualization at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/meta-virtualization
>>
>>
>>
>>
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



More information about the meta-virtualization mailing list