Package: cairo
Version: cairo_1.10.2-1.1~bpo60+1
Severity: serious
Tags: squeeze
Justification: fails to build from source

I added deb-src http://mozilla.debian.net squeeze-backports iceweasel-release
to my sources.list today as I saw a newer cairo source (the older bpo cairo
source I found in iceweasel 5.0 did not build either). So I retrieved the
source and tried to dpkg-buildpackage it. It did not work. The following log
shows it all:

sudo apt source cairo
Reading package lists... Done
Building dependency tree
Reading state information... Done
NOTICE: 'cairo' packaging is maintained in the 'Git' version control system at:
git://git.debian.org/git/collab-maint/cairo.git
Need to get 23.6 MB of source archives.
Get:1 http://mozilla.debian.net/ squeeze-backports/iceweasel-release cairo
1.10.2-1.1~bpo60+1 (dsc) [1,450 B]
Get:2 http://mozilla.debian.net/ squeeze-backports/iceweasel-release cairo
1.10.2-1.1~bpo60+1 (tar) [23.6 MB]
Get:3 http://mozilla.debian.net/ squeeze-backports/iceweasel-release cairo
1.10.2-1.1~bpo60+1 (diff) [27.9 kB]
Fetched 23.6 MB in 1min 18s (300 kB/s)
dpkg-source: warning: extracting unsigned source package
(cairo_1.10.2-1.1~bpo60+1.dsc)
dpkg-source: info: extracting cairo in cairo-1.10.2
dpkg-source: info: unpacking cairo_1.10.2.orig.tar.gz
dpkg-source: info: unpacking cairo_1.10.2-1.1~bpo60+1.debian.tar.gz
dpkg-source: info: applying 01_build_perf_utils.patch
dpkg-source: info: applying 02_am-maintainer-mode.patch
jeroen@debian
~/development/backport/cairo $ ls
cairo-1.10.2                            cairo_1.10.2-1.1~bpo60+1.dsc
cairo_1.10.2-1.1~bpo60+1.debian.tar.gz  cairo_1.10.2.orig.tar.gz
jeroen@debian
~/development/backport/cairo $ cd cairo-1.10.2/
jeroen@debian
~/development/backport/cairo/cairo-1.10.2 $ sudo dpkg-buildpackage
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g
-O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: source package cairo
dpkg-buildpackage: source version 1.10.2-1.1~bpo60+1
dpkg-buildpackage: source changed by Mike Hommey <gland...@debian.org>
dpkg-buildpackage: host architecture powerpc
 dpkg-source --before-build cairo-1.10.2
 debian/rules clean
dh_testdir
dh_testroot
[ ! -r src/cairo-features.h.orig ] || mv -f src/cairo-features.h.orig src
/cairo-features.h
[ ! -r configure-common-stamp ] || patch -NRp1 < debian/ltmain_as-needed.patch
rm -f *-stamp
rm -rf /home/jeroen/development/backport/cairo/cairo-1.10.2/debian/build
/home/jeroen/development/backport/cairo/cairo-1.10.2/debian/install
dh_autoreconf_clean
dh_clean
 dpkg-source -b cairo-1.10.2
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building cairo using existing ./cairo_1.10.2.orig.tar.gz
dpkg-source: info: building cairo in cairo_1.10.2-1.1~bpo60+1.debian.tar.gz
dpkg-source: info: building cairo in cairo_1.10.2-1.1~bpo60+1.dsc
 debian/rules build
dh_testdir
# Generated by configure and breaks the build if already existing
test -r src/cairo-features.h && \
          mv src/cairo-features.h src/cairo-features.h.orig
make: [configure-common-stamp] Error 1 (ignored)
dh_autoreconf
configure.ac:3: warning: AC_INIT: not a literal:
http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build'.
libtoolize: copying file `build/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build'.
libtoolize: copying file `build/libtool.m4'
libtoolize: copying file `build/ltoptions.m4'
libtoolize: copying file `build/ltsugar.m4'
libtoolize: copying file `build/ltversion.m4'
libtoolize: copying file `build/lt~obsolete.m4'
configure.ac:3: warning: AC_INIT: not a literal:
http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
configure.ac:15: error: possibly undefined macro: dnl
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:37: error: possibly undefined macro: AC_CHECK_LIB
configure.ac:38: error: possibly undefined macro: AC_CHECK_HEADER
configure.ac:40: error: possibly undefined macro: AC_DEFINE
configure.ac:58: error: possibly undefined macro: PKG_CHECK_MODULES
configure.ac:59: error: possibly undefined macro: AC_MSG_RESULT
configure.ac:61: error: possibly undefined macro: AC_PATH_XTRA
configure.ac:178: error: possibly undefined macro: AC_MSG_WARN
configure.ac:188: error: possibly undefined macro: AC_ARG_WITH
configure.ac:189: error: possibly undefined macro: AS_HELP_STRING
configure.ac:195: error: possibly undefined macro: AC_SUBST
configure.ac:280: error: possibly undefined macro: AC_ARG_VAR
configure.ac:325: error: possibly undefined macro: AS_IF
configure.ac:453: error: possibly undefined macro: AC_PATH_PROG
configure.ac:458: error: possibly undefined macro: AC_MSG_CHECKING
configure.ac:646: error: possibly undefined macro: CAIRO_CONFIGURE_PTHREAD
configure:15673: error: possibly undefined macro: AM_PROG_CC_C_O
configure:15857: error: possibly undefined macro: CAIRO_INIT_MAKEFILES
configure:15858: error: possibly undefined macro: CAIRO_MAKEFILE_INCLUDE
configure:15858: error: possibly undefined macro:
CAIRO_MAKEFILE_ACCUMULATE_FEATURE
configure:15858: error: possibly undefined macro: CAIRO_CONFIG_MAKEFILE
configure:15860: error: possibly undefined macro: CAIRO_MAKEFILE_ACCUMULATE
configure:15906: error: possibly undefined macro: CAIRO_FEATURE_VARS_REGISTER
configure:15906: error: possibly undefined macro:
CAIRO_ACCUMULATED_FEATURE_VARS_REGISTER
configure:15909: error: possibly undefined macro: CAIRO_FEATURE_HOOK_REGISTER
configure:15911: error: possibly undefined macro:
_CAIRO_FEATURE_CONFIG_PKGCONFIG_FILE
configure:15913: error: possibly undefined macro: cr_feature_name
configure:15914: error: possibly undefined macro: cr_feature_pc
configure:15923: error: possibly undefined macro: cr_feature_uninstalled_pc
configure:15936: error: possibly undefined macro: CAIRO_ACCUMULATORS_REGISTER
configure:15937: error: possibly undefined macro: cr_feature_tag
configure:15937: error: possibly undefined macro: CAIRO_ACCUMULATE
configure:15954: error: possibly undefined macro:
CAIRO_CONFIG_MAKEFILE_PRIVATE_WIN32
configure:15969: error: possibly undefined macro: CAIRO_TEXT_WRAP
configure:18163: error: possibly undefined macro: _CAIRO_ENABLE
configure:19774: error: possibly undefined macro: CAIRO_NATIVE_SURFACE_BACKENDS
configure:19780: error: possibly undefined macro: CAIRO_NATIVE_FONT_BACKENDS
configure:20731: error: possibly undefined macro: CAIRO_FEATURES
configure:20732: error: possibly undefined macro: CAIRO_NO_FEATURES
configure:20734: error: possibly undefined macro: CAIRO_SUPPORTED_FEATURES
configure:22290: error: possibly undefined macro: CAIRO_WARNING_MESSAGE
autoreconf2.50: /usr/bin/autoconf failed with exit status: 1
dh_autoreconf: autoreconf -f -i returned exit code 1
make: *** [configure-common-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2



-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32-5-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
sudo apt source cairo
Reading package lists... Done
Building dependency tree       
Reading state information... Done
NOTICE: 'cairo' packaging is maintained in the 'Git' version control system at:
git://git.debian.org/git/collab-maint/cairo.git
Need to get 23.6 MB of source archives.
Get:1 http://mozilla.debian.net/ squeeze-backports/iceweasel-release cairo 
1.10.2-1.1~bpo60+1 (dsc) [1,450 B]
Get:2 http://mozilla.debian.net/ squeeze-backports/iceweasel-release cairo 
1.10.2-1.1~bpo60+1 (tar) [23.6 MB]
Get:3 http://mozilla.debian.net/ squeeze-backports/iceweasel-release cairo 
1.10.2-1.1~bpo60+1 (diff) [27.9 kB]
Fetched 23.6 MB in 1min 18s (300 kB/s)                                         
dpkg-source: warning: extracting unsigned source package 
(cairo_1.10.2-1.1~bpo60+1.dsc)
dpkg-source: info: extracting cairo in cairo-1.10.2
dpkg-source: info: unpacking cairo_1.10.2.orig.tar.gz
dpkg-source: info: unpacking cairo_1.10.2-1.1~bpo60+1.debian.tar.gz
dpkg-source: info: applying 01_build_perf_utils.patch
dpkg-source: info: applying 02_am-maintainer-mode.patch
jeroen@debian 
~/development/backport/cairo $ ls
cairo-1.10.2                            cairo_1.10.2-1.1~bpo60+1.dsc
cairo_1.10.2-1.1~bpo60+1.debian.tar.gz  cairo_1.10.2.orig.tar.gz
jeroen@debian 
~/development/backport/cairo $ cd cairo-1.10.2/
jeroen@debian 
~/development/backport/cairo/cairo-1.10.2 $ sudo dpkg-buildpackage
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: source package cairo
dpkg-buildpackage: source version 1.10.2-1.1~bpo60+1
dpkg-buildpackage: source changed by Mike Hommey <gland...@debian.org>
dpkg-buildpackage: host architecture powerpc
 dpkg-source --before-build cairo-1.10.2
 debian/rules clean
dh_testdir
dh_testroot
[ ! -r src/cairo-features.h.orig ] || mv -f src/cairo-features.h.orig 
src/cairo-features.h
[ ! -r configure-common-stamp ] || patch -NRp1 < debian/ltmain_as-needed.patch
rm -f *-stamp
rm -rf /home/jeroen/development/backport/cairo/cairo-1.10.2/debian/build 
/home/jeroen/development/backport/cairo/cairo-1.10.2/debian/install
dh_autoreconf_clean
dh_clean
 dpkg-source -b cairo-1.10.2
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building cairo using existing ./cairo_1.10.2.orig.tar.gz
dpkg-source: info: building cairo in cairo_1.10.2-1.1~bpo60+1.debian.tar.gz
dpkg-source: info: building cairo in cairo_1.10.2-1.1~bpo60+1.dsc
 debian/rules build
dh_testdir
# Generated by configure and breaks the build if already existing
test -r src/cairo-features.h && \
          mv src/cairo-features.h src/cairo-features.h.orig
make: [configure-common-stamp] Error 1 (ignored)
dh_autoreconf
configure.ac:3: warning: AC_INIT: not a literal: 
http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build'.
libtoolize: copying file `build/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build'.
libtoolize: copying file `build/libtool.m4'
libtoolize: copying file `build/ltoptions.m4'
libtoolize: copying file `build/ltsugar.m4'
libtoolize: copying file `build/ltversion.m4'
libtoolize: copying file `build/lt~obsolete.m4'
configure.ac:3: warning: AC_INIT: not a literal: 
http://bugs.freedesktop.org/enter_bug.cgi?product=cairo
configure.ac:15: error: possibly undefined macro: dnl
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:37: error: possibly undefined macro: AC_CHECK_LIB
configure.ac:38: error: possibly undefined macro: AC_CHECK_HEADER
configure.ac:40: error: possibly undefined macro: AC_DEFINE
configure.ac:58: error: possibly undefined macro: PKG_CHECK_MODULES
configure.ac:59: error: possibly undefined macro: AC_MSG_RESULT
configure.ac:61: error: possibly undefined macro: AC_PATH_XTRA
configure.ac:178: error: possibly undefined macro: AC_MSG_WARN
configure.ac:188: error: possibly undefined macro: AC_ARG_WITH
configure.ac:189: error: possibly undefined macro: AS_HELP_STRING
configure.ac:195: error: possibly undefined macro: AC_SUBST
configure.ac:280: error: possibly undefined macro: AC_ARG_VAR
configure.ac:325: error: possibly undefined macro: AS_IF
configure.ac:453: error: possibly undefined macro: AC_PATH_PROG
configure.ac:458: error: possibly undefined macro: AC_MSG_CHECKING
configure.ac:646: error: possibly undefined macro: CAIRO_CONFIGURE_PTHREAD
configure:15673: error: possibly undefined macro: AM_PROG_CC_C_O
configure:15857: error: possibly undefined macro: CAIRO_INIT_MAKEFILES
configure:15858: error: possibly undefined macro: CAIRO_MAKEFILE_INCLUDE
configure:15858: error: possibly undefined macro: 
CAIRO_MAKEFILE_ACCUMULATE_FEATURE
configure:15858: error: possibly undefined macro: CAIRO_CONFIG_MAKEFILE
configure:15860: error: possibly undefined macro: CAIRO_MAKEFILE_ACCUMULATE
configure:15906: error: possibly undefined macro: CAIRO_FEATURE_VARS_REGISTER
configure:15906: error: possibly undefined macro: 
CAIRO_ACCUMULATED_FEATURE_VARS_REGISTER
configure:15909: error: possibly undefined macro: CAIRO_FEATURE_HOOK_REGISTER
configure:15911: error: possibly undefined macro: 
_CAIRO_FEATURE_CONFIG_PKGCONFIG_FILE
configure:15913: error: possibly undefined macro: cr_feature_name
configure:15914: error: possibly undefined macro: cr_feature_pc
configure:15923: error: possibly undefined macro: cr_feature_uninstalled_pc
configure:15936: error: possibly undefined macro: CAIRO_ACCUMULATORS_REGISTER
configure:15937: error: possibly undefined macro: cr_feature_tag
configure:15937: error: possibly undefined macro: CAIRO_ACCUMULATE
configure:15954: error: possibly undefined macro: 
CAIRO_CONFIG_MAKEFILE_PRIVATE_WIN32
configure:15969: error: possibly undefined macro: CAIRO_TEXT_WRAP
configure:18163: error: possibly undefined macro: _CAIRO_ENABLE
configure:19774: error: possibly undefined macro: CAIRO_NATIVE_SURFACE_BACKENDS
configure:19780: error: possibly undefined macro: CAIRO_NATIVE_FONT_BACKENDS
configure:20731: error: possibly undefined macro: CAIRO_FEATURES
configure:20732: error: possibly undefined macro: CAIRO_NO_FEATURES
configure:20734: error: possibly undefined macro: CAIRO_SUPPORTED_FEATURES
configure:22290: error: possibly undefined macro: CAIRO_WARNING_MESSAGE
autoreconf2.50: /usr/bin/autoconf failed with exit status: 1
dh_autoreconf: autoreconf -f -i returned exit code 1
make: *** [configure-common-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Reply via email to