mainAutoconf - Support: sr #110398, autoconf 2.70 breaks coreutils-8.32

 
 

sr #110398: autoconf 2.70 breaks coreutils-8.32

Submitter:  Bruce Dubbs <bdubbs>
Submitted:  Wed 09 Dec 2020 05:46:05 PM UTC
   
 
Priority:  * 5 - Unprioritized Severity:  3 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 05 Jan 2021 01:57:04 PM UTC, comment #5: 

FWIW this is fixed in autoconf git.

Ross Burton <rossburton>
Thu 10 Dec 2020 12:11:17 AM UTC, comment #4: 

comment #3:

> comment #2:
>
> > The problem of course is that every package that uses gnulib has to update.
>
> That's why we have a Gnulib. :-)
>
> More precisely, if you want to use the latest Autoconf you should also use the latest Gnulib. If you don't need to use the latest Autoconf, older Gnulib will do.


I am not the maintainer.  At linuxfromscratch we show users how to build about 1000 open source packages, but we rely on the upstream source code.  Most of the time upstream releases the package so that autoconf or autoreconf is not needed by us, but sometimes we do need them. For those cases where it is needed,  having different packages use different versions of gnulib makes things difficult.

I will note that mozilla packages (firefox, seamonkey, thunderbird) still require autoconf-2.13. 

There is not a lot autoconf developers can do about that, but it certainly would be easier if gnulib could be installed system wide.

I do have a workaround for coreutils, so you can close this ticket.

Bruce Dubbs <bdubbs>
Wed 09 Dec 2020 11:37:48 PM UTC, comment #3: 

comment #2:

> The problem of course is that every package that uses gnulib has to update.


That's why we have a Gnulib. :-)

More precisely, if you want to use the latest Autoconf you should also use the latest Gnulib. If you don't need to use the latest Autoconf, older Gnulib will do.

Paul Eggert <eggert>
Group administrator
Wed 09 Dec 2020 08:41:17 PM UTC, comment #2: 

comment #1:

> This should be a gnulib bug fixed in http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=a3b3fc85e3e632374811b27cb2111e50fa177e36


Yes, this fixes coreutils.  The problem of course is that every package that uses gnulib has to update.

Bruce Dubbs <bdubbs>
Wed 09 Dec 2020 06:37:56 PM UTC, comment #1: 
Anonymous
Wed 09 Dec 2020 05:46:05 PM UTC, original submission:  

Running 'autoreconf -fiv' on coreutils creates a configure script that fails:

/configure: line 6425: syntax error near unexpected token `ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89'
./configure: line 6425: `            ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89'

I could not find any reference to this in configure.ac, but the offending part of configure is:

for ac_arg in '' ac_prog_cc_stdc=c89
             ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
do
  CC="$ac_save_CC $ac_arg"
  if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_prog_cc_c89=$ac_arg
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam
  test "x$ac_cv_prog_cc_c89" != "xno" && break
done
-------
I can fix this manually by changing to:

ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
for ac_arg in '' ac_cv_prog_cc_stdc
do
...

but that is not a good solution.

More info is available upon request.

Bruce Dubbs <bdubbs>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rossburton (Posted a comment)
  • -email is unavailable- added by eggert (Posted a comment)
  • -email is unavailable- added by bdubbs (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-12-10 eggert Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code