[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#483076: dpkg-cross: corrupted pkg-config data for libcairo-directfb



Package: dpkg-cross
Version: 2.2.1
Severity: minor

$ pkg-config --cflags cairo-directfb
-D_REENTRANT -I/usr/lib/libcairo-directfb/include/cairo
-I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12
-I/usr/include/pixman-1  
$ PKG_CONFIG_PATH=/usr/arm-linux-gnu/lib/pkgconfig/ pkg-config --cflags
cairo-directfb
-D_REENTRANT -I/usr/arm-linux-gnu/include/cairo
-I/usr/arm-linux-gnu/include/freetype2 -I/usr/arm-linux-gnu/include
-I/usr/arm-linux-gnu/include/directfb
-I/usr/arm-linux-gnu/include/libpng12
-I/usr/arm-linux-gnu/include/pixman-1  

What is missing there is:
-I/usr/arm-linux-gnu/lib/libcairo-directfb/include/cairo

instead there is:
-I/usr/arm-linux-gnu/include/cairo

This causes a build failure in the gtk+ udeb which cannot find the
libcairo-directfb headers:


$ tail -20 ../gtk+2.0_2.12.9-4em1_arm.build
	then mv -f ".deps/gdkdrawable-directfb.Tpo"
".deps/gdkdrawable-directfb.Plo"; \
	else rm -f ".deps/gdkdrawable-directfb.Tpo"; exit 1; \
	fi
 arm-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I/opt/emdebian/trunk/g/gtk+2.0/trunk/gtk+2.0-2.12.9/gdk/directfb
-I../.. -DG_LOG_DOMAIN=\"Gdk-DirectFB\" -DGDK_COMPILATION
-I/opt/emdebian/trunk/g/gtk+2.0/trunk/gtk+2.0-2.12.9
-I/opt/emdebian/trunk/g/gtk+2.0/trunk/gtk+2.0-2.12.9/gdk -I../../gdk
-DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -D_REENTRANT
-I/usr/arm-linux-gnu/include/glib-2.0
-I/usr/arm-linux-gnu/lib/glib-2.0/include
-I/usr/arm-linux-gnu/include/cairo
-I/usr/arm-linux-gnu/include/freetype2 -I/usr/arm-linux-gnu/include
-I/usr/arm-linux-gnu/include/directfb
-I/usr/arm-linux-gnu/include/libpng12
-I/usr/arm-linux-gnu/include/pixman-1
-I/usr/arm-linux-gnu/include/pango-1.0 -D_REENTRANT
-I/usr/arm-linux-gnu/include/cairo
-I/usr/arm-linux-gnu/include/freetype2 -I/usr/arm-linux-gnu/include
-I/usr/arm-linux-gnu/include/directfb
-I/usr/arm-linux-gnu/include/libpng12
-I/usr/arm-linux-gnu/include/pixman-1 -g -O2 -Wall -g -O2 -MT
gdkdrawable-directfb.lo -MD -MP -MF .deps/gdkdrawable-directfb.Tpo -c
/opt/emdebian/trunk/g/gtk+2.0/trunk/gtk
+2.0-2.12.9/gdk/directfb/gdkdrawable-directfb.c
-fPIC -DPIC -o .libs/gdkdrawable-directfb.o
/opt/emdebian/trunk/g/gtk+2.0/trunk/gtk
+2.0-2.12.9/gdk/directfb/gdkdrawable-directfb.c:49:28:
error: cairo-directfb.h: No such file or directory
/opt/emdebian/trunk/g/gtk+2.0/trunk/gtk
+2.0-2.12.9/gdk/directfb/gdkdrawable-directfb.c:
In function ‘gdk_directfb_ref_cairo_surface’:
/opt/emdebian/trunk/g/gtk+2.0/trunk/gtk
+2.0-2.12.9/gdk/directfb/gdkdrawable-directfb.c:1044:
warning: implicit declaration of function
‘cairo_directfb_surface_create’
/opt/emdebian/trunk/g/gtk+2.0/trunk/gtk
+2.0-2.12.9/gdk/directfb/gdkdrawable-directfb.c:1044:
warning: assignment makes pointer from integer without a cast
make[5]: *** [gdkdrawable-directfb.lo] Error 1
make[5]: Leaving directory
`/opt/emdebian/trunk/g/gtk+2.0/trunk/gtk
+2.0-2.12.9/debian/build/directfb/gdk/directfb'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/opt/emdebian/trunk/g/gtk+2.0/trunk/gtk
+2.0-2.12.9/debian/build/directfb/gdk'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/opt/emdebian/trunk/g/gtk+2.0/trunk/gtk
+2.0-2.12.9/debian/build/directfb/gdk'



-- Package-specific info:

-- /etc/dpkg-cross/cross-compile --

#
# /etc/dpkg-cross/cross-compile: configuration for dpkg-cross & Co.
#

# default architecture for dpkg-cross (to avoid always typing the -a
option
# if you do cross installations only for one architecture)
# Note: default_arch is managed by debconf - it can be overridden
# if ~/.dpkg-cross/cross-compile exists or by specifying an
# architecture on the command line.
# Use '[sudo] dpkg-reconfigure dpkg-cross' to change this value.
default_arch = arm

#
# general section: paths of cross compiling environment
#
# you can set the following variables here:
#  crossprefix: prefix for cross compiling binaries; default:
$(DEB_HOST_GNU_SYSTEM)-
#  crossbase  : base prefix for the following; default: /usr
#  crossdir   : base directory for architecture; default:
#               $(CROSSBASE)/$(DEB_HOST_GNU_TYPE)
#  crossbin   : dir for binaries; default: $(CROSSDIR)/bin
#  crosslib   : dir for libraries; default: $(CROSSDIR)/lib
#  crossinc   : dir for headers; default: $(CROSSDIR)/include
#  maintainer : maintainer name to pass to original dpkg-buildpackage
#               in -m option. If not set at all, don't pass a -m, thus
#               dpkg-buildpackage will use the name from the changelog
#               file. If set to the special string CURRENTUSER,
#               dpkg-buildpackage will use the name from the
#               changelog, too, but signing the .changes will be done
#               as the current user (default key).
#  removedeps : comma-separated list of package names that should be
removed
#               from depends/conflicts/etc fields
#  keepdeps   : comma-separated list of package names that should be
kept
#               in depends/conflicts/etc fields as is, without adding
#               -arch-cross.
#
# Usually, you need only set crossbase, or maybe also crossdir
#
crossbase = /usr

# A crossroot definition is for the
complete-Debian-system-mounted-somewhere
# approach, mainly used for Hurd.
#crossroot-hurd-i386 = /gnu

#
# This setting for maintainer is usually right:
#
maintainer = CURRENTUSER

#
# This list is no longer being updated - implement on the command line
instead.
#
removedeps = gcc, binutils, gpm, cpp, debianutils, xfree86-common,
libpam-runtime, xlibs-data, debconf, tzdata
keepdeps = gcc-3.3-base, gcc-3.4-base, gcc-4.0-base, gcc-4.1-base

#
# per-package sections: additional environment variables to set
#
# These are no longer updated - implement on the command line instead.

package e2fsprogs:
	unset LD

# by Jorik Jonker <jorik@dnd.utwente.nl>
package glibc:
scope makeflags:
	LINUX_SOURCE = $(CROSSDIR)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg-cross depends on:
ii  binutils-multiarch  2.18.1~cvs20080103-6 Binary utilities that
support mult
ii  debconf [debconf-2. 1.5.22               Debian configuration
management sy
ii  dpkg-dev            1.14.19              package building tools for
Debian
ii  libdebian-dpkgcross 2.2.1                functions to aid
cross-compiling D
ii  perl                5.10.0-10            Larry Wall's Practical
Extraction 

Versions of packages dpkg-cross recommends:
ii  fakeroot                      1.9.5      Gives a fake root
environment

-- debconf information:
* dpkg-cross/default-arch: arm

-- 
Neil Williams <codehelp@debian.org>

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: