Compilation fails
mokkurkalve opened this issue · comments
mokkurkalve commented
After commit 66abedd compilation on Arch Linux x86_64 current fails thus:
==> Starting build()...
+ autoreconf -i
configure.ac:20: warning: ac_ext=c
configure.ac:20: ac_cpp='$CPP $CPPFLAGS'
configure.ac:20: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
configure.ac:20: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
configure.ac:20: ac_compiler_gnu=$ac_cv_c_compiler_gnu
configure.ac:20: if test -n "$ac_tool_prefix"; then
configure.ac:20: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
configure.ac:20: set dummy ${ac_tool_prefix}gcc; ac_word=$2
configure.ac:20: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
configure.ac:20: printf %s "checking for $ac_word... " >&6; }
configure.ac:20: if test ${ac_cv_prog_CC+y}
configure.ac:20: then :
configure.ac:20: printf %s "(cached) " >&6
configure.ac:20: else $as_nop
configure.ac:20: if test -n "$CC"; then
configure.ac:20: ac_cv_prog_CC="$CC" # Let the user override the test.
configure.ac:20: else
configure.ac:20: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
configure.ac:20: for as_dir in $PATH
configure.ac:20: do
configure.ac:20: IFS=$as_save_IFS
configure.ac:20: case $as_dir in #(((
configure.ac:20: '' is m4_require'd but not m4_defun'd
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/programs.m4:41: _AC_CHECK_PROG is expanded from...
./lib/autoconf/programs.m4:101: AC_CHECK_PROG is expanded from...
./lib/autoconf/programs.m4:221: AC_CHECK_TOOL is expanded from...
./lib/autoconf/c.m4:452: AC_PROG_CC is expanded from...
configure.ac:20: the top level
configure.ac:19: installing './compile'
configure.ac:18: installing './install-sh'
configure.ac:18: installing './missing'
Makefile.am: installing './depcomp'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
./configure: line 4502: syntax error near unexpected token `newline'
./configure: line 4502: ` '''
==> ERROR: A failure occurred in build().
Aborting...
-> error making: xsecurelock-git
divVerent commented
Reverted the change - it's being warned about by Debian but apparently
autoupdate does something wrong there. Don't yet know what.
…On Sat, Oct 16, 2021 at 2:06 PM mokkurkalve ***@***.***> wrote:
After commit 66abedd
<66abedd>
compilation on Arch Linux x86_64 current fails thus:
==> Starting build()...
+ autoreconf -iconfigure.ac:20: warning: ac_ext=cconfigure.ac:20: ac_cpp='$CPP $CPPFLAGS'configure.ac:20: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'configure.ac:20: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'configure.ac:20: ac_compiler_gnu=$ac_cv_c_compiler_gnuconfigure.ac:20: if test -n "$ac_tool_prefix"; thenconfigure.ac:20: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.configure.ac:20: set dummy ${ac_tool_prefix}gcc; ac_word=$2configure.ac:20: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5configure.ac:20: printf %s "checking for $ac_word... " >&6; }configure.ac:20: if test ${ac_cv_prog_CC+y}configure.ac:20: then :configure.ac:20: printf %s "(cached) " >&6configure.ac:20: else $as_nopconfigure.ac:20: if test -n "$CC"; thenconfigure.ac:20: ac_cv_prog_CC="$CC" # Let the user override the test.configure.ac:20: elseconfigure.ac:20: as_save_IFS=$IFS; IFS=$PATH_SEPARATORconfigure.ac:20: for as_dir in $PATHconfigure.ac:20: doconfigure.ac:20: IFS=$as_save_IFSconfigure.ac:20: case $as_dir in #(((configure.ac:20: '' is m4_require'd but not m4_defun'd
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/programs.m4:41: _AC_CHECK_PROG is expanded from...
./lib/autoconf/programs.m4:101: AC_CHECK_PROG is expanded from...
./lib/autoconf/programs.m4:221: AC_CHECK_TOOL is expanded from...
./lib/autoconf/c.m4:452: AC_PROG_CC is expanded from...configure.ac:20: the top levelconfigure.ac:19: installing './compile'configure.ac:18: installing './install-sh'configure.ac:18: installing './missing'
Makefile.am: installing './depcomp'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
./configure: line 4502: syntax error near unexpected token `newline'
./configure: line 4502: ` '''
==> ERROR: A failure occurred in build().
Aborting...
-> error making: xsecurelock-git
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#134>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB5NMEOV272NV44UOQ6BGDUHG5JVANCNFSM5GD4DL2A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
Gauthier Fleutot Östervall commented
I have a similar issue, but at configure
:
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
./configure: line 4502: syntax error near unexpected token `newline'
./configure: line 4502: ` '''
Before that, autogen gave this warning:
configure.ac:20: warning: AC_PROG_CC_C99 is obsolete; use AC_PROG_CC
configure.ac:23: warning: ac_ext=c
On master 8a448bd.
Gauthier Fleutot Östervall commented
Pull request for the above.