Bug#554961: gtksourceview2: FTBFS with too old GTK+

Jonas Smedegaard dr at jones.dk
Sat Nov 7 14:56:44 UTC 2009


Package: gtksourceview2
Version: 2.8.1-1
Severity: important
Tags: patch
Justification: fails to build from source

When building on a system with GTK+ 2.12.12 (the version in Lenny) which
satisfies declared build-dependency, packaging fails - see attached
build log.

I failed to locate related API changes in upstream NEWS file, but
apparently[1] in was introduced in 2.14.

The "patch" is simple: Tighten build-dependency like this:
"libgtk+2.0-dev (>= 2.14.0)".


Kind regards,

 - Jonas

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

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
-------------- next part --------------
I: Using pkgname logfile
I: Current time: Sat Nov  7 15:55:53 CET 2009
I: pbuilder-time-stamp: 1257605753
I: Obtaining the cached apt archive contents
I: Installing the build-deps
W: no hooks of type D found -- ignoring
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-maint at lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder and should
Depends: autotools-dev, cdbs, debhelper (>= 5), dh-buildinfo, gnome-pkg-tools (>= 0.7), dpkg-dev (>= 1.13.19), libgtk2.0-dev (>= 2.14), libxml2-dev (>= 2.5), intltool, libglib2.0-dev (>= 2.16.0), libglib2.0-doc, libgtk2.0-doc
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Reading package lists...
Building dependency tree...
Reading state information...
aptitude is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Selecting previously deselected package pbuilder-satisfydepends-dummy.
(Reading database ... 9871 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from .../pbuilder-satisfydepends-dummy.deb) ...
dpkg: dependency problems prevent configuration of pbuilder-satisfydepends-dummy:
 pbuilder-satisfydepends-dummy depends on autotools-dev; however:
  Package autotools-dev is not installed.
 pbuilder-satisfydepends-dummy depends on cdbs; however:
  Package cdbs is not installed.
 pbuilder-satisfydepends-dummy depends on debhelper (>= 5); however:
  Package debhelper is not installed.
 pbuilder-satisfydepends-dummy depends on dh-buildinfo; however:
  Package dh-buildinfo is not installed.
 pbuilder-satisfydepends-dummy depends on gnome-pkg-tools (>= 0.7); however:
  Package gnome-pkg-tools is not installed.
 pbuilder-satisfydepends-dummy depends on libgtk2.0-dev (>= 2.14); however:
  Package libgtk2.0-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libxml2-dev (>= 2.5); however:
  Package libxml2-dev is not installed.
 pbuilder-satisfydepends-dummy depends on intltool; however:
  Package intltool is not installed.
 pbuilder-satisfydepends-dummy depends on libglib2.0-dev (>= 2.16.0); however:
  Package libglib2.0-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libglib2.0-doc; however:
  Package libglib2.0-doc is not installed.
 pbuilder-satisfydepends-dummy depends on libgtk2.0-doc; however:
  Package libgtk2.0-doc is not installed.
dpkg: error processing pbuilder-satisfydepends-dummy (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pbuilder-satisfydepends-dummy
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
The following packages are BROKEN:
  pbuilder-satisfydepends-dummy 
The following NEW packages will be installed:
  autoconf{a} automake1.7{a} autotools-dev{a} bsdmainutils{a} cdbs{a} 
  debhelper{a} dh-buildinfo{a} file{a} gettext{a} gettext-base{a} 
  gnome-pkg-tools{a} groff-base{a} html2text{a} intltool{a} 
  intltool-debian{a} libexpat1{a} libgcrypt11{a} libglib2.0-0{a} 
  libglib2.0-dev{a} libglib2.0-doc{a} libgnutls26{a} libgpg-error0{a} 
  libgtk2.0-doc{a} libhtml-parser-perl{a} libhtml-tagset-perl{a} 
  libhtml-tree-perl{a} libmagic1{a} libpcre3{a} libtasn1-3{a} 
  liburi-perl{a} libwww-perl{a} libxml-parser-perl{a} libxml2{a} 
  libxml2-dev{a} lynx{a} lynx-cur{a} m4{a} man-db{a} netbase{a} 
  pkg-config{a} po-debconf{a} 
0 packages upgraded, 41 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/21.1MB of archives. After unpacking 79.7MB will be used.
The following packages have unmet dependencies:
  pbuilder-satisfydepends-dummy: Depends: libgtk2.0-dev (>= 2.14) but it is not installable
The following actions will resolve these dependencies:

Remove the following packages:
pbuilder-satisfydepends-dummy

Score is -9850

Writing extended state information...
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 9871 files and directories currently installed.)
Removing pbuilder-satisfydepends-dummy ...
Selecting previously deselected package bsdmainutils.
(Reading database ... 9871 files and directories currently installed.)
Unpacking bsdmainutils (from .../bsdmainutils_6.1.10_amd64.deb) ...
Selecting previously deselected package netbase.
Unpacking netbase (from .../archives/netbase_4.34_all.deb) ...
Setting up bsdmainutils (6.1.10) ...
Setting up netbase (4.34) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Aptitude couldn't satisfy the build dependencies
E: pbuilder-satisfydepends failed.
I: Copying back the cached apt archive contents
I: unmounting dev/pts filesystem
I: unmounting proc filesystem


More information about the pkg-gnome-maintainers mailing list