Re: Aaron M. Ucko 2016-02-11 <145520979664.9622.11989946250615470307.report...@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 -- c...@df7cb.de | http://www.df7cb.de/
signature.asc
Description: PGP signature