Strange FTBFS due to gdk-pixbuf

Bhavani Shankar R bhavi at ubuntu.com
Fri Oct 29 12:25:14 BST 2010


On Fri, Oct 29, 2010 at 4:32 PM, Bilal Akhtar <bilalakhtar at ubuntu.com> wrote:
>        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?
>

Hey there bilal

I think this is a transition problem. Can you check the linking of .la
files to have include something like this:
-I/usr/include/gdk-pixbuf-2.0/
and can you give an info on the package you are intending to merge?

Regards


-- 
Bhavani Shankar.R
https://launchpad.net/~bhavi, a proud ubuntu community developer.
What matters in life is application of mind!,
It makes great sense to have some common sense..!



More information about the Ubuntu-motu mailing list