Strange FTBFS due to gdk-pixbuf

Bilal Akhtar bilalakhtar at ubuntu.com
Fri Oct 29 12:02:47 BST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello there, devs!
	While merging a package from Debian I faced an FTBFS that appears like
this in the pbuilder natty log:


# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/tmp/buildd/vdkxdb2-2.4.0'
/usr/bin/make  all-recursive
make[2]: Entering directory `/tmp/buildd/vdkxdb2-2.4.0'
Making all in doc
make[3]: Entering directory `/tmp/buildd/vdkxdb2-2.4.0/doc'
Making all in doxy
make[4]: Entering directory `/tmp/buildd/vdkxdb2-2.4.0/doc/doxy'
Makefile:340: warning: overriding commands for target `distclean'
Makefile:267: warning: ignoring old commands for target `distclean'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/buildd/vdkxdb2-2.4.0/doc/doxy'
make[4]: Entering directory `/tmp/buildd/vdkxdb2-2.4.0/doc'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/tmp/buildd/vdkxdb2-2.4.0/doc'
make[3]: Leaving directory `/tmp/buildd/vdkxdb2-2.4.0/doc'
Making all in include
make[3]: Entering directory `/tmp/buildd/vdkxdb2-2.4.0/include'
Making all in vdkxdb2
make[4]: Entering directory `/tmp/buildd/vdkxdb2-2.4.0/include/vdkxdb2'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/buildd/vdkxdb2-2.4.0/include/vdkxdb2'
make[4]: Entering directory `/tmp/buildd/vdkxdb2-2.4.0/include'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/tmp/buildd/vdkxdb2-2.4.0/include'
make[3]: Leaving directory `/tmp/buildd/vdkxdb2-2.4.0/include'
Making all in src
make[3]: Entering directory `/tmp/buildd/vdkxdb2-2.4.0/src'
if /bin/bash ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
- -I../include -I/usr/include/vdk2 -I/usr/include/gtk-2.0
- -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
- -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
- -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
- -I/usr/include/libpng12 -I/usr/include/pixman-1    -s -O2 -Wall
- -Wcast-qual -Woverloaded-virtual -Wconversion -Wstrict-prototypes
- -Winline -Wno-deprecated  -MT vdkxdb.lo -MD -MP -MF ".deps/vdkxdb.Tpo" \
	  -c -o vdkxdb.lo `test -f 'vdkxdb.cc' || echo './'`vdkxdb.cc; \
	then mv -f ".deps/vdkxdb.Tpo" ".deps/vdkxdb.Plo"; \
	else rm -f ".deps/vdkxdb.Tpo"; exit 1; \
	fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/include/vdk2
- -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
- -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
- -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
- -I/usr/include/libpng12 -I/usr/include/pixman-1 -s -O2 -Wall -Wcast-qual
- -Woverloaded-virtual -Wconversion -Wstrict-prototypes -Winline
- -Wno-deprecated -MT vdkxdb.lo -MD -MP -MF .deps/vdkxdb.Tpo -c vdkxdb.cc
 -fPIC -DPIC -o .libs/vdkxdb.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:28:0,
                 from /usr/include/gtk-2.0/gdk/gdk.h:33,
                 from /usr/include/vdk2/vdk/vdkfont.h:30,
                 from /usr/include/vdk2/vdk/vdkprops.h:31,
                 from ../include/vdkxdb2/vdkxtable.h:32,
                 from vdkxdb.cc:29:
/usr/include/gtk-2.0/gdk/gdkpixbuf.h:37:35: fatal error:
gdk-pixbuf/gdk-pixbuf.h: No such file or directory
compilation terminated.
make[3]: *** [vdkxdb.lo] Error 1
make[3]: Leaving directory `/tmp/buildd/vdkxdb2-2.4.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/vdkxdb2-2.4.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/vdkxdb2-2.4.0'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//25328 and its
subdirectories

I have the libgdk-pixbuf2.0-dev package in the build-depends and I am
not able to find out the cause or the fix.

Is the GTK package including the wrong header file?

Bilal Akhtar.

- -- 
Bilal Akhtar - Ubuntu Developer, yet still 14 years old.
More information about him can be found on
https://edge.launchpad.net/~bilalakhtar
IRC nick: bilalakhtar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMyqnWAAoJENsMxwzgYeH2UqkH/RJ+7fQc8ERIMwvSKFjYbdGI
sqtdRl6PMvnwmxyc0a730Rl2wPQdDpGCOGJYNIZzj2IUX86H4GD5flvthqT3hNi0
GOc7tB/Du1uBN70VDwTCGfp/8HJflNkVM7H64tffwZ3//L+6q9fIWGaZ2rq/bUMx
n9oKqdMfEwgdcd5BoYxNbcDOzpWCDeZvn0nS6gUrvvbMG8oYA/NNbYTLaxC8xVzc
rbnp4UGMydK15p798DnYV+yPBWtwh/M4NLaP17F0/8YM/co+J1b8JeRQkri+PNU/
MGiFy4DCWh6gX+HWf+Z2Ydak1vEXE4/dPHjGpqN9tlkG/9EeRXOv9bHb9ep22ew=
=ONY1
-----END PGP SIGNATURE-----



More information about the Ubuntu-motu mailing list