Build start time: Fri Jul 18 07:00:25 UTC 2025
[ REASON ] : target/debs/bullseye/monit_5.20.0-6_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/monit'
# Remove any stale files
rm -rf ./monit
# Clone monit repo
git clone https://salsa.debian.org/sk-guest/monit.git
pushd ./monit
# Reset HEAD to the commit of the proper tag
# NOTE: Using "git checkout " here detaches our HEAD,
# which stg doesn't like, so we use this method instead
# NOTE: For some reason, tags in the Debian monit repo are prefixed with "1%"
git reset --hard debian/1\%5.20.0-6
# Apply patches
stg init
stg import -s ../patch/series
# Build source and Debian packages
dpkg-buildpackage -rfakeroot -b -us -uc -j112 --admindir /sonic/dpkg/tmp.OoxdTP9maY
popd
# Move the newly-built .deb packages to the destination directory
mv monit-dbgsym_5.20.0-6_amd64.deb monit_5.20.0-6_amd64.deb /sonic/target/debs/bullseye/
Cloning into 'monit'...
/sonic/src/monit/monit /sonic/src/monit
HEAD is now at dc9bc1c release
dpkg-buildpackage: info: source package monit
dpkg-buildpackage: info: source version 1:5.20.0-6
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Sergey B Kirpichev
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 01_spelling.patch
dpkg-source: info: applying 05_monitrc.patch
dpkg-source: info: applying 06_ssl.patch
dpkg-source: info: applying 07_cross.patch
dpkg-source: info: applying 11_enable_hurd.patch
fakeroot debian/rules clean
make[2]: Entering directory '/sonic/src/monit/monit'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
dh clean --with autoreconf
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
make[2]: Leaving directory '/sonic/src/monit/monit'
debian/rules build
make[2]: Entering directory '/sonic/src/monit/monit'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
dh build --with autoreconf
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_update_autotools_config
dh_autoreconf
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:15: installing 'config/compile'
configure.ac:8: installing 'config/missing'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:22: installing 'config/compile'
configure.ac:12: installing 'config/missing'
debian/rules override_dh_auto_configure
make[3]: Entering directory '/sonic/src/monit/monit'
dh_auto_configure -- \
--sysconfdir=/etc/monit
dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use)
./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 --disable-maintainer-mode --disable-dependency-tracking --sysconfdir=/etc/monit
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether 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 whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking whether make sets $(MAKE)... (cached) yes
checking for bison... bison -y
checking for flex... /usr/bin/flex
checking for pod2man... /usr/bin/pod2man
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for socket in -lsocket... no
checking for socket in -linet... no
checking for inet_addr in -lnsl... yes
checking for inet_aton in -lresolv... yes
checking for crypt in -lc... no
checking for crypt in -lcrypt... yes
checking for pthread_create in -lpthread... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking asm/page.h usability... no
checking asm/page.h presence... no
checking for asm/page.h... no
checking asm/param.h usability... yes
checking asm/param.h presence... yes
checking for asm/param.h... yes
checking cf.h usability... no
checking cf.h presence... no
checking for cf.h... no
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.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 ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking kinfo.h usability... no
checking kinfo.h presence... no
checking for kinfo.h... no
checking kvm.h usability... no
checking kvm.h presence... no
checking for kvm.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking kstat.h usability... no
checking kstat.h presence... no
checking for kstat.h... no
checking zone.h usability... no
checking zone.h presence... no
checking for zone.h... no
checking sys/protosw.h usability... no
checking sys/protosw.h presence... no
checking for sys/protosw.h... no
checking libproc.h usability... no
checking libproc.h presence... no
checking for libproc.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking loadavg.h usability... no
checking loadavg.h presence... no
checking for loadavg.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking mach/boolean.h usability... no
checking mach/boolean.h presence... no
checking for mach/boolean.h... no
checking mach/host_info.h usability... no
checking mach/host_info.h presence... no
checking for mach/host_info.h... no
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking mach/mach_host.h usability... no
checking mach/mach_host.h presence... no
checking for mach/mach_host.h... no
checking for memory.h... (cached) yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking procfs.h usability... no
checking procfs.h presence... no
checking for procfs.h... no
checking sys/procfs.h usability... yes
checking sys/procfs.h presence... yes
checking for sys/procfs.h... yes
checking procinfo.h usability... no
checking procinfo.h presence... no
checking for procinfo.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking sys/cfgodm.h usability... no
checking sys/cfgodm.h presence... no
checking for sys/cfgodm.h... no
checking sys/cfgdb.h usability... no
checking sys/cfgdb.h presence... no
checking for sys/cfgdb.h... no
checking sys/dk.h usability... no
checking sys/dk.h presence... no
checking for sys/dk.h... no
checking sys/dkstat.h usability... no
checking sys/dkstat.h presence... no
checking for sys/dkstat.h... no
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/lock.h usability... no
checking sys/lock.h presence... no
checking for sys/lock.h... no
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking sys/mutex.h usability... no
checking sys/mutex.h presence... no
checking for sys/mutex.h... no
checking sys/nlist.h usability... no
checking sys/nlist.h presence... no
checking for sys/nlist.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/sched.h usability... no
checking sys/sched.h presence... no
checking for sys/sched.h... no
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking sys/systemcfg.h usability... no
checking sys/systemcfg.h presence... no
checking for sys/systemcfg.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/tree.h usability... no
checking sys/tree.h presence... no
checking for sys/tree.h... no
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 sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/vmmeter.h usability... no
checking sys/vmmeter.h presence... no
checking for sys/vmmeter.h... no
checking sys/vm_usage.h usability... no
checking sys/vm_usage.h presence... no
checking for sys/vm_usage.h... no
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking uvm/uvm_extern.h usability... no
checking uvm/uvm_extern.h presence... no
checking for uvm/uvm_extern.h... no
checking uvm/uvm_param.h usability... no
checking uvm/uvm_param.h presence... no
checking for uvm/uvm_param.h... no
checking vm/vm.h usability... no
checking vm/vm.h presence... no
checking for vm/vm.h... no
checking for inttypes.h... (cached) yes
checking for libperfstat.h... no
checking for netinet/ip.h... yes
checking for net/if.h... yes
checking for netinet/ip_icmp.h... yes
checking for netinet/icmp6.h... yes
checking for sys/sysctl.h... yes
checking for sys/mount.h... yes
checking for sys/proc.h... no
checking for sys/swap.h... yes
checking for sys/ucred.h... no
checking for sys/user.h... yes
checking for machine/vmparam.h... no
checking for vm/pmap.h... no
checking for machine/pmap.h... no
checking for vm/vm_map.h... no
checking for vm/vm_object.h... no
checking for sys/resourcevar.h... no
checking for uvm/uvm_map.h... no
checking for uvm/uvm_pmap.h... no
checking for uvm/uvm_object.h... no
checking for uvm/uvm.h... no
checking for boolean_t... no
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for pid_t... (cached) yes
checking return type of signal handlers... void
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_gmtoff... no
checking for error_at_line... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for statfs... yes
checking for statvfs... yes
checking for setlocale... yes
checking for getaddrinfo... yes
checking for syslog... yes
checking for vsyslog... yes
checking for backtrace... yes
checking for getloadavg... yes
checking for getopt_long... yes
checking for va_copy... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for IPv6 support... yes
checking pid file location... /run
checking for large files support... enabled
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for zlibVersion in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for PAM support... enabled
checking for pam_start in -lpam... yes
checking for static SSL support... disabled
checking for SSL support... enabled
checking for SSL include directory... /usr/include
checking for SSL library directory... Not found
checking for SSL_new in -lssl... yes
checking for CRYPTO_new_ex_data in -lcrypto... yes
checking for SSLv2... no
checking for TLSv1.1... yes
checking for TLSv1.2... yes
checking for EC_KEY support... yes
checking for ASN1_TIME_diff support... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating system/startup/monit.upstart
config.status: creating system/startup/monit.service
config.status: creating src/config.h
config.status: executing libtool_patch commands
config.status: executing monitrc commands
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in libmonit (/sonic/src/monit/monit/libmonit)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--disable-dependency-tracking' '--sysconfdir=/etc/monit' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether 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 whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) 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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for zlibVersion in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for pthread_create in -lpthread... yes
checking for round in -lm... yes
checking for ANSI C header files... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.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 limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for string.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.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/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/dirent.h usability... no
checking sys/dirent.h presence... no
checking for sys/dirent.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking kstat.h usability... no
checking kstat.h presence... no
checking for kstat.h... no
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking net/if_media.h usability... no
checking net/if_media.h presence... no
checking for net/if_media.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking sys/protosw.h usability... no
checking sys/protosw.h presence... no
checking for sys/protosw.h... no
checking mach/boolean.h usability... no
checking mach/boolean.h presence... no
checking for mach/boolean.h... no
checking uvm/uvm_param.h usability... no
checking uvm/uvm_param.h presence... no
checking for uvm/uvm_param.h... no
checking for net/if.h... yes
checking for net/route.h... yes
checking for libperfstat.h... no
checking for boolean_t... no
checking for uchar_t... no
checking for uint32_t... yes
checking setjmp is available... yes
checking vsnprintf is c99 conformant... yes
checking for timegm... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for IPv6 support... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating test/Makefile
config.status: creating src/xconfig.h
config.status: executing depfiles commands
config.status: executing libtool commands
+------------------------------------------------------------+
| License: |
| This is Open Source Software and use is subject to the GNU |
| AFFERO GENERAL PUBLIC LICENSE version 3, available in this |
| distribution in the file COPYING. |
| |
| By continuing this installation process, you are bound by |
| the terms of this license agreement. If you do not agree |
| with the terms of this license, you must abort the |
| installation process at this point. |
+------------------------------------------------------------+
| Libmonit is configured as follows: |
| |
| Optimized: DISABLED |
| Profiling: DISABLED |
| Openssl: DISABLED |
| Compression: ENABLED |
+------------------------------------------------------------+
Monit Build Information:
Architecture: LINUX
SSL include directory: /usr/include
SSL library directory:
Compiler flags: -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include
Linker flags: -lcrypto -lssl -lpam -lz -lpthread -lcrypt -lresolv -lnsl
pid file location: /run
Install directory: /usr
+------------------------------------------------------------+
| License: |
| This is Open Source Software and use is subject to the GNU |
| AFFERO GENERAL PUBLIC LICENSE version 3, available in this |
| distribution in the file COPYING. |
| |
| By continuing this installation process, you are bound by |
| the terms of this license agreement. If you do not agree |
| with the terms of this license, you must abort the |
| installation process at this point. |
+------------------------------------------------------------+
| Monit has been configured with the following options: |
| |
| Compression: ENABLED |
| PAM support: ENABLED |
| SSL support: ENABLED |
| Large files support: ENABLED |
| Optimized: DISABLED |
| Profiling: DISABLED |
+------------------------------------------------------------+
make[3]: Leaving directory '/sonic/src/monit/monit'
dh_auto_build
dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use)
make -j1
make[3]: Entering directory '/sonic/src/monit/monit'
/usr/bin/flex -i -osrc/lex.yy.c src/l.l
bison -y -dvt -o src/y.tab.c src/p.y
src/p.y: warning: 25 reduce/reduce conflicts [-Wconflicts-rr]
src/p.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
src/p.y:2256.19-2258.19: warning: rule useless in parser due to conflicts [-Wother]
2256 | | ALERT {
| ^~~~~~~
make all-recursive
make[4]: Entering directory '/sonic/src/monit/monit'
Making all in libmonit
make[5]: Entering directory '/sonic/src/monit/monit/libmonit'
Making all in .
make[6]: Entering directory '/sonic/src/monit/monit/libmonit'
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/Bootstrap.lo src/Bootstrap.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/Bootstrap.c -fPIC -DPIC -o src/.libs/Bootstrap.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/Bootstrap.c -o src/Bootstrap.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/exceptions/assert.lo src/exceptions/assert.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/exceptions/assert.c -fPIC -DPIC -o src/exceptions/.libs/assert.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/exceptions/assert.c -o src/exceptions/assert.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/exceptions/Exception.lo src/exceptions/Exception.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/exceptions/Exception.c -fPIC -DPIC -o src/exceptions/.libs/Exception.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/exceptions/Exception.c -o src/exceptions/Exception.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/io/Dir.lo src/io/Dir.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/Dir.c -fPIC -DPIC -o src/io/.libs/Dir.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/Dir.c -o src/io/Dir.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/io/File.lo src/io/File.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/File.c -fPIC -DPIC -o src/io/.libs/File.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/File.c -o src/io/File.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/io/InputStream.lo src/io/InputStream.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/InputStream.c -fPIC -DPIC -o src/io/.libs/InputStream.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/InputStream.c -o src/io/InputStream.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/io/OutputStream.lo src/io/OutputStream.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/OutputStream.c -fPIC -DPIC -o src/io/.libs/OutputStream.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/OutputStream.c -o src/io/OutputStream.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/system/Mem.lo src/system/Mem.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Mem.c -fPIC -DPIC -o src/system/.libs/Mem.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Mem.c -o src/system/Mem.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/system/Net.lo src/system/Net.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Net.c -fPIC -DPIC -o src/system/.libs/Net.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Net.c -o src/system/Net.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/system/Time.lo src/system/Time.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Time.c -fPIC -DPIC -o src/system/.libs/Time.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Time.c -o src/system/Time.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/system/Command.lo src/system/Command.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Command.c -fPIC -DPIC -o src/system/.libs/Command.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Command.c -o src/system/Command.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/system/System.lo src/system/System.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/System.c -fPIC -DPIC -o src/system/.libs/System.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/System.c -o src/system/System.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/system/Link.lo src/system/Link.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Link.c -fPIC -DPIC -o src/system/.libs/Link.o
In file included from src/system/Link.c:50:
/usr/include/x86_64-linux-gnu/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp]
21 | #warning "The header is deprecated and will be removed."
| ^~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Link.c -o src/system/Link.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/util/List.lo src/util/List.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/util/List.c -fPIC -DPIC -o src/util/.libs/List.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/util/List.c -o src/util/List.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/util/Str.lo src/util/Str.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/util/Str.c -fPIC -DPIC -o src/util/.libs/Str.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/util/Str.c -o src/util/Str.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/util/StringBuffer.lo src/util/StringBuffer.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/util/StringBuffer.c -fPIC -DPIC -o src/util/.libs/StringBuffer.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/util/StringBuffer.c -o src/util/StringBuffer.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/thread/Thread.lo src/thread/Thread.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/thread/Thread.c -fPIC -DPIC -o src/thread/.libs/Thread.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/thread/Thread.c -o src/thread/Thread.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=link gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z,relro -o libmonit.la src/Bootstrap.lo src/exceptions/assert.lo src/exceptions/Exception.lo src/io/Dir.lo src/io/File.lo src/io/InputStream.lo src/io/OutputStream.lo src/system/Mem.lo src/system/Net.lo src/system/Time.lo src/system/Command.lo src/system/System.lo src/system/Link.lo src/util/List.lo src/util/Str.lo src/util/StringBuffer.lo src/thread/Thread.lo -lm -lpthread -lz
libtool: link: ar cr .libs/libmonit.a src/.libs/Bootstrap.o src/exceptions/.libs/assert.o src/exceptions/.libs/Exception.o src/io/.libs/Dir.o src/io/.libs/File.o src/io/.libs/InputStream.o src/io/.libs/OutputStream.o src/system/.libs/Mem.o src/system/.libs/Net.o src/system/.libs/Time.o src/system/.libs/Command.o src/system/.libs/System.o src/system/.libs/Link.o src/util/.libs/List.o src/util/.libs/Str.o src/util/.libs/StringBuffer.o src/thread/.libs/Thread.o
libtool: link: ranlib .libs/libmonit.a
libtool: link: ( cd ".libs" && rm -f "libmonit.la" && ln -s "../libmonit.la" "libmonit.la" )
make[6]: Leaving directory '/sonic/src/monit/monit/libmonit'
Making all in test
make[6]: Entering directory '/sonic/src/monit/monit/libmonit/test'
gcc -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o StrTest.o StrTest.c
/bin/bash ../libtool --tag=CC --mode=link gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z,relro -o StrTest StrTest.o ../libmonit.la -lm -lpthread -lz
libtool: link: gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z -Wl,relro -o StrTest StrTest.o ../.libs/libmonit.a -lm -lpthread -lz
gcc -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o SystemTest.o SystemTest.c
/bin/bash ../libtool --tag=CC --mode=link gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z,relro -o SystemTest SystemTest.o ../libmonit.la -lm -lpthread -lz
libtool: link: gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z -Wl,relro -o SystemTest SystemTest.o ../.libs/libmonit.a -lm -lpthread -lz
gcc -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o ListTest.o ListTest.c
/bin/bash ../libtool --tag=CC --mode=link gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z,relro -o ListTest ListTest.o ../libmonit.la -lm -lpthread -lz
libtool: link: gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z -Wl,relro -o ListTest ListTest.o ../.libs/libmonit.a -lm -lpthread -lz
gcc -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o DirTest.o DirTest.c
/bin/bash ../libtool --tag=CC --mode=link gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z,relro -o DirTest DirTest.o ../libmonit.la -lm -lpthread -lz
libtool: link: gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z -Wl,relro -o DirTest DirTest.o ../.libs/libmonit.a -lm -lpthread -lz
gcc -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o StringBufferTest.o StringBufferTest.c
/bin/bash ../libtool --tag=CC --mode=link gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z,relro -o StringBufferTest StringBufferTest.o ../libmonit.la -lm -lpthread -lz
libtool: link: gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z -Wl,relro -o StringBufferTest StringBufferTest.o ../.libs/libmonit.a -lm -lpthread -lz
gcc -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o InputStreamTest.o InputStreamTest.c
/bin/bash ../libtool --tag=CC --mode=link gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z,relro -o InputStreamTest InputStreamTest.o ../libmonit.la -lm -lpthread -lz
libtool: link: gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z -Wl,relro -o InputStreamTest InputStreamTest.o ../.libs/libmonit.a -lm -lpthread -lz
gcc -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o OutputStreamTest.o OutputStreamTest.c
/bin/bash ../libtool --tag=CC --mode=link gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z,relro -o OutputStreamTest OutputStreamTest.o ../libmonit.la -lm -lpthread -lz
libtool: link: gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z -Wl,relro -o OutputStreamTest OutputStreamTest.o ../.libs/libmonit.a -lm -lpthread -lz
gcc -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o FileTest.o FileTest.c
/bin/bash ../libtool --tag=CC --mode=link gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z,relro -o FileTest FileTest.o ../libmonit.la -lm -lpthread -lz
libtool: link: gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z -Wl,relro -o FileTest FileTest.o ../.libs/libmonit.a -lm -lpthread -lz
gcc -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o ExceptionTest.o ExceptionTest.c
/bin/bash ../libtool --tag=CC --mode=link gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z,relro -o ExceptionTest ExceptionTest.o ../libmonit.la -lm -lpthread -lz
libtool: link: gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z -Wl,relro -o ExceptionTest ExceptionTest.o ../.libs/libmonit.a -lm -lpthread -lz
gcc -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o NetTest.o NetTest.c
/bin/bash ../libtool --tag=CC --mode=link gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z,relro -o NetTest NetTest.o ../libmonit.la -lm -lpthread -lz
libtool: link: gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z -Wl,relro -o NetTest NetTest.o ../.libs/libmonit.a -lm -lpthread -lz
gcc -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o LinkTest.o LinkTest.c
/bin/bash ../libtool --tag=CC --mode=link gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z,relro -o LinkTest LinkTest.o ../libmonit.la -lm -lpthread -lz
libtool: link: gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z -Wl,relro -o LinkTest LinkTest.o ../.libs/libmonit.a -lm -lpthread -lz
gcc -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o TimeTest.o TimeTest.c
/bin/bash ../libtool --tag=CC --mode=link gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z,relro -o TimeTest TimeTest.o ../libmonit.la -lm -lpthread -lz
libtool: link: gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z -Wl,relro -o TimeTest TimeTest.o ../.libs/libmonit.a -lm -lpthread -lz
gcc -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o CommandTest.o CommandTest.c
/bin/bash ../libtool --tag=CC --mode=link gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z,relro -o CommandTest CommandTest.o ../libmonit.la -lm -lpthread -lz
libtool: link: gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -D _REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-z -Wl,relro -o CommandTest CommandTest.o ../.libs/libmonit.a -lm -lpthread -lz
make[6]: Leaving directory '/sonic/src/monit/monit/libmonit/test'
make[5]: Leaving directory '/sonic/src/monit/monit/libmonit'
make[5]: Entering directory '/sonic/src/monit/monit'
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/y.tab.o src/y.tab.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/lex.yy.o src/lex.yy.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/monit.o src/monit.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/alert.o src/alert.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/control.o src/control.c
src/control.c: In function '_commandExecute.constprop':
src/control.c:157:80: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 231 and 252 [-Wformat-truncation=]
157 | snprintf(msg, msglen, "'%s': %s%s", Util_commandDescription(c, (char[STRLEN]){}), *timeout <= 0 ? "Program timed out -- " : "", buf);
| ^~ ~~~
In file included from /usr/include/stdio.h:867,
from src/control.c:28:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 5 or more bytes (assuming 281) into a destination of size 256
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/daemonize.o src/daemonize.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/env.o src/env.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/event.o src/event.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/file.o src/file.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/gc.o src/gc.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/http.o src/http.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/log.o src/log.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/md5.o src/md5.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/md5_crypt.o src/md5_crypt.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/net.o src/net.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/sha1.o src/sha1.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/signal.o src/signal.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/socket.o src/socket.c
In file included from /usr/include/string.h:495,
from src/socket.c:40:
In function 'strncpy',
inlined from 'Socket_createUnix' at src/socket.c:368:17:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 108 equals destination size [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/socket.c: In function 'Socket_create':
src/socket.c:340:65: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 256 [-Wformat-truncation=]
340 | snprintf(error, sizeof(error), "%s", Exception_frame.message);
| ^~ ~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
from src/monit.h:57,
from src/net.h:30,
from src/socket.c:75:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 512 bytes into a destination of size 256
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/spawn.o src/spawn.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/state.o src/state.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/util.o src/util.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/validate.o src/validate.c
src/validate.c: In function '_checkConnection':
src/validate.c:158:78: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 225 [-Wformat-truncation=]
158 | snprintf(report, STRLEN, "failed protocol test [%s] at %s -- %s", p->protocol->name, Util_portDescription(p, buf, sizeof(buf)), Exception_frame.message);
| ^~ ~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
from src/validate.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 32 or more bytes (assuming 543) into a destination of size 256
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/device/device_common.o src/device/device_common.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/device/sysdep_LINUX.o src/device/sysdep_LINUX.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/http/base64.o src/http/base64.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/http/cervlet.o src/http/cervlet.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/http/client.o src/http/client.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/http/engine.o src/http/engine.c
src/http/engine.c: In function 'Engine_start':
src/http/engine.c:466:19: warning: overflow in conversion from 'int' to 'boolean_t' changes value from '(int)Run.flags & 1024' to '0' [-Woverflow]
466 | stopped = Run.flags & Run_Stopped;
| ^~~
In file included from /usr/include/string.h:495,
from src/http/engine.c:60:
In function 'strncpy',
inlined from '_parseNetwork' at src/http/engine.c:232:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/http/xml.o src/http/xml.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/http/processor.o src/http/processor.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/notification/Address.o src/notification/Address.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/notification/MMonit.o src/notification/MMonit.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/notification/SMTP.o src/notification/SMTP.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/process/ProcessTree.o src/process/ProcessTree.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/process/sysdep_LINUX.o src/process/sysdep_LINUX.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/apache_status.o src/protocols/apache_status.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/clamav.o src/protocols/clamav.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/default.o src/protocols/default.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/dns.o src/protocols/dns.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/dwp.o src/protocols/dwp.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/ftp.o src/protocols/ftp.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/generic.o src/protocols/generic.c
src/protocols/generic.c: In function 'check_generic':
src/protocols/generic.c:109:107: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 216 [-Wformat-truncation=]
109 | snprintf(error, sizeof(error), "GENERIC: received unexpected data [%s] -- %s", Str_trunc(Str_trim(buf), sizeof(error) - 128), e);
| ^~ ~
In file included from /usr/include/stdio.h:867,
from ./src/monit.h:57,
from src/protocols/protocol.h:31,
from src/protocols/generic.c:35:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 41 or more bytes (assuming 296) into a destination of size 256
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/gps.o src/protocols/gps.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/http.o src/protocols/http.c
src/protocols/http.c: In function 'check_http':
src/protocols/http.c:108:99: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 222 [-Wformat-truncation=]
108 | snprintf(error, sizeof(error), "Regular expression doesn't match: %s", errbuf);
| ^~ ~~~~~~
In file included from /usr/include/stdio.h:867,
from ./src/monit.h:57,
from src/protocols/protocol.h:31,
from src/protocols/http.c:34:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 35 and 290 bytes into a destination of size 256
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/imap.o src/protocols/imap.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/ldap2.o src/protocols/ldap2.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/ldap3.o src/protocols/ldap3.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/lmtp.o src/protocols/lmtp.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/memcache.o src/protocols/memcache.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/mongodb.o src/protocols/mongodb.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/mysql.o src/protocols/mysql.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/nntp.o src/protocols/nntp.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/ntp3.o src/protocols/ntp3.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/pgsql.o src/protocols/pgsql.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/pop.o src/protocols/pop.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/postfix_policy.o src/protocols/postfix_policy.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/protocol.o src/protocols/protocol.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/radius.o src/protocols/radius.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/rdate.o src/protocols/rdate.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/redis.o src/protocols/redis.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/rsync.o src/protocols/rsync.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/sieve.o src/protocols/sieve.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/sip.o src/protocols/sip.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/smtp.o src/protocols/smtp.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/ssh.o src/protocols/ssh.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/tns.o src/protocols/tns.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/websocket.o src/protocols/websocket.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/ssl/Ssl.o src/ssl/Ssl.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/terminal/Box.o src/terminal/Box.c
gcc -DHAVE_CONFIG_H -I. -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -DSYSCONFDIR="\"/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/notification -I./src/process -I./src/protocols -I./src/ssl -I./src/terminal -I./libmonit/src -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/terminal/Color.o src/terminal/Color.c
/bin/bash ./libtool --tag=CC --mode=link gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -static -Wl,-z,relro -rdynamic -o monit src/y.tab.o src/lex.yy.o src/monit.o src/alert.o src/control.o src/daemonize.o src/env.o src/event.o src/file.o src/gc.o src/http.o src/log.o src/md5.o src/md5_crypt.o src/net.o src/sha1.o src/signal.o src/socket.o src/spawn.o src/state.o src/util.o src/validate.o src/device/device_common.o src/device/sysdep_LINUX.o src/http/base64.o src/http/cervlet.o src/http/client.o src/http/engine.o src/http/xml.o src/http/processor.o src/notification/Address.o src/notification/MMonit.o src/notification/SMTP.o src/process/ProcessTree.o src/process/sysdep_LINUX.o src/protocols/apache_status.o src/protocols/clamav.o src/protocols/default.o src/protocols/dns.o src/protocols/dwp.o src/protocols/ftp.o src/protocols/generic.o src/protocols/gps.o src/protocols/http.o src/protocols/imap.o src/protocols/ldap2.o src/protocols/ldap3.o src/protocols/lmtp.o src/protocols/memcache.o src/protocols/mongodb.o src/protocols/mysql.o src/protocols/nntp.o src/protocols/ntp3.o src/protocols/pgsql.o src/protocols/pop.o src/protocols/postfix_policy.o src/protocols/protocol.o src/protocols/radius.o src/protocols/rdate.o src/protocols/redis.o src/protocols/rsync.o src/protocols/sieve.o src/protocols/sip.o src/protocols/smtp.o src/protocols/ssh.o src/protocols/tns.o src/protocols/websocket.o src/ssl/Ssl.o src/terminal/Box.o src/terminal/Color.o libmonit/libmonit.la -lcrypto -lssl -lpam -lz -lpthread -lcrypt -lresolv -lnsl
libtool: link: gcc -Wno-address -Wno-pointer-sign -g -O2 -ffile-prefix-map=/sonic/src/monit/monit=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -Wl,-z -Wl,relro -rdynamic -o monit src/y.tab.o src/lex.yy.o src/monit.o src/alert.o src/control.o src/daemonize.o src/env.o src/event.o src/file.o src/gc.o src/http.o src/log.o src/md5.o src/md5_crypt.o src/net.o src/sha1.o src/signal.o src/socket.o src/spawn.o src/state.o src/util.o src/validate.o src/device/device_common.o src/device/sysdep_LINUX.o src/http/base64.o src/http/cervlet.o src/http/client.o src/http/engine.o src/http/xml.o src/http/processor.o src/notification/Address.o src/notification/MMonit.o src/notification/SMTP.o src/process/ProcessTree.o src/process/sysdep_LINUX.o src/protocols/apache_status.o src/protocols/clamav.o src/protocols/default.o src/protocols/dns.o src/protocols/dwp.o src/protocols/ftp.o src/protocols/generic.o src/protocols/gps.o src/protocols/http.o src/protocols/imap.o src/protocols/ldap2.o src/protocols/ldap3.o src/protocols/lmtp.o src/protocols/memcache.o src/protocols/mongodb.o src/protocols/mysql.o src/protocols/nntp.o src/protocols/ntp3.o src/protocols/pgsql.o src/protocols/pop.o src/protocols/postfix_policy.o src/protocols/protocol.o src/protocols/radius.o src/protocols/rdate.o src/protocols/redis.o src/protocols/rsync.o src/protocols/sieve.o src/protocols/sip.o src/protocols/smtp.o src/protocols/ssh.o src/protocols/tns.o src/protocols/websocket.o src/ssl/Ssl.o src/terminal/Box.o src/terminal/Color.o libmonit/.libs/libmonit.a -lm -lcrypto -lssl -lpam -lz -lpthread -lcrypt -lresolv -lnsl
/usr/bin/pod2man --center 'User Commands' --release 5.20.0 --date='www.mmonit.com' --lax doc/monit.pod > monit.1
rm -f pod2*
make[5]: Leaving directory '/sonic/src/monit/monit'
make[4]: Leaving directory '/sonic/src/monit/monit'
make[3]: Leaving directory '/sonic/src/monit/monit'
dh_auto_test
dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use)
make -j1 check VERBOSE=1
make[3]: Entering directory '/sonic/src/monit/monit'
make check-recursive
make[4]: Entering directory '/sonic/src/monit/monit'
Making check in libmonit
make[5]: Entering directory '/sonic/src/monit/monit/libmonit'
Making check in .
make[6]: Entering directory '/sonic/src/monit/monit/libmonit'
make[6]: Nothing to be done for 'check-am'.
make[6]: Leaving directory '/sonic/src/monit/monit/libmonit'
Making check in test
make[6]: Entering directory '/sonic/src/monit/monit/libmonit/test'
make[6]: Nothing to be done for 'check'.
make[6]: Leaving directory '/sonic/src/monit/monit/libmonit/test'
make[5]: Leaving directory '/sonic/src/monit/monit/libmonit'
make[5]: Entering directory '/sonic/src/monit/monit'
make[5]: Nothing to be done for 'check-am'.
make[5]: Leaving directory '/sonic/src/monit/monit'
make[4]: Leaving directory '/sonic/src/monit/monit'
make[3]: Leaving directory '/sonic/src/monit/monit'
make[2]: Leaving directory '/sonic/src/monit/monit'
fakeroot debian/rules binary
make[2]: Entering directory '/sonic/src/monit/monit'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
dh binary --with autoreconf
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_testroot
dh_prep
dh_installdirs
dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_auto_install
dh_auto_install: warning: Compatibility levels before 10 are deprecated (level 9 in use)
make -j1 install DESTDIR=/sonic/src/monit/monit/debian/monit AM_UPDATE_INFO_DIR=no
make[3]: Entering directory '/sonic/src/monit/monit'
make install-recursive
make[4]: Entering directory '/sonic/src/monit/monit'
Making install in libmonit
make[5]: Entering directory '/sonic/src/monit/monit/libmonit'
Making install in .
make[6]: Entering directory '/sonic/src/monit/monit/libmonit'
make[7]: Entering directory '/sonic/src/monit/monit/libmonit'
make[7]: Nothing to be done for 'install-exec-am'.
make[7]: Nothing to be done for 'install-data-am'.
make[7]: Leaving directory '/sonic/src/monit/monit/libmonit'
make[6]: Leaving directory '/sonic/src/monit/monit/libmonit'
Making install in test
make[6]: Entering directory '/sonic/src/monit/monit/libmonit/test'
make[7]: Entering directory '/sonic/src/monit/monit/libmonit/test'
make[7]: Nothing to be done for 'install-exec-am'.
make[7]: Nothing to be done for 'install-data-am'.
make[7]: Leaving directory '/sonic/src/monit/monit/libmonit/test'
make[6]: Leaving directory '/sonic/src/monit/monit/libmonit/test'
make[5]: Leaving directory '/sonic/src/monit/monit/libmonit'
make[5]: Entering directory '/sonic/src/monit/monit'
make[6]: Entering directory '/sonic/src/monit/monit'
/bin/mkdir -p '/sonic/src/monit/monit/debian/monit/usr/bin'
/bin/bash ./libtool --mode=install /usr/bin/install -c monit '/sonic/src/monit/monit/debian/monit/usr/bin'
libtool: install: /usr/bin/install -c monit /sonic/src/monit/monit/debian/monit/usr/bin/monit
/bin/mkdir -p '/sonic/src/monit/monit/debian/monit/usr/share/man/man1'
/usr/bin/install -c -m 644 monit.1 '/sonic/src/monit/monit/debian/monit/usr/share/man/man1'
make[6]: Leaving directory '/sonic/src/monit/monit'
make[5]: Leaving directory '/sonic/src/monit/monit'
make[4]: Leaving directory '/sonic/src/monit/monit'
make[3]: Leaving directory '/sonic/src/monit/monit'
dh_install
dh_install: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installdocs
dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installchangelogs
dh_installchangelogs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installexamples
dh_installexamples: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installman
dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installinit
dh_installinit: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installlogrotate
dh_installpam
dh_bugfiles
dh_lintian
dh_lintian: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use)
debian/rules override_dh_fixperms
make[3]: Entering directory '/sonic/src/monit/monit'
dh_fixperms
chmod 600 debian/monit/etc/monit/monitrc
chmod 0700 debian/monit/var/lib/monit/events
make[3]: Leaving directory '/sonic/src/monit/monit'
dh_missing
dh_missing: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_strip
dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_makeshlibs
dh_makeshlibs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_shlibdeps
dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_installdeb
dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'monit-dbgsym' in '../monit-dbgsym_5.20.0-6_amd64.deb'.
dpkg-deb: building package 'monit' in '../monit_5.20.0-6_amd64.deb'.
make[2]: Leaving directory '/sonic/src/monit/monit'
dpkg-genbuildinfo --build=binary --admindir=/sonic/dpkg/tmp.OoxdTP9maY
dpkg-genchanges --build=binary >../monit_5.20.0-6_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
dpkg-source --after-build .
dpkg-source: info: unapplying 11_enable_hurd.patch
dpkg-source: info: unapplying 07_cross.patch
dpkg-source: info: unapplying 06_ssl.patch
dpkg-source: info: unapplying 05_monitrc.patch
dpkg-source: info: unapplying 01_spelling.patch
dpkg-buildpackage: info: binary-only upload (no source included)
/sonic/src/monit
make[1]: Leaving directory '/sonic/src/monit'
Build end time: Fri Jul 18 07:02:01 UTC 2025
Elapsed time: 0h 1m 36s
|