Package: gcin
Version: 1.2.9-1
Severity: serious
Justification: FTBFS
Tags: patch

The gcin package FTBFS on five arches according to [1].  Among those
build failures, the ones on amd64 and powerpc seems to be triggered by a
braindead test in the configure script.  The configure looks for /lib64/
at build time, and if it finds one, it will assume the system use
/lib64/ and /usr/lib64/ by default, and happily installs stuff there.
Then later when debian/rules tries to move the GTK IM module in
/usr/lib/gtk-2.0/2.4.0/immodules/ and can't find anything there, the
build will fail.

1. http://buildd.debian.org/build.php?pkg=gcin

I've used the attached patch in Ubuntu, it seems to make gcin to build
on i386, amd64, powerpc, and ia64 [2].  (Strangely, the ia64 build for
Ubuntu doesn't experience the tsa2d32 segfault failure as it does in
Debian.)  The sparc build in Ubuntu, as well as the ia64, sparc, and
hppa build in Debian, on the other hand, have a different FTBFS problem
caused by the tsa2d32 segfault mentioned above.

2. https://launchpad.net/distros/ubuntu/+source/gcin/1.2.9-1ubuntu1

Please consider applying this patch to the Debian package.

Thanks,
Ming
2006.11.21

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gcin depends on:
ii  libatk1.0-0                  1.12.3-1    The ATK accessibility toolkit
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libcairo2                    1.2.4-4     The Cairo 2D vector graphics libra
ii  libfontconfig1               2.4.1-2     generic font configuration library
ii  libglib2.0-0                 2.12.4-2    The GLib library of C routines
ii  libgtk2.0-0                  2.8.20-3    The GTK+ graphical user interface 
ii  libgtk2.0-bin                2.8.20-3    The programs for the GTK+ graphica
ii  libpango1.0-0                1.14.7-1    Layout and rendering of internatio
ii  libx11-6                     2:1.0.3-3   X11 client-side library
ii  libxcursor1                  1.1.7-4     X cursor management library
ii  libxext6                     1:1.0.1-2   X11 miscellaneous extension librar
ii  libxfixes3                   1:4.0.1-4   X11 miscellaneous 'fixes' extensio
ii  libxi6                       1:1.0.1-3   X11 Input extension library
ii  libxinerama1                 1:1.0.1-4.1 X11 Xinerama extension library
ii  libxrandr2                   2:1.1.0.2-4 X11 RandR extension library
ii  libxrender1                  1:0.9.1-3   X Rendering Extension client libra
ii  libxtst6                     1:1.0.1-5   X11 Testing -- Resource extension 

Versions of packages gcin recommends:
pn  gcin-qt3-immodule             <none>     (no description available)
pn  im-switch                     <none>     (no description available)

-- no debconf information
#! /bin/sh /usr/share/dpatch/dpatch-run
## 50_fix-FTBFS-on-systems-with-lib64-directory.dpatch
## by Ming Hua <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
##
## DP: The handmade configure script tests the existence of /lib64/, and
## DP: if /lib64/ exists, it installs the GTK+ IM module into
## DP: /usr/lib64/, which causes FTBFS on all 64-bit architectures (and
## DP: presumably any build environment with /lib64/ installed).  Let's
## DP: stop this madness.

@DPATCH@
diff -urNad gcin-1.2.9~/configure gcin-1.2.9/configure
--- gcin-1.2.9~/configure       2006-11-20 19:28:20.000000000 -0600
+++ gcin-1.2.9/configure        2006-11-20 19:30:02.000000000 -0600
@@ -92,9 +92,6 @@
 fi
 
 LIB='lib'
-if [ -d /lib64 ]; then
-LIB='lib64'
-fi
 
 QT_IM='N'
 for i in qt3 qt4

Reply via email to