GNU bug report logs - #12793
build: configure should warn about 'root' earlier (

Previous Next

Package: coreutils;

Reported by: Michael Felt <mamfelt <at> gmail.com>

Date: Sat, 3 Nov 2012 14:40:01 UTC

Severity: wishlist

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12793 in the body.
You can then email your comments to 12793 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#12793; Package coreutils. (Sat, 03 Nov 2012 14:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Felt <mamfelt <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sat, 03 Nov 2012 14:40:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Felt <mamfelt <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: FORCE_UNSAFE_CONFIGURE=1 - not really a bug, but friendliness issue
Date: Sat, 3 Nov 2012 15:36:43 +0100
[Message part 1 (text/plain, inline)]
Would be much nicer if ./configure complained at the beginning about being
root, rather than at the end.

regards,
Michael
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#12793; Package coreutils. (Sat, 03 Nov 2012 15:15:01 GMT) Full text and rfc822 format available.

Message #8 received at 12793 <at> debbugs.gnu.org (full text, mbox):

From: Michael Felt <mamfelt <at> gmail.com>
To: 12793 <at> debbugs.gnu.org
Subject: Re: bug#12793: FORCE_UNSAFE_CONFIGURE=1 - not really a bug, but
	friendliness issue
Date: Sat, 3 Nov 2012 16:11:40 +0100
[Message part 1 (text/plain, inline)]
Do not know when this came in (8.16, or 8.17) - but 8.17 also requires a
complete rerun of configure. 8.15 was so simple (or did I just not notice
it then?)

Michael

On Sat, Nov 3, 2012 at 3:36 PM, Michael Felt <mamfelt <at> gmail.com> wrote:

> Would be much nicer if ./configure complained at the beginning about being
> root, rather than at the end.
>
> regards,
> Michael
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#12793; Package coreutils. (Sat, 03 Nov 2012 16:38:02 GMT) Full text and rfc822 format available.

Message #11 received at 12793 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Michael Felt <mamfelt <at> gmail.com>
Cc: 12793 <at> debbugs.gnu.org
Subject: Re: bug#12793: FORCE_UNSAFE_CONFIGURE=1 - not really a bug,
	but friendliness issue
Date: Sat, 03 Nov 2012 16:34:38 +0000
On 11/03/2012 02:36 PM, Michael Felt wrote:
> Would be much nicer if ./configure complained at the beginning about being
> root, rather than at the end.

This comes from a specific test in gnulib:
http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=5c53ef81
rather than a coreutils policy decision.

I suppose that check could be hoisted to
one that is done up front?

thanks,
Pádraig.




Information forwarded to bug-coreutils <at> gnu.org:
bug#12793; Package coreutils. (Mon, 05 Nov 2012 15:17:02 GMT) Full text and rfc822 format available.

Message #14 received at 12793 <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: Michael Felt <mamfelt <at> gmail.com>, 12793 <at> debbugs.gnu.org,
	bug-gnulib <bug-gnulib <at> gnu.org>
Subject: Re: bug#12793: FORCE_UNSAFE_CONFIGURE=1 - not really a bug,
	but friendliness issue
Date: Mon, 05 Nov 2012 08:12:52 -0700
[Message part 1 (text/plain, inline)]
[adding gnulib]

On 11/03/2012 10:34 AM, Pádraig Brady wrote:
> On 11/03/2012 02:36 PM, Michael Felt wrote:
>> Would be much nicer if ./configure complained at the beginning about
>> being
>> root, rather than at the end.
> 
> This comes from a specific test in gnulib:
> http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=5c53ef81
> rather than a coreutils policy decision.
> 
> I suppose that check could be hoisted to
> one that is done up front?

We can't directly host the entire test earlier - the test as written
can't detect failure under root until after the C compiler is known
(since it first tests for $? = 99 before checking the environment
variable).  Hoisting the entire test into GL_EARLY means it would come
before the compiler checks, which won't work.

But perhaps we could isolate just the environment variable test to come
first, without regards to the compiler test.  I'll play with that idea.

-- 
Eric Blake   eblake <at> redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#12793; Package coreutils. (Mon, 15 Oct 2018 17:58:02 GMT) Full text and rfc822 format available.

Message #17 received at 12793 <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 12793 <at> debbugs.gnu.org
Subject: Re: bug#12793: FORCE_UNSAFE_CONFIGURE=1 - not really a bug, but
 friendliness issue
Date: Mon, 15 Oct 2018 11:56:53 -0600
severity 12793 wishlist
retitle  12793 build: configure should warn about 'root' earlier ( 
FORCE_UNSAFE_CONFIGURE=1 )
close 12793
stop

(triaging old bugs)

On 05/11/12 08:12 AM, Eric Blake wrote:
> On 11/03/2012 10:34 AM, Pádraig Brady wrote:
>> On 11/03/2012 02:36 PM, Michael Felt wrote:
>>> Would be much nicer if ./configure complained at the beginning about
>>> being
>>> root, rather than at the end.
>>
>> This comes from a specific test in gnulib:
>> http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=5c53ef81
>> rather than a coreutils policy decision.
>>
> 
> But perhaps we could isolate just the environment variable test to come
> first, without regards to the compiler test.  I'll play with that idea.


With no further comments in 5 years, I'm closing this bug.
Discussion can continue by replying to this thread.

-assaf




Severity set to 'wishlist' from 'normal' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 15 Oct 2018 17:58:02 GMT) Full text and rfc822 format available.

Changed bug title to 'build: configure should warn about 'root' earlier (' from 'FORCE_UNSAFE_CONFIGURE=1 - not really a bug, but friendliness issue' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 15 Oct 2018 17:58:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 12793 <at> debbugs.gnu.org and Michael Felt <mamfelt <at> gmail.com> Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 15 Oct 2018 17:58:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 13 Nov 2018 12:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 280 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.