Bug#528782: libgtk2.0-dev: dh_gtkmodules uses wrong string concatenation method
Kanru Chen
koster at debian.org.tw
Fri May 15 14:49:17 UTC 2009
Package: libgtk2.0-dev
Version: 2.16.1-2
Severity: important
When building gcin package:
dh_gtkmodules
Argument "Package gcin has " isn't numeric in addition (+) at
/usr/bin/dh_gtkmodules line 197.
Argument " GdkPixbuf loaders and " isn't numeric in addition (+) at
/usr/bin/dh_gtkmodules line 197.
Argument " Gtk IM modules." isn't numeric in addition (+) at
/usr/bin/dh_gtkmodules line 197.
dh_gtkmodules: 1
Error while querying modules with
/usr/lib/libgtk2.0-0/gtk-query-immodules-2.0: at
/usr/bin/dh_gtkmodules line 174.
make: *** [binary-arch] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error
exit status 2
E: Failed autobuilding of package
This patch fixed it:
--- /usr/bin/dh_gtkmodules 2009-04-17 17:37:08.000000000 +0800
+++ /tmp/dh_gtkmodules 2009-05-15 22:31:24.205562361 +0800
@@ -194,7 +194,7 @@
find_modules(\@loaders_modules, $tmp, $loaders_modules_path);
find_modules(\@im_modules, $tmp, $im_modules_path);
- warning("Package $package has " + @loaders_modules + " GdkPixbuf loaders and " + @im_modules + " Gtk IM modules.");
+ warning("Package $package has " . @loaders_modules . " GdkPixbuf loaders and " . @im_modules . " Gtk IM modules.");
# if no modules of these types were found, we're done
if (0 == @loaders_modules + @im_modules) {
Thanks,
Kanru
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.29-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libgtk2.0-dev depends on:
ii libatk1.0-dev 1.26.0-1 Development files for the ATK acce
ii libc6 2.9-12 GNU C Library: Shared libraries
ii libcairo2-dev 1.8.6-2+b1 Development files for the Cairo 2D
ii libglib2.0-0 2.20.1-2 The GLib library of C routines
ii libglib2.0-dev 2.20.1-2 Development files for the GLib lib
ii libgtk2.0-0 2.16.1-2 The GTK+ graphical user interface
ii libgtk2.0-common 2.16.1-2 Common files for the GTK+ graphica
ii libpango1.0-dev 1.24.2-1 Development files for the Pango
ii libx11-dev 2:1.2.1-1 X11 client-side library (developme
ii libxcomposite-dev 1:0.4.0-3 X11 Composite extension library (d
ii libxcursor-dev 1:1.1.9-1 X cursor management library (devel
ii libxdamage-dev 1:1.1.1-4 X11 damaged region extension libra
ii libxext-dev 2:1.0.4-1 X11 miscellaneous extensions libra
ii libxfixes-dev 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii libxi-dev 2:1.2.1-2 X11 Input extension library (devel
ii libxinerama-dev 2:1.0.3-2 X11 Xinerama extension library (de
ii libxml2-utils 2.7.3.dfsg-1 XML utilities
ii libxrandr-dev 2:1.3.0-2 X11 RandR extension library (devel
ii pkg-config 0.22-1 manage compile and link flags for
Versions of packages libgtk2.0-dev recommends:
ii debhelper 7.2.13 helper programs for debian/rules
ii python 2.5.4-2 An interactive high-level object-o
Versions of packages libgtk2.0-dev suggests:
pn libgtk2.0-doc <none> (no description available)
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list