Coccinelle make error
Hello,
I received following error while running make step on the Coccinelle repo. Looks like there may be some version mismatch with the compiler??? Do you know how to resolve it?
make -C bundles/pyml all
make[1]: Entering directory '/home/drv/git/kernels/coccinelle/bundles/pyml'
make depend-rec
make[2]: Entering directory '/home/drv/git/kernels/coccinelle/bundles/pyml'
cd pyml-current && LD_LIBRARY_PATH=/home/drv/git/kernels/coccinelle/bundles/stdcompat: ./generate Fatal error: unknown C primitive `caml_sys_mkdir'
Aborted
make[2]: *** [Makefile:61: pyml-current/pywrappers.ml] Error 134
make[2]: Leaving directory '/home/drv/git/kernels/coccinelle/bundles/pyml' make[1]: *** [../Makefile.bundles:100: .depend] Error 2
make[1]: Leaving directory '/home/drv/git/kernels/coccinelle/bundles/pyml'
make: *** [Makefile:489: /home/drv/git/kernels/coccinelle/bundles/pyml/pyml.cmxa] Error 2
Thank you,
./drv
Quoted 5 lines · Deepak R Varma
Hello,
I received following error while running make step on the Coccinelle repo. Looks like there may be some version mismatch with the compiler??? Do you know how to resolve it?
Quoted 12 lines
make -C bundles/pyml all
make[1]: Entering directory '/home/drv/git/kernels/coccinelle/bundles/pyml'
make depend-rec
make[2]: Entering directory '/home/drv/git/kernels/coccinelle/bundles/pyml'
cd pyml-current && LD_LIBRARY_PATH=/home/drv/git/kernels/coccinelle/bundles/stdcompat: ./generate Fatal error: unknown C primitive `caml_sys_mkdir'
Aborted
make[2]: *** [Makefile:61: pyml-current/pywrappers.ml] Error 134
make[2]: Leaving directory '/home/drv/git/kernels/coccinelle/bundles/pyml' make[1]: *** [../Makefile.bundles:100: .depend] Error 2
make[1]: Leaving directory '/home/drv/git/kernels/coccinelle/bundles/pyml'
make: *** [Makefile:489:/home/drv/git/kernels/coccinelle/bundles/pyml/pyml.cmxa] Error 2
I tried compiling the latest version from scratch and all was fine, but it may depend on your configuration. Could you send your configuration file?
julia
Quoted 22 lines · Julia Lawall
Quoted 5 lines · Deepak R Varma
Hello,
I received following error while running make step on the Coccinelle repo. Looks like there may be some version mismatch with the compiler??? Do you know how to resolve it?Quoted 12 lines
make -C bundles/pyml all
make[1]: Entering directory '/home/drv/git/kernels/coccinelle/bundles/pyml'
make depend-rec
make[2]: Entering directory '/home/drv/git/kernels/coccinelle/bundles/pyml'
cd pyml-current && LD_LIBRARY_PATH=/home/drv/git/kernels/coccinelle/bundles/stdcompat: ./generate Fatal error: unknown C primitive `caml_sys_mkdir'
Aborted
make[2]: *** [Makefile:61: pyml-current/pywrappers.ml] Error 134
make[2]: Leaving directory '/home/drv/git/kernels/coccinelle/bundles/pyml' make[1]: *** [../Makefile.bundles:100: .depend] Error 2
make[1]: Leaving directory '/home/drv/git/kernels/coccinelle/bundles/pyml'
make: *** [Makefile:489:/home/drv/git/kernels/coccinelle/bundles/pyml/pyml.cmxa] Error 2
Quoted 2 lines
I tried compiling the latest version from scratch and all was fine, but it may depend on your configuration. Could you send your configuration file?
I assume you are asking for the Coccinelle config file config.status, atatched here. Let me know if you were expecting something else.
Quoted 3 lines
julia
#! /bin/bash
# Generated by configure.
# Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists.
debug=false
ac_cs_recheck=false
ac_cs_silent=false
SHELL=${CONFIG_SHELL-/bin/bash}
export SHELL
## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
emulate sh
NULLCMD=:
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
case `(set -o) 2>/dev/null` in #(
*posix*) :
set -o posix ;; #(
*) :
;;
esac
fias_nl='
'
export as_nl
# Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
# Prefer a ksh shell builtin over an external printf program on Solaris,
# but without wasting forks for bash or zsh.
if test -z "$BASH_VERSION$ZSH_VERSION" \
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
as_echo='print -r --'
as_echo_n='print -rn --'
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
as_echo='printf %s\n'
as_echo_n='printf %s'
else
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
as_echo_n='/usr/ucb/echo -n'
else
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
as_echo_n_body='eval
arg=$1;
case $arg in #(
*"$as_nl"*)
expr "X$arg" : "X\\(.*\\)$as_nl";
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
esac;
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
'
export as_echo_n_body
as_echo_n='sh -c $as_echo_n_body as_echo'
fi
export as_echo_body
as_echo='sh -c $as_echo_body as_echo'
fi# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
PATH_SEPARATOR=:
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
PATH_SEPARATOR=';' }
fi
# IFS
# We need space, tab and new line, in precisely that order. Quoting is
# there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl"
# Find who we are. Look in the path if we contain no directory separator. as_myself=
case $0 in #((
*[\\/]* ) as_myself=$0 ;;
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
IFS=$as_save_IFS
;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi
# Unset variables that we do not need and which cause bugs (e.g. in
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
# suppresses any "Segmentation fault" message there. '((' could
# trigger a bug in pdksh 5.2.14.
for as_var in BASH_ENV ENV MAIL MAILPATH
do eval test x\${$as_var+set} = xset \
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
done
PS1='$ '
PS2='> '
PS4='+ '# NLS nuisances.
LC_ALL=C
export LC_ALL
LANGUAGE=C
export LANGUAGE
# CDPATH.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
# as_fn_error STATUS ERROR [LINENO LOG_FD]
# ----------------------------------------
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
# script with STATUS, using 1 if that was 0.
as_fn_error ()
{
as_status=$1; test $as_status -eq 0 && as_status=1
if test "$4"; then
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
fi
$as_echo "$as_me: error: $2" >&2
as_fn_exit $as_status
} # as_fn_error# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
as_fn_set_status ()
{
return $1
} # as_fn_set_status# as_fn_exit STATUS
# -----------------
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
as_fn_exit ()
{
set +e
as_fn_set_status $1
exit $1
} # as_fn_exit# as_fn_unset VAR
# ---------------
# Portably unset VAR.
as_fn_unset ()
{
{ eval $1=; unset $1;}
}
as_unset=as_fn_unset
# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
# advantage of any shell optimizations that allow amortized linear growth over
# repeated appends, instead of the typical quadratic growth present in naive
# implementations.
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
eval 'as_fn_append ()
{
eval $1+=\$2
}'
else
as_fn_append ()
{
eval $1=\$$1\$2
}
fi # as_fn_append# as_fn_arith ARG...
# ------------------
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
eval 'as_fn_arith ()
{
as_val=$(( $* ))
}'
else
as_fn_arith ()
{
as_val=`expr "$@" || test $? -eq 1`
}
fi # as_fn_arithif expr a : '\(a\)' >/dev/null 2>&1 &&
test "Xexpr 00001 : '.*\(...\)'" = X001; then
as_expr=expr
else
as_expr=false
fi
if (basename -- /) >/dev/null 2>&1 && test "Xbasename -- / 2>&1" = "X/"; then
as_basename=basename
else
as_basename=false
fi
if (as_dir=dirname -- / && test "X$as_dir" = X/) >/dev/null 2>&1; then
as_dirname=dirname
else
as_dirname=false
fi
as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
X"$0" : 'X\(//\)$' \| \
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X/"$0" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
/^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits
ECHO_C= ECHO_N= ECHO_T=
case echo -n x in #(((((
-n*)
case echo 'xy\c' in
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
xy) ECHO_C='\c';;
*) echo echo ksh88 bug on AIX 6.1 > /dev/null
ECHO_T=' ';;
esac;;
*)
ECHO_N='-n';;
esac
rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
rm -f conf$$.dir/conf$$.file
else
rm -f conf$$.dir
mkdir conf$$.dir 2>/dev/null
fi
if (echo >conf$$.file) 2>/dev/null; then
if ln -s conf$$.file conf$$ 2>/dev/null; then
as_ln_s='ln -s'
# ... but there are two gotchas:
# 1) On MSYS, both ln -s file dir' and ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; ln -s' creates a wrapper executable. # In both cases, we have to default to cp -pR'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
as_ln_s='cp -pR'
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
as_ln_s='cp -pR' fi
else
as_ln_s='cp -pR'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null
# as_fn_mkdir_p
# -------------
# Create "$as_dir" as a directory, including parents if necessary.
as_fn_mkdir_p ()
{ case $as_dir in #(
-*) as_dir=./$as_dir;;
esac
test -d "$as_dir" || eval $as_mkdir_p || {
as_dirs=
while :; do
case $as_dir in #(
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
*) as_qdir=$as_dir;;
esac
as_dirs="'$as_qdir' $as_dirs"
as_dir=`$as_dirname -- "$as_dir" ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$as_dir" : 'X\(//\)[^/]' \| \
X"$as_dir" : 'X\(//\)$' \| \
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X"$as_dir" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
test -d "$as_dir" && break
done
test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
} # as_fn_mkdir_p
if mkdir -p . 2>/dev/null; then
as_mkdir_p='mkdir -p "$as_dir"'
else
test -d ./-p && rmdir ./-p
as_mkdir_p=false
fi
# as_fn_executable_p FILE
# -----------------------
# Test if FILE is an executable regular file.
as_fn_executable_p ()
{
test -f "$1" && test -x "$1"
} # as_fn_executable_p
as_test_x='test -x'
as_executable_p=as_fn_executable_p# Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
exec 6>&1
## ----------------------------------- ##
## Main body of $CONFIG_STATUS script. ##
## ----------------------------------- ##
# Save the log message, to keep $0 and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by coccinelle $as_me 1.1.1-00194-g3dd4726d, which was generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@
on (hostname || uname -n) 2>/dev/null | sed 1q
"
# Files that config.status was made for.
config_files=" Makefile.config version.ml commons/commands.ml globals/config.ml globals/regexp.ml python/pycocci.ml ocaml/prepare_ocamlcocci.ml scripts/spatch.sh tools/spgen/scripts/spgen.sh docs/spatch.1 setup/Makefile" config_commands=" depfiles"
ac_cs_usage="\
\`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default.
Usage: $0 [OPTION]... [TAG]...
-h, --help print this help, then exit
-V, --version print version number and configuration settings, then exit
--config print configuration, then exit -q, --quiet, --silent
do not print progress messages
-d, --debug don't remove temporary files
--recheck update $as_me by reconfiguring in the same conditions
--file=FILE[:TEMPLATE]
instantiate the configuration file FILE
Configuration files:
$config_files
Configuration commands:
$config_commands
Report bugs to <[email protected]>. coccinelle home page: <http://coccinelle.lip6.fr/>."
ac_cs_config=""
ac_cs_version="\
coccinelle config.status 1.1.1-00194-g3dd4726d configured by ./configure, generated by GNU Autoconf 2.69,
with options \"$ac_cs_config\"
Copyright (C) 2012 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it."
ac_pwd='/home/drv/git/kernels/coccinelle'
srcdir='.'
INSTALL='/usr/bin/install -c'
MKDIR_P='/usr/bin/mkdir -p'
AWK='mawk'
test -n "$AWK" || AWK=awk
# The default lists apply if the user does not specify any file. ac_need_defaults=:
while test $# != 0
do
case $1 in
--*=?*)
ac_option=`expr "X$1" : 'X\([^=]*\)='`
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
ac_shift=:
;;
--*=)
ac_option=`expr "X$1" : 'X\([^=]*\)='`
ac_optarg=
ac_shift=:
;;
*)
ac_option=$1
ac_optarg=$2
ac_shift=shift
;;esac
case $ac_option in
# Handling of the options.
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
ac_cs_recheck=: ;;
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
$as_echo "$ac_cs_version"; exit ;;
--config | --confi | --conf | --con | --co | --c )
$as_echo "$ac_cs_config"; exit ;;
--debug | --debu | --deb | --de | --d | -d )
debug=: ;;
--file | --fil | --fi | --f )
$ac_shift
case $ac_optarg in
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
'') as_fn_error $? "missing file argument" ;;
esac
as_fn_append CONFIG_FILES " '$ac_optarg'"
ac_need_defaults=false;;
--he | --h | --help | --hel | -h )
$as_echo "$ac_cs_usage"; exit ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil | --si | --s)
ac_cs_silent=: ;; # This is an error.
-*) as_fn_error $? "unrecognized option: \`$1'
Try \`$0 --help' for more information." ;;
*) as_fn_append ac_config_targets " $1"
ac_need_defaults=false ;; esac
shift
done
ac_configure_extra_args=
if $ac_cs_silent; then
exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent"
fi
if $ac_cs_recheck; then
set X /bin/bash './configure' $ac_configure_extra_args --no-create --no-recursion shift
$as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 CONFIG_SHELL='/bin/bash'
export CONFIG_SHELL
exec "$@"
fi
exec 5>>config.log
{
echo
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##_ASBOX
$as_echo "$ac_log"
} >&5
#
# INIT-COMMANDS
#
AMDEP_TRUE="" MAKE="make"
# Handling of arguments.
for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"bundles/pcre/pcre-ocaml/src/pcre.ml") CONFIG_FILES="$CONFIG_FILES bundles/pcre/pcre-ocaml/src/pcre.ml" ;;
"bundles/pcre/pcre-ocaml/src/pcre_stubs.c") CONFIG_FILES="$CONFIG_FILES bundles/pcre/pcre-ocaml/src/pcre_stubs.c" ;;
"Makefile.config") CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
"version.ml") CONFIG_FILES="$CONFIG_FILES version.ml" ;;
"commons/commands.ml") CONFIG_FILES="$CONFIG_FILES commons/commands.ml" ;;
"globals/config.ml") CONFIG_FILES="$CONFIG_FILES globals/config.ml" ;;
"globals/regexp.ml") CONFIG_FILES="$CONFIG_FILES globals/regexp.ml" ;;
"python/pycocci.ml") CONFIG_FILES="$CONFIG_FILES python/pycocci.ml" ;;
"ocaml/prepare_ocamlcocci.ml") CONFIG_FILES="$CONFIG_FILES ocaml/prepare_ocamlcocci.ml" ;;
"scripts/spatch.sh") CONFIG_FILES="$CONFIG_FILES scripts/spatch.sh" ;;
"tools/spgen/scripts/spgen.sh") CONFIG_FILES="$CONFIG_FILES tools/spgen/scripts/spgen.sh" ;;
"docs/spatch.1") CONFIG_FILES="$CONFIG_FILES docs/spatch.1" ;;
"setup/Makefile") CONFIG_FILES="$CONFIG_FILES setup/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac
done
# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used. Set only those that are not.
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
fi# Have a temporary directory for convenience. Make it in the build tree
# simply because there is no reason against having it here, and in addition,
# creating and moving files from /tmp can sometimes cause problems.
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
# after its creation but before its name has been assigned to `$tmp'.
$debug ||
{
tmp= ac_tmp=
trap 'exit_status=$?
: "${ac_tmp:=$tmp}"
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
' 0
trap 'as_fn_exit 1' 1 2 13 15
}
# Create a (secure) tmp directory for tmp files.{
tmp=(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null && test -d "$tmp"
} ||
{
tmp=./conf$$-$RANDOM
(umask 077 && mkdir "$tmp")
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp
# Set up the scripts for CONFIG_FILES section.
# No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then
ac_cr=echo X | tr X '\015'
# On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback.
if test "x$ac_cr" = x; then
eval ac_cr=\$\'\\r\'
fi
ac_cs_awk_cr=$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
ac_cs_awk_cr='\\r'
else
ac_cs_awk_cr=$ac_cr
fi
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
S["am__EXEEXT_FALSE"]=""
S["am__EXEEXT_TRUE"]="#"
S["LTLIBOBJS"]=""
S["LIBOBJS"]=""
S["untagged"]=""
S["noalloc"]=""
S["Int_val_val"]=""
S["Int_val"]=""
S["Val_Val_int"]=""
S["Val_int"]=""
S["intnat"]=""
S["CAMLnoreturn_end"]=""
S["CAMLnoreturn_start"]=""
S["subdirs"]=" bundles/stdcompat/stdcompat-current"
S["BASH_COMPLETION_DIR"]="/usr/share/bash-completion/completions"
S["BASH_COMPLETION_LIBS"]=""
S["BASH_COMPLETION_CFLAGS"]=""
S["with_bash_completion"]="yes"
S["MAKETARGET_SPATCH"]="opt-only"
S["SPATCHNAME"]="spatch.opt"
S["enable_opt"]="yes"
S["SUBSTITUTED_PDFLATEX"]=""
S["with_PDFLATEX"]=""
S["PDFLATEX"]="/usr/bin/pdflatex"
S["GET_TEMP_DIR_NAME_EXPR"]="(Filename.get_temp_dir_name ())"
S["DYNLINK_IS_NATIVE"]="Dynlink.is_native"
S["FEATURE_OCAML"]="1"
S["FEATURE_PYTHON"]="1"
S["LIBDIR"]="${exec_prefix}/lib/coccinelle"
S["REGEXP_FILE"]="regexp_pcre.ml"
S["REGEXP_MODULE"]="Regexp_pcre"
S["MAKE_bytes"]=""
S["OPTFLAGS_bytes"]=""
S["enable_bytes"]=""
S["GLOBAL_bytes"]=""
S["OCAML_PKG_bytes"]=""
S["MAKE_pcre"]=""
S["OPTFLAGS_pcre"]="$(OPTFLAGS_pcre)"
S["enable_pcre"]="yes"
S["GLOBAL_pcre"]="pcre"
S["OCAML_PKG_pcre"]="pcre"
S["enable_pcre_syntax"]=""
S["HAVE_PCRE"]="yes"
S["PCRE_LIBS"]="-lpcre"
S["PCRE_CFLAGS"]=""
S["PYCOCCI_FILE"]="yes_pycocci.ml"
S["PYCOCCI_MODULE"]="Yes_pycocci"
S["enable_python"]="yes"
S["MAKE_pyml"]="/home/drv/git/kernels/coccinelle/bundles/pyml"
S["OPTFLAGS_pyml"]="$(OPTFLAGS_pyml)"
S["enable_pyml"]="local"
S["GLOBAL_pyml"]="pyml"
S["OCAML_PKG_pyml"]="pyml"
S["PYTHON"]="python"
S["OCAMLCOCCI_FILE"]="yes_prepare_ocamlcocci.ml"
S["OCAMLCOCCI_MODULE"]="Yes_prepare_ocamlcocci"
S["enable_ocaml"]="yes"
S["DEFAULT_MENHIR_FLAGS"]=""
S["MODULESOPT_menhirLib"]=""
S["MODULES_menhirLib"]=""
S["OPTFLAGS_menhirLib"]=""
S["FLAGS_menhirLib"]=""
S["FEATURE_menhirLib"]="1"
S["PATH_menhirLib"]="/usr/lib/ocaml/menhirLib"
S["MAKE_menhirLib"]=""
S["SUBSTITUTED_MENHIR"]=""
S["with_MENHIR"]=""
S["MENHIR"]="/usr/bin/menhir"
S["PATH_menhir_bundle"]="/home/drv/git/kernels/coccinelle/bundles/menhirLib/menhir" S["PATH_menhirLib_bundle"]="/home/drv/git/kernels/coccinelle/bundles/menhirLib"
S["OPTIMIZED_dynlink"]="yes"
S["MAKE_stdcompat"]="/home/drv/git/kernels/coccinelle/bundles/stdcompat"
S["OPTFLAGS_stdcompat"]="$(OPTFLAGS_stdcompat)"
S["enable_stdcompat"]="local"
S["GLOBAL_stdcompat"]="stdcompat"
S["OCAML_PKG_stdcompat"]="stdcompat"
S["MAKE_parmap"]=""
S["OPTFLAGS_parmap"]="$(OPTFLAGS_parmap)"
S["enable_parmap"]="yes"
S["GLOBAL_parmap"]="parmap"
S["OCAML_PKG_parmap"]="parmap"
S["MAKE_dynlink"]=""
S["OPTFLAGS_dynlink"]="$(OPTFLAGS_dynlink)"
S["enable_dynlink"]="yes"
S["GLOBAL_dynlink"]="dynlink"
S["OCAML_PKG_dynlink"]="dynlink"
S["PATH_str"]="/usr/lib/ocaml"
S["OCAML_PKG_str"]="str"
S["PATH_bigarray"]="/usr/lib/ocaml"
S["OCAML_PKG_bigarray"]="bigarray"
S["PATH_unix"]="/usr/lib/ocaml"
S["OCAML_PKG_unix"]="unix"
S["PATH_parmap"]="/usr/lib/ocaml/parmap"
S["MODULESOPT_parmap"]="$(GLOBALOPT_parmap)"
S["MODULES_parmap"]="$(GLOBAL_parmap)"
S["FLAGS_parmap"]="$(FLAGS_parmap)"
S["LOCALLIB_parmap"]="0"
S["FEATURE_parmap"]="1"
S["PATH_stdcompat"]="/home/drv/git/kernels/coccinelle/bundles/stdcompat"
S["MODULESOPT_stdcompat"]="$(GLOBALOPT_stdcompat)"
S["MODULES_stdcompat"]="$(GLOBAL_stdcompat)"
S["FLAGS_stdcompat"]="$(FLAGS_stdcompat)"
S["LOCALLIB_stdcompat"]="0"
S["FEATURE_stdcompat"]="1"
S["PATH_pyml"]="/home/drv/git/kernels/coccinelle/bundles/pyml"
S["MODULESOPT_pyml"]="$(GLOBALOPT_pyml)"
S["MODULES_pyml"]="/home/drv/git/kernels/coccinelle/bundles/pyml/pyml.cma"
S["FLAGS_pyml"]="$(FLAGS_pyml)"
S["LOCALLIB_pyml"]="0"
S["FEATURE_pyml"]="1"
S["PATH_bytes"]=""
S["MODULESOPT_bytes"]=""
S["MODULES_bytes"]=""
S["FLAGS_bytes"]=""
S["LOCALLIB_bytes"]="0"
S["FEATURE_bytes"]="0"
S["PATH_pcre"]="/usr/lib/ocaml/pcre"
S["MODULESOPT_pcre"]="$(GLOBALOPT_pcre)"
S["MODULES_pcre"]="$(GLOBAL_pcre)"
S["FLAGS_pcre"]="$(FLAGS_pcre)"
S["LOCALLIB_pcre"]="0"
S["FEATURE_pcre"]="1"
S["PATH_dynlink"]="/usr/lib/ocaml"
S["MODULESOPT_dynlink"]="$(GLOBALOPT_dynlink)"
S["MODULES_dynlink"]="$(GLOBAL_dynlink)"
S["FLAGS_dynlink"]="$(FLAGS_dynlink)"
S["LOCALLIB_dynlink"]="0"
S["FEATURE_dynlink"]="1"
S["COCCI_OCAML_EXTERNAL"]="/home/drv/git/kernels/coccinelle/bundles"
S["RUNTIME_OCAMLDEP_CMD"]="ocamldep"
S["RUNTIME_OCAMLOPT_CMD"]="ocamlopt"
S["RUNTIME_OCAMLC_CMD"]="ocamlc"
S["RUNTIME_OCAMLFIND_CMD"]="ocamlfind"
S["SUBSTITUTED_OCAMLPROF"]=""
S["with_OCAMLPROF"]=""
S["OCAMLPROF"]="/usr/bin/ocamlprof"
S["SUBSTITUTED_OCAMLFIND"]=""
S["with_OCAMLFIND"]=""
S["OCAMLFIND"]="/usr/bin/ocamlfind"
S["SUBSTITUTED_OCAMLYACC"]=""
S["with_OCAMLYACC"]=""
S["SUBSTITUTED_OCAMLLEX"]=""
S["with_OCAMLLEX"]=""
S["OCAMLCORIG"]="/usr/bin/ocamlc.opt"
S["OCAMLATLEAST50"]="no"
S["OCAMLATLEAST4030"]="yes"
S["OCAMLATLEAST4020"]="yes"
S["OCAMLATLEAST312"]="yes"
S["OCAMLDOC"]="/usr/bin/ocamldoc"
S["OCAMLMKLIB"]="/usr/bin/ocamlmklib"
S["OCAMLMKTOP"]="/usr/bin/ocamlmktop"
S["OCAMLDEP"]="/usr/bin/ocamldep"
S["OCAML"]="/usr/bin/ocaml"
S["OCAMLOPTDOTOPT"]="/usr/bin/ocamlopt.opt"
S["OCAMLCDOTOPT"]="/usr/bin/ocamlc.opt"
S["OCAMLBEST"]="opt"
S["OCAMLOPT"]="/usr/bin/ocamlopt.opt"
S["OCAMLLIB"]="/usr/lib/ocaml"
S["OCAMLVERSION"]="4.11.1"
S["OCAMLC"]="/usr/bin/ocamlc.opt"
S["PKG_CONFIG_ORIG"]="/usr/bin/pkg-config"
S["SUBSTITUTED_PKG_CONFIG"]=""
S["OCAMLYACC"]="/usr/bin/ocamlyacc"
S["OCAMLLEXDOTOPT"]="/usr/bin/ocamllex.opt"
S["OCAMLLEX"]="/usr/bin/ocamllex.opt"
S["PKG_CONFIG_LIBDIR"]=""
S["PKG_CONFIG_PATH"]=""
S["with_PKG_CONFIG"]=""
S["PKG_CONFIG"]="/home/drv/git/kernels/coccinelle/setup/fake-subst.sh /usr/bin/pkg-config"
S["PATCHELF"]=""
S["INSTALL"]="/usr/bin/install -c"
S["ECHO"]="/usr/bin/echo"
S["PATCH"]="/usr/bin/patch"
S["TAR"]="/usr/bin/tar"
S["BASH"]="/bin/bash"
S["CPP"]="gcc -E"
S["am__fastdepCC_FALSE"]=""
S["am__fastdepCC_TRUE"]="#"
S["CCDEPMODE"]="depmode=none"
S["am__nodep"]="_no"
S["AMDEPBACKSLASH"]="\\"
S["AMDEP_FALSE"]="#"
S["AMDEP_TRUE"]=""
S["am__include"]="include"
S["DEPDIR"]=".deps"
S["OBJEXT"]="o"
S["EXEEXT"]=""
S["ac_ct_CC"]="gcc"
S["CPPFLAGS"]=""
S["LDFLAGS"]=""
S["CFLAGS"]="-g -O2"
S["CC"]="gcc"
S["DATE"]=""
S["GIT"]="/usr/bin/git"
S["CONFVERSION"]="Tue, 25 Oct 2022 14:40:29 +0000"
S["AM_BACKSLASH"]="\\"
S["AM_DEFAULT_VERBOSITY"]="1"
S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)"
S["AM_V"]="$(V)"
S["am__untar"]="$${TAR-tar} xf -"
S["am__tar"]="$${TAR-tar} chof - \"$$tardir\""
S["AMTAR"]="$${TAR-tar}"
S["am__leading_dot"]="."
S["SET_MAKE"]=""
S["AWK"]="mawk"
S["mkdir_p"]="$(MKDIR_P)"
S["MKDIR_P"]="/usr/bin/mkdir -p"
S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
S["STRIP"]=""
S["install_sh"]="${SHELL} /home/drv/git/kernels/coccinelle/setup/install-sh"
S["MAKEINFO"]="${SHELL} '/home/drv/git/kernels/coccinelle/setup/missing' makeinfo"
S["AUTOHEADER"]="${SHELL} '/home/drv/git/kernels/coccinelle/setup/missing' autoheader"
S["AUTOMAKE"]="${SHELL} '/home/drv/git/kernels/coccinelle/setup/missing' automake-1.16"
S["AUTOCONF"]="${SHELL} '/home/drv/git/kernels/coccinelle/setup/missing' autoconf"
S["ACLOCAL"]="${SHELL} '/home/drv/git/kernels/coccinelle/setup/missing' aclocal-1.16"
S["VERSION"]="1.1.1-00194-g3dd4726d"
S["PACKAGE"]="coccinelle"
S["CYGPATH_W"]="echo"
S["am__isrc"]=""
S["INSTALL_DATA"]="${INSTALL} -m 644"
S["INSTALL_SCRIPT"]="${INSTALL}"
S["INSTALL_PROGRAM"]="${INSTALL}"
S["COCCI_SRCDIR"]="/home/drv/git/kernels/coccinelle"
S["COCCI_VERSION"]="1.1.1-00194-g3dd4726d"
S["CONFIGURE_FLAGS"]=""
S["target_alias"]=""
S["host_alias"]=""
S["build_alias"]=""
S["LIBS"]=""
S["ECHO_T"]=""
S["ECHO_N"]="-n"
S["ECHO_C"]=""
S["DEFS"]="-DPACKAGE_NAME=\\\"coccinelle\\\" -DPACKAGE_TARNAME=\\\"coccinelle\\\" -DPACKAGE_VERSION=\\\"1.1.1-00194-g3dd4726d\\\" -DPACKAGE_STRING=\\\"coccinelle\\ 1.1.1-0019"\
"4-g3dd4726d\\\" -DPACKAGE_BUGREPORT=\\\"[email protected]\\\" -DPACKAGE_URL=\\\"http://coccinelle.lip6.fr/\\\" -DPACKAGE=\\\"coccinelle\\\" -DVERSION=\\\"1.1.1-"\
"00194-g3dd4726d\\\""
S["mandir"]="${datarootdir}/man"
S["localedir"]="${datarootdir}/locale"
S["libdir"]="${exec_prefix}/lib"
S["psdir"]="${docdir}"
S["pdfdir"]="${docdir}"
S["dvidir"]="${docdir}"
S["htmldir"]="${docdir}"
S["infodir"]="${datarootdir}/info"
S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
S["oldincludedir"]="/usr/include"
S["includedir"]="${prefix}/include"
S["runstatedir"]="${localstatedir}/run"
S["localstatedir"]="${prefix}/var"
S["sharedstatedir"]="${prefix}/com"
S["sysconfdir"]="${prefix}/etc"
S["datadir"]="${datarootdir}"
S["datarootdir"]="${prefix}/share"
S["libexecdir"]="${exec_prefix}/libexec"
S["sbindir"]="${exec_prefix}/sbin"
S["bindir"]="${exec_prefix}/bin"
S["program_transform_name"]="s,x,x,"
S["prefix"]="/usr/local"
S["exec_prefix"]="${prefix}"
S["PACKAGE_URL"]="http://coccinelle.lip6.fr/"
S["PACKAGE_BUGREPORT"]="[email protected]"
S["PACKAGE_STRING"]="coccinelle 1.1.1-00194-g3dd4726d"
S["PACKAGE_VERSION"]="1.1.1-00194-g3dd4726d"
S["PACKAGE_TARNAME"]="coccinelle"
S["PACKAGE_NAME"]="coccinelle"
S["PATH_SEPARATOR"]=":"
S["SHELL"]="/bin/bash"
S["PYVER"]=""
S["am__quote"]=""_ACAWK
cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
for (key in S) S_is_set[key] = 1
FS = ""
}
{
line = $ 0
nfields = split(line, field, "@")
substed = 0
len = length(field[1])
for (i = 2; i < nfields; i++) {
key = field[i]
keylen = length(key)
if (S_is_set[key]) {
value = S[key]
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i])
substed = 1
} else
len += 1 + keylen
}
print line
}
_ACAWK
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
else
cat
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
fi # test -n "$CONFIG_FILES"
eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
shift
for ac_tag
do
case $ac_tag in
:[FHLC]) ac_mode=$ac_tag; continue;;
esac
case $ac_mode$ac_tag in
:[FHL]*:*);;
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;;
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
esac
ac_save_IFS=$IFS
IFS=:
set x $ac_tag
IFS=$ac_save_IFS
shift
ac_file=$1
shift
case $ac_mode in
:L) ac_source=$1;;
:[FH])
ac_file_inputs=
for ac_f
do
case $ac_f in
-) ac_f="$ac_tmp/stdin";;
*) # Look for the file first in the build tree, then in the source tree
# (if the path is not absolute). The absolute path cannot be DOS-style,
# because $ac_f cannot contain `:'.
test -f "$ac_f" ||
case $ac_f in
[\\/$]*) false;;
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
esac ||
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
esac
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
as_fn_append ac_file_inputs " '$ac_f'"
done
# Let's still pretend it is `configure' which instantiates (i.e., don't
# use $as_me), people would be surprised to read:
# /* config.h. Generated by config.status. */
configure_input='Generated from '`
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
`' by configure.'
if test x"$ac_file" != x-; then
configure_input="$ac_file. $configure_input"
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
$as_echo "$as_me: creating $ac_file" >&6;}
fi
# Neutralize special characters interpreted by sed in replacement strings.
case $configure_input in #(
*\&* | *\|* | *\\* )
ac_sed_conf_input=`$as_echo "$configure_input" |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
*) ac_sed_conf_input=$configure_input;;
esac
case $ac_tag in
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
esac
;;esac
ac_dir=`$as_dirname -- "$ac_file" ||
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$ac_file" : 'X\(//\)[^/]' \| \
X"$ac_file" : 'X\(//\)$' \| \
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X"$ac_file" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p
ac_builddir=.
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
ac_dir_suffix=/$as_echo "$ac_dir" | sed 's|^\.[\\/]||'
# A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||' case $ac_top_builddir_sub in
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility: ac_top_builddir=$ac_top_build_prefix
case $srcdir in
.) # We are building in place.
ac_srcdir=.
ac_top_srcdir=$ac_top_builddir_sub
ac_abs_top_srcdir=$ac_pwd ;;
[\\/]* | ?:[\\/]* ) # Absolute name.
ac_srcdir=$srcdir$ac_dir_suffix;
ac_top_srcdir=$srcdir
ac_abs_top_srcdir=$srcdir ;;
*) # Relative name.
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
ac_top_srcdir=$ac_top_build_prefix$srcdir
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
case $ac_mode in
:F)
#
# CONFIG_FILE
#
case $INSTALL in
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
esac
ac_MKDIR_P=$MKDIR_P
case $MKDIR_P in
[\\/$]* | ?:[\\/]* ) ;;
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
esac
# If the template does not know about datarootdir, expand it.
# FIXME: This hack should be removed a few years after 2.60.
ac_datarootdir_hack=; ac_datarootdir_seen=
ac_sed_dataroot='
/datarootdir/ {
p
q
}
/@datadir@/p
/@docdir@/p
/@infodir@/p
/@localedir@/p
/@mandir@/p'
case eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs" in
*datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
ac_datarootdir_hack='
s&@datadir@&${datarootdir}&g
s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
s&@infodir@&${datarootdir}/info&g
s&@localedir@&${datarootdir}/locale&g
s&@mandir@&${datarootdir}/man&g
s&\${datarootdir}&${prefix}/share&g' ;;
esac
ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
h
s///
s/^/:/
s/[ ]*$/:/
s/:\$(srcdir):/:/g
s/:\${srcdir}:/:/g
s/:@srcdir@:/:/g
s/^:*//
s/:*$//
x
s/\(=[ ]*\).*/\1/
G
s/\n//
s/^[^=]*=[ ]*$//
}
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t
s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t
s&@MKDIR_P@&$ac_MKDIR_P&;t t
$ac_datarootdir_hack
"
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
Quoted 1 line
$ac_tmp/out ||
as_fn_error$? "could not create $ac_file" "$LINENO" 5
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
{ ac_out=sed -n '/\${datarootdir}/p' "$ac_tmp/out"; test -n "$ac_out"; } &&
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
"$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined. Please make sure it is defined" >&5
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined. Please make sure it is defined" >&2;}
rm -f "$ac_tmp/stdin"
case $ac_file in
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
;;
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
$as_echo "$as_me: executing $ac_file commands" >&6;}
;;
esac
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
# Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
# TODO: see whether this extra hack can be removed once we start
# requiring Autoconf 2.70 or later.
case $CONFIG_FILES in #(
*\'*) :
eval set x "$CONFIG_FILES" ;; #(
*) :
set x $CONFIG_FILES ;; #(
*) :
;;
esac
shift
# Used to flag and report bootstrapping failures.
am_rc=0
for am_mf
do
# Strip MF so we end up with the name of the file.
am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile which includes
# dependency-tracking related rules and includes.
# Grep'ing the whole file directly is not great: AIX grep has a line
# limit of 2048, but all sed's we know have understand at least 4000.
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
|| continue
am_dirpart=`$as_dirname -- "$am_mf" ||
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$am_mf" : 'X\(//\)[^/]' \| \
X"$am_mf" : 'X\(//\)$' \| \
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X"$am_mf" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
am_filepart=`$as_basename -- "$am_mf" ||
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
X"$am_mf" : 'X\(//\)$' \| \
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X/"$am_mf" |
sed '/^.*\/\([^/][^/]*\)\/*$/{
s//\1/
q
}
/^X\/\(\/\/\)$/{
s//\1/
q
}
/^X\/\(\/\).*/{
s//\1/
q
}
s/.*/./; q'`
{ echo "$as_me:$LINENO: cd "$am_dirpart" \
&& sed -e '/# am--include-marker/d' "$am_filepart" \
| $MAKE -f - am--depfiles" >&5
(cd "$am_dirpart" \
&& sed -e '/# am--include-marker/d' "$am_filepart" \
| $MAKE -f - am--depfiles) >&5 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } || am_rc=$?
done
if test $am_rc -ne 0; then
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "Something went wrong bootstrapping makefile fragments
for automatic dependency tracking. If GNU make was not used, consider
re-running the configure script with MAKE=\"gmake\" (or whatever is
necessary). You can also try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency tracking).
See \`config.log' for more details" "$LINENO" 5; }
fi
{ am_dirpart=; unset am_dirpart;}
{ am_filepart=; unset am_filepart;}
{ am_mf=; unset am_mf;}
{ am_rc=; unset am_rc;}
rm -f conftest-deps.mk
}
;; esac
done # for ac_tag
as_fn_exit 0
Quoted 22 lines · Julia Lawall
Quoted 5 lines · Deepak R Varma
Hello,
I received following error while running make step on the Coccinelle repo. Looks like there may be some version mismatch with the compiler??? Do you know how to resolve it?Quoted 12 lines
make -C bundles/pyml all
make[1]: Entering directory '/home/drv/git/kernels/coccinelle/bundles/pyml'
make depend-rec
make[2]: Entering directory '/home/drv/git/kernels/coccinelle/bundles/pyml'
cd pyml-current && LD_LIBRARY_PATH=/home/drv/git/kernels/coccinelle/bundles/stdcompat: ./generate Fatal error: unknown C primitive `caml_sys_mkdir'
Aborted
make[2]: *** [Makefile:61: pyml-current/pywrappers.ml] Error 134
make[2]: Leaving directory '/home/drv/git/kernels/coccinelle/bundles/pyml' make[1]: *** [../Makefile.bundles:100: .depend] Error 2
make[1]: Leaving directory '/home/drv/git/kernels/coccinelle/bundles/pyml'
make: *** [Makefile:489:/home/drv/git/kernels/coccinelle/bundles/pyml/pyml.cmxa] Error 2
Quoted 2 lines
I tried compiling the latest version from scratch and all was fine, but it may depend on your configuration. Could you send your configuration file?
Quick Update:
I stood up a new instance of Ubuntu on my VM and was able to successfully get Coccinelle / coccicheck to work. It looks like there may be some package/versioning conflicts across dependencies for Debian packages of Coccinelle that prevented me from getting it to work.
Will continue to use the new VM and catch up with the remaining tasks.
Thank you Julia and all for your assistance.
./drv
Quoted 3 lines
julia
Quoted 23 lines · Deepak R Varma
Quoted 22 lines · Julia Lawall
Quoted 17 lines · Deepak R Varma
Hello,
I received following error while running make step on the Coccinelle repo. Looks like there may be some version mismatch with the compiler??? Do you know how to resolve it?make -C bundles/pyml all
make[1]: Entering directory '/home/drv/git/kernels/coccinelle/bundles/pyml'
make depend-rec
make[2]: Entering directory '/home/drv/git/kernels/coccinelle/bundles/pyml'
cd pyml-current && LD_LIBRARY_PATH=/home/drv/git/kernels/coccinelle/bundles/stdcompat: ./generate Fatal error: unknown C primitive `caml_sys_mkdir'
Aborted
make[2]: *** [Makefile:61: pyml-current/pywrappers.ml] Error 134
make[2]: Leaving directory '/home/drv/git/kernels/coccinelle/bundles/pyml' make[1]: *** [../Makefile.bundles:100: .depend] Error 2
make[1]: Leaving directory '/home/drv/git/kernels/coccinelle/bundles/pyml'
make: *** [Makefile:489:/home/drv/git/kernels/coccinelle/bundles/pyml/pyml.cmxa] Error 2
Quoted 8 lines
Quoted 2 lines
I tried compiling the latest version from scratch and all was fine, but it may depend on your configuration. Could you send your configuration file?
Quick Update:
I stood up a new instance of Ubuntu on my VM and was able to successfully get Coccinelle / coccicheck to work. It looks like there may be some package/versioning conflicts across dependencies for Debian packages of Coccinelle that prevented me from getting it to work.
OK, good news.
julia
Quoted 13 lines
Will continue to use the new VM and catch up with the remaining tasks.
Thank you Julia and all for your assistance.
./drv
Quoted 3 lines
julia