Package: libmatchbox
Version: 1.9
Severity: important

See also #528047

libmatchbox needs an upstream fix because it is now impossible to patch
configure.ac to allow autoreconf to operate. (autoreconf itself is
necessary to prevent libmatchbox using an rpath when cross-built but
autoreconf may well become necessary for standard Debian builds at some
point because libmatchbox upstream is stale).

The patch that needs to be applied upstream is:

--- old/libmatchbox-1.9/configure.ac    2006-08-04 11:32:31.000000000+0100
+++ libmatchbox-1.9/configure.ac        2009-07-02 08:47:36.000000000+0100
@@ -316,9 +316,8 @@
 have_check=no
 
 if test x$enable_unit_tests = xyes; then
-  AM_PATH_CHECK(,have_check=yes, have_check=no)
+  PKG_CHECK_MODULES([CHECK], [check], have_check=yes)
 fi
-
 AM_CONDITIONAL(HAVE_CHECK, test x$have_check = xyes)
 
 dnl ------ Substitute in found libs, clags to Makefiles etc -----------------

Please be aware that unless you have a memory limit setup enabled, even
trying to run autoreconf (or aclocal which is where the error actually
shows up) will cause aclocal to fall into a recursive loop that will
consume all memory, unless the patch is applied.

I'm using a limit script from:
http://www.osnews.com/conversation/49d0d3e0/Sane_way_to_limit_a_process_memory_in_Linux_

This means that the patch cannot be applied by the normal patch systems
(which try to run 'fakeroot debian/rules clean' *without the patches
applied*) because aclocal will be called as part of 'make distclean'.

Applying a direct patch to fix configure.ac automatically trips a build
failure which requires autoreconf -ifs to fix because the libtool script
in the upstream source is stale.

Therefore, this extra rule in debian/rules becomes necessary too:

makebuilddir::
        autoreconf -ifs




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

Kernel: Linux 2.6.29-1-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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to