packit →
1.0-4 →
armhf → 2016-11-27 12:22:21
sbuild (Debian sbuild) 0.71.0 (24 Aug 2016) on testwandboard
+==============================================================================+
| packit 1.0-4 (armhf) Sun, 27 Nov 2016 12:16:40 +0000 |
+==============================================================================+
Package: packit
Version: 1.0-4
Source Version: 1.0-4
Distribution: stretch-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf
I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/stretch-staging-armhf-sbuild-510cd36c-6277-47f7-825a-a2e2b90934db' with '<<CHROOT>>'
+------------------------------------------------------------------------------+
| Update chroot |
+------------------------------------------------------------------------------+
Get:1 http://172.17.0.1/private stretch-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private stretch-staging/main Sources [9531 kB]
Get:3 http://172.17.0.1/private stretch-staging/main armhf Packages [11.4 MB]
Fetched 21.0 MB in 25s (838 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
+------------------------------------------------------------------------------+
| Fetch source files |
+------------------------------------------------------------------------------+
Check APT
---------
Checking available source versions...
Download source files with APT
------------------------------
Reading package lists...
NOTICE: 'packit' packaging is maintained in the 'Git' version control system at:
https://anonscm.debian.org/git/collab-maint/packit.git
Please use:
git clone https://anonscm.debian.org/git/collab-maint/packit.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 150 kB of source archives.
Get:1 http://172.17.0.1/private stretch-staging/main packit 1.0-4 (dsc) [1922 B]
Get:2 http://172.17.0.1/private stretch-staging/main packit 1.0-4 (tar) [138 kB]
Get:3 http://172.17.0.1/private stretch-staging/main packit 1.0-4 (diff) [9864 B]
Fetched 150 kB in 0s (768 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/packit-ekmvgQ/packit-1.0' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/packit-ekmvgQ' with '<<BUILDDIR>>'
+------------------------------------------------------------------------------+
| Install build-essential |
+------------------------------------------------------------------------------+
Setup apt archive
-----------------
Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-djToKK/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning: sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keybox '/<<BUILDDIR>>/resolver-djToKK/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-djToKK/gpg/trustdb.gpg: trustdb created
gpg: key 35506D9A48F77B2E: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: key 35506D9A48F77B2E: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 35506D9A48F77B2E: secret key imported
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: secret keys read: 1
gpg: secret keys imported: 1
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-djToKK/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-djToKK/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-djToKK/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-djToKK/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-djToKK/apt_archive ./ Packages [433 B]
Fetched 2109 B in 0s (3305 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...
Install core build dependencies (apt-based resolver)
----------------------------------------------------
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
fuse2fs gnupg-l10n kbd libfuse2 libsasl2-modules libssl1.0.2 manpages
netbase psmisc
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 776 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-djToKK/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [776 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 776 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 13399 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges
+------------------------------------------------------------------------------+
| Check architectures |
+------------------------------------------------------------------------------+
Arch check ok (armhf included in any)
+------------------------------------------------------------------------------+
| Install package build dependencies |
+------------------------------------------------------------------------------+
Setup apt archive
-----------------
Merged Build-Depends: debhelper (>= 10), dh-autoreconf, libnet1-dev, libpcap0.8-dev
Filtered Build-Depends: debhelper (>= 10), dh-autoreconf, libnet1-dev, libpcap0.8-dev
dpkg-deb: building package 'sbuild-build-depends-packit-dummy' in '/<<BUILDDIR>>/resolver-djToKK/apt_archive/sbuild-build-depends-packit-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-packit-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-djToKK/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-djToKK/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-djToKK/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-djToKK/apt_archive ./ Sources [511 B]
Get:5 copy:/<<BUILDDIR>>/resolver-djToKK/apt_archive ./ Packages [594 B]
Fetched 2438 B in 0s (3928 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...
Install packit build dependencies (apt-based resolver)
------------------------------------------------------
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
fuse2fs gnupg-l10n kbd libfuse2 libsasl2-modules libssl1.0.2 manpages
netbase psmisc
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
autoconf automake autopoint autotools-dev bsdmainutils debhelper
dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base
intltool-debian libarchive-zip-perl libbsd0 libcroco3
libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libmagic-mgc
libmagic1 libnet1 libnet1-dev libpcap0.8 libpcap0.8-dev libpipeline1
libsigsegv2 libtimedate-perl libtool libunistring0 libxml2 m4 man-db
po-debconf
Suggested packages:
autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois
vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff
libtool-doc gfortran | fortran95-compiler gcj-jdk less www-browser
libmail-box-perl
Recommended packages:
curl | wget | lynx-cur libglib2.0-data shared-mime-info xdg-user-dirs
libltdl-dev xml-core libmail-sendmail-perl
The following NEW packages will be installed:
autoconf automake autopoint autotools-dev bsdmainutils debhelper
dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base
intltool-debian libarchive-zip-perl libbsd0 libcroco3
libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libmagic-mgc
libmagic1 libnet1 libnet1-dev libpcap0.8 libpcap0.8-dev libpipeline1
libsigsegv2 libtimedate-perl libtool libunistring0 libxml2 m4 man-db
po-debconf sbuild-build-depends-packit-dummy
0 upgraded, 35 newly installed, 0 to remove and 5 not upgraded.
Need to get 19.6 MB of archives.
After this operation, 66.2 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-djToKK/apt_archive ./ sbuild-build-depends-packit-dummy 0.invalid.0 [804 B]
Get:2 http://172.17.0.1/private stretch-staging/main armhf groff-base armhf 1.22.3-8 [1087 kB]
Get:3 http://172.17.0.1/private stretch-staging/main armhf libbsd0 armhf 0.8.3-1 [89.0 kB]
Get:4 http://172.17.0.1/private stretch-staging/main armhf bsdmainutils armhf 9.0.12 [178 kB]
Get:5 http://172.17.0.1/private stretch-staging/main armhf libpipeline1 armhf 1.4.1-2 [23.7 kB]
Get:6 http://172.17.0.1/private stretch-staging/main armhf man-db armhf 2.7.5-2 [971 kB]
Get:7 http://172.17.0.1/private stretch-staging/main armhf libnet1 armhf 1.1.6+dfsg-3 [53.8 kB]
Get:8 http://172.17.0.1/private stretch-staging/main armhf libmagic-mgc armhf 1:5.29-1 [219 kB]
Get:9 http://172.17.0.1/private stretch-staging/main armhf libmagic1 armhf 1:5.29-1 [104 kB]
Get:10 http://172.17.0.1/private stretch-staging/main armhf file armhf 1:5.29-1 [63.3 kB]
Get:11 http://172.17.0.1/private stretch-staging/main armhf gettext-base armhf 0.19.8.1-1 [117 kB]
Get:12 http://172.17.0.1/private stretch-staging/main armhf libicu57 armhf 57.1-4 [7407 kB]
Get:13 http://172.17.0.1/private stretch-staging/main armhf libxml2 armhf 2.9.4+dfsg1-2.1 [804 kB]
Get:14 http://172.17.0.1/private stretch-staging/main armhf libsigsegv2 armhf 2.10-5 [28.4 kB]
Get:15 http://172.17.0.1/private stretch-staging/main armhf m4 armhf 1.4.17-5 [239 kB]
Get:16 http://172.17.0.1/private stretch-staging/main armhf autoconf all 2.69-10 [338 kB]
Get:17 http://172.17.0.1/private stretch-staging/main armhf autotools-dev all 20161112.1 [73.4 kB]
Get:18 http://172.17.0.1/private stretch-staging/main armhf automake all 1:1.15-5 [733 kB]
Get:19 http://172.17.0.1/private stretch-staging/main armhf autopoint all 0.19.8.1-1 [433 kB]
Get:20 http://172.17.0.1/private stretch-staging/main armhf libtool all 2.4.6-2 [545 kB]
Get:21 http://172.17.0.1/private stretch-staging/main armhf dh-autoreconf all 12 [15.8 kB]
Get:22 http://172.17.0.1/private stretch-staging/main armhf libarchive-zip-perl all 1.59-1 [95.5 kB]
Get:23 http://172.17.0.1/private stretch-staging/main armhf libfile-stripnondeterminism-perl all 0.028-1 [14.6 kB]
Get:24 http://172.17.0.1/private stretch-staging/main armhf libtimedate-perl all 2.3000-2 [42.2 kB]
Get:25 http://172.17.0.1/private stretch-staging/main armhf dh-strip-nondeterminism all 0.028-1 [9020 B]
Get:26 http://172.17.0.1/private stretch-staging/main armhf libglib2.0-0 armhf 2.50.2-1 [2527 kB]
Get:27 http://172.17.0.1/private stretch-staging/main armhf libcroco3 armhf 0.6.11-2 [131 kB]
Get:28 http://172.17.0.1/private stretch-staging/main armhf libunistring0 armhf 0.9.6+really0.9.3-0.1 [252 kB]
Get:29 http://172.17.0.1/private stretch-staging/main armhf gettext armhf 0.19.8.1-1 [1433 kB]
Get:30 http://172.17.0.1/private stretch-staging/main armhf intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:31 http://172.17.0.1/private stretch-staging/main armhf po-debconf all 1.0.20 [247 kB]
Get:32 http://172.17.0.1/private stretch-staging/main armhf debhelper all 10.2.2 [826 kB]
Get:33 http://172.17.0.1/private stretch-staging/main armhf libnet1-dev armhf 1.1.6+dfsg-3 [111 kB]
Get:34 http://172.17.0.1/private stretch-staging/main armhf libpcap0.8 armhf 1.8.1-3 [123 kB]
Get:35 http://172.17.0.1/private stretch-staging/main armhf libpcap0.8-dev armhf 1.8.1-3 [220 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 19.6 MB in 6s (3261 kB/s)
Selecting previously unselected package groff-base.
(Reading database ... 13399 files and directories currently installed.)
Preparing to unpack .../00-groff-base_1.22.3-8_armhf.deb ...
Unpacking groff-base (1.22.3-8) ...
Selecting previously unselected package libbsd0:armhf.
Preparing to unpack .../01-libbsd0_0.8.3-1_armhf.deb ...
Unpacking libbsd0:armhf (0.8.3-1) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../02-bsdmainutils_9.0.12_armhf.deb ...
Unpacking bsdmainutils (9.0.12) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../03-libpipeline1_1.4.1-2_armhf.deb ...
Unpacking libpipeline1:armhf (1.4.1-2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.7.5-2_armhf.deb ...
Unpacking man-db (2.7.5-2) ...
Selecting previously unselected package libnet1:armhf.
Preparing to unpack .../05-libnet1_1.1.6+dfsg-3_armhf.deb ...
Unpacking libnet1:armhf (1.1.6+dfsg-3) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../06-libmagic-mgc_1%3a5.29-1_armhf.deb ...
Unpacking libmagic-mgc (1:5.29-1) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../07-libmagic1_1%3a5.29-1_armhf.deb ...
Unpacking libmagic1:armhf (1:5.29-1) ...
Selecting previously unselected package file.
Preparing to unpack .../08-file_1%3a5.29-1_armhf.deb ...
Unpacking file (1:5.29-1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../09-gettext-base_0.19.8.1-1_armhf.deb ...
Unpacking gettext-base (0.19.8.1-1) ...
Selecting previously unselected package libicu57:armhf.
Preparing to unpack .../10-libicu57_57.1-4_armhf.deb ...
Unpacking libicu57:armhf (57.1-4) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../11-libxml2_2.9.4+dfsg1-2.1_armhf.deb ...
Unpacking libxml2:armhf (2.9.4+dfsg1-2.1) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../12-libsigsegv2_2.10-5_armhf.deb ...
Unpacking libsigsegv2:armhf (2.10-5) ...
Selecting previously unselected package m4.
Preparing to unpack .../13-m4_1.4.17-5_armhf.deb ...
Unpacking m4 (1.4.17-5) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../14-autoconf_2.69-10_all.deb ...
Unpacking autoconf (2.69-10) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../15-autotools-dev_20161112.1_all.deb ...
Unpacking autotools-dev (20161112.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../16-automake_1%3a1.15-5_all.deb ...
Unpacking automake (1:1.15-5) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../17-autopoint_0.19.8.1-1_all.deb ...
Unpacking autopoint (0.19.8.1-1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../18-libtool_2.4.6-2_all.deb ...
Unpacking libtool (2.4.6-2) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../19-dh-autoreconf_12_all.deb ...
Unpacking dh-autoreconf (12) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../20-libarchive-zip-perl_1.59-1_all.deb ...
Unpacking libarchive-zip-perl (1.59-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../21-libfile-stripnondeterminism-perl_0.028-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.028-1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../22-libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../23-dh-strip-nondeterminism_0.028-1_all.deb ...
Unpacking dh-strip-nondeterminism (0.028-1) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../24-libglib2.0-0_2.50.2-1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.50.2-1) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../25-libcroco3_0.6.11-2_armhf.deb ...
Unpacking libcroco3:armhf (0.6.11-2) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../26-libunistring0_0.9.6+really0.9.3-0.1_armhf.deb ...
Unpacking libunistring0:armhf (0.9.6+really0.9.3-0.1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../27-gettext_0.19.8.1-1_armhf.deb ...
Unpacking gettext (0.19.8.1-1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../28-intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../29-po-debconf_1.0.20_all.deb ...
Unpacking po-debconf (1.0.20) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../30-debhelper_10.2.2_all.deb ...
Unpacking debhelper (10.2.2) ...
Selecting previously unselected package libnet1-dev.
Preparing to unpack .../31-libnet1-dev_1.1.6+dfsg-3_armhf.deb ...
Unpacking libnet1-dev (1.1.6+dfsg-3) ...
Selecting previously unselected package libpcap0.8:armhf.
Preparing to unpack .../32-libpcap0.8_1.8.1-3_armhf.deb ...
Unpacking libpcap0.8:armhf (1.8.1-3) ...
Selecting previously unselected package libpcap0.8-dev.
Preparing to unpack .../33-libpcap0.8-dev_1.8.1-3_armhf.deb ...
Unpacking libpcap0.8-dev (1.8.1-3) ...
Selecting previously unselected package sbuild-build-depends-packit-dummy.
Preparing to unpack .../34-sbuild-build-depends-packit-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-packit-dummy (0.invalid.0) ...
Setting up libnet1:armhf (1.1.6+dfsg-3) ...
Setting up libarchive-zip-perl (1.59-1) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up libsigsegv2:armhf (2.10-5) ...
Setting up groff-base (1.22.3-8) ...
Setting up libglib2.0-0:armhf (2.50.2-1) ...
No schema files found: doing nothing.
Setting up gettext-base (0.19.8.1-1) ...
Setting up libpipeline1:armhf (1.4.1-2) ...
Setting up m4 (1.4.17-5) ...
Setting up libicu57:armhf (57.1-4) ...
Setting up libbsd0:armhf (0.8.3-1) ...
Setting up libxml2:armhf (2.9.4+dfsg1-2.1) ...
Setting up libmagic-mgc (1:5.29-1) ...
Setting up libnet1-dev (1.1.6+dfsg-3) ...
Setting up libmagic1:armhf (1:5.29-1) ...
Setting up libcroco3:armhf (0.6.11-2) ...
Processing triggers for libc-bin (2.24-5+rpi1) ...
Setting up autotools-dev (20161112.1) ...
Setting up libunistring0:armhf (0.9.6+really0.9.3-0.1) ...
Setting up bsdmainutils (9.0.12) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up autopoint (0.19.8.1-1) ...
Setting up libpcap0.8:armhf (1.8.1-3) ...
Setting up libfile-stripnondeterminism-perl (0.028-1) ...
Setting up gettext (0.19.8.1-1) ...
Setting up libpcap0.8-dev (1.8.1-3) ...
Setting up autoconf (2.69-10) ...
Setting up file (1:5.29-1) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up automake (1:1.15-5) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
Setting up man-db (2.7.5-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libtool (2.4.6-2) ...
Setting up po-debconf (1.0.20) ...
Setting up dh-autoreconf (12) ...
Setting up dh-strip-nondeterminism (0.028-1) ...
Setting up debhelper (10.2.2) ...
Setting up sbuild-build-depends-packit-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.24-5+rpi1) ...
W: No sandbox user '_apt' on the system, can not drop privileges
+------------------------------------------------------------------------------+
| Build environment |
+------------------------------------------------------------------------------+
Kernel: Linux 4.4.0-1-armmp armhf (armv7l)
Toolchain package versions: binutils_2.27.51.20161108-1 dpkg-dev_1.18.15 g++-6_6.2.0-13+rpi1 gcc-6_6.2.0-13+rpi1 libc6-dev_2.24-5+rpi1 libstdc++-6-dev_6.2.0-13+rpi1 libstdc++6_6.2.0-13+rpi1 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch
Package versions: adduser_3.115 apt_1.3.1 autoconf_2.69-10 automake_1:1.15-5 autopoint_0.19.8.1-1 autotools-dev_20161112.1 base-files_9.6+rpi1 base-passwd_3.5.41 bash_4.4-2 binutils_2.27.51.20161108-1 bsdmainutils_9.0.12 bsdutils_1:2.29-1 build-essential_12.2 bzip2_1.0.6-8 coreutils_8.25-2 cpio_2.11+dfsg-5 cpp_4:6.1.1-1 cpp-6_6.2.0-13+rpi1 dash_0.5.8-2.3 debconf_1.5.59 debfoster_2.7-2.1 debhelper_10.2.2 debianutils_4.8 dh-autoreconf_12 dh-strip-nondeterminism_0.028-1 diffutils_1:3.5-1 dirmngr_2.1.15-9 dmsetup_2:1.02.136-1 dpkg_1.18.15 dpkg-dev_1.18.15 e2fslibs_1.43.3-1 e2fsprogs_1.43.3-1 fakeroot_1.21-2 file_1:5.29-1 findutils_4.6.0+git+20160703-2 fuse2fs_1.43.3-1 g++_4:6.1.1-1 g++-6_6.2.0-13+rpi1 gcc_4:6.1.1-1 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.5-4 gcc-4.9-base_4.9.3-14 gcc-6_6.2.0-13+rpi1 gcc-6-base_6.2.0-13+rpi1 gettext_0.19.8.1-1 gettext-base_0.19.8.1-1 gnupg_2.1.15-9 gnupg-agent_2.1.15-9 gnupg-l10n_2.1.15-9 gpgv_2.1.15-9 grep_2.26-1 groff-base_1.22.3-8 gzip_1.6-5 hostname_3.18 init_1.46 init-system-helpers_1.46 initscripts_2.88dsf-59.8 insserv_1.14.0-5.4 intltool-debian_0.35.0+20060710.4 kbd_2.0.3-2 klibc-utils_2.0.4-9+rpi1 kmod_23-1 libacl1_2.2.52-3 libadns1_1.5.0~rc1-1 libapparmor1_2.10.95-6 libapt-pkg5.0_1.3.1 libarchive-zip-perl_1.59-1 libasan3_6.2.0-13+rpi1 libassuan0_2.4.3-1 libatomic1_6.2.0-13+rpi1 libattr1_1:2.4.47-2 libaudit-common_1:2.6.7-1 libaudit1_1:2.6.7-1 libblkid1_2.29-1 libbsd0_0.8.3-1 libbz2-1.0_1.0.6-8 libc-bin_2.24-5+rpi1 libc-dev-bin_2.24-5+rpi1 libc6_2.24-5+rpi1 libc6-dev_2.24-5+rpi1 libcap-ng0_0.7.7-3 libcap2_1:2.25-1 libcap2-bin_1:2.25-1 libcc1-0_6.2.0-13+rpi1 libcomerr2_1.43.3-1 libcroco3_0.6.11-2 libcryptsetup4_2:1.7.3-2 libdb5.3_5.3.28-12 libdbus-1-3_1.10.12-1 libdebconfclient0_0.218 libdevmapper1.02.1_2:1.02.136-1 libdpkg-perl_1.18.15 libdrm2_2.4.73-1 libfakeroot_1.21-2 libfdisk1_2.29-1 libffi6_3.2.1-6 libfile-stripnondeterminism-perl_0.028-1 libfuse2_2.9.7-1 libgc1c2_1:7.4.2-8 libgcc-6-dev_6.2.0-13+rpi1 libgcc1_1:6.2.0-13+rpi1 libgcrypt20_1.7.3-2 libgdbm3_1.8.3-14 libglib2.0-0_2.50.2-1 libgmp10_2:6.1.1+dfsg-1 libgnutls30_3.5.6-4 libgomp1_6.2.0-13+rpi1 libgpg-error0_1.25-1 libhogweed4_3.3-1 libicu57_57.1-4 libidn11_1.33-1 libip4tc0_1.6.0-4 libisl15_0.17.1-1 libklibc_2.0.4-9+rpi1 libkmod2_23-1 libksba8_1.3.5-2 libldap-2.4-2_2.4.42+dfsg-2+rpi1+b3 liblz4-1_0.0~r131-2 liblzma5_5.2.2-1.2 libmagic-mgc_1:5.29-1 libmagic1_1:5.29-1 libmount1_2.29-1 libmpc3_1.0.3-1 libmpfr4_3.1.5-1 libncurses5_6.0+20160917-1 libncursesw5_6.0+20160917-1 libnet1_1.1.6+dfsg-3 libnet1-dev_1.1.6+dfsg-3 libnettle6_3.3-1 libnpth0_1.2-3 libp11-kit0_0.23.2-5 libpam-modules_1.1.8-3.3 libpam-modules-bin_1.1.8-3.3 libpam-runtime_1.1.8-3.3 libpam0g_1.1.8-3.3 libpcap0.8_1.8.1-3 libpcap0.8-dev_1.8.1-3 libpcre3_2:8.39-2 libperl5.24_5.24.1~rc3-3 libpipeline1_1.4.1-2 libplymouth4_0.9.2-3 libpng12-0_1.2.54-6 libprocps6_2:3.3.12-2 libreadline7_7.0-1 libsasl2-2_2.1.27~72-g88d82a3+dfsg-1 libsasl2-modules_2.1.27~72-g88d82a3+dfsg-1 libsasl2-modules-db_2.1.27~72-g88d82a3+dfsg-1 libseccomp2_2.3.1-2 libselinux1_2.6-3 libsemanage-common_2.6-1 libsemanage1_2.6-1 libsepol1_2.6-1 libsigsegv2_2.10-5 libsmartcols1_2.29-1 libsqlite3-0_3.15.1-1 libss2_1.43.3-1 libssl1.0.2_1.0.2j-1+rpi1 libstdc++-6-dev_6.2.0-13+rpi1 libstdc++6_6.2.0-13+rpi1 libsystemd0_232-3 libtasn1-6_4.9-4 libtimedate-perl_2.3000-2 libtinfo5_6.0+20160917-1 libtool_2.4.6-2 libubsan0_6.2.0-13+rpi1 libudev1_232-3 libunistring0_0.9.6+really0.9.3-0.1 libusb-0.1-4_2:0.1.12-30 libustr-1.0-1_1.0.4-5 libuuid1_2.29-1 libxml2_2.9.4+dfsg1-2.1 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch login_1:4.2-3.2 lsb-base_9.20161101+rpi1 m4_1.4.17-5 make_4.1-9 makedev_2.3.1-93 man-db_2.7.5-2 manpages_4.08-1 mawk_1.3.3-17 mount_2.29-1 multiarch-support_2.24-5+rpi1 ncurses-base_6.0+20160917-1 ncurses-bin_6.0+20160917-1 netbase_5.3 passwd_1:4.2-3.2 patch_2.7.5-1 perl_5.24.1~rc3-3 perl-base_5.24.1~rc3-3 perl-modules-5.24_5.24.1~rc3-3 pinentry-curses_0.9.7-9 po-debconf_1.0.20 procps_2:3.3.12-2 psmisc_22.21-2.1 raspbian-archive-keyring_20120528.2 readline-common_7.0-1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-packit-dummy_0.invalid.0 sed_4.2.2-8 sensible-utils_0.0.9 startpar_0.59-3.1 systemd_232-3 systemd-sysv_232-3 sysv-rc_2.88dsf-59.8 sysvinit-utils_2.88dsf-59.8 tar_1.29b-1.1 tzdata_2016i-1 udev_232-3 util-linux_2.29-1 xz-utils_5.2.2-1.2 zlib1g_1:1.2.8.dfsg-2+b1
+------------------------------------------------------------------------------+
| Build |
+------------------------------------------------------------------------------+
Unpack source
-------------
gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error
gpgv: Signature made Sun Nov 20 23:11:00 2016 UTC
gpgv: using RSA key 357DCB0EEC95A01AEBA1F0D2DE63B9C704EBE9EF
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./packit_1.0-4.dsc
dpkg-source: info: extracting packit in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking packit_1.0.orig.tar.gz
dpkg-source: info: unpacking packit_1.0-4.debian.tar.xz
dpkg-source: info: applying 010_fix_id_field_in_manpage.patch
dpkg-source: info: applying 020_fix_header_field_in_pcap-int.h.patch
dpkg-source: info: applying 030_fix_FTBFS_pcap_h.patch
dpkg-source: info: applying 040_fix_call_to_pcap-bpf_h.patch
dpkg-source: info: applying 050_honor_nostrip.patch
dpkg-source: info: applying 060_fix_spelling_errors.patch
dpkg-source: info: applying 070_RARP_support.patch
dpkg-source: info: applying 080_off-by-one_string_error.patch
dpkg-source: info: applying 090_fix_typo_in_source_code.patch
dpkg-source: info: applying 100_fix_segfault.patch
dpkg-source: info: applying 110_remove_duplication_in_manpage_and_fix_a_path.patch
dpkg-source: info: applying 120_update_homepage.patch
dpkg-source: info: applying 130_avoid_buffer_overflow.patch
dpkg-source: info: applying 140_fix-spellings-manpage.patch
Check disc space
----------------
Sufficient free space for build
User Environment
----------------
APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=stretch-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=stretch-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=stretch-staging-armhf-sbuild-510cd36c-6277-47f7-825a-a2e2b90934db
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=linux
USER=buildd
dpkg-buildpackage
-----------------
dpkg-buildpackage: info: source package packit
dpkg-buildpackage: info: source version 1.0-4
dpkg-buildpackage: info: source distribution unstable
dpkg-source --before-build packit-1.0
dpkg-buildpackage: info: host architecture armhf
fakeroot debian/rules clean
dh clean --with autoreconf
dh_testdir
dh_auto_clean
dh_autoreconf_clean
dh_clean
debian/rules build-arch
dh build-arch --with autoreconf
dh_testdir -a
dh_update_autotools_config -a
dh_autoreconf -a
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:31: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.in:31: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:124: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.in:124: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am:61: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am:28: warning: source file 'contrib/pcap_setnonblock.c' is in a subdirectory,
src/Makefile.am:28: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
dh_auto_configure -a
./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --libexecdir=\${prefix}/lib/arm-linux-gnueabihf --disable-maintainer-mode --disable-dependency-tracking
configure: WARNING: unrecognized options: --disable-maintainer-mode
beginning auto-configuration process for packit-1.0...
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... no
checking for mawk... mawk
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 for style of include used by make... GNU
checking dependency style of gcc... none
checking for gcc... yes
checking build system type... arm-unknown-linux-gnueabihf
checking host system type... arm-unknown-linux-gnueabihf
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking pcap-bpf.h usability... yes
checking pcap-bpf.h presence... yes
checking for pcap-bpf.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking libnet.h usability... yes
checking libnet.h presence... yes
checking for libnet.h... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for printf... yes
checking for fprintf... yes
checking for snprintf... yes
checking for sprintf... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for strncmp... yes
checking for strncat... yes
checking for memset... yes
checking for malloc... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for getuid... yes
checking for select... yes
checking for setitimer... yes
checking for libnet_build_ipv4 in -lnet... yes
checking for pcap_open_live in -lpcap... yes
checking for pcap_setnonblock in -lpcap... yes
checking for pcap_freecode in -lpcap... yes
checking for bpf... no
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 man/Makefile
config.status: creating man/packit.8
config.status: creating src/version.h
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
_ _ _
_ __ __ _ ___| | _(_) |_
| '_ \ / _` |/ __| |/ / | __|
| |_) | (_| | (__| <| | |_
| .__/ \__,_|\___|_|\_\_|\__|
|_| 1.0
has been configured with the following options:
-----------------------------------------------
Host type : arm-unknown-linux-gnueabihf
Compiler : gcc
Compiler flags : -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall
Linker flags : -Wl,-z,relro -Wl,-z,now
Libraries : -lpcap -lpcap -lpcap -lnet
Binary : /usr/bin
Manual pages : /usr/share/man/
Injection support : yes
Capture support : yes
Enable debugging : no
-----------------------------------------------
dh_auto_build -a
make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make all-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making all in src
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o init.o init.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o define_defaults.o define_defaults.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o error.o error.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o injection.o injection.c
define_defaults.c: In function 'define_injection_defaults':
init.c: In function 'injection_struct_init':
init.c:34:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ahdr_o.s_paddr = IPV4_DEFAULT;
^
init.c:35:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ahdr_o.s_eaddr = ETH_DEFAULT;
^
init.c:36:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ahdr_o.r_paddr = IPV4_DEFAULT;
^
init.c:37:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ahdr_o.r_eaddr = ETH_DEFAULT;
^
define_defaults.c:34:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s_d_port = "0";
^
injection.c: In function 'injection_init':
injection.c:60:19: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign]
if(strstr(s_d_port, "-"))
^~~~~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from injection.h:26,
from injection.c:23:
/usr/include/string.h:337:14: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern char *strstr (const char *__haystack, const char *__needle)
^~~~~~
injection.c:65:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Invalid port range: %s", s_d_port);
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from injection.h:26,
from injection.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
injection.c:70:34: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign]
d_port = (u_int16_t)atoi(s_d_port);
^~~~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from injection.h:26,
from injection.c:23:
/usr/include/stdlib.h:239:1: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (atoi (const char *__nptr))
^
injection.c:73:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!device && (device = pcap_lookupdev(error_buf)) == NULL)
^
injection.c:74:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Device lookup failure: Are you root?");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from injection.h:26,
from injection.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
injection.c:76:15: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign]
if(strstr(device, "any")) strcpy(device, "lo");
^~~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from injection.h:26,
from injection.c:23:
/usr/include/string.h:337:14: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern char *strstr (const char *__haystack, const char *__needle)
^~~~~~
injection.c:76:38: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
if(strstr(device, "any")) strcpy(device, "lo");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from injection.h:26,
from injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
injection.c:83:40: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign]
if((pkt_d = libnet_init(init_type, device, error_buf)) == NULL)
^~~~~~
In file included from /usr/include/libnet.h:119:0,
from globals.h:31,
from injection.h:26,
from injection.c:23:
/usr/include/libnet/libnet-functions.h:64:1: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
libnet_init(int injection_type, const char *device, char *err_buf);
^~~~~~~~~~~
injection.c:84:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to initialize packet injection");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from injection.h:26,
from injection.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
injection.c: In function 'with_response':
injection.c:124:30: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign]
if((pkt = pcap_open_live(device, 1500, 1, READ_TIMEOUT, error_buf)) == NULL)
^~~~~~
In file included from globals.h:32:0,
from injection.h:26,
from injection.c:23:
/usr/include/pcap/pcap.h:353:18: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *);
^~~~~~~~~~~~~~
injection.c:125:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to open device: %s", error_buf);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from injection.h:26,
from injection.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
injection.c:127:23: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign]
if(pcap_lookupnet(device, &localnet, &netmask, error_buf) < 0)
^~~~~~
In file included from globals.h:32:0,
from injection.h:26,
from injection.c:23:
/usr/include/pcap/pcap.h:279:14: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *);
^~~~~~~~~~~~~~
injection.c:145:27: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
snprintf(ufilter, 1024,
^~~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from injection.h:26,
from injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (snprintf (char *__restrict __s, size_t __n,
^
injection.c:158:27: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
snprintf(ufilter, 1024,
^~~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from injection.h:26,
from injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (snprintf (char *__restrict __s, size_t __n,
^
error.c: In function 'fatal_error':
error.c:35:41: warning: pointer targets in passing argument 3 of 'vsnprintf' differ in signedness [-Wpointer-sign]
vsnprintf(error_buf, ERRBUF_MAXLEN, err, va);
^~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from error.h:26,
from error.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:74:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (vsnprintf (char *__restrict __s, size_t __n,
^
injection.c:171:27: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
snprintf(ufilter, 1024,
^~~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from injection.h:26,
from injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (snprintf (char *__restrict __s, size_t __n,
^
injection.c:191:36: warning: pointer targets in passing argument 3 of 'pcap_compile' differ in signedness [-Wpointer-sign]
if(pcap_compile(pkt, &bpf, filter, 0, netmask) < 0)
^~~~~~
In file included from globals.h:32:0,
from injection.h:26,
from injection.c:23:
/usr/include/pcap/pcap.h:393:14: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int,
^~~~~~~~~~~~
injection.c:195:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to set packet filters: %s", pcap_geterr(pkt));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from injection.h:26,
from injection.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
injection.c:202:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to determine datalink type: %s", pcap_geterr(pkt));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from injection.h:26,
from injection.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
injection.c:210:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to change to blocking mode: %s", error_buf);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from injection.h:26,
from injection.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
injection.c:217:31: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign]
print_separator(1, 2, (p_mode == M_TRACE) ? "HOP %d" : "SND %d", inj_cnt);
^
In file included from globals.h:42:0,
from injection.h:26,
from injection.c:23:
utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void print_separator(int, int, u_int8_t *, ...);
^~~~~~~~~~~~~~~
injection.c:221:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to inject packet");
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from injection.h:26,
from injection.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
injection.c:244:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to inject packet");
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from injection.h:26,
from injection.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
injection.c:269:69: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign]
print_separator((p_mode == M_TRACE) ? 0 : 1, 1, "No Response From Peer");
^~~~~~~~~~~~~~~~~~~~~~~
In file included from globals.h:42:0,
from injection.h:26,
from injection.c:23:
utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void print_separator(int, int, u_int8_t *, ...);
^~~~~~~~~~~~~~~
injection.c: In function 'without_response':
injection.c:327:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to inject packet");
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from injection.h:26,
from injection.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
injection.c:331:35: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign]
print_separator(1, 2, "SND %ld", inj_cnt);
^~~~~~~~~
In file included from globals.h:42:0,
from injection.h:26,
from injection.c:23:
utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void print_separator(int, int, u_int8_t *, ...);
^~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o capture.o capture.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o shape_arp_hdr.o shape_arp_hdr.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o shape_tcp_hdr.o shape_tcp_hdr.c
shape_arp_hdr.c: In function 'shape_arp_hdr':
shape_arp_hdr.c:61:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to retrieve local IP address: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_arp_hdr.h:26,
from shape_arp_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_arp_hdr.c:63:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ahdr_o.s_paddr = libnet_addr2name4(s_paddr, 0);
^
shape_arp_hdr.c:67:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ahdr_o.s_paddr = IPV4_DEFAULT;
^
shape_arp_hdr.c:72:44: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign]
if((s_paddr = libnet_name2addr4(pkt_d, ahdr_o.s_paddr, 0)) == -1)
^~~~~~
capture.c: In function 'capture_init':
capture.c:54:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to open file: %s", error_buf);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from capture.h:26,
from capture.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
capture.c:60:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if((device = pcap_lookupdev(error_buf)) == NULL)
^
In file included from /usr/include/libnet.h:119:0,
from globals.h:31,
from shape_arp_hdr.h:26,
from shape_arp_hdr.c:23:
/usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name);
^~~~~~~~~~~~~~~~~
capture.c:61:29: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("%s: Check device permissions", error_buf);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
shape_arp_hdr.c:73:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Invalid sender protocol address: %s", ahdr_o.s_paddr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from capture.h:26,
from capture.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_arp_hdr.h:26,
from shape_arp_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
capture.c:64:34: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign]
if((pkt = pcap_open_live(device, snap_len, 1, READ_TIMEOUT, error_buf)) == NULL)
^~~~~~
shape_arp_hdr.c:81:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to determine ethernet address: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from globals.h:32:0,
from capture.h:26,
from capture.c:23:
/usr/include/pcap/pcap.h:353:18: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *);
^~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_arp_hdr.h:26,
from shape_arp_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
capture.c:65:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to open device: %s", error_buf);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from capture.h:26,
from capture.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_arp_hdr.c:89:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ahdr_o.s_eaddr = ETH_DEFAULT;
^
shape_arp_hdr.c:94:29: warning: pointer targets in passing argument 1 of 'format_ethernet_addr' differ in signedness [-Wpointer-sign]
if(format_ethernet_addr(ahdr_o.s_eaddr, s_neaddr) == 0)
^~~~~~
In file included from globals.h:42:0,
from shape_arp_hdr.h:26,
from shape_arp_hdr.c:23:
utils.h:43:11: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
u_int32_t format_ethernet_addr(char *, u_int8_t[]);
^~~~~~~~~~~~~~~~~~~~
capture.c:75:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to initialize packet capture: %s", pcap_geterr(pkt));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from capture.h:26,
from capture.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_arp_hdr.c:95:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Invalid sender ethernet address");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_arp_hdr.h:26,
from shape_arp_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
capture.c:80:23: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign]
if(pcap_lookupnet(device, &localnet, &netmask, error_buf) < 0)
^~~~~~
In file included from globals.h:32:0,
from capture.h:26,
from capture.c:23:
/usr/include/pcap/pcap.h:279:14: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *);
^~~~~~~~~~~~~~
shape_arp_hdr.c:97:14: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
snprintf(ahdr_o.shw_addr, 18, "%0X:%0X:%0X:%0X:%0X:%0X",
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from shape_arp_hdr.h:26,
from shape_arp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (snprintf (char *__restrict __s, size_t __n,
^
capture.c:83:32: warning: pointer targets in passing argument 3 of 'pcap_compile' differ in signedness [-Wpointer-sign]
if(pcap_compile(pkt, &bpf, filter, 0, netmask) < 0)
^~~~~~
In file included from globals.h:32:0,
from capture.h:26,
from capture.c:23:
/usr/include/pcap/pcap.h:393:14: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int,
^~~~~~~~~~~~
shape_arp_hdr.c:106:26: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to retrieve local IP address: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_arp_hdr.h:26,
from shape_arp_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
capture.c:87:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to set packet filters: %s", pcap_geterr(pkt));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from capture.h:26,
from capture.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_arp_hdr.c:108:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ahdr_o.r_paddr = libnet_addr2name4(r_paddr, 0);
^
shape_arp_hdr.c:112:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ahdr_o.r_paddr = IPV4_DEFAULT;
^
capture.c:94:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to determine datalink type: %s", pcap_geterr(pkt));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
shape_arp_hdr.c:117:44: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign]
if((r_paddr = libnet_name2addr4(pkt_d, ahdr_o.r_paddr, 0)) == -1)
^~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from capture.h:26,
from capture.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
In file included from /usr/include/libnet.h:119:0,
from globals.h:31,
from shape_arp_hdr.h:26,
from shape_arp_hdr.c:23:
/usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name);
^~~~~~~~~~~~~~~~~
shape_arp_hdr.c:118:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Invalid receiver protocol address: %s", ahdr_o.r_paddr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_arp_hdr.h:26,
from shape_arp_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_arp_hdr.c:126:26: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to determine ethernet address: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_arp_hdr.h:26,
from shape_arp_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
capture.c:114:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to initialize pcap_loop: %s", pcap_geterr(pkt));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
shape_arp_hdr.c:134:32: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ahdr_o.r_eaddr = ETH_DEFAULT;
^
In file included from usage.h:29:0,
from globals.h:43,
from capture.h:26,
from capture.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_arp_hdr.c:139:29: warning: pointer targets in passing argument 1 of 'format_ethernet_addr' differ in signedness [-Wpointer-sign]
if(format_ethernet_addr(ahdr_o.r_eaddr, r_neaddr) == 0)
^~~~~~
In file included from globals.h:42:0,
from shape_arp_hdr.h:26,
from shape_arp_hdr.c:23:
utils.h:43:11: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
u_int32_t format_ethernet_addr(char *, u_int8_t[]);
^~~~~~~~~~~~~~~~~~~~
shape_arp_hdr.c:140:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Invalid receiver ethernet address");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_arp_hdr.h:26,
from shape_arp_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_arp_hdr.c:142:14: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
snprintf(ahdr_o.rhw_addr, 18, "%0X:%0X:%0X:%0X:%0X:%0X",
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from shape_arp_hdr.h:26,
from shape_arp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (snprintf (char *__restrict __s, size_t __n,
^
shape_arp_hdr.c:160:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to build ARP header: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_arp_hdr.h:26,
from shape_arp_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_tcp_hdr.c: In function 'shape_tcp_hdr':
shape_tcp_hdr.c:51:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
payload_len = strlen(payload);
^~~~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from shape_tcp_hdr.h:26,
from shape_tcp_hdr.c:23:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern size_t strlen (const char *__s)
^~~~~~
shape_tcp_hdr.c:70:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to build TCP header: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_tcp_hdr.h:26,
from shape_tcp_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o shape_udp_hdr.o shape_udp_hdr.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o shape_icmpv4_hdr.o shape_icmpv4_hdr.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o shape_ipv4_hdr.o shape_ipv4_hdr.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o shape_ethernet_hdr.o shape_ethernet_hdr.c
shape_udp_hdr.c: In function 'shape_udp_hdr':
shape_udp_hdr.c:44:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
payload_len = strlen(payload);
^~~~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from shape_udp_hdr.h:26,
from shape_udp_hdr.c:23:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern size_t strlen (const char *__s)
^~~~~~
shape_udp_hdr.c:58:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to build UDP header: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_udp_hdr.h:26,
from shape_udp_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_ipv4_hdr.c: In function 'shape_ipv4_hdr':
shape_ipv4_hdr.c:41:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to retrieve local IP address: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_ipv4_hdr.h:26,
from shape_ipv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_ipv4_hdr.c:43:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ip4hdr_o.s_addr = libnet_addr2name4(ip4hdr_o.n_saddr, 1);
^
shape_ipv4_hdr.c:46:57: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign]
if((ip4hdr_o.n_saddr = libnet_name2addr4(pkt_d, ip4hdr_o.s_addr, 1)) == -1)
^~~~~~~~
In file included from /usr/include/libnet.h:119:0,
from globals.h:31,
from shape_ipv4_hdr.h:26,
from shape_ipv4_hdr.c:23:
/usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name);
^~~~~~~~~~~~~~~~~
shape_ipv4_hdr.c:47:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Invalid source IP address: %s", ip4hdr_o.s_addr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_ipv4_hdr.h:26,
from shape_ipv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_ipv4_hdr.c:50:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("No destination IP address defined");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_ipv4_hdr.h:26,
from shape_ipv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_ipv4_hdr.c:52:53: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign]
if((ip4hdr_o.n_daddr = libnet_name2addr4(pkt_d, ip4hdr_o.d_addr, 1)) == -1)
^~~~~~~~
In file included from /usr/include/libnet.h:119:0,
from globals.h:31,
from shape_ipv4_hdr.h:26,
from shape_ipv4_hdr.c:23:
/usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name);
^~~~~~~~~~~~~~~~~
shape_ipv4_hdr.c:53:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Invalid destination IP address: %s", ip4hdr_o.d_addr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_ipv4_hdr.h:26,
from shape_ipv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_ipv4_hdr.c:68:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
payload_len = strlen(payload);
^~~~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from shape_ipv4_hdr.h:26,
from shape_ipv4_hdr.c:23:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern size_t strlen (const char *__s)
^~~~~~
shape_ipv4_hdr.c:89:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to build IP header: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_ipv4_hdr.h:26,
from shape_ipv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_icmpv4_hdr.c: In function 'shape_icmpv4_hdr':
shape_icmpv4_hdr.c:58:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
payload_len = strlen(payload);
^~~~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern size_t strlen (const char *__s)
^~~~~~
shape_icmpv4_hdr.c:73:22: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to build ICMPv4 echo header: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_icmpv4_hdr.c:104:22: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("No original source IP address defined");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_icmpv4_hdr.c:106:47: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign]
if((ihn_saddr = libnet_name2addr4(pkt_d, i4hdr_o.orig_s_addr, 1)) == -1)
^~~~~~~
In file included from /usr/include/libnet.h:119:0,
from globals.h:31,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
/usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name);
^~~~~~~~~~~~~~~~~
shape_icmpv4_hdr.c:107:22: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Invalid original source IP address: %s", i4hdr_o.orig_s_addr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_icmpv4_hdr.c:110:22: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("No original destination IP address defined");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_icmpv4_hdr.c:112:47: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign]
if((ihn_daddr = libnet_name2addr4(pkt_d, i4hdr_o.orig_d_addr, 1)) == -1)
^~~~~~~
In file included from /usr/include/libnet.h:119:0,
from globals.h:31,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
/usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name);
^~~~~~~~~~~~~~~~~
shape_icmpv4_hdr.c:113:22: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Invalid original destination IP address: %s", i4hdr_o.orig_d_addr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_icmpv4_hdr.c:137:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
payload_len = strlen(payload);
^~~~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern size_t strlen (const char *__s)
^~~~~~
shape_icmpv4_hdr.c:156:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to build original IP header: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o shape_packet.o shape_packet.c
shape_icmpv4_hdr.c:168:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to build ICMPv4 unreach header: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_icmpv4_hdr.c:182:26: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("No gateway IP address defined");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_icmpv4_hdr.c:184:55: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign]
if((ihn_gw = libnet_name2addr4(pkt_d, i4hdr_o.gw, 1)) == -1)
^~~~~~~
In file included from /usr/include/libnet.h:119:0,
from globals.h:31,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
/usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name);
^~~~~~~~~~~~~~~~~
shape_icmpv4_hdr.c:185:26: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Invalid gateway IP address: %s", i4hdr_o.gw);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_icmpv4_hdr.c:192:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
payload_len = strlen(payload);
^~~~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern size_t strlen (const char *__s)
^~~~~~
shape_icmpv4_hdr.c:211:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to build original IP header: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_icmpv4_hdr.c:224:26: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to build ICMPv4 redirect header: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_icmpv4_hdr.c:239:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
payload_len = strlen(payload);
^~~~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern size_t strlen (const char *__s)
^~~~~~
shape_icmpv4_hdr.c:258:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to build original IP header: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_icmpv4_hdr.c:270:26: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to build ICMPv4 timeexceed header: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_icmpv4_hdr.c:292:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
payload_len = strlen(payload);
^~~~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern size_t strlen (const char *__s)
^~~~~~
shape_icmpv4_hdr.c:310:15: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to build ICMPv4 timestamp header: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_icmpv4_hdr.c:327:57: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign]
if((ihn_mask = libnet_name2addr4(pkt_d, i4hdr_o.mask, 1)) == -1)
^~~~~~~
In file included from /usr/include/libnet.h:119:0,
from globals.h:31,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
/usr/include/libnet/libnet-functions.h:227:1: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
libnet_name2addr4(libnet_t *l, char *host_name, uint8_t use_name);
^~~~~~~~~~~~~~~~~
shape_icmpv4_hdr.c:328:26: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Invalid mask address: %s", i4hdr_o.mask);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_icmpv4_hdr.c:335:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
payload_len = strlen(payload);
^~~~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern size_t strlen (const char *__s)
^~~~~~
shape_icmpv4_hdr.c:351:22: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to build ICMPv4 mask header: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_icmpv4_hdr.h:26,
from shape_icmpv4_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_ethernet_hdr.c: In function 'shape_ethernet_hdr':
shape_ethernet_hdr.c:50:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to determine ethernet address: %s", libnet_geterror(pkt_d));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_ethernet_hdr.h:26,
from shape_ethernet_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_ethernet_hdr.c:56:33: warning: pointer targets in passing argument 1 of 'format_ethernet_addr' differ in signedness [-Wpointer-sign]
if(format_ethernet_addr(ehdr_o.s_addr, us_addr) == 0)
^~~~~~
In file included from globals.h:42:0,
from shape_ethernet_hdr.h:26,
from shape_ethernet_hdr.c:23:
utils.h:43:11: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
u_int32_t format_ethernet_addr(char *, u_int8_t[]);
^~~~~~~~~~~~~~~~~~~~
shape_ethernet_hdr.c:57:25: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Invalid source ethernet address");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_ethernet_hdr.h:26,
from shape_ethernet_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_ethernet_hdr.c:59:14: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
snprintf(ehdr_o.shw_addr, 18, "%0X:%0X:%0X:%0X:%0X:%0X",
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from shape_ethernet_hdr.h:26,
from shape_ethernet_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (snprintf (char *__restrict __s, size_t __n,
^
shape_ethernet_hdr.c:64:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ehdr_o.d_addr = ETH_BROADCAST;
^
shape_ethernet_hdr.c:69:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ehdr_o.d_addr = ETH_DEFAULT;
^
shape_ethernet_hdr.c:72:29: warning: pointer targets in passing argument 1 of 'format_ethernet_addr' differ in signedness [-Wpointer-sign]
if(format_ethernet_addr(ehdr_o.d_addr, ud_addr) == 0)
^~~~~~
In file included from globals.h:42:0,
from shape_ethernet_hdr.h:26,
from shape_ethernet_hdr.c:23:
utils.h:43:11: note: expected 'char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
u_int32_t format_ethernet_addr(char *, u_int8_t[]);
^~~~~~~~~~~~~~~~~~~~
shape_ethernet_hdr.c:73:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Invalid destination ethernet address");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_ethernet_hdr.h:26,
from shape_ethernet_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_ethernet_hdr.c:75:14: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
snprintf(ehdr_o.dhw_addr, 18, "%0X:%0X:%0X:%0X:%0X:%0X",
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from shape_ethernet_hdr.h:26,
from shape_ethernet_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:61:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (snprintf (char *__restrict __s, size_t __n,
^
shape_ethernet_hdr.c:87:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to build ethernet header");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_ethernet_hdr.h:26,
from shape_ethernet_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
shape_ethernet_hdr.c: In function 'shape_ethernet_hdr_auto':
shape_ethernet_hdr.c:107:21: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unable to auto-build ethernet header");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from shape_ethernet_hdr.h:26,
from shape_ethernet_hdr.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o utils.o utils.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o stats.o stats.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o pcap_setnonblock.o `test -f 'contrib/pcap_setnonblock.c' || echo './'`contrib/pcap_setnonblock.c
utils.c: In function 'retrieve_rand_ipv4_addr':
utils.c:95:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(ip, "%s.%d", ip, oct);
^~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:97:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(ip, "%d", oct);
^~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c: In function 'retrieve_rand_ethernet_addr':
utils.c:117:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(eaddr, "%s:%0x", eaddr, oct);
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:119:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(eaddr, "%0x", oct);
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c: In function 'print_separator':
utils.c:140:15: warning: pointer targets in passing argument 1 of 'vsnprintf' differ in signedness [-Wpointer-sign]
vsnprintf(msg, 255, msgp, va);
^~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:74:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (vsnprintf (char *__restrict __s, size_t __n,
^
utils.c:140:25: warning: pointer targets in passing argument 3 of 'vsnprintf' differ in signedness [-Wpointer-sign]
vsnprintf(msg, 255, msgp, va);
^~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:74:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (vsnprintf (char *__restrict __s, size_t __n,
^
utils.c:142:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
msg_len = strlen(msg);
^~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern size_t strlen (const char *__s)
^~~~~~
utils.c: In function 'retrieve_icmp_code':
utils.c:174:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Network");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:178:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Host");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:182:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Protocol");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:186:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Port");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:190:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Need Fragment");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:194:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Source Fail");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:198:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Network Unknown");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:202:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Host Unknown");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:206:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Isolated");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:210:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Network Prohibited");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:214:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Host Prohibited");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:218:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "ToS Network");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:222:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "ToS Host");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:226:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Filter Prohibited");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:230:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Host Precedence");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:234:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Precedence Cutoff");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:238:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Unknown");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:248:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Network");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:252:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Host");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:256:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "ToS Net");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:260:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "ToS Host");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:264:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Unknown");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:274:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "In Transit");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:278:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Reassembly");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:282:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Unknown");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:292:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Missing Option");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:296:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Unknown");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:302:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_c, "Unknown");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c: In function 'retrieve_icmp_type':
utils.c:323:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Echo Reply");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:327:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Unreachable");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:331:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Source Quench");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:335:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Redirect");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:339:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Echo Request");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:343:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Time Exceeded");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:347:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Param Problem");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:351:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Timestamp");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:355:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Timestamp Reply");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:359:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Info Request");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:363:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Info Reply");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:367:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Router Advertise");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:371:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Router Selection");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:375:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Address Mask Request");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:379:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Address Mask Reply");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:383:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Traceroute");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:387:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(icmp_t, "Unknown");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c: In function 'retrieve_arp_type':
utils.c:408:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(arp_t, "Request");
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:412:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(arp_t, "Reply");
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:416:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(arp_t, "Reverse Request");
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:420:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(arp_t, "Reverse Reply");
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:424:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(arp_t, "Inverse Request");
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:428:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(arp_t, "Inverse Reply");
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:432:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(arp_t, "Unknown");
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c: In function 'retrieve_arp_hw_type':
utils.c:457:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(hw_t, "Net/ROM Pseudo");
^~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:461:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(hw_t, "Ethernet 10/100");
^~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:465:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(hw_t, "Experimental Ethernet");
^~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:469:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(hw_t, "AX.25 Level 2");
^~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:473:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(hw_t, "ProNet Token Ring");
^~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:477:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(hw_t, "IEEE 802.2 Ethernet");
^~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:481:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(hw_t, "ARCNet");
^~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:485:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(hw_t, "AppleTalk");
^~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:489:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(hw_t, "Lanstar");
^~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:493:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(hw_t, "Frame Relay DLCI");
^~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:497:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(hw_t, "ATM");
^~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:501:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(hw_t, "Metricom STRIP");
^~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:505:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(hw_t, "IPsec Tunnel");
^~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c: In function 'format_ethernet_addr':
utils.c:551:30: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
u_int8_t *eptr, *delim = ":";
^~~
utils.c:559:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy(o_ethstr, ethstr, 18);
^~~~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
utils.c:566:23: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
for(eptr = strtok(o_ethstr, delim);
^~~~~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^~~~~~
utils.c:566:33: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign]
for(eptr = strtok(o_ethstr, delim);
^~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/string.h:343:14: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^~~~~~
utils.c:566:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for(eptr = strtok(o_ethstr, delim);
^
utils.c:568:30: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign]
eptr = strtok(NULL, delim))
^~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/string.h:343:14: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^~~~~~
utils.c:568:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
eptr = strtok(NULL, delim))
^
utils.c:570:29: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign]
if((base16 = strtol(eptr, 0, 16)) > 0xff)
^~~~
In file included from /usr/include/libnet.h:67:0,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/stdlib.h:144:17: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern long int strtol (const char *__restrict __nptr,
^~~~~~
utils.c:580:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ethstr = o_ethstr;
^
utils.c: In function 'parse_port_range':
utils.c:588:45: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
u_int8_t o_rangestr[11], *ptr, *delim = "-";
^~~
utils.c:597:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy(o_rangestr, rangestr, 11);
^~~~~~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
utils.c:597:29: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy(o_rangestr, rangestr, 11);
^~~~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:123:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
utils.c:599:29: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
for(i = 0, ptr = strtok(o_rangestr, delim);
^~~~~~~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^~~~~~
utils.c:599:41: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign]
for(i = 0, ptr = strtok(o_rangestr, delim);
^~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/string.h:343:14: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^~~~~~
utils.c:599:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for(i = 0, ptr = strtok(o_rangestr, delim);
^
utils.c:601:28: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign]
ptr = strtok(NULL, delim))
^~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/string.h:343:14: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^~~~~~
utils.c:601:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ptr = strtok(NULL, delim))
^
utils.c:603:31: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign]
spread[i] = (int)atoi(ptr);
^~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/stdlib.h:239:1: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (atoi (const char *__nptr))
^
utils.c: In function 'generate_padding':
utils.c:645:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(string, "%c", c);
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:647:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(string, "%s%c", string, c);
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c: In function 'format_hex_payload':
utils.c:659:23: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
u_int8_t *delim = " ";
^~~
utils.c:668:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy(pl, string, 65535);
^~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
utils.c:668:17: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy(pl, string, 65535);
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:123:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
utils.c:671:29: warning: argument to 'sizeof' in 'memset' call is the same pointer type 'u_int8_t * {aka unsigned char *}' as the destination; expected 'u_int8_t {aka unsigned char}' or an explicit length [-Wsizeof-pointer-memaccess]
memset(string, 0, sizeof(u_int8_t *));
^
utils.c:677:20: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
for(i = strtok(pl+3, delim);
^~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^~~~~~
utils.c:677:26: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign]
for(i = strtok(pl+3, delim);
^~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/string.h:343:14: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^~~~~~
utils.c:677:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for(i = strtok(pl+3, delim);
^
utils.c:679:26: warning: pointer targets in passing argument 2 of 'strtok' differ in signedness [-Wpointer-sign]
i = strtok(NULL, delim))
^~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/string.h:343:14: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^~~~~~
utils.c:679:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
i = strtok(NULL, delim))
^
utils.c:681:24: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign]
if((c = strtol(i, 0, 16)) > 0xff)
^
In file included from /usr/include/libnet.h:67:0,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/stdlib.h:144:17: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern long int strtol (const char *__restrict __nptr,
^~~~~~
utils.c:684:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(tchar,"%c",(u_int8_t)c);
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
utils.c:685:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy(string+len,tchar,2);
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
utils.c:685:28: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy(string+len,tchar,2);
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from utils.h:26,
from utils.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:123:1: note: expected 'const char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o usage.o usage.c
stats.c: In function 'injection_stats':
stats.c:39:31: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign]
print_separator(1, 1, "Trace Route Statistics");
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from globals.h:42:0,
from stats.h:26,
from stats.c:23:
utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void print_separator(int, int, u_int8_t *, ...);
^~~~~~~~~~~~~~~
stats.c:41:67: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign]
print_separator((p_mode == M_INJECT_RESPONSE) ? 1 : 2, 1, "Packet Injection Statistics");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from globals.h:42:0,
from stats.h:26,
from stats.c:23:
utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void print_separator(int, int, u_int8_t *, ...);
^~~~~~~~~~~~~~~
stats.c: In function 'capture_stats':
stats.c:91:27: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign]
print_separator(0, 1, "Packet Capture Statistics");
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from globals.h:42:0,
from stats.h:26,
from stats.c:23:
utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void print_separator(int, int, u_int8_t *, ...);
^~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o exit.o exit.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o main.o main.c
exit.c: In function 'injection_clean_exit':
exit.c:39:19: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign]
fgets(a, 2, stdin);
^
In file included from /usr/include/stdio.h:938:0,
from /usr/include/libnet.h:62,
from globals.h:31,
from exit.h:26,
from exit.c:23:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:253:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
^~~~~
exit.c:41:29: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign]
if(!strncasecmp(a, "Y", 1))
^
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from exit.h:26,
from exit.c:23:
/usr/include/string.h:533:12: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
^~~~~~~~~~~
exit.c:44:29: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign]
if(!strncasecmp(a, "N", 1))
^
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from exit.h:26,
from exit.c:23:
/usr/include/string.h:533:12: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
^~~~~~~~~~~
exit.c:39:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(a, 2, stdin);
^~~~~~~~~~~~~~~~~~
main.c: In function 'parse_capture_options':
main.c:58:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(device = strdup(optarg)))
^
main.c:59:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:89:18: warning: pointer targets in passing argument 1 of 'capture_init' differ in signedness [-Wpointer-sign]
capture_init(argv[optind], cnt);
^~~~
In file included from injection.h:28:0,
from main.h:40,
from main.c:23:
capture.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void capture_init(u_int8_t *, u_int64_t);
^~~~~~~~~~~~
main.c: In function 'parse_inject_options':
main.c:103:35: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
if(getuid() != 0) fatal_error("Sorry, you're not root!");
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:122:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
opts = "a:b:c:d:D:e:E:fF:hH:i:n:p:q:Rs:S:T:o:u:vw:W:Z:";
^
main.c:132:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
opts = "b:c:d:D:e:E:fhH:i:n:o:p:Rs:S:T:vw:Z:";
^
main.c:142:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
opts = "b:c:C:d:e:E:fg:G:hH:i:j:J:k:K:l:L:m:M:n:N:o:O:p:P:Q:Rs:t:T:U:vw:z:Z:";
^
main.c:148:37: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("ARP is not supported with trace mode.");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:158:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
opts = "A:b:c:e:E:i:p:Rs:S:vx:X:y:Y:";
^
main.c:164:37: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("RARP is not supported with trace mode.");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:175:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
opts = "A:b:c:e:E:i:p:Rs:S:vx:X:y:Y:";
^
main.c:181:37: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("RAW is not supported with trace mode.");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:187:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
opts = "b:c:d:e:E:f:i:n:o:p:Rs:T:U:vV:w:Z:";
^
main.c:203:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
opts = "b:c:C:d:e:E:fg:G:hH:i:j:J:k:K:l:L:m:M:n:N:o:O:p:P:Q:Rs:t:T:U:vw:z:Z:";
^
main.c:208:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
opts = "a:b:c:d:D:e:E:fF:hH:i:n:p:q:Rs:S:T:o:u:vw:W:Z:";
^
main.c:224:37: warning: pointer targets in passing argument 3 of 'getopt' differ in signedness [-Wpointer-sign]
while((opt = getopt(argc, argv, opts)) != -1)
^~~~
In file included from /usr/include/unistd.h:873:0,
from /usr/include/libnet.h:64,
from main.h:26,
from main.c:23:
/usr/include/getopt.h:150:12: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
^~~~~~
main.c:242:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Count cannot exceed max TTL value");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_ts.o print_ts.c
main.c:255:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(ip4hdr_o.d_addr = strdup(optarg)))
^
main.c:256:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_arp_hdr.o print_arp_hdr.c
main.c:264:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(s_d_port = strdup(optarg)) && !rand_d_port)
^
main.c:265:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:277:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(ehdr_o.s_addr = strdup(optarg)))
^
main.c:278:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:292:36: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(ehdr_o.d_addr = strdup(optarg)))
^
main.c:293:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:328:33: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(i4hdr_o.gw = strdup(optarg)))
^
main.c:329:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:334:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(i4hdr_o.mask = strdup(optarg)))
^
main.c:335:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:350:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(device = strdup(optarg)))
^
main.c:351:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:359:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(i4hdr_o.orig_s_addr = strdup(optarg)))
^
main.c:360:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:384:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(i4hdr_o.orig_d_addr = strdup(optarg)))
^
main.c:385:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_tcp_hdr.o print_tcp_hdr.c
main.c:432:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(payload = strdup(optarg)))
^
main.c:433:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:447:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Unknown ICMP original protocol: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:471:38: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(ip4hdr_o.s_addr = strdup(optarg)))
^
main.c:472:19: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:487:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Invalid TTL value: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:524:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(ahdr_o.s_paddr = strdup(optarg)))
^
main.c:525:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:533:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(ahdr_o.s_eaddr = strdup(optarg)))
^
main.c:534:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:542:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(ahdr_o.r_paddr = strdup(optarg)))
^
main.c:543:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
main.c:551:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(ahdr_o.r_eaddr = strdup(optarg)))
^
main.c:552:33: warning: pointer targets in passing argument 1 of 'fatal_error' differ in signedness [-Wpointer-sign]
fatal_error("Memory unavailable for: %s", optarg);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from usage.h:29:0,
from globals.h:43,
from main.h:37,
from main.c:23:
error.h:34:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void fatal_error(u_int8_t *,...);
^~~~~~~~~~~
print_tcp_hdr.c: In function 'print_tcp_hdr':
print_tcp_hdr.c:47:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(flags, "U");
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from print_tcp_hdr.h:26,
from print_tcp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
print_tcp_hdr.c:50:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(flags, "A");
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from print_tcp_hdr.h:26,
from print_tcp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
print_tcp_hdr.c:53:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(flags, "P");
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from print_tcp_hdr.h:26,
from print_tcp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
print_tcp_hdr.c:56:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(flags, "R");
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from print_tcp_hdr.h:26,
from print_tcp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
print_tcp_hdr.c:59:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(flags, "S");
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from print_tcp_hdr.h:26,
from print_tcp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
print_tcp_hdr.c:62:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(flags, "F");
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from print_tcp_hdr.h:26,
from print_tcp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
print_tcp_hdr.c:64:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if(strlen(flags) == 0)
^~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from print_tcp_hdr.h:26,
from print_tcp_hdr.c:23:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern size_t strlen (const char *__s)
^~~~~~
print_tcp_hdr.c:65:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(flags, "None");
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from print_tcp_hdr.h:26,
from print_tcp_hdr.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_udp_hdr.o print_udp_hdr.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_icmpv4_hdr.o print_icmpv4_hdr.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_ipv4_hdr.o print_ipv4_hdr.c
print_icmpv4_hdr.c: In function 'print_icmpv4_hdr':
print_icmpv4_hdr.c:60:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s_addr = libnet_addr2name4(icmp_iphdr.ip_src.s_addr, 0);
^
print_icmpv4_hdr.c:61:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d_addr = libnet_addr2name4(icmp_iphdr.ip_dst.s_addr, 0);
^
print_icmpv4_hdr.c:86:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s_addr = libnet_addr2name4(icmp_iphdr.ip_src.s_addr, 0);
^
print_icmpv4_hdr.c:87:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d_addr = libnet_addr2name4(icmp_iphdr.ip_dst.s_addr, 0);
^
print_icmpv4_hdr.c:109:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s_addr = libnet_addr2name4(icmp_iphdr.ip_src.s_addr, 0);
^
print_icmpv4_hdr.c:110:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d_addr = libnet_addr2name4(icmp_iphdr.ip_dst.s_addr, 0);
^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_ethernet_hdr.o print_ethernet_hdr.c
print_ipv4_hdr.c: In function 'print_ipv4_hdr':
print_ipv4_hdr.c:42:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s_addr = libnet_addr2name4(iphdr->ip_src.s_addr, ((resolve == 1 || resolve == 3) ? 1 : 0));
^
print_ipv4_hdr.c:43:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d_addr = libnet_addr2name4(iphdr->ip_dst.s_addr, ((resolve == 1 || resolve == 3) ? 1 : 0));
^
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_pktdump.o print_pktdump.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_capture.o print_capture.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../includes -I/usr/include/pcap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o print_injection.o print_injection.c
print_capture.c: In function 'print_capture':
print_capture.c:47:39: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign]
print_separator(1, 2, "PID %lld", (u_int64_t)cap_cnt + 1);
^~~~~~~~~~
In file included from globals.h:42:0,
from print_capture.h:26,
from print_capture.c:23:
utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void print_separator(int, int, u_int8_t *, ...);
^~~~~~~~~~~~~~~
print_capture.c:50:39: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign]
print_separator(1, 2, "RCV %lld", (u_int64_t)inj_cnt);
^~~~~~~~~~
In file included from globals.h:42:0,
from print_capture.h:26,
from print_capture.c:23:
utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void print_separator(int, int, u_int8_t *, ...);
^~~~~~~~~~~~~~~
print_capture.c:108:39: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign]
print_separator(1, 2, "PID %lld", (u_int64_t)cap_cnt + 1);
^~~~~~~~~~
In file included from globals.h:42:0,
from print_capture.h:26,
from print_capture.c:23:
utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void print_separator(int, int, u_int8_t *, ...);
^~~~~~~~~~~~~~~
print_capture.c:111:39: warning: pointer targets in passing argument 3 of 'print_separator' differ in signedness [-Wpointer-sign]
print_separator(1, 2, "RCV %lld", (u_int64_t)inj_cnt);
^~~~~~~~~~
In file included from globals.h:42:0,
from print_capture.h:26,
from print_capture.c:23:
utils.h:31:6: note: expected 'u_int8_t * {aka unsigned char *}' but argument is of type 'char *'
void print_separator(int, int, u_int8_t *, ...);
^~~~~~~~~~~~~~~
print_injection.c: In function 'print_injection_details':
print_injection.c:44:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(thdr_o.flags, "S");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from print_injection.h:26,
from print_injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
print_injection.c:47:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(thdr_o.flags, "A");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from print_injection.h:26,
from print_injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
print_injection.c:50:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(thdr_o.flags, "F");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from print_injection.h:26,
from print_injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
print_injection.c:53:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(thdr_o.flags, "R");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from print_injection.h:26,
from print_injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
print_injection.c:56:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(thdr_o.flags, "P");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from print_injection.h:26,
from print_injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
print_injection.c:59:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat(thdr_o.flags, "U");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from print_injection.h:26,
from print_injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
print_injection.c:61:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if(strlen(thdr_o.flags) < 1)
^~~~~~
In file included from /usr/include/libnet.h:63:0,
from globals.h:31,
from print_injection.h:26,
from print_injection.c:23:
/usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u_int8_t * {aka unsigned char *}'
extern size_t strlen (const char *__s)
^~~~~~
print_injection.c:62:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(thdr_o.flags, "None");
^~~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/stdio.h:27,
from /usr/include/libnet.h:62,
from globals.h:31,
from print_injection.h:26,
from print_injection.c:23:
/usr/include/arm-linux-gnueabihf/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'u_int8_t * {aka unsigned char *}'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o packit init.o define_defaults.o error.o injection.o capture.o shape_arp_hdr.o shape_tcp_hdr.o shape_udp_hdr.o shape_icmpv4_hdr.o shape_ipv4_hdr.o shape_ethernet_hdr.o shape_packet.o utils.o stats.o pcap_setnonblock.o usage.o exit.o main.o print_ts.o print_arp_hdr.o print_tcp_hdr.o print_udp_hdr.o print_icmpv4_hdr.o print_ipv4_hdr.o print_ethernet_hdr.o print_pktdump.o print_capture.o print_injection.o -lpcap -lpcap -lpcap -lnet
cp packit ..
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making all in man
make[3]: Entering directory '/<<PKGBUILDDIR>>/man'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/man'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test -a
make -j4 check VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making check in src
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making check in man
make[2]: Entering directory '/<<PKGBUILDDIR>>/man'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/man'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
fakeroot debian/rules binary-arch
dh binary-arch --with autoreconf
dh_testroot -a
dh_prep -a
dh_auto_install -a
make -j4 install DESTDIR=/<<PKGBUILDDIR>>/debian/packit AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making install in src
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
make[3]: Nothing to be done for 'install-data-am'.
/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/packit/usr/sbin'
/usr/bin/install -c packit '/<<PKGBUILDDIR>>/debian/packit/usr/sbin'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making install in man
make[2]: Entering directory '/<<PKGBUILDDIR>>/man'
make[3]: Entering directory '/<<PKGBUILDDIR>>/man'
make[3]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/packit/usr/share/man/man8'
/usr/bin/install -c -m 644 packit.8 '/<<PKGBUILDDIR>>/debian/packit/usr/share/man/man8'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/man'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/man'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_installdocs -a
dh_installchangelogs -a
dh_installman -a
dh_perl -a
dh_link -a
dh_strip_nondeterminism -a
dh_compress -a
dh_fixperms -a
dh_strip -a
dh_makeshlibs -a
dh_shlibdeps -a
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/packit/usr/sbin/packit was not linked against ld-linux-armhf.so.3 (it uses none of the library's symbols)
dh_installdeb -a
dh_gencontrol -a
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums -a
dh_builddeb -a
dpkg-deb: building package 'packit-dbgsym' in '../packit-dbgsym_1.0-4_armhf.deb'.
dpkg-deb: building package 'packit' in '../packit_1.0-4_armhf.deb'.
dpkg-genbuildinfo --build=any
dpkg-genbuildinfo: warning: File::FcntlLock not available; using flock which is not NFS-safe
dpkg-genchanges --build=any -mRaspbian wandboard test autobuilder <root@raspbian.org> >../packit_1.0-4_armhf.changes
dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included)
dpkg-source --after-build packit-1.0
dpkg-buildpackage: info: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2016-11-27T12:22:13Z
Finished
--------
I: Built successfully
+------------------------------------------------------------------------------+
| Post Build Chroot |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| Changes |
+------------------------------------------------------------------------------+
packit_1.0-4_armhf.changes:
---------------------------
Format: 1.8
Date: Sun, 20 Nov 2016 20:45:49 -0200
Source: packit
Binary: packit
Architecture: armhf
Version: 1.0-4
Distribution: stretch-staging
Urgency: medium
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Joao Eriberto Mota Filho <eriberto@debian.org>
Description:
packit - network injection and capture tool
Changes:
packit (1.0-4) unstable; urgency=medium
.
* Bumped DH level to 10.
* debian/control:
- Bumped Standards-Version to 3.9.8.
- Updated the Vcs-* fields to use https instead of http and git.
* debian/copyright: updated the packaging copyright years.
* debian/patches/140_fix-spellings-manpage.patch: added to fix spelling
errors in manpage.
* debian/watch: bumped to version 4.
Checksums-Sha1:
3d2b6912f5b4c028fd25f93d23affaa1f1968ee1 77702 packit-dbgsym_1.0-4_armhf.deb
70cabc1dcc20f9903163daff491107e930b25ce4 4437 packit_1.0-4_armhf.buildinfo
336a5ef253ad7625bc32089575197d370c4013cf 32636 packit_1.0-4_armhf.deb
Checksums-Sha256:
d73ee09c801efdcd281fc2487e735339c540f1709132c56ab0ebd4cedf2febb6 77702 packit-dbgsym_1.0-4_armhf.deb
00afd4303daaa21401cfcf6978f08eb3c788fff2690c0752c502f356aa44b2c8 4437 packit_1.0-4_armhf.buildinfo
dd7eb4fb681c3d84fb8a3aea196c6031dbd4ce0f94ac6cb591aef10b7ca69cbe 32636 packit_1.0-4_armhf.deb
Files:
93fb81eaffe133509a32e73160877354 77702 debug extra packit-dbgsym_1.0-4_armhf.deb
c27eecd5ec5ed1acb36f0f30ebc776f9 4437 net optional packit_1.0-4_armhf.buildinfo
a476c80b495f051b379eb081a75a7818 32636 net optional packit_1.0-4_armhf.deb
+------------------------------------------------------------------------------+
| Package contents |
+------------------------------------------------------------------------------+
packit-dbgsym_1.0-4_armhf.deb
-----------------------------
new debian package, version 2.0.
size 77702 bytes: control archive=481 bytes.
393 bytes, 13 lines control
106 bytes, 1 lines md5sums
Package: packit-dbgsym
Source: packit
Version: 1.0-4
Architecture: armhf
Maintainer: Joao Eriberto Mota Filho <eriberto@debian.org>
Installed-Size: 101
Depends: packit (= 1.0-4)
Section: debug
Priority: extra
Homepage: http://packetfactory.openwall.net/projects/packit
Description: Debug symbols for packit
Auto-Built-Package: debug-symbols
Build-Ids: 985ccb8131a8f45c2c7b22ebc9529b771f4fea63
drwxr-xr-x root/root 0 2016-11-20 22:45 ./
drwxr-xr-x root/root 0 2016-11-20 22:45 ./usr/
drwxr-xr-x root/root 0 2016-11-20 22:45 ./usr/lib/
drwxr-xr-x root/root 0 2016-11-20 22:45 ./usr/lib/debug/
drwxr-xr-x root/root 0 2016-11-20 22:45 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root 0 2016-11-20 22:45 ./usr/lib/debug/.build-id/98/
-rw-r--r-- root/root 92248 2016-11-20 22:45 ./usr/lib/debug/.build-id/98/5ccb8131a8f45c2c7b22ebc9529b771f4fea63.debug
drwxr-xr-x root/root 0 2016-11-20 22:45 ./usr/share/
drwxr-xr-x root/root 0 2016-11-20 22:45 ./usr/share/doc/
lrwxrwxrwx root/root 0 2016-11-20 22:45 ./usr/share/doc/packit-dbgsym -> packit
packit_1.0-4_armhf.deb
----------------------
new debian package, version 2.0.
size 32636 bytes: control archive=1083 bytes.
1256 bytes, 31 lines control
387 bytes, 6 lines md5sums
Package: packit
Version: 1.0-4
Architecture: armhf
Maintainer: Joao Eriberto Mota Filho <eriberto@debian.org>
Installed-Size: 76
Depends: libc6 (>= 2.4), libnet1 (>= 1.1.2.1), libpcap0.8 (>= 0.9.8)
Section: net
Priority: optional
Homepage: http://packetfactory.openwall.net/projects/packit
Description: network injection and capture tool
Packit (PACket toolKIT) is a network auditing tool. It uses libpcap
and can make real packages (frames) that are able to travel in a
network. Packit also allows one to add personalized payloads. Other
good feature is the possibility to read dump files created by
tcpdump.
.
Packit has an ability to customize, inject, monitor and manipulate IP
traffic. By allowing you to define (spoof) nearly all TCP, UDP, ICMP,
IP, ARP, RARP, and Ethernet header options, Packit can be useful for
the following scenarios:
- tests in firewalls;
- tests in Intrusion Detection Systems (IDS);
- tests in Intrusion Prevention Systems (IPS);
- tests in proxies;
- tests in port scanning detectors;
- network traffic simulations;
- security tests; and
- general TCP/IP auditing and pentests.
.
Packit is also an excellent tool for learning TCP/IP. However, this
program does not support IPv6.
drwxr-xr-x root/root 0 2016-11-20 22:45 ./
drwxr-xr-x root/root 0 2016-11-20 22:45 ./usr/
drwxr-xr-x root/root 0 2016-11-20 22:45 ./usr/sbin/
-rwxr-xr-x root/root 50636 2016-11-20 22:45 ./usr/sbin/packit
drwxr-xr-x root/root 0 2016-11-20 22:45 ./usr/share/
drwxr-xr-x root/root 0 2016-11-20 22:45 ./usr/share/doc/
drwxr-xr-x root/root 0 2016-11-20 22:45 ./usr/share/doc/packit/
-rw-r--r-- root/root 1040 2003-07-28 15:53 ./usr/share/doc/packit/ICMP.txt
-rw-r--r-- root/root 1838 2016-11-20 22:45 ./usr/share/doc/packit/changelog.Debian.gz
-rw-r--r-- root/root 2493 2004-04-14 01:51 ./usr/share/doc/packit/changelog.gz
-rw-r--r-- root/root 3225 2016-11-20 22:45 ./usr/share/doc/packit/copyright
drwxr-xr-x root/root 0 2016-11-20 22:45 ./usr/share/man/
drwxr-xr-x root/root 0 2016-11-20 22:45 ./usr/share/man/man8/
-rw-r--r-- root/root 5871 2016-11-20 22:45 ./usr/share/man/man8/packit.8.gz
+------------------------------------------------------------------------------+
| Post Build |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| Cleanup |
+------------------------------------------------------------------------------+
Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
+------------------------------------------------------------------------------+
| Summary |
+------------------------------------------------------------------------------+
Build Architecture: armhf
Build-Space: 3588
Build-Time: 84
Distribution: stretch-staging
Host Architecture: armhf
Install-Time: 203
Job: packit_1.0-4
Machine Architecture: armhf
Package: packit
Package-Time: 333
Source-Version: 1.0-4
Space: 3588
Status: successful
Version: 1.0-4
--------------------------------------------------------------------------------
Finished at 2016-11-27T12:22:13Z
Build needed 00:05:33, 3588k disc space