Debian Bug report logs -
#403078
petsc: doesn't build as root
Reported by: Lucas Nussbaum <lucas@lucas-nussbaum.net>
Date: Thu, 14 Dec 2006 14:18:16 UTC
Severity: wishlist
Found in version 2.3.2-1
Done: Drew Parsons <dparsons@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, hazelsct@debian.org (Adam C. Powell, IV):
Bug#403078; Package petsc.
(full text, mbox, link).
Acknowledgement sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
New Bug report received and forwarded. Copy sent to hazelsct@debian.org (Adam C. Powell, IV).
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: petsc
Version: 2.3.2-1
Severity: important
Hi,
It seems that your package doesn't build as root:
touch patch
PETSC_DIR=/build/root/petsc-2.3.2 ./config/configure.py \
--with-cc=gcc --with-fc=g77 --with-debugging=1 \
--with-mpi-dir=/usr/lib/mpich \
--with-blas-lib=-lblas-3 --with-lapack-lib=-llapack-3
=================================================================================
Configuring PETSc to compile on your system
=================================================================================
=================================================================================
*** Do not run configure as root, or using sudo. ***
***** That should be reserved for installation *****
=================================================================================
make: *** [build-arch] Error 3
It would be great to patch the configure script so that it allows to run the
configure step as root, unless there's a very good reason not to do so.
Thank you,
--
| Lucas Nussbaum
| lucas@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr GPG: 1024D/023B3F4F |
Information forwarded to debian-bugs-dist@lists.debian.org, hazelsct@debian.org (Adam C. Powell, IV):
Bug#403078; Package petsc.
(full text, mbox, link).
Acknowledgement sent to Adam C Powell IV <hazelsct@debian.org>:
Extra info received and forwarded to list. Copy sent to hazelsct@debian.org (Adam C. Powell, IV).
(full text, mbox, link).
Message #10 received at 403078@bugs.debian.org (full text, mbox, reply):
On Thu, 2006-12-14 at 14:58 +0100, Lucas Nussbaum wrote:
> Package: petsc
> Version: 2.3.2-1
> Severity: important
>
> Hi,
>
> It seems that your package doesn't build as root:
> touch patch
> PETSC_DIR=/build/root/petsc-2.3.2 ./config/configure.py \
> --with-cc=gcc --with-fc=g77 --with-debugging=1 \
> --with-mpi-dir=/usr/lib/mpich \
> --with-blas-lib=-lblas-3 --with-lapack-lib=-llapack-3
> =================================================================================
> Configuring PETSc to compile on your system
> =================================================================================
> =================================================================================
> *** Do not run configure as root, or using sudo. ***
> ***** That should be reserved for installation *****
> =================================================================================
> make: *** [build-arch] Error 3
>
> It would be great to patch the configure script so that it allows to run the
> configure step as root, unless there's a very good reason not to do so.
How is this a bug? Does policy require that packages be able to build
as root? The buildds don't do that, and as I understand it, it is not
encouraged, which is why we have fakeroot.
But I'll leave this open and see what I can do.
-Adam
--
GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6
Welcome to the best software in the world today cafe!
http://www.take6.com/albums/greatesthits.html
Information forwarded to debian-bugs-dist@lists.debian.org, hazelsct@debian.org (Adam C. Powell, IV):
Bug#403078; Package petsc.
(full text, mbox, link).
Acknowledgement sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Extra info received and forwarded to list. Copy sent to hazelsct@debian.org (Adam C. Powell, IV).
(full text, mbox, link).
Message #15 received at 403078@bugs.debian.org (full text, mbox, reply):
On 14/12/06 at 14:52 -0500, Adam C Powell IV wrote:
> On Thu, 2006-12-14 at 14:58 +0100, Lucas Nussbaum wrote:
> > Package: petsc
> > Version: 2.3.2-1
> > Severity: important
> >
> > Hi,
> >
> > It seems that your package doesn't build as root:
> > touch patch
> > PETSC_DIR=/build/root/petsc-2.3.2 ./config/configure.py \
> > --with-cc=gcc --with-fc=g77 --with-debugging=1 \
> > --with-mpi-dir=/usr/lib/mpich \
> > --with-blas-lib=-lblas-3 --with-lapack-lib=-llapack-3
> > =================================================================================
> > Configuring PETSc to compile on your system
> > =================================================================================
> > =================================================================================
> > *** Do not run configure as root, or using sudo. ***
> > ***** That should be reserved for installation *****
> > =================================================================================
> > make: *** [build-arch] Error 3
> >
> > It would be great to patch the configure script so that it allows to run the
> > configure step as root, unless there's a very good reason not to do so.
>
> How is this a bug? Does policy require that packages be able to build
> as root? The buildds don't do that, and as I understand it, it is not
> encouraged, which is why we have fakeroot.
>
> But I'll leave this open and see what I can do.
It isn't required nor encouraged by policy, but most packages in Debian
can be built as root (actually, only aegis, bazaar and subversion are
in this case, and that's always because of their testsuite).
So basically, if you don't have a good reason to fail to build, please
don't :-)
--
| Lucas Nussbaum
| lucas@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr GPG: 1024D/023B3F4F |
Information forwarded to debian-bugs-dist@lists.debian.org, hazelsct@debian.org (Adam C. Powell, IV):
Bug#403078; Package petsc.
(full text, mbox, link).
Acknowledgement sent to Adam C Powell IV <hazelsct@debian.org>:
Extra info received and forwarded to list. Copy sent to hazelsct@debian.org (Adam C. Powell, IV).
(full text, mbox, link).
Message #20 received at 403078@bugs.debian.org (full text, mbox, reply):
severity 403078 wishlist
thanks
On Thu, 2006-12-14 at 21:54 +0100, Lucas Nussbaum wrote:
> On 14/12/06 at 14:52 -0500, Adam C Powell IV wrote:
> > On Thu, 2006-12-14 at 14:58 +0100, Lucas Nussbaum wrote:
> > > Package: petsc
> > > Version: 2.3.2-1
> > > Severity: important
> > >
> > > Hi,
> > >
> > > It seems that your package doesn't build as root:
> > > touch patch
> > > PETSC_DIR=/build/root/petsc-2.3.2 ./config/configure.py \
> > > --with-cc=gcc --with-fc=g77 --with-debugging=1 \
> > > --with-mpi-dir=/usr/lib/mpich \
> > > --with-blas-lib=-lblas-3 --with-lapack-lib=-llapack-3
> > > =================================================================================
> > > Configuring PETSc to compile on your system
> > > =================================================================================
> > > =================================================================================
> > > *** Do not run configure as root, or using sudo. ***
> > > ***** That should be reserved for installation *****
> > > =================================================================================
> > > make: *** [build-arch] Error 3
> > >
> > > It would be great to patch the configure script so that it allows to run the
> > > configure step as root, unless there's a very good reason not to do so.
> >
> > How is this a bug? Does policy require that packages be able to build
> > as root? The buildds don't do that, and as I understand it, it is not
> > encouraged, which is why we have fakeroot.
> >
> > But I'll leave this open and see what I can do.
>
> It isn't required nor encouraged by policy, but most packages in Debian
> can be built as root (actually, only aegis, bazaar and subversion are
> in this case, and that's always because of their testsuite).
Okay, so if it isn't required or encouraged by policy, then this is a
wishlist bug.
I'll see if I can deal with it in the next upload.
Thanks,
-Adam
--
GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6
Welcome to the best software in the world today cafe!
http://www.take6.com/albums/greatesthits.html
Severity set to `wishlist' from `important'
Request was from Adam C Powell IV <hazelsct@debian.org>
to control@bugs.debian.org.
(full text, mbox, link).
Reply sent
to dparsons@debian.org:
You have taken responsibility.
(Tue, 20 Oct 2015 05:27:04 GMT) (full text, mbox, link).
Notification sent
to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug acknowledged by developer.
(Tue, 20 Oct 2015 05:27:04 GMT) (full text, mbox, link).
Message #27 received at 403078-done@bugs.debian.org (full text, mbox, reply):
I'm not sure how wise it is to remove an upstream block on building as
root.
But in any case upstream has changed their policy.
In v3 PETSc can build as root.
Drew
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 17 Nov 2015 07:31:39 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jan 10 23:49:08 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.