If the host machine has dtrace, or systemtap development libraries installed, libvirt will detect their headers and enable dtrace probe support. But since we don't have a dependency on dtrace, the build will fail with: | compilation terminated. | In file included from ./internal.h:297:0, | from util/bitmap.h:27, | from util/bitmap.c:33: | ./libvirt_probes.h:9:21: fatal error: sys/sdt.h: No such file or directory There are three problems: - a host contamination issue - dtrace/probes being automatically enabled - a lack of integrated systemtap/dtrace solution Fixing any of the above will make the problem go away, to fix currently broken builds, we can fix the problem by adding dtrace as a PACKAGECONFIG option, and leaving it disabled. This change doesn't add a dtrace/systemtap dependency to the config entry, since they haven't been confirmed at this point. In the future, we should either fix the host contamination or do a full systemtap/dtrae integration, but for now, simply disabling it is the best choice. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> |
||
|---|---|---|
| conf | ||
| docs | ||
| recipes-containers | ||
| recipes-core | ||
| recipes-devtools/python | ||
| recipes-extended | ||
| recipes-kernel/linux | ||
| recipes-networking | ||
| .gitignore | ||
| COPYING.MIT | ||
| README | ||
meta-virtualization
This layer provides support for building Xen, KVM, Libvirt, and associated packages necessary for constructing OE-based virtualized solutions.
Dependencies
This layer depends on:
URI: git://github.com/openembedded/oe-core.git branch: master revision: HEAD prio: default
URI: git://github.com/openembedded/meta-oe.git branch: master revision: HEAD layers: meta-oe meta-networking
BBFILE_PRIORITY_openembedded-layer = "4"
Maintenance
Send pull requests, patches, comments or questions to meta-virtualization@yoctoproject.org
Maintainers: Raymond Danks ray.danks@se-eng.com David Nyström david.nystrom@enea.com Bruce Ashfield bruce.ashfield@gmail.com
When sending single patches, please using something like: 'git send-email -1 --to meta-virtualization@yoctoproject.org --subject-prefix=meta-virtualization][PATCH'
License
All metadata is MIT licensed unless otherwise stated. Source code included in tree for individual recipes is under the LICENSE stated in each recipe (.bb file) unless otherwise stated.