Bug#636133: libgtk2-mozembed-perl: FTBFS: gdkconfig.h: No such file or directory

Jonathan Yu jawnsy at cpan.org
Mon Aug 1 02:38:01 UTC 2011


Hi,

I have successfully reproduced this issue in a sid chroot, and
subsequently confirmed that this issue (the immediate issue, but not
the FTBFS) can be fixed by rebuilding libgtk2-perl:

[ XS xs/GtkMozEmbed.xs ]
[ CC xs/GtkMozEmbed.c ]
In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:32:0,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from /usr/lib/perl5/Gtk2/Install/gtk2perl.h:29,
                 from ./gtkmozembed2perl.h:28,
                 from xs/GtkMozEmbed.xs:21:
/usr/include/gtk-2.0/gdk/gdktypes.h:55:23: fatal error: gdkconfig.h:
No such file or directory
compilation terminated.
make[1]: *** [xs/GtkMozEmbed.o] Error 1
make[1]: Leaving directory `/root/libgtk2-mozembed-perl'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

After rebuilding and installing the rebuilt version:

(Reading database ... 26678 files and directories currently installed.)
Preparing to replace libgtk2-perl 2:1.223-1+b1 (using
.../libgtk2-perl_1.223-2_i386.deb) ...
Unpacking replacement libgtk2-perl ...
Setting up libgtk2-perl (2:1.223-2) ...

(this version came out of the pkg-perl git)

[ XS xs/GtkMozEmbed.xs ]
[ CC xs/GtkMozEmbed.c ]
In file included from xs/GtkMozEmbed.xs:21:0:
./gtkmozembed2perl.h:34:25: fatal error: gtkmozembed.h: No such file
or directory
compilation terminated.
make[1]: *** [xs/GtkMozEmbed.o] Error 1
make[1]: Leaving directory `/root/libgtk2-mozembed-perl'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

It looks like the gtkmozembed.h file is no longer available anywhere.
There are a few results from apt-file, but the newest version of
xulrunner (now in sid) is xulrunner-5.0, which does not seem to
provide this file.

apt-file says:

icedove-dev: /usr/include/icedove/gtkmozembed.h
kompozer-dev: /usr/include/kompozer/gtkembedmoz/gtkmozembed.h
xulrunner-dev: /usr/include/xulrunner-1.9.1/unstable/gtkmozembed.h

I think that this package will only be able to build if you restrict
it to build with the previous version of xulrunner...

Cheers,

Jonathan





More information about the pkg-perl-maintainers mailing list