Bug 795791 - ../src/internal.h:253:23: fatal error: probes.h: No such file or directory
Summary: ../src/internal.h:253:23: fatal error: probes.h: No such file or directory
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: i686
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-21 14:36 UTC by Andre Klapper
Modified: 2012-02-24 15:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-24 15:40:18 UTC


Attachments (Terms of Use)

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)'


Note You need to log in before you can comment on or make changes to this bug.