FreeRADIUS / freeradius-server

FreeRADIUS - A multi-protocol policy server.
http://freeradius.org
GNU General Public License v2.0
2.09k stars 1.08k forks source link

rpm build compilation error in ldap #3823

Closed drkhosla closed 3 years ago

drkhosla commented 3 years ago

Issue type

Unable to build rpm files using command rpmbuild -ba rpmbuild/SPEC/freeradius.spec, it fail during compiling the code. I am using Centos 8

Defect/Feature description

I am using CentOS 8 and trying to build rpms files for latest freeradius.

I clone the latest git of freeradius-server and try to build rpm files using command rpmbuild -ba rpmbuild/SPEC/freeradius.spec I get following error

.....
CC src/lib/sim/comp128.c
CC src/lib/sim/milenage.c
CC src/lib/sim/ts_34_108.c
CC src/lib/soh/soh.c
CC src/lib/ldap/base.c
CC src/lib/ldap/bind.c
CC src/lib/ldap/connection.c
In file included from src/lib/ldap/base.c:37:
src/freeradius-devel/ldap/base.h:20:10: fatal error: config.h: No such file or directory
 #include "config.h"
          ^~~~~~~~~~
compilation terminated.
make: *** [scripts/boiler.mk:706: build/objs/src/lib/ldap/base.lo] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/lib/ldap/bind.c:28:
src/freeradius-devel/ldap/base.h:20:10: fatal error: config.h: No such file or directory
 #include "config.h"
          ^~~~~~~~~~
compilation terminated.
make: *** [scripts/boiler.mk:706: build/objs/src/lib/ldap/bind.lo] Error 1
In file included from src/lib/ldap/connection.c:28:
src/freeradius-devel/ldap/base.h:20:10: fatal error: config.h: No such file or directory
 #include "config.h"
          ^~~~~~~~~~
compilation terminated.
make: *** [scripts/boiler.mk:706: build/objs/src/lib/ldap/connection.lo] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.R12z1F (%build)

RPM build errors:
    Macro expanded in comment on line 715: %{_sysconfdir}/raddb/filter/*

    Bad exit status from /var/tmp/rpm-tmp.R12z1F (%build)

How to reproduce issue

Clone latest freeradius-server and change directory name to freeradius-server-4.0.0

git clone https://github.com/FreeRADIUS/freeradius-server.git
mv freeradius-server freeradius-server-4.0.0

build tar file using following command

tar -cjvf freeradius-server-4.0.0.tar.bz2 --exclude="freeradius-server-4.0.0/.git" --exclude="freeradius-server-4.0.0/.vscode" --exclude="freeradius-server-4.0.0/.github" freeradius-server-4.0.0/

Copy freeradius-server-4.0.0.tar.bz2 to SOURCE directory of rpmbuild directory structure.

cp freeradius-server-4.0.0.tar.bz2 rpmbuild/SOURCE/.

Copy all freeradius redhat source file to rpmbuild/SOURCE directory

cp -r freeradius-server-4.0.0/redhat/* rpmbuild/SOURCE/.

Copy freeradius.spec file to rpmbuild/SPEC directory

cp freeradius-server-4.0.0/redhat/freeradius.spec rpmbuild/SPEC/.

Build rpm files using following command

rpmbuild -ba rpmbuild/SPEC/freeradius.spec

Output

warning: Macro expanded in comment on line 715: %{_sysconfdir}/raddb/filter/*

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iexwQD
+ umask 022
+ cd /home/drkhosla/rpmbuild/BUILD
+ cd /home/drkhosla/rpmbuild/BUILD
+ rm -rf freeradius-server-4.0.0
+ /usr/bin/bzip2 -dc /home/drkhosla/rpmbuild/SOURCES/freeradius-server-4.0.0.tar.bz2
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd freeradius-server-4.0.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ find /home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0 '(' -name '*.c' -o -name '*.h' ')' -a -perm /0111 -exec chmod a-x '{}' +
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.v1jb42
+ umask 022
+ cd /home/drkhosla/rpmbuild/BUILD
+ cd freeradius-server-4.0.0
+ export 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/'
+ CFLAGS=' -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/'
+ export LDFLAGS=-Wl,--build-id
+ LDFLAGS=-Wl,--build-id
+ CFLAGS=' -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS=-Wl,--build-id
+ export LDFLAGS
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config.guess
++ basename ./config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config.guess'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config.sub
++ basename ./config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config.sub'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']'
++ find . -name ltmain.sh
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --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 --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --libdir=/usr/lib64/freeradius --sysconfdir=/etc --disable-ltdl-install --with-gnu-ld --with-threads --with-thread-pool --with-docdir=/usr/share/doc/freeradius-4.0.0 --with-libfreeradius-ldap-include-dir=/usr/local/openldap/include --with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64 --with-rlm-sql_postgresql-include-dir=/usr/include/pgsql --with-rlm-sql-postgresql-lib-dir=/usr/lib64 --with-rlm-sql_mysql-include-dir=/usr/include/mysql --with-mysql-lib-dir=/usr/lib64/mysql --with-unixodbc-lib-dir=/usr/lib64 --with-rlm-dbm-lib-dir=/usr/lib64 --with-rlm-krb5-include-dir=/usr/kerberos/include --without-rlm_eap_ikev2 --without-rlm_sql_firebird --without-rlm_sql_db2 --with-jsonc-lib-dir=/usr/lib64 --with-jsonc-include-dir=/usr/include/json --with-winbind-include-dir=/usr/include/samba-4.0 --with-winbind-lib-dir=/usr/lib64/samba --without-rlm_yubikey --without-rlm_eap_pwd --without-rlm_eap_tnc --without-rlm_sigtran --without-rlm_cache_memcached
checking build version... 040000
checking build version string... 4.0.0
checking for git... yes
checking for asciidoctor... no
configure: WARNING: asciidoctor not found - Please install if you want build the docs
checking for pandoc... no
configure: WARNING: pandoc not found - Please install if you want build the docs
checking for doxygen... /usr/bin/doxygen
checking for dot... /usr/bin/dot
checking for antora... no
configure: WARNING: antora not found - Please install if you want build the site
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... x86_64-redhat-linux-gnu
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for x86_64-redhat-linux-gnu-g++... no
checking for x86_64-redhat-linux-gnu-c++... no
checking for x86_64-redhat-linux-gnu-gpp... no
checking for x86_64-redhat-linux-gnu-aCC... no
checking for x86_64-redhat-linux-gnu-CC... no
checking for x86_64-redhat-linux-gnu-cxx... no
checking for x86_64-redhat-linux-gnu-cc++... no
checking for x86_64-redhat-linux-gnu-cl.exe... no
checking for x86_64-redhat-linux-gnu-FCC... no
checking for x86_64-redhat-linux-gnu-KCC... no
checking for x86_64-redhat-linux-gnu-RCC... no
checking for x86_64-redhat-linux-gnu-xlC_r... no
checking for x86_64-redhat-linux-gnu-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether gcc needs -traditional... no
checking whether we are using SUNPro C... no
checking for x86_64-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking if compiler is clang... no
checking for the compiler flag to enable C11 support... -std=c11
checking for the compiler flag "-Wno-unknown-warning-option"... no
checking for the compiler flag "-Qunused-arguments"... no
checking for the compiler flag "-Wno-date-time"... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking for gmake... yes
checking for gmake... /usr/bin/gmake
checking number of system cores... 4
checking docdir... /usr/share/doc/freeradius-4.0.0
checking logdir... ${localstatedir}/log/radius
checking radacctdir... ${logdir}/radacct
checking raddbdir... ${sysconfdir}/raddb
checking dictdir... ${datarootdir}/freeradius/dictionary
checking for perl... /usr/bin/perl
checking for snmpget... /usr/bin/snmpget
checking for snmpwalk... /usr/bin/snmpwalk
checking for rusers... /usr/bin/rusers
/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/missing: Unknown `--is-lightweight' option
Try `/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for locate... /usr/bin/locate
checking for dirname... /usr/bin/dirname
checking for grep... (cached) /usr/bin/grep
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for the compiler flag "-pthread"... yes
checking for library containing sem_init... none required
checking for dlopen in -ldl... yes
checking for getsockname in -lsocket... no
checking for inet_aton in -lresolv... yes
checking for inet_ntoa in -lnsl... no
checking for clock_gettime in -lrt... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking linux/if_packet.h usability... yes
checking linux/if_packet.h presence... yes
checking for linux/if_packet.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking prot.h usability... no
checking prot.h presence... no
checking for prot.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking resource.h usability... no
checking resource.h presence... no
checking for resource.h... no
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking sia.h usability... no
checking sia.h presence... no
checking for sia.h... no
checking siad.h usability... no
checking siad.h presence... no
checking for siad.h... no
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdatomic.h usability... yes
checking stdatomic.h presence... yes
checking for stdatomic.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking sys/event.h usability... yes
checking sys/event.h presence... yes
checking for sys/event.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking sys/procctl.h usability... no
checking sys/procctl.h presence... no
checking for sys/procctl.h... no
checking sys/ptrace.h usability... yes
checking sys/ptrace.h presence... yes
checking for sys/ptrace.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/security.h usability... no
checking sys/security.h presence... no
checking for sys/security.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking for sys/wait.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking valgrind.h usability... no
checking valgrind.h presence... no
checking for valgrind.h... no
checking for net/if.h... yes
checking for _talloc in -ltalloc... yes
checking for talloc_set_memlimit... yes
checking for _talloc_pooled_object... yes
checking for kqueue... no
checking for kqueue in -lkqueue... yes
checking for pcap_open_live in -lpcap... yes
checking for pcap_fopen_offline... yes
checking for pcap_dump_fopen... yes
checking for pcap_create... yes
checking for pcap_activate... yes
checking for lcc_connect in -lcollectdclient... no
checking for lcc_connect in -lcollectdclient in /usr/local/lib... no
checking for lcc_connect in -lcollectdclient in /opt/lib... no
configure: WARNING: collectdclient library not found. Use --with-collectdclient-lib-dir=<path>.
checking for cap_get_proc in -lcap... yes
checking for ProfilerStart in -lprofiler... no
checking for ProfilerStart in -lprofiler in /usr/local/lib... no
checking for ProfilerStart in -lprofiler in /opt/lib... no
configure: WARNING: libprofiler (gperftools) library not found. Use --with-gperftools-lib-dir=<path>.
checking for sd_notify in -lsystemd... yes
checking for sd_watchdog_enabled in -lsystemd... yes
checking for a readline compatible library... -lreadline
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking whether readline supports history... yes
checking history.h usability... no
checking history.h presence... no
checking for history.h... no
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for talloc.h... yes
checking for DH_new in -lcrypto... yes
checking for SSL_new in -lssl... yes
checking for openssl/ssl.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking openssl/md5.h usability... yes
checking openssl/md5.h presence... yes
checking for openssl/md5.h... yes
checking openssl/md4.h usability... yes
checking openssl/md4.h presence... yes
checking for openssl/md4.h... yes
checking openssl/sha.h usability... yes
checking openssl/sha.h presence... yes
checking for openssl/sha.h... yes
checking for openssl/ssl.h... (cached) yes
checking openssl/ocsp.h usability... yes
checking openssl/ocsp.h presence... yes
checking for openssl/ocsp.h... yes
checking openssl/engine.h usability... yes
checking openssl/engine.h presence... yes
checking for openssl/engine.h... yes
checking for OpenSSL version >= 1.0.2... yes
checking OpenSSL library and header version consistency... library: 1010107f header: 1010107f... yes
checking for pcap.h... yes
configure: skipping test for collectd/client.h.
checking for sys/capability.h... yes
configure: skipping test for google/profiler.h.
checking for systemd/sd-daemon.h... yes
checking for gnumake.h... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for socklen_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for __uint128_t... yes
checking for uint128_t... no
checking for struct in6_addr... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for struct addrinfo... yes
checking if sig_t is defined... yes
checking for bindat... no
checking for clock_gettime... yes
checking for closefrom... no
checking for ctime_r... yes
checking for dladdr... yes
checking for fchmodat... yes
checking for fchownat... yes
checking for fcntl... yes
checking for fopencookie... yes
checking for funopen... no
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for getopt_long... yes
checking for getpeereid... no
checking for getresuid... yes
checking for gettimeofday... yes
checking for getusershell... yes
checking for gmtime_r... yes
checking for if_indextoname... yes
checking for inet_aton... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for initgroups... yes
checking for localtime_r... yes
checking for mallopt... yes
checking for memrchr... yes
checking for mkdirat... yes
checking for openat... yes
checking for pthread_sigmask... yes
checking for recvmmsg... yes
checking for sendmmsg... yes
checking for setlinebuf... yes
checking for setresuid... yes
checking for setsid... yes
checking for setuid... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for strlcat... no
checking for strlcpy... no
checking for strncasecmp... yes
checking for strsep... yes
checking for strsignal... yes
checking for unlinkat... yes
checking for vdprintf... yes
checking for vsnprintf... yes
checking return type of signal handlers... void
checking for ut_xtime in struct utmpx... no
checking for ipi_addr in struct in_pktinfo... yes
checking for ipi6_addr in struct in6_pktinfo... yes
checking if htonll is defined... no
checking if htonlll is defined... no
checking for an ANSI C-conforming const... yes
checking type of OS... Linux
checking if building with -DNDEBUG... yes
checking for _Thread_local support in compiler... yes
checking for __builtin_choose_expr support in compiler... yes
checking for __builtin_types_compatible_p support in compiler... yes
checking for __builtin_bswap64 support in compiler... yes
checking for __builtin_clzll support in compiler... yes
checking for _Generic support in compiler... yes
checking for crypt in -lcrypt... yes
checking for crypt_r in -lcrypt... yes
checking for setkey in -lcipher... no
checking for execinfo.h... yes
checking for backtrace_symbols in -lexecinfo... no
checking for backtrace_symbols in -lexecinfo in /usr/local/lib... no
checking for backtrace_symbols in -lexecinfo in /opt/lib... no
checking if execinfo provided as part of libc... yes
checking for pcre2.h... yes
checking for pcre2_compile_8 in -lpcre2-8... yes
checking gethostbyaddr_r() syntax... GNU-style
checking gethostbyname_r() syntax... GNU-style
checking getpwnam_r... yes
checking getgrnam_r... yes
checking ctime_r() syntax... POSIX-style
top_builddir=/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0
configure: creating ./config.status
config.status: creating ./Make.inc
config.status: creating ./src/include/build-radpaths-h
config.status: creating ./src/bin/checkrad
config.status: creating ./src/bin/radlast
config.status: creating ./src/bin/radtest
config.status: creating ./scripts/rc.radiusd
config.status: creating ./scripts/cron/radiusd.cron.daily
config.status: creating ./scripts/cron/radiusd.cron.monthly
config.status: creating ./scripts/cryptpasswd
config.status: creating ./raddb/radrelay.conf
config.status: creating ./raddb/radiusd.conf
config.status: creating src/include/autoconf.h
config.status: executing stamp-h commands
config.status: executing build-radpaths-h commands
config.status: executing main-chmod commands
config.status: executing scripts-chmod commands
=== configuring in src/modules/rlm_cache (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_cache)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
configure: creating ./config.status
config.status: creating all.mk
=== configuring in ./drivers/rlm_cache_memcached (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_cache/./drivers/rlm_cache_memcached)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
*** module rlm_cache_memcached is disabled.
configure: creating ./config.status
config.status: creating all.mk
=== configuring in src/modules/rlm_eap (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_eap)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
configure: creating ./config.status
=== configuring in src/modules/rlm_krb5 (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_krb5)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for krb5-config... /bin/krb5-config
checking krb5-config CFLAGS... ""
checking krb5-config LDFLAGS... -lkrb5 -lk5crypto -lcom_err
checking krb5-config reported version... Kerberos 5 release 1.18.2 (1182)
checking krb5-config reported vendor... Massachusetts Institute of Technology
checking canonical API type... MIT
checking for krb5_get_error_message... yes
checking for krb5_free_error_string... no
checking for krb5_free_error_message... yes
checking for krb5_is_thread_safe in -lkrb5... yes
checking for com_err.h... yes
configure: creating ./config.status
config.status: creating all.mk
=== configuring in src/modules/rlm_mschap (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_mschap)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for membership.h... no
checking for membership.h in /usr/local/include/... no
checking for membership.h in /opt/include/... no
checking for wbclient.h in /usr/include/samba-4.0/... no
checking for wbclient.h in /usr/include/samba-4.0/... no
checking for wbclient.h... no
checking for wbclient.h in /usr/local/include/... no
checking for wbclient.h in /opt/include/... no
configure: WARNING: wbclient.h not found. Use --with-winbind-include-dir=<path>.
configure: WARNING: silently building without support for direct authentication via winbind. requires: libwbclient
checking for core/ntstatus.h in /usr/include/samba-4.0/... no
checking for core/ntstatus.h in /usr/include/samba-4.0/... no
checking for core/ntstatus.h... no
checking for core/ntstatus.h in /usr/local/include/... no
checking for core/ntstatus.h in /opt/include/... no
configure: WARNING: core/ntstatus.h not found. Use --with-winbind-include-dir=<path>.
configure: WARNING: silently building without support for direct authentication via winbind. requires: libwbclient
configure: creating ./config.status
config.status: creating rlm_mschap.mk
config.status: creating config.h
=== configuring in src/modules/rlm_pam (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_pam)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for dlopen in -ldl... yes
checking for pam_start in -lpam... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
configure: creating ./config.status
config.status: creating all.mk
config.status: creating config.h
=== configuring in src/modules/rlm_perl (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_perl)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking whether perl executable path has been provided... no
checking for perl... /usr/bin/perl
configure: Calling ExtUtils::Embed to get 'ccopts'
configure: ExtUtil's ccopts were " -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib64/perl5/CORE "
configure: Sanitized ccopts are "-D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fcf-protection -fwrapv -fno-strict-aliasing -isystem /usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -isystem /usr/lib64/perl5/CORE"
configure: Calling ExtUtils::Embed to get 'ldflags'
configure: ExtUtil's ldopts were "-Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -L/usr/local/lib  -L/usr/lib64/perl5/CORE -lperl -lpthread -lresolv -ldl -lm -lcrypt -lutil -lc"
configure: Sanitized ldopts are "-Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -L/usr/local/lib -L/usr/lib64/perl5/CORE -lperl -lpthread -lresolv -ldl -lm -lcrypt -lutil -lc"
checking for EXTERN.h... yes
checking for perl.h... yes
checking we can link to boot_DynaLoader... yes
checking we can link to Perl_hv_store()... yes
configure: creating ./config.status
config.status: creating all.mk
config.status: creating config.h
=== configuring in src/modules/rlm_python (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_python)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for python3-config... python3-config
configure: python3-config's cflags were "-I/usr/include/python3.6m -I/usr/include/python3.6m  -Wno-unused-result -Wsign-compare  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches   -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv  -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches   -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv"
configure: Sanitized cflags were " -isystem/usr/include/python3.6m -isystem/usr/include/python3.6m       -pipe     -fexceptions -fstack-protector-strong    -m64 -mtune=generic -fasynchronous-unwind-tables -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv  -DDYNAMIC_ANNOTATIONS_ENABLED=1 -pipe     -fexceptions -fstack-protector-strong    -m64 -mtune=generic -fasynchronous-unwind-tables -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv"
configure: python3-config's ldflags were " -L/usr/lib64 -lpython3.6m -lpthread -ldl  -lutil -lm  -Xlinker -export-dynamic}"
configure: Sanitized ldflags were "-L/usr/lib64 -lpython3.6m -lpthread -ldl -lutil -lm "
configure: creating ./config.status
config.status: creating all.mk
=== configuring in src/modules/rlm_radutmp (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_radutmp)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
configure: creating ./config.status
config.status: creating all.mk
config.status: creating config.h
=== configuring in src/modules/rlm_sql (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_sql)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
configure: creating ./config.status
config.status: creating all.mk
=== configuring in ./drivers/rlm_sql_mysql (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_sql/./drivers/rlm_sql_mysql)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for mysql_config... yes
checking for mysql_init in -lmysqlclient_r (using mysql_config)... yes
checking for mysql.h (using mysql_config --cflags)... yes
configure: creating ./config.status
config.status: creating all.mk
config.status: creating config.h
=== configuring in ./drivers/rlm_sql_postgresql (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_sql/./drivers/rlm_sql_postgresql)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for libpq-fe.h in /usr/include/pgsql/... yes
checking for PGRES_SINGLE_TUPLE... yes
checking for PGRES_COPY_BOTH... yes
checking for PQconnectdb in -lpq in /usr/lib64... yes
checking for PQinitOpenSSL... yes
checking for PQinitSSL... yes
configure: creating ./config.status
config.status: creating all.mk
config.status: creating config.h
=== configuring in ./drivers/rlm_sql_oracle (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_sql/./drivers/rlm_sql_oracle)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for oci.h in /usr/local/instaclient/include/... no
checking for oci.h... no
checking for oci.h in /usr/local/include/... no
checking for oci.h in /opt/include/... no
configure: WARNING: oracle headers not found. Use --with-oracle-include-dir=<path> or set ORACLE_HOME.
configure: WARNING: Oracle supported versions: 19 18 12 11
configure: WARNING: Oracle version >= 12 needs -laio
checking for OCIInitialize in nnz19 in /usr/local/instaclient/lib... no
checking for OCIInitialize in nnz18 in /usr/local/instaclient/lib... no
checking for OCIInitialize in nnz12 in /usr/local/instaclient/lib... no
checking for OCIInitialize in nnz11 in /usr/local/instaclient/lib... no
checking for OCIInitialize in nnz in /usr/local/instaclient/lib... no
checking for OCIInitialize in nnz19... no
checking for OCIInitialize in nnz18... no
checking for OCIInitialize in nnz12... no
checking for OCIInitialize in nnz11... no
checking for OCIInitialize in nnz... no
checking for OCIInitialize in nnz19 in /opt/lib... no
checking for OCIInitialize in nnz18 in /opt/lib... no
checking for OCIInitialize in nnz12 in /opt/lib... no
checking for OCIInitialize in nnz11 in /opt/lib... no
checking for OCIInitialize in nnz in /opt/lib... no
configure: WARNING: oracle libraries not found.  Use --with-oracle-lib-dir=<path> or set ORACLE_HOME.
configure: WARNING: silently not building rlm_sql_oracle.
configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h libclntsh libnnz[9-12].
configure: creating ./config.status
config.status: creating all.mk
=== configuring in ./drivers/rlm_sql_unixodbc (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_sql/./drivers/rlm_sql_unixodbc)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for SQLConnect in -lodbc in /usr/lib64... yes
checking for sql.h in /usr/local/unixodbc/include/... yes
configure: creating ./config.status
config.status: creating all.mk
=== configuring in ./drivers/rlm_sql_sqlite (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_sql/./drivers/rlm_sql_sqlite)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for sqlite3_open in -lsqlite3... yes
checking for sqlite3_prepare_v2... yes
checking for sqlite3_open_v2... yes
checking for sqlite3_create_function_v2... yes
checking for sqlite3_errstr... yes
checking for sqlite3_extended_result_codes... yes
checking for sqlite3.h... yes
checking for sqlite3_int64... yes
configure: creating ./config.status
config.status: creating all.mk
config.status: creating config.h
=== configuring in ./drivers/rlm_sql_freetds (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_sql/./drivers/rlm_sql_freetds)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ctpublic.h... yes
checking for ct_command in -lct... yes
configure: creating ./config.status
config.status: creating all.mk
=== configuring in src/modules/rlm_unix (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_unix)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for system password file... /etc/passwd
checking for system shadow password file... /etc/shadow
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for getspnam... yes
checking for getusershell... yes
checking for getpwnam... yes
checking for getspnam in -lshadow... no
configure: creating ./config.status
config.status: creating all.mk
config.status: creating config.h
=== configuring in src/modules/rlm_yubikey (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/src/modules/rlm_yubikey)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
*** module rlm_yubikey is disabled.
configure: creating ./config.status
config.status: creating all.mk
config.status: creating config.h
=== configuring in ./src/lib/curl (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/./src/lib/curl)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for gawk... gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.61.1
checking for libcurl >= version 7.24.0... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
configure: curl-config's cflags were ""
configure: Sanitized cflags are ""
configure: creating ./config.status
config.status: creating all.mk
config.status: creating config.h
=== configuring in ./src/lib/json (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/./src/lib/json)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for json/json.h in /usr/include/json/... no
checking for json/json.h... no
checking for json/json.h in /usr/local/include/... no
checking for json/json.h in /opt/include/... no
checking for json-c/json.h in /usr/include/json/... yes
checking for json_c_version in -ljson-c in /usr/lib64... yes
checking for json_c_version... yes
checking for json_object_get_string_len... yes
checking for json_object_object_get_ex... yes
checking for json_object_new_int64... yes
checking for json_object_get_int64... yes
checking for json_tokener_error_desc... yes
checking for json_tokener_get_error... yes
configure: creating ./config.status
config.status: creating all.mk
config.status: creating config.h
=== configuring in ./src/lib/ldap (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/./src/lib/ldap)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ldap_install_tls in -lldap in /usr/local/openldap/lib64... yes
checking for ber_get_next in -llber in /usr/local/openldap/lib64... yes
checking for ldap.h in /usr/local/openldap/include/... yes
checking for ldap_sasl_interactive_bind... yes
checking for ldap_unbind_ext_s... yes
checking for ldap_start_tls_s... yes
checking for ldap_initialize... yes
checking for ldap_set_rebind_proc... yes
checking for ldap_create_sort_control... yes
checking for ldap_create_sort_keylist... yes
checking for ldap_free_sort_keylist... yes
checking for ldap_create_session_tracking_control... yes
checking for ldap_url_parse... yes
checking for ldap_is_ldap_url... yes
checking for ldap_url_desc2str... yes
checking whether ldap_create_session_tracking_control is declared... yes
checking whether ldap_set_rebind_proc takes 3 arguments... 3
checking for sasl/sasl.h in /usr/local/openldap/include/... no
checking for sasl/sasl.h... no
checking for sasl/sasl.h in /usr/local/include/... no
checking for sasl/sasl.h in /opt/include/... no
configure: creating ./config.status
config.status: creating all.mk
config.status: creating config.h
=== configuring in ./src/lib/redis (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/./src/lib/redis)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib64/freeradius' '--sysconfdir=/etc' '--disable-ltdl-install' '--with-gnu-ld' '--with-threads' '--with-thread-pool' '--with-docdir=/usr/share/doc/freeradius-4.0.0' '--with-libfreeradius-ldap-include-dir=/usr/local/openldap/include' '--with-libfreeradius-ldap-lib-dir=/usr/local/openldap/lib64' '--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql' '--with-rlm-sql-postgresql-lib-dir=/usr/lib64' '--with-rlm-sql_mysql-include-dir=/usr/include/mysql' '--with-mysql-lib-dir=/usr/lib64/mysql' '--with-unixodbc-lib-dir=/usr/lib64' '--with-rlm-dbm-lib-dir=/usr/lib64' '--with-rlm-krb5-include-dir=/usr/kerberos/include' '--without-rlm_eap_ikev2' '--without-rlm_sql_firebird' '--without-rlm_sql_db2' '--with-jsonc-lib-dir=/usr/lib64' '--with-jsonc-include-dir=/usr/include/json' '--with-winbind-include-dir=/usr/include/samba-4.0' '--with-winbind-lib-dir=/usr/lib64/samba' '--without-rlm_yubikey' '--without-rlm_eap_pwd' '--without-rlm_eap_tnc' '--without-rlm_sigtran' '--without-rlm_cache_memcached' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -ffile-prefix-map=src/=/usr/src/debug/freeradius-4.0.0-1.el8.x86_64/src/' 'LDFLAGS=-Wl,--build-id' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --cache-file=/dev/null --srcdir=.
checking for x86_64-redhat-linux-gnu-gcc... no
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for hiredis/hiredis.h... yes
checking for redisConnect in -lhiredis... yes
configure: creating ./config.status
config.status: creating all.mk
+ make -j4
CC jlibtool.c
HEADER src/include/features.h
HEADER protocol/arp/rfc826.h
HEADER protocol/dhcpv4/rfc2131.h
HEADER protocol/dhcpv6/rfc5223.h
HEADER protocol/dhcpv6/rfc4833.h
HEADER protocol/dhcpv6/rfc4580.h
HEADER protocol/dhcpv6/rfc7037.h
HEADER protocol/dhcpv6/rfc7598.h
HEADER protocol/dhcpv6/rfc3646.h
HEADER protocol/dhcpv6/rfc8026.h
HEADER protocol/dhcpv6/rfc6607.h
HEADER protocol/dhcpv6/rfc7083.h
HEADER protocol/dhcpv6/rfc6603.h
HEADER protocol/dhcpv6/rfc6153.h
HEADER protocol/dhcpv6/rfc4776.h
HEADER protocol/dhcpv6/rfc6355.h
HEADER protocol/dhcpv6/rfc7774.h
HEADER protocol/dhcpv6/rfc5986.h
HEADER protocol/dhcpv6/rfc4242.h
HEADER protocol/dhcpv6/rfc4704.h
HEADER protocol/dhcpv6/rfc5460.h
HEADER protocol/dhcpv6/rfc7710.h
HEADER protocol/dhcpv6/rfc6731.h
HEADER protocol/dhcpv6/rfc6610.h
HEADER protocol/dhcpv6/rfc8115.h
HEADER protocol/dhcpv6/rfc7341.h
HEADER protocol/dhcpv6/rfc7291.h
HEADER protocol/dhcpv6/rfc5007.h
HEADER protocol/dhcpv6/rfc3633.h
HEADER protocol/dhcpv6/rfc4075.h
HEADER protocol/dhcpv6/rfc6977.h
HEADER protocol/dhcpv6/rfc4994.h
HEADER protocol/dhcpv6/rfc6784.h
HEADER protocol/dhcpv6/rfc5417.h
HEADER protocol/dhcpv6/rfc7078.h
HEADER protocol/dhcpv6/rfc6334.h
HEADER protocol/dhcpv6/rfc3315.h
HEADER protocol/dhcpv6/rfc6422.h
HEADER protocol/dhcpv6/rfc6011.h
HEADER protocol/dhcpv6/rfc4280.h
HEADER protocol/dhcpv6/rfc7839.h
HEADER protocol/dhcpv6/rfc5192.h
HEADER protocol/dhcpv6/rfc7653.h
HEADER protocol/dhcpv6/rfc5678.h
HEADER protocol/dhcpv6/rfc7600.h
HEADER protocol/dhcpv6/rfc6225.h
HEADER protocol/dhcpv6/rfc5908.h
HEADER protocol/dhcpv6/rfc3898.h
HEADER protocol/dhcpv6/rfc3319.h
HEADER protocol/dhcpv6/rfc4649.h
HEADER protocol/dhcpv6/rfc5970.h
HEADER protocol/dhcpv6/rfc6440.h
HEADER protocol/dhcpv6/rfc8156.h
HEADER protocol/dhcpv6/rfc6939.h
HEADER protocol/eap/aka-sim/rfc5448.h
HEADER protocol/eap/aka-sim/rfc7458.h
HEADER protocol/eap/aka-sim/rfc4187.h
HEADER protocol/radius/rfc7930.h
HEADER protocol/radius/rfc5607.h
HEADER protocol/radius/rfc2865.h
HEADER protocol/radius/rfc4603.h
HEADER protocol/radius/rfc4072.h
HEADER protocol/radius/rfc6572.h
HEADER protocol/radius/rfc7055.h
HEADER protocol/radius/rfc4679.h
HEADER protocol/radius/rfc4372.h
HEADER protocol/radius/rfc6911.h
HEADER protocol/radius/rfc5580.h
HEADER protocol/radius/rfc3580.h
HEADER protocol/radius/rfc2868.h
HEADER protocol/radius/rfc2866.h
HEADER protocol/radius/rfc5176.h
HEADER protocol/radius/rfc3576.h
HEADER protocol/radius/rfc8045.h
HEADER protocol/radius/rfc7499.h
HEADER protocol/radius/rfc6519.h
HEADER protocol/radius/rfc7155.h
HEADER protocol/radius/rfc7268.h
HEADER protocol/radius/rfc5447.h
HEADER protocol/radius/rfc4849.h
HEADER protocol/radius/rfc5090.h
HEADER protocol/radius/rfc6677.h
HEADER protocol/radius/rfc6930.h
HEADER protocol/radius/rfc2869.h
HEADER protocol/radius/rfc6929.h
HEADER protocol/radius/rfc4675.h
HEADER protocol/radius/rfc4818.h
HEADER protocol/radius/rfc8559.h
HEADER protocol/radius/rfc5904.h
HEADER protocol/radius/rfc3162.h
HEADER protocol/radius/rfc2867.h
HEADER protocol/dhcpv4/freeradius.internal.h
HEADER protocol/dhcpv6/freeradius.internal.h
HEADER protocol/dhcpv6/freeradius.h
HEADER protocol/eap/aka-sim/freeradius.h
HEADER protocol/freeradius/freeradius.internal.password.h
HEADER protocol/freeradius/freeradius.internal.h
HEADER protocol/freeradius/freeradius.internal.sim.h
HEADER protocol/freeradius/freeradius.internal.eap.h
HEADER protocol/freeradius/freeradius.internal.ippool.h
HEADER protocol/radius/freeradius.internal.h
HEADER protocol/radius/freeradius.h
HEADER protocol/snmp/freeradius.h
HEADER protocol/tacacs/freeradius.internal.h
HEADER protocol/arp/dictionary.h
HEADER protocol/dhcpv4/dictionary.h
HEADER protocol/dhcpv6/dictionary.h
HEADER protocol/eap/aka-sim/dictionary.h
HEADER protocol/ethernet/dictionary.h
HEADER protocol/freeradius/dictionary.h
HEADER protocol/radius/dictionary.h
HEADER protocol/snmp/dictionary.h
HEADER protocol/tacacs/dictionary.h
HEADER protocol/vmps/dictionary.h
HEADER protocol/vmps/vmps.h
HEADER protocol/tacacs/tacacs.h
LN-S raddb/sites-enabled/default
LN-S raddb/sites-enabled/inner-tunnel
LN-S raddb/mods-enabled/always
LN-S raddb/mods-enabled/attr_filter
LN-S raddb/mods-enabled/cache_eap
LN-S raddb/mods-enabled/chap
LN-S raddb/mods-enabled/client
LN-S raddb/mods-enabled/delay
LN-S raddb/mods-enabled/detail
LN-S raddb/mods-enabled/detail.log
LN-S raddb/mods-enabled/digest
LN-S raddb/mods-enabled/dhcpv4
LN-S raddb/mods-enabled/eap
LN-S raddb/mods-enabled/eap_inner
LN-S raddb/mods-enabled/echo
LN-S raddb/mods-enabled/escape
LN-S raddb/mods-enabled/exec
LN-S raddb/mods-enabled/expiration
LN-S raddb/mods-enabled/expr
LN-S raddb/mods-enabled/files
LN-S raddb/mods-enabled/linelog
LN-S raddb/mods-enabled/logintime
LN-S raddb/mods-enabled/mschap
LN-S raddb/mods-enabled/ntlm_auth
LN-S raddb/mods-enabled/pap
LN-S raddb/mods-enabled/passwd
LN-S raddb/mods-enabled/radutmp
LN-S raddb/mods-enabled/soh
LN-S raddb/mods-enabled/sradutmp
LN-S raddb/mods-enabled/stats
LN-S raddb/mods-enabled/unix
LN-S raddb/mods-enabled/unpack
LN-S raddb/mods-enabled/utf8
HEADER src/lib/tls/base.h
HEADER src/include/missing.h
HEADER protocol/base.h
CC scripts/build/dlopen.c
CC scripts/build/log.c
CC scripts/build/version.c
CC src/lib/io/app_io.c
CC src/lib/io/atomic_queue.c
CC src/lib/io/channel.c
CC src/lib/io/control.c
CC src/lib/io/load.c
CC src/lib/io/master.c
CC src/lib/io/message.c
CC src/lib/io/network.c
CC src/lib/io/queue.c
CC src/lib/io/ring_buffer.c
CC src/lib/io/schedule.c
CC src/lib/io/worker.c
CC src/lib/tls/base.c
CC src/lib/tls/cache.c
CC src/lib/tls/conf.c
CC src/lib/tls/ctx.c
CC src/lib/tls/log.c
CC src/lib/tls/ocsp.c
CC src/lib/tls/session.c
CC src/lib/tls/utils.c
CC src/lib/tls/validate.c
CC src/lib/util/base64.c
CC src/lib/util/cap.c
CC src/lib/util/cursor.c
CC src/lib/util/dbuff.c
CC src/lib/util/debug.c
CC src/lib/util/dict_ext.c
CC src/lib/util/dict_fixup.c
CC src/lib/util/dict_print.c
CC src/lib/util/dict_tokenize.c
CC src/lib/util/dict_unknown.c
CC src/lib/util/dict_util.c
CC src/lib/util/dict_validate.c
CC src/lib/util/dl.c
CC src/lib/util/dns.c
CC src/lib/util/event.c
CC src/lib/util/ext.c
CC src/lib/util/fifo.c
CC src/lib/util/file.c
CC src/lib/util/fopencookie.c
CC src/lib/util/fring.c
CC src/lib/util/getaddrinfo.c
CC src/lib/util/hash.c
CC src/lib/util/heap.c
CC src/lib/util/hex.c
CC src/lib/util/hmac_md5.c
CC src/lib/util/hmac_sha1.c
CC src/lib/util/hw.c
CC src/lib/util/inet.c
CC src/lib/util/isaac.c
CC src/lib/util/log.c
CC src/lib/util/md4.c
CC src/lib/util/md5.c
CC src/lib/util/misc.c
CC src/lib/util/missing.c
CC src/lib/util/net.c
CC src/lib/util/packet.c
CC src/lib/util/pair.c
CC src/lib/util/pair_legacy.c
CC src/lib/util/pair_print.c
CC src/lib/util/pair_tokenize.c
CC src/lib/util/paths.c
CC src/lib/util/pcap.c
CC src/lib/util/print.c
CC src/lib/util/proto.c
CC src/lib/util/rand.c
CC src/lib/util/rbtree.c
CC src/lib/util/regex.c
CC src/lib/util/retry.c
CC src/lib/util/sbuff.c
CC src/lib/util/sha1.c
CC src/lib/util/snprintf.c
CC src/lib/util/socket.c
CC src/lib/util/strerror.c
CC src/lib/util/strlcat.c
CC src/lib/util/strlcpy.c
CC src/lib/util/struct.c
CC src/lib/util/syserror.c
CC src/lib/util/table.c
CC src/lib/util/talloc.c
CC src/lib/util/thread_local.c
CC src/lib/util/time.c
CC src/lib/util/timeval.c
CC src/lib/util/token.c
CC src/lib/util/trie.c
CC src/lib/util/udp.c
CC src/lib/util/udpfromto.c
CC src/lib/util/value.c
CC src/lib/util/version.c
CC src/lib/server/auth.c
CC src/lib/server/base.c
CC src/lib/server/cf_file.c
CC src/lib/server/cf_parse.c
CC src/lib/server/cf_util.c
CC src/lib/server/client.c
CC src/lib/server/command.c
CC src/lib/server/cond_eval.c
CC src/lib/server/cond_tokenize.c
CC src/lib/server/connection.c
CC src/lib/server/crypt.c
CC src/lib/server/dependency.c
CC src/lib/server/dl_module.c
CC src/lib/server/exec.c
CC src/lib/server/exfile.c
CC src/lib/server/log.c
CC src/lib/server/main_config.c
CC src/lib/server/main_loop.c
CC src/lib/server/map.c
CC src/lib/server/map_async.c
CC src/lib/server/map_proc.c
CC src/lib/server/module.c
CC src/lib/server/paircmp.c
CC src/lib/server/pairmove.c
CC src/lib/server/password.c
CC src/lib/server/pool.c
CC src/lib/server/rcode.c
CC src/lib/server/regex.c
CC src/lib/server/request.c
CC src/lib/server/request_data.c
CC src/lib/server/snmp.c
CC src/lib/server/state.c
CC src/lib/server/stats.c
CC src/lib/server/tmpl_eval.c
CC src/lib/server/tmpl_tokenize.c
CC src/lib/server/trigger.c
CC src/lib/server/trunk.c
CC src/lib/server/users_file.c
CC src/lib/server/util.c
CC src/lib/server/virtual_servers.c
CC src/lib/unlang/base.c
CC src/lib/unlang/call.c
CC src/lib/unlang/caller.c
CC src/lib/unlang/compile.c
CC src/lib/unlang/condition.c
CC src/lib/unlang/foreach.c
CC src/lib/unlang/function.c
CC src/lib/unlang/group.c
CC src/lib/unlang/interpret.c
CC src/lib/unlang/io.c
CC src/lib/unlang/load_balance.c
CC src/lib/unlang/map.c
CC src/lib/unlang/module.c
CC src/lib/unlang/parallel.c
CC src/lib/unlang/return.c
CC src/lib/unlang/subrequest.c
CC src/lib/unlang/switch.c
CC src/lib/unlang/tmpl.c
CC src/lib/unlang/xlat.c
CC src/lib/unlang/xlat_builtin.c
CC src/lib/unlang/xlat_eval.c
CC src/lib/unlang/xlat_inst.c
CC src/lib/unlang/xlat_tokenize.c
LINK build/lib/libfreeradius-util.la
CC src/lib/sim/comp128.c
CC src/lib/sim/milenage.c
CC src/lib/sim/ts_34_108.c
CC src/lib/soh/soh.c
CC src/lib/ldap/base.c
CC src/lib/ldap/bind.c
CC src/lib/ldap/connection.c
In file included from src/lib/ldap/base.c:37:
src/freeradius-devel/ldap/base.h:20:10: fatal error: config.h: No such file or directory
 #include "config.h"
          ^~~~~~~~~~
compilation terminated.
make: *** [scripts/boiler.mk:706: build/objs/src/lib/ldap/base.lo] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/lib/ldap/bind.c:28:
src/freeradius-devel/ldap/base.h:20:10: fatal error: config.h: No such file or directory
 #include "config.h"
          ^~~~~~~~~~
compilation terminated.
make: *** [scripts/boiler.mk:710: build/objs/src/lib/ldap/bind.lo] Error 1
In file included from src/lib/ldap/connection.c:28:
src/freeradius-devel/ldap/base.h:20:10: fatal error: config.h: No such file or directory
 #include "config.h"
          ^~~~~~~~~~
compilation terminated.
make: *** [scripts/boiler.mk:706: build/objs/src/lib/ldap/connection.lo] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.v1jb42 (%build)

RPM build errors:
    Macro expanded in comment on line 715: %{_sysconfdir}/raddb/filter/*

    Bad exit status from /var/tmp/rpm-tmp.v1jb42 (%build)
alandekok commented 3 years ago

The latest version of FreeRADIUS is 3.0.21. The next release will be 3.0.22, which is in the v3.0.x branch.

You're building the "master" branch, which will become version 4 at some point. I suspect that this isn't what you want to do. We do not recommend running v4 unless you're fully aware of it's limitations.

alandekok commented 3 years ago

Further, something seems to be wrong with your local system. It says:

=== configuring in ./src/lib/ldap (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/./src/lib/ldap)
...
config.status: creating config.h

Except later there's no config.h in the src/lib/ldap directory. That seems fairly broken. It works here.

drkhosla commented 3 years ago

 Problem is not with default compilation. I am able to compile and run independently but unable to make rpm. I am unable to find troubling option or configuration parameter or lib or include directory location in freeradius.spec file. Spec file is recently change for making LDAP as an optional.On 30 Dec 2020 20:34, Alan DeKok notifications@github.com wrote: Further, something seems to be wrong with your local system. It says: === configuring in ./src/lib/ldap (/home/drkhosla/rpmbuild/BUILD/freeradius-server-4.0.0/./src/lib/ldap) ... config.status: creating config.h

Except later there's no config.h in the src/lib/ldap directory. That seems fairly broken. It works here.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

drkhosla commented 3 years ago

The version 4.0.0 is given to tar fille. As it is already coded in free radius.spec file. On 30 Dec 2020 20:28, Alan DeKok notifications@github.com wrote: The latest version of FreeRADIUS is 3.0.21. The next release will be 3.0.22, which is in the v3.0.x branch. You're building the "master" branch, which will become version 4 at some point. I suspect that this isn't what you want to do. We do not recommend running v4 unless you're fully aware of it's limitations.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

alandekok commented 3 years ago

While we want to have the v4 RPMs build, let me be very clear. You should not be using the "master" branch.

Use v3. Full packages are available at http://packages.networkradius.com/

If you absolutely need v4, then please explain why. Otherwise I will be closing this PR as not relevant to any current release.

drkhosla commented 3 years ago

I think our time zone have lot of difference. Before I replied you in early morning, ticket is already closed. We already running v3 to our production system and it is running from last 20 years, Freeradius is defacto radius for most of the ISPs.

Your question is valid, why we want to use master branch, when stable branch is available. We are not using master branch for production. But now ISP market dynamic to look into the system where current freeradius doesn't fit as it is.

We are migrating our existing monolithic user management system, which is written in PHP to stateless microservice API based distributed system. Now we are using React and Golang to migrating system with backend as Cassandra db. We are also using Kubernetes and try to run Cassandra and Freeradius multiple instances in each and every POP and remove the dependency to centralised monolithic system.

The freeradius support Mysql, Postgresql, which are not distributed db. This is the reason we want to integrate to master less cassandra db. The problem with freeradius does not fully support cassandra or other nosql yet. We face lot of issues with compatibility with driver of Cassandra and now able to workaround and compile with commenting few lines and few changes in code.

To make it modular, we first build rpm and use these rpm to build docker images. These images are deployed in multiple replica distributed in geographically separated Kubernetes cluster. Each instance of freeradius connect to nearest Cassandra db node.

Though we are able to compile with cassandra, but writing sql counter is little bit tricky. We are in the process of designing, writing and testing sqlcounters. It is also challenging to integrate Oauth2 and OpenID with current setup as users also want Social login to their Wi-Fi captive portal.

I think current master version is best for development as there no support for cassandra in v3.

alandekok commented 3 years ago

I think current master version is best for development as there no support for cassandra in v3.

Your best bet is to add Cassandra support to v3.

The "master" branch is in active development. It may or may not build on a daily basis. It has large changes to its configuration, pretty much every month. The server core is being reworked, and may behave differently from time to time. EAP-TTLS doesn't work. PEAP doesn't work.

When I said that you should not be using "master", I meant it. Using v4 for Cassandra support is like wanting a better radio for your car, so you take a half-built car off of the assembly line. And then noticing that it doesn't have tires.

If you still insist on using v4 in production, we will generally ignore / close issues for it. In most cases, the issue will be already known to the development team, and is being worked on. In other cases, the issue is not relevant, as that part of the code is going away.

I really don't know how to be any more clear than this: v4 is not released. Don't use it.

drkhosla commented 3 years ago

Thanks for the clarification. It will help us a lot.On 31 Dec 2020 19:29, Alan DeKok notifications@github.com wrote:

I think current master version is best for development as there no support for cassandra in v3.

Your best bet is to add Cassandra support to v3. The "master" branch is in active development. It may or may not build on a daily basis. It has large changes to its configuration, pretty much every month. The server core is being reworked, and may behave differently from time to time. EAP-TTLS doesn't work. PEAP doesn't work. When I said that you should not be using "master", I meant it. Using v4 for Cassandra support is like wanting a better radio for your car, so you take a half-built car off of the assembly line. And then noticing that it doesn't have tires. If you still insist on using v4 in production, we will generally ignore / close issues for it. In most cases, the issue will be already known to the development team, and is being worked on. In other cases, the issue is not relevant, as that part of the code is going away. I really don't know how to be any more clear than this: v4 is not released. Don't use it.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.