Skip to contentSkip to conversation

Error building xen-image-minimal

DISCUSSION M. Gregory 5 participants 7 messages Jan 15, 2016 – Jan 19, 2016

lore
Share & tools
lore

M. Gregory

author
#0 lore raw

I am still new to openembedded and I have not encountered the error below before. It is occurring when building the xen-image-minimal recipe. I added {PN}-devd, which contains xendriverdomain, to the PACKAGE variable which solved the problem. Is that the correct solution? -Machon

ERROR: QA Issue: xen: Files/directories were installed but not shipped
in any package:
/etc/init.d/xendriverdomain
Please set FILES such that these items are packaged. Alternatively if
they are unneeded, avoid installing them or delete them within do_install.
xen: 1 installed and not shipped files. [installed-vs-shipped]
ERROR: Fatal QA errors found, failing task.
ERROR: Function failed: do_package
ERROR: Logfile of failure stored in:
/home/mbgrego/work/yocto/poky/build/tmp/work/core2-64-poky-linux/xen/4.6.0-r0/temp/log.do_package.3354
ERROR: Task 337 (/home/mbgrego/work/yocto/poky/meta-virtualization/recipes-extended/xen/xen_4.6.0.bb, do_package) failed with exit code '1'

#1 lore raw

Machon,

Quoted 5 lines · M. Gregory

I am still new to openembedded and I have not encountered the error below before. It is occurring when building the xen-image-minimal recipe. I added {PN}-devd, which contains xendriverdomain, to the PACKAGE variable which solved the problem. Is that the correct solution? -Machon

You might need to add something like:

FILES_${PN}-devd += "${sysconfdir}/init.d/xendriverdomain"

regards,
Armin

Quoted 14 lines

ERROR: QA Issue: xen: Files/directories were installed but not shipped
in any package:
/etc/init.d/xendriverdomain
Please set FILES such that these items are packaged. Alternatively if
they are unneeded, avoid installing them or delete them within do_install.
xen: 1 installed and not shipped files. [installed-vs-shipped]
ERROR: Fatal QA errors found, failing task.
ERROR: Function failed: do_package
ERROR: Logfile of failure stored in:
/home/mbgrego/work/yocto/poky/build/tmp/work/core2-64-poky-linux/xen/4.6.0-r0/temp/log.do_package.3354
ERROR: Task 337 (/home/mbgrego/work/yocto/poky/meta-virtualization/recipes-extended/xen/xen_4.6.0.bb, do_package) failed with exit code '1'

#2 lore raw
Quoted 10 lines · akuster

Machon,

Quoted 5 lines · M. Gregory

I am still new to openembedded and I have not encountered the error below before. It is occurring when building the xen-image-minimal recipe. I added {PN}-devd, which contains xendriverdomain, to the PACKAGE variable which solved the problem. Is that the correct solution? -Machon

Quoted 4 lines

You might need to add something like:

FILES_${PN}-devd += "${sysconfdir}/init.d/xendriverdomain"

Yes. That change should have been merged as part of:

https://lists.yoctoproject.org/pipermail/meta-virtualization/2015-December/001617.html

We might have to audit the different patches and make sure everything has landed and if not repost them.

Signature · 1 line
Doug Goldstein
#3 lore raw
Quoted 16 lines · Doug Goldstein
Quoted 10 lines · akuster

Machon,

Quoted 5 lines · M. Gregory

I am still new to openembedded and I have not encountered the error below before. It is occurring when building the xen-image-minimal recipe. I added {PN}-devd, which contains xendriverdomain, to the PACKAGE variable which solved the problem. Is that the correct solution? -Machon

Quoted 4 lines

You might need to add something like:

FILES_${PN}-devd += "${sysconfdir}/init.d/xendriverdomain"

Quoted 8 lines

Yes. That change should have been merged as part of:

https://lists.yoctoproject.org/pipermail/meta-virtualization/2015-December/001617.html

We might have to audit the different patches and make sure everything has landed and if not repost them.

Definitely do that audit! I was trying to track the various threads, but with the
discussion and partially overlapping series, I very well could have missed some
parts.

Bruce

Quoted 12 lines

--
Doug Goldstein

--
_______________________________________________
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"
#4 lore raw
Quoted 10 lines
Quoted 2 lines

We might have to audit the different patches and make sure everything has landed and if not repost them.

Definitely do that audit! I was trying to track the various threads, but with the
discussion and partially overlapping series, I very well could have missed some
parts.

Everything looks good on my end. Machon, can you confirm you are up-to-date on master?

author
#5 lore raw

I am up-to-date (6ec960100...). When I remove the patch (below) I get the same QA Issue (below). All the meta-virtualization dependencies are up-to-date on master, also. My local.conf is the default yocto configuration with MACHINE ?= "genericx86-64" and DISTRO_FEATURES_append = " xen". Am I missing something? And why is the ${PN}-devd not need in the PACKAGE variable?
-Machon

Patch:

recipes-extended/xen/xen.inc +1 -0
index ac9796b..c63cb2c 100644
@@ -149,6 +149,7 @@ PACKAGES = "\
     ${PN}-console \
     ${PN}-dbg \
     ${PN}-dev \
+    ${PN}-devd \
     ${PN}-doc \
     ${PN}-flask \
     ${PN}-fsimage \

QA Issue:

ERROR: QA Issue: xen: Files/directories were installed but not shipped
in any package:
/etc/init.d/xendriverdomain
Please set FILES such that these items are packaged. Alternatively if
they are unneeded, avoid installing them or delete them within do_install.
xen: 1 installed and not shipped files. [installed-vs-shipped]
ERROR: Fatal QA errors found, failing task.
ERROR: Function failed: do_package
ERROR: Logfile of failure stored in:
/home/mbgrego/work/yocto/poky/build/tmp/work/core2-64-poky-linux/xen/4.6.0-r0/temp/log.do_package.4500
ERROR: Task 337 (/home/mbgrego/work/yocto/poky/meta-virtualization/recipes-extended/xen/xen_4.6.0.bb, do_package) failed with exit code '1'

Quoted 2 lines · Chris Patterson

Everything looks good on my end. Machon, can you confirm you are up-to-date on master?

#6 lore raw

Sorry Machon, you're right. I did a fresh build yesterday and did not get a QA warning. I neglected to account for the fact that my tree is using systemd...

Thanks!

Quoted 49 lines · M. Gregory

I am up-to-date (6ec960100...). When I remove the patch (below) I get the same QA Issue (below). All the meta-virtualization dependencies are up-to-date on master, also. My local.conf is the default yocto configuration with MACHINE ?= "genericx86-64" and DISTRO_FEATURES_append = " xen". Am I missing something? And why is the ${PN}-devd not need in the PACKAGE variable?
-Machon

Patch:

recipes-extended/xen/xen.inc +1 -0
index ac9796b..c63cb2c 100644
@@ -149,6 +149,7 @@ PACKAGES = "\
     ${PN}-console \
     ${PN}-dbg \
     ${PN}-dev \
+    ${PN}-devd \
     ${PN}-doc \
     ${PN}-flask \
     ${PN}-fsimage \

QA Issue:

ERROR: QA Issue: xen: Files/directories were installed but not shipped
in any package:
/etc/init.d/xendriverdomain
Please set FILES such that these items are packaged. Alternatively if
they are unneeded, avoid installing them or delete them within do_install.
xen: 1 installed and not shipped files. [installed-vs-shipped]
ERROR: Fatal QA errors found, failing task.
ERROR: Function failed: do_package
ERROR: Logfile of failure stored in:
/home/mbgrego/work/yocto/poky/build/tmp/work/core2-64-poky-linux/xen/4.6.0-r0/temp/log.do_package.4500
ERROR: Task 337 (/home/mbgrego/work/yocto/poky/meta-virtualization/recipes-extended/xen/xen_4.6.0.bb, do_package) failed with exit code '1'

Quoted 2 lines · Chris Patterson

Everything looks good on my end. Machon, can you confirm you are up-to-date on master?

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization