[Debian-ha-maintainers] Bug#814450: pcs: FTBFS: install: omitting directory 'pcs/'

Aaron M. Ucko amu at alum.mit.edu
Thu Feb 11 16:56:36 UTC 2016


Source: pcs
Version: 0.9.148-1
Severity: important
Justification: fails to build from source

Builds of pcs for architectures other than amd64 all failed:

  install -m755 pcs/ /«PKGBUILDDIR»/debian/tmp/usr/lib/python2.7/dist-packages/pcs/settings.py
  install: omitting directory 'pcs/'
  Makefile:85: recipe for target 'install' failed

It looks like the upstream makefile incorporates fragile logic that
only attempts to support amd64 and i386, and mishandles the latter
(failing to account for the fact that uname -m can and often does
report a higher number, typically i686).  I'd suggest instead using a
single template settings.py.in and arranging to substitute the value
of dpkg-architecture -qDEB_HOST_MULTIARCH.  This template approach
should also permit filling the version number in automatically, rather
than having to hardcode it.

Could you please take a look?

Thanks!



More information about the Debian-ha-maintainers mailing list