Re: mpgrafic - mpirun test program as root in automatic build

2017-01-19 Thread Sean Whitton
On Thu, Jan 19, 2017 at 08:21:36AM +0800, Paul Wise wrote: > On Thu, Jan 19, 2017 at 7:44 AM, Sean Whitton wrote: > > > This is temporarily false: #852071 > > Is there a typo in that bug? I get a 404 #851071, sorry! -- Sean Whitton signature.asc Description: PGP signature

Re: mpgrafic - mpirun test program as root in automatic build

2017-01-18 Thread Paul Wise
On Thu, Jan 19, 2017 at 7:44 AM, Sean Whitton wrote: > This is temporarily false: #852071 Is there a typo in that bug? I get a 404 -- bye, pabs https://wiki.debian.org/PaulWise

Re: mpgrafic - mpirun test program as root in automatic build

2017-01-18 Thread Sean Whitton
Hello, On Wed, Jan 18, 2017 at 02:25:41PM +0800, Paul Wise wrote: > On Wed, Jan 18, 2017 at 5:13 AM, Boud Roukema wrote: > > > I've looked a bit at buildd.debian.org, but it's not completely > > trivial to decide which is correct - do the buildd builds on the > > debian build machines run dh_auto

Re: mpgrafic - mpirun test program as root in automatic build

2017-01-18 Thread Ole Streicher
Paul Wise writes: > On Wed, Jan 18, 2017 at 3:58 PM, Ole Streicher wrote: > >> Also when using cowbuilder? At least I see the whole build done by root >> when running in my cowbuilder chroot. That was the point that lead to >> the trouble here... > > Yep. I tested this with id and override_dh_auto

Re: mpgrafic - mpirun test program as root in automatic build

2017-01-18 Thread Paul Wise
On Wed, Jan 18, 2017 at 3:58 PM, Ole Streicher wrote: > Also when using cowbuilder? At least I see the whole build done by root > when running in my cowbuilder chroot. That was the point that lead to > the trouble here... Yep. I tested this with id and override_dh_auto_* in cowbuilder: fakeroot

Re: mpgrafic - mpirun test program as root in automatic build

2017-01-18 Thread Ole Streicher
Paul Wise writes: > On Wed, Jan 18, 2017 at 3:37 PM, Boud Roukema wrote: > >> I guess by "both of these" you mean "most of the build steps (apart from >> the 'debian/rules install' step)"? > > What I wrote wasn't clear and wasn't strictly true, sorry! > > When manually building from source: > > Yo

Re: mpgrafic - mpirun test program as root in automatic build

2017-01-18 Thread Boud Roukema
On Wed, 18 Jan 2017, Paul Wise wrote: When manually building from source: You always build/test as a normal user. You install as either root or normal user, depending on the install prefix. When doing Debian package builds: You always build/test as a normal user. You always install using fake

Re: mpgrafic - mpirun test program as root in automatic build

2017-01-17 Thread Paul Wise
On Wed, Jan 18, 2017 at 3:37 PM, Boud Roukema wrote: > I guess by "both of these" you mean "most of the build steps (apart from > the 'debian/rules install' step)"? What I wrote wasn't clear and wasn't strictly true, sorry! When manually building from source: You always build/test as a normal u

Re: mpgrafic - mpirun test program as root in automatic build

2017-01-17 Thread Boud Roukema
On Wed, 18 Jan 2017, Paul Wise wrote: On Wed, Jan 18, 2017 at 5:13 AM, Boud Roukema wrote: I've looked a bit at buildd.debian.org, but it's not completely trivial to decide which is correct - do the buildd builds on the debian build machines run dh_auto_tests as (i) root, as (ii) an unprivileg

Re: mpgrafic - mpirun test program as root in automatic build

2017-01-17 Thread Paul Wise
On Wed, Jan 18, 2017 at 5:13 AM, Boud Roukema wrote: > I've looked a bit at buildd.debian.org, but it's not completely > trivial to decide which is correct - do the buildd builds on the > debian build machines run dh_auto_tests as (i) root, as (ii) an unprivileged > user running fakeroot, or as (i

Re: mpgrafic - mpirun test program as root in automatic build

2017-01-17 Thread Boud Roukema
On Tue, 17 Jan 2017, James Cowgill wrote: I'm not sure I follow. Debhelper runs the testsuite during the build target so it shouldn't be run as root anyway. I don't think you need any workarounds at all for this. I agree in terms of principles :), but I don't know what actually happens on the

Re: mpgrafic - mpirun test program as root in automatic build

2017-01-17 Thread Ole Streicher
James Cowgill writes: > On 16/01/17 23:58, Boud Roukema wrote: >> Since, in general, there is no reason for mpirun to run as root, >> the sid version of mpirun (from openmpi) apparently refuses to run as root. >> (I have not reproduced this behaviour myself - Ole Streicher >> has warned me about i

Re: mpgrafic - mpirun test program as root in automatic build

2017-01-17 Thread James Cowgill
Hi, On 16/01/17 23:58, Boud Roukema wrote: > hi Debian-mentors, > > Is it reasonable to override the mpirun (openmpi_2.0.2~git.20161225-8) > default preference of refusing to run as root? > > I've started packaging mpgrafic for debian - this is my first > debianisation, apart from minor private