GNU bug report logs - #63749
configure script does not work properly

Previous Next

Package: coreutils;

Reported by: Мегахит <doktorigr222 <at> gmail.com>

Date: Sat, 27 May 2023 09:54:01 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.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 63749 in the body.
You can then email your comments to 63749 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#63749; Package coreutils. (Sat, 27 May 2023 09:54:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Мегахит <doktorigr222 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sat, 27 May 2023 09:54:01 GMT) Full text and rfc822 format available.

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

From: Мегахит <doktorigr222 <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: configure script does not work properly
Date: Sat, 27 May 2023 09:41:23 +0300
[Message part 1 (text/plain, inline)]
Debian Sid amd64, building packages for Linux From Scratch

*checking whether mknod can create fifo without root privileges...
configure: error: in `/media/*usb mount directory*/sources/coreutils':*
*configure: error: you should not run configure as root (set
FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)*

then the configure script exits.
setting FORCE_UNSAFE_CONFIGURE to 1 gives the same result no matter how I
set it.
running the script with no sudo or su -l results in security restrictions
which do not allow me to configure even the first step:
*./configure: line 4404: config.log: Permission denied*
*./configure: line 4414: config.log: Permission denied*

chmod'ing everything in the directory will not do much since created files
are always restricted to the user, if configure will even create those.
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#63749; Package coreutils. (Sat, 27 May 2023 11:55:02 GMT) Full text and rfc822 format available.

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

From: Pádraig Brady <P <at> draigBrady.com>
To: Мегахит <doktorigr222 <at> gmail.com>,
 63749 <at> debbugs.gnu.org
Subject: Re: bug#63749: configure script does not work properly
Date: Sat, 27 May 2023 12:54:00 +0100
tag 63749 notabug
close 63749
stop

On 27/05/2023 07:41, Мегахит wrote:
> Debian Sid amd64, building packages for Linux From Scratch
> 
> *checking whether mknod can create fifo without root privileges...
> configure: error: in `/media/*usb mount directory*/sources/coreutils':*
> *configure: error: you should not run configure as root (set
> FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)*
> 
> then the configure script exits.
> setting FORCE_UNSAFE_CONFIGURE to 1 gives the same result no matter how I
> set it.
> running the script with no sudo or su -l results in security restrictions
> which do not allow me to configure even the first step:
> *./configure: line 4404: config.log: Permission denied*
> *./configure: line 4414: config.log: Permission denied*
> 
> chmod'ing everything in the directory will not do much since created files
> are always restricted to the user, if configure will even create those.

You should be able to force the check as root with:
  FORCE_UNSAFE_CONFIGURE=1 ./configure

You should be able to avoid the check with:
  gl_cv_func_mknod_works=yes ./configure

cheers,
Pádraig




Added tag(s) notabug. Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Sat, 27 May 2023 11:55:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 63749 <at> debbugs.gnu.org and Мегахит <doktorigr222 <at> gmail.com> Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Sat, 27 May 2023 11:55: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. (Sun, 25 Jun 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 277 days ago.

Previous Next


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