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.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Мегахит <doktorigr222 <at> gmail.com>, 63749 <at> debbugs.gnu.org
Subject: 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




This bug report was last modified 1 year and 360 days ago.

Previous Next


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