https://bugs.openldap.org/show_bug.cgi?id=9485
--- Comment #12 from kloczko.tomasz@gmail.com kloczko.tomasz@gmail.com --- Just FTR here is output of the confiigure with https://git.openldap.org/openldap/openldap/-/commit/5adcdb76 after use autoconf 2.71.
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/openldap-Fix-warnings-issued-by-autoconf-2.68.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + ln -s ../../../contrib/slapd-modules/smbk5pwd/smbk5pwd.c servers/slapd/overlays + /usr/bin/mv contrib/slapd-modules/smbk5pwd/README contrib/slapd-modules/smbk5pwd/README.smbk5pwd + ln -s ../../../contrib/slapd-modules/allop/allop.c servers/slapd/overlays + /usr/bin/mv contrib/slapd-modules/allop/README contrib/slapd-modules/allop/README.allop + /usr/bin/mv contrib/slapd-modules/allop/slapo-allop.5 doc/man/man5/slapo-allop.5 + /usr/bin/cp servers/slapd/back-perl/README README.back_perl + /usr/bin/cp ltb-project-openldap-ppolicy-check-password-1.1/README README.check_pwd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Y1oJJf + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + cd openldap-2.4.58 + libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build'. libtoolize: copying file 'build/ltmain.sh' libtoolize: You should add the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' + autoconf configure.in:73: warning: AC_INIT: not a literal: "$OL_PACKAGE" configure.in:73: warning: AC_INIT: not a literal: "$OL_VERSION" + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -DLDAP_CONNECTIONLESS -DLDAP_USE_NON_BLOCKING_TLS' + CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none' + FFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules' + FCFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin' + CC=/usr/bin/gcc + CXX=/usr/bin/g++ + FC=/usr/bin/gfortran + AR=/usr/bin/gcc-ar + NM=/usr/bin/gcc-nm + RANLIB=/usr/bin/gcc-ranlib + export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --disable-silent-rules --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-debug --disable-ndb --disable-slp --disable-sql --disable-static --enable-backends=mod --enable-bdb=yes --enable-cleartext --enable-crypt --enable-dynacl --enable-dynamic --enable-hdb --enable-lmpasswd --enable-mdb=yes --enable-modules --enable-monitor --enable-overlays=mod --enable-rewrite --enable-rlookups --enable-slapi --enable-spasswd --libexecdir=/usr/lib64 --with-cyrus-sasl --with-gnu-ld --without-fetch --with-pic --with-threads ./configure: line 32568: warning: here-document at line 2805 delimited by end-of-file (wanted `http://www.openldap.org/its/') ./configure: command substitution: line 2807: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2809: syntax error: unexpected end of file ./configure: command substitution: line 2805: syntax error near unexpected token `;;' ./configure: command substitution: line 2805: `;;' uname: extra operand '=' Try 'uname --help' for more information. uname: extra operand '=' Try 'uname --help' for more information. uname: extra operand '=' Try 'uname --help' for more information. uname: extra operand '=' Try 'uname --help' for more information. /usr/bin/uname: extra operand '=' Try '/usr/bin/uname --help' for more information. /bin/uname: invalid option -- 'X' Try '/bin/uname --help' for more information. /bin/arch: extra operand '=' Try '/bin/arch --help' for more information. /usr/bin/arch: invalid option -- 'k' Try '/usr/bin/arch --help' for more information. ./configure: line 2806: /usr/convex/getsysinfo: No such file or directory ./configure: line 2806: /usr/bin/hostinfo: No such file or directory ./configure: line 2806: /bin/machine: No such file or directory ./configure: line 2806: /usr/bin/oslevel: No such file or directory ./configure: line 2806: /bin/universe: No such file or directory ./configure: line 2807: _ASUNAME: command not found ./configure: command substitution: line 2822: syntax error near unexpected token `}' ./configure: command substitution: line 2822: `} >&5' ./configure: command substitution: line 2805: syntax error near unexpected token `;;' ./configure: command substitution: line 2805: ` ;;' ./configure: command substitution: line 2805: syntax error near unexpected token `;' ./configure: command substitution: line 2805: `; do' ./configure: command substitution: line 2805: syntax error near unexpected token `in' ./configure: command substitution: line 2805: ` in #(' ./configure: command substitution: line 2805: syntax error near unexpected token `;;' ./configure: command substitution: line 2805: `;;' ./configure: command substitution: line 2805: syntax error near unexpected token `;;' ./configure: command substitution: line 2805: `;;' ./configure: command substitution: line 2805: syntax error near unexpected token `;;' ./configure: command substitution: line 2805: ` ;;' ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file ./configure: line 2805: /version.sh: No such file or directory /bin/sh: config.guess: No such file or directory /bin/sh: config.sub: No such file or directory /bin/sh: config.sub: No such file or directory /bin/sh: config.sub: No such file or directory ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file ls: cannot access 'conftest.file': No such file or directory ./configure: command substitution: line 2806: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2808: syntax error: unexpected end of file /bin/sh: /missing: No such file or directory ./configure: line 2816: 5: Bad file descriptor configure: WARNING: 'missing' script is too old or missing ./configure: line 2937: install_sh: command not found ./configure: line 2940: 5: Bad file descriptor checking for a race-free mkdir -p... ./configure: command substitution: line 2959: syntax error near unexpected token `newline' ./configure: command substitution: line 2959: ` case ' ./configure: command substitution: line 2805: syntax error near unexpected token `in' ./configure: command substitution: line 2805: ` in #(' ./configure: command substitution: line 2816: syntax error near unexpected token `newline' ./configure: command substitution: line 2816: `case ' ./configure: command substitution: line 2805: syntax error near unexpected token `in' ./configure: command substitution: line 2805: ` in' ./configure: line 2805: != : command not found ./configure: command substitution: line 2954: unexpected EOF while looking for matching `"' ./configure: command substitution: line 2958: syntax error: unexpected end of file ./configure: line 4445: 5: Bad file descriptor done ./configure: command substitution: line 4726: syntax error near unexpected token `newline' ./configure: command substitution: line 4726: `case ' ./configure: command substitution: line 2805: syntax error near unexpected token `in' ./configure: command substitution: line 2805: ` in' ./configure: line 2808: ])/\1/g
# Sed substitution to delay expansion of an escaped shell variable in a # double_quote_substed: No such file or directory ./configure: line 2821: 5: Bad file descriptor checking how to print strings... ./configure: command substitution: line 2824: unexpected EOF while looking for matching `"' ./configure: command substitution: line 2825: syntax error: unexpected end of file ./configure: line 2805: = X-n && test X: command not found ./configure: line 2807: $' = X; then\n ECHO='print -r --'\nelif test X': command not found ./configure: command substitution: line 2878: unexpected EOF while looking for matching `"' ./configure: command substitution: line 2881: syntax error: unexpected end of file ./configure: command substitution: line 2805: syntax error near unexpected token `in' ./configure: command substitution: line 2805: ` in #(' ./configure: command substitution: line 2822: unexpected EOF while looking for matching ``' ./configure: command substitution: line 2833: syntax error: unexpected end of file ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file ./configure: command substitution: line 2829: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2857: syntax error: unexpected end of file ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file ./configure: line 2805: conftest.exe), while it wont: command not found ./configure: line 2805: ./depcomp: No such file or directory ./configure: line 2805: 5: Bad file descriptor ./configure: line 2805: 5: Bad file descriptor ./configure: line 2805: : command not found ./configure: line 2805: s%\%/%g: No such file or directory ./configure: line 2805: s%%/%: No such file or directory sysctl: cannot stat /proc/sys/kern/argmax: No such file or directory sysctl: cannot stat /proc/sys/kern/argmax: No such file or directory expr: syntax error: unexpected argument '4' expr: syntax error: unexpected argument '3' ./configure: line 2805: /sbin/sysconfig: No such file or directory expr: syntax error: unexpected argument '4' expr: syntax error: unexpected argument '3' expr: syntax error: unexpected argument '2' ./configure: line 2805: __ELF__: command not found ./configure: line 2805: -e: command not found ./configure: line 2805: x{0,1}: command not found ./configure: line 2805: : command not found ./configure: line 2805: s%.*/%%; s%^x86_64-redhat-linux-gnu-%%: No such file or directory ./configure: line 2805: --host=x86_64-redhat-linux-gnu: command not found ./configure: line 2805: s/:/ /g: No such file or directory ./configure: line 2805: --host=x86_64-redhat-linux-gnu: command not found ./configure: line 2805: s/:/ /g: No such file or directory ./configure: line 2805: --host=x86_64-redhat-linux-gnu: command not found ./configure: line 2805: -e: command not found ./configure: line 2805: --host=x86_64-redhat-linux-gnu: command not found ./configure: line 2805: -e: command not found ./configure: line 2805: --host=x86_64-redhat-linux-gnu: command not found ./configure: line 2805: s/:/ /g: No such file or directory ./configure: line 2805: SHELL: command not found ./configure: line 2805: top_builddir: command not found cat: conftest.err: No such file or directory cat: conftest.err: No such file or directory ./configure: line 2805: -e: command not found ./configure: line 2805: -e: command not found ./configure: line 2805: -e: command not found ./configure: line 2805: -e: command not found ./configure: line 2805: -v: command not found ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file ./configure: line 2805: 1q: command not found ./configure: line 2805: func_echo_all: command not found ./configure: line 2805: func_echo_all: command not found ./configure: line 2805: func_echo_all: command not found ./configure: line 2805: func_echo_all: command not found ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file ./configure: line 2805: -n: command not found ./configure: line 2805: -n: command not found ./configure: line 2805: -n: command not found ./configure: line 2805: -n: command not found ./configure: line 2805: func_echo_all: command not found ./configure: line 2805: -e: command not found ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file ./configure: line 2805: -force_load,""": command not found ./configure: line 2805: func_echo_all: command not found ./configure: line 2805: __ELF__: command not found ./configure: line 2805: 1q: command not found ./configure: line 2805: -e: command not found Usage: awk [POSIX or GNU style options] -f progfile [--] file ... Usage: awk [POSIX or GNU style options] [--] 'program' file ... POSIX options: GNU long options: (standard) -f progfile --file=progfile -F fs --field-separator=fs -v var=val --assign=var=val Short options: GNU long options: (extensions) -b --characters-as-bytes -c --traditional -C --copyright -d[file] --dump-variables[=file] -D[file] --debug[=file] -e 'program-text' --source='program-text' -E file --exec=file -g --gen-pot -h --help -i includefile --include=includefile -l library --load=library -L[fatal|invalid|no-ext] --lint[=fatal|invalid|no-ext] -M --bignum -N --use-lc-numeric -n --non-decimal-data -o[file] --pretty-print[=file] -O --optimize -p[file] --profile[=file] -P --posix -r --re-interval -s --no-optimize -S --sandbox -t --lint-old -V --version
To report bugs, see node `Bugs' in `gawk.info' which is section `Reporting Problems and Bugs' in the printed version. This same information may be found at https://www.gnu.org/software/gawk/manual/html_node/Bugs.html. PLEASE do NOT try to report bugs by posting in comp.lang.awk, or by using a web forum such as Stack Overflow.
gawk is a pattern scanning and processing language. By default it reads standard input and writes standard output.
Examples: awk '{ sum += $1 }; END { print sum }' file awk -F: '{ print $1 }' /etc/passwd ./configure: line 2805: : command not found ./configure: line 2805: s/;/ /g: No such file or directory ./configure: line 2805: : command not found ./configure: line 2805: s/:/ /g: No such file or directory ./configure: line 2805: : command not found ./configure: line 2805: : command not found ./configure: line 2805: s|/([A-Za-z]:)|\1|g: No such file or directory ./configure: line 2805: : command not found ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file ./configure: line 2805: libdir: command not found basename: missing operand Try 'basename --help' for more information. ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file dirname: missing operand Try 'dirname --help' for more information. ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file ./configure: line 2805: -e: command not found ./configure: line 2805: -e: command not found ./configure: line 2805: -e: command not found ./configure: line 2805: -e: command not found ./configure: line 2805: cmd: command not found ./configure: line 2805: : command not found ./configure: line 2805: cygpath: command not found ./configure: line 2805: cygpath: command not found ./configure: line 2805: -e: command not found ./configure: line 2805: : command not found ./configure: line 2805: -e: command not found ./configure: line 2805: : command not found ./configure: line 2805: -e: command not found ./configure: line 2805: libdir: command not found basename: missing operand Try 'basename --help' for more information. ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file dirname: missing operand Try 'dirname --help' for more information. ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file ./configure: line 2805: -e: command not found ./configure: line 2805: /usr/bin/objformat: No such file or directory ./configure: line 2805: -e: command not found ./configure: line 2805: __ELF__: command not found basename: missing operand Try 'basename --help' for more information. ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file dirname: missing operand Try 'dirname --help' for more information. ./configure: command substitution: line 2805: unexpected EOF while looking for matching `'' ./configure: command substitution: line 2806: syntax error: unexpected end of file ./configure: line 2805: -MExtUtils::Embed: command not found ./configure: line 2805: -MExtUtils::Embed: command not found ./configure: line 2805: break, _AC_PREPROC_IFELSEs: command not found ./configure: command substitution: line 2812: syntax error near unexpected token `done' ./configure: command substitution: line 2812: ` done' ./configure: line 2805: ./depcomp: No such file or directory ./configure: line 2805: __db_version: command not found ./configure: line 2805: -P: command not found ./configure: line 2805: __db_version: command not found ./configure: line 2805: -P: command not found ./configure: command substitution: line 2805: syntax error near unexpected token `(' ./configure: command substitution: line 2805: `int a3[[(sizeof (unsigned char))
= 0]];'.'
./configure: command substitution: line 2805: syntax error near unexpected token `(' ./configure: command substitution: line 2805: `int a3[[(sizeof (unsigned char))
= 0]];'.'
./configure: command substitution: line 2805: syntax error near unexpected token `(' ./configure: command substitution: line 2805: `int a3[[(sizeof (unsigned char))
= 0]];'.'
./configure: command substitution: line 2810: syntax error near unexpected token `done' ./configure: command substitution: line 2810: `done' ./configure: command substitution: line 2805: syntax error near unexpected token `in' ./configure: command substitution: line 2805: ` in #(' ./configure: line 2805: --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --disable-silent-rules --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-debug --disable-ndb --disable-slp --disable-sql --disable-static --enable-backends=mod --enable-bdb=yes --enable-cleartext --enable-crypt --enable-dynacl --enable-dynamic --enable-hdb --enable-lmpasswd --enable-mdb=yes --enable-modules --enable-monitor --enable-overlays=mod --enable-rewrite --enable-rlookups --enable-slapi --enable-spasswd --libexecdir=/usr/lib64 --with-cyrus-sasl --with-gnu-ld --without-fetch --with-pic --with-threads : attempted assignment to non-variable (error token is "=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --disable-silent-rules --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-debug --disable-ndb --disable-slp --disable-sql --disable-static --enable-backends=mod --enable-bdb=yes --enable-cleartext --enable-crypt --enable-dynacl --enable-dynamic --enable-hdb --enable-lmpasswd --enable-mdb=yes --enable-modules --enable-monitor --enable-overlays=mod --enable-rewrite --enable-rlookups --enable-slapi --enable-spasswd --libexecdir=/usr/lib64 --with-cyrus-sasl --with-gnu-ld --without-fetch --with-pic --with-threads ") error: Bad exit status from /var/tmp/rpm-tmp.Y1oJJf (%build)