Build start time: Fri Oct 3 09:30:31 UTC 2025
[ REASON ] : target/debs/bookworm/libpam-radius-auth_1.4.1-1_amd64.deb does not exist
[ FLAGS FILE ] : []
[ FLAGS DEPENDS ] : []
[ FLAGS DIFF ] : []
make[1]: warning: -j112 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/sonic/src/radius/pam'
# Build freeradius-server v1.1.x
pushd freeradius
rm -rf freeradius-server
git clone https://github.com/FreeRADIUS/freeradius-server.git
popd
pushd freeradius/freeradius-server
git checkout -f 5f715dba4d2dbdb268bf60fcc656352274930941
# Apply patch
patch -p1 < ../patches/freeradius_configure.patch
patch -p1 < ../patches/freeradius_2007-04-06.patch
patch -p1 < ../patches/freeradius_libeap_deprecated_openssl_1_0.patch
patch -p1 < ../patches/libltdl_config_sub.patch
cp ../patches/config.sub .
cp ../patches/config.guess .
./configure --disable-static --enable-libtool-lock
make
popd
# Obtain pam_radius
rm -rf ./pam_radius
git clone https://github.com/FreeRADIUS/pam_radius.git
pushd ./pam_radius
# This is the latest commit with Radius MPL support
git checkout -f 149c25df84cf5cd0e9addd9346699a9ca8fdddd2
cp -r ../debian .
dpkg-buildpackage -rfakeroot -b -us -uc -nc
popd
mv libpam-radius-auth-dbgsym_1.4.1-1_amd64.deb libpam-radius-auth_1.4.1-1_amd64.deb /sonic/target/debs/bookworm/
/sonic/src/radius/pam/freeradius /sonic/src/radius/pam
Cloning into 'freeradius-server'...
/sonic/src/radius/pam
/sonic/src/radius/pam/freeradius/freeradius-server /sonic/src/radius/pam
Note: switching to '5f715dba4d2dbdb268bf60fcc656352274930941'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 5f715dba4d Make it easier to do a release
patching file configure
patching file configure.in
patching file src/modules/rlm_eap/Makefile
patching file src/include/radiusd.h
Hunk #1 succeeded at 220 (offset 2 lines).
Hunk #2 succeeded at 356 (offset 2 lines).
patching file Makefile
patching file src/Makefile
patching file src/modules/Makefile
patching file src/modules/rlm_eap/Makefile.in
Hunk #1 succeeded at 2 with fuzz 1.
patching file src/modules/rlm_eap/libeap/mppe_keys.c
patching file libltdl/config.sub
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 AIX... no
checking whether gcc needs -traditional... no
checking whether we are using SUNPro C... no
checking for ranlib... ranlib
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 whether byte ordering is bigendian... no
checking for gmake... yes
checking for gmake... /usr/bin/gmake
checking for lt_dlinit in -lltdl... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
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... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... yes
checking if f77 static flag -static works... yes
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking docdir... ${datadir}/doc/freeradius
checking logdir... ${localstatedir}/log/radius
checking radacctdir... ${logdir}/radacct
checking raddbdir... ${sysconfdir}/raddb
checking for perl... /usr/bin/perl
checking for snmpget... no
configure: WARNING: snmpget not found - Simultaneous-Use and checkrad.pl may not work
checking for snmpwalk... no
configure: WARNING: snmpwalk not found - Simultaneous-Use and checkrad.pl may not work
checking for rusers... /usr/bin/rusers
checking for working aclocal... found
checking for working autoconf... found
checking for working autoheader... found
checking for locate... no
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 library containing sem_init... none required
checking for getsockname in -lsocket... no
checking for inet_aton in -lresolv... yes
checking for inet_ntoa in -lnsl... yes
checking for DH_new in -lcrypto... yes
checking for SSL_new in -lssl... 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 for unistd.h... (cached) yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking resource.h usability... no
checking resource.h presence... no
checking for resource.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.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 signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for sys/types.h... (cached) 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/wait.h... (cached) yes
checking sys/security.h usability... no
checking sys/security.h presence... no
checking for sys/security.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking for sys/stat.h... (cached) yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking prot.h usability... no
checking prot.h presence... no
checking for prot.h... no
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 regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... 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/engine.h usability... yes
checking openssl/engine.h presence... yes
checking for openssl/engine.h... yes
checking for OpenSSL version >= 0.9.7... 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 getopt_long... yes
checking for lockf... yes
checking for strsignal... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for pthread_sigmask... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for setsid... yes
checking for strncasecmp... yes
checking for strcasecmp... yes
checking for localtime_r... yes
checking for ctime_r... yes
checking for gmtime_r... yes
checking for strsep... yes
checking for inet_aton... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for gethostname... yes
checking for setlinebuf... yes
checking for setvbuf... yes
checking for getusershell... yes
checking for initgroups... yes
checking for closefrom... yes
checking whether crypt must be declared... no
checking whether strncasecmp must be declared... no
checking whether strcasecmp must be declared... no
checking whether inet_aton must be declared... no
checking whether gethostname must be declared... no
checking whether setlinebuf must be declared... no
checking whether getusershell must be declared... no
checking whether endusershell must be declared... no
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 an ANSI C-conforming const... yes
checking type of OS... Linux
checking for developer gcc flags... no.
checking for crypt in -lcrypt... yes
checking for setkey in -lcipher... no
checking for asn1.h,snmp.h,snmp_impl.h... (ucd-snmp)yes
checking for snmp_build_var_op in -lsnmp... yes
checking gethostbyaddr_r() syntax... GNU-style
checking gethostbyname_r() syntax... GNU-style
checking ctime_r() syntax... POSIX-style
top_builddir=/sonic/src/radius/pam/freeradius/freeradius-server
configure: creating ./config.status
config.status: creating ./Make.inc
config.status: WARNING: ./Make.inc.in seems to ignore the --datarootdir setting
config.status: creating ./src/include/build-radpaths-h
config.status: WARNING: ./src/include/build-radpaths-h.in seems to ignore the --datarootdir setting
config.status: creating ./src/main/Makefile
config.status: creating ./src/main/checkrad.pl
config.status: creating ./src/main/radlast
config.status: creating ./src/main/radtest
config.status: creating ./scripts/rc.radiusd
config.status: creating ./scripts/radwatch
config.status: creating ./scripts/check-radiusd-config
config.status: creating ./scripts/radiusd.cron.daily
config.status: creating ./scripts/radiusd.cron.monthly
config.status: creating ./scripts/cryptpasswd
config.status: creating ./raddb/dictionary
config.status: creating ./raddb/radiusd.conf
config.status: creating src/include/autoconf.h
=== configuring in src/modules/rlm_attr_rewrite (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_attr_rewrite)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
configure: creating ./config.status
config.status: creating Makefile
=== configuring in src/modules/rlm_counter (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_counter)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for gdbm.h... no
checking for gdbm_open in -lgdbm... no
checking for gdbm_fdesc... no
configure: WARNING: silently not building rlm_counter.
configure: WARNING: FAILURE: rlm_counter requires: libgdbm.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
=== configuring in src/modules/rlm_dbm (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_dbm)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for ndbm.h... no
checking for gdbm/ndbm.h... no
checking for gdbm-ndbm.h... no
checking for dbm in default lib... no
checking for dbm_open in -lndbm... no
checking for dbm_open in -lgdbm... no
checking for dbm_open in -lgdbm_compat... no
configure: WARNING: FAILURE: rlm_dbm requires: (ndbm.h or gdbm/ndbm.h or gdbm-ndbm.h) (libndbm or libgdbm or libgdbm_compat).
configure: WARNING: silently not building rlm_dbm.
configure: creating ./config.status
config.status: creating Makefile
=== configuring in src/modules/rlm_eap (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_eap)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in ./types/rlm_eap_ttls
configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2' --cache-file=/dev/null --srcdir=.
checking for OpenSSL support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: configuring in ./types/rlm_eap_tls
configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2' --cache-file=/dev/null --srcdir=.
checking for OpenSSL support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: configuring in ./types/rlm_eap_peap
configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2' --cache-file=/dev/null --srcdir=.
checking for OpenSSL support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: configuring in ./types/rlm_eap_sim
configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in ./types/rlm_eap_mschapv2
configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in ./types/rlm_eap_md5
configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
configure: creating ./config.status
config.status: creating Makefile
=== configuring in src/modules/rlm_ippool (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_ippool)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for gdbm.h... no
checking for gdbm_open in -lgdbm... no
checking for gdbm_fdesc... no
configure: WARNING: silently not building rlm_ippool.
configure: WARNING: FAILURE: rlm_ippool requires: libgdbm.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
=== configuring in src/modules/rlm_krb5 (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_krb5)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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.h... yes
checking for krb5_encrypt_data in -lk5crypto... yes
checking for set_com_err_hook in -lcom_err... yes
checking for krb5_init_context in -lkrb5... yes
configure: creating ./config.status
config.status: creating Makefile
=== configuring in src/modules/rlm_ldap (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_ldap)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 pthread_create in -lpthread... yes
checking for ldap_init in -lldap_r... yes
checking for ldap.h... yes
checking for ldap_start_tls_s... yes
checking for ldap_initialize... yes
checking for ldap_int_tls_config... no
configure: creating ./config.status
config.status: creating Makefile
=== configuring in src/modules/rlm_otp (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_otp)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 for inttypes.h... (cached) yes
checking for SSL_new in -lssl... yes
checking openssl/des.h usability... yes
checking openssl/des.h presence... yes
checking for openssl/des.h... yes
checking openssl/hmac.h usability... yes
checking openssl/hmac.h presence... yes
checking for openssl/hmac.h... yes
checking openssl/md4.h usability... yes
checking openssl/md4.h presence... yes
checking for openssl/md4.h... yes
checking openssl/md5.h usability... yes
checking openssl/md5.h presence... yes
checking for openssl/md5.h... yes
checking openssl/sha.h usability... yes
checking openssl/sha.h presence... yes
checking for openssl/sha.h... yes
configure: creating ./config.status
config.status: creating Makefile
=== configuring in src/modules/rlm_pam (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_pam)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... 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 egrep... 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 Makefile
config.status: creating config.h
=== configuring in src/modules/rlm_perl (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_perl)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for perl... yes
checking for EXTERN.h... yes
checking for perl.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
=== configuring in src/modules/rlm_radutmp (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_radutmp)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 Makefile
config.status: creating config.h
=== configuring in src/modules/rlm_sql (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_sql)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
configure: creating ./config.status
config.status: creating ./Makefile
config.status: creating ./drivers/Makefile
configure: configuring in ./drivers/rlm_sql_iodbc
configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for isql.h... no
configure: WARNING: iodbc headers not found. Use --with-iodbc-include-dir=.
configure: WARNING: sql submodule 'iodbc' disabled
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in ./drivers/rlm_sql_mysql
configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for mysql_config... yes
checking for pthread_create in -lpthread... yes
checking for mysql_init in -lmysqlclient_r (using mysql_config)... yes
checking for mysql.h (using mysql_config)... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: configuring in ./drivers/rlm_sql_postgresql
configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for libpq-fe.h... no
checking for PQconnectdb in -lpq... no
configure: WARNING: silently not building rlm_sql_postgresql.
configure: WARNING: FAILURE: rlm_sql_postgresql requires: libpq-fe.h libpq.
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in ./drivers/rlm_sql_oracle
configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for oci.h... no
configure: WARNING: oracle headers not found. Use --with-oracle-home-dir=.
configure: WARNING: sql submodule 'oracle' disabled
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in ./drivers/rlm_sql_unixodbc
configure: running /bin/bash './configure' --prefix=/usr/local '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS=-g -O2' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for sql.h... no
configure: WARNING: unixODBC headers not found. Use --with-unixodbc-include-dir=.
configure: WARNING: sql submodule 'unixodbc' disabled
configure: creating ./config.status
config.status: creating Makefile
=== configuring in src/modules/rlm_sqlcounter (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_sqlcounter)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
configure: creating ./config.status
config.status: creating Makefile
=== configuring in src/modules/rlm_sqlippool (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_sqlippool)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
configure: creating ./config.status
config.status: creating Makefile
=== configuring in src/modules/rlm_unix (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_unix)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... 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 crypt... no
checking for crypt in -lcrypt... yes
checking for egrep... 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 crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for getspnam... yes
checking for getusershell... yes
checking for getspnam in -lshadow... no
checking for fgetpwent... yes
checking for fgetspent... yes
checking for fgetgrent... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
=== configuring in src/modules/rlm_checkval (/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_checkval)
configure: running /bin/bash ./configure '--prefix=/usr/local' '--disable-static' '--enable-libtool-lock' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
configure: creating ./config.status
config.status: creating Makefile
make[2]: Entering directory '/sonic/src/radius/pam/freeradius/freeradius-server'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
gmake[3]: Entering directory '/sonic/src/radius/pam/freeradius/freeradius-server'
Making all in src...
gmake[4]: Entering directory '/sonic/src/radius/pam/freeradius/freeradius-server/src'
gmake[5]: Entering directory '/sonic/src/radius/pam/freeradius/freeradius-server/src'
Making all in include...
gmake[6]: Entering directory '/sonic/src/radius/pam/freeradius/freeradius-server/src/include'
gmake[6]: Leaving directory '/sonic/src/radius/pam/freeradius/freeradius-server/src/include'
Making all in lib...
gmake[6]: Entering directory '/sonic/src/radius/pam/freeradius/freeradius-server/src/lib'
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c crypt.c
mkdir .libs
gcc -g -O2 -D_LIBRADIUS -I../include -c crypt.c -fPIC -DPIC -o .libs/crypt.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c dict.c
gcc -g -O2 -D_LIBRADIUS -I../include -c dict.c -fPIC -DPIC -o .libs/dict.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c filters.c
gcc -g -O2 -D_LIBRADIUS -I../include -c filters.c -fPIC -DPIC -o .libs/filters.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c hash.c
gcc -g -O2 -D_LIBRADIUS -I../include -c hash.c -fPIC -DPIC -o .libs/hash.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c hmac.c
gcc -g -O2 -D_LIBRADIUS -I../include -c hmac.c -fPIC -DPIC -o .libs/hmac.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c hmacsha1.c
gcc -g -O2 -D_LIBRADIUS -I../include -c hmacsha1.c -fPIC -DPIC -o .libs/hmacsha1.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c isaac.c
gcc -g -O2 -D_LIBRADIUS -I../include -c isaac.c -fPIC -DPIC -o .libs/isaac.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c log.c
gcc -g -O2 -D_LIBRADIUS -I../include -c log.c -fPIC -DPIC -o .libs/log.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c misc.c
gcc -g -O2 -D_LIBRADIUS -I../include -c misc.c -fPIC -DPIC -o .libs/misc.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c missing.c
gcc -g -O2 -D_LIBRADIUS -I../include -c missing.c -fPIC -DPIC -o .libs/missing.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c md4.c
gcc -g -O2 -D_LIBRADIUS -I../include -c md4.c -fPIC -DPIC -o .libs/md4.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c md5.c
gcc -g -O2 -D_LIBRADIUS -I../include -c md5.c -fPIC -DPIC -o .libs/md5.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c print.c
gcc -g -O2 -D_LIBRADIUS -I../include -c print.c -fPIC -DPIC -o .libs/print.o
print.c: In function 'vp_prints_value':
print.c:198:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
198 | a = ipv6_ntoa(buf, sizeof(buf), vp->strvalue);
| ^
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c radius.c
gcc -g -O2 -D_LIBRADIUS -I../include -c radius.c -fPIC -DPIC -o .libs/radius.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c rbtree.c
gcc -g -O2 -D_LIBRADIUS -I../include -c rbtree.c -fPIC -DPIC -o .libs/rbtree.o
rbtree.c:44:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
44 | #define NIL &Sentinel /* all leafs are sentinels */
| ^
rbtree.c:45:36: note: in expansion of macro 'NIL'
45 | static const rbnode_t Sentinel = { NIL, NIL, NULL, Black, NULL};
| ^~~
rbtree.c:44:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
44 | #define NIL &Sentinel /* all leafs are sentinels */
| ^
rbtree.c:45:41: note: in expansion of macro 'NIL'
45 | static const rbnode_t Sentinel = { NIL, NIL, NULL, Black, NULL};
| ^~~
rbtree.c: In function 'rbtree_create':
rbtree.c:106:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
106 | tree->Root = NIL;
| ^
rbtree.c: In function 'rbtree_insert':
rbtree.c:281:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
281 | X->Left = NIL;
| ^
rbtree.c:282:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
282 | X->Right = NIL;
| ^
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c sha1.c
gcc -g -O2 -D_LIBRADIUS -I../include -c sha1.c -fPIC -DPIC -o .libs/sha1.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c snprintf.c
gcc -g -O2 -D_LIBRADIUS -I../include -c snprintf.c -fPIC -DPIC -o .libs/snprintf.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c token.c
gcc -g -O2 -D_LIBRADIUS -I../include -c token.c -fPIC -DPIC -o .libs/token.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c udpfromto.c
gcc -g -O2 -D_LIBRADIUS -I../include -c udpfromto.c -fPIC -DPIC -o .libs/udpfromto.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -D_LIBRADIUS -I../include -c valuepair.c
gcc -g -O2 -D_LIBRADIUS -I../include -c valuepair.c -fPIC -DPIC -o .libs/valuepair.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=link gcc -release 1.1.8 \
-export-dynamic -o libradius.la -rpath /usr/local/lib crypt.lo dict.lo filters.lo hash.lo hmac.lo hmacsha1.lo isaac.lo log.lo misc.lo missing.lo md4.lo md5.lo print.lo radius.lo rbtree.lo sha1.lo snprintf.lo token.lo udpfromto.lo valuepair.lo -lcrypt
gcc -shared .libs/crypt.o .libs/dict.o .libs/filters.o .libs/hash.o .libs/hmac.o .libs/hmacsha1.o .libs/isaac.o .libs/log.o .libs/misc.o .libs/missing.o .libs/md4.o .libs/md5.o .libs/print.o .libs/radius.o .libs/rbtree.o .libs/sha1.o .libs/snprintf.o .libs/token.o .libs/udpfromto.o .libs/valuepair.o -lcrypt -Wl,-soname -Wl,libradius-1.1.8.so -o .libs/libradius-1.1.8.so
(cd .libs && rm -f libradius.so && ln -s libradius-1.1.8.so libradius.so)
creating libradius.la
(cd .libs && rm -f libradius.la && ln -s ../libradius.la libradius.la)
gmake[6]: Leaving directory '/sonic/src/radius/pam/freeradius/freeradius-server/src/lib'
Making all in modules...
gmake[6]: Entering directory '/sonic/src/radius/pam/freeradius/freeradius-server/src/modules'
gmake[7]: Entering directory '/sonic/src/radius/pam/freeradius/freeradius-server/src/modules'
Making all in rlm_eap...
gmake[8]: Entering directory '/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_eap'
Making all in libeap...
gmake[9]: Entering directory '/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_eap/libeap'
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c eapcommon.c
mkdir .libs
gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c eapcommon.c -fPIC -DPIC -o .libs/eapcommon.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c eapcrypto.c
gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c eapcrypto.c -fPIC -DPIC -o .libs/eapcrypto.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c eapsimlib.c
gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c eapsimlib.c -fPIC -DPIC -o .libs/eapsimlib.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c fips186prf.c
gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c fips186prf.c -fPIC -DPIC -o .libs/fips186prf.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c cb.c
gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c cb.c -fPIC -DPIC -o .libs/cb.o
cb.c: In function 'cbtls_rsa':
cb.c:113:17: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations]
113 | rsa_tmp=RSA_generate_key(keylength, RSA_F4, NULL, NULL);
| ^~~~~~~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/ssl.h:31,
from eap_tls.h:61,
from cb.c:22:
/usr/include/openssl/rsa.h:253:30: note: declared here
253 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void
| ^~~~~~~~~~~~~~~~
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c eap_tls.c
gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c eap_tls.c -fPIC -DPIC -o .libs/eap_tls.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c mppe_keys.c
gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c mppe_keys.c -fPIC -DPIC -o .libs/mppe_keys.o
mppe_keys.c: In function 'P_hash':
mppe_keys.c:59:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
59 | if (NULL == (ctx_a = HMAC_CTX_new())) {
| ^~
In file included from mppe_keys.c:24:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
mppe_keys.c:63:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
63 | if (NULL == (ctx_out = HMAC_CTX_new())) {
| ^~
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
mppe_keys.c:68:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
68 | HMAC_Init_ex(ctx_a, secret, secret_len, evp_md, NULL);
| ^~~~~~~~~~~~
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
| ^~~~~~~~~~~~
mppe_keys.c:69:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
69 | HMAC_Init_ex(ctx_out, secret, secret_len, evp_md, NULL);
| ^~~~~~~~~~~~
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
| ^~~~~~~~~~~~
mppe_keys.c:71:9: warning: 'HMAC_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
71 | size = HMAC_size(ctx_out);
| ^~~~
/usr/include/openssl/hmac.h:32:30: note: declared here
32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e);
| ^~~~~~~~~
mppe_keys.c:74:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
74 | HMAC_Update(ctx_a, seed, seed_len);
| ^~~~~~~~~~~
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
| ^~~~~~~~~~~
mppe_keys.c:75:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
75 | HMAC_Final(ctx_a, a, NULL);
| ^~~~~~~~~~
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
mppe_keys.c:79:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
79 | HMAC_Update(ctx_out, a, size);
| ^~~~~~~~~~~
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
| ^~~~~~~~~~~
mppe_keys.c:80:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
80 | HMAC_Update(ctx_out, seed, seed_len);
| ^~~~~~~~~~~
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
| ^~~~~~~~~~~
mppe_keys.c:84:25: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
84 | HMAC_Final(ctx_out, a, NULL);
| ^~~~~~~~~~
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
mppe_keys.c:90:17: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
90 | HMAC_Final(ctx_out, out, NULL);
| ^~~~~~~~~~
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
mppe_keys.c:91:17: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
91 | HMAC_Init_ex(ctx_out, NULL, 0, NULL, NULL);
| ^~~~~~~~~~~~
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
| ^~~~~~~~~~~~
mppe_keys.c:96:17: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
96 | HMAC_Init_ex(ctx_a, NULL, 0, NULL, NULL);
| ^~~~~~~~~~~~
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
| ^~~~~~~~~~~~
mppe_keys.c:97:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
97 | HMAC_Update(ctx_a, a, size);
| ^~~~~~~~~~~
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
| ^~~~~~~~~~~
mppe_keys.c:98:17: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
98 | HMAC_Final(ctx_a, a, NULL);
| ^~~~~~~~~~
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
mppe_keys.c:102:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
102 | if (ctx_a) HMAC_CTX_free(ctx_a);
| ^~
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
mppe_keys.c:103:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
103 | if (ctx_out) HMAC_CTX_free(ctx_out);
| ^~
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=compile gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c tls.c
gcc -g -O2 -DEAPLIB -I. -I.. -I/sonic/src/radius/pam/freeradius/freeradius-server/src/include -DOPENSSL_NO_KRB5 -c tls.c -fPIC -DPIC -o .libs/tls.o
/sonic/src/radius/pam/freeradius/freeradius-server/libtool --mode=link gcc -release 1.1.8 \
-export-dynamic -o libeap.la -rpath /usr/local/lib eapcommon.lo eapcrypto.lo eapsimlib.lo fips186prf.lo cb.lo eap_tls.lo mppe_keys.lo tls.lo \
/sonic/src/radius/pam/freeradius/freeradius-server/src/lib/libradius.la -lnsl -lresolv -lpthread
gcc -shared .libs/eapcommon.o .libs/eapcrypto.o .libs/eapsimlib.o .libs/fips186prf.o .libs/cb.o .libs/eap_tls.o .libs/mppe_keys.o .libs/tls.o -Wl,--rpath -Wl,/sonic/src/radius/pam/freeradius/freeradius-server/src/lib/.libs /sonic/src/radius/pam/freeradius/freeradius-server/src/lib/.libs/libradius.so -lnsl -lresolv -lpthread -Wl,-soname -Wl,libeap-1.1.8.so -o .libs/libeap-1.1.8.so
(cd .libs && rm -f libeap.so && ln -s libeap-1.1.8.so libeap.so)
creating libeap.la
(cd .libs && rm -f libeap.la && ln -s ../libeap.la libeap.la)
gmake[9]: Leaving directory '/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_eap/libeap'
gmake[8]: Leaving directory '/sonic/src/radius/pam/freeradius/freeradius-server/src/modules/rlm_eap'
gmake[7]: Leaving directory '/sonic/src/radius/pam/freeradius/freeradius-server/src/modules'
gmake[6]: Leaving directory '/sonic/src/radius/pam/freeradius/freeradius-server/src/modules'
gmake[5]: Leaving directory '/sonic/src/radius/pam/freeradius/freeradius-server/src'
gmake[4]: Leaving directory '/sonic/src/radius/pam/freeradius/freeradius-server/src'
gmake[3]: Leaving directory '/sonic/src/radius/pam/freeradius/freeradius-server'
make[2]: Leaving directory '/sonic/src/radius/pam/freeradius/freeradius-server'
/sonic/src/radius/pam
Cloning into 'pam_radius'...
/sonic/src/radius/pam/pam_radius /sonic/src/radius/pam
Note: switching to '149c25df84cf5cd0e9addd9346699a9ca8fdddd2'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 149c25d Merge pull request #41 from dbhagat-radisys/pam_radius_mpl_support
dpkg-buildpackage: info: source package libpam-radius-auth
dpkg-buildpackage: info: source version 1.4.1-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Arun Barboza <29963827+a-barboza@users.noreply.github.com>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-source: info: using options from pam_radius/debian/source/options: --extend-diff-ignore=aclocal\.m4 --extend-diff-ignore=configure --extend-diff-ignore=config\.status --extend-diff-ignore=config\.guess
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 0001-chap-support.patch
dpkg-source: info: applying 0002-peap-mschapv2-support.patch
dpkg-source: info: applying 0003-nas-ip-address-config.patch
dpkg-source: info: applying 0004-fix-blastradius.patch
debian/rules binary
make[2]: Entering directory '/sonic/src/radius/pam/pam_radius'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
dh binary
dh_update_autotools_config
dh_autoreconf
configure.ac:28: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:28: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:28: the top level
configure.ac:72: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
configure.ac:72: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:72: the top level
configure.ac:84: warning: The macro `AC_AIX' is obsolete.
configure.ac:84: You should run autoupdate.
./lib/autoconf/specific.m4:540: AC_AIX is expanded from...
configure.ac:84: the top level
configure.ac:110: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:110: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/ax_cc.m4:18: AX_CC_QUNUSED_ARGUMENTS_FLAG is expanded from...
configure.ac:110: the top level
configure.ac:233: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:233: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:24: FR_CHECK_TYPE_INCLUDE is expanded from...
configure.ac:233: the top level
configure.ac:249: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:249: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:24: FR_CHECK_TYPE_INCLUDE is expanded from...
configure.ac:249: the top level
configure.ac:265: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:265: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:24: FR_CHECK_TYPE_INCLUDE is expanded from...
configure.ac:265: the top level
configure.ac:281: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:281: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:24: FR_CHECK_TYPE_INCLUDE is expanded from...
configure.ac:281: the top level
configure.ac:297: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:297: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:24: FR_CHECK_TYPE_INCLUDE is expanded from...
configure.ac:297: the top level
configure.ac:355: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:355: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/ax_cc.m4:36: AX_CC_WDOCUMENTATION_FLAG is expanded from...
configure.ac:355: the top level
dh_auto_configure
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
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 whether gcc needs -traditional... no
checking whether we are using SUNPro C... no
checking for ranlib... ranlib
checking if compiler is clang... no
checking for the compiler flag "-Qunused-arguments"... no
checking whether byte ordering is bigendian... no
checking for inet_aton in -lresolv... yes
checking for inet_ntoa in -lnsl... yes
checking for ctype.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for malloc.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for stdarg.h... yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/param.h... yes
checking for sys/resource.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for syslog.h... yes
checking for poll.h... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for utmp.h... yes
checking for security/pam_appl.h... yes
checking for pam/pam_appl.h... no
checking for security/pam_modules.h... yes
checking for pam/pam_modules.h... no
checking for net/if.h... yes
checking for linux/if.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 snprintf... yes
checking for inet_aton... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for setsockopt... yes
checking for strlcat... no
checking for strlcpy... no
checking for struct in6_addr... yes
checking whether byte ordering is bigendian... (cached) no
checking for an ANSI C-conforming const... yes
checking for the compiler flag "-Wdocumentation"... no
checking if building with -DNDEBUG... no
configure: creating ./config.status
config.status: creating src/config.h
debian/rules override_dh_auto_build
make[3]: Entering directory '/sonic/src/radius/pam/pam_radius'
CFLAGS="-g -O2 -ffile-prefix-map=/sonic/src/radius/pam/pam_radius=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCONF_FILE="\\\"/etc/pam_radius_auth.conf\\\""" dh_auto_build -Smakefile
make -j112 "INSTALL=install --strip-program=true"
make[4]: Entering directory '/sonic/src/radius/pam/pam_radius'
make[5]: Entering directory '/sonic/src/radius/pam/pam_radius/src'
cc -g -O2 -ffile-prefix-map=/sonic/src/radius/pam/pam_radius=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCONF_FILE=\"/etc/pam_radius_auth.conf\" -Wall -fPIC -I../../freeradius/freeradius-server//src/modules/rlm_eap/ -I../../freeradius/freeradius-server//src/modules/rlm_eap/libeap/ -I../../freeradius/freeradius-server//src/include/ -c pam_radius_auth.c -o pam_radius_auth.o
make[5]: Entering directory '/sonic/src/radius/pam/pam_radius/src'
cc -g -O2 -ffile-prefix-map=/sonic/src/radius/pam/pam_radius=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCONF_FILE=\"/etc/pam_radius_auth.conf\" -Wall -fPIC -I../../freeradius/freeradius-server//src/modules/rlm_eap/ -I../../freeradius/freeradius-server//src/modules/rlm_eap/libeap/ -I../../freeradius/freeradius-server//src/include/ -c radpeapclient.c -o radpeapclient.o
make[5]: Entering directory '/sonic/src/radius/pam/pam_radius/src'
cc -g -O2 -ffile-prefix-map=/sonic/src/radius/pam/pam_radius=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCONF_FILE=\"/etc/pam_radius_auth.conf\" -Wall -fPIC -I../../freeradius/freeradius-server//src/modules/rlm_eap/ -I../../freeradius/freeradius-server//src/modules/rlm_eap/libeap/ -I../../freeradius/freeradius-server//src/include/ -c md5.c -o md5.o
make[5]: Entering directory '/sonic/src/radius/pam/pam_radius/src'
cc -g -O2 -ffile-prefix-map=/sonic/src/radius/pam/pam_radius=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCONF_FILE=\"/etc/pam_radius_auth.conf\" -Wall -fPIC -I../../freeradius/freeradius-server//src/modules/rlm_eap/ -I../../freeradius/freeradius-server//src/modules/rlm_eap/libeap/ -I../../freeradius/freeradius-server//src/include/ -c mschapv2.c -o mschapv2.o
make[5]: Entering directory '/sonic/src/radius/pam/pam_radius/src'
cc -g -O2 -ffile-prefix-map=/sonic/src/radius/pam/pam_radius=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCONF_FILE=\"/etc/pam_radius_auth.conf\" -Wall -fPIC -I../../freeradius/freeradius-server//src/modules/rlm_eap/ -I../../freeradius/freeradius-server//src/modules/rlm_eap/libeap/ -I../../freeradius/freeradius-server//src/include/ -Wdate-time -D_FORTIFY_SOURCE=2 -DCONF_FILE="\\\"/etc/pam_radius_auth.conf\\\"" -c -o pam_radius_stats.o pam_radius_stats.c
make[5]: Entering directory '/sonic/src/radius/pam/pam_radius/src'
cc -g -O2 -ffile-prefix-map=/sonic/src/radius/pam/pam_radius=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCONF_FILE=\"/etc/pam_radius_auth.conf\" -Wall -fPIC -I../../freeradius/freeradius-server//src/modules/rlm_eap/ -I../../freeradius/freeradius-server//src/modules/rlm_eap/libeap/ -I../../freeradius/freeradius-server//src/include/ -Wdate-time -D_FORTIFY_SOURCE=2 -DCONF_FILE="\\\"/etc/pam_radius_auth.conf\\\"" -c -o pam_radius_trace.o pam_radius_trace.c
: warning: missing terminating " character
: warning: "CONF_FILE" redefined
: note: this is the location of the previous definition
: warning: missing terminating " character
: warning: "CONF_FILE" redefined
: note: this is the location of the previous definition
pam_radius_stats.c: In function '_pam_radius_incr':
pam_radius_stats.c:47:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
47 | fscanf(fp,
| ^~~~~~~~~~
48 | "%ld %ld %ld %ld %ld %ld %ld %ld %ld %ld "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 | "%ld %ld %ld %ld %ld %ld %ld %ld %ld %ld "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50 | "%ld %ld %ld %ld %ld %ld %ld %ld %ld %ld "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51 | "%ld %ld %ld %ld %ld %ld",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
52 | &(counters[0]), &(counters[1]), &(counters[2]), &(counters[3]),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53 | &(counters[4]), &(counters[5]), &(counters[6]), &(counters[7]),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54 | &(counters[8]), &(counters[9]), &(counters[10]), &(counters[11]),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | &(counters[12]), &(counters[13]), &(counters[14]), &(counters[15]),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | &(counters[16]), &(counters[17]), &(counters[18]), &(counters[19]),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
57 | &(counters[20]), &(counters[21]), &(counters[22]), &(counters[23]),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
58 | &(counters[24]), &(counters[25]), &(counters[26]), &(counters[27]),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
59 | &(counters[28]), &(counters[29]), &(counters[30]), &(counters[31]),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60 | &(counters[32]), &(counters[33]), &(counters[34]), &(counters[35])
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61 | );
| ~
pam_radius_auth.c: In function 'talk_radius':
pam_radius_auth.c:1108:34: warning: implicit declaration of function 'pam_peap_authenticate'; did you mean 'pam_sm_authenticate'? [-Wimplicit-function-declaration]
1108 | retval = pam_peap_authenticate(user_name, password,
| ^~~~~~~~~~~~~~~~~~~~~
| pam_sm_authenticate
pam_radius_auth.c:1266:47: warning: variable 'p' set but not used [-Wunused-but-set-variable]
1266 | char *p = server->secret;
| ^
make[5]: Leaving directory '/sonic/src/radius/pam/pam_radius/src'
mschapv2.c: In function 'des_encrypt':
mschapv2.c:200:3: warning: 'DES_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
200 | DES_set_key(&pkey, &ks);
| ^~~~~~~~~~~
In file included from mschapv2.c:47:
/usr/include/openssl/des.h:186:5: note: declared here
186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule);
| ^~~~~~~~~~~
mschapv2.c:201:3: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
201 | DES_ecb_encrypt((DES_cblock *) clear, (DES_cblock *) cypher, &ks,
| ^~~~~~~~~~~~~~~
/usr/include/openssl/des.h:105:6: note: declared here
105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output,
| ^~~~~~~~~~~~~~~
make[5]: Leaving directory '/sonic/src/radius/pam/pam_radius/src'
radpeapclient.c: In function 'compose_eap_identity_pkt':
radpeapclient.c:430:71: warning: pointer targets in passing argument 3 of 'lrad_hmac_md5' differ in signedness [-Wpointer-sign]
430 | lrad_hmac_md5((uint8_t *) rad_pkt, rad_pkt_size, peap_instance.shared_secret,
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
| |
| char *
In file included from ../../freeradius/freeradius-server//src/include/radiusd.h:10,
from ../../freeradius/freeradius-server//src/modules/rlm_eap/eap.h:39,
from ../../freeradius/freeradius-server//src/modules/rlm_eap/libeap/eap_tls.h:64,
from radpeapclient.c:24:
../../freeradius/freeradius-server//src/include/libradius.h:231:41: note: expected 'const unsigned char *' but argument is of type 'char *'
231 | const unsigned char *key, int key_len,
| ~~~~~~~~~~~~~~~~~~~~~^~~
radpeapclient.c:431:62: warning: pointer targets in passing argument 5 of 'lrad_hmac_md5' differ in signedness [-Wpointer-sign]
431 | strlen(peap_instance.shared_secret), mesg_auth);
| ^~~~~~~~~
| |
| char *
../../freeradius/freeradius-server//src/include/libradius.h:232:35: note: expected 'unsigned char *' but argument is of type 'char *'
232 | unsigned char *digest);
| ~~~~~~~~~~~~~~~^~~~~~
radpeapclient.c: In function 'cb_peap_info':
radpeapclient.c:563:22: warning: variable 'str' set but not used [-Wunused-but-set-variable]
563 | const char * str, * state;
| ^~~
radpeapclient.c: In function 'compose_eap_packet':
radpeapclient.c:859:31: warning: assignment to 'eap_tls_response_t *' {aka 'struct _eap_tls_response *'} from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
859 | eap_pktptr = (char *)eap_pktptr + ep_pkt_size;
| ^
radpeapclient.c:951:71: warning: pointer targets in passing argument 3 of 'lrad_hmac_md5' differ in signedness [-Wpointer-sign]
951 | lrad_hmac_md5((uint8_t *) rad_pkt, rad_pkt_size, peap_instance.shared_secret,
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
| |
| char *
../../freeradius/freeradius-server//src/include/libradius.h:231:41: note: expected 'const unsigned char *' but argument is of type 'char *'
231 | const unsigned char *key, int key_len,
| ~~~~~~~~~~~~~~~~~~~~~^~~
radpeapclient.c:952:70: warning: pointer targets in passing argument 5 of 'lrad_hmac_md5' differ in signedness [-Wpointer-sign]
952 | strlen(peap_instance.shared_secret), mesg_auth);
| ^~~~~~~~~
| |
| char *
../../freeradius/freeradius-server//src/include/libradius.h:232:35: note: expected 'unsigned char *' but argument is of type 'char *'
232 | unsigned char *digest);
| ~~~~~~~~~~~~~~~^~~~~~
radpeapclient.c:656:18: warning: variable 'tls_msg_length' set but not used [-Wunused-but-set-variable]
656 | uint16_t tls_msg_length = 0;
| ^~~~~~~~~~~~~~
radpeapclient.c: In function 'rad_peap_send':
radpeapclient.c:1125:22: warning: variable 'what' set but not used [-Wunused-but-set-variable]
1125 | const char * what;
| ^~~~
radpeapclient.c: In function 'compose_peap_identity':
radpeapclient.c:1260:67: warning: pointer targets in passing argument 3 of 'get_tls_data' differ in signedness [-Wpointer-sign]
1260 | tls_data = get_tls_data((uint8_t *)eap_pkt, eap_pkt_size, tls_data_length);
| ^~~~~~~~~~~~~~~
| |
| int *
radpeapclient.c:1188:72: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'int *'
1188 | get_tls_data(uint8_t * plain_data, uint32_t plain_data_len, uint32_t * tls_data_len)
| ~~~~~~~~~~~^~~~~~~~~~~~
radpeapclient.c: In function 'setup_TLS_session':
radpeapclient.c:1729:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
1729 | meth = SSLv23_method(); /* Connection method for client */
| ^
radpeapclient.c:1723:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1723 | int ret = 0;
| ^~~
radpeapclient.c: In function 'rad_peap_compose_ack':
radpeapclient.c:1876:13: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
1876 | ptr = (uint8_t *) rad_pkt->data;
| ^
radpeapclient.c:1894:71: warning: pointer targets in passing argument 3 of 'lrad_hmac_md5' differ in signedness [-Wpointer-sign]
1894 | lrad_hmac_md5((uint8_t *) rad_pkt, rad_pkt_size, peap_instance.shared_secret,
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
| |
| char *
../../freeradius/freeradius-server//src/include/libradius.h:231:41: note: expected 'const unsigned char *' but argument is of type 'char *'
231 | const unsigned char *key, int key_len,
| ~~~~~~~~~~~~~~~~~~~~~^~~
radpeapclient.c:1895:62: warning: pointer targets in passing argument 5 of 'lrad_hmac_md5' differ in signedness [-Wpointer-sign]
1895 | strlen(peap_instance.shared_secret), mesg_auth);
| ^~~~~~~~~
| |
| char *
../../freeradius/freeradius-server//src/include/libradius.h:232:35: note: expected 'unsigned char *' but argument is of type 'char *'
232 | unsigned char *digest);
| ~~~~~~~~~~~~~~~^~~~~~
radpeapclient.c: In function 'process_rad_rep':
radpeapclient.c:2177:25: warning: variable 'req' set but not used [-Wunused-but-set-variable]
2177 | RADIUS_PACKET * req = 0;
| ^~~
make[5]: Leaving directory '/sonic/src/radius/pam/pam_radius/src'
radpeapclient.c: In function 'compose_mschap_response':
radpeapclient.c:2373:17: warning: implicit declaration of function 'GenerateAuthenticatorResponse' [-Wimplicit-function-declaration]
2373 | GenerateAuthenticatorResponse(passwd, cached_nt_response, cached_peer_challenge,cached_auth_challenge,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
radpeapclient.c:2435:9: warning: implicit declaration of function 'GenerateNTResponse' [-Wimplicit-function-declaration]
2435 | GenerateNTResponse(mschap_req->auth_challenge, mschap_rep->peer_challenge,
| ^~~~~~~~~~~~~~~~~~
radpeapclient.c: In function 'wait_for_server_response':
make[5]: Leaving directory '/sonic/src/radius/pam/pam_radius/src'
radpeapclient.c:2468:16: warning: variable 'end' set but not used [-Wunused-but-set-variable]
2468 | time_t end = { 0 };
| ^~~
radpeapclient.c: In function 'handle_req_rep':
radpeapclient.c:2642:90: warning: pointer targets in passing argument 2 of 'compose_eap_packet' differ in signedness [-Wpointer-sign]
2642 | req = compose_eap_packet(req,peap_instance.tls_session->dirty_out.data,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
| |
| unsigned char *
radpeapclient.c:648:48: note: expected 'char *' but argument is of type 'unsigned char *'
648 | compose_eap_packet(RADIUS_PACKET * req, char * data, int len, uint8_t include_length)
| ~~~~~~~^~~~
radpeapclient.c:2735:91: warning: pointer targets in passing argument 2 of 'compose_eap_packet' differ in signedness [-Wpointer-sign]
2735 | req = compose_eap_packet(req, peap_instance.tls_session->clean_out.data,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
| |
| unsigned char *
radpeapclient.c:648:48: note: expected 'char *' but argument is of type 'unsigned char *'
648 | compose_eap_packet(RADIUS_PACKET * req, char * data, int len, uint8_t include_length)
| ~~~~~~~^~~~
radpeapclient.c:2789:55: warning: pointer targets in passing argument 2 of 'compose_eap_packet' differ in signedness [-Wpointer-sign]
2789 | req = compose_eap_packet(req, tls_data, tls_data_length, FALSE);
| ^~~~~~~~
| |
| uint8_t * {aka unsigned char *}
radpeapclient.c:648:48: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
648 | compose_eap_packet(RADIUS_PACKET * req, char * data, int len, uint8_t include_length)
| ~~~~~~~^~~~
radpeapclient.c:2837:55: warning: pointer targets in passing argument 2 of 'compose_eap_packet' differ in signedness [-Wpointer-sign]
2837 | req = compose_eap_packet(req, tls_data, tls_data_length, FALSE);
| ^~~~~~~~
| |
| uint8_t * {aka unsigned char *}
radpeapclient.c:648:48: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
648 | compose_eap_packet(RADIUS_PACKET * req, char * data, int len, uint8_t include_length)
| ~~~~~~~^~~~
radpeapclient.c:2903:78: warning: pointer targets in passing argument 3 of 'get_tls_data' differ in signedness [-Wpointer-sign]
2903 | tls_data = get_tls_data(peap_data, peap_data_length, &tls_data_length);
| ^~~~~~~~~~~~~~~~
| |
| int *
radpeapclient.c:1188:72: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'int *'
1188 | get_tls_data(uint8_t * plain_data, uint32_t plain_data_len, uint32_t * tls_data_len)
| ~~~~~~~~~~~^~~~~~~~~~~~
radpeapclient.c:2914:55: warning: pointer targets in passing argument 2 of 'compose_eap_packet' differ in signedness [-Wpointer-sign]
2914 | req = compose_eap_packet(req, tls_data, tls_data_length, FALSE);
| ^~~~~~~~
| |
| uint8_t * {aka unsigned char *}
radpeapclient.c:648:48: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
648 | compose_eap_packet(RADIUS_PACKET * req, char * data, int len, uint8_t include_length)
| ~~~~~~~^~~~
radpeapclient.c:3016:78: warning: pointer targets in passing argument 3 of 'get_tls_data' differ in signedness [-Wpointer-sign]
3016 | tls_data = get_tls_data(peap_data, peap_data_length, &tls_data_length);
| ^~~~~~~~~~~~~~~~
| |
| int *
radpeapclient.c:1188:72: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'int *'
1188 | get_tls_data(uint8_t * plain_data, uint32_t plain_data_len, uint32_t * tls_data_len)
| ~~~~~~~~~~~^~~~~~~~~~~~
radpeapclient.c:3025:55: warning: pointer targets in passing argument 2 of 'compose_eap_packet' differ in signedness [-Wpointer-sign]
3025 | req = compose_eap_packet(req, tls_data, tls_data_length, FALSE);
| ^~~~~~~~
| |
| uint8_t * {aka unsigned char *}
radpeapclient.c:648:48: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
648 | compose_eap_packet(RADIUS_PACKET * req, char * data, int len, uint8_t include_length)
| ~~~~~~~^~~~
radpeapclient.c:3075:78: warning: pointer targets in passing argument 3 of 'get_tls_data' differ in signedness [-Wpointer-sign]
3075 | tls_data = get_tls_data(result_avp, peap_data_length,&tls_data_length);
| ^~~~~~~~~~~~~~~~
| |
| int *
radpeapclient.c:1188:72: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'int *'
1188 | get_tls_data(uint8_t * plain_data, uint32_t plain_data_len, uint32_t * tls_data_len)
| ~~~~~~~~~~~^~~~~~~~~~~~
radpeapclient.c:3085:55: warning: pointer targets in passing argument 2 of 'compose_eap_packet' differ in signedness [-Wpointer-sign]
3085 | req = compose_eap_packet(req, tls_data, tls_data_length, FALSE);
| ^~~~~~~~
| |
| uint8_t * {aka unsigned char *}
radpeapclient.c:648:48: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
648 | compose_eap_packet(RADIUS_PACKET * req, char * data, int len, uint8_t include_length)
| ~~~~~~~^~~~
radpeapclient.c: In function 'setup_client':
radpeapclient.c:3194:21: warning: unused variable 'retVal' [-Wunused-variable]
3194 | int vrf_id, retVal;
| ^~~~~~
radpeapclient.c:3194:13: warning: unused variable 'vrf_id' [-Wunused-variable]
3194 | int vrf_id, retVal;
| ^~~~~~
radpeapclient.c: In function 'radpeap_verifyCipher':
radpeapclient.c:1001:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
1001 | fgets(path, COMMAND_SIZE, fp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
radpeapclient.c: In function 'compose_eap_identity_pkt':
radpeapclient.c:272:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation]
272 | strncpy(eap_identity_str, peap_instance.user_name , strlen(peap_instance.user_name));
| ^
radpeapclient.c:272:9: note: length computed here
272 | strncpy(eap_identity_str, peap_instance.user_name , strlen(peap_instance.user_name));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
radpeapclient.c: In function 'compose_eap_packet':
radpeapclient.c:701:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation]
701 | strncpy(eap_identity_str, peap_instance.user_name, strlen(peap_instance.user_name));
| ^
radpeapclient.c:701:9: note: length computed here
701 | strncpy(eap_identity_str, peap_instance.user_name, strlen(peap_instance.user_name));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
radpeapclient.c: In function 'compose_mschap_response.constprop':
radpeapclient.c:2349:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation]
2349 | strncpy(passwd, peap_instance.user_passwd, strlen(peap_instance.user_passwd));
| ^
radpeapclient.c:2349:9: note: length computed here
2349 | strncpy(passwd, peap_instance.user_passwd, strlen(peap_instance.user_passwd));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
radpeapclient.c:2350:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation]
2350 | strncpy(username, peap_instance.user_name, strlen(peap_instance.user_name));
| ^
radpeapclient.c:2350:9: note: length computed here
2350 | strncpy(username, peap_instance.user_name, strlen(peap_instance.user_name));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
radpeapclient.c: In function 'radpeap_verifyCipher':
radpeapclient.c:1004:51: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=]
1004 | snprintf(cipher, strlen(path), "%s", path);
| ^
In file included from /usr/include/stdio.h:906,
from radpeapclient.c:20:
In function 'snprintf',
inlined from 'radpeap_verifyCipher' at radpeapclient.c:1004:3:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 3 and 256 bytes into a destination of size 255
54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
radpeapclient.c: In function 'compose_peap_identity.constprop':
radpeapclient.c:1242:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation]
1242 | strncpy(eap_identity_str, peap_instance.user_name , strlen(peap_instance.user_name));
| ^
radpeapclient.c:1242:9: note: length computed here
1242 | strncpy(eap_identity_str, peap_instance.user_name , strlen(peap_instance.user_name));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[5]: Leaving directory '/sonic/src/radius/pam/pam_radius/src'
make[5]: Leaving directory '/sonic/src/radius/pam/pam_radius/src'
cc -Wl,-z,relro -Wl,-z,now -shared -L../freeradius/freeradius-server//src/lib/.libs/ -L../freeradius/freeradius-server//src/modules/rlm_eap/libeap/.libs/ src/pam_radius_auth.o src/md5.o src/mschapv2.o src/radpeapclient.o src/pam_radius_stats.o src/pam_radius_trace.o -lpam -lradius-1.1.8 -leap-1.1.8 -lssl -o pam_radius_auth.so
make[4]: Leaving directory '/sonic/src/radius/pam/pam_radius'
make[3]: Leaving directory '/sonic/src/radius/pam/pam_radius'
dh_auto_test
create-stamp debian/debhelper-build-stamp
dh_prep
debian/rules override_dh_installdirs
make[3]: Entering directory '/sonic/src/radius/pam/pam_radius'
dh_installdirs
dh_installdirs /lib /lib/x86_64-linux-gnu /lib/x86_64-linux-gnu/security
dh_installdirs /etc /etc/logrotate.d /etc/pam_radius_auth.d /etc/pam_radius_auth.d/statistics
make[3]: Leaving directory '/sonic/src/radius/pam/pam_radius'
debian/rules override_dh_install
make[3]: Entering directory '/sonic/src/radius/pam/pam_radius'
dh_install
dh_install pam_radius_auth.so lib/x86_64-linux-gnu/security/
dh_install pam_radius_auth.conf etc/
dh_install ../freeradius/freeradius-server/src/modules/rlm_eap/libeap/.libs/libeap-1.1.8.so lib/x86_64-linux-gnu/
dh_install ../freeradius/freeradius-server/src/lib/.libs/libradius-1.1.8.so lib/x86_64-linux-gnu/
dh_install pam_radius etc/logrotate.d/
make[3]: Leaving directory '/sonic/src/radius/pam/pam_radius'
dh_installdocs
dh_installchangelogs
dh_installexamples
dh_lintian
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
debian/rules override_dh_fixperms
make[3]: Entering directory '/sonic/src/radius/pam/pam_radius'
dh_fixperms
chmod 600 debian/libpam-radius-auth/etc/pam_radius_auth.conf
chmod 644 debian/libpam-radius-auth/etc/logrotate.d/pam_radius
make[3]: Leaving directory '/sonic/src/radius/pam/pam_radius'
dh_missing
dh_strip
dh_makeshlibs
dh_installdeb
dh_gencontrol
dpkg-gencontrol: warning: Depends field of package libpam-radius-auth: substitution variable ${shlibs:Depends} used, but is not defined
dpkg-gencontrol: warning: Depends field of package libpam-radius-auth: substitution variable ${shlibs:Depends} used, but is not defined
dh_md5sums
dh_builddeb
dpkg-deb: building package 'libpam-radius-auth' in '../libpam-radius-auth_1.4.1-1_amd64.deb'.
dpkg-deb: building package 'libpam-radius-auth-dbgsym' in '../libpam-radius-auth-dbgsym_1.4.1-1_amd64.deb'.
make[2]: Leaving directory '/sonic/src/radius/pam/pam_radius'
dpkg-genbuildinfo --build=binary -O../libpam-radius-auth_1.4.1-1_amd64.buildinfo
dpkg-genchanges --build=binary -O../libpam-radius-auth_1.4.1-1_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
dpkg-source --after-build .
dpkg-source: info: using options from pam_radius/debian/source/options: --extend-diff-ignore=aclocal\.m4 --extend-diff-ignore=configure --extend-diff-ignore=config\.status --extend-diff-ignore=config\.guess
dpkg-source: info: unapplying 0004-fix-blastradius.patch
dpkg-source: info: unapplying 0003-nas-ip-address-config.patch
dpkg-source: info: unapplying 0002-peap-mschapv2-support.patch
dpkg-source: info: unapplying 0001-chap-support.patch
dpkg-buildpackage: info: binary-only upload (no source included)
/sonic/src/radius/pam
make[1]: Leaving directory '/sonic/src/radius/pam'
Build end time: Fri Oct 3 09:32:25 UTC 2025
Elapsed time: 0h 1m 54s
|