Bug 795791

Summary: ../src/internal.h:253:23: fatal error: probes.h: No such file or directory
Product: [Community] Virtualization Tools Reporter: Andre Klapper <a9016009>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, crobinso, dallan, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-24 15:40:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Andre Klapper 2012-02-21 14:36:12 UTC
Trying to build libvirt 0.9.10 on Fedora 16 with jhbuild (GNOME's default build tool) to compile gnome-boxes:

libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.7 -I/usr/include/python2.7 -I../gnulib/lib -I../gnulib/lib -I../src -I../src -I../src/util -I../include -I../include -Wall -W -Wformat-y2k -Wformat-security -Winit-self -Wmissing-include-dirs -Wunused -Wunknown-pragmas -Wstrict-aliasing -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wlogical-op -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Winline -Winvalid-pch -Wvolatile-register-var -Wdisabled-optimization -Wbuiltin-macro-redefined -Wmudflap -Wpacked-bitfield-compat -Wsync-nand -Wattributes -Wcoverage-mismatch -Wmultichar -Wcpp -Wdeprecated-declarations -Wdiv-by-zero -Wdouble-promotion -Wendif-labels -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-zero-length -Wformat=2 -Wmultichar -Wnormalized=nfc -Woverflow -Wpointer-to-int-cast -Wpragmas -Wsuggest-attribute=const -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wtrampolines -Wno-missing-field-initializers -Wno-sign-compare -Wjump-misses-init -Wno-format-nonliteral -Wframe-larger-than=4096 -fstack-protector-all --param=ssp-buffer-size=4 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -Wno-redundant-decls -g -O0 -march=prescott -MT libvirtmod_la-libvirt-override.lo -MD -MP -MF .deps/libvirtmod_la-libvirt-override.Tpo -c libvirt-override.c  -fPIC -DPIC -o .libs/libvirtmod_la-libvirt-override.o
In file included from ../src/util/memory.h:27:0,
                 from libvirt-override.c:27:
../src/internal.h:253:23: fatal error: probes.h: No such file or directory
compilation terminated.
make[3]: *** [libvirtmod_la-libvirt-override.lo] Error 1
make[3]: Leaving directory `/home/andre/git-gnome/libvirt-0.9.10/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/andre/git-gnome/libvirt-0.9.10/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andre/git-gnome/libvirt-0.9.10'
make: *** [all] Error 2
*** Error during phase build of libvirt: ########## Error running make   *** [19/29]

  [1] Rerun phase build
  [2] Ignore error and continue to install
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "configure"
  [8] Go to phase "clean"
  [9] Go to phase "distclean"
choice:

Comment 1 Andre Klapper 2012-02-23 10:30:30 UTC
Found http://www.redhat.com/archives/libvir-list/2011-October/msg00693.html which looks quite similar but at a different place.

Comment 2 Dave Allan 2012-02-23 21:09:42 UTC
This isn't something that I've seen anybody else want to do, but I'm sure upstream would be willing to consider patches if you can figure out what's happening, though.  You might get more of a response if you mention what you're seeing on libvir-list.

Comment 3 Daniel Berrangé 2012-02-24 15:40:18 UTC
Hurrah for fubar Python header files. Fix upstream

https://www.redhat.com/archives/libvir-list/2012-February/msg01019.html


As a workaround  'yum install systemtap-sdt-devel'  (or equivalent on your distro)'