bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Projects suffer from syntax error


From: Bruno Haible
Subject: Re: Projects suffer from syntax error
Date: Mon, 04 Jan 2021 16:15:28 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; )

Hi,

> I more or less often recompile sources for certain GNU projects, and
> at least three projects fail to bootstrap with the same message (only
> line numbers vary). They all pull subrepos from gnulib. The problem
> seems to be that the autotools generate invald configure scripts.
> 
> texinfo: line 5904ff of configure:
> 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
> 
> octave:
> ../configure: line 7723: syntax error near unexpected token 
> `ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89'
> ../configure: line 7723: `                   
> ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89'
> 
> bison:
> ./configure: line 6277: syntax error near unexpected token 
> `ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89'
> ./configure: line 6277: `                    
> ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89'
> 
> In both cases the corresponding configure scripts include the above invalid 
> code.

See [1], [2], [3].

Thanks for the report.

Bruno

[1] https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00091.html
[2] https://savannah.gnu.org/support/?110398
[3] https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00191.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]