Strange FTBFS due to gdk-pixbuf

Bilal Akhtar bilalakhtar at ubuntu.com
Fri Oct 29 16:34:32 BST 2010


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

The package is vdkxdb2 and I tried that -I line, but it didn't work.

Thanks

On 10/29/2010 02:25 PM, Bhavani Shankar R wrote:
> 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
> 
> 


- -- 
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/

iQEcBAEBAgAGBQJMyumHAAoJENsMxwzgYeH2UhQH/isnXX/U74JN0ryk1ZHx31o2
NQqBAle73KhnPyHIo/QGyDYGYKhNAR2ZOppXoQDKHIUDPNWTz3ARrjzJWuZ4i6tg
ybvZQ75ZAJlNZ4q1UoTqHgyKXX6SnEkLoj07i44Q9DrW/uk5+BjWz2ODw4B2x/yB
BxXlf6Gug3iLcMX7VCCwrI6T3KSnlk37/yCkSnnWVq3WHl0FGH9CYJasiYM3cC33
weXzzVkL1tiYAaHxERUmp+nMwIkf8in/j0pk4zJmHWwtOi8UAPJ/IV4PDF6PihTx
HbCP+0Whqvkvr6Y0+HMKgjamKD/WuBm8BA4sou2NyIXBjKb/8LPQz4JAT+ADLyg=
=LCPg
-----END PGP SIGNATURE-----



More information about the Ubuntu-motu mailing list