GNU bug report logs - #58163
coreutils instalation failure x86_64

Previous Next

Package: coreutils;

Reported by: ripspin-004 <at> yahoo.com.au

Date: Thu, 29 Sep 2022 14:58:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

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 58163 in the body.
You can then email your comments to 58163 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#58163; Package coreutils. (Thu, 29 Sep 2022 14:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ripspin-004 <at> yahoo.com.au:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Thu, 29 Sep 2022 14:58:02 GMT) Full text and rfc822 format available.

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

From: ripspin-004 <at> yahoo.com.au
To: bug-coreutils <at> gnu.org
Subject: coreutils instalation failure x86_64
Date: Thu, 29 Sep 2022 11:38:49 +0000 (UTC)
[Message part 1 (text/plain, inline)]
Failure at make

output from configure and make attached

uname -a
Linux xenial64-sda1 4.9.58 #1 SMP PREEMPT Mon Nov 13 15:54:01 GMT 2017 x86_64 x86_64 x86_64 GNU/Linux

followed:

\cd  /GS/pool/common-apps

 git clone git://git.sv.gnu.org/coreutils

 cd coreutils

 git submodule foreach git pull origin master

 git commit -m 'build: update gnulib submodule to latest' gnulib

 ./bootstrap

./configure -quiet

make

Regards ripspin
[gab-configureq (application/octet-stream, attachment)]
[gab-make (application/octet-stream, attachment)]
[gab-make-error-2 (application/octet-stream, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#58163; Package coreutils. (Thu, 29 Sep 2022 17:52:03 GMT) Full text and rfc822 format available.

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

From: ripspin-004 <at> yahoo.com.au
To: 58163 <at> debbugs.gnu.org
Subject: coreutils instalation failure x86_64
Date: Thu, 29 Sep 2022 15:21:47 +0000 (UTC)
[Message part 1 (text/plain, inline)]
here is the config.log file generated

regards ripspin
[config.log (text/x-log, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#58163; Package coreutils. (Sat, 01 Oct 2022 01:34:01 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: ripspin-004 <at> yahoo.com.au, 58163 <at> debbugs.gnu.org
Subject: Re: bug#58163: coreutils instalation failure x86_64
Date: Fri, 30 Sep 2022 18:33:01 -0700
[Message part 1 (text/plain, inline)]
On 9/29/22 04:38, ripspin-004--- via GNU coreutils Bug Reports wrote:
>   git submodule foreach git pull origin master
> 
>   git commit -m 'build: update gnulib submodule to latest' gnulib
> 
>   ./bootstrap
> 
> ./configure -quiet
> 
> make

That's a bit too terse, unfortunately. What distro and compiler are you 
using? Since I cannot reproduce the problem on Fedora 36 x86-64, we'll 
need more details.

I suggest sending all the output, interleaved rather than separating 
stdout from stderr, and using the following three commands instead of 
the last two commands mentioned above:

   ./configure
   make
   make V=1

The last "make" should retry the failed compilation, but more verbosely.

For comparison I am attaching the compressed output of the above 
commands on Fedora 36, which has gcc (GCC) 12.2.1 20220819 (Red Hat 
12.2.1-2)
, and where the build is successful.
[coreutils-build.txt.gz (application/gzip, attachment)]

Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Sat, 01 Oct 2022 22:27:02 GMT) Full text and rfc822 format available.

Notification sent to ripspin-004 <at> yahoo.com.au:
bug acknowledged by developer. (Sat, 01 Oct 2022 22:27:02 GMT) Full text and rfc822 format available.

Message #16 received at 58163-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: ripspin-004 <at> yahoo.com.au
Cc: 58163-done <at> debbugs.gnu.org, Gnulib bugs <bug-gnulib <at> gnu.org>
Subject: Re: bug#58163: coreutils instalation failure x86_64
Date: Sat, 1 Oct 2022 15:26:14 -0700
Thanks for sending the extra data. Oh, I see you are running GCC 5.4. 
You have run into a GCC bug that I just now filed here:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107116

This bug was in GCC 5 and is still present in GCC 12.

To work around the GCC bug, please use './configure 
--disable-gcc-warnings' instead of plain './configure'. Or (and this may 
be simpler) please use the latest coreutils release from 
<https://ftp.gnu.org/gnu/coreutils/> rather than trying to bootstrap. 
Another possibility is to upgrade to GCC 7 (2017) or later, as these GCC 
versions have __builtin_sub_overflow which means the code in question 
will not be compiled.

I doubt whether we should modify Gnulib or coreutils to work around the 
GCC bug, as we expect developers who are bootstrapping to use up-to-date 
tools and GCC 6 is not up-to-date. I'm therefore closing the coreutils 
bug report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 30 Oct 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 313 days ago.

Previous Next


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