[Pkg-openmpi-maintainers] Bug#839387: package builds crashing under fakeroot

Ian Jackson ijackson at chiark.greenend.org.uk
Mon Oct 3 15:46:26 UTC 2016


Christian Seiler writes ("Re: package builds crashing under fakeroot"):
> On 10/03/2016 04:50 PM, Alastair McKinstry wrote:
> > So its a legitimate tightening of credential-checking in pmix. However
> > it causes problems for us running tests under binary-arch.
> 
> If the tests themselves don't need root (fakeroot is required for
> Debian's build infrastructure), you could just remove the fakeroot
> libraries from LD_PRELOAD.
> 
> Example script (save as e.g. debian/nofakeroot, make it executable,
> call the tests via debian/nofakeroot command in debian/rules):

Yikes.

> > What do DDs think should be done about this - move all tests outside
> > binary-arch?

Yes.

I think tests should be done in build targets, not binary targets.
It's probably a bug of some kind that they're not.

Is that straightforward to do ?

Ian.

-- 
Ian Jackson <ijackson at chiark.greenend.org.uk>   These opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.




More information about the Pkg-openmpi-maintainers mailing list