Re: Strange FTBFS due to gdk-pixbuf

2010-10-29 Thread Krzysztof Klimonda
On Fri, 2010-10-29 at 18:03 +0200, أحمد المحمودي wrote:
> On Fri, Oct 29, 2010 at 11:49:21AM -0400, Krzysztof Klimonda wrote:
> > the vdk-config-2 script adds only -I/usr/include/gtk-2.0 and not
> > -I/usr/include/gdk-pixbuf-2.0 to cflags and because of that applications
> > can't find headers.
> ---end quoted text---
> 
>   Maybe the upstream configure scripts should be patched to use 
>   pkg-config ?
> 

Yes, that would probably be the best solution. Unfortunately libvdk2
itself doesn't come with pkg-config file so we would still have to fix
the vdk-config-2 script anyway (which is, afaics, a matter of simply
rebuilding vdk2) because some 3rd party application may still use it.
After the script is fixed all application that use it should be good to
go again. I've filled bug 668414 so MOTU can act on it.

Cheers,
  KK

-- 
Krzysztof Klimonda 


signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu


Re: Strange FTBFS due to gdk-pixbuf

2010-10-29 Thread أحمد المحمودي
On Fri, Oct 29, 2010 at 11:49:21AM -0400, Krzysztof Klimonda wrote:
> the vdk-config-2 script adds only -I/usr/include/gtk-2.0 and not
> -I/usr/include/gdk-pixbuf-2.0 to cflags and because of that applications
> can't find headers.
---end quoted text---

  Maybe the upstream configure scripts should be patched to use 
  pkg-config ?

-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7


signature.asc
Description: Digital signature
-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu


Re: Strange FTBFS due to gdk-pixbuf

2010-10-29 Thread Krzysztof Klimonda
On Fri, 2010-10-29 at 18:34 +0300, Bilal Akhtar wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> The package is vdkxdb2 and I tried that -I line, but it didn't work.
> 
> Thanks
> 

Hey,

The problem is actually in libvdk2-dev. In this cycle Gtk+ developers
have split gdk-pixbuf out of the Gtk+ source so now gdk-pixbuf headers
live in /usr/include/gdk-pixbuf-2.0 instead of /usr/include/gtk-2.0. But
the vdk-config-2 script adds only -I/usr/include/gtk-2.0 and not
-I/usr/include/gdk-pixbuf-2.0 to cflags and because of that applications
can't find headers.

Cheers,
  KK

-- 
Krzysztof Klimonda 


signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu


Re: Strange FTBFS due to gdk-pixbuf

2010-10-29 Thread Bilal Akhtar
-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  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/~bilala

Re: Strange FTBFS due to gdk-pixbuf

2010-10-29 Thread Bhavani Shankar R
On Fri, Oct 29, 2010 at 4:32 PM, Bilal Akhtar  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..!

-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu


Strange FTBFS due to gdk-pixbuf

2010-10-29 Thread Bilal Akhtar
-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-

-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings o