Fixed Q&A error for OpenFlow recipe
PATCH 1/1 Fixed Q&A error for OpenFlow recipe
--- recipes-networking/openflow/openflow_1.0.bb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
recipes-networking/openflow/openflow_1.0.bb +7 -2
@@ -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 +inherit autotools + +do_install_append() { + # Remove /var/run as it is created on startup + rm -rf ${D}${localstatedir}/run +}
Signature · 1 line
1.8.3.2
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.
recipes-networking/openflow/openflow_1.0.bb line 1
Quoted 12 lines · David Nyström
Signed-off-by David Nyström <[email protected]>--- recipes-networking/openflow/openflow_1.0.bb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)recipes-networking/openflow/openflow_1.0.bb +1
-1@@ -1,4 +1,4 @@ -SUMMARY = "OpelFlow" +SUMMARY = "OpenFlow"
I for one liked the OpelFlow support! :)
Quoted 5 lines
recipes-networking/openflow/openflow_1.0.bb +0
-0DESCRIPTION = "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"
recipes-networking/openflow/openflow_1.0.bb PACKAGECONFIG[libssl] = "--enable-ssl,--disable-ssl, openssl, libssl" · line 29
Quoted 10 lines
recipes-networking/openflow/openflow_1.0.bb +6
-1S = "${WORKDIR}/git" -inherit autotools +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
Quoted 7 lines
--
1.8.3.2_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
$ 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
Quoted 40 lines · Bruce Ashfield
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.recipes-networking/openflow/openflow_1.0.bb line 1
Quoted 12 lines · David Nyström
Signed-off-by David Nyström <[email protected]>--- recipes-networking/openflow/openflow_1.0.bb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)recipes-networking/openflow/openflow_1.0.bb +1
-1@@ -1,4 +1,4 @@ -SUMMARY = "OpelFlow" +SUMMARY = "OpenFlow"I for one liked the OpelFlow support! :)
Quoted 5 lines
recipes-networking/openflow/openflow_1.0.bb +0
-0DESCRIPTION = "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"recipes-networking/openflow/openflow_1.0.bb PACKAGECONFIG[libssl] = "--enable-ssl,--disable-ssl, openssl, libssl" · line 29
Quoted 10 lines
recipes-networking/openflow/openflow_1.0.bb +6
-1S = "${WORKDIR}/git" -inherit autotools +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.
Quoted 12 lines
Bruce
Quoted 7 lines
--
1.8.3.2_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
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
Quoted 31 lines · David Nyström
$ 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"
Quoted 6 lines
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
Quoted 88 lines
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,
DavidQuoted 61 lines · Bruce Ashfield
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.Quoted 12 lines · David Nyström
Signed-off-by David Nyström <[email protected]>--- recipes-networking/openflow/openflow_1.0.bb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)recipes-networking/openflow/openflow_1.0.bb +0
-0recipes-networking/openflow/openflow_1.0.bb line 1
Quoted 2 lines
recipes-networking/openflow/openflow_1.0.bb +1
-1@@ -1,4 +1,4 @@ -SUMMARY = "OpelFlow" +SUMMARY = "OpenFlow"I for one liked the OpelFlow support! :)
Quoted 9 lines
recipes-networking/openflow/openflow_1.0.bb +0
-0DESCRIPTION = "Provide a generic framework for handling devices inuserspace."
HOMEPAGE = "http://www.openflow.org"
SECTION = "networking"recipes-networking/openflow/openflow_1.0.bb +0
-0@@ -21,4 +21,9 @@ PACKAGECONFIG[libssl] = "--enable-ssl,--disable-ssl,openssl, libssl"
S = "${WORKDIR}/git"recipes-networking/openflow/openflow_1.0.bb PACKAGECONFIG[libssl] = "--enable-ssl,--disable-ssl, openssl, libssl" · line 29
Quoted 8 lines
recipes-networking/openflow/openflow_1.0.bb +6
-1-inherit autotools +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
Quoted 7 lines
--
1.8.3.2_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"