=> Building security/yersinia Started : Thursday, 20 FEB 2020 at 19:04:33 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- PKG_CONFIG=pkgconf XDG_DATA_HOME=/construction/security/yersinia XDG_CONFIG_HOME=/construction/security/yersinia HOME=/construction/security/yersinia TMPDIR="/tmp" PATH=/construction/security/yersinia/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/yersinia XDG_CONFIG_HOME=/construction/security/yersinia HOME=/construction/security/yersinia TMPDIR="/tmp" PATH=/construction/security/yersinia/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/security/yersinia/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/yersinia" EXAMPLESDIR="share/examples/yersinia" DATADIR="share/yersinia" WWWDIR="www/yersinia" ETCDIR="etc/yersinia" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/yersinia DOCSDIR=/usr/local/share/doc/yersinia EXAMPLESDIR=/usr/local/share/examples/yersinia WWWDIR=/usr/local/www/yersinia ETCDIR=/usr/local/etc/yersinia -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> yersinia-gtk-0.8.2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... done ===> yersinia-gtk-0.8.2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of yersinia-gtk-0.8.2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by yersinia-gtk-0.8.2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by yersinia-gtk-0.8.2 for building => SHA256 Checksum OK for tomac-yersinia-0.8.2-8c0d7c5_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by yersinia-gtk-0.8.2 for building ===> Extracting for yersinia-gtk-0.8.2 => SHA256 Checksum OK for tomac-yersinia-0.8.2-8c0d7c5_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for yersinia-gtk-0.8.2 ===> Applying ports patches for yersinia-gtk-0.8.2 ===> Applying dragonfly patches for yersinia-gtk-0.8.2 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> yersinia-gtk-0.8.2 depends on file: /usr/local/lib/libncurses.so.6 - not found ===> Installing existing package /packages/All/ncurses-6.1.20190525.txz Installing ncurses-6.1.20190525... Extracting ncurses-6.1.20190525: .......... done ===> yersinia-gtk-0.8.2 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of yersinia-gtk-0.8.2 ===> yersinia-gtk-0.8.2 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-1.6.3,1.txz Installing pkgconf-1.6.3,1... Extracting pkgconf-1.6.3,1: .......... done ===> yersinia-gtk-0.8.2 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of yersinia-gtk-0.8.2 ===> yersinia-gtk-0.8.2 depends on package: autoconf>=2.69 - not found ===> Installing existing package /packages/All/autoconf-2.69_3.txz Installing autoconf-2.69_3... `-- Installing autoconf-wrapper-20131203... `-- Extracting autoconf-wrapper-20131203: ........ done `-- Installing indexinfo-0.3.1... `-- Extracting indexinfo-0.3.1: . done `-- Installing m4-1.4.18_1,1... `-- Extracting m4-1.4.18_1,1: .......... done `-- Installing perl5-5.30.1... `-- Extracting perl5-5.30.1: .......... done Extracting autoconf-2.69_3: .......... done ===== Message from perl5-5.30.1: -- The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> yersinia-gtk-0.8.2 depends on package: autoconf>=2.69 - found ===> Returning to build of yersinia-gtk-0.8.2 ===> yersinia-gtk-0.8.2 depends on package: automake>=1.16.1 - not found ===> Installing existing package /packages/All/automake-1.16.1_2.txz Installing automake-1.16.1_2... Extracting automake-1.16.1_2: .......... done ===> yersinia-gtk-0.8.2 depends on package: automake>=1.16.1 - found ===> Returning to build of yersinia-gtk-0.8.2 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> yersinia-gtk-0.8.2 depends on shared library: libnet.so - not found ===> Installing existing package /packages/All/libnet-1.1.6_5,1.txz Installing libnet-1.1.6_5,1... Extracting libnet-1.1.6_5,1: .......... done ===> yersinia-gtk-0.8.2 depends on shared library: libnet.so - found (/usr/local/lib/libnet.so) ===> Returning to build of yersinia-gtk-0.8.2 ===> yersinia-gtk-0.8.2 depends on shared library: libfontconfig.so - not found ===> Installing existing package /packages/All/fontconfig-2.12.6,1.txz Installing fontconfig-2.12.6,1... `-- Installing expat-2.2.8... `-- Extracting expat-2.2.8: .......... done `-- Installing freetype2-2.10.1... `-- Extracting freetype2-2.10.1: .......... done Extracting fontconfig-2.12.6,1: .......... done Running fc-cache to build fontconfig cache... /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory fc-cache: succeeded ===== Message from freetype2-2.10.1: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed). ===> yersinia-gtk-0.8.2 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so) ===> Returning to build of yersinia-gtk-0.8.2 ===> yersinia-gtk-0.8.2 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) ===> yersinia-gtk-0.8.2 depends on shared library: libatk-1.0.so - not found ===> Installing existing package /packages/All/atk-2.28.1.txz Installing atk-2.28.1... `-- Installing gettext-runtime-0.20.1... `-- Extracting gettext-runtime-0.20.1: .......... done `-- Installing glib-2.56.3_7,1... | `-- Installing libffi-3.2.1_3... | `-- Extracting libffi-3.2.1_3: .......... done | `-- Installing libiconv-1.14_11... | `-- Extracting libiconv-1.14_11: .......... done | `-- Installing libxml2-2.9.10... | `-- Extracting libxml2-2.9.10: .......... done | `-- Installing pcre-8.43_2... | `-- Extracting pcre-8.43_2: .......... done | `-- Installing python37-3.7.6... | | `-- Installing openssl-1.1.1d,1... | | `-- Extracting openssl-1.1.1d,1: .......... done | | `-- Installing readline-8.0.1... | | `-- Extracting readline-8.0.1: .......... done | `-- Extracting python37-3.7.6: .......... done `-- Extracting glib-2.56.3_7,1: .......... done No schema files found: doing nothing. Extracting atk-2.28.1: .......... done ===== Message from python37-3.7.6: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py37-gdbm databases/py-gdbm@py37 py37-sqlite3 databases/py-sqlite3@py37 py37-tkinter x11-toolkits/py-tkinter@py37 ===> yersinia-gtk-0.8.2 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so) ===> Returning to build of yersinia-gtk-0.8.2 ===> yersinia-gtk-0.8.2 depends on shared library: libcairo.so - not found ===> Installing existing package /packages/All/cairo-1.16.0,2.txz Installing cairo-1.16.0,2... `-- Installing libX11-1.6.9,1... | `-- Installing libXau-1.0.9... | `-- Extracting libXau-1.0.9: .......... done | `-- Installing libXdmcp-1.1.3... | | `-- Installing xorgproto-2019.2... | | `-- Extracting xorgproto-2019.2: .......... done | `-- Extracting libXdmcp-1.1.3: ...... done | `-- Installing libxcb-1.13.1... | | `-- Installing libpthread-stubs-0.4... | | `-- Extracting libpthread-stubs-0.4: .... done | `-- Extracting libxcb-1.13.1: .......... done `-- Extracting libX11-1.6.9,1: .......... done `-- Installing libXext-1.3.4,1... `-- Extracting libXext-1.3.4,1: .......... done `-- Installing libXrender-0.9.10_2... `-- Extracting libXrender-0.9.10_2: ....... done `-- Installing mesa-libs-18.3.2_3... | `-- Installing libXdamage-1.1.5... | | `-- Installing libXfixes-5.0.3_2... | | `-- Extracting libXfixes-5.0.3_2: ....... done | `-- Extracting libXdamage-1.1.5: ...... done | `-- Installing libXrandr-1.5.2... | `-- Extracting libXrandr-1.5.2: .......... done | `-- Installing libXxf86vm-1.1.4_3... | `-- Extracting libXxf86vm-1.1.4_3: .......... done | `-- Installing libdrm-2.4.100... | | `-- Installing libpciaccess-0.16... | | `-- Installing pciids-20200125... | | `-- Extracting pciids-20200125: ..... done | | `-- Extracting libpciaccess-0.16: ...... done | `-- Extracting libdrm-2.4.100: .......... done | `-- Installing libelf-0.8.13_3... | `-- Extracting libelf-0.8.13_3: .......... done | `-- Installing libxshmfence-1.3... | `-- Extracting libxshmfence-1.3: ...... done | `-- Installing wayland-1.16.0... | `-- Extracting wayland-1.16.0: .......... done `-- Extracting mesa-libs-18.3.2_3: .......... done `-- Installing pixman-0.38.4... `-- Extracting pixman-0.38.4: ....... done `-- Installing png-1.6.37... `-- Extracting png-1.6.37: .......... done Extracting cairo-1.16.0,2: .......... done ===> yersinia-gtk-0.8.2 depends on shared library: libcairo.so - found (/usr/local/lib/libcairo.so) ===> Returning to build of yersinia-gtk-0.8.2 ===> yersinia-gtk-0.8.2 depends on shared library: libgdk_pixbuf-2.0.so - not found ===> Installing existing package /packages/All/gdk-pixbuf2-2.40.0.txz Installing gdk-pixbuf2-2.40.0... `-- Installing jpeg-turbo-2.0.4... `-- Extracting jpeg-turbo-2.0.4: .......... done `-- Installing shared-mime-info-1.10_2... `-- Extracting shared-mime-info-1.10_2: .......... done `-- Installing tiff-4.1.0... | `-- Installing jbigkit-2.1_1... | `-- Extracting jbigkit-2.1_1: .......... done `-- Extracting tiff-4.1.0: .......... done Extracting gdk-pixbuf2-2.40.0: .......... done ===> yersinia-gtk-0.8.2 depends on shared library: libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so) ===> Returning to build of yersinia-gtk-0.8.2 ===> yersinia-gtk-0.8.2 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> yersinia-gtk-0.8.2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> yersinia-gtk-0.8.2 depends on shared library: libgtk-x11-2.0.so - not found ===> Installing existing package /packages/All/gtk2-2.24.32.txz Installing gtk2-2.24.32... `-- Installing cups-2.2.12... | `-- Installing avahi-app-0.7_2... | | `-- Installing dbus-1.12.16... | | `-- Installing libICE-1.0.10,1... | | `-- Extracting libICE-1.0.10,1: .......... done | | `-- Installing libSM-1.2.3,1... | | `-- Extracting libSM-1.2.3,1: ........ done ===> Creating groups. Creating group 'messagebus' with gid '556'. ===> Creating users Creating user 'messagebus' with uid '556'. | | `-- Extracting dbus-1.12.16: ......... done | | `-- Installing dbus-glib-0.110... | | `-- Extracting dbus-glib-0.110: .......... done | | `-- Installing gdbm-1.18.1_1... | | `-- Extracting gdbm-1.18.1_1: .......... done | | `-- Installing gnome_subr-1.0... | | `-- Extracting gnome_subr-1.0: . done | | `-- Installing gobject-introspection-1.56.1,1... | | `-- Extracting gobject-introspection-1.56.1,1: .......... done | | `-- Installing libdaemon-0.14_1... | | `-- Extracting libdaemon-0.14_1: .......... done ===> Creating groups. Creating group 'avahi' with gid '558'. ===> Creating users Creating user 'avahi' with uid '558'. | `-- Extracting avahi-app-0.7_2: .......... done | `-- Installing gnutls-3.6.12... | | `-- Installing ca_root_nss-3.50... | | `-- Extracting ca_root_nss-3.50: ..... done | | `-- Installing gmp-6.1.2_1... | | `-- Extracting gmp-6.1.2_1: .......... done | | `-- Installing libidn2-2.3.0_1... | | `-- Installing libunistring-0.9.10_1... | | `-- Extracting libunistring-0.9.10_1: .......... done | | `-- Extracting libidn2-2.3.0_1: .......... done | | `-- Installing libtasn1-4.15.0... | | `-- Extracting libtasn1-4.15.0: .......... done | | `-- Installing nettle-3.5.1_1... | | `-- Extracting nettle-3.5.1_1: .......... done | | `-- Installing p11-kit-0.23.18.1... | | `-- Extracting p11-kit-0.23.18.1: .......... done | | `-- Installing trousers-0.3.14_2... | | `-- Installing tpm-emulator-0.7.4_2... ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. | | `-- Extracting tpm-emulator-0.7.4_2: ........ done ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. | | `-- Extracting trousers-0.3.14_2: .......... done | `-- Extracting gnutls-3.6.12: .......... done | `-- Installing libpaper-1.1.24.4... | `-- Extracting libpaper-1.1.24.4: .......... done ===> Creating groups. Creating group 'cups' with gid '193'. ===> Creating users Creating user 'cups' with uid '193'. `-- Extracting cups-2.2.12: .......... done `-- Installing gtk-update-icon-cache-2.24.32... | `-- Installing hicolor-icon-theme-0.17... | `-- Extracting hicolor-icon-theme-0.17: . done | `-- Installing libXcomposite-0.4.5,1... | `-- Extracting libXcomposite-0.4.5,1: .......... done | `-- Installing libXcursor-1.2.0... | `-- Extracting libXcursor-1.2.0: .......... done | `-- Installing libXi-1.7.10,1... | `-- Extracting libXi-1.7.10,1: .......... done | `-- Installing libXinerama-1.1.4_2,1... | `-- Extracting libXinerama-1.1.4_2,1: .......... done | `-- Installing pango-1.42.4_3... | | `-- Installing encodings-1.0.5,1... | | `-- Extracting encodings-1.0.5,1: .......... done | | `-- Installing fribidi-0.19.7... | | `-- Extracting fribidi-0.19.7: .......... done | | `-- Installing harfbuzz-2.6.4... | | `-- Installing graphite2-1.3.13_1... | | `-- Extracting graphite2-1.3.13_1: .......... done | | `-- Extracting harfbuzz-2.6.4: .......... done | | `-- Installing libXft-2.3.3... | | `-- Extracting libXft-2.3.3: ......... done | | `-- Installing xorg-fonts-truetype-7.7_1... | | `-- Installing dejavu-2.37_1... | | | `-- Installing mkfontscale-1.2.1... | | | `-- Installing libfontenc-1.1.4... | | | `-- Extracting libfontenc-1.1.4: ...... done | | | `-- Extracting mkfontscale-1.2.1: .... done | | `-- Extracting dejavu-2.37_1: .......... done | | `-- Installing font-bh-ttf-1.0.3_4... | | `-- Extracting font-bh-ttf-1.0.3_4: .......... done | | `-- Installing font-misc-ethiopic-1.0.3_4... | | `-- Extracting font-misc-ethiopic-1.0.3_4: ... done | | `-- Installing font-misc-meltho-1.0.3_4... | | `-- Extracting font-misc-meltho-1.0.3_4: .......... done | `-- Extracting pango-1.42.4_3: .......... done `-- Extracting gtk-update-icon-cache-2.24.32: . done Extracting gtk2-2.24.32: .......... done ===== Message from ca_root_nss-3.50: -- FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem ===== Message from trousers-0.3.14_2: -- To run tcsd automatically, add the following line to /etc/rc.conf: tcsd_enable="YES" You might want to edit /usr/local/etc/tcsd.conf to reflect your setup. If you want to use tcsd with software TPM emulator, use the following configuration in /etc/rc.conf: tcsd_enable="YES" tcsd_mode="emulator" tpmd_enable="YES" To use TPM, add your_account to '_tss' group like following: # pw groupmod _tss -m your_account ===== Message from dejavu-2.37_1: -- Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/share/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. ===> yersinia-gtk-0.8.2 depends on shared library: libgtk-x11-2.0.so - found (/usr/local/lib/libgtk-x11-2.0.so) ===> Returning to build of yersinia-gtk-0.8.2 ===> yersinia-gtk-0.8.2 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for yersinia-gtk-0.8.2 configure.ac:15: installing './compile' configure.ac:11: installing './config.guess' configure.ac:11: installing './config.sub' configure.ac:13: installing './install-sh' configure.ac:13: installing './missing' configure: loading site script /xports/Templates/config.site checking build system type... x86_64-portbld-dragonfly5.7 checking host system type... x86_64-portbld-dragonfly5.7 checking target system type... x86_64-portbld-dragonfly5.7 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of cc... none checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for makedepend... no checking if unaligned accesses fail... no checking for main in -lsocket... no checking for main in -lresolv... no checking for main in -lnsl... no checking for main in -lrt... yes checking for a complete set of pcap headers... found /usr/include checking for pcap_lib_version in -lpcap... yes checking for pcap_dump_flush in -lpcap... yes checking for BPF device sending support... yes checking for a complete set of libnet headers... found /usr/local/include checking for libnet_build_stp_conf in -lnet... yes checking if libnet is at least version 1.1.2... yes checking for sys/sockio.h... yes checking for sys/ioctl.h... (cached) yes checking for net/if.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking for sys/time.h... (cached) yes checking for sys/param.h... (cached) yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking for inttypes.h... (cached) yes checking netinet/in_system.h usability... no checking netinet/in_system.h presence... no checking for netinet/in_system.h... no checking for sys/wait.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether byte ordering is bigendian... no checking if struct sockaddr has sa_len field... yes checking for memcpy... (cached) yes checking for memset... (cached) yes checking for pthread_setconcurrency... yes checking for strerror... (cached) yes checking for strtok_r... yes checking for rand_r... yes checking for calloc_r... no checking for malloc_r... no checking for free_r... no checking for ctime_r... yes checking for nanosleep... yes checking for strerror_r... (cached) yes checking if strerror_r is on glibc version >= 2.0... no checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking for sched.h... (cached) yes checking sys/sched.h usability... yes checking sys/sched.h presence... yes checking for sys/sched.h... yes checking for pthread.h... (cached) yes checking for pthread_create in -lpthread... yes checking for pthreads support... ok configure: checking "location of ncurses.h file"... Found ncurses on /usr/local/include/ncurses/ncurses.h checking for ncurses version... unknown checking panel.h usability... no checking panel.h presence... no checking for panel.h... no checking for use_default_colors in -lncurses... yes checking for resize_term in -lncurses... yes checking for wresize in -lncurses... yes checking pkg-config is at least version 0.9.0... yes checking for PACKAGE... yes checking for locale.h... (cached) yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking libintl.h usability... yes checking libintl.h presence... no configure: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: libintl.h: proceeding with the compiler's result checking for libintl.h... yes checking for ngettext in libc... no checking for bindtextdomain in -lintl... yes checking for ngettext in -lintl... yes checking for dgettext in -lintl... yes checking for bind_textdomain_codeset... yes checking for msgfmt... no ./configure: cannot open ./po/POTFILES.in: No such file or directory checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing default-1 commands Yersinia, our beloved one, has been configured with the following options. Remote admin : true Use ncurses : true Use gtk : yes -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for yersinia-gtk-0.8.2 --- all-recursive --- Making all in src --- all --- /usr/bin/make all-am --- xstp.o --- --- parser.o --- --- dtp.o --- --- cdp.o --- --- dhcp.o --- --- hsrp.o --- --- dot1q.o --- --- vtp.o --- --- arp.o --- --- isl.o --- --- dot1x.o --- --- mpls.o --- --- thread-util.o --- --- terminal.o --- --- interfaces.o --- --- xstp.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o xstp.o xstp.c --- parser.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o parser.o parser.c --- dtp.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o dtp.o dtp.c --- cdp.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o cdp.o cdp.c --- dhcp.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o dhcp.o dhcp.c --- hsrp.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o hsrp.o hsrp.c --- dot1q.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o dot1q.o dot1q.c --- arp.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o arp.o arp.c --- isl.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o isl.o isl.c --- dot1x.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o dot1x.o dot1x.c --- mpls.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o mpls.o mpls.c --- thread-util.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o thread-util.o thread-util.c --- terminal.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o terminal.o terminal.c --- interfaces.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o interfaces.o interfaces.c --- thread-util.o --- thread-util.c: In function 'thread_destroy': thread-util.c:128:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n thread_destroy %X destroying %X...\n",(int)pthread_self(), (int)thread->id); ^ thread-util.c:128:80: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n thread_destroy %X destroying %X...\n",(int)pthread_self(), (int)thread->id); ^ thread-util.c:146:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," thread_destroy %X after PTHREAD_JOIN %X...\n", (int)pthread_self(), (int)thread->id ); ^ thread-util.c:146:87: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," thread_destroy %X after PTHREAD_JOIN %X...\n", (int)pthread_self(), (int)thread->id ); ^ thread-util.c: In function 'thread_error': thread-util.c:368:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0, "%s: (%d) %s -> %s\n", PACKAGE, (int)pthread_self(), msg, ^ thread-util.c: In function 'thread_libnet_error': thread-util.c:383:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0, "%s: (%d) %s -> %s\n", PACKAGE, (int)pthread_self(), msg, ^ --- vtp.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o vtp.o vtp.c --- hsrp.o --- hsrp.c: In function 'hsrp_send_hellos': hsrp.c:286:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n hsrp_helper: %X started...\n",(int)pthread_self()); ^ hsrp.c:307:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," hsrp_helper: %X finished...\n",(int)pthread_self()); ^ --- parser.o --- parser.c: In function 'parser_vrfy_ip2filter': parser.c:1280:15: warning: comparison between pointer and zero character constant [-Wpointer-compare] if ((aux=='\0') || (strlen(aux)>2)) ^~ parser.c:1280:12: note: did you mean to dereference the pointer? if ((aux=='\0') || (strlen(aux)>2)) ^ --- isl.o --- isl.c: In function 'isl_get_printable_store': isl.c:256:50: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(field_values[ISL_IP_PROTO], 3, "%02d",isl_tmp->ip_proto); ^ isl.c:256:5: note: 'snprintf' output between 3 and 4 bytes into a destination of size 3 snprintf(field_values[ISL_IP_PROTO], 3, "%02d",isl_tmp->ip_proto); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- attack.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o attack.o attack.c --- hsrp.o --- hsrp.c: In function 'hsrp_update_field': hsrp.c:830:16: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy( hsrp_data->authdata, value, (len > (HSRP_AUTHDATA_LENGTH-1)) ? (HSRP_AUTHDATA_LENGTH - 1) : len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hsrp.c:829:22: note: length computed here len = strlen(value); ^~~~~~~~~~~~~ --- yersinia.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o yersinia.o yersinia.c --- interfaces.o --- interfaces.c: In function 'interfaces_th_pcap_listen': interfaces.c:696:69: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n interfaces_th_pcap_listen thread_id = %X\n",(int)pthread_self()); ^ interfaces.c: In function 'interfaces_destroy': interfaces.c:1162:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," ints_destroy killing pcap_listener(%d)...\n", (int)pcap_th->id); ^ --- xstp.o --- xstp.c: In function 'xstp_send_hellos': xstp.c:426:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0, "\n helper: %X started...\n", (int)pthread_self()); ^ xstp.c:463:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," helper: %X finished...\n",(int)pthread_self()); ^ xstp.c: In function 'xstp_send_hellos_mitm': xstp.c:730:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n helper: %X started...\n",(int)pthread_self()); ^ xstp.c:769:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," helper: %d finished...\n",(int)pthread_self()); ^ --- dtp.o --- dtp.c: In function 'dtp_send_negotiate': dtp.c:340:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n dtp_helper: %X init...\n",(int)pthread_self()); ^ dtp.c:361:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," dtp_helper: %X finished...\n",(int)pthread_self()); ^ --- attack.o --- attack.c: In function 'attack_launch': attack.c:131:77: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0, " attack_launch: %X Attack thread %X is born!!\n", (int)pthread_self(), (u_long) node->protocol[proto].attacks[i].attack_th.id); ^ attack.c: In function 'attack_th_exit': attack.c:203:74: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," attack_th_exit: %X thread_destroy helper %X...\n", (int)pthread_self(), (int)attacks->helper_th.id); ^ attack.c:203:95: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," attack_th_exit: %X thread_destroy helper %X...\n", (int)pthread_self(), (int)attacks->helper_th.id); ^ attack.c:227:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0, " attack_th_exit: %X finished\n", (int) pthread_self()); ^ --- isl.o --- isl.c: In function 'isl_get_printable_packet': isl.c:172:46: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(field_values[ISL_TYPE], 2, "%01X", (*(u_int8_t *)(data->packet+5) & 0xF0)); ^ isl.c:172:5: note: 'snprintf' output between 2 and 3 bytes into a destination of size 2 snprintf(field_values[ISL_TYPE], 2, "%01X", (*(u_int8_t *)(data->packet+5) & 0xF0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- md5.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o md5.o md5.c --- cdp.o --- cdp.c: In function 'cdp_send_hellos': cdp.c:404:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n cdp_helper: %X started...\n",(int)pthread_self()); ^ cdp.c:431:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," cdp_helper: %X finished...\n",(int)pthread_self()); ^ --- md5-sum.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o md5-sum.o md5-sum.c --- mpls.o --- mpls.c: In function 'mpls_get_printable_store': mpls.c:742:46: warning: '%01d' directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=] snprintf(field_values[MPLS_BOTTOM1], 2, "%01d",mpls_tmp->bottom1); ^~~~ mpls.c:742:45: note: directive argument in the range [0, 255] snprintf(field_values[MPLS_BOTTOM1], 2, "%01d",mpls_tmp->bottom1); ^~~~~~ mpls.c:742:5: note: 'snprintf' output between 2 and 4 bytes into a destination of size 2 snprintf(field_values[MPLS_BOTTOM1], 2, "%01d",mpls_tmp->bottom1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpls.c:746:46: warning: '%01d' directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=] snprintf(field_values[MPLS_BOTTOM2], 2, "%01d",mpls_tmp->bottom2); ^~~~ mpls.c:746:45: note: directive argument in the range [0, 255] snprintf(field_values[MPLS_BOTTOM2], 2, "%01d",mpls_tmp->bottom2); ^~~~~~ mpls.c:746:5: note: 'snprintf' output between 2 and 4 bytes into a destination of size 2 snprintf(field_values[MPLS_BOTTOM2], 2, "%01d",mpls_tmp->bottom2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- dot1q.o --- dot1q.c: In function 'dot1q_get_printable_store': dot1q.c:1273:49: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(field_values[DOT1Q_VLAN1], 5, "%04d", dot1q_tmp->vlan1); ^ dot1q.c:1273:5: note: 'snprintf' output between 5 and 6 bytes into a destination of size 5 snprintf(field_values[DOT1Q_VLAN1], 5, "%04d", dot1q_tmp->vlan1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dot1q.c:1281:49: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(field_values[DOT1Q_VLAN2], 5, "%04d", dot1q_tmp->vlan2); ^ dot1q.c:1281:5: note: 'snprintf' output between 5 and 6 bytes into a destination of size 5 snprintf(field_values[DOT1Q_VLAN2], 5, "%04d", dot1q_tmp->vlan2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dot1q.c:1296:52: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(field_values[DOT1Q_IP_PROTO], 3, "%02d",dot1q_tmp->ip_proto); ^ dot1q.c:1296:5: note: 'snprintf' output between 3 and 4 bytes into a destination of size 3 snprintf(field_values[DOT1Q_IP_PROTO], 3, "%02d",dot1q_tmp->ip_proto); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- protocols.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o protocols.o protocols.c --- dlist.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o dlist.o dlist.c --- ncurses-gui.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o ncurses-gui.o ncurses-gui.c --- vtp.o --- vtp.c: In function 'vtp_update_field': vtp.c:1544:12: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *)vtp_data->timestamp, value, (len > VTP_TIMESTAMP_SIZE) ? VTP_TIMESTAMP_SIZE : len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vtp.c:1543:18: note: length computed here len = strlen(value); ^~~~~~~~~~~~~ vtp.c:1522:12: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(vtp_data->domain, value, (len > VTP_DOMAIN_SIZE) ? VTP_DOMAIN_SIZE : len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vtp.c:1521:18: note: length computed here len = strlen(value); ^~~~~~~~~~~~~ --- ncurses-callbacks.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o ncurses-callbacks.o ncurses-callbacks.c --- dot1q.o --- dot1q.c: In function 'dot1q_get_printable_packet': dot1q.c:997:44: warning: '%02X' directive output may be truncated writing between 2 and 4 bytes into a region of size 3 [-Wformat-truncation=] snprintf(field_values[DOT1Q_CFI1], 3, "%02X", (ntohs(*cursor) & 0x1000)); ^~~~ dot1q.c:997:43: note: directive argument in the range [0, 4096] snprintf(field_values[DOT1Q_CFI1], 3, "%02X", (ntohs(*cursor) & 0x1000)); ^~~~~~ dot1q.c:997:5: note: 'snprintf' output between 3 and 5 bytes into a destination of size 3 snprintf(field_values[DOT1Q_CFI1], 3, "%02X", (ntohs(*cursor) & 0x1000)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dot1q.c:1021:53: warning: '%02X' directive output may be truncated writing between 2 and 4 bytes into a region of size 3 [-Wformat-truncation=] snprintf(field_values[DOT1Q_CFI2], 3, "%02X",(ntohs(*cursor) & 0x1000)); ^~~~ dot1q.c:1021:52: note: directive argument in the range [0, 4096] snprintf(field_values[DOT1Q_CFI2], 3, "%02X",(ntohs(*cursor) & 0x1000)); ^~~~~~ dot1q.c:1021:13: note: 'snprintf' output between 3 and 5 bytes into a destination of size 3 snprintf(field_values[DOT1Q_CFI2], 3, "%02X",(ntohs(*cursor) & 0x1000)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dot1q.c:1233:52: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(field_values[DOT1Q_IP_PROTO], 3, "%02d",ipv4_hdr->ip_p); ^ dot1q.c:1233:5: note: 'snprintf' output between 3 and 4 bytes into a destination of size 3 snprintf(field_values[DOT1Q_IP_PROTO], 3, "%02d",ipv4_hdr->ip_p); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ncurses-interface.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o ncurses-interface.o ncurses-interface.c --- gtk-gui.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o gtk-gui.o gtk-gui.c --- dhcp.o --- dhcp.c: In function 'dhcp_get_printable_packet': dhcp.c:1396:21: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy( buf_ptr, protocols[PROTO_DHCP].extra_parameters[k].ldesc, desc_len ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dhcp.c:1395:32: note: length computed here desc_len = strlen(protocols[PROTO_DHCP].extra_parameters[k].ldesc); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- gtk-support.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o gtk-support.o gtk-support.c --- dhcp.o --- dhcp.c: In function 'dhcp_get_printable_store': dhcp.c:1758:16: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(buf_ptr, dhcp_type_desc[k].desc, strlen((char *)dhcp_type_desc[k].desc)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- interfaces.o --- interfaces.c: In function 'interfaces_update_stats': interfaces.c:958:9: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] strncpy(thedata[j].iface, packet_data->iface, IFNAMSIZ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- cdp.o --- cdp.c: In function 'cdp_get_printable_store': cdp.c:973:17: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(buf_ptr, protocols[PROTO_CDP].extra_parameters[i].ldesc, strlen((char *)protocols[PROTO_CDP].extra_parameters[i].ldesc)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- yersinia.o --- yersinia.c: In function 'th_tty_peer': yersinia.c:312:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0, "\n th_tty_peer thread = %X...\n",(int)pthread_self()); ^ yersinia.c: In function 'th_tty_peer_exit': yersinia.c:445:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n th_tty_peer %d finished...\n",(int)pthread_self()); ^ yersinia.c: In function 'th_uptime': yersinia.c:543:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n th_uptime thread = %X\n",(int)pthread_self()); ^ yersinia.c: In function 'g00dbye': yersinia.c:762:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," g00dbye function called from %X\n",(int)pthread_self()); ^ yersinia.c: In function 'final': yersinia.c:961:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(1,"\nTERM signal received from %d!\n", (int)pthread_self()); ^ --- gtk-interface.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o gtk-interface.o gtk-interface.c --- terminal.o --- terminal.c: In function 'term_vty_do_command': terminal.c:804:25: warning: 'strncpy' output may be truncated copying 48 bytes from a string of length 48 [-Wstringop-truncation] case LOGIN_STATE: strncpy(node->username,vty->buf_command, sizeof(node->username) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- cdp.o --- cdp.c: In function 'cdp_get_printable_packet': cdp.c:814:16: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(buf_ptr, cdp_type_desc[k].desc, strlen((char *)cdp_type_desc[k].desc)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ncurses-callbacks.o --- ncurses-callbacks.c: In function 'ncurses_c_edit_bwindow': ncurses-callbacks.c:858:25: warning: variable 'row' set but not used [-Wunused-but-set-variable] u_int32_t y, x, col, row, offset, initial, start; ^~~ ncurses-callbacks.c: In function 'ncurses_c_set_status_line': ncurses-callbacks.c:1024:19: warning: variable 'col' set but not used [-Wunused-but-set-variable] u_int8_t row, col, size; ^~~ --- ncurses-gui.o --- ncurses-gui.c: In function 'ncurses_gui': ncurses-gui.c:114:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n ncurses_gui_th = %d\n",(int)pthread_self()); ^ --- gtk-callbacks.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o gtk-callbacks.o gtk-callbacks.c --- admin.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o admin.o admin.c --- commands.o --- cc `/usr/local/bin/libnet-config --defines` -DHAVE_CONFIG_H -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -I. -I/usr/local/include/ncurses -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -c -o commands.o commands.c --- gtk-gui.o --- gtk-gui.c: In function 'gtk_gui': gtk-gui.c:88:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n gtk_gui_th = %X\n",(int)pthread_self()); ^ --- ncurses-interface.o --- ncurses-interface.c: In function 'ncurses_i_popup_window': ncurses-interface.c:1353:58: warning: variable 'col' set but not used [-Wunused-but-set-variable] int32_t i, j, pointer, end, result, key_pressed, row, col; ^~~ --- interfaces.o --- interfaces.c: In function 'interfaces_th_pcap_listen': interfaces.c:763:25: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] strncpy(packet_data.iface, iface_data->ifname, IFNAMSIZ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interfaces.c:799:28: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] strncpy(queue[proto].data[(queue[proto].index%MAX_QUEUE)].iface, packet_data.iface, IFNAMSIZ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- admin.o --- admin.c: In function 'admin_th_listen': admin.c:123:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0,"\n admin_th_network_listen es %X\n",(int)pthread_self()); ^ admin.c:235:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ( pthread_create( &tid, NULL, &admin_th_network_peer, (void *)sock2 ) < 0) ^ admin.c: In function 'admin_th_network_peer': admin.c:333:47: warning: passing argument 3 of 'term_add_node' makes integer from pointer without a cast [-Wint-conversion] fail = term_add_node(&term_node, TERM_VTY, sock, pthread_self()); ^~~~ In file included from admin.c:94: admin.h:51:58: note: expected 'int32_t' {aka 'int'} but argument is of type 'void *' extern int8_t term_add_node(struct term_node **, int8_t, int32_t, pthread_t); ^~~~~~~ admin.c:339:45: warning: passing argument 2 of 'admin_th_network_peer_exit' makes integer from pointer without a cast [-Wint-conversion] admin_th_network_peer_exit(term_node, sock); ^~~~ In file included from admin.c:94: admin.h:37:55: note: expected 'int' but argument is of type 'void *' void admin_th_network_peer_exit(struct term_node *, int); ^~~ admin.c:349:45: warning: passing argument 2 of 'admin_th_network_peer_exit' makes integer from pointer without a cast [-Wint-conversion] admin_th_network_peer_exit(term_node, sock); ^~~~ In file included from admin.c:94: admin.h:37:55: note: expected 'int' but argument is of type 'void *' void admin_th_network_peer_exit(struct term_node *, int); ^~~ admin.c:380:45: warning: passing argument 2 of 'admin_th_network_peer_exit' makes integer from pointer without a cast [-Wint-conversion] admin_th_network_peer_exit(term_node, sock); ^~~~ In file included from admin.c:94: admin.h:37:55: note: expected 'int' but argument is of type 'void *' void admin_th_network_peer_exit(struct term_node *, int); ^~~ admin.c:387:46: warning: passing argument 2 of 'admin_th_network_peer_exit' makes integer from pointer without a cast [-Wint-conversion] admin_th_network_peer_exit(term_node, sock); ^~~~ In file included from admin.c:94: admin.h:37:55: note: expected 'int' but argument is of type 'void *' void admin_th_network_peer_exit(struct term_node *, int); ^~~ admin.c:440:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)term_node->thread.id); ^ admin.c: In function 'admin_th_network_peer_exit': admin.c:945:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] write_log(0," admin_peer_th %X finished...\n",(int)pthread_self()); ^ --- gtk-callbacks.o --- gtk-callbacks.c: In function 'gtk_c_update_hexview': gtk-callbacks.c:640:44: warning: '%s' directive output may be truncated writing up to 300 bytes into a region of size 20 [-Wformat-truncation=] snprintf(tmp_str, 70, "0x%04x: %-*s %s\n", ^~ gtk-callbacks.c:642:23: hexstuff, asciistuff); ~~~~~~~~~~ gtk-callbacks.c:640:7: note: 'snprintf' output between 52 and 352 bytes into a destination of size 70 snprintf(tmp_str, 70, "0x%04x: %-*s %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oset, HEXDUMP_HEXSTUFF_PER_LINE, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hexstuff, asciistuff); ~~~~~~~~~~~~~~~~~~~~~ gtk-callbacks.c:613:47: warning: '%s' directive output may be truncated writing up to 300 bytes into a region of size 20 [-Wformat-truncation=] snprintf(tmp_str, 70, "0x%04x: %-*s %s\n", ^~ gtk-callbacks.c:615:26: hexstuff, asciistuff); ~~~~~~~~~~ gtk-callbacks.c:613:10: note: 'snprintf' output between 52 and 352 bytes into a destination of size 70 snprintf(tmp_str, 70, "0x%04x: %-*s %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oset, HEXDUMP_HEXSTUFF_PER_LINE, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hexstuff, asciistuff); ~~~~~~~~~~~~~~~~~~~~~ gtk-callbacks.c: In function 'gtk_c_on_menu_options_edit_toggle': gtk-callbacks.c:718:54: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(tmp_name, 5, "%02d%02d", i, j); ^ gtk-callbacks.c:718:23: note: 'snprintf' output between 5 and 6 bytes into a destination of size 5 snprintf(tmp_name, 5, "%02d%02d", i, j); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk-callbacks.c:692:54: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(tmp_name, 5, "%02d%02d", i, j); ^ gtk-callbacks.c:692:23: note: 'snprintf' output between 5 and 6 bytes into a destination of size 5 snprintf(tmp_name, 5, "%02d%02d", i, j); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk-callbacks.c: In function 'gtk_c_tree_update': gtk-callbacks.c:780:32: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf( tmp, 3, "%d", j ); ^ gtk-callbacks.c:780:11: note: 'snprintf' output between 2 and 4 bytes into a destination of size 3 snprintf( tmp, 3, "%d", j ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk-callbacks.c:793:26: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf( tmp, 3, "%d", j ); ^ gtk-callbacks.c:793:5: note: 'snprintf' output between 2 and 4 bytes into a destination of size 3 snprintf( tmp, 3, "%d", j ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gtk-callbacks.c: In function 'gtk_c_refresh_mwindow': gtk-callbacks.c:966:40: warning: '%02d' directive output may be truncated writing between 2 and 3 bytes into a region of size between 2 and 3 [-Wformat-truncation=] snprintf(tmp_name, 5, "%02d%02d", helper->mode, i); ^~~~ gtk-callbacks.c:966:35: note: directive argument in the range [0, 255] snprintf(tmp_name, 5, "%02d%02d", helper->mode, i); ^~~~~~~~~~ gtk-callbacks.c:966:13: note: 'snprintf' output between 5 and 7 bytes into a destination of size 5 snprintf(tmp_name, 5, "%02d%02d", helper->mode, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- gtk-interface.o --- gtk-interface.c: In function 'create_protocol_mwindow': gtk-interface.c:1723:37: warning: '%02d' directive output may be truncated writing between 2 and 3 bytes into a region of size between 2 and 3 [-Wformat-truncation=] snprintf(tmp_name, 5, "%02d%02d", proto, i); ^~~~ gtk-interface.c:1723:32: note: directive argument in the range [0, 255] snprintf(tmp_name, 5, "%02d%02d", proto, i); ^~~~~~~~~~ gtk-interface.c:1723:10: note: 'snprintf' output between 5 and 7 bytes into a destination of size 5 snprintf(tmp_name, 5, "%02d%02d", proto, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ncurses-interface.o --- ncurses-interface.c: In function 'ncurses_i_add_selected_tlv_type': ncurses-interface.c:1627:7: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(attack_param->desc, protocols[mode].extra_parameters[pointer].ldesc, strlen(protocols[mode].extra_parameters[pointer].ldesc)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- commands.o --- commands.c: In function 'command_show_proto_params': commands.c:1455:42: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 125 [-Wformat-truncation=] snprintf(msg,sizeof(msg)," %s", new_msg); ^~ ~~~~~~~ commands.c:1455:13: note: 'snprintf' output between 4 and 131 bytes into a destination of size 128 snprintf(msg,sizeof(msg)," %s", new_msg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:1364:42: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 125 [-Wformat-truncation=] snprintf(msg,sizeof(msg)," %s",new_msg); ^~ ~~~~~~~ commands.c:1364:13: note: 'snprintf' output between 4 and 131 bytes into a destination of size 128 snprintf(msg,sizeof(msg)," %s",new_msg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:1431:42: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 125 [-Wformat-truncation=] snprintf(msg,sizeof(msg)," %s", new_msg); ^~ ~~~~~~~ commands.c:1431:13: note: 'snprintf' output between 4 and 131 bytes into a destination of size 128 snprintf(msg,sizeof(msg)," %s", new_msg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:1443:42: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 125 [-Wformat-truncation=] snprintf(msg,sizeof(msg)," %s", new_msg); ^~ ~~~~~~~ commands.c:1443:13: note: 'snprintf' output between 4 and 131 bytes into a destination of size 128 snprintf(msg,sizeof(msg)," %s", new_msg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:1466:42: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 125 [-Wformat-truncation=] snprintf(msg,sizeof(msg)," %s", new_msg); ^~ ~~~~~~~ commands.c:1466:13: note: 'snprintf' output between 4 and 131 bytes into a destination of size 128 snprintf(msg,sizeof(msg)," %s", new_msg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:1419:42: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 125 [-Wformat-truncation=] snprintf(msg,sizeof(msg)," %s", new_msg); ^~ ~~~~~~~ commands.c:1419:13: note: 'snprintf' output between 4 and 131 bytes into a destination of size 128 snprintf(msg,sizeof(msg)," %s", new_msg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c:1406:42: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 125 [-Wformat-truncation=] snprintf(msg,sizeof(msg)," %s", new_msg); ^~ ~~~~~~~ commands.c:1406:13: note: 'snprintf' output between 4 and 131 bytes into a destination of size 128 snprintf(msg,sizeof(msg)," %s", new_msg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- yersinia --- cc -O3 -Wall -g -D_DEFAULT_SOURCE -I/usr/local/include -L/usr/local/lib -Wl,-rpath=/usr/local/lib -o yersinia xstp.o parser.o dtp.o cdp.o dhcp.o hsrp.o dot1q.o vtp.o arp.o isl.o dot1x.o mpls.o thread-util.o terminal.o interfaces.o attack.o yersinia.o md5.o md5-sum.o protocols.o dlist.o ncurses-gui.o ncurses-callbacks.o ncurses-interface.o gtk-gui.o gtk-support.o gtk-interface.o gtk-callbacks.o admin.o commands.o -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype -lintl -lpthread -lrt -L/usr/local/lib -lpcap -lnet -lpanel -L/usr/local/lib -L/usr/local/lib/ncurses -lncurses -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> yersinia-gtk-0.8.2 depends on file: /usr/local/lib/libncurses.so.6 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for yersinia-gtk-0.8.2 ===> Generating temporary packing list install -s -m 555 /construction/security/yersinia/yersinia-8c0d7c5/src/yersinia /construction/security/yersinia/stage/usr/local/sbin/ install -m 444 /construction/security/yersinia/yersinia-8c0d7c5/yersinia.8 /construction/security/yersinia/stage/usr/local/man/man8/ ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for yersinia-gtk-0.8.2 file sizes/checksums [2]: . done packing files [2]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 20 FEB 2020 at 19:06:22 UTC Duration: 00:01:48