Bug#764272: gobject-introspection: tests/*.c #include config.h which is missing

Niko Tyni ntyni at debian.org
Mon Oct 6 19:24:32 UTC 2014


Package: gobject-introspection
Version: 1.42.0-2
Control: affects -1 libglib-object-introspection-perl
X-Debbugs-Cc: libglib-object-introspection-perl at packages.debian.org, intrigeri at debian.org

The libglib-object-introspection-perl package recently started
skipping its test suite because it can't "build test libraries".

Adding some debugging into Makefile.PL shows it's trying to do this:

  % gcc -shared -fPIC -g \
              -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12  -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  \
              /usr/share/gobject-introspection-1.0/tests/regress.c \
              -lcairo  -lcairo-gobject -lcairo -lgobject-2.0 -lglib-2.0  -lgio-2.0 -lgobject-2.0 -lglib-2.0  \
              -o libregress.so
  /usr/share/gobject-introspection-1.0/tests/regress.c:2:20: fatal error: config.h: No such file or directory
   #include "config.h"
                      ^
  compilation terminated.
  
It looks like /usr/share/gobject-introspection-1.0/tests/*.c have acquired
 #include "config.h"
between 1.40.0-2 and 1.42.0-2, and I can't see config.h in the package.

I assume this not intentional?
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-gnome-maintainers mailing list