[Xcb] Bug#722688: libxcb: FTBFS when $HOME does not exist: /install-sh: No such file or directory

Colin Watson cjwatson at debian.org
Fri Sep 13 03:24:47 PDT 2013


Package: libxcb
Version: 1.9.1-3
Severity: serious

libxcb fails to build in a clean unstable i386 chroot using sbuild
0.64.0, which sets HOME to /sbuild-nonexistent:

  dh_auto_configure --builddirectory=build
  configure: WARNING: unrecognized options: --disable-maintainer-mode
  ../configure: line 2489: cd: /sbuild-nonexistent: No such file or directory
  [...]
  Making install in doc
  make[2]: Entering directory `/«PKGBUILDDIR»/build/doc'
  make[3]: Entering directory `/«PKGBUILDDIR»/build/doc'
  make[3]: Nothing to be done for `install-exec-am'.
  /bin/bash /install-sh -d '/«PKGBUILDDIR»/debian/tmp/usr/share/doc/libxcb'
  /bin/bash: /install-sh: No such file or directory
  make[3]: *** [install-data-local] Error 127

Looking at configure, it appears to use $ac_aux_dir before it's set,
which means that "cd $ac_aux_dir" tries to cd to the home directory and
then it goes downhill from there.

This would appear to be
https://bugs.freedesktop.org/show_bug.cgi?id=66413, and here's the
upstream patch:

  http://cgit.freedesktop.org/xcb/libxcb/commit/?id=50fb3a6312dd0b6b613fc886ffd6827952d1e286

Thanks,

-- 
Colin Watson                                       [cjwatson at debian.org]


More information about the Xcb mailing list