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

Christoph Berg myon at debian.org
Thu Feb 11 19:29:36 UTC 2016


Re: Aaron M. Ucko 2016-02-11 <145520979664.9622.11989946250615470307.reportbug at ghostwheel.internal.ucko.debian.net>
> 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.

Hi,

thanks for the report.

IMHO the best fix would be to move /usr/lib/$ARCH/pacemaker to
/usr/lib/pacemaker in the pacemaker package (Multi-Arch for programs
doesn't work anyway), and then simply use a fixed path in pcs and
crmsh (which has exactly the same problem at run time).

Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-ha-maintainers/attachments/20160211/02b56023/attachment-0001.sig>


More information about the Debian-ha-maintainers mailing list