Running as unit: rb-build-amd64_11-54812.service ==================================================================================== Thu Jun 5 13:39:30 UTC 2025 - running /srv/jenkins/bin/reproducible_build.sh (for job reproducible_builder_amd64_11) on jenkins, called using "ionos1-amd64 ionos15-amd64" as arguments. Thu Jun 5 13:39:30 UTC 2025 - actually running "reproducible_build.sh" (md5sum 44ec6a3142940d5e9a7ab76543d96029) as "/tmp/jenkins-script-LcJBtAhi" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Thu Jun 5 13:39:30 UTC 2025 - checking /var/lib/jenkins/offline_nodes if ionos1-amd64.debian.net is marked as down. Thu Jun 5 13:39:30 UTC 2025 - checking via ssh if ionos1-amd64.debian.net is up. removed '/tmp/read-only-fs-test-9EVoBc' Thu Jun 5 13:39:30 UTC 2025 - checking /var/lib/jenkins/offline_nodes if ionos15-amd64.debian.net is marked as down. Thu Jun 5 13:39:30 UTC 2025 - checking via ssh if ionos15-amd64.debian.net is up. removed '/tmp/read-only-fs-test-8PfyS6' ok, let's check if nast is building anywhere yet… ok, nast is not building anywhere… UPDATE 1 ============================================================================= Initialising reproducibly build of nast in trixie on amd64 on jenkins now. 1st build will be done on ionos1-amd64.debian.net. 2nd build will be done on ionos15-amd64.debian.net. ============================================================================= Thu Jun 5 13:39:47 UTC 2025 I: starting to build nast/trixie/amd64 on jenkins on '2025-06-05 13:39' Thu Jun 5 13:39:47 UTC 2025 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/amd64_11/54812/console.log 1749130787 amd64 trixie nast Thu Jun 5 13:39:47 UTC 2025 I: Downloading source for trixie/nast=0.2.0-12 --2025-06-05 13:39:47-- http://deb.debian.org/debian/pool/main/n/nast/nast_0.2.0-12.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1493 (1.5K) [text/prs.lines.tag] Saving to: ‘nast_0.2.0-12.dsc’ 0K . 100% 171M=0s 2025-06-05 13:39:47 (171 MB/s) - ‘nast_0.2.0-12.dsc’ saved [1493/1493] --2025-06-05 13:39:47-- http://deb.debian.org/debian/pool/main/n/nast/nast_0.2.0-12.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 1493 (1.5K) [text/prs.lines.tag] Saving to: ‘nast_0.2.0-12.dsc’ 0K . 100% 171M=0s 2025-06-05 13:39:47 (171 MB/s) - ‘nast_0.2.0-12.dsc’ saved [1493/1493] Thu Jun 5 13:39:47 UTC 2025 I: nast_0.2.0-12.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: nast Binary: nast Architecture: any Version: 0.2.0-12 Maintainer: Debian QA Group Standards-Version: 3.9.3 Vcs-Browser: https://salsa.debian.org/debian/nast Vcs-Git: https://salsa.debian.org/debian/nast.git Testsuite: autopkgtest Build-Depends: debhelper-compat (= 10), libnet1-dev, libpcap0.8-dev, libncurses5-dev Package-List: nast deb net optional arch=any Checksums-Sha1: cf7d1961e9de6a4258871b0b451815fa8751567c 147568 nast_0.2.0.orig.tar.gz 7586b11ca8acd8b60bcc3f91b77702c93b64fc24 22852 nast_0.2.0-12.debian.tar.xz Checksums-Sha256: b59adf7980563bca1f44fd6e9a6e1b3c0cfadb53df0d929b6869de53062615c1 147568 nast_0.2.0.orig.tar.gz f54f8f49213c4d424f371c715fdcca6f5b4b42c36365d89ef78b3b2a8a7e83f1 22852 nast_0.2.0-12.debian.tar.xz Files: 77cbab45f5850d6cdb7ecb10e291bfa7 147568 nast_0.2.0.orig.tar.gz 4babbe62d31c7986a7b0a46e2d038a79 22852 nast_0.2.0-12.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQFGBAEBCgAwFiEE9ecZmu9eXGflVYc/dA1oiINl0okFAmabf8ASHG5pZWxzQHRo eWtpZXIubmV0AAoJEHQNaIiDZdKJxDQIAIwom7sFeEbfdja3CzNvIg+6W07nQ3W2 SVC6CwOmMS0AD9gddKwLwavc/mEnaRH5njl/e+/VIQEqK0v/b61a0Z7EXHaJDu9U AYA/2ZgScT5e8O3LyIttOERFoxaa2GcPvt70KtyJ2Rmz7DJN0lwqg11/1sBbOcua 1FxtE7m9m7Aw439kF8W0cJCL61QNQUgrJuVZFepK5zw7Cwi1FG40XwkhDj2ha3WB Ax5M730cXpjhKpw4Z6zYqsBb4M7y8oKgBnRqqfd9YrextdRHQ8lU7f/xJYNxcz7q 2rGUXIXA1XyNg/wJxn6td926Ape6siGWYpqJ6FPJIuok7FltcBrhET0= =wf8g -----END PGP SIGNATURE----- Thu Jun 5 13:39:47 UTC 2025 I: Checking whether the package is not for us Thu Jun 5 13:39:47 UTC 2025 I: Starting 1st build on remote node ionos1-amd64.debian.net. Thu Jun 5 13:39:47 UTC 2025 I: Preparing to do remote build '1' on ionos1-amd64.debian.net. Thu Jun 5 13:39:47 UTC 2025 - checking /var/lib/jenkins/offline_nodes if ionos1-amd64.debian.net is marked as down. Thu Jun 5 13:39:47 UTC 2025 - checking via ssh if ionos1-amd64.debian.net is up. removed '/tmp/read-only-fs-test-otWhSg' ==================================================================================== Thu Jun 5 13:39:48 UTC 2025 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on ionos1-amd64, called using "1 nast trixie /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i 0.2.0-12" as arguments. Thu Jun 5 13:39:48 UTC 2025 - actually running "reproducible_build.sh" (md5sum 44ec6a3142940d5e9a7ab76543d96029) as "/tmp/jenkins-script-Q791tOfg" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Thu Jun 5 13:39:48 UTC 2025 I: Downloading source for trixie/nast=0.2.0-12 Reading package lists... NOTICE: 'nast' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/nast.git Please use: git clone https://salsa.debian.org/debian/nast.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 172 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main nast 0.2.0-12 (dsc) [1493 B] Get:2 http://deb.debian.org/debian trixie/main nast 0.2.0-12 (tar) [148 kB] Get:3 http://deb.debian.org/debian trixie/main nast 0.2.0-12 (diff) [22.9 kB] Fetched 172 kB in 0s (2371 kB/s) Download complete and in download only mode Reading package lists... NOTICE: 'nast' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/nast.git Please use: git clone https://salsa.debian.org/debian/nast.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 172 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main nast 0.2.0-12 (dsc) [1493 B] Get:2 http://deb.debian.org/debian trixie/main nast 0.2.0-12 (tar) [148 kB] Get:3 http://deb.debian.org/debian trixie/main nast 0.2.0-12 (diff) [22.9 kB] Fetched 172 kB in 0s (2371 kB/s) Download complete and in download only mode ============================================================================= Building nast in trixie on amd64 on ionos1-amd64 now. Date: Thu Jun 5 13:39:49 UTC 2025 Date UTC: Thu Jun 5 13:39:49 UTC 2025 ============================================================================= W: /root/.pbuilderrc does not exist I: Logging to b1/build.log I: pbuilder: network access will be disabled during build I: Current time: Thu Jun 5 01:39:49 -12 2025 I: pbuilder-time-stamp: 1749130789 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [nast_0.2.0-12.dsc] I: copying [./nast_0.2.0.orig.tar.gz] I: copying [./nast_0.2.0-12.debian.tar.xz] I: Extracting source error: the following required arguments were not provided: --keyring Usage: sqv --keyring --cleartext --output For more information, try '--help'. dpkg-source: warning: cannot verify inline signature for ./nast_0.2.0-12.dsc: no acceptable signature found dpkg-source: info: extracting nast in nast-0.2.0 dpkg-source: info: unpacking nast_0.2.0.orig.tar.gz dpkg-source: info: unpacking nast_0.2.0-12.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix-on-some-laptops dpkg-source: info: applying fix-manpage dpkg-source: info: applying fix-buffer-overflows dpkg-source: info: applying fix-minuses-in-manpage dpkg-source: info: applying printf-literal-format dpkg-source: info: applying configure_updates_version_0.2.0-5.2 dpkg-source: info: applying fix-hurd-build dpkg-source: info: applying fix-array-bounds-error dpkg-source: info: applying fix-spelling-errors dpkg-source: info: applying gcc-10 dpkg-source: info: applying hardening dpkg-source: info: applying mvwprintw-literal-format dpkg-source: info: applying remove-chown.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/4186138/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' DISTRIBUTION='trixie' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='123cab1e61cb4657b0f2a6315f14219a' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='4186138' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/pbuilderrc_J5r2 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/b1 --logfile b1/build.log nast_0.2.0-12.dsc' SUDO_GID='110' SUDO_UID='105' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://46.16.76.132:3128' I: uname -a Linux ionos1-amd64 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 12 19:25 /bin -> usr/bin I: user script /srv/workspace/pbuilder/4186138/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 10), libnet1-dev, libpcap0.8-dev, libncurses5-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19850 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 10); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libnet1-dev; however: Package libnet1-dev is not installed. pbuilder-satisfydepends-dummy depends on libpcap0.8-dev; however: Package libpcap0.8-dev is not installed. pbuilder-satisfydepends-dummy depends on libncurses5-dev; however: Package libncurses5-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libcap-dev{a} libdbus-1-3{a} libdbus-1-dev{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libmagic-mgc{a} libmagic1t64{a} libncurses-dev{a} libncurses6{a} libnet1{a} libnet1-dev{a} libpcap0.8-dev{a} libpcap0.8t64{a} libpipeline1{a} libpkgconf3{a} libsystemd-dev{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2{a} m4{a} man-db{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} sensible-utils{a} sgml-base{a} xml-core{a} The following packages are RECOMMENDED but will NOT be installed: curl dbus libarchive-cpio-perl libgpm2 libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 44 newly installed, 0 to remove and 0 not upgraded. Need to get 14.7 MB of archives. After unpacking 59.1 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main amd64 sensible-utils all 0.0.25 [25.0 kB] Get: 2 http://deb.debian.org/debian trixie/main amd64 libmagic-mgc amd64 1:5.46-5 [338 kB] Get: 3 http://deb.debian.org/debian trixie/main amd64 libmagic1t64 amd64 1:5.46-5 [109 kB] Get: 4 http://deb.debian.org/debian trixie/main amd64 file amd64 1:5.46-5 [43.6 kB] Get: 5 http://deb.debian.org/debian trixie/main amd64 gettext-base amd64 0.23.1-2 [243 kB] Get: 6 http://deb.debian.org/debian trixie/main amd64 libuchardet0 amd64 0.0.8-1+b2 [68.9 kB] Get: 7 http://deb.debian.org/debian trixie/main amd64 groff-base amd64 1.23.0-8 [1187 kB] Get: 8 http://deb.debian.org/debian trixie/main amd64 bsdextrautils amd64 2.41-5 [94.6 kB] Get: 9 http://deb.debian.org/debian trixie/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian trixie/main amd64 man-db amd64 2.13.1-1 [1469 kB] Get: 11 http://deb.debian.org/debian trixie/main amd64 m4 amd64 1.4.19-8 [294 kB] Get: 12 http://deb.debian.org/debian trixie/main amd64 autoconf all 2.72-3.1 [494 kB] Get: 13 http://deb.debian.org/debian trixie/main amd64 autotools-dev all 20240727.1 [60.2 kB] Get: 14 http://deb.debian.org/debian trixie/main amd64 automake all 1:1.17-4 [862 kB] Get: 15 http://deb.debian.org/debian trixie/main amd64 autopoint all 0.23.1-2 [770 kB] Get: 16 http://deb.debian.org/debian trixie/main amd64 libdebhelper-perl all 13.24.2 [90.9 kB] Get: 17 http://deb.debian.org/debian trixie/main amd64 libtool all 2.5.4-4 [539 kB] Get: 18 http://deb.debian.org/debian trixie/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main amd64 libfile-stripnondeterminism-perl all 1.14.1-2 [19.7 kB] Get: 21 http://deb.debian.org/debian trixie/main amd64 dh-strip-nondeterminism all 1.14.1-2 [8620 B] Get: 22 http://deb.debian.org/debian trixie/main amd64 libelf1t64 amd64 0.192-4 [189 kB] Get: 23 http://deb.debian.org/debian trixie/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 24 http://deb.debian.org/debian trixie/main amd64 libunistring5 amd64 1.3-2 [477 kB] Get: 25 http://deb.debian.org/debian trixie/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-1 [698 kB] Get: 26 http://deb.debian.org/debian trixie/main amd64 gettext amd64 0.23.1-2 [1680 kB] Get: 27 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.24.2 [919 kB] Get: 30 http://deb.debian.org/debian trixie/main amd64 libcap-dev amd64 1:2.75-7 [545 kB] Get: 31 http://deb.debian.org/debian trixie/main amd64 libdbus-1-3 amd64 1.16.2-2 [178 kB] Get: 32 http://deb.debian.org/debian trixie/main amd64 libsystemd-dev amd64 257.6-1 [1356 kB] Get: 33 http://deb.debian.org/debian trixie/main amd64 libpkgconf3 amd64 1.8.1-4 [36.4 kB] Get: 34 http://deb.debian.org/debian trixie/main amd64 pkgconf-bin amd64 1.8.1-4 [30.2 kB] Get: 35 http://deb.debian.org/debian trixie/main amd64 pkgconf amd64 1.8.1-4 [26.2 kB] Get: 36 http://deb.debian.org/debian trixie/main amd64 sgml-base all 1.31+nmu1 [10.9 kB] Get: 37 http://deb.debian.org/debian trixie/main amd64 xml-core all 0.19 [20.1 kB] Get: 38 http://deb.debian.org/debian trixie/main amd64 libdbus-1-dev amd64 1.16.2-2 [215 kB] Get: 39 http://deb.debian.org/debian trixie/main amd64 libncurses6 amd64 6.5+20250216-2 [105 kB] Get: 40 http://deb.debian.org/debian trixie/main amd64 libncurses-dev amd64 6.5+20250216-2 [353 kB] Get: 41 http://deb.debian.org/debian trixie/main amd64 libnet1 amd64 1.3+dfsg-2 [51.3 kB] Get: 42 http://deb.debian.org/debian trixie/main amd64 libnet1-dev amd64 1.3+dfsg-2 [118 kB] Get: 43 http://deb.debian.org/debian trixie/main amd64 libpcap0.8t64 amd64 1.10.5-2 [169 kB] Get: 44 http://deb.debian.org/debian trixie/main amd64 libpcap0.8-dev amd64 1.10.5-2 [284 kB] Fetched 14.7 MB in 1s (23.2 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19850 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.25_all.deb ... Unpacking sensible-utils (0.0.25) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.46-5_amd64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.46-5_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.46-5_amd64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-2_amd64.deb ... Unpacking gettext-base (0.23.1-2) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-8_amd64.deb ... Unpacking groff-base (1.23.0-8) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.41-5_amd64.deb ... Unpacking bsdextrautils (2.41-5) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.1-1_amd64.deb ... Unpacking man-db (2.13.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-8_amd64.deb ... Unpacking m4 (1.4.19-8) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-2_all.deb ... Unpacking autopoint (0.23.1-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.24.2_all.deb ... Unpacking libdebhelper-perl (13.24.2) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.5.4-4_all.deb ... Unpacking libtool (2.5.4-4) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.1-2_all.deb ... Unpacking dh-strip-nondeterminism (1.14.1-2) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.192-4_amd64.deb ... Unpacking libelf1t64:amd64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libunistring5:amd64. Preparing to unpack .../23-libunistring5_1.3-2_amd64.deb ... Unpacking libunistring5:amd64 (1.3-2) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.23.1-2_amd64.deb ... Unpacking gettext (0.23.1-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.24.2_all.deb ... Unpacking debhelper (13.24.2) ... Selecting previously unselected package libcap-dev:amd64. Preparing to unpack .../29-libcap-dev_1%3a2.75-7_amd64.deb ... Unpacking libcap-dev:amd64 (1:2.75-7) ... Selecting previously unselected package libdbus-1-3:amd64. Preparing to unpack .../30-libdbus-1-3_1.16.2-2_amd64.deb ... Unpacking libdbus-1-3:amd64 (1.16.2-2) ... Selecting previously unselected package libsystemd-dev:amd64. Preparing to unpack .../31-libsystemd-dev_257.6-1_amd64.deb ... Unpacking libsystemd-dev:amd64 (257.6-1) ... Selecting previously unselected package libpkgconf3:amd64. Preparing to unpack .../32-libpkgconf3_1.8.1-4_amd64.deb ... Unpacking libpkgconf3:amd64 (1.8.1-4) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../33-pkgconf-bin_1.8.1-4_amd64.deb ... Unpacking pkgconf-bin (1.8.1-4) ... Selecting previously unselected package pkgconf:amd64. Preparing to unpack .../34-pkgconf_1.8.1-4_amd64.deb ... Unpacking pkgconf:amd64 (1.8.1-4) ... Selecting previously unselected package sgml-base. Preparing to unpack .../35-sgml-base_1.31+nmu1_all.deb ... Unpacking sgml-base (1.31+nmu1) ... Selecting previously unselected package xml-core. Preparing to unpack .../36-xml-core_0.19_all.deb ... Unpacking xml-core (0.19) ... Selecting previously unselected package libdbus-1-dev:amd64. Preparing to unpack .../37-libdbus-1-dev_1.16.2-2_amd64.deb ... Unpacking libdbus-1-dev:amd64 (1.16.2-2) ... Selecting previously unselected package libncurses6:amd64. Preparing to unpack .../38-libncurses6_6.5+20250216-2_amd64.deb ... Unpacking libncurses6:amd64 (6.5+20250216-2) ... Selecting previously unselected package libncurses-dev:amd64. Preparing to unpack .../39-libncurses-dev_6.5+20250216-2_amd64.deb ... Unpacking libncurses-dev:amd64 (6.5+20250216-2) ... Selecting previously unselected package libnet1:amd64. Preparing to unpack .../40-libnet1_1.3+dfsg-2_amd64.deb ... Unpacking libnet1:amd64 (1.3+dfsg-2) ... Selecting previously unselected package libnet1-dev:amd64. Preparing to unpack .../41-libnet1-dev_1.3+dfsg-2_amd64.deb ... Unpacking libnet1-dev:amd64 (1.3+dfsg-2) ... Selecting previously unselected package libpcap0.8t64:amd64. Preparing to unpack .../42-libpcap0.8t64_1.10.5-2_amd64.deb ... Unpacking libpcap0.8t64:amd64 (1.10.5-2) ... Selecting previously unselected package libpcap0.8-dev:amd64. Preparing to unpack .../43-libpcap0.8-dev_1.10.5-2_amd64.deb ... Unpacking libpcap0.8-dev:amd64 (1.10.5-2) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up bsdextrautils (2.41-5) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.24.2) ... Setting up libmagic1t64:amd64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2) ... Setting up m4 (1.4.19-8) ... Setting up file (1:5.46-5) ... Setting up libnet1:amd64 (1.3+dfsg-2) ... Setting up libelf1t64:amd64 (0.192-4) ... Setting up autotools-dev (20240727.1) ... Setting up libpkgconf3:amd64 (1.8.1-4) ... Setting up libncurses6:amd64 (6.5+20250216-2) ... Setting up libdbus-1-3:amd64 (1.16.2-2) ... Setting up libunistring5:amd64 (1.3-2) ... Setting up autopoint (0.23.1-2) ... Setting up pkgconf-bin (1.8.1-4) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.25) ... Setting up libuchardet0:amd64 (0.0.8-1+b2) ... Setting up libpcap0.8t64:amd64 (1.10.5-2) ... Setting up sgml-base (1.31+nmu1) ... Setting up libcap-dev:amd64 (1:2.75-7) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-1) ... Setting up libsystemd-dev:amd64 (257.6-1) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.1-2) ... Setting up libncurses-dev:amd64 (6.5+20250216-2) ... Setting up gettext (0.23.1-2) ... Setting up libtool (2.5.4-4) ... Setting up libnet1-dev:amd64 (1.3+dfsg-2) ... Setting up pkgconf:amd64 (1.8.1-4) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.1-2) ... Setting up groff-base (1.23.0-8) ... Setting up xml-core (0.19) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.24.2) ... Processing triggers for libc-bin (2.41-8) ... Processing triggers for sgml-base (1.31+nmu1) ... Setting up libdbus-1-dev:amd64 (1.16.2-2) ... Setting up libpcap0.8-dev:amd64 (1.10.5-2) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/nast-0.2.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../nast_0.2.0-12_source.changes dpkg-buildpackage: info: source package nast dpkg-buildpackage: info: source version 0.2.0-12 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Niels Thykier dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config dh_auto_configure ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking Please wait, I'm going to configure Nast 0.2.0 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu configure: Found Linux, happy day! checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for libnet_name2addr4 in -lnet... yes checking for pcap_dispatch in -lpcap... yes checking for initscr in -lncurses... yes checking for menu_opts_off in -lmenu... yes checking for pthread_create in -lpthread... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... no 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 errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for getopt_long... yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h Ok. I have done with all. Results are: PLATFORM ...... : x86_64 unknown O.S. .......... : Linux 6.1.0-37-amd64 (ionos1-amd64) COMPILER ...... : gcc CFLAGS ........ : -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 CPPFLAGS ...... : -Wdate-time -D_FORTIFY_SOURCE=2 LDFLAGS ....... : -Wl,-z,relro -Wl,-z,now LIBS .......... : -lpthread -lmenu -lncurses -lpcap -lnet PREFIX ........ : /usr NCURSES SUPPORT : yes Type 'make' to compile or 'make help' to show accepted options. dh_auto_build make -j40 make[1]: Entering directory '/build/reproducible-path/nast-0.2.0' gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c main.c -o main.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c dev.c -o dev.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c tcp.c -o tcp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c icmp.c -o icmp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c arp.c -o arp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c udp.c -o udp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c prom.c -o prom.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c eth.c -o eth.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c map.c -o map.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c sniff.c -o sniff.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c data.c -o data.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c rst.c -o rst.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c fgw.c -o fgw.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c flink.c -o flink.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c port.c -o port.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c common.c -o common.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c stream.c -o stream.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c igmp.c -o igmp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c bcount.c -o bcount.o udp.c: In function 'handle_UDP': udp.c:59:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 59 | buf = (char *) (packet + size_ip + size_udp + offset); | ^ udp.c:64:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 64 | data_sniffo (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from udp.c:22: include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ udp.c:70:31: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] 70 | print_ascii_hex (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ~~~~~~^~~~~~~~~ udp.c:81:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 81 | data_sniffo (buf, size_buf, ldd); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c error.c -o error.o main.c: In function 'main': main.c:309:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 309 | if(dev == NULL) dev = pcap_lookupdev(errbuf); | ^~ In file included from /usr/include/pcap.h:43, from include/nast.h:24, from main.c:20: /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_menu.c -o ncurses/n_menu.o prom.c: In function 'psearch': main.c:349:36: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign] 349 | if (flags.banner) return mport (dev, ports, flags.l); | ^~~ | | | char * include/nast.h:69:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 69 | int mport (u_char *dev, u_short ports[], int lg); | ~~~~~~~~^~~ main.c:356:30: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign] 356 | if (flags.gw) return fgw (dev); | ^~~ | | | char * include/nast.h:65:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 65 | int fgw (u_char *dev); | ~~~~~~~~^~~ main.c:357:32: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign] 357 | if (flags.lk) return flink (dev); | ^~~ | | | char * include/nast.h:67:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | int flink (u_char *dev); | ~~~~~~~~^~~ prom.c:171:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 171 | sprintf (ip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:523, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53, from include/nast.h:23, from prom.c:20: /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ prom.c:172:95: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 172 | n_print ("princ",ln,1,lg,"%s (%s) --------->", ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:79: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ tcp.c: In function 'handle_TCP': icmp.c: In function 'handle_ICMP': tcp.c:101:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 101 | buf = (char *) (packet + offset + size_ip + size_tcp); | ^ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_scroll_win.c -o ncurses/n_scroll_win.o tcp.c:106:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 106 | data_sniffo (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from tcp.c:20: include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ tcp.c:112:31: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] 112 | print_ascii_hex (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ~~~~~~^~~~~~~~~ tcp.c:124:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 124 | data_sniffo (buf, size_buf, ldd); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ icmp.c:206:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 206 | buf = (char *) (packet + size_ip + size_icmp + offset); | ^ icmp.c:211:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 211 | data_sniffo (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from icmp.c:20: include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ icmp.c:218:31: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] 218 | print_ascii_hex (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ~~~~~~^~~~~~~~~ icmp.c:226:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 226 | data_sniffo (buf, size_buf, ldd); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_comm.c -o ncurses/n_comm.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_stream.c -o ncurses/n_stream.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_conn.c -o ncurses/n_conn.o map.c: In function 'map_lan': map.c:117:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 117 | if (*net != '.') return NULL; ++net; | ^~ map.c:117:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 117 | if (*net != '.') return NULL; ++net; | ^~ map.c:119:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 119 | if (*net != '.') return NULL; ++net; | ^~ map.c:119:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 119 | if (*net != '.') return NULL; ++net; | ^~ map.c:121:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 121 | if (*net != '.') return NULL; ++net; | ^~ map.c:121:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 121 | if (*net != '.') return NULL; ++net; | ^~ map.c:134:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 134 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:134:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 134 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:136:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 136 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:136:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 136 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:138:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 138 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:138:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 138 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:199:27: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 199 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ map.c:209:32: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 209 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ map.c:225:40: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 225 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ map.c:247:45: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 247 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_rst.c -o ncurses/n_rst.o map.c: In function 'arpreply': map.c:346:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 346 | sprintf (ip, "%d.%d.%d.%d", arp->__ar_sip[0],arp->__ar_sip[1],arp->__ar_sip[2],arp->__ar_sip[3]); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:523, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53, from include/nast.h:23, from map.c:36: /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ map.c:355:135: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 355 | n_print("princ",line,1,lg,"%s \t%s (%s)\n", nast_hex_ntoa (eptr->ether_shost), ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:79: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ map.c: In function 'map_lan': map.c:150:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 150 | fgets(r, 3, stdin); | ^~~~~~~~~~~~~~~~~~ main.c:223:25: warning: 'L' may be used uninitialized [-Wmaybe-uninitialized] 223 | anip = libnet_name2addr4(L, optarg, LIBNET_RESOLVE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:77:14: note: 'L' was declared here 77 | libnet_t *L; | ^ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_nast.c -o ncurses/n_nast.o sniff.c:24:150: warning: argument 10 of type 'char *' declared as a pointer [-Warray-parameter=] 24 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char *ldname); | ~~~~~~^~~~~~ In file included from sniff.c:20: include/nast.h:49:149: note: previously declared as an array 'char[50]' 49 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char ldname[50]); | ~~~~~^~~~~~~~~~ sniff.c:27:150: warning: argument 10 of type 'char *' declared as a pointer [-Warray-parameter=] 27 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char *ldname) | ~~~~~~^~~~~~ include/nast.h:49:149: note: previously declared as an array 'char[50]' 49 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char ldname[50]); | ~~~~~^~~~~~~~~~ fgw.c: In function 'fgw': fgw.c:39:9: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 39 | "66.102.11.99" | ^~~~~~~~~~~~~~ fgw.c:39:9: note: (near initialization for 'extip') fgw.c:86:34: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 86 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:109, from include/nast.h:23, from fgw.c:32: /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ fgw.c:86:39: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 86 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ fgw.c:92:34: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 92 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ fgw.c:92:39: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 92 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ fgw.c:101:120: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] 101 | if (libnet_build_ipv4 (LIBNET_TCP_H + LIBNET_IPV4_H, 0x08, 35320, 0, 64, IPPROTO_TCP, 0, myip, libnet_name2addr4(l, extip, LIBNET_DONT_RESOLVE), NULL, 0, l, 0)==-1) | ^~~~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:257:44: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 257 | libnet_name2addr4(libnet_t *l, const char *host_name, uint8_t use_name); | ~~~~~~~~~~~~^~~~~~~~~ fgw.c:111:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 111 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ fgw.c:143:24: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 143 | pcap_lookupnet(dev,&netp,&maskp,ebuf); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24: /usr/include/pcap/pcap.h:447:32: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 447 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~~~~~~~ fgw.c:143:41: warning: pointer targets in passing argument 4 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 143 | pcap_lookupnet(dev,&netp,&maskp,ebuf); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:447:76: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 447 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~ fgw.c:145:34: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 145 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ fgw.c:145:64: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 145 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:564:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ fgw.c:198:117: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 198 | if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip))) | ^~~~~ | | | u_char * {aka unsigned char *} bcount.c: In function 'bytecounting': bcount.c:123:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] 123 | int line; | ^~~~ In file included from /usr/include/libnet.h:54: /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ bcount.c: In function 'n_bytecounting': bcount.c:224:14: warning: variable 'l' set but not used [-Wunused-but-set-variable] 224 | int line, l; | ^ bcount.c:224:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] 224 | int line, l; | ^~~~ flink.c: In function 'flink': flink.c:73:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 73 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from flink.c:22: include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ flink.c:88:45: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 88 | if ((l = libnet_init (LIBNET_RAW4, NULL, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:109, from include/nast.h:23: /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ flink.c:116:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 116 | sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:523, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53: /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ flink.c:117:130: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 117 | if ( (ptag = libnet_build_ipv4(LIBNET_ICMPV4_ECHO_H + LIBNET_IPV4_H, 0x00, 1000, 0, 64, IPPROTO_ICMP, 0, myip, inet_addr(testip), NULL, 0, l, ptag)) ==-1) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:79: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ flink.c:131:34: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 131 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24: /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ flink.c:131:64: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 131 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:564:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ flink.c:163:36: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] 163 | if ((offset = (device(dev,p)))==-1) return -1; | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ flink.c:168:50: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 168 | if ((ip->ip_src.s_addr == inet_addr(testip)) && icmp->icmp_type==ICMP_ECHOREPLY && icmp->icmp_id == 1000) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ flink.c:178:29: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 178 | sprintf(testip, "%d.%d.%d.%d", uphost[1].ip[0], uphost[1].ip[1], uphost[1].ip[2], uphost[1].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} port.c: In function 'mport': port.c:347:25: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 347 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from port.c:20: include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ port.c:466:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 466 | x = strlen(tmpbuf); | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ flink.c:180:29: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 180 | sprintf(testip, "%d.%d.%d.%d", uphost[0].ip[0], uphost[0].ip[1], uphost[0].ip[2], uphost[0].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ flink.c:182:42: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 182 | if ( (ip_src=inet_addr(testip)) == -1) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ flink.c:215:39: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 215 | if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ flink.c:215:44: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 215 | if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ flink.c:247:29: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 247 | if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ flink.c:247:55: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 247 | if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:564:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ flink.c:291:26: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] 291 | offset = (device(dev,p)); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ In file included from /usr/include/libnet.h:54, from include/nast.h:23: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ port.c:309:21: warning: variable 'bsent' set but not used [-Wunused-but-set-variable] 309 | int sd, r, size, bsent,z,k,x,y; | ^~~~~ port.c: In function 'mhport': port.c:615:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 615 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ port.c:635:25: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 635 | dev, /* network interface */ | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:109: /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ port.c:647:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 647 | sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:523, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53: /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ port.c:654:24: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 654 | pcap_lookupnet(dev,&netp,&maskp,errbuf); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24: /usr/include/pcap/pcap.h:447:32: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 447 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~~~~~~~ port.c:658:38: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 658 | if ((descr = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10,errbuf)) == NULL) | ^~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ port.c:665:29: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] 665 | if ((offset=(device(dev,descr)))==-1) return -1; | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ port.c:707:56: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 707 | inet_addr(testip), /* destination IP */ | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:79: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ port.c:584:8: warning: variable 'linep' set but not used [-Wunused-but-set-variable] 584 | int linep; | ^~~~~ common.c: In function 'runcplx': port.c: In function 'mport': common.c:202:17: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign] 202 | mhport (dev,plist_p,l); | ^~~ | | | char * port.c:517:19: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 517 | write (sd, "\n\n", 2); | ^~~~~~~~~~~~~~~~~~~~~ In file included from common.c:24: include/nast.h:70:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); | ~~~~~~~~^~~ common.c: In function 'n_print': common.c:295:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] 295 | int n; | ^ common.c: In function 'runcplx': common.c:62:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:73:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:79:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:90:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 90 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:115:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:124:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:132:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:142:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 142 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:157:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 157 | fgets(buff ,50 ,stdin); | ^~~~~~~~~~~~~~~~~~~~~~ common.c:166:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 166 | fgets(buff ,50 ,stdin); | ^~~~~~~~~~~~~~~~~~~~~~ common.c:188:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 188 | fgets(buff ,50 ,stdin); | ^~~~~~~~~~~~~~~~~~~~~~ ncurses/n_menu.c: In function 'nmenu': ncurses/n_menu.c:97:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable] 97 | int ris; | ^~~ ncurses/n_nast.c: In function 'main_graph': ncurses/n_nast.c:511:34: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] 511 | if(currfil==0) | ^~ ncurses/n_nast.c:75:9: note: 'currfil' declared here 75 | char currfil[200]; | ^~~~~~~ ncurses/n_nast.c:631:34: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] 631 | if(currfil==0) | ^~ ncurses/n_nast.c:75:9: note: 'currfil' declared here 75 | char currfil[200]; | ^~~~~~~ ncurses/n_menu.c: In function 'analyzer_menu': ncurses/n_menu.c:783:21: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign] 783 | fgw (dev); | ^~~ | | | char * In file included from ncurses/n_nast.h:20, from ncurses/n_menu.c:20: ncurses/../include/nast.h:65:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 65 | int fgw (u_char *dev); | ~~~~~~~~^~~ ncurses/n_comm.c: In function 'shutdown_thread': ncurses/n_comm.c:209:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable] 209 | int ris,i,ret; | ^~~ ncurses/n_menu.c:944:24: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign] 944 | mhport (dev,plist_p,lr); | ^~~ | | | char * ncurses/../include/nast.h:70:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); | ~~~~~~~~^~~ ncurses/n_menu.c:961:22: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign] 961 | flink(dev); | ^~~ | | | char * ncurses/n_stream.c: In function 'read_packet': ncurses/n_stream.c:120:9: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 120 | data = packet = NULL; | ^ error.c: In function 'w_error': error.c:32:10: warning: variable 'ris' set but not used [-Wunused-but-set-variable] 32 | int n,ris; | ^~~ error.c:32:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] 32 | int n,ris; | ^ ncurses/../include/nast.h:67:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | int flink (u_char *dev); | ~~~~~~~~^~~ ncurses/n_menu.c:978:22: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign] 978 | mport(dev,ports,lr); | ^~~ | | | char * ncurses/../include/nast.h:69:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 69 | int mport (u_char *dev, u_short ports[], int lg); | ~~~~~~~~^~~ ncurses/n_menu.c: In function 's_select': ncurses/n_menu.c:1542:24: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] 1542 | if(currfil==0) | ^~ ncurses/n_menu.c:1460:9: note: 'currfil' declared here 1460 | char currfil[200]; | ^~~~~~~ ncurses/n_menu.c: In function 'r_select': ncurses/n_menu.c:1671:24: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] 1671 | if(currfil==0) | ^~ ncurses/n_menu.c:1562:9: note: 'currfil' declared here 1562 | char currfil[200]; | ^~~~~~~ port.c:488:29: warning: array subscript -2 is below array bounds of 'char[1024]' [-Warray-bounds=] 488 | if (banner[r-1]=='\n') banner[r-1]='\0'; | ~~~~~~^~~~~ port.c:305:9: note: while referencing 'banner' 305 | char banner[1024]; | ^~~~~~ port.c:488:48: warning: array subscript -2 is below array bounds of 'char[1024]' [-Warray-bounds=] 488 | if (banner[r-1]=='\n') banner[r-1]='\0'; | ~~~~~~^~~~~ port.c:305:9: note: while referencing 'banner' 305 | char banner[1024]; | ^~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wl,-z,relro -Wl,-z,now -o nast main.o dev.o tcp.o icmp.o arp.o udp.o prom.o eth.o map.o sniff.o data.o rst.o fgw.o flink.o port.o common.o stream.o igmp.o bcount.o error.o ncurses/n_menu.o ncurses/n_scroll_win.o ncurses/n_comm.o ncurses/n_stream.o ncurses/n_conn.o ncurses/n_rst.o ncurses/n_nast.o -lpthread -lmenu -lncurses -lpcap -lnet Done! Type make install from root make[1]: Leaving directory '/build/reproducible-path/nast-0.2.0' dh_auto_test create-stamp debian/debhelper-build-stamp dh_prep dh_installdirs debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/nast-0.2.0' /usr/bin/make install prefix=/build/reproducible-path/nast-0.2.0/debian/nast/usr make[2]: Entering directory '/build/reproducible-path/nast-0.2.0' cp -fR nast /build/reproducible-path/nast-0.2.0/debian/nast/usr/bin cp -fR nast.8 /build/reproducible-path/nast-0.2.0/debian/nast/usr/share/man/man8/ Run with nast (-h for help), enjoy! Use -G flag to run in ncurses interface make[2]: Leaving directory '/build/reproducible-path/nast-0.2.0' make[1]: Leaving directory '/build/reproducible-path/nast-0.2.0' dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_strip dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'nast' in '../nast_0.2.0-12_amd64.deb'. dpkg-deb: building package 'nast-dbgsym' in '../nast-dbgsym_0.2.0-12_amd64.deb'. dpkg-genbuildinfo --build=binary -O../nast_0.2.0-12_amd64.buildinfo dpkg-genchanges --build=binary -O../nast_0.2.0-12_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/4186138 and its subdirectories I: Current time: Thu Jun 5 01:43:08 -12 2025 I: pbuilder-time-stamp: 1749130988 Thu Jun 5 13:43:08 UTC 2025 I: Signing ./b1/nast_0.2.0-12_amd64.buildinfo as nast_0.2.0-12_amd64.buildinfo.asc Thu Jun 5 13:43:08 UTC 2025 I: Signed ./b1/nast_0.2.0-12_amd64.buildinfo as ./b1/nast_0.2.0-12_amd64.buildinfo.asc Thu Jun 5 13:43:08 UTC 2025 - build #1 for nast/trixie/amd64 on ionos1-amd64 done. Starting cleanup. All cleanup done. Thu Jun 5 13:43:08 UTC 2025 - reproducible_build.sh stopped running as /tmp/jenkins-script-Q791tOfg, removing. /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i: total 16 drwxr-xr-x 2 jenkins jenkins 4096 Jun 5 13:43 b1 drwxr-xr-x 2 jenkins jenkins 4096 Jun 5 13:39 b2 -rw-r--r-- 1 jenkins jenkins 1493 Jul 20 2024 nast_0.2.0-12.dsc -rw------- 1 jenkins jenkins 2573 Jun 5 13:39 rbuildlog.M0rm3U5 /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/b1: total 340 -rw-r--r-- 1 jenkins jenkins 85901 Jun 5 13:43 build.log -rw-r--r-- 1 jenkins jenkins 141096 Jun 5 13:43 nast-dbgsym_0.2.0-12_amd64.deb -rw-r--r-- 1 jenkins jenkins 22852 Jun 5 13:43 nast_0.2.0-12.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 1493 Jun 5 13:43 nast_0.2.0-12.dsc -rw-r--r-- 1 jenkins jenkins 5278 Jun 5 13:43 nast_0.2.0-12_amd64.buildinfo -rw-r--r-- 1 jenkins jenkins 6160 Jun 5 13:43 nast_0.2.0-12_amd64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1314 Jun 5 13:43 nast_0.2.0-12_amd64.changes -rw-r--r-- 1 jenkins jenkins 63132 Jun 5 13:43 nast_0.2.0-12_amd64.deb -rw-r--r-- 1 jenkins jenkins 1196 Jun 5 13:43 nast_0.2.0-12_source.changes /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/b2: total 0 Thu Jun 5 13:43:09 UTC 2025 I: Deleting $TMPDIR on ionos1-amd64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Thu Jun 5 01:39:49 -12 2025 I: pbuilder-time-stamp: 1749130789 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [nast_0.2.0-12.dsc] I: copying [./nast_0.2.0.orig.tar.gz] I: copying [./nast_0.2.0-12.debian.tar.xz] I: Extracting source error: the following required arguments were not provided: --keyring Usage: sqv --keyring --cleartext --output For more information, try '--help'. dpkg-source: warning: cannot verify inline signature for ./nast_0.2.0-12.dsc: no acceptable signature found dpkg-source: info: extracting nast in nast-0.2.0 dpkg-source: info: unpacking nast_0.2.0.orig.tar.gz dpkg-source: info: unpacking nast_0.2.0-12.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix-on-some-laptops dpkg-source: info: applying fix-manpage dpkg-source: info: applying fix-buffer-overflows dpkg-source: info: applying fix-minuses-in-manpage dpkg-source: info: applying printf-literal-format dpkg-source: info: applying configure_updates_version_0.2.0-5.2 dpkg-source: info: applying fix-hurd-build dpkg-source: info: applying fix-array-bounds-error dpkg-source: info: applying fix-spelling-errors dpkg-source: info: applying gcc-10 dpkg-source: info: applying hardening dpkg-source: info: applying mvwprintw-literal-format dpkg-source: info: applying remove-chown.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/4186138/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' DISTRIBUTION='trixie' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='123cab1e61cb4657b0f2a6315f14219a' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='4186138' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/pbuilderrc_J5r2 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/b1 --logfile b1/build.log nast_0.2.0-12.dsc' SUDO_GID='110' SUDO_UID='105' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://46.16.76.132:3128' I: uname -a Linux ionos1-amd64 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 12 19:25 /bin -> usr/bin I: user script /srv/workspace/pbuilder/4186138/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 10), libnet1-dev, libpcap0.8-dev, libncurses5-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19850 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 10); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libnet1-dev; however: Package libnet1-dev is not installed. pbuilder-satisfydepends-dummy depends on libpcap0.8-dev; however: Package libpcap0.8-dev is not installed. pbuilder-satisfydepends-dummy depends on libncurses5-dev; however: Package libncurses5-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libcap-dev{a} libdbus-1-3{a} libdbus-1-dev{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libmagic-mgc{a} libmagic1t64{a} libncurses-dev{a} libncurses6{a} libnet1{a} libnet1-dev{a} libpcap0.8-dev{a} libpcap0.8t64{a} libpipeline1{a} libpkgconf3{a} libsystemd-dev{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2{a} m4{a} man-db{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} sensible-utils{a} sgml-base{a} xml-core{a} The following packages are RECOMMENDED but will NOT be installed: curl dbus libarchive-cpio-perl libgpm2 libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 44 newly installed, 0 to remove and 0 not upgraded. Need to get 14.7 MB of archives. After unpacking 59.1 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main amd64 sensible-utils all 0.0.25 [25.0 kB] Get: 2 http://deb.debian.org/debian trixie/main amd64 libmagic-mgc amd64 1:5.46-5 [338 kB] Get: 3 http://deb.debian.org/debian trixie/main amd64 libmagic1t64 amd64 1:5.46-5 [109 kB] Get: 4 http://deb.debian.org/debian trixie/main amd64 file amd64 1:5.46-5 [43.6 kB] Get: 5 http://deb.debian.org/debian trixie/main amd64 gettext-base amd64 0.23.1-2 [243 kB] Get: 6 http://deb.debian.org/debian trixie/main amd64 libuchardet0 amd64 0.0.8-1+b2 [68.9 kB] Get: 7 http://deb.debian.org/debian trixie/main amd64 groff-base amd64 1.23.0-8 [1187 kB] Get: 8 http://deb.debian.org/debian trixie/main amd64 bsdextrautils amd64 2.41-5 [94.6 kB] Get: 9 http://deb.debian.org/debian trixie/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian trixie/main amd64 man-db amd64 2.13.1-1 [1469 kB] Get: 11 http://deb.debian.org/debian trixie/main amd64 m4 amd64 1.4.19-8 [294 kB] Get: 12 http://deb.debian.org/debian trixie/main amd64 autoconf all 2.72-3.1 [494 kB] Get: 13 http://deb.debian.org/debian trixie/main amd64 autotools-dev all 20240727.1 [60.2 kB] Get: 14 http://deb.debian.org/debian trixie/main amd64 automake all 1:1.17-4 [862 kB] Get: 15 http://deb.debian.org/debian trixie/main amd64 autopoint all 0.23.1-2 [770 kB] Get: 16 http://deb.debian.org/debian trixie/main amd64 libdebhelper-perl all 13.24.2 [90.9 kB] Get: 17 http://deb.debian.org/debian trixie/main amd64 libtool all 2.5.4-4 [539 kB] Get: 18 http://deb.debian.org/debian trixie/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main amd64 libfile-stripnondeterminism-perl all 1.14.1-2 [19.7 kB] Get: 21 http://deb.debian.org/debian trixie/main amd64 dh-strip-nondeterminism all 1.14.1-2 [8620 B] Get: 22 http://deb.debian.org/debian trixie/main amd64 libelf1t64 amd64 0.192-4 [189 kB] Get: 23 http://deb.debian.org/debian trixie/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 24 http://deb.debian.org/debian trixie/main amd64 libunistring5 amd64 1.3-2 [477 kB] Get: 25 http://deb.debian.org/debian trixie/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-1 [698 kB] Get: 26 http://deb.debian.org/debian trixie/main amd64 gettext amd64 0.23.1-2 [1680 kB] Get: 27 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.24.2 [919 kB] Get: 30 http://deb.debian.org/debian trixie/main amd64 libcap-dev amd64 1:2.75-7 [545 kB] Get: 31 http://deb.debian.org/debian trixie/main amd64 libdbus-1-3 amd64 1.16.2-2 [178 kB] Get: 32 http://deb.debian.org/debian trixie/main amd64 libsystemd-dev amd64 257.6-1 [1356 kB] Get: 33 http://deb.debian.org/debian trixie/main amd64 libpkgconf3 amd64 1.8.1-4 [36.4 kB] Get: 34 http://deb.debian.org/debian trixie/main amd64 pkgconf-bin amd64 1.8.1-4 [30.2 kB] Get: 35 http://deb.debian.org/debian trixie/main amd64 pkgconf amd64 1.8.1-4 [26.2 kB] Get: 36 http://deb.debian.org/debian trixie/main amd64 sgml-base all 1.31+nmu1 [10.9 kB] Get: 37 http://deb.debian.org/debian trixie/main amd64 xml-core all 0.19 [20.1 kB] Get: 38 http://deb.debian.org/debian trixie/main amd64 libdbus-1-dev amd64 1.16.2-2 [215 kB] Get: 39 http://deb.debian.org/debian trixie/main amd64 libncurses6 amd64 6.5+20250216-2 [105 kB] Get: 40 http://deb.debian.org/debian trixie/main amd64 libncurses-dev amd64 6.5+20250216-2 [353 kB] Get: 41 http://deb.debian.org/debian trixie/main amd64 libnet1 amd64 1.3+dfsg-2 [51.3 kB] Get: 42 http://deb.debian.org/debian trixie/main amd64 libnet1-dev amd64 1.3+dfsg-2 [118 kB] Get: 43 http://deb.debian.org/debian trixie/main amd64 libpcap0.8t64 amd64 1.10.5-2 [169 kB] Get: 44 http://deb.debian.org/debian trixie/main amd64 libpcap0.8-dev amd64 1.10.5-2 [284 kB] Fetched 14.7 MB in 1s (23.2 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19850 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.25_all.deb ... Unpacking sensible-utils (0.0.25) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.46-5_amd64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.46-5_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.46-5_amd64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-2_amd64.deb ... Unpacking gettext-base (0.23.1-2) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-8_amd64.deb ... Unpacking groff-base (1.23.0-8) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.41-5_amd64.deb ... Unpacking bsdextrautils (2.41-5) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.1-1_amd64.deb ... Unpacking man-db (2.13.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-8_amd64.deb ... Unpacking m4 (1.4.19-8) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-2_all.deb ... Unpacking autopoint (0.23.1-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.24.2_all.deb ... Unpacking libdebhelper-perl (13.24.2) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.5.4-4_all.deb ... Unpacking libtool (2.5.4-4) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.1-2_all.deb ... Unpacking dh-strip-nondeterminism (1.14.1-2) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.192-4_amd64.deb ... Unpacking libelf1t64:amd64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libunistring5:amd64. Preparing to unpack .../23-libunistring5_1.3-2_amd64.deb ... Unpacking libunistring5:amd64 (1.3-2) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.23.1-2_amd64.deb ... Unpacking gettext (0.23.1-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.24.2_all.deb ... Unpacking debhelper (13.24.2) ... Selecting previously unselected package libcap-dev:amd64. Preparing to unpack .../29-libcap-dev_1%3a2.75-7_amd64.deb ... Unpacking libcap-dev:amd64 (1:2.75-7) ... Selecting previously unselected package libdbus-1-3:amd64. Preparing to unpack .../30-libdbus-1-3_1.16.2-2_amd64.deb ... Unpacking libdbus-1-3:amd64 (1.16.2-2) ... Selecting previously unselected package libsystemd-dev:amd64. Preparing to unpack .../31-libsystemd-dev_257.6-1_amd64.deb ... Unpacking libsystemd-dev:amd64 (257.6-1) ... Selecting previously unselected package libpkgconf3:amd64. Preparing to unpack .../32-libpkgconf3_1.8.1-4_amd64.deb ... Unpacking libpkgconf3:amd64 (1.8.1-4) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../33-pkgconf-bin_1.8.1-4_amd64.deb ... Unpacking pkgconf-bin (1.8.1-4) ... Selecting previously unselected package pkgconf:amd64. Preparing to unpack .../34-pkgconf_1.8.1-4_amd64.deb ... Unpacking pkgconf:amd64 (1.8.1-4) ... Selecting previously unselected package sgml-base. Preparing to unpack .../35-sgml-base_1.31+nmu1_all.deb ... Unpacking sgml-base (1.31+nmu1) ... Selecting previously unselected package xml-core. Preparing to unpack .../36-xml-core_0.19_all.deb ... Unpacking xml-core (0.19) ... Selecting previously unselected package libdbus-1-dev:amd64. Preparing to unpack .../37-libdbus-1-dev_1.16.2-2_amd64.deb ... Unpacking libdbus-1-dev:amd64 (1.16.2-2) ... Selecting previously unselected package libncurses6:amd64. Preparing to unpack .../38-libncurses6_6.5+20250216-2_amd64.deb ... Unpacking libncurses6:amd64 (6.5+20250216-2) ... Selecting previously unselected package libncurses-dev:amd64. Preparing to unpack .../39-libncurses-dev_6.5+20250216-2_amd64.deb ... Unpacking libncurses-dev:amd64 (6.5+20250216-2) ... Selecting previously unselected package libnet1:amd64. Preparing to unpack .../40-libnet1_1.3+dfsg-2_amd64.deb ... Unpacking libnet1:amd64 (1.3+dfsg-2) ... Selecting previously unselected package libnet1-dev:amd64. Preparing to unpack .../41-libnet1-dev_1.3+dfsg-2_amd64.deb ... Unpacking libnet1-dev:amd64 (1.3+dfsg-2) ... Selecting previously unselected package libpcap0.8t64:amd64. Preparing to unpack .../42-libpcap0.8t64_1.10.5-2_amd64.deb ... Unpacking libpcap0.8t64:amd64 (1.10.5-2) ... Selecting previously unselected package libpcap0.8-dev:amd64. Preparing to unpack .../43-libpcap0.8-dev_1.10.5-2_amd64.deb ... Unpacking libpcap0.8-dev:amd64 (1.10.5-2) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up bsdextrautils (2.41-5) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.24.2) ... Setting up libmagic1t64:amd64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2) ... Setting up m4 (1.4.19-8) ... Setting up file (1:5.46-5) ... Setting up libnet1:amd64 (1.3+dfsg-2) ... Setting up libelf1t64:amd64 (0.192-4) ... Setting up autotools-dev (20240727.1) ... Setting up libpkgconf3:amd64 (1.8.1-4) ... Setting up libncurses6:amd64 (6.5+20250216-2) ... Setting up libdbus-1-3:amd64 (1.16.2-2) ... Setting up libunistring5:amd64 (1.3-2) ... Setting up autopoint (0.23.1-2) ... Setting up pkgconf-bin (1.8.1-4) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.25) ... Setting up libuchardet0:amd64 (0.0.8-1+b2) ... Setting up libpcap0.8t64:amd64 (1.10.5-2) ... Setting up sgml-base (1.31+nmu1) ... Setting up libcap-dev:amd64 (1:2.75-7) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-1) ... Setting up libsystemd-dev:amd64 (257.6-1) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.1-2) ... Setting up libncurses-dev:amd64 (6.5+20250216-2) ... Setting up gettext (0.23.1-2) ... Setting up libtool (2.5.4-4) ... Setting up libnet1-dev:amd64 (1.3+dfsg-2) ... Setting up pkgconf:amd64 (1.8.1-4) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.1-2) ... Setting up groff-base (1.23.0-8) ... Setting up xml-core (0.19) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.24.2) ... Processing triggers for libc-bin (2.41-8) ... Processing triggers for sgml-base (1.31+nmu1) ... Setting up libdbus-1-dev:amd64 (1.16.2-2) ... Setting up libpcap0.8-dev:amd64 (1.10.5-2) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/nast-0.2.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../nast_0.2.0-12_source.changes dpkg-buildpackage: info: source package nast dpkg-buildpackage: info: source version 0.2.0-12 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Niels Thykier dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config dh_auto_configure ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking Please wait, I'm going to configure Nast 0.2.0 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu configure: Found Linux, happy day! checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for libnet_name2addr4 in -lnet... yes checking for pcap_dispatch in -lpcap... yes checking for initscr in -lncurses... yes checking for menu_opts_off in -lmenu... yes checking for pthread_create in -lpthread... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... no 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 errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for getopt_long... yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h Ok. I have done with all. Results are: PLATFORM ...... : x86_64 unknown O.S. .......... : Linux 6.1.0-37-amd64 (ionos1-amd64) COMPILER ...... : gcc CFLAGS ........ : -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 CPPFLAGS ...... : -Wdate-time -D_FORTIFY_SOURCE=2 LDFLAGS ....... : -Wl,-z,relro -Wl,-z,now LIBS .......... : -lpthread -lmenu -lncurses -lpcap -lnet PREFIX ........ : /usr NCURSES SUPPORT : yes Type 'make' to compile or 'make help' to show accepted options. dh_auto_build make -j40 make[1]: Entering directory '/build/reproducible-path/nast-0.2.0' gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c main.c -o main.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c dev.c -o dev.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c tcp.c -o tcp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c icmp.c -o icmp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c arp.c -o arp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c udp.c -o udp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c prom.c -o prom.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c eth.c -o eth.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c map.c -o map.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c sniff.c -o sniff.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c data.c -o data.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c rst.c -o rst.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c fgw.c -o fgw.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c flink.c -o flink.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c port.c -o port.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c common.c -o common.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c stream.c -o stream.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c igmp.c -o igmp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c bcount.c -o bcount.o udp.c: In function 'handle_UDP': udp.c:59:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 59 | buf = (char *) (packet + size_ip + size_udp + offset); | ^ udp.c:64:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 64 | data_sniffo (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from udp.c:22: include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ udp.c:70:31: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] 70 | print_ascii_hex (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ~~~~~~^~~~~~~~~ udp.c:81:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 81 | data_sniffo (buf, size_buf, ldd); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c error.c -o error.o main.c: In function 'main': main.c:309:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 309 | if(dev == NULL) dev = pcap_lookupdev(errbuf); | ^~ In file included from /usr/include/pcap.h:43, from include/nast.h:24, from main.c:20: /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_menu.c -o ncurses/n_menu.o prom.c: In function 'psearch': main.c:349:36: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign] 349 | if (flags.banner) return mport (dev, ports, flags.l); | ^~~ | | | char * include/nast.h:69:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 69 | int mport (u_char *dev, u_short ports[], int lg); | ~~~~~~~~^~~ main.c:356:30: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign] 356 | if (flags.gw) return fgw (dev); | ^~~ | | | char * include/nast.h:65:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 65 | int fgw (u_char *dev); | ~~~~~~~~^~~ main.c:357:32: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign] 357 | if (flags.lk) return flink (dev); | ^~~ | | | char * include/nast.h:67:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | int flink (u_char *dev); | ~~~~~~~~^~~ prom.c:171:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 171 | sprintf (ip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:523, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53, from include/nast.h:23, from prom.c:20: /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ prom.c:172:95: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 172 | n_print ("princ",ln,1,lg,"%s (%s) --------->", ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:79: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ tcp.c: In function 'handle_TCP': icmp.c: In function 'handle_ICMP': tcp.c:101:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 101 | buf = (char *) (packet + offset + size_ip + size_tcp); | ^ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_scroll_win.c -o ncurses/n_scroll_win.o tcp.c:106:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 106 | data_sniffo (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from tcp.c:20: include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ tcp.c:112:31: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] 112 | print_ascii_hex (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ~~~~~~^~~~~~~~~ tcp.c:124:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 124 | data_sniffo (buf, size_buf, ldd); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ icmp.c:206:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 206 | buf = (char *) (packet + size_ip + size_icmp + offset); | ^ icmp.c:211:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 211 | data_sniffo (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from icmp.c:20: include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ icmp.c:218:31: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] 218 | print_ascii_hex (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ~~~~~~^~~~~~~~~ icmp.c:226:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 226 | data_sniffo (buf, size_buf, ldd); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_comm.c -o ncurses/n_comm.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_stream.c -o ncurses/n_stream.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_conn.c -o ncurses/n_conn.o map.c: In function 'map_lan': map.c:117:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 117 | if (*net != '.') return NULL; ++net; | ^~ map.c:117:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 117 | if (*net != '.') return NULL; ++net; | ^~ map.c:119:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 119 | if (*net != '.') return NULL; ++net; | ^~ map.c:119:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 119 | if (*net != '.') return NULL; ++net; | ^~ map.c:121:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 121 | if (*net != '.') return NULL; ++net; | ^~ map.c:121:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 121 | if (*net != '.') return NULL; ++net; | ^~ map.c:134:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 134 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:134:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 134 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:136:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 136 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:136:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 136 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:138:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 138 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:138:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 138 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:199:27: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 199 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ map.c:209:32: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 209 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ map.c:225:40: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 225 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ map.c:247:45: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 247 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_rst.c -o ncurses/n_rst.o map.c: In function 'arpreply': map.c:346:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 346 | sprintf (ip, "%d.%d.%d.%d", arp->__ar_sip[0],arp->__ar_sip[1],arp->__ar_sip[2],arp->__ar_sip[3]); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:523, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53, from include/nast.h:23, from map.c:36: /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ map.c:355:135: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 355 | n_print("princ",line,1,lg,"%s \t%s (%s)\n", nast_hex_ntoa (eptr->ether_shost), ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:79: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ map.c: In function 'map_lan': map.c:150:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 150 | fgets(r, 3, stdin); | ^~~~~~~~~~~~~~~~~~ main.c:223:25: warning: 'L' may be used uninitialized [-Wmaybe-uninitialized] 223 | anip = libnet_name2addr4(L, optarg, LIBNET_RESOLVE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:77:14: note: 'L' was declared here 77 | libnet_t *L; | ^ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_nast.c -o ncurses/n_nast.o sniff.c:24:150: warning: argument 10 of type 'char *' declared as a pointer [-Warray-parameter=] 24 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char *ldname); | ~~~~~~^~~~~~ In file included from sniff.c:20: include/nast.h:49:149: note: previously declared as an array 'char[50]' 49 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char ldname[50]); | ~~~~~^~~~~~~~~~ sniff.c:27:150: warning: argument 10 of type 'char *' declared as a pointer [-Warray-parameter=] 27 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char *ldname) | ~~~~~~^~~~~~ include/nast.h:49:149: note: previously declared as an array 'char[50]' 49 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char ldname[50]); | ~~~~~^~~~~~~~~~ fgw.c: In function 'fgw': fgw.c:39:9: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 39 | "66.102.11.99" | ^~~~~~~~~~~~~~ fgw.c:39:9: note: (near initialization for 'extip') fgw.c:86:34: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 86 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:109, from include/nast.h:23, from fgw.c:32: /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ fgw.c:86:39: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 86 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ fgw.c:92:34: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 92 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ fgw.c:92:39: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 92 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ fgw.c:101:120: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] 101 | if (libnet_build_ipv4 (LIBNET_TCP_H + LIBNET_IPV4_H, 0x08, 35320, 0, 64, IPPROTO_TCP, 0, myip, libnet_name2addr4(l, extip, LIBNET_DONT_RESOLVE), NULL, 0, l, 0)==-1) | ^~~~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:257:44: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 257 | libnet_name2addr4(libnet_t *l, const char *host_name, uint8_t use_name); | ~~~~~~~~~~~~^~~~~~~~~ fgw.c:111:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 111 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ fgw.c:143:24: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 143 | pcap_lookupnet(dev,&netp,&maskp,ebuf); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24: /usr/include/pcap/pcap.h:447:32: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 447 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~~~~~~~ fgw.c:143:41: warning: pointer targets in passing argument 4 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 143 | pcap_lookupnet(dev,&netp,&maskp,ebuf); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:447:76: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 447 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~ fgw.c:145:34: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 145 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ fgw.c:145:64: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 145 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:564:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ fgw.c:198:117: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 198 | if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip))) | ^~~~~ | | | u_char * {aka unsigned char *} bcount.c: In function 'bytecounting': bcount.c:123:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] 123 | int line; | ^~~~ In file included from /usr/include/libnet.h:54: /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ bcount.c: In function 'n_bytecounting': bcount.c:224:14: warning: variable 'l' set but not used [-Wunused-but-set-variable] 224 | int line, l; | ^ bcount.c:224:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] 224 | int line, l; | ^~~~ flink.c: In function 'flink': flink.c:73:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 73 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from flink.c:22: include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ flink.c:88:45: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 88 | if ((l = libnet_init (LIBNET_RAW4, NULL, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:109, from include/nast.h:23: /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ flink.c:116:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 116 | sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:523, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53: /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ flink.c:117:130: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 117 | if ( (ptag = libnet_build_ipv4(LIBNET_ICMPV4_ECHO_H + LIBNET_IPV4_H, 0x00, 1000, 0, 64, IPPROTO_ICMP, 0, myip, inet_addr(testip), NULL, 0, l, ptag)) ==-1) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:79: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ flink.c:131:34: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 131 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24: /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ flink.c:131:64: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 131 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:564:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ flink.c:163:36: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] 163 | if ((offset = (device(dev,p)))==-1) return -1; | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ flink.c:168:50: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 168 | if ((ip->ip_src.s_addr == inet_addr(testip)) && icmp->icmp_type==ICMP_ECHOREPLY && icmp->icmp_id == 1000) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ flink.c:178:29: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 178 | sprintf(testip, "%d.%d.%d.%d", uphost[1].ip[0], uphost[1].ip[1], uphost[1].ip[2], uphost[1].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} port.c: In function 'mport': port.c:347:25: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 347 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from port.c:20: include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ port.c:466:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 466 | x = strlen(tmpbuf); | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ flink.c:180:29: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 180 | sprintf(testip, "%d.%d.%d.%d", uphost[0].ip[0], uphost[0].ip[1], uphost[0].ip[2], uphost[0].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ flink.c:182:42: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 182 | if ( (ip_src=inet_addr(testip)) == -1) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ flink.c:215:39: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 215 | if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ flink.c:215:44: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 215 | if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ flink.c:247:29: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 247 | if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ flink.c:247:55: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 247 | if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:564:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ flink.c:291:26: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] 291 | offset = (device(dev,p)); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ In file included from /usr/include/libnet.h:54, from include/nast.h:23: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ port.c:309:21: warning: variable 'bsent' set but not used [-Wunused-but-set-variable] 309 | int sd, r, size, bsent,z,k,x,y; | ^~~~~ port.c: In function 'mhport': port.c:615:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 615 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ port.c:635:25: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 635 | dev, /* network interface */ | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:109: /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ port.c:647:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 647 | sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:523, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53: /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ port.c:654:24: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 654 | pcap_lookupnet(dev,&netp,&maskp,errbuf); | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24: /usr/include/pcap/pcap.h:447:32: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 447 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~~~~~~~ port.c:658:38: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 658 | if ((descr = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10,errbuf)) == NULL) | ^~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ port.c:665:29: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] 665 | if ((offset=(device(dev,descr)))==-1) return -1; | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ port.c:707:56: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 707 | inet_addr(testip), /* destination IP */ | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:79: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ port.c:584:8: warning: variable 'linep' set but not used [-Wunused-but-set-variable] 584 | int linep; | ^~~~~ common.c: In function 'runcplx': port.c: In function 'mport': common.c:202:17: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign] 202 | mhport (dev,plist_p,l); | ^~~ | | | char * port.c:517:19: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 517 | write (sd, "\n\n", 2); | ^~~~~~~~~~~~~~~~~~~~~ In file included from common.c:24: include/nast.h:70:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); | ~~~~~~~~^~~ common.c: In function 'n_print': common.c:295:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] 295 | int n; | ^ common.c: In function 'runcplx': common.c:62:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:73:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:79:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:90:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 90 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:115:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:124:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:132:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:142:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 142 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:157:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 157 | fgets(buff ,50 ,stdin); | ^~~~~~~~~~~~~~~~~~~~~~ common.c:166:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 166 | fgets(buff ,50 ,stdin); | ^~~~~~~~~~~~~~~~~~~~~~ common.c:188:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 188 | fgets(buff ,50 ,stdin); | ^~~~~~~~~~~~~~~~~~~~~~ ncurses/n_menu.c: In function 'nmenu': ncurses/n_menu.c:97:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable] 97 | int ris; | ^~~ ncurses/n_nast.c: In function 'main_graph': ncurses/n_nast.c:511:34: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] 511 | if(currfil==0) | ^~ ncurses/n_nast.c:75:9: note: 'currfil' declared here 75 | char currfil[200]; | ^~~~~~~ ncurses/n_nast.c:631:34: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] 631 | if(currfil==0) | ^~ ncurses/n_nast.c:75:9: note: 'currfil' declared here 75 | char currfil[200]; | ^~~~~~~ ncurses/n_menu.c: In function 'analyzer_menu': ncurses/n_menu.c:783:21: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign] 783 | fgw (dev); | ^~~ | | | char * In file included from ncurses/n_nast.h:20, from ncurses/n_menu.c:20: ncurses/../include/nast.h:65:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 65 | int fgw (u_char *dev); | ~~~~~~~~^~~ ncurses/n_comm.c: In function 'shutdown_thread': ncurses/n_comm.c:209:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable] 209 | int ris,i,ret; | ^~~ ncurses/n_menu.c:944:24: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign] 944 | mhport (dev,plist_p,lr); | ^~~ | | | char * ncurses/../include/nast.h:70:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); | ~~~~~~~~^~~ ncurses/n_menu.c:961:22: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign] 961 | flink(dev); | ^~~ | | | char * ncurses/n_stream.c: In function 'read_packet': ncurses/n_stream.c:120:9: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 120 | data = packet = NULL; | ^ error.c: In function 'w_error': error.c:32:10: warning: variable 'ris' set but not used [-Wunused-but-set-variable] 32 | int n,ris; | ^~~ error.c:32:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] 32 | int n,ris; | ^ ncurses/../include/nast.h:67:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | int flink (u_char *dev); | ~~~~~~~~^~~ ncurses/n_menu.c:978:22: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign] 978 | mport(dev,ports,lr); | ^~~ | | | char * ncurses/../include/nast.h:69:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 69 | int mport (u_char *dev, u_short ports[], int lg); | ~~~~~~~~^~~ ncurses/n_menu.c: In function 's_select': ncurses/n_menu.c:1542:24: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] 1542 | if(currfil==0) | ^~ ncurses/n_menu.c:1460:9: note: 'currfil' declared here 1460 | char currfil[200]; | ^~~~~~~ ncurses/n_menu.c: In function 'r_select': ncurses/n_menu.c:1671:24: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] 1671 | if(currfil==0) | ^~ ncurses/n_menu.c:1562:9: note: 'currfil' declared here 1562 | char currfil[200]; | ^~~~~~~ port.c:488:29: warning: array subscript -2 is below array bounds of 'char[1024]' [-Warray-bounds=] 488 | if (banner[r-1]=='\n') banner[r-1]='\0'; | ~~~~~~^~~~~ port.c:305:9: note: while referencing 'banner' 305 | char banner[1024]; | ^~~~~~ port.c:488:48: warning: array subscript -2 is below array bounds of 'char[1024]' [-Warray-bounds=] 488 | if (banner[r-1]=='\n') banner[r-1]='\0'; | ~~~~~~^~~~~ port.c:305:9: note: while referencing 'banner' 305 | char banner[1024]; | ^~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wl,-z,relro -Wl,-z,now -o nast main.o dev.o tcp.o icmp.o arp.o udp.o prom.o eth.o map.o sniff.o data.o rst.o fgw.o flink.o port.o common.o stream.o igmp.o bcount.o error.o ncurses/n_menu.o ncurses/n_scroll_win.o ncurses/n_comm.o ncurses/n_stream.o ncurses/n_conn.o ncurses/n_rst.o ncurses/n_nast.o -lpthread -lmenu -lncurses -lpcap -lnet Done! Type make install from root make[1]: Leaving directory '/build/reproducible-path/nast-0.2.0' dh_auto_test create-stamp debian/debhelper-build-stamp dh_prep dh_installdirs debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/nast-0.2.0' /usr/bin/make install prefix=/build/reproducible-path/nast-0.2.0/debian/nast/usr make[2]: Entering directory '/build/reproducible-path/nast-0.2.0' cp -fR nast /build/reproducible-path/nast-0.2.0/debian/nast/usr/bin cp -fR nast.8 /build/reproducible-path/nast-0.2.0/debian/nast/usr/share/man/man8/ Run with nast (-h for help), enjoy! Use -G flag to run in ncurses interface make[2]: Leaving directory '/build/reproducible-path/nast-0.2.0' make[1]: Leaving directory '/build/reproducible-path/nast-0.2.0' dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_strip dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'nast' in '../nast_0.2.0-12_amd64.deb'. dpkg-deb: building package 'nast-dbgsym' in '../nast-dbgsym_0.2.0-12_amd64.deb'. dpkg-genbuildinfo --build=binary -O../nast_0.2.0-12_amd64.buildinfo dpkg-genchanges --build=binary -O../nast_0.2.0-12_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/4186138 and its subdirectories I: Current time: Thu Jun 5 01:43:08 -12 2025 I: pbuilder-time-stamp: 1749130988 Thu Jun 5 13:43:12 UTC 2025 I: 1st build successful. Starting 2nd build on remote node ionos15-amd64.debian.net. Thu Jun 5 13:43:12 UTC 2025 I: Preparing to do remote build '2' on ionos15-amd64.debian.net. Thu Jun 5 13:43:12 UTC 2025 - checking /var/lib/jenkins/offline_nodes if ionos15-amd64.debian.net is marked as down. Thu Jun 5 13:43:12 UTC 2025 - checking via ssh if ionos15-amd64.debian.net is up. removed '/tmp/read-only-fs-test-74jNVI' ==================================================================================== Wed Jul 8 20:06:13 UTC 2026 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on ionos15-amd64, called using "2 nast trixie /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i 0.2.0-12" as arguments. Wed Jul 8 20:06:13 UTC 2026 - actually running "reproducible_build.sh" (md5sum 44ec6a3142940d5e9a7ab76543d96029) as "/tmp/jenkins-script-VNgaa3qt" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Wed Jul 8 20:06:13 UTC 2026 I: Downloading source for trixie/nast=0.2.0-12 Reading package lists... NOTICE: 'nast' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/nast.git Please use: git clone https://salsa.debian.org/debian/nast.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 172 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main nast 0.2.0-12 (dsc) [1493 B] Get:2 http://deb.debian.org/debian trixie/main nast 0.2.0-12 (tar) [148 kB] Get:3 http://deb.debian.org/debian trixie/main nast 0.2.0-12 (diff) [22.9 kB] Fetched 172 kB in 0s (1465 kB/s) Download complete and in download only mode Reading package lists... NOTICE: 'nast' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/nast.git Please use: git clone https://salsa.debian.org/debian/nast.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 172 kB of source archives. Get:1 http://deb.debian.org/debian trixie/main nast 0.2.0-12 (dsc) [1493 B] Get:2 http://deb.debian.org/debian trixie/main nast 0.2.0-12 (tar) [148 kB] Get:3 http://deb.debian.org/debian trixie/main nast 0.2.0-12 (diff) [22.9 kB] Fetched 172 kB in 0s (1465 kB/s) Download complete and in download only mode ============================================================================= Re-Building nast in trixie on amd64 on ionos15-amd64 now. Date: Wed Jul 8 20:06:14 UTC 2026 Date UTC: Wed Jul 8 20:06:14 UTC 2026 ============================================================================= ++ mktemp -t pbuilderrc_XXXX --tmpdir=/srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i + local TMPCFG=/srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/pbuilderrc_vPCi + case ${ARCH} in + case $ARCH in + locale=et_EE + language=et + case "${SUITE}" in + reproducible_buildflags=+all + extra_deb_build_options= + case "${SRCPACKAGE}" in + cat + echo BUILDDIR=/build/reproducible-path + '[' nast = debian-installer -o nast = debian-installer-netboot-images ']' + pbuilder_options=() + local pbuilder_options + DEBBUILDOPTS=-b + BINARYTARGET= + '[' nast = u-boot ']' + case "${SRCPACKAGE}" in + PBUILDERTIMEOUT=24 + local PRESULT=0 + sudo timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/pbuilderrc_vPCi --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/b2 --logfile b2/build.log nast_0.2.0-12.dsc W: /root/.pbuilderrc does not exist I: Logging to b2/build.log I: pbuilder: network access will be disabled during build I: Current time: Thu Jul 9 10:06:14 +14 2026 I: pbuilder-time-stamp: 1783541174 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [nast_0.2.0-12.dsc] I: copying [./nast_0.2.0.orig.tar.gz] I: copying [./nast_0.2.0-12.debian.tar.xz] I: Extracting source error: the following required arguments were not provided: --keyring Usage: sqv --keyring --cleartext --output For more information, try '--help'. dpkg-source: warning: cannot verify inline signature for ./nast_0.2.0-12.dsc: no acceptable signature found dpkg-source: info: extracting nast in nast-0.2.0 dpkg-source: info: unpacking nast_0.2.0.orig.tar.gz dpkg-source: info: unpacking nast_0.2.0-12.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix-on-some-laptops dpkg-source: info: applying fix-manpage dpkg-source: info: applying fix-buffer-overflows dpkg-source: info: applying fix-minuses-in-manpage dpkg-source: info: applying printf-literal-format dpkg-source: info: applying configure_updates_version_0.2.0-5.2 dpkg-source: info: applying fix-hurd-build dpkg-source: info: applying fix-array-bounds-error dpkg-source: info: applying fix-spelling-errors dpkg-source: info: applying gcc-10 dpkg-source: info: applying hardening dpkg-source: info: applying mvwprintw-literal-format dpkg-source: info: applying remove-chown.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/842923/tmp/hooks/D01_modify_environment starting debug: Running on ionos15-amd64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 Jul 8 20:06 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/842923/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/842923/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.2.37(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=amd64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' DIRSTACK=() DISTRIBUTION=trixie EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=x86_64 HOST_ARCH=amd64 IFS=' ' INVOCATION_ID=2a61c86163c84bb9b32f32463c9d30b1 LANG=C LANGUAGE=et_EE:et LC_ALL=C MACHTYPE=x86_64-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=842923 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/pbuilderrc_vPCi --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/b2 --logfile b2/build.log nast_0.2.0-12.dsc' SUDO_GID=111 SUDO_UID=106 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://213.165.73.152:3128 I: uname -a Linux i-capture-the-hostname 6.12.22+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.22-1~bpo12+1 (2025-04-25) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 12 2025 /bin -> usr/bin I: user script /srv/workspace/pbuilder/842923/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 10), libnet1-dev, libpcap0.8-dev, libncurses5-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19850 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 10); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libnet1-dev; however: Package libnet1-dev is not installed. pbuilder-satisfydepends-dummy depends on libpcap0.8-dev; however: Package libpcap0.8-dev is not installed. pbuilder-satisfydepends-dummy depends on libncurses5-dev; however: Package libncurses5-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libcap-dev{a} libdbus-1-3{a} libdbus-1-dev{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libmagic-mgc{a} libmagic1t64{a} libncurses-dev{a} libncurses6{a} libnet1{a} libnet1-dev{a} libpcap0.8-dev{a} libpcap0.8t64{a} libpipeline1{a} libpkgconf3{a} libsystemd-dev{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2{a} m4{a} man-db{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} sensible-utils{a} sgml-base{a} xml-core{a} The following packages are RECOMMENDED but will NOT be installed: curl dbus libarchive-cpio-perl libgpm2 libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 44 newly installed, 0 to remove and 0 not upgraded. Need to get 14.7 MB of archives. After unpacking 59.1 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main amd64 sensible-utils all 0.0.25 [25.0 kB] Get: 2 http://deb.debian.org/debian trixie/main amd64 libmagic-mgc amd64 1:5.46-5 [338 kB] Get: 3 http://deb.debian.org/debian trixie/main amd64 libmagic1t64 amd64 1:5.46-5 [109 kB] Get: 4 http://deb.debian.org/debian trixie/main amd64 file amd64 1:5.46-5 [43.6 kB] Get: 5 http://deb.debian.org/debian trixie/main amd64 gettext-base amd64 0.23.1-2 [243 kB] Get: 6 http://deb.debian.org/debian trixie/main amd64 libuchardet0 amd64 0.0.8-1+b2 [68.9 kB] Get: 7 http://deb.debian.org/debian trixie/main amd64 groff-base amd64 1.23.0-8 [1187 kB] Get: 8 http://deb.debian.org/debian trixie/main amd64 bsdextrautils amd64 2.41-5 [94.6 kB] Get: 9 http://deb.debian.org/debian trixie/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian trixie/main amd64 man-db amd64 2.13.1-1 [1469 kB] Get: 11 http://deb.debian.org/debian trixie/main amd64 m4 amd64 1.4.19-8 [294 kB] Get: 12 http://deb.debian.org/debian trixie/main amd64 autoconf all 2.72-3.1 [494 kB] Get: 13 http://deb.debian.org/debian trixie/main amd64 autotools-dev all 20240727.1 [60.2 kB] Get: 14 http://deb.debian.org/debian trixie/main amd64 automake all 1:1.17-4 [862 kB] Get: 15 http://deb.debian.org/debian trixie/main amd64 autopoint all 0.23.1-2 [770 kB] Get: 16 http://deb.debian.org/debian trixie/main amd64 libdebhelper-perl all 13.24.2 [90.9 kB] Get: 17 http://deb.debian.org/debian trixie/main amd64 libtool all 2.5.4-4 [539 kB] Get: 18 http://deb.debian.org/debian trixie/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main amd64 libfile-stripnondeterminism-perl all 1.14.1-2 [19.7 kB] Get: 21 http://deb.debian.org/debian trixie/main amd64 dh-strip-nondeterminism all 1.14.1-2 [8620 B] Get: 22 http://deb.debian.org/debian trixie/main amd64 libelf1t64 amd64 0.192-4 [189 kB] Get: 23 http://deb.debian.org/debian trixie/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 24 http://deb.debian.org/debian trixie/main amd64 libunistring5 amd64 1.3-2 [477 kB] Get: 25 http://deb.debian.org/debian trixie/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-1 [698 kB] Get: 26 http://deb.debian.org/debian trixie/main amd64 gettext amd64 0.23.1-2 [1680 kB] Get: 27 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.24.2 [919 kB] Get: 30 http://deb.debian.org/debian trixie/main amd64 libcap-dev amd64 1:2.75-7 [545 kB] Get: 31 http://deb.debian.org/debian trixie/main amd64 libdbus-1-3 amd64 1.16.2-2 [178 kB] Get: 32 http://deb.debian.org/debian trixie/main amd64 libsystemd-dev amd64 257.6-1 [1356 kB] Get: 33 http://deb.debian.org/debian trixie/main amd64 libpkgconf3 amd64 1.8.1-4 [36.4 kB] Get: 34 http://deb.debian.org/debian trixie/main amd64 pkgconf-bin amd64 1.8.1-4 [30.2 kB] Get: 35 http://deb.debian.org/debian trixie/main amd64 pkgconf amd64 1.8.1-4 [26.2 kB] Get: 36 http://deb.debian.org/debian trixie/main amd64 sgml-base all 1.31+nmu1 [10.9 kB] Get: 37 http://deb.debian.org/debian trixie/main amd64 xml-core all 0.19 [20.1 kB] Get: 38 http://deb.debian.org/debian trixie/main amd64 libdbus-1-dev amd64 1.16.2-2 [215 kB] Get: 39 http://deb.debian.org/debian trixie/main amd64 libncurses6 amd64 6.5+20250216-2 [105 kB] Get: 40 http://deb.debian.org/debian trixie/main amd64 libncurses-dev amd64 6.5+20250216-2 [353 kB] Get: 41 http://deb.debian.org/debian trixie/main amd64 libnet1 amd64 1.3+dfsg-2 [51.3 kB] Get: 42 http://deb.debian.org/debian trixie/main amd64 libnet1-dev amd64 1.3+dfsg-2 [118 kB] Get: 43 http://deb.debian.org/debian trixie/main amd64 libpcap0.8t64 amd64 1.10.5-2 [169 kB] Get: 44 http://deb.debian.org/debian trixie/main amd64 libpcap0.8-dev amd64 1.10.5-2 [284 kB] Fetched 14.7 MB in 0s (42.1 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19850 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.25_all.deb ... Unpacking sensible-utils (0.0.25) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.46-5_amd64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.46-5_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.46-5_amd64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-2_amd64.deb ... Unpacking gettext-base (0.23.1-2) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-8_amd64.deb ... Unpacking groff-base (1.23.0-8) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.41-5_amd64.deb ... Unpacking bsdextrautils (2.41-5) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.1-1_amd64.deb ... Unpacking man-db (2.13.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-8_amd64.deb ... Unpacking m4 (1.4.19-8) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-2_all.deb ... Unpacking autopoint (0.23.1-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.24.2_all.deb ... Unpacking libdebhelper-perl (13.24.2) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.5.4-4_all.deb ... Unpacking libtool (2.5.4-4) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.1-2_all.deb ... Unpacking dh-strip-nondeterminism (1.14.1-2) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.192-4_amd64.deb ... Unpacking libelf1t64:amd64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libunistring5:amd64. Preparing to unpack .../23-libunistring5_1.3-2_amd64.deb ... Unpacking libunistring5:amd64 (1.3-2) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.23.1-2_amd64.deb ... Unpacking gettext (0.23.1-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.24.2_all.deb ... Unpacking debhelper (13.24.2) ... Selecting previously unselected package libcap-dev:amd64. Preparing to unpack .../29-libcap-dev_1%3a2.75-7_amd64.deb ... Unpacking libcap-dev:amd64 (1:2.75-7) ... Selecting previously unselected package libdbus-1-3:amd64. Preparing to unpack .../30-libdbus-1-3_1.16.2-2_amd64.deb ... Unpacking libdbus-1-3:amd64 (1.16.2-2) ... Selecting previously unselected package libsystemd-dev:amd64. Preparing to unpack .../31-libsystemd-dev_257.6-1_amd64.deb ... Unpacking libsystemd-dev:amd64 (257.6-1) ... Selecting previously unselected package libpkgconf3:amd64. Preparing to unpack .../32-libpkgconf3_1.8.1-4_amd64.deb ... Unpacking libpkgconf3:amd64 (1.8.1-4) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../33-pkgconf-bin_1.8.1-4_amd64.deb ... Unpacking pkgconf-bin (1.8.1-4) ... Selecting previously unselected package pkgconf:amd64. Preparing to unpack .../34-pkgconf_1.8.1-4_amd64.deb ... Unpacking pkgconf:amd64 (1.8.1-4) ... Selecting previously unselected package sgml-base. Preparing to unpack .../35-sgml-base_1.31+nmu1_all.deb ... Unpacking sgml-base (1.31+nmu1) ... Selecting previously unselected package xml-core. Preparing to unpack .../36-xml-core_0.19_all.deb ... Unpacking xml-core (0.19) ... Selecting previously unselected package libdbus-1-dev:amd64. Preparing to unpack .../37-libdbus-1-dev_1.16.2-2_amd64.deb ... Unpacking libdbus-1-dev:amd64 (1.16.2-2) ... Selecting previously unselected package libncurses6:amd64. Preparing to unpack .../38-libncurses6_6.5+20250216-2_amd64.deb ... Unpacking libncurses6:amd64 (6.5+20250216-2) ... Selecting previously unselected package libncurses-dev:amd64. Preparing to unpack .../39-libncurses-dev_6.5+20250216-2_amd64.deb ... Unpacking libncurses-dev:amd64 (6.5+20250216-2) ... Selecting previously unselected package libnet1:amd64. Preparing to unpack .../40-libnet1_1.3+dfsg-2_amd64.deb ... Unpacking libnet1:amd64 (1.3+dfsg-2) ... Selecting previously unselected package libnet1-dev:amd64. Preparing to unpack .../41-libnet1-dev_1.3+dfsg-2_amd64.deb ... Unpacking libnet1-dev:amd64 (1.3+dfsg-2) ... Selecting previously unselected package libpcap0.8t64:amd64. Preparing to unpack .../42-libpcap0.8t64_1.10.5-2_amd64.deb ... Unpacking libpcap0.8t64:amd64 (1.10.5-2) ... Selecting previously unselected package libpcap0.8-dev:amd64. Preparing to unpack .../43-libpcap0.8-dev_1.10.5-2_amd64.deb ... Unpacking libpcap0.8-dev:amd64 (1.10.5-2) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up bsdextrautils (2.41-5) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.24.2) ... Setting up libmagic1t64:amd64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2) ... Setting up m4 (1.4.19-8) ... Setting up file (1:5.46-5) ... Setting up libnet1:amd64 (1.3+dfsg-2) ... Setting up libelf1t64:amd64 (0.192-4) ... Setting up autotools-dev (20240727.1) ... Setting up libpkgconf3:amd64 (1.8.1-4) ... Setting up libncurses6:amd64 (6.5+20250216-2) ... Setting up libdbus-1-3:amd64 (1.16.2-2) ... Setting up libunistring5:amd64 (1.3-2) ... Setting up autopoint (0.23.1-2) ... Setting up pkgconf-bin (1.8.1-4) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.25) ... Setting up libuchardet0:amd64 (0.0.8-1+b2) ... Setting up libpcap0.8t64:amd64 (1.10.5-2) ... Setting up sgml-base (1.31+nmu1) ... Setting up libcap-dev:amd64 (1:2.75-7) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-1) ... Setting up libsystemd-dev:amd64 (257.6-1) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.1-2) ... Setting up libncurses-dev:amd64 (6.5+20250216-2) ... Setting up gettext (0.23.1-2) ... Setting up libtool (2.5.4-4) ... Setting up libnet1-dev:amd64 (1.3+dfsg-2) ... Setting up pkgconf:amd64 (1.8.1-4) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.1-2) ... Setting up groff-base (1.23.0-8) ... Setting up xml-core (0.19) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.24.2) ... Processing triggers for libc-bin (2.41-8) ... Processing triggers for sgml-base (1.31+nmu1) ... Setting up libdbus-1-dev:amd64 (1.16.2-2) ... Setting up libpcap0.8-dev:amd64 (1.10.5-2) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: user script /srv/workspace/pbuilder/842923/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for trixie I: user script /srv/workspace/pbuilder/842923/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/nast-0.2.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../nast_0.2.0-12_source.changes dpkg-buildpackage: info: source package nast dpkg-buildpackage: info: source version 0.2.0-12 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Niels Thykier dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config dh_auto_configure ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking Please wait, I'm going to configure Nast 0.2.0 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu configure: Found Linux, happy day! checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for libnet_name2addr4 in -lnet... yes checking for pcap_dispatch in -lpcap... yes checking for initscr in -lncurses... yes checking for menu_opts_off in -lmenu... yes checking for pthread_create in -lpthread... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... no 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 errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for getopt_long... yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h Ok. I have done with all. Results are: PLATFORM ...... : x86_64 unknown O.S. .......... : Linux 6.12.22+bpo-amd64 (i-capture-the-hostname) COMPILER ...... : gcc CFLAGS ........ : -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 CPPFLAGS ...... : -Wdate-time -D_FORTIFY_SOURCE=2 LDFLAGS ....... : -Wl,-z,relro -Wl,-z,now LIBS .......... : -lpthread -lmenu -lncurses -lpcap -lnet PREFIX ........ : /usr NCURSES SUPPORT : yes Type 'make' to compile or 'make help' to show accepted options. dh_auto_build make -j42 make[1]: Entering directory '/build/reproducible-path/nast-0.2.0' gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c main.c -o main.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c dev.c -o dev.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c tcp.c -o tcp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c icmp.c -o icmp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c arp.c -o arp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c udp.c -o udp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c prom.c -o prom.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c eth.c -o eth.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c map.c -o map.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c sniff.c -o sniff.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c data.c -o data.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c rst.c -o rst.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c fgw.c -o fgw.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c flink.c -o flink.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c port.c -o port.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c common.c -o common.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c stream.c -o stream.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c igmp.c -o igmp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c bcount.c -o bcount.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c error.c -o error.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_menu.c -o ncurses/n_menu.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_scroll_win.c -o ncurses/n_scroll_win.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_comm.c -o ncurses/n_comm.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_stream.c -o ncurses/n_stream.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_conn.c -o ncurses/n_conn.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_rst.c -o ncurses/n_rst.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_nast.c -o ncurses/n_nast.o tcp.c: In function 'handle_TCP': tcp.c:101:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 101 | buf = (char *) (packet + offset + size_ip + size_tcp); | ^ tcp.c:106:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 106 | data_sniffo (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from tcp.c:20: include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ tcp.c:112:31: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] 112 | print_ascii_hex (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ~~~~~~^~~~~~~~~ tcp.c:124:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 124 | data_sniffo (buf, size_buf, ldd); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ prom.c: In function 'psearch': fgw.c: In function 'fgw': fgw.c:39:9: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 39 | "66.102.11.99" | ^~~~~~~~~~~~~~ fgw.c:39:9: note: (near initialization for 'extip') prom.c:171:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 171 | sprintf (ip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:523, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53, from include/nast.h:23, from prom.c:20: /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ fgw.c:86:34: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 86 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~ | | | u_char * {aka unsigned char *} prom.c:172:95: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 172 | n_print ("princ",ln,1,lg,"%s (%s) --------->", ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:109, from include/nast.h:23, from fgw.c:32: /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ fgw.c:86:39: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 86 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:79: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ fgw.c:92:34: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 92 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ udp.c: In function 'handle_UDP': fgw.c:92:39: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 92 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ udp.c:59:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 59 | buf = (char *) (packet + size_ip + size_udp + offset); | ^ udp.c:64:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 64 | data_sniffo (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from udp.c:22: include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ fgw.c:101:120: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] 101 | if (libnet_build_ipv4 (LIBNET_TCP_H + LIBNET_IPV4_H, 0x08, 35320, 0, 64, IPPROTO_TCP, 0, myip, libnet_name2addr4(l, extip, LIBNET_DONT_RESOLVE), NULL, 0, l, 0)==-1) | ^~~~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:257:44: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 257 | libnet_name2addr4(libnet_t *l, const char *host_name, uint8_t use_name); | ~~~~~~~~~~~~^~~~~~~~~ udp.c:70:31: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] 70 | print_ascii_hex (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ~~~~~~^~~~~~~~~ fgw.c:111:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 111 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ udp.c:81:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 81 | data_sniffo (buf, size_buf, ldd); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ map.c: In function 'map_lan': fgw.c:143:24: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 143 | pcap_lookupnet(dev,&netp,&maskp,ebuf); | ^~~ | | | u_char * {aka unsigned char *} map.c:117:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 117 | if (*net != '.') return NULL; ++net; | ^~ map.c:117:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 117 | if (*net != '.') return NULL; ++net; | ^~ In file included from /usr/include/pcap.h:43, from include/nast.h:24: /usr/include/pcap/pcap.h:447:32: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 447 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~~~~~~~ fgw.c:143:41: warning: pointer targets in passing argument 4 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 143 | pcap_lookupnet(dev,&netp,&maskp,ebuf); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:447:76: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 447 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~ map.c:119:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 119 | if (*net != '.') return NULL; ++net; | ^~ fgw.c:145:34: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 145 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ map.c:119:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 119 | if (*net != '.') return NULL; ++net; | ^~ fgw.c:145:64: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 145 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:564:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ map.c:121:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 121 | if (*net != '.') return NULL; ++net; | ^~ map.c:121:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 121 | if (*net != '.') return NULL; ++net; | ^~ map.c:134:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 134 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:134:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 134 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:136:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 136 | if (*mask != '.') return NULL; ++mask; | ^~ fgw.c:198:117: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 198 | if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip))) | ^~~~~ | | | u_char * {aka unsigned char *} map.c:136:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 136 | if (*mask != '.') return NULL; ++mask; | ^~ In file included from /usr/include/libnet.h:54: /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ map.c:138:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 138 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:138:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 138 | if (*mask != '.') return NULL; ++mask; | ^~ map.c:199:27: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 199 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ map.c:209:32: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 209 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ flink.c: In function 'flink': flink.c:73:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 73 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from flink.c:22: include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ map.c:225:40: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 225 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ flink.c:88:45: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 88 | if ((l = libnet_init (LIBNET_RAW4, NULL, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} map.c:247:45: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] 247 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; | ^~~ | | | char * In file included from /usr/include/libnet.h:109, from include/nast.h:23: /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); | ~~~~~~~~^~~~~~ flink.c:116:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 116 | sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:523, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53: /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ flink.c:117:130: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 117 | if ( (ptag = libnet_build_ipv4(LIBNET_ICMPV4_ECHO_H + LIBNET_IPV4_H, 0x00, 1000, 0, 64, IPPROTO_ICMP, 0, myip, inet_addr(testip), NULL, 0, l, ptag)) ==-1) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:79: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ flink.c:131:34: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 131 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} map.c: In function 'arpreply': map.c:346:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 346 | sprintf (ip, "%d.%d.%d.%d", arp->__ar_sip[0],arp->__ar_sip[1],arp->__ar_sip[2],arp->__ar_sip[3]); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24: /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ flink.c:131:64: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 131 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:523, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53, from include/nast.h:23, from map.c:36: /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ /usr/include/pcap/pcap.h:564:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ common.c: In function 'runcplx': common.c:202:17: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign] 202 | mhport (dev,plist_p,l); | ^~~ | | | char * map.c:355:135: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 355 | n_print("princ",line,1,lg,"%s \t%s (%s)\n", nast_hex_ntoa (eptr->ether_shost), ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); | ^~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:79: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ In file included from common.c:24: include/nast.h:70:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); | ~~~~~~~~^~~ flink.c:163:36: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] 163 | if ((offset = (device(dev,p)))==-1) return -1; | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ flink.c:168:50: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 168 | if ((ip->ip_src.s_addr == inet_addr(testip)) && icmp->icmp_type==ICMP_ECHOREPLY && icmp->icmp_id == 1000) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ flink.c:178:29: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 178 | sprintf(testip, "%d.%d.%d.%d", uphost[1].ip[0], uphost[1].ip[1], uphost[1].ip[2], uphost[1].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ flink.c:180:29: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 180 | sprintf(testip, "%d.%d.%d.%d", uphost[0].ip[0], uphost[0].ip[1], uphost[0].ip[2], uphost[0].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} common.c: In function 'n_print': /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ common.c:295:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] 295 | int n; | ^ flink.c:182:42: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 182 | if ( (ip_src=inet_addr(testip)) == -1) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ flink.c:215:39: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 215 | if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ flink.c:215:44: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 215 | if ((l = libnet_init (LIBNET_LINK, dev, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ map.c: In function 'map_lan': map.c:150:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 150 | fgets(r, 3, stdin); | ^~~~~~~~~~~~~~~~~~ common.c: In function 'runcplx': common.c:62:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:73:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:79:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:90:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 90 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c:115:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ flink.c:247:29: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 247 | if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} common.c:124:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ common.c:132:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ flink.c:247:55: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 247 | if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} common.c:142:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 142 | fgets (buff, 50, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pcap/pcap.h:564:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ common.c:157:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 157 | fgets(buff ,50 ,stdin); | ^~~~~~~~~~~~~~~~~~~~~~ common.c:166:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 166 | fgets(buff ,50 ,stdin); | ^~~~~~~~~~~~~~~~~~~~~~ ncurses/n_menu.c: In function 'nmenu': ncurses/n_menu.c:97:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable] 97 | int ris; | ^~~ common.c:188:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 188 | fgets(buff ,50 ,stdin); | ^~~~~~~~~~~~~~~~~~~~~~ flink.c:291:26: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] 291 | offset = (device(dev,p)); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ ncurses/n_menu.c: In function 'analyzer_menu': ncurses/n_menu.c:783:21: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign] 783 | fgw (dev); | ^~~ | | | char * In file included from ncurses/n_nast.h:20, from ncurses/n_menu.c:20: ncurses/../include/nast.h:65:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 65 | int fgw (u_char *dev); | ~~~~~~~~^~~ ncurses/n_menu.c:944:24: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign] 944 | mhport (dev,plist_p,lr); | ^~~ | | | char * ncurses/../include/nast.h:70:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); | ~~~~~~~~^~~ ncurses/n_menu.c:961:22: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign] 961 | flink(dev); | ^~~ | | | char * ncurses/../include/nast.h:67:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | int flink (u_char *dev); | ~~~~~~~~^~~ ncurses/n_menu.c:978:22: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign] 978 | mport(dev,ports,lr); | ^~~ | | | char * ncurses/../include/nast.h:69:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 69 | int mport (u_char *dev, u_short ports[], int lg); | ~~~~~~~~^~~ ncurses/n_menu.c: In function 's_select': ncurses/n_menu.c:1542:24: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] 1542 | if(currfil==0) | ^~ ncurses/n_menu.c:1460:9: note: 'currfil' declared here 1460 | char currfil[200]; | ^~~~~~~ ncurses/n_menu.c: In function 'r_select': ncurses/n_menu.c:1671:24: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] 1671 | if(currfil==0) | ^~ ncurses/n_menu.c:1562:9: note: 'currfil' declared here 1562 | char currfil[200]; | ^~~~~~~ main.c: In function 'main': main.c:309:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 309 | if(dev == NULL) dev = pcap_lookupdev(errbuf); | ^~ In file included from /usr/include/pcap.h:43, from include/nast.h:24, from main.c:20: /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ main.c:349:36: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign] 349 | if (flags.banner) return mport (dev, ports, flags.l); | ^~~ | | | char * include/nast.h:69:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 69 | int mport (u_char *dev, u_short ports[], int lg); | ~~~~~~~~^~~ main.c:356:30: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign] 356 | if (flags.gw) return fgw (dev); | ^~~ | | | char * icmp.c: In function 'handle_ICMP': include/nast.h:65:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 65 | int fgw (u_char *dev); | ~~~~~~~~^~~ icmp.c:206:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 206 | buf = (char *) (packet + size_ip + size_icmp + offset); | ^ main.c:357:32: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign] 357 | if (flags.lk) return flink (dev); | ^~~ | | | char * include/nast.h:67:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | int flink (u_char *dev); | ~~~~~~~~^~~ icmp.c:211:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 211 | data_sniffo (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} In file included from icmp.c:20: include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ icmp.c:218:31: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] 218 | print_ascii_hex (buf, size_buf, output); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); | ~~~~~~^~~~~~~~~ icmp.c:226:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 226 | data_sniffo (buf, size_buf, ldd); | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ sniff.c:24:150: warning: argument 10 of type 'char *' declared as a pointer [-Warray-parameter=] 24 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char *ldname); | ~~~~~~^~~~~~ In file included from sniff.c:20: include/nast.h:49:149: note: previously declared as an array 'char[50]' 49 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char ldname[50]); | ~~~~~^~~~~~~~~~ sniff.c:27:150: warning: argument 10 of type 'char *' declared as a pointer [-Warray-parameter=] 27 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char *ldname) | ~~~~~~^~~~~~ include/nast.h:49:149: note: previously declared as an array 'char[50]' 49 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char ldname[50]); | ~~~~~^~~~~~~~~~ error.c: In function 'w_error': error.c:32:10: warning: variable 'ris' set but not used [-Wunused-but-set-variable] 32 | int n,ris; | ^~~ error.c:32:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] 32 | int n,ris; | ^ bcount.c: In function 'bytecounting': bcount.c:123:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] 123 | int line; | ^~~~ port.c: In function 'mport': port.c:347:25: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 347 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} In file included from port.c:20: include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ bcount.c: In function 'n_bytecounting': bcount.c:224:14: warning: variable 'l' set but not used [-Wunused-but-set-variable] 224 | int line, l; | ^ bcount.c:224:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] 224 | int line, l; | ^~~~ port.c:466:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 466 | x = strlen(tmpbuf); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:54, from include/nast.h:23: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ port.c:309:21: warning: variable 'bsent' set but not used [-Wunused-but-set-variable] 309 | int sd, r, size, bsent,z,k,x,y; | ^~~~~ port.c: In function 'mhport': ncurses/n_stream.c: In function 'read_packet': ncurses/n_stream.c:120:9: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 120 | data = packet = NULL; | ^ port.c:615:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 615 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ port.c:635:25: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 635 | dev, /* network interface */ | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:109: /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ port.c:647:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 647 | sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:523, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from /usr/include/libnet.h:53: /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ ncurses/n_comm.c: In function 'shutdown_thread': port.c:654:24: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 654 | pcap_lookupnet(dev,&netp,&maskp,errbuf); | ^~~ | | | u_char * {aka unsigned char *} ncurses/n_comm.c:209:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable] 209 | int ris,i,ret; | ^~~ In file included from /usr/include/pcap.h:43, from include/nast.h:24: /usr/include/pcap/pcap.h:447:32: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 447 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~~~~~~~ port.c:658:38: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 658 | if ((descr = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10,errbuf)) == NULL) | ^~~ | | | u_char * {aka unsigned char *} /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ port.c:665:29: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] 665 | if ((offset=(device(dev,descr)))==-1) return -1; | ^~~ | | | u_char * {aka unsigned char *} include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ port.c:707:56: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 707 | inet_addr(testip), /* destination IP */ | ^~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:79: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ ncurses/n_nast.c: In function 'main_graph': ncurses/n_nast.c:511:34: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] 511 | if(currfil==0) | ^~ ncurses/n_nast.c:75:9: note: 'currfil' declared here 75 | char currfil[200]; | ^~~~~~~ port.c:584:8: warning: variable 'linep' set but not used [-Wunused-but-set-variable] 584 | int linep; | ^~~~~ ncurses/n_nast.c:631:34: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] 631 | if(currfil==0) | ^~ ncurses/n_nast.c:75:9: note: 'currfil' declared here 75 | char currfil[200]; | ^~~~~~~ port.c: In function 'mport': port.c:517:19: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 517 | write (sd, "\n\n", 2); | ^~~~~~~~~~~~~~~~~~~~~ main.c:223:25: warning: 'L' may be used uninitialized [-Wmaybe-uninitialized] 223 | anip = libnet_name2addr4(L, optarg, LIBNET_RESOLVE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:77:14: note: 'L' was declared here 77 | libnet_t *L; | ^ port.c:488:29: warning: array subscript -2 is below array bounds of 'char[1024]' [-Warray-bounds=] 488 | if (banner[r-1]=='\n') banner[r-1]='\0'; | ~~~~~~^~~~~ port.c:305:9: note: while referencing 'banner' 305 | char banner[1024]; | ^~~~~~ port.c:488:48: warning: array subscript -2 is below array bounds of 'char[1024]' [-Warray-bounds=] 488 | if (banner[r-1]=='\n') banner[r-1]='\0'; | ~~~~~~^~~~~ port.c:305:9: note: while referencing 'banner' 305 | char banner[1024]; | ^~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wl,-z,relro -Wl,-z,now -o nast main.o dev.o tcp.o icmp.o arp.o udp.o prom.o eth.o map.o sniff.o data.o rst.o fgw.o flink.o port.o common.o stream.o igmp.o bcount.o error.o ncurses/n_menu.o ncurses/n_scroll_win.o ncurses/n_comm.o ncurses/n_stream.o ncurses/n_conn.o ncurses/n_rst.o ncurses/n_nast.o -lpthread -lmenu -lncurses -lpcap -lnet Done! Type make install from root make[1]: Leaving directory '/build/reproducible-path/nast-0.2.0' dh_auto_test create-stamp debian/debhelper-build-stamp dh_prep dh_installdirs debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/nast-0.2.0' /usr/bin/make install prefix=/build/reproducible-path/nast-0.2.0/debian/nast/usr make[2]: Entering directory '/build/reproducible-path/nast-0.2.0' cp -fR nast /build/reproducible-path/nast-0.2.0/debian/nast/usr/bin cp -fR nast.8 /build/reproducible-path/nast-0.2.0/debian/nast/usr/share/man/man8/ Run with nast (-h for help), enjoy! Use -G flag to run in ncurses interface make[2]: Leaving directory '/build/reproducible-path/nast-0.2.0' make[1]: Leaving directory '/build/reproducible-path/nast-0.2.0' dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_strip dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'nast' in '../nast_0.2.0-12_amd64.deb'. dpkg-deb: building package 'nast-dbgsym' in '../nast-dbgsym_0.2.0-12_amd64.deb'. dpkg-genbuildinfo --build=binary -O../nast_0.2.0-12_amd64.buildinfo dpkg-genchanges --build=binary -O../nast_0.2.0-12_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/842923/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/842923/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/842923 and its subdirectories I: Current time: Thu Jul 9 10:06:41 +14 2026 I: pbuilder-time-stamp: 1783541201 + false + set +x Wed Jul 8 20:06:41 UTC 2026 I: Signing ./b2/nast_0.2.0-12_amd64.buildinfo as nast_0.2.0-12_amd64.buildinfo.asc Wed Jul 8 20:06:41 UTC 2026 I: Signed ./b2/nast_0.2.0-12_amd64.buildinfo as ./b2/nast_0.2.0-12_amd64.buildinfo.asc Wed Jul 8 20:06:41 UTC 2026 - build #2 for nast/trixie/amd64 on ionos15-amd64 done. Starting cleanup. All cleanup done. Wed Jul 8 20:06:41 UTC 2026 - reproducible_build.sh stopped running as /tmp/jenkins-script-VNgaa3qt, removing. /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i: total 104 drwxr-xr-x 2 jenkins jenkins 4096 Jun 5 13:43 b1 drwxr-xr-x 2 jenkins jenkins 4096 Jun 5 13:43 b2 -rw-r--r-- 1 jenkins jenkins 1493 Jul 20 2024 nast_0.2.0-12.dsc -rw------- 1 jenkins jenkins 88762 Jun 5 13:43 rbuildlog.M0rm3U5 /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/b1: total 352 -rw-r--r-- 1 jenkins jenkins 85901 Jun 5 13:43 build.log -rw-r--r-- 1 jenkins jenkins 141096 Jun 5 13:43 nast-dbgsym_0.2.0-12_amd64.deb -rw-r--r-- 1 jenkins jenkins 22852 Jun 5 13:43 nast_0.2.0-12.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 1493 Jun 5 13:43 nast_0.2.0-12.dsc -rw-r--r-- 1 jenkins jenkins 5278 Jun 5 13:43 nast_0.2.0-12_amd64.buildinfo -rw-r--r-- 1 jenkins jenkins 6160 Jun 5 13:43 nast_0.2.0-12_amd64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1314 Jun 5 13:43 nast_0.2.0-12_amd64.changes -rw-r--r-- 1 jenkins jenkins 63132 Jun 5 13:43 nast_0.2.0-12_amd64.deb -rw-r--r-- 1 jenkins jenkins 1196 Jun 5 13:43 nast_0.2.0-12_source.changes /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/b2: total 344 -rw-r--r-- 1 jenkins jenkins 87848 Jun 5 13:43 build.log -rw-r--r-- 1 jenkins jenkins 141096 Jun 5 13:43 nast-dbgsym_0.2.0-12_amd64.deb -rw-r--r-- 1 jenkins jenkins 22852 Jun 5 13:43 nast_0.2.0-12.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 1493 Jun 5 13:43 nast_0.2.0-12.dsc -rw-r--r-- 1 jenkins jenkins 5289 Jun 5 13:43 nast_0.2.0-12_amd64.buildinfo -rw-r--r-- 1 jenkins jenkins 6171 Jun 5 13:43 nast_0.2.0-12_amd64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 1314 Jun 5 13:43 nast_0.2.0-12_amd64.changes -rw-r--r-- 1 jenkins jenkins 63132 Jun 5 13:43 nast_0.2.0-12_amd64.deb -rw-r--r-- 1 jenkins jenkins 1196 Jun 5 13:43 nast_0.2.0-12_source.changes Thu Jun 5 13:43:42 UTC 2025 I: Deleting $TMPDIR on ionos15-amd64.debian.net. Thu Jun 5 13:43:42 UTC 2025 I: nast_0.2.0-12_amd64.changes: Format: 1.8 Date: Sat, 20 Jul 2024 09:10:40 +0000 Source: nast Binary: nast nast-dbgsym Architecture: amd64 Version: 0.2.0-12 Distribution: unstable Urgency: medium Maintainer: Debian QA Group Changed-By: Niels Thykier Description: nast - packet sniffer and lan analyzer Changes: nast (0.2.0-12) unstable; urgency=medium . * QA upload. * Remove unnecessary chown call and make it possible to assemble nast without needing fakeroot. Checksums-Sha1: aa467b3cace25d0453baba6ea2f89212a38c822c 141096 nast-dbgsym_0.2.0-12_amd64.deb b4899723887d04659431aa1ec3f9faba09efa5b2 5278 nast_0.2.0-12_amd64.buildinfo c9b542e07884e5af8045e9acfe29bbfece98f62f 63132 nast_0.2.0-12_amd64.deb Checksums-Sha256: 814ae5fb9ce741c2a16eb512cc5c4d6e88194ff804284935cc1add2d7518d4af 141096 nast-dbgsym_0.2.0-12_amd64.deb 9c6262ed528f7aab8f86e5cae067d4ca28b9b7a11b00fd7ca8d122600c41ccfe 5278 nast_0.2.0-12_amd64.buildinfo 4cc14c1c4a3b7a889827dd8ef1ecb27878db44a2adf07ea856aa88d996ecd1b5 63132 nast_0.2.0-12_amd64.deb Files: c4f07edf9faca92dad78c1b901548a38 141096 debug optional nast-dbgsym_0.2.0-12_amd64.deb e370dbbaec81c431df68e3be67f681c9 5278 net optional nast_0.2.0-12_amd64.buildinfo c7f89a107f16dc83eb6d1d5d064a8b54 63132 net optional nast_0.2.0-12_amd64.deb removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/amd64/nast_0.2.0-12.rbuild.log' removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/amd64/nast_0.2.0-12.rbuild.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/trixie/amd64/nast_0.2.0-12.build1.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/trixie/amd64/nast_0.2.0-12.build2.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/buildinfo/trixie/amd64/nast_0.2.0-12_amd64.buildinfo' removed '/var/lib/jenkins/userContent/reproducible/debian/logdiffs/trixie/amd64/nast_0.2.0-12.diff.gz' Diff of the two buildlogs: -- --- b1/build.log 2025-06-05 13:43:09.172044163 +0000 +++ b2/build.log 2025-06-05 13:43:42.124261239 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 5 01:39:49 -12 2025 -I: pbuilder-time-stamp: 1749130789 +I: Current time: Thu Jul 9 10:06:14 +14 2026 +I: pbuilder-time-stamp: 1783541174 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -42,52 +42,84 @@ dpkg-source: info: applying remove-chown.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/4186138/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/842923/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 8 20:06 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/842923/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/842923/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='123cab1e61cb4657b0f2a6315f14219a' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='4186138' - PS1='# ' - PS2='> ' + INVOCATION_ID=2a61c86163c84bb9b32f32463c9d30b1 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=842923 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/pbuilderrc_J5r2 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/b1 --logfile b1/build.log nast_0.2.0-12.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/pbuilderrc_vPCi --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/b2 --logfile b2/build.log nast_0.2.0-12.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.22+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.22-1~bpo12+1 (2025-04-25) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 12 19:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/4186138/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 12 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/842923/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -173,7 +205,7 @@ Get: 42 http://deb.debian.org/debian trixie/main amd64 libnet1-dev amd64 1.3+dfsg-2 [118 kB] Get: 43 http://deb.debian.org/debian trixie/main amd64 libpcap0.8t64 amd64 1.10.5-2 [169 kB] Get: 44 http://deb.debian.org/debian trixie/main amd64 libpcap0.8-dev amd64 1.10.5-2 [284 kB] -Fetched 14.7 MB in 1s (23.2 MB/s) +Fetched 14.7 MB in 0s (42.1 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19850 files and directories currently installed.) @@ -365,7 +397,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/nast-0.2.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../nast_0.2.0-12_source.changes +I: user script /srv/workspace/pbuilder/842923/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/842923/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/nast-0.2.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../nast_0.2.0-12_source.changes dpkg-buildpackage: info: source package nast dpkg-buildpackage: info: source version 0.2.0-12 dpkg-buildpackage: info: source distribution unstable @@ -437,7 +473,7 @@ Results are: PLATFORM ...... : x86_64 unknown -O.S. .......... : Linux 6.1.0-37-amd64 (ionos1-amd64) +O.S. .......... : Linux 6.12.22+bpo-amd64 (i-capture-the-hostname) COMPILER ...... : gcc CFLAGS ........ : -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 CPPFLAGS ...... : -Wdate-time -D_FORTIFY_SOURCE=2 @@ -450,7 +486,7 @@ Type 'make' to compile or 'make help' to show accepted options. dh_auto_build - make -j40 + make -j42 make[1]: Entering directory '/build/reproducible-path/nast-0.2.0' gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c main.c -o main.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c dev.c -o dev.o @@ -471,101 +507,18 @@ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c stream.c -o stream.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c igmp.c -o igmp.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c bcount.c -o bcount.o -udp.c: In function 'handle_UDP': -udp.c:59:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 59 | buf = (char *) (packet + size_ip + size_udp + offset); - | ^ -udp.c:64:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] - 64 | data_sniffo (buf, size_buf, output); - | ^~~ - | | - | u_char * {aka unsigned char *} -In file included from udp.c:22: -include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} - 59 | void data_sniffo (char *data, u_int l, FILE *log); - | ~~~~~~^~~~ -udp.c:70:31: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] - 70 | print_ascii_hex (buf, size_buf, output); - | ^~~ - | | - | u_char * {aka unsigned char *} -include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} - 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); - | ~~~~~~^~~~~~~~~ -udp.c:81:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] - 81 | data_sniffo (buf, size_buf, ldd); - | ^~~ - | | - | u_char * {aka unsigned char *} -include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} - 59 | void data_sniffo (char *data, u_int l, FILE *log); - | ~~~~~~^~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c error.c -o error.o -main.c: In function 'main': -main.c:309:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] - 309 | if(dev == NULL) dev = pcap_lookupdev(errbuf); - | ^~ -In file included from /usr/include/pcap.h:43, - from include/nast.h:24, - from main.c:20: -/usr/include/pcap/pcap.h:444:18: note: declared here - 444 | PCAP_API char *pcap_lookupdev(char *); - | ^~~~~~~~~~~~~~ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_menu.c -o ncurses/n_menu.o -prom.c: In function 'psearch': -main.c:349:36: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign] - 349 | if (flags.banner) return mport (dev, ports, flags.l); - | ^~~ - | | - | char * -include/nast.h:69:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' - 69 | int mport (u_char *dev, u_short ports[], int lg); - | ~~~~~~~~^~~ -main.c:356:30: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign] - 356 | if (flags.gw) return fgw (dev); - | ^~~ - | | - | char * -include/nast.h:65:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' - 65 | int fgw (u_char *dev); - | ~~~~~~~~^~~ -main.c:357:32: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign] - 357 | if (flags.lk) return flink (dev); - | ^~~ - | | - | char * -include/nast.h:67:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' - 67 | int flink (u_char *dev); - | ~~~~~~~~^~~ -prom.c:171:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 171 | sprintf (ip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); - | ^~ - | | - | u_char * {aka unsigned char *} -In file included from /usr/include/features.h:523, - from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from /usr/include/libnet.h:53, - from include/nast.h:23, - from prom.c:20: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} - 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -prom.c:172:95: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] - 172 | n_print ("princ",ln,1,lg,"%s (%s) --------->", ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); - | ^~ - | | - | u_char * {aka unsigned char *} -In file included from /usr/include/libnet.h:79: -/usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} - 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; - | ~~~~~~~~~~~~^~~~ +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_scroll_win.c -o ncurses/n_scroll_win.o +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_comm.c -o ncurses/n_comm.o +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_stream.c -o ncurses/n_stream.o +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_conn.c -o ncurses/n_conn.o +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_rst.c -o ncurses/n_rst.o +gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_nast.c -o ncurses/n_nast.o tcp.c: In function 'handle_TCP': -icmp.c: In function 'handle_ICMP': tcp.c:101:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 101 | buf = (char *) (packet + offset + size_ip + size_tcp); | ^ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_scroll_win.c -o ncurses/n_scroll_win.o tcp.c:106:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] 106 | data_sniffo (buf, size_buf, output); | ^~~ @@ -591,110 +544,14 @@ include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 59 | void data_sniffo (char *data, u_int l, FILE *log); | ~~~~~~^~~~ -icmp.c:206:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 206 | buf = (char *) (packet + size_ip + size_icmp + offset); - | ^ -icmp.c:211:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] - 211 | data_sniffo (buf, size_buf, output); - | ^~~ - | | - | u_char * {aka unsigned char *} -In file included from icmp.c:20: -include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} - 59 | void data_sniffo (char *data, u_int l, FILE *log); - | ~~~~~~^~~~ -icmp.c:218:31: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] - 218 | print_ascii_hex (buf, size_buf, output); - | ^~~ - | | - | u_char * {aka unsigned char *} -include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} - 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); - | ~~~~~~^~~~~~~~~ -icmp.c:226:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] - 226 | data_sniffo (buf, size_buf, ldd); - | ^~~ - | | - | u_char * {aka unsigned char *} -include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} - 59 | void data_sniffo (char *data, u_int l, FILE *log); - | ~~~~~~^~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_comm.c -o ncurses/n_comm.o -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_stream.c -o ncurses/n_stream.o -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_conn.c -o ncurses/n_conn.o -map.c: In function 'map_lan': -map.c:117:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 117 | if (*net != '.') return NULL; ++net; - | ^~ -map.c:117:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 117 | if (*net != '.') return NULL; ++net; - | ^~ -map.c:119:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 119 | if (*net != '.') return NULL; ++net; - | ^~ -map.c:119:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 119 | if (*net != '.') return NULL; ++net; - | ^~ -map.c:121:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 121 | if (*net != '.') return NULL; ++net; - | ^~ -map.c:121:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 121 | if (*net != '.') return NULL; ++net; - | ^~ -map.c:134:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 134 | if (*mask != '.') return NULL; ++mask; - | ^~ -map.c:134:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 134 | if (*mask != '.') return NULL; ++mask; - | ^~ -map.c:136:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 136 | if (*mask != '.') return NULL; ++mask; - | ^~ -map.c:136:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 136 | if (*mask != '.') return NULL; ++mask; - | ^~ -map.c:138:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 138 | if (*mask != '.') return NULL; ++mask; - | ^~ -map.c:138:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 138 | if (*mask != '.') return NULL; ++mask; - | ^~ -map.c:199:27: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] - 199 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; - | ^~~ - | | - | char * -map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' - 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); - | ~~~~~~~~^~~~~~ -map.c:209:32: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] - 209 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; - | ^~~ - | | - | char * -map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' - 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); - | ~~~~~~~~^~~~~~ -map.c:225:40: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] - 225 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; - | ^~~ - | | - | char * -map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' - 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); - | ~~~~~~~~^~~~~~ -map.c:247:45: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] - 247 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; - | ^~~ - | | - | char * -map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' - 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); - | ~~~~~~~~^~~~~~ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_rst.c -o ncurses/n_rst.o -map.c: In function 'arpreply': -map.c:346:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 346 | sprintf (ip, "%d.%d.%d.%d", arp->__ar_sip[0],arp->__ar_sip[1],arp->__ar_sip[2],arp->__ar_sip[3]); +prom.c: In function 'psearch': +fgw.c: In function 'fgw': +fgw.c:39:9: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 39 | "66.102.11.99" + | ^~~~~~~~~~~~~~ +fgw.c:39:9: note: (near initialization for 'extip') +prom.c:171:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 171 | sprintf (ip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~ | | | u_char * {aka unsigned char *} @@ -703,53 +560,20 @@ from /usr/include/stdio.h:28, from /usr/include/libnet.h:53, from include/nast.h:23, - from map.c:36: + from prom.c:20: /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -map.c:355:135: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] - 355 | n_print("princ",line,1,lg,"%s \t%s (%s)\n", nast_hex_ntoa (eptr->ether_shost), ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); - | ^~ - | | - | u_char * {aka unsigned char *} -In file included from /usr/include/libnet.h:79: -/usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} - 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; - | ~~~~~~~~~~~~^~~~ -map.c: In function 'map_lan': -map.c:150:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 150 | fgets(r, 3, stdin); - | ^~~~~~~~~~~~~~~~~~ -main.c:223:25: warning: 'L' may be used uninitialized [-Wmaybe-uninitialized] - 223 | anip = libnet_name2addr4(L, optarg, LIBNET_RESOLVE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:77:14: note: 'L' was declared here - 77 | libnet_t *L; - | ^ -gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nast-0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -c ncurses/n_nast.c -o ncurses/n_nast.o -sniff.c:24:150: warning: argument 10 of type 'char *' declared as a pointer [-Warray-parameter=] - 24 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char *ldname); - | ~~~~~~^~~~~~ -In file included from sniff.c:20: -include/nast.h:49:149: note: previously declared as an array 'char[50]' - 49 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char ldname[50]); - | ~~~~~^~~~~~~~~~ -sniff.c:27:150: warning: argument 10 of type 'char *' declared as a pointer [-Warray-parameter=] - 27 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char *ldname) - | ~~~~~~^~~~~~ -include/nast.h:49:149: note: previously declared as an array 'char[50]' - 49 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char ldname[50]); - | ~~~~~^~~~~~~~~~ -fgw.c: In function 'fgw': -fgw.c:39:9: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 39 | "66.102.11.99" - | ^~~~~~~~~~~~~~ -fgw.c:39:9: note: (near initialization for 'extip') fgw.c:86:34: warning: pointer targets in passing argument 2 of 'libnet_init' differ in signedness [-Wpointer-sign] 86 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~ | | | u_char * {aka unsigned char *} +prom.c:172:95: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] + 172 | n_print ("princ",ln,1,lg,"%s (%s) --------->", ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); + | ^~ + | | + | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:109, from include/nast.h:23, from fgw.c:32: @@ -761,6 +585,10 @@ | ^~~~ | | | u_char * {aka unsigned char *} +In file included from /usr/include/libnet.h:79: +/usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} + 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; + | ~~~~~~~~~~~~^~~~ /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ @@ -772,6 +600,7 @@ /usr/include/libnet/libnet-functions.h:64:45: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~~~~~~~^~~~~~ +udp.c: In function 'handle_UDP': fgw.c:92:39: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 92 | l = libnet_init (LIBNET_LINK, dev, ebuf); | ^~~~ @@ -780,6 +609,18 @@ /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ +udp.c:59:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 59 | buf = (char *) (packet + size_ip + size_udp + offset); + | ^ +udp.c:64:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] + 64 | data_sniffo (buf, size_buf, output); + | ^~~ + | | + | u_char * {aka unsigned char *} +In file included from udp.c:22: +include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} + 59 | void data_sniffo (char *data, u_int l, FILE *log); + | ~~~~~~^~~~ fgw.c:101:120: warning: pointer targets in passing argument 2 of 'libnet_name2addr4' differ in signedness [-Wpointer-sign] 101 | if (libnet_build_ipv4 (LIBNET_TCP_H + LIBNET_IPV4_H, 0x08, 35320, 0, 64, IPPROTO_TCP, 0, myip, libnet_name2addr4(l, extip, LIBNET_DONT_RESOLVE), NULL, 0, l, 0)==-1) | ^~~~~ @@ -788,6 +629,14 @@ /usr/include/libnet/libnet-functions.h:257:44: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 257 | libnet_name2addr4(libnet_t *l, const char *host_name, uint8_t use_name); | ~~~~~~~~~~~~^~~~~~~~~ +udp.c:70:31: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] + 70 | print_ascii_hex (buf, size_buf, output); + | ^~~ + | | + | u_char * {aka unsigned char *} +include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} + 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); + | ~~~~~~^~~~~~~~~ fgw.c:111:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 111 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ @@ -796,11 +645,26 @@ include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ +udp.c:81:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] + 81 | data_sniffo (buf, size_buf, ldd); + | ^~~ + | | + | u_char * {aka unsigned char *} +include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} + 59 | void data_sniffo (char *data, u_int l, FILE *log); + | ~~~~~~^~~~ +map.c: In function 'map_lan': fgw.c:143:24: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 143 | pcap_lookupnet(dev,&netp,&maskp,ebuf); | ^~~ | | | u_char * {aka unsigned char *} +map.c:117:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 117 | if (*net != '.') return NULL; ++net; + | ^~ +map.c:117:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 117 | if (*net != '.') return NULL; ++net; + | ^~ In file included from /usr/include/pcap.h:43, from include/nast.h:24: /usr/include/pcap/pcap.h:447:32: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} @@ -814,6 +678,9 @@ /usr/include/pcap/pcap.h:447:76: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 447 | PCAP_API int pcap_lookupnet(const char *, bpf_u_int32 *, bpf_u_int32 *, char *); | ^~~~~~ +map.c:119:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 119 | if (*net != '.') return NULL; ++net; + | ^~ fgw.c:145:34: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 145 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) | ^~~ @@ -822,6 +689,9 @@ /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ +map.c:119:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 119 | if (*net != '.') return NULL; ++net; + | ^~ fgw.c:145:64: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 145 | if ((p = pcap_open_live (dev, BUFSIZ, NOT_PROMISC, 10, ebuf))==NULL) | ^~~~ @@ -830,26 +700,55 @@ /usr/include/pcap/pcap.h:564:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ +map.c:121:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 121 | if (*net != '.') return NULL; ++net; + | ^~ +map.c:121:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 121 | if (*net != '.') return NULL; ++net; + | ^~ +map.c:134:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 134 | if (*mask != '.') return NULL; ++mask; + | ^~ +map.c:134:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 134 | if (*mask != '.') return NULL; ++mask; + | ^~ +map.c:136:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 136 | if (*mask != '.') return NULL; ++mask; + | ^~ fgw.c:198:117: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 198 | if ((ntohs(tcp->th_sport)==80) && (ntohs(tcp->th_dport)==2500) && (!strcmp(inet_ntoa(ip->ip_src), extip))) | ^~~~~ | | | u_char * {aka unsigned char *} -bcount.c: In function 'bytecounting': -bcount.c:123:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] - 123 | int line; - | ^~~~ +map.c:136:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 136 | if (*mask != '.') return NULL; ++mask; + | ^~ In file included from /usr/include/libnet.h:54: /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -bcount.c: In function 'n_bytecounting': -bcount.c:224:14: warning: variable 'l' set but not used [-Wunused-but-set-variable] - 224 | int line, l; - | ^ -bcount.c:224:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] - 224 | int line, l; - | ^~~~ +map.c:138:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 138 | if (*mask != '.') return NULL; ++mask; + | ^~ +map.c:138:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 138 | if (*mask != '.') return NULL; ++mask; + | ^~ +map.c:199:27: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] + 199 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; + | ^~~ + | | + | char * +map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' + 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); + | ~~~~~~~~^~~~~~ +map.c:209:32: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] + 209 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; + | ^~~ + | | + | char * +map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' + 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); + | ~~~~~~~~^~~~~~ flink.c: In function 'flink': flink.c:73:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 73 | if ((uphost = map_lan(dev, 0, &n))==NULL) @@ -860,16 +759,32 @@ include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); | ~~~~~~^~~ +map.c:225:40: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] + 225 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; + | ^~~ + | | + | char * +map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' + 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); + | ~~~~~~~~^~~~~~ flink.c:88:45: warning: pointer targets in passing argument 3 of 'libnet_init' differ in signedness [-Wpointer-sign] 88 | if ((l = libnet_init (LIBNET_RAW4, NULL, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} +map.c:247:45: warning: pointer targets in passing argument 2 of 'send_arp' differ in signedness [-Wpointer-sign] + 247 | if (send_arp(l, dev, ip_dst, enet_src, ip_src)==-1) goto error; + | ^~~ + | | + | char * In file included from /usr/include/libnet.h:109, from include/nast.h:23: /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ +map.c:39:35: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' + 39 | int send_arp(libnet_t *l, u_char *device, u_char *ip_dst, u_char *enet_src, u_long ip_src); + | ~~~~~~~~^~~~~~ flink.c:116:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 116 | sprintf(testip, "%d.%d.%d.%d", uphost[i].ip[0], uphost[i].ip[1], uphost[i].ip[2], uphost[i].ip[3]); | ^~~~~~ @@ -896,6 +811,12 @@ | ^~~ | | | u_char * {aka unsigned char *} +map.c: In function 'arpreply': +map.c:346:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 346 | sprintf (ip, "%d.%d.%d.%d", arp->__ar_sip[0],arp->__ar_sip[1],arp->__ar_sip[2],arp->__ar_sip[3]); + | ^~ + | | + | u_char * {aka unsigned char *} In file included from /usr/include/pcap.h:43, from include/nast.h:24: /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} @@ -906,9 +827,37 @@ | ^~~~~~ | | | u_char * {aka unsigned char *} +In file included from /usr/include/features.h:523, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:28, + from /usr/include/libnet.h:53, + from include/nast.h:23, + from map.c:36: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} + 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ /usr/include/pcap/pcap.h:564:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ +common.c: In function 'runcplx': +common.c:202:17: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign] + 202 | mhport (dev,plist_p,l); + | ^~~ + | | + | char * +map.c:355:135: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] + 355 | n_print("princ",line,1,lg,"%s \t%s (%s)\n", nast_hex_ntoa (eptr->ether_shost), ip, libnet_addr2name4(inet_addr(ip), LIBNET_RESOLVE)); + | ^~ + | | + | u_char * {aka unsigned char *} +In file included from /usr/include/libnet.h:79: +/usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} + 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; + | ~~~~~~~~~~~~^~~~ +In file included from common.c:24: +include/nast.h:70:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' + 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); + | ~~~~~~~~^~~ flink.c:163:36: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] 163 | if ((offset = (device(dev,p)))==-1) return -1; | ^~~ @@ -930,21 +879,6 @@ | ^~~~~~ | | | u_char * {aka unsigned char *} -port.c: In function 'mport': -port.c:347:25: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] - 347 | if ((uphost = map_lan(dev, 0, &n))==NULL) - | ^~~ - | | - | u_char * {aka unsigned char *} -In file included from port.c:20: -include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} - 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); - | ~~~~~~^~~ -port.c:466:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 466 | x = strlen(tmpbuf); - | ^~~~~~ - | | - | u_char * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ @@ -953,9 +887,13 @@ | ^~~~~~ | | | u_char * {aka unsigned char *} +common.c: In function 'n_print': /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +common.c:295:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] + 295 | int n; + | ^ flink.c:182:42: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 182 | if ( (ip_src=inet_addr(testip)) == -1) | ^~~~~~ @@ -980,22 +918,64 @@ /usr/include/libnet/libnet-functions.h:64:59: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 64 | libnet_init(int injection_type, const char *device, char *err_buf); | ~~~~~~^~~~~~~ +map.c: In function 'map_lan': +map.c:150:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 150 | fgets(r, 3, stdin); + | ^~~~~~~~~~~~~~~~~~ +common.c: In function 'runcplx': +common.c:62:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 62 | fgets (buff, 50, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~ +common.c:73:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 73 | fgets (buff, 50, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~ +common.c:79:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 79 | fgets (buff, 50, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~ +common.c:90:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 90 | fgets (buff, 50, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~ +common.c:115:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 115 | fgets (buff, 50, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~ flink.c:247:29: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 247 | if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) | ^~~ | | | u_char * {aka unsigned char *} +common.c:124:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 124 | fgets (buff, 50, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pcap/pcap.h:564:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~~~~~~~ +common.c:132:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 132 | fgets (buff, 50, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~ flink.c:247:55: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] 247 | if ((p = pcap_open_live (dev, BUFSIZ, PROMISC, 10, errbuf))==NULL) | ^~~~~~ | | | u_char * {aka unsigned char *} +common.c:142:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 142 | fgets (buff, 50, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pcap/pcap.h:564:62: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^~~~~~ +common.c:157:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 157 | fgets(buff ,50 ,stdin); + | ^~~~~~~~~~~~~~~~~~~~~~ +common.c:166:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 166 | fgets(buff ,50 ,stdin); + | ^~~~~~~~~~~~~~~~~~~~~~ +ncurses/n_menu.c: In function 'nmenu': +ncurses/n_menu.c:97:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable] + 97 | int ris; + | ^~~ +common.c:188:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 188 | fgets(buff ,50 ,stdin); + | ^~~~~~~~~~~~~~~~~~~~~~ flink.c:291:26: warning: pointer targets in passing argument 1 of 'device' differ in signedness [-Wpointer-sign] 291 | offset = (device(dev,p)); | ^~~ @@ -1004,6 +984,164 @@ include/nast.h:58:19: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 58 | int device (char *dev, pcap_t* descr); | ~~~~~~^~~ +ncurses/n_menu.c: In function 'analyzer_menu': +ncurses/n_menu.c:783:21: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign] + 783 | fgw (dev); + | ^~~ + | | + | char * +In file included from ncurses/n_nast.h:20, + from ncurses/n_menu.c:20: +ncurses/../include/nast.h:65:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' + 65 | int fgw (u_char *dev); + | ~~~~~~~~^~~ +ncurses/n_menu.c:944:24: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign] + 944 | mhport (dev,plist_p,lr); + | ^~~ + | | + | char * +ncurses/../include/nast.h:70:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' + 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); + | ~~~~~~~~^~~ +ncurses/n_menu.c:961:22: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign] + 961 | flink(dev); + | ^~~ + | | + | char * +ncurses/../include/nast.h:67:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' + 67 | int flink (u_char *dev); + | ~~~~~~~~^~~ +ncurses/n_menu.c:978:22: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign] + 978 | mport(dev,ports,lr); + | ^~~ + | | + | char * +ncurses/../include/nast.h:69:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' + 69 | int mport (u_char *dev, u_short ports[], int lg); + | ~~~~~~~~^~~ +ncurses/n_menu.c: In function 's_select': +ncurses/n_menu.c:1542:24: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] + 1542 | if(currfil==0) + | ^~ +ncurses/n_menu.c:1460:9: note: 'currfil' declared here + 1460 | char currfil[200]; + | ^~~~~~~ +ncurses/n_menu.c: In function 'r_select': +ncurses/n_menu.c:1671:24: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] + 1671 | if(currfil==0) + | ^~ +ncurses/n_menu.c:1562:9: note: 'currfil' declared here + 1562 | char currfil[200]; + | ^~~~~~~ +main.c: In function 'main': +main.c:309:4: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] + 309 | if(dev == NULL) dev = pcap_lookupdev(errbuf); + | ^~ +In file included from /usr/include/pcap.h:43, + from include/nast.h:24, + from main.c:20: +/usr/include/pcap/pcap.h:444:18: note: declared here + 444 | PCAP_API char *pcap_lookupdev(char *); + | ^~~~~~~~~~~~~~ +main.c:349:36: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign] + 349 | if (flags.banner) return mport (dev, ports, flags.l); + | ^~~ + | | + | char * +include/nast.h:69:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' + 69 | int mport (u_char *dev, u_short ports[], int lg); + | ~~~~~~~~^~~ +main.c:356:30: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign] + 356 | if (flags.gw) return fgw (dev); + | ^~~ + | | + | char * +icmp.c: In function 'handle_ICMP': +include/nast.h:65:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' + 65 | int fgw (u_char *dev); + | ~~~~~~~~^~~ +icmp.c:206:13: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 206 | buf = (char *) (packet + size_ip + size_icmp + offset); + | ^ +main.c:357:32: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign] + 357 | if (flags.lk) return flink (dev); + | ^~~ + | | + | char * +include/nast.h:67:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' + 67 | int flink (u_char *dev); + | ~~~~~~~~^~~ +icmp.c:211:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] + 211 | data_sniffo (buf, size_buf, output); + | ^~~ + | | + | u_char * {aka unsigned char *} +In file included from icmp.c:20: +include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} + 59 | void data_sniffo (char *data, u_int l, FILE *log); + | ~~~~~~^~~~ +icmp.c:218:31: warning: pointer targets in passing argument 1 of 'print_ascii_hex' differ in signedness [-Wpointer-sign] + 218 | print_ascii_hex (buf, size_buf, output); + | ^~~ + | | + | u_char * {aka unsigned char *} +include/nast.h:60:29: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} + 60 | void print_ascii_hex (char *data_info, u_int len, FILE *log); + | ~~~~~~^~~~~~~~~ +icmp.c:226:27: warning: pointer targets in passing argument 1 of 'data_sniffo' differ in signedness [-Wpointer-sign] + 226 | data_sniffo (buf, size_buf, ldd); + | ^~~ + | | + | u_char * {aka unsigned char *} +include/nast.h:59:25: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} + 59 | void data_sniffo (char *data, u_int l, FILE *log); + | ~~~~~~^~~~ +sniff.c:24:150: warning: argument 10 of type 'char *' declared as a pointer [-Warray-parameter=] + 24 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char *ldname); + | ~~~~~~^~~~~~ +In file included from sniff.c:20: +include/nast.h:49:149: note: previously declared as an array 'char[50]' + 49 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char ldname[50]); + | ~~~~~^~~~~~~~~~ +sniff.c:27:150: warning: argument 10 of type 'char *' declared as a pointer [-Warray-parameter=] + 27 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char *ldname) + | ~~~~~~^~~~~~ +include/nast.h:49:149: note: previously declared as an array 'char[50]' + 49 | int run_sniffer (u_short promisc, u_short data, u_short hex, u_short f, u_short l, u_short tcpdlog, u_short tcpdread, char *filter, char *dev, char ldname[50]); + | ~~~~~^~~~~~~~~~ +error.c: In function 'w_error': +error.c:32:10: warning: variable 'ris' set but not used [-Wunused-but-set-variable] + 32 | int n,ris; + | ^~~ +error.c:32:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] + 32 | int n,ris; + | ^ +bcount.c: In function 'bytecounting': +bcount.c:123:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] + 123 | int line; + | ^~~~ +port.c: In function 'mport': +port.c:347:25: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] + 347 | if ((uphost = map_lan(dev, 0, &n))==NULL) + | ^~~ + | | + | u_char * {aka unsigned char *} +In file included from port.c:20: +include/nast.h:63:30: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} + 63 | struct host * map_lan (char *dev, u_short mode, u_short *n); + | ~~~~~~^~~ +bcount.c: In function 'n_bytecounting': +bcount.c:224:14: warning: variable 'l' set but not used [-Wunused-but-set-variable] + 224 | int line, l; + | ^ +bcount.c:224:8: warning: variable 'line' set but not used [-Wunused-but-set-variable] + 224 | int line, l; + | ^~~~ +port.c:466:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 466 | x = strlen(tmpbuf); + | ^~~~~~ + | | + | u_char * {aka unsigned char *} In file included from /usr/include/libnet.h:54, from include/nast.h:23: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} @@ -1013,6 +1151,10 @@ 309 | int sd, r, size, bsent,z,k,x,y; | ^~~~~ port.c: In function 'mhport': +ncurses/n_stream.c: In function 'read_packet': +ncurses/n_stream.c:120:9: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] + 120 | data = packet = NULL; + | ^ port.c:615:26: warning: pointer targets in passing argument 1 of 'map_lan' differ in signedness [-Wpointer-sign] 615 | if ((uphost = map_lan(dev, 0, &n))==NULL) | ^~~ @@ -1042,11 +1184,15 @@ /usr/include/x86_64-linux-gnu/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +ncurses/n_comm.c: In function 'shutdown_thread': port.c:654:24: warning: pointer targets in passing argument 1 of 'pcap_lookupnet' differ in signedness [-Wpointer-sign] 654 | pcap_lookupnet(dev,&netp,&maskp,errbuf); | ^~~ | | | u_char * {aka unsigned char *} +ncurses/n_comm.c:209:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable] + 209 | int ris,i,ret; + | ^~~ In file included from /usr/include/pcap.h:43, from include/nast.h:24: /usr/include/pcap/pcap.h:447:32: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} @@ -1077,65 +1223,6 @@ /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ -port.c:584:8: warning: variable 'linep' set but not used [-Wunused-but-set-variable] - 584 | int linep; - | ^~~~~ -common.c: In function 'runcplx': -port.c: In function 'mport': -common.c:202:17: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign] - 202 | mhport (dev,plist_p,l); - | ^~~ - | | - | char * -port.c:517:19: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 517 | write (sd, "\n\n", 2); - | ^~~~~~~~~~~~~~~~~~~~~ -In file included from common.c:24: -include/nast.h:70:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' - 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); - | ~~~~~~~~^~~ -common.c: In function 'n_print': -common.c:295:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] - 295 | int n; - | ^ -common.c: In function 'runcplx': -common.c:62:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 62 | fgets (buff, 50, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~ -common.c:73:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 73 | fgets (buff, 50, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~ -common.c:79:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 79 | fgets (buff, 50, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~ -common.c:90:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 90 | fgets (buff, 50, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~ -common.c:115:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 115 | fgets (buff, 50, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~ -common.c:124:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 124 | fgets (buff, 50, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~ -common.c:132:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 132 | fgets (buff, 50, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~ -common.c:142:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 142 | fgets (buff, 50, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~ -common.c:157:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 157 | fgets(buff ,50 ,stdin); - | ^~~~~~~~~~~~~~~~~~~~~~ -common.c:166:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 166 | fgets(buff ,50 ,stdin); - | ^~~~~~~~~~~~~~~~~~~~~~ -common.c:188:14: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 188 | fgets(buff ,50 ,stdin); - | ^~~~~~~~~~~~~~~~~~~~~~ -ncurses/n_menu.c: In function 'nmenu': -ncurses/n_menu.c:97:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable] - 97 | int ris; - | ^~~ ncurses/n_nast.c: In function 'main_graph': ncurses/n_nast.c:511:34: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] 511 | if(currfil==0) @@ -1143,76 +1230,25 @@ ncurses/n_nast.c:75:9: note: 'currfil' declared here 75 | char currfil[200]; | ^~~~~~~ +port.c:584:8: warning: variable 'linep' set but not used [-Wunused-but-set-variable] + 584 | int linep; + | ^~~~~ ncurses/n_nast.c:631:34: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] 631 | if(currfil==0) | ^~ ncurses/n_nast.c:75:9: note: 'currfil' declared here 75 | char currfil[200]; | ^~~~~~~ -ncurses/n_menu.c: In function 'analyzer_menu': -ncurses/n_menu.c:783:21: warning: pointer targets in passing argument 1 of 'fgw' differ in signedness [-Wpointer-sign] - 783 | fgw (dev); - | ^~~ - | | - | char * -In file included from ncurses/n_nast.h:20, - from ncurses/n_menu.c:20: -ncurses/../include/nast.h:65:18: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' - 65 | int fgw (u_char *dev); - | ~~~~~~~~^~~ -ncurses/n_comm.c: In function 'shutdown_thread': -ncurses/n_comm.c:209:8: warning: variable 'ris' set but not used [-Wunused-but-set-variable] - 209 | int ris,i,ret; - | ^~~ -ncurses/n_menu.c:944:24: warning: pointer targets in passing argument 1 of 'mhport' differ in signedness [-Wpointer-sign] - 944 | mhport (dev,plist_p,lr); - | ^~~ - | | - | char * -ncurses/../include/nast.h:70:21: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' - 70 | int mhport (u_char *dev, libnet_plist_t *plist_p, int lg); - | ~~~~~~~~^~~ -ncurses/n_menu.c:961:22: warning: pointer targets in passing argument 1 of 'flink' differ in signedness [-Wpointer-sign] - 961 | flink(dev); - | ^~~ - | | - | char * -ncurses/n_stream.c: In function 'read_packet': -ncurses/n_stream.c:120:9: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] - 120 | data = packet = NULL; - | ^ -error.c: In function 'w_error': -error.c:32:10: warning: variable 'ris' set but not used [-Wunused-but-set-variable] - 32 | int n,ris; - | ^~~ -error.c:32:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] - 32 | int n,ris; - | ^ -ncurses/../include/nast.h:67:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' - 67 | int flink (u_char *dev); - | ~~~~~~~~^~~ -ncurses/n_menu.c:978:22: warning: pointer targets in passing argument 1 of 'mport' differ in signedness [-Wpointer-sign] - 978 | mport(dev,ports,lr); - | ^~~ - | | - | char * -ncurses/../include/nast.h:69:20: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' - 69 | int mport (u_char *dev, u_short ports[], int lg); - | ~~~~~~~~^~~ -ncurses/n_menu.c: In function 's_select': -ncurses/n_menu.c:1542:24: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] - 1542 | if(currfil==0) - | ^~ -ncurses/n_menu.c:1460:9: note: 'currfil' declared here - 1460 | char currfil[200]; - | ^~~~~~~ -ncurses/n_menu.c: In function 'r_select': -ncurses/n_menu.c:1671:24: warning: the comparison will always evaluate as 'false' for the address of 'currfil' will never be NULL [-Waddress] - 1671 | if(currfil==0) - | ^~ -ncurses/n_menu.c:1562:9: note: 'currfil' declared here - 1562 | char currfil[200]; - | ^~~~~~~ +port.c: In function 'mport': +port.c:517:19: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 517 | write (sd, "\n\n", 2); + | ^~~~~~~~~~~~~~~~~~~~~ +main.c:223:25: warning: 'L' may be used uninitialized [-Wmaybe-uninitialized] + 223 | anip = libnet_name2addr4(L, optarg, LIBNET_RESOLVE); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:77:14: note: 'L' was declared here + 77 | libnet_t *L; + | ^ port.c:488:29: warning: array subscript -2 is below array bounds of 'char[1024]' [-Warray-bounds=] 488 | if (banner[r-1]=='\n') banner[r-1]='\0'; | ~~~~~~^~~~~ @@ -1271,12 +1307,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/842923/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/842923/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/4186138 and its subdirectories -I: Current time: Thu Jun 5 01:43:08 -12 2025 -I: pbuilder-time-stamp: 1749130988 +I: removing directory /srv/workspace/pbuilder/842923 and its subdirectories +I: Current time: Thu Jul 9 10:06:41 +14 2026 +I: pbuilder-time-stamp: 1783541201 Compressing the 2nd log... /var/lib/jenkins/userContent/reproducible/debian/logdiffs/trixie/amd64/nast_0.2.0-12.diff: 86.8% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/logdiffs/trixie/amd64/nast_0.2.0-12.diff.gz b2/build.log: 84.8% -- replaced with stdout Compressing the 1st log... b1/build.log: 85.4% -- replaced with stdout Thu Jun 5 13:43:43 UTC 2025 I: diffoscope 297 will be used to compare the two builds: ++ date -u +%s + DIFFOSCOPE_STAMP=/var/log/reproducible-builds/diffoscope_stamp_nast_trixie_amd64_1749131023 + touch /var/log/reproducible-builds/diffoscope_stamp_nast_trixie_amd64_1749131023 + RESULT=0 + systemd-run '--description=diffoscope on nast/0.2.0-12 in trixie/amd64' --slice=rb-build-diffoscope.slice -u rb-diffoscope-amd64_11-54812 '--property=SuccessExitStatus=1 124' --user --send-sighup --pipe --wait -E TMPDIR timeout 155m nice schroot --directory /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i --run-session -c jenkins-reproducible-trixie-diffoscope-3ad84d02-0fd0-45ec-98f0-c4a9dff536f6 -- sh -c 'export TMPDIR=/srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/dbd-tmp-OHKdjvH ; timeout 150m diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/nast_0.2.0-12.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/nast_0.2.0-12.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/nast_0.2.0-12.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/b1/nast_0.2.0-12_amd64.changes /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/b2/nast_0.2.0-12_amd64.changes' + false + set +x Running as unit: rb-diffoscope-amd64_11-54812.service # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/nast_0.2.0-12.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/nast_0.2.0-12.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/nast_0.2.0-12.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/b1/nast_0.2.0-12_amd64.changes /srv/reproducible-results/rbuild-debian/r-b-build.NfFG6h9i/b2/nast_0.2.0-12_amd64.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call diffoscope.comparators.binary.FilesystemFile ## main (total time: 0.003s) 0.002s 2 calls outputs 0.000s 1 call cleanup Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 158ms CPU time consumed: 159ms _ _ __ __ _ ___| |_ | '_ \ / _` / __| __| | | | | (_| \__ \ |_ |_| |_|\__,_|___/\__| Thu Jun 5 13:43:43 UTC 2025 I: diffoscope 297 found no differences in the changes files, and a .buildinfo file also exists. Thu Jun 5 13:43:43 UTC 2025 I: nast from trixie built successfully and reproducibly on amd64. INSERT 0 1 INSERT 0 1 DELETE 1 [2025-06-05 13:43:44] INFO: Starting at 2025-06-05 13:43:44.007020 [2025-06-05 13:43:44] INFO: Generating the pages of 1 package(s) [2025-06-05 13:43:44] CRITICAL: https://tests.reproducible-builds.org/debian/trixie/amd64/nast didn't produce a buildlog, even though it has been built. [2025-06-05 13:43:44] INFO: Finished at 2025-06-05 13:43:44.231265, took: 0:00:00.224248 Thu Jun 5 13:43:44 UTC 2025 - successfully updated the database and updated https://tests.reproducible-builds.org/debian/rb-pkg/trixie/amd64/nast.html Thu Jun 5 13:43:44 UTC 2025 I: Removing signed nast_0.2.0-12_amd64.buildinfo.asc files: removed './b1/nast_0.2.0-12_amd64.buildinfo.asc' removed './b2/nast_0.2.0-12_amd64.buildinfo.asc' 1749131024 amd64 trixie nast Starting cleanup. /var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/amd64/nast_0.2.0-12.rbuild.log: 83.6% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/rbuild/trixie/amd64/nast_0.2.0-12.rbuild.log.gz [2025-06-05 13:43:44] INFO: Starting at 2025-06-05 13:43:44.485045 [2025-06-05 13:43:44] INFO: Generating the pages of 1 package(s) [2025-06-05 13:43:44] INFO: Finished at 2025-06-05 13:43:44.698704, took: 0:00:00.213661 All cleanup done. Thu Jun 5 13:43:44 UTC 2025 - total duration: 0h 4m 13s. Thu Jun 5 13:43:44 UTC 2025 - reproducible_build.sh stopped running as /tmp/jenkins-script-LcJBtAhi, removing. Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 4min 14.448s CPU time consumed: 4.564s