All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fixed Q&A error for OpenFlow recipe
@ 2013-08-21 14:16 David Nyström
  2013-08-22  0:54 ` Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: David Nyström @ 2013-08-21 14:16 UTC (permalink / raw)
  To: meta-virtualization

Signed-off-by: David Nyström <david.nystrom@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"
 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
+}
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fixed Q&A error for OpenFlow recipe
  2013-08-21 14:16 [PATCH] Fixed Q&A error for OpenFlow recipe David Nyström
@ 2013-08-22  0:54 ` Bruce Ashfield
  2013-08-22  7:55   ` David Nyström
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Ashfield @ 2013-08-22  0:54 UTC (permalink / raw)
  To: David Nyström; +Cc: meta-virtualization@yoctoproject.org

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@gmail.com> wrote:
> Signed-off-by: David Nyström <david.nystrom@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@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"


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fixed Q&A error for OpenFlow recipe
  2013-08-22  0:54 ` Bruce Ashfield
@ 2013-08-22  7:55   ` David Nyström
  2013-08-25  5:29     ` Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: David Nyström @ 2013-08-22  7:55 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: meta-virtualization@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 3920 bytes --]

$ 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
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@gmail.com> wrote:
>> Signed-off-by: David Nyström <david.nystrom@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@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
>
>

[-- Attachment #2: log.do_package.14523 --]
[-- Type: text/plain, Size: 5045 bytes --]

DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_package
DEBUG: Executing python function package_get_auto_pr
DEBUG: Python function package_get_auto_pr finished
DEBUG: Executing python function perform_packagecopy
DEBUG: Python function perform_packagecopy finished
DEBUG: Executing python function split_and_strip_files
DEBUG: runstrip: 'x86_64-poky-linux-strip' --remove-section=.comment --remove-section=.note '/media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/package/usr/bin/ofprotocol'
DEBUG: runstrip: 'x86_64-poky-linux-strip' --remove-section=.comment --remove-section=.note '/media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/package/usr/bin/ofp-kill'
DEBUG: runstrip: 'x86_64-poky-linux-strip' --remove-section=.comment --remove-section=.note '/media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/package/usr/bin/ofdatapath'
DEBUG: runstrip: 'x86_64-poky-linux-strip' --remove-section=.comment --remove-section=.note '/media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/package/usr/bin/controller'
DEBUG: runstrip: 'x86_64-poky-linux-strip' --remove-section=.comment --remove-section=.note '/media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/package/usr/bin/dpctl'
DEBUG: runstrip: 'x86_64-poky-linux-strip' --remove-section=.comment --remove-section=.note '/media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/package/usr/bin/ofp-discover'
DEBUG: Python function split_and_strip_files finished
DEBUG: Executing python function fixup_perms
DEBUG: Python function fixup_perms finished
DEBUG: Executing python function package_do_split_locales
DEBUG: No locale files in this package
DEBUG: Python function package_do_split_locales finished
DEBUG: Executing python function populate_packages
ERROR: QA Issue: openflow: Files/directories were installed but not shipped
  /run
DEBUG: Python function populate_packages finished
DEBUG: Executing python function do_package_qa
NOTE: DO PACKAGE QA
NOTE: Checking Package: openflow-dbg
NOTE: x86_64-poky-linux-objdump -p /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/packages-split/openflow-dbg/usr/bin/.debug/controller
NOTE: x86_64-poky-linux-objdump -p /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/packages-split/openflow-dbg/usr/bin/.debug/vlogconf
NOTE: x86_64-poky-linux-objdump -p /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/packages-split/openflow-dbg/usr/bin/.debug/ofdatapath
NOTE: x86_64-poky-linux-objdump -p /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/packages-split/openflow-dbg/usr/bin/.debug/ofprotocol
NOTE: x86_64-poky-linux-objdump -p /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/packages-split/openflow-dbg/usr/bin/.debug/ofp-discover
NOTE: x86_64-poky-linux-objdump -p /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/packages-split/openflow-dbg/usr/bin/.debug/dpctl
NOTE: x86_64-poky-linux-objdump -p /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/packages-split/openflow-dbg/usr/bin/.debug/ofp-kill
NOTE: Checking Package: openflow-staticdev
NOTE: Checking Package: openflow-dev
NOTE: Checking Package: openflow-doc
NOTE: Checking Package: openflow-locale
NOTE: Checking Package: openflow
NOTE: x86_64-poky-linux-objdump -p /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/packages-split/openflow/usr/bin/controller
NOTE: x86_64-poky-linux-objdump -p /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/packages-split/openflow/usr/bin/vlogconf
NOTE: x86_64-poky-linux-objdump -p /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/packages-split/openflow/usr/bin/ofdatapath
NOTE: x86_64-poky-linux-objdump -p /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/packages-split/openflow/usr/bin/ofprotocol
NOTE: x86_64-poky-linux-objdump -p /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/packages-split/openflow/usr/bin/ofp-discover
NOTE: x86_64-poky-linux-objdump -p /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/packages-split/openflow/usr/bin/dpctl
NOTE: x86_64-poky-linux-objdump -p /media/sdb5/eel/build/tmp/work/x86_64-poky-linux/openflow/1.0+gitAUTOINC+5ccca75a69-r0/packages-split/openflow/usr/bin/ofp-kill
ERROR: QA run found fatal errors. Please consider fixing them.
DEBUG: Python function do_package_qa finished
DEBUG: Python function do_package finished
ERROR: Function failed: do_package_qa

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Fixed Q&A error for OpenFlow recipe
  2013-08-22  7:55   ` David Nyström
@ 2013-08-25  5:29     ` Bruce Ashfield
  0 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2013-08-25  5:29 UTC (permalink / raw)
  To: David Nyström; +Cc: meta-virtualization@yoctoproject.org

On Thu, Aug 22, 2013 at 3:55 AM, David Nyström <david.nystrom@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@gmail.com> wrote:
>>>
>>> Signed-off-by: David Nyström <david.nystrom@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@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"


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-25  5:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-21 14:16 [PATCH] Fixed Q&A error for OpenFlow recipe David Nyström
2013-08-22  0:54 ` Bruce Ashfield
2013-08-22  7:55   ` David Nyström
2013-08-25  5:29     ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.