On Fri, 13 Sep 2013 12:23:44 +0100, Colin Watson wrote:

> > libxcb fails to build in a clean unstable i386 chroot using sbuild
> > 0.64.0, which sets HOME to /sbuild-nonexistent:
> Indeed, thinking about it, this probably fails to build regardless,
> unless your home directory happens to contain a current install-sh.

Ack, also fails in my cowbuilder chroot (which has HOME set).
The upstream commit fixes the problem; I'm attaching a debdiff.

Cheers,
gregor 

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Joan Baez: If I where a carpenter
diff -u libxcb-1.9.1/debian/changelog libxcb-1.9.1/debian/changelog
--- libxcb-1.9.1/debian/changelog
+++ libxcb-1.9.1/debian/changelog
@@ -1,3 +1,14 @@
+libxcb (1.9.1-3.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS when $HOME does not exist: /install-sh: No such file or
+    directory":
+    apply upstream fix to configure.ac, taken from
+    http://cgit.freedesktop.org/xcb/libxcb/commit/?id=50fb3a6312dd0b6b613fc886ffd6827952d1e286
+    (Closes: #722688)
+
+ -- gregor herrmann <gre...@debian.org>  Sat, 23 Nov 2013 20:45:26 +0100
+
 libxcb (1.9.1-3) unstable; urgency=low
 
   * Revert #711599 workaround now that check is fixed.
only in patch2:
unchanged:
--- libxcb-1.9.1.orig/configure.ac
+++ libxcb-1.9.1/configure.ac
@@ -7,15 +7,16 @@
         1.9.1,
         [x...@lists.freedesktop.org])
 AC_CONFIG_SRCDIR([xcb.pc.in])
-# Set common system defines for POSIX extensions, such as _GNU_SOURCE
-# Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
-# to avoid autoconf errors.
-AC_USE_SYSTEM_EXTENSIONS
 
 # Initialize Automake
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
+# Set common system defines for POSIX extensions, such as _GNU_SOURCE
+# Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
+# to avoid autoconf errors.
+AC_USE_SYSTEM_EXTENSIONS
+
 AM_PATH_PYTHON([2.6])
 
 PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], [HAVE_CHECK=yes], [HAVE_CHECK=no])

Attachment: signature.asc
Description: Digital signature

Reply via email to