I: pbuilder: network access will be disabled during build I: Current time: Sat May 18 13:06:28 +14 2024 I: pbuilder-time-stamp: 1715987188 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-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 [miniupnpd_2.3.1-1.dsc] I: copying [./miniupnpd_2.3.1.orig.tar.gz] I: copying [./miniupnpd_2.3.1.orig.tar.gz.asc] I: copying [./miniupnpd_2.3.1-1.debian.tar.xz] I: Extracting source gpgv: Signature made Thu Dec 22 10:58:23 2022 +14 gpgv: using RSA key 7E7729476D87D6F11D91ACCBC293E7B461825ACE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./miniupnpd_2.3.1-1.dsc: no acceptable signature found dpkg-source: info: extracting miniupnpd in miniupnpd-2.3.1 dpkg-source: info: unpacking miniupnpd_2.3.1.orig.tar.gz dpkg-source: info: unpacking miniupnpd_2.3.1-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying makefile-tweak.patch dpkg-source: info: applying miniupnpd-allow-ipv4-listening-specify.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1027809/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 May 18 13:07 /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/1027809/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/1027809/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]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.2.15(1)-release' BUILDDIR=/build 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=16' DIRSTACK=() DISTRIBUTION=bookworm EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=x86_64 HOST_ARCH=amd64 IFS=' ' INVOCATION_ID=f225c5f9167246eeacb1e7f1c6b6e39a 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=1027809 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.lYOiJ7aE/pbuilderrc_faJ7 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.lYOiJ7aE/b2 --logfile b2/build.log --extrapackages usrmerge miniupnpd_2.3.1-1.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://85.184.249.68:3128 I: uname -a Linux i-capture-the-hostname 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux I: ls -l /bin total 5632 -rwxr-xr-x 1 root root 1265648 Feb 13 2023 bash -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash -rwxr-xr-x 1 root root 121904 Sep 21 2022 date -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd -rwxr-xr-x 1 root root 102200 Sep 21 2022 df -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep -rwxr-xr-x 1 root root 35664 Sep 21 2022 false -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln -rwxr-xr-x 1 root root 53024 Mar 24 2023 login -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp -rwxr-xr-x 1 root root 59712 Mar 24 2023 more -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd lrwxrwxrwx 1 root root 4 Feb 13 2023 rbash -> bash -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed lrwxrwxrwx 1 root root 9 May 18 13:07 sh -> /bin/bash -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty -rwsr-xr-x 1 root root 72000 Mar 24 2023 su -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch -rwxr-xr-x 1 root root 35664 Sep 21 2022 true -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew I: user script /srv/workspace/pbuilder/1027809/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 (= 13), libiptc-dev, libxtables-dev, libnftnl-dev, libmnl-dev, pkg-config, po-debconf dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19596 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 (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libiptc-dev; however: Package libiptc-dev is not installed. pbuilder-satisfydepends-dummy depends on libxtables-dev; however: Package libxtables-dev is not installed. pbuilder-satisfydepends-dummy depends on libnftnl-dev; however: Package libnftnl-dev is not installed. pbuilder-satisfydepends-dummy depends on libmnl-dev; however: Package libmnl-dev is not installed. pbuilder-satisfydepends-dummy depends on pkg-config; however: Package pkg-config is not installed. pbuilder-satisfydepends-dummy depends on po-debconf; however: Package po-debconf 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} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libip4tc-dev{a} libip4tc2{a} libip6tc-dev{a} libip6tc2{a} libiptc-dev{a} libmagic-mgc{a} libmagic1{a} libmnl-dev{a} libmnl0{a} libnftnl-dev{a} libnftnl11{a} libpipeline1{a} libpkgconf3{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} libxtables-dev{a} libxtables12{a} m4{a} man-db{a} pkg-config{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 45 newly installed, 0 to remove and 0 not upgraded. Need to get 19.1 MB of archives. After unpacking 74.1 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main amd64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 2 http://deb.debian.org/debian bookworm/main amd64 libmagic-mgc amd64 1:5.44-3 [305 kB] Get: 3 http://deb.debian.org/debian bookworm/main amd64 libmagic1 amd64 1:5.44-3 [104 kB] Get: 4 http://deb.debian.org/debian bookworm/main amd64 file amd64 1:5.44-3 [42.5 kB] Get: 5 http://deb.debian.org/debian bookworm/main amd64 gettext-base amd64 0.21-12 [160 kB] Get: 6 http://deb.debian.org/debian bookworm/main amd64 libuchardet0 amd64 0.0.7-1 [67.8 kB] Get: 7 http://deb.debian.org/debian bookworm/main amd64 groff-base amd64 1.22.4-10 [916 kB] Get: 8 http://deb.debian.org/debian bookworm/main amd64 bsdextrautils amd64 2.38.1-5+b1 [86.6 kB] Get: 9 http://deb.debian.org/debian bookworm/main amd64 libpipeline1 amd64 1.5.7-1 [38.5 kB] Get: 10 http://deb.debian.org/debian bookworm/main amd64 man-db amd64 2.11.2-2 [1386 kB] Get: 11 http://deb.debian.org/debian bookworm/main amd64 m4 amd64 1.4.19-3 [287 kB] Get: 12 http://deb.debian.org/debian bookworm/main amd64 autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian bookworm/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian bookworm/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian bookworm/main amd64 autopoint all 0.21-12 [495 kB] Get: 16 http://deb.debian.org/debian bookworm/main amd64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 17 http://deb.debian.org/debian bookworm/main amd64 libtool all 2.4.7-5 [517 kB] Get: 18 http://deb.debian.org/debian bookworm/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian bookworm/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian bookworm/main amd64 libsub-override-perl all 0.09-4 [9304 B] Get: 21 http://deb.debian.org/debian bookworm/main amd64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian bookworm/main amd64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian bookworm/main amd64 libelf1 amd64 0.188-2.1 [174 kB] Get: 24 http://deb.debian.org/debian bookworm/main amd64 dwz amd64 0.15-1 [109 kB] Get: 25 http://deb.debian.org/debian bookworm/main amd64 libicu72 amd64 72.1-3 [9376 kB] Get: 26 http://deb.debian.org/debian bookworm/main amd64 libxml2 amd64 2.9.14+dfsg-1.1+b3 [687 kB] Get: 27 http://deb.debian.org/debian bookworm/main amd64 gettext amd64 0.21-12 [1300 kB] Get: 28 http://deb.debian.org/debian bookworm/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main amd64 debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main amd64 libip4tc2 amd64 1.8.9-2 [19.0 kB] Get: 32 http://deb.debian.org/debian bookworm/main amd64 libip4tc-dev amd64 1.8.9-2 [9496 B] Get: 33 http://deb.debian.org/debian bookworm/main amd64 libip6tc2 amd64 1.8.9-2 [19.4 kB] Get: 34 http://deb.debian.org/debian bookworm/main amd64 libip6tc-dev amd64 1.8.9-2 [8840 B] Get: 35 http://deb.debian.org/debian bookworm/main amd64 libiptc-dev amd64 1.8.9-2 [7368 B] Get: 36 http://deb.debian.org/debian bookworm/main amd64 libmnl0 amd64 1.0.4-3 [12.5 kB] Get: 37 http://deb.debian.org/debian bookworm/main amd64 libmnl-dev amd64 1.0.4-3 [7752 B] Get: 38 http://deb.debian.org/debian bookworm/main amd64 libnftnl11 amd64 1.2.4-2 [61.6 kB] Get: 39 http://deb.debian.org/debian bookworm/main amd64 libpkgconf3 amd64 1.8.1-1 [36.1 kB] Get: 40 http://deb.debian.org/debian bookworm/main amd64 pkgconf-bin amd64 1.8.1-1 [29.5 kB] Get: 41 http://deb.debian.org/debian bookworm/main amd64 pkgconf amd64 1.8.1-1 [25.9 kB] Get: 42 http://deb.debian.org/debian bookworm/main amd64 pkg-config amd64 1.8.1-1 [13.7 kB] Get: 43 http://deb.debian.org/debian bookworm/main amd64 libnftnl-dev amd64 1.2.4-2 [85.9 kB] Get: 44 http://deb.debian.org/debian bookworm/main amd64 libxtables12 amd64 1.8.9-2 [30.8 kB] Get: 45 http://deb.debian.org/debian bookworm/main amd64 libxtables-dev amd64 1.8.9-2 [13.2 kB] Fetched 19.1 MB in 1s (14.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19596 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.44-3_amd64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../02-libmagic1_1%3a5.44-3_amd64.deb ... Unpacking libmagic1:amd64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.44-3_amd64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-12_amd64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.7-1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.22.4-10_amd64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.38.1-5+b1_amd64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.7-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.11.2-2_amd64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-3_amd64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... 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 libsub-override-perl. Preparing to unpack .../19-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../22-libelf1_0.188-2.1_amd64.deb ... Unpacking libelf1:amd64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1_amd64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../24-libicu72_72.1-3_amd64.deb ... Unpacking libicu72:amd64 (72.1-3) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.1+b3_amd64.deb ... Unpacking libxml2:amd64 (2.9.14+dfsg-1.1+b3) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-12_amd64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-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 .../28-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package libip4tc2:amd64. Preparing to unpack .../30-libip4tc2_1.8.9-2_amd64.deb ... Unpacking libip4tc2:amd64 (1.8.9-2) ... Selecting previously unselected package libip4tc-dev:amd64. Preparing to unpack .../31-libip4tc-dev_1.8.9-2_amd64.deb ... Unpacking libip4tc-dev:amd64 (1.8.9-2) ... Selecting previously unselected package libip6tc2:amd64. Preparing to unpack .../32-libip6tc2_1.8.9-2_amd64.deb ... Unpacking libip6tc2:amd64 (1.8.9-2) ... Selecting previously unselected package libip6tc-dev:amd64. Preparing to unpack .../33-libip6tc-dev_1.8.9-2_amd64.deb ... Unpacking libip6tc-dev:amd64 (1.8.9-2) ... Selecting previously unselected package libiptc-dev:amd64. Preparing to unpack .../34-libiptc-dev_1.8.9-2_amd64.deb ... Unpacking libiptc-dev:amd64 (1.8.9-2) ... Selecting previously unselected package libmnl0:amd64. Preparing to unpack .../35-libmnl0_1.0.4-3_amd64.deb ... Unpacking libmnl0:amd64 (1.0.4-3) ... Selecting previously unselected package libmnl-dev:amd64. Preparing to unpack .../36-libmnl-dev_1.0.4-3_amd64.deb ... Unpacking libmnl-dev:amd64 (1.0.4-3) ... Selecting previously unselected package libnftnl11:amd64. Preparing to unpack .../37-libnftnl11_1.2.4-2_amd64.deb ... Unpacking libnftnl11:amd64 (1.2.4-2) ... Selecting previously unselected package libpkgconf3:amd64. Preparing to unpack .../38-libpkgconf3_1.8.1-1_amd64.deb ... Unpacking libpkgconf3:amd64 (1.8.1-1) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../39-pkgconf-bin_1.8.1-1_amd64.deb ... Unpacking pkgconf-bin (1.8.1-1) ... Selecting previously unselected package pkgconf:amd64. Preparing to unpack .../40-pkgconf_1.8.1-1_amd64.deb ... Unpacking pkgconf:amd64 (1.8.1-1) ... Selecting previously unselected package pkg-config:amd64. Preparing to unpack .../41-pkg-config_1.8.1-1_amd64.deb ... Unpacking pkg-config:amd64 (1.8.1-1) ... Selecting previously unselected package libnftnl-dev:amd64. Preparing to unpack .../42-libnftnl-dev_1.2.4-2_amd64.deb ... Unpacking libnftnl-dev:amd64 (1.2.4-2) ... Selecting previously unselected package libxtables12:amd64. Preparing to unpack .../43-libxtables12_1.8.9-2_amd64.deb ... Unpacking libxtables12:amd64 (1.8.9-2) ... Selecting previously unselected package libxtables-dev:amd64. Preparing to unpack .../44-libxtables-dev_1.8.9-2_amd64.deb ... Unpacking libxtables-dev:amd64 (1.8.9-2) ... Setting up libip4tc2:amd64 (1.8.9-2) ... Setting up libpipeline1:amd64 (1.5.7-1) ... Setting up libicu72:amd64 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libip6tc2:amd64 (1.8.9-2) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libmagic1:amd64 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up autotools-dev (20220109.1) ... Setting up libip4tc-dev:amd64 (1.8.9-2) ... Setting up libpkgconf3:amd64 (1.8.1-1) ... Setting up libmnl0:amd64 (1.0.4-3) ... Setting up autopoint (0.21-12) ... Setting up pkgconf-bin (1.8.1-1) ... Setting up libxtables12:amd64 (1.8.9-2) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libip6tc-dev:amd64 (1.8.9-2) ... Setting up libuchardet0:amd64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up libelf1:amd64 (0.188-2.1) ... Setting up libxml2:amd64 (2.9.14+dfsg-1.1+b3) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up libxtables-dev:amd64 (1.8.9-2) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up libnftnl11:amd64 (1.2.4-2) ... Setting up pkgconf:amd64 (1.8.1-1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libmnl-dev:amd64 (1.0.4-3) ... Setting up libnftnl-dev:amd64 (1.2.4-2) ... Setting up libiptc-dev:amd64 (1.8.9-2) ... Setting up pkg-config:amd64 (1.8.1-1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.11.4) ... Processing triggers for libc-bin (2.36-8) ... 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 Reading package lists... Building dependency tree... Reading state information... usrmerge is already the newest version (35). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/1027809/tmp/hooks/A99_set_merged_usr starting Re-configuring usrmerge... removed '/etc/unsupported-skip-usrmerge-conversion' The system has been successfully converted. I: user script /srv/workspace/pbuilder/1027809/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/miniupnpd-2.3.1/ && 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 > ../miniupnpd_2.3.1-1_source.changes dpkg-buildpackage: info: source package miniupnpd dpkg-buildpackage: info: source version 2.3.1-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Yangfl dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean debian/rules override_dh_auto_clean make[1]: Entering directory '/build/miniupnpd-2.3.1' /usr/bin/make -f Makefile.linux clean make[2]: Entering directory '/build/miniupnpd-2.3.1' please install uuid-dev package / libuuid /bin/sh configure --firewall=iptables configure: line 432: -n: command not found detected libiptc version 1.8.9 ./Makefile.linux -> Makefile Configuring compilation for [Debian] [12.0] with [iptables] firewall software. Please edit config.h for more compilation options. please install uuid-dev package / libuuid rm -f config.h rm -f miniupnpd.o upnphttp.o upnpdescgen.o upnpsoap.o upnpreplyparse.o minixml.o portinuse.o upnpredirect.o getifaddr.o daemonize.o options.o upnppermissions.o minissdp.o natpmp.o pcpserver.o upnpglobalvars.o upnpevents.o upnputils.o getconnstatus.o upnpstun.o upnppinhole.o pcplearndscp.o asyncsendto.o getifstats.o ifacewatcher.o getroute.o iptcrdr.o iptpinhole.o nfct_get.o rm -f miniupnpd.d upnphttp.d upnpdescgen.d upnpsoap.d upnpreplyparse.d minixml.d portinuse.d upnpredirect.d getifaddr.d daemonize.d options.d upnppermissions.d minissdp.d natpmp.d pcpserver.d upnpglobalvars.d upnpevents.d upnputils.d getconnstatus.d upnpstun.d upnppinhole.d pcplearndscp.d asyncsendto.d getifstats.d ifacewatcher.d getroute.d iptcrdr.d iptpinhole.d nfct_get.d rm -f miniupnpd testupnpdescgen testgetifstats testupnppermissions miniupnpdctl testgetifaddr testgetroute testasyncsendto testportinuse testssdppktgen testminissdp rm -f testupnpdescgen.o testgetifstats.o rm -f testupnppermissions.o testgetifaddr.o rm -f testgetroute.o testasyncsendto.o rm -f testportinuse.o rm -f testminissdp.o rm -f testssdppktgen.o rm -f miniupnpdctl.o rm -f validateupnppermissions validategetifaddr validatessdppktgen rm -f -r dox/ make[2]: Leaving directory '/build/miniupnpd-2.3.1' rm -f .configure.cache config.mk config.h Makefile netfilter/miniupnpd netfilter_nft/miniupnpd make[1]: Leaving directory '/build/miniupnpd-2.3.1' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf debian/rules override_dh_auto_configure make[1]: Entering directory '/build/miniupnpd-2.3.1' # skip make[1]: Leaving directory '/build/miniupnpd-2.3.1' debian/rules override_dh_auto_build make[1]: Entering directory '/build/miniupnpd-2.3.1' # leasefile, see #961877 and merge_requests/1 ./configure --igd2 --ipv6 --vendorcfg --pcp-peer --portinuse --leasefile --firewall=iptables ./configure: line 432: -n: command not found detected libiptc version 1.8.9 ./Makefile.linux -> Makefile Configuring compilation for [Debian] [12.0] with [iptables] firewall software. Please edit config.h for more compilation options. /usr/bin/make -f Makefile.linux miniupnpd make[2]: Entering directory '/build/miniupnpd-2.3.1' please install uuid-dev package / libuuid x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT asyncsendto.o -MT asyncsendto.d -o asyncsendto.d asyncsendto.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT pcplearndscp.o -MT pcplearndscp.d -o pcplearndscp.d pcplearndscp.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnppinhole.o -MT upnppinhole.d -o upnppinhole.d upnppinhole.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpstun.o -MT upnpstun.d -o upnpstun.d upnpstun.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT getconnstatus.o -MT getconnstatus.d -o getconnstatus.d getconnstatus.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnputils.o -MT upnputils.d -o upnputils.d upnputils.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpevents.o -MT upnpevents.d -o upnpevents.d upnpevents.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpglobalvars.o -MT upnpglobalvars.d -o upnpglobalvars.d upnpglobalvars.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT pcpserver.o -MT pcpserver.d -o pcpserver.d pcpserver.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT natpmp.o -MT natpmp.d -o natpmp.d natpmp.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT minissdp.o -MT minissdp.d -o minissdp.d minissdp.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnppermissions.o -MT upnppermissions.d -o upnppermissions.d upnppermissions.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT options.o -MT options.d -o options.d options.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT daemonize.o -MT daemonize.d -o daemonize.d daemonize.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT getifaddr.o -MT getifaddr.d -o getifaddr.d getifaddr.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpredirect.o -MT upnpredirect.d -o upnpredirect.d upnpredirect.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT portinuse.o -MT portinuse.d -o portinuse.d portinuse.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT minixml.o -MT minixml.d -o minixml.d minixml.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpreplyparse.o -MT upnpreplyparse.d -o upnpreplyparse.d upnpreplyparse.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpsoap.o -MT upnpsoap.d -o upnpsoap.d upnpsoap.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpdescgen.o -MT upnpdescgen.d -o upnpdescgen.d upnpdescgen.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnphttp.o -MT upnphttp.d -o upnphttp.d upnphttp.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT miniupnpd.o -MT miniupnpd.d -o miniupnpd.d miniupnpd.c please install uuid-dev package / libuuid x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. miniupnpd.c -o miniupnpd.o miniupnpd.c: In function 'OpenAndConfHTTPSocket': miniupnpd.c:349:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 349 | syslog(LOG_ERR, "socket(http): %m"); | ^ miniupnpd.c:355:71: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 355 | syslog(LOG_WARNING, "setsockopt(http, SO_REUSEADDR): %m"); | ^ miniupnpd.c:368:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 368 | syslog(LOG_WARNING, "set_non_blocking(http): %m"); | ^ miniupnpd.c:402:86: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 402 | syslog(LOG_WARNING, "setsockopt(http, SO_BINDTODEVICE, %s): %m", | ^ miniupnpd.c:415:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 415 | syslog(LOG_ERR, "bind(http): %m"); | ^ miniupnpd.c:422:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 422 | syslog(LOG_ERR, "listen(http): %m"); | ^ miniupnpd.c:433:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 433 | syslog(LOG_ERR, "getsockname(): %m"); | ^ miniupnpd.c:442:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 442 | syslog(LOG_ERR, "getsockname(): %m"); | ^ miniupnpd.c: In function 'ProcessIncomingHTTP': miniupnpd.c:470:57: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 470 | syslog(LOG_ERR, "accept(http): %m"); | ^ miniupnpd.c: In function 'set_startup_time': miniupnpd.c:844:69: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 844 | syslog(LOG_ERR, "fopen(\"/proc/uptime\") : %m"); | ^ miniupnpd.c:850:78: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 850 | syslog(LOG_ERR, "fscanf(\"/proc/uptime\") : %m"); | ^ In file included from miniupnpd.c:69: miniupnpd.c: In function 'init': miniupnpd.c:1268:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1268 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macros.h:22:67: note: in definition of macro 'INIT_PRINT_ERR' 22 | #define INIT_PRINT_ERR(...) do { if (!debug_flag) fprintf(stderr, __VA_ARGS__); syslog(LOG_ERR, __VA_ARGS__); } while(0) | ^~~~~~~~~~~ miniupnpd.c:1268:93: note: format string is defined here 1268 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^ miniupnpd.c:1268:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1268 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macros.h:22:97: note: in definition of macro 'INIT_PRINT_ERR' 22 | #define INIT_PRINT_ERR(...) do { if (!debug_flag) fprintf(stderr, __VA_ARGS__); syslog(LOG_ERR, __VA_ARGS__); } while(0) | ^~~~~~~~~~~ miniupnpd.c:1268:93: note: format string is defined here 1268 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^ miniupnpd.c:1274:1: warning: embedding a directive within macro arguments is not portable 1274 | #ifndef ENABLE_IPV6 | ^ miniupnpd.c:1276:1: warning: embedding a directive within macro arguments is not portable 1276 | #endif | ^ miniupnpd.c:1728:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1728 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macros.h:22:67: note: in definition of macro 'INIT_PRINT_ERR' 22 | #define INIT_PRINT_ERR(...) do { if (!debug_flag) fprintf(stderr, __VA_ARGS__); syslog(LOG_ERR, __VA_ARGS__); } while(0) | ^~~~~~~~~~~ miniupnpd.c:1728:93: note: format string is defined here 1728 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^ miniupnpd.c:1728:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1728 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macros.h:22:97: note: in definition of macro 'INIT_PRINT_ERR' 22 | #define INIT_PRINT_ERR(...) do { if (!debug_flag) fprintf(stderr, __VA_ARGS__); syslog(LOG_ERR, __VA_ARGS__); } while(0) | ^~~~~~~~~~~ miniupnpd.c:1728:93: note: format string is defined here 1728 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^ miniupnpd.c:1734:1: warning: embedding a directive within macro arguments is not portable 1734 | #ifndef ENABLE_IPV6 | ^ miniupnpd.c:1736:1: warning: embedding a directive within macro arguments is not portable 1736 | #endif /* #ifndef ENABLE_IPV6 */ | ^ miniupnpd.c: In function 'main': miniupnpd.c:2155:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 2155 | " " __DATE__ ); | ^~~~~~~~ miniupnpd.c:2269:52: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2269 | syslog(LOG_ERR, "uname(): %m"); | ^ miniupnpd.c:2586:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2586 | syslog(LOG_ERR, "gettimeofday(): %m"); | ^ miniupnpd.c:2821:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2821 | syslog(LOG_ERR, "select(all): %m"); | ^ miniupnpd.c:3172:64: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3172 | syslog(LOG_ERR, "Failed to remove pidfile %s: %m", pidfilename); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnphttp.c -o upnphttp.o upnphttp.c: In function 'New_upnphttp': upnphttp.c:147:73: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 147 | syslog(LOG_WARNING, "New_upnphttp::set_non_blocking(): %m"); | ^ upnphttp.c: In function 'CloseSocket_upnphttp': upnphttp.c:187:68: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 187 | syslog(LOG_ERR, "CloseSocket_upnphttp: close(%d): %m", h->socket); | ^ upnphttp.c: In function 'Process_upnphttp': upnphttp.c:955:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 955 | syslog(LOG_ERR, "recv (state0): %m"); | ^ upnphttp.c:1037:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1037 | syslog(LOG_ERR, "recv (state1): %m"); | ^ upnphttp.c:1067:75: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1067 | syslog(LOG_ERR, "memory allocation error %m"); | ^ upnphttp.c: In function 'SendResp_upnphttp': upnphttp.c:1277:58: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1277 | syslog(LOG_ERR, "send(res_buf): %m"); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpdescgen.c -o upnpdescgen.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpsoap.c -o upnpsoap.o upnpsoap.c: In function 'GetGenericPortMappingEntry': upnpsoap.c:1063:65: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1063 | syslog(LOG_WARNING, "%s: strtol('%s'): %m", | ^ upnpsoap.c: In function 'PinholeVerification': upnpsoap.c:1614:46: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1614 | syslog(LOG_ERR, "inet_ntop: %m"); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpreplyparse.c -o upnpreplyparse.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. minixml.c -o minixml.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. portinuse.c -o portinuse.o portinuse.c: In function 'port_in_use': portinuse.c:103:34: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] 103 | if (sscanf(line, "%*d: %64[0-9A-Fa-f]:%x %*x:%*x %*x %*x:%*x " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portinuse.c:115:55: warning: format '%hhx' expects argument of type 'unsigned char *', but argument 3 has type 'char *' [-Wformat=] 115 | if (sscanf(eaddr,"%2hhx%2hhx%2hhx%2hhx", | ~~~~^ | | | unsigned char * | %2hhx 116 | &tmp_addr[3],&tmp_addr[2],&tmp_addr[1],&tmp_addr[0]) == 4) | ~~~~~~~~~~~~ | | | char * portinuse.c:115:60: warning: format '%hhx' expects argument of type 'unsigned char *', but argument 4 has type 'char *' [-Wformat=] 115 | if (sscanf(eaddr,"%2hhx%2hhx%2hhx%2hhx", | ~~~~^ | | | unsigned char * | %2hhx 116 | &tmp_addr[3],&tmp_addr[2],&tmp_addr[1],&tmp_addr[0]) == 4) | ~~~~~~~~~~~~ | | | char * portinuse.c:115:65: warning: format '%hhx' expects argument of type 'unsigned char *', but argument 5 has type 'char *' [-Wformat=] 115 | if (sscanf(eaddr,"%2hhx%2hhx%2hhx%2hhx", | ~~~~^ | | | unsigned char * | %2hhx 116 | &tmp_addr[3],&tmp_addr[2],&tmp_addr[1],&tmp_addr[0]) == 4) | ~~~~~~~~~~~~ | | | char * portinuse.c:115:70: warning: format '%hhx' expects argument of type 'unsigned char *', but argument 6 has type 'char *' [-Wformat=] 115 | if (sscanf(eaddr,"%2hhx%2hhx%2hhx%2hhx", | ~~~~^ | | | unsigned char * | %2hhx 116 | &tmp_addr[3],&tmp_addr[2],&tmp_addr[1],&tmp_addr[0]) == 4) | ~~~~~~~~~~~~ | | | char * x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpredirect.c -o upnpredirect.o upnpredirect.c: In function 'reload_from_lease_file': upnpredirect.c:214:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 214 | syslog(LOG_WARNING, "could not unlink file %s : %m", lease_file); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. getifaddr.c -o getifaddr.o getifaddr.c: In function 'getifaddr': getifaddr.c:47:64: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 47 | syslog(LOG_ERR, "socket(PF_INET, SOCK_DGRAM): %m"); | ^ getifaddr.c:54:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 54 | syslog(LOG_DEBUG, "ioctl(s, SIOCGIFFLAGS, ...): %m"); | ^ getifaddr.c:68:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 68 | syslog(LOG_ERR, "ioctl(s, SIOCGIFADDR, ...): %m"); | ^ getifaddr.c:78:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 78 | syslog(LOG_ERR, "inet_ntop(): %m"); | ^ getifaddr.c:89:74: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 89 | syslog(LOG_ERR, "ioctl(s, SIOCGIFNETMASK, ...): %m"); | ^ getifaddr.c: In function 'getifaddr_in6': getifaddr.c:172:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 172 | syslog(LOG_ERR, "getifaddrs: %m"); | ^ getifaddr.c: In function 'find_ipv6_addr': getifaddr.c:247:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 247 | syslog(LOG_ERR, "getifaddrs: %m"); | ^ getifaddr.c: At top level: getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:286:11: note: in expansion of macro 'IP' 286 | { IP(169, 254, 0, 0), MSK(16) }, /* RFC3927 Link-Local */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[4].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:286:11: note: in expansion of macro 'IP' 286 | { IP(169, 254, 0, 0), MSK(16) }, /* RFC3927 Link-Local */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:287:11: note: in expansion of macro 'IP' 287 | { IP(172, 16, 0, 0), MSK(12) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[5].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:287:11: note: in expansion of macro 'IP' 287 | { IP(172, 16, 0, 0), MSK(12) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:288:11: note: in expansion of macro 'IP' 288 | { IP(192, 0, 0, 0), MSK(24) }, /* RFC6890 IETF Protocol Assignments */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[6].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:288:11: note: in expansion of macro 'IP' 288 | { IP(192, 0, 0, 0), MSK(24) }, /* RFC6890 IETF Protocol Assignments */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:289:11: note: in expansion of macro 'IP' 289 | { IP(192, 0, 2, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-1) */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[7].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:289:11: note: in expansion of macro 'IP' 289 | { IP(192, 0, 2, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-1) */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:290:11: note: in expansion of macro 'IP' 290 | { IP(192, 31, 196, 0), MSK(24) }, /* RFC7535 AS112-v4 */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[8].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:290:11: note: in expansion of macro 'IP' 290 | { IP(192, 31, 196, 0), MSK(24) }, /* RFC7535 AS112-v4 */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:291:11: note: in expansion of macro 'IP' 291 | { IP(192, 52, 193, 0), MSK(24) }, /* RFC7450 AMT */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[9].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:291:11: note: in expansion of macro 'IP' 291 | { IP(192, 52, 193, 0), MSK(24) }, /* RFC7450 AMT */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:292:11: note: in expansion of macro 'IP' 292 | { IP(192, 88, 99, 0), MSK(24) }, /* RFC7526 6to4 Relay Anycast */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[10].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:292:11: note: in expansion of macro 'IP' 292 | { IP(192, 88, 99, 0), MSK(24) }, /* RFC7526 6to4 Relay Anycast */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:293:11: note: in expansion of macro 'IP' 293 | { IP(192, 168, 0, 0), MSK(16) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[11].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:293:11: note: in expansion of macro 'IP' 293 | { IP(192, 168, 0, 0), MSK(16) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:294:11: note: in expansion of macro 'IP' 294 | { IP(192, 175, 48, 0), MSK(24) }, /* RFC7534 Direct Delegation AS112 Service */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[12].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:294:11: note: in expansion of macro 'IP' 294 | { IP(192, 175, 48, 0), MSK(24) }, /* RFC7534 Direct Delegation AS112 Service */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:295:11: note: in expansion of macro 'IP' 295 | { IP(198, 18, 0, 0), MSK(15) }, /* RFC2544 Benchmarking */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[13].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:295:11: note: in expansion of macro 'IP' 295 | { IP(198, 18, 0, 0), MSK(15) }, /* RFC2544 Benchmarking */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:296:11: note: in expansion of macro 'IP' 296 | { IP(198, 51, 100, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-2) */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[14].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:296:11: note: in expansion of macro 'IP' 296 | { IP(198, 51, 100, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-2) */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:297:11: note: in expansion of macro 'IP' 297 | { IP(203, 0, 113, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-3) */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[15].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:297:11: note: in expansion of macro 'IP' 297 | { IP(203, 0, 113, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-3) */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:298:11: note: in expansion of macro 'IP' 298 | { IP(224, 0, 0, 0), MSK( 4) }, /* RFC1112 Multicast */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[16].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:298:11: note: in expansion of macro 'IP' 298 | { IP(224, 0, 0, 0), MSK( 4) }, /* RFC1112 Multicast */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:299:11: note: in expansion of macro 'IP' 299 | { IP(240, 0, 0, 0), MSK( 4) }, /* RFC1112 Reserved for Future Use + RFC919 Limited Broadcast */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[17].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:299:11: note: in expansion of macro 'IP' 299 | { IP(240, 0, 0, 0), MSK( 4) }, /* RFC1112 Reserved for Future Use + RFC919 Limited Broadcast */ | ^~ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. daemonize.c -o daemonize.o daemonize.c: In function 'writepidfile': daemonize.c:75:74: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 75 | syslog(LOG_ERR, "Unable to open pidfile for writing %s: %m", fname); | ^ daemonize.c:90:74: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 90 | syslog(LOG_ERR, "Unable to write to pidfile %s: %m", fname); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. options.c -o options.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnppermissions.c -o upnppermissions.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. minissdp.c -o minissdp.o minissdp.c: In function 'AddMulticastMembership': minissdp.c:88:71: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 88 | syslog(LOG_ERR, "setsockopt(udp, IP_ADD_MEMBERSHIP): %m"); | ^ minissdp.c: In function 'AddMulticastMembershipIPv6': minissdp.c:112:73: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 112 | syslog(LOG_ERR, "setsockopt(udp, IPV6_ADD_MEMBERSHIP): %m"); | ^ minissdp.c:118:73: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 118 | syslog(LOG_ERR, "setsockopt(udp, IPV6_ADD_MEMBERSHIP): %m"); | ^ minissdp.c:124:73: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 124 | syslog(LOG_ERR, "setsockopt(udp, IPV6_ADD_MEMBERSHIP): %m"); | ^ minissdp.c: In function 'OpenAndConfSSDPReceiveSocket': minissdp.c:168:52: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 168 | syslog(LOG_ERR, "%s: socket(udp): %m", | ^ minissdp.c:198:70: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 198 | syslog(LOG_WARNING, "setsockopt(udp, SO_REUSEADDR): %m"); | ^ minissdp.c:202:70: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 202 | syslog(LOG_WARNING, "setsockopt(udp, SO_REUSEPORT): %m"); | ^ minissdp.c:217:76: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 217 | syslog(LOG_WARNING, "setsockopt(udp, IP_PKTINFO): %m"); | ^ minissdp.c:225:82: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 225 | syslog(LOG_WARNING, "setsockopt(udp, IPV6_RECVPKTINFO): %m"); | ^ minissdp.c:232:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 232 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ minissdp.c:244:87: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 244 | syslog(LOG_WARNING, "%s: setsockopt(udp%s, SO_BINDTODEVICE, %s): %m", | ^ minissdp.c:252:52: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 252 | syslog(LOG_ERR, "%s: bind(udp%s): %m", | ^ minissdp.c: In function 'OpenAndConfSSDPNotifySocket': minissdp.c:309:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 309 | syslog(LOG_ERR, "socket(udp_notify): %m"); | ^ minissdp.c:326:78: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 326 | syslog(LOG_ERR, "setsockopt(udp_notify, IP_MULTICAST_LOOP): %m"); | ^ minissdp.c:333:76: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 333 | syslog(LOG_ERR, "setsockopt(udp_notify, IP_MULTICAST_IF): %m"); | ^ minissdp.c:340:82: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 340 | syslog(LOG_WARNING, "setsockopt(udp_notify, IP_MULTICAST_TTL,): %m"); | ^ minissdp.c:345:73: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 345 | syslog(LOG_ERR, "setsockopt(udp_notify, SO_BROADCAST): %m"); | ^ minissdp.c:360:53: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 360 | syslog(LOG_ERR, "bind(udp_notify): %m"); | ^ minissdp.c: In function 'OpenAndConfSSDPNotifySocketIPv6': minissdp.c:384:60: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 384 | syslog(LOG_ERR, "socket(udp_notify IPv6): %m"); | ^ minissdp.c:389:87: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 389 | syslog(LOG_ERR, "setsockopt(udp_notify IPv6, IPV6_MULTICAST_IF, %u): %m", lan_addr->index); | ^ minissdp.c:395:80: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 395 | syslog(LOG_ERR, "setsockopt(udp_notify, IPV6_MULTICAST_LOOP): %m"); | ^ minissdp.c:401:80: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 401 | syslog(LOG_ERR, "setsockopt(udp_notify, IPV6_MULTICAST_HOPS): %m"); | ^ minissdp.c:417:58: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 417 | syslog(LOG_ERR, "bind(udp_notify IPv6): %m"); | ^ minissdp.c: In function 'SendSSDPResponse': minissdp.c:579:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 579 | syslog(LOG_ERR, "%s: snprintf failed %m", | ^ minissdp.c:599:52: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 599 | syslog(LOG_ERR, "%s: sendto(udp): %m", | ^ minissdp.c: In function 'SendSSDPNotify': minissdp.c:713:62: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 713 | syslog(LOG_ERR, "sendto(udp_notify=%d, %s): %m", s, | ^ minissdp.c:724:62: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 724 | syslog(LOG_ERR, "sendto(udp_notify=%d, %s): %m", s, | ^ minissdp.c: In function 'ProcessSSDPRequest': minissdp.c:917:58: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 917 | syslog(LOG_ERR, "recvfrom(udp): %m"); | ^ minissdp.c: In function 'SendSSDPbyebye': minissdp.c:1406:60: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1406 | syslog(LOG_ERR, "sendto(udp_shutdown=%d): %m", s); | ^ minissdp.c: In function 'SubmitServicesToMiniSSDPD': minissdp.c:1513:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1513 | syslog(LOG_ERR, "socket(unix): %m"); | ^ minissdp.c:1520:52: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1520 | syslog(LOG_ERR, "connect(\"%s\"): %m", minissdpdsocketpath); | ^ minissdp.c:1535:83: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1535 | syslog(LOG_WARNING, "SubmitServicesToMiniSSDPD: snprintf %m"); | ^ minissdp.c:1546:83: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1546 | syslog(LOG_WARNING, "SubmitServicesToMiniSSDPD: snprintf %m"); | ^ minissdp.c:1558:83: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1558 | syslog(LOG_WARNING, "SubmitServicesToMiniSSDPD: snprintf %m"); | ^ minissdp.c:1574:83: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1574 | syslog(LOG_WARNING, "SubmitServicesToMiniSSDPD: snprintf %m"); | ^ minissdp.c:1590:60: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1590 | syslog(LOG_ERR, "write(): %m"); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. natpmp.c -o natpmp.o natpmp.c: In function 'OpenAndConfNATPMPSocket': natpmp.c:40:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 40 | syslog(LOG_ERR, "%s: socket(): %m", | ^ natpmp.c:46:69: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 46 | syslog(LOG_WARNING, "%s: setsockopt(SO_REUSEADDR): %m", | ^ natpmp.c:51:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 51 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ natpmp.c:63:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 63 | syslog(LOG_ERR, "%s: bind(): %m", | ^ natpmp.c: In function 'ReceiveNATPMPOrPCPPacket': natpmp.c:167:60: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 167 | syslog(LOG_ERR, "recvmsg(natpmp): %m"); | ^ natpmp.c: In function 'ProcessIncomingNATPMPPacket': natpmp.c:231:54: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 231 | syslog(LOG_ERR, "inet_ntop(natpmp): %m"); | ^ natpmp.c:416:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 416 | syslog(LOG_ERR, "sendto(natpmp): %m"); | ^ natpmp.c: In function 'SendNATPMPPublicAddressChangeNotification': natpmp.c:474:74: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 474 | syslog(LOG_ERR, "%s: sendto(s_udp=%d, port=%d): %m", | ^ natpmp.c:484:74: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 484 | syslog(LOG_ERR, "%s: sendto(s_udp=%d, port=%d): %m", | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. pcpserver.c -o pcpserver.o pcpserver.c: In function 'parsePCPOptions': pcpserver.c:552:25: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 552 | pcp_buf += option_length; | ^~ pcpserver.c: In function 'CreatePCPPeer': pcpserver.c:795:57: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 795 | syslog(LOG_ERR, "inet_n46top(peer_ip): %m"); | ^ pcpserver.c: In function 'ValidatePCPMsg': pcpserver.c:1204:57: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1204 | syslog(LOG_ERR, "inet_ntop(pcpserver): %m"); | ^ pcpserver.c: In function 'processPCPRequest': pcpserver.c:1286:13: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 1286 | req += PCP_COMMON_REQUEST_SIZE; | ^~ pcpserver.c:1304:29: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 1304 | req += PCP_MAP_V1_SIZE; | ^~ pcpserver.c:1333:29: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 1333 | req += PCP_PEER_V1_SIZE; | ^~ pcpserver.c:1376:29: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 1376 | req += PCP_MAP_V2_SIZE; | ^~ pcpserver.c:1407:29: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 1407 | req += PCP_PEER_V2_SIZE; | ^~ pcpserver.c: In function 'ProcessIncomingPCPPacket': pcpserver.c:1617:62: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1617 | syslog(LOG_ERR, "sendto(pcpserver): %m"); | ^ pcpserver.c: In function 'OpenAndConfPCPv6Socket': pcpserver.c:1632:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1632 | syslog(LOG_ERR, "%s: socket(): %m", "OpenAndConfPCPv6Socket"); | ^ pcpserver.c:1636:69: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1636 | syslog(LOG_WARNING, "%s: setsockopt(SO_REUSEADDR): %m", | ^ pcpserver.c:1643:68: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1643 | syslog(LOG_WARNING, "%s: setsockopt(IPV6_V6ONLY): %m", | ^ pcpserver.c:1650:73: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1650 | syslog(LOG_WARNING, "%s: setsockopt(IPV6_RECVPKTINFO): %m", | ^ pcpserver.c:1655:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1655 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ pcpserver.c:1663:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1663 | syslog(LOG_ERR, "%s: bind(): %m", "OpenAndConfPCPv6Socket"); | ^ pcpserver.c: In function 'PCPSendUnsolicitedAnnounce': pcpserver.c:1704:93: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1704 | syslog(LOG_ERR, "PCPSendUnsolicitedAnnounce(sockets[%d]) sendto(): %m", i); | ^ pcpserver.c:1715:87: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1715 | syslog(LOG_ERR, "PCPSendUnsolicitedAnnounce() IPv6 sendto(): %m"); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpglobalvars.c -o upnpglobalvars.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpevents.c -o upnpevents.o upnpevents.c: In function 'upnp_event_create_notify': upnpevents.c:251:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 251 | syslog(LOG_ERR, "%s: calloc(): %m", "upnp_event_create_notify"); | ^ upnpevents.c:263:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 263 | syslog(LOG_ERR, "%s: socket(): %m", "upnp_event_create_notify"); | ^ upnpevents.c:283:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 283 | syslog(LOG_ERR, "%s: set_non_blocking(): %m", | ^ upnpevents.c: In function 'upnp_event_notify_connect': upnpevents.c:387:68: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 387 | syslog(LOG_ERR, "%s: connect(%d, %s, %u): %m", | ^ upnpevents.c: In function 'upnp_event_send': upnpevents.c:494:62: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 494 | syslog(LOG_NOTICE, "%s: send(%s%s): %m", "upnp_event_send", | ^ upnpevents.c: In function 'upnp_event_recv': upnpevents.c:519:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 519 | syslog(LOG_ERR, "%s: recv(): %m", "upnp_event_recv"); | ^ upnpevents.c: In function 'upnp_event_process_notify': upnpevents.c:544:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 544 | syslog(LOG_ERR, "%s: getsockopt: %m", "upnp_event_process_notify"); | ^ upnpevents.c:550:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 550 | syslog(LOG_WARNING, "%s: connect(%s%s): %m", | ^ upnpevents.c: In function 'upnpevents_selectfds': upnpevents.c:579:59: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct upnp_event_notify *' [-Wformat=] 579 | syslog(LOG_DEBUG, "upnpevents_selectfds: %p %d %d", | ~^ | | | void * 580 | obj, obj->state, obj->s); | ~~~ | | | struct upnp_event_notify * upnpevents.c: In function 'upnpevents_processfds': upnpevents.c:616:41: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct upnp_event_notify *' [-Wformat=] 616 | syslog(LOG_DEBUG, "%s: %p %d %d %d %d", | ~^ | | | void * 617 | "upnpevents_processfds", obj, obj->state, obj->s, | ~~~ | | | struct upnp_event_notify * upnpevents.c:635:55: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct upnp_event_notify *' [-Wformat=] 635 | syslog(LOG_ERR, "%s: %p, remove subscriber %s after an ERROR cb: %s", | ~^ | | | void * 636 | "upnpevents_processfds", obj, obj->sub->uuid, obj->sub->callback); | ~~~ | | | struct upnp_event_notify * x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnputils.c -o upnputils.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. getconnstatus.c -o getconnstatus.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpstun.c -o upnpstun.o upnpstun.c: In function 'stun_socket': upnpstun.c:162:81: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 162 | syslog(LOG_ERR, "%s: socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP): %m", | ^ upnpstun.c:173:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 173 | syslog(LOG_ERR, "%s: bind(): %m", | ^ upnpstun.c:181:54: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 181 | syslog(LOG_ERR, "%s: getsockname(): %m", | ^ upnpstun.c: In function 'receive_stun_response': upnpstun.c:200:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 200 | syslog(LOG_ERR, "%s: recvfrom(): %m", "receive_stun_response"); | ^ upnpstun.c: In function 'wait_for_stun_responses': upnpstun.c:260:57: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 260 | syslog(LOG_ERR, "%s: select(): %m", "wait_for_stun_responses"); | ^ upnpstun.c: In function 'perform_stun': upnpstun.c:457:72: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 457 | syslog(LOG_ERR, "%s: #%d,%d sendto(): %m", "perform_stun", j, i); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnppinhole.c -o upnppinhole.o upnppinhole.c: In function 'reload_from_lease_file6': upnppinhole.c:516:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 516 | syslog(LOG_WARNING, "could not unlink file %s : %m", lease_file6); | ^ upnppinhole.c: In function 'upnp_add_inboundpinhole': upnppinhole.c:652:53: warning: format '%p' expects argument of type 'void *', but argument 5 has type 'struct in6_addr *' [-Wformat=] 652 | syslog(LOG_ERR, "inet_pton(%d, %s, %p) FAILED", | ~^ | | | void * 653 | AF_INET6, iaddr, &address); | ~~~~~~~~ | | | struct in6_addr * upnppinhole.c: In function 'lease_file6_remove.isra': upnppinhole.c:335:25: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 335 | strncpy(buf2, buf, buf_size); | ^ upnppinhole.c:332:28: note: length computed here 332 | buf_size = strlen(buf); | ^~~~~~~~~~~ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. pcplearndscp.c -o pcplearndscp.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. asyncsendto.c -o asyncsendto.o asyncsendto.c: In function 'try_sendto': asyncsendto.c:257:97: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 257 | syslog(LOG_ERR, "%s(sock=%d, len=%u, dest=%s): sendto: %m", | ^ asyncsendto.c: In function 'finalize_sendto': asyncsendto.c:290:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 290 | syslog(LOG_ERR, "gettimeofday: %m"); | ^ asyncsendto.c:316:92: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 316 | syslog(LOG_WARNING, "finalize_sendto(): socket=%d sendto: %m", elt->sockfd); | ^ asyncsendto.c:324:57: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 324 | syslog(LOG_ERR, "gettimeofday: %m"); | ^ asyncsendto.c:345:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 345 | syslog(LOG_ERR, "select: %m"); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. linux/getifstats.c -o getifstats.o linux/getifstats.c: In function 'getifstats': linux/getifstats.c:109:78: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 109 | syslog(LOG_ERR, "getifstats() : cannot open /proc/net/dev : %m"); | ^ linux/getifstats.c:114:80: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 114 | syslog(LOG_ERR, "getifstats() : error reading /proc/net/dev : %m"); | ^ linux/getifstats.c:155:58: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 155 | syslog(LOG_INFO, "cannot read %s file : %m", fname); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. linux/ifacewatcher.c -o ifacewatcher.o linux/ifacewatcher.c: In function 'OpenAndConfInterfaceWatchSocket': linux/ifacewatcher.c:74:80: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 74 | syslog(LOG_ERR, "socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE): %m"); | ^ linux/ifacewatcher.c:85:50: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 85 | syslog(LOG_ERR, "bind(netlink): %m"); | ^ linux/ifacewatcher.c: In function 'ProcessInterfaceWatchNotify': linux/ifacewatcher.c:262:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 262 | syslog(LOG_ERR, "recvmsg(s, &hdr, 0): %m"); | ^ linux/ifacewatcher.c:323:41: warning: '__builtin_strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 323 | strncpy(tmp, RTA_DATA(rth), sizeof(tmp)); | ^ linux/ifacewatcher.c:324:41: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 127 [-Wstringop-truncation] 324 | strncpy(ifname, tmp, sizeof(ifname)); | ^ linux/ifacewatcher.c:320:49: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 320 | strncpy(address, tmp, sizeof(address)); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. linux/getroute.c -o getroute.o linux/getroute.c: In function 'get_src_for_route_to': linux/getroute.c:106:81: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 106 | syslog(LOG_ERR, "socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE) : %m"); | ^ linux/getroute.c:119:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 119 | syslog(LOG_ERR, "sendmsg(rtnetlink) : %m"); | ^ linux/getroute.c:131:62: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 131 | syslog(LOG_ERR, "recvmsg(rtnetlink) %m"); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. netfilter/iptcrdr.c -o iptcrdr.o netfilter/iptcrdr.c: In function 'get_nat_redirect_rule': netfilter/iptcrdr.c:407:52: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 407 | target = (void *)e + e->target_offset; | ^ netfilter/iptcrdr.c: In function 'get_redirect_rule_by_index': netfilter/iptcrdr.c:494:52: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 494 | target = (void *)e + e->target_offset; | ^ netfilter/iptcrdr.c: In function 'get_peer_rule_by_index': netfilter/iptcrdr.c:591:52: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 591 | target = (void *)e + e->target_offset; | ^ netfilter/iptcrdr.c: In function 'delete_redirect_and_filter_rules': netfilter/iptcrdr.c:790:52: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 790 | target = (void *)e + e->target_offset; | ^ netfilter/iptcrdr.c:885:52: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 885 | target = (void *)e + e->target_offset; | ^ netfilter/iptcrdr.c: In function 'update_portmapping': netfilter/iptcrdr.c:1811:52: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 1811 | target = (void *)e + e->target_offset; | ^ netfilter/iptcrdr.c:1838:32: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 1838 | target = (void *)new_e + new_e->target_offset; | ^ netfilter/iptcrdr.c:1875:44: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 1875 | target = (void *)e + e->target_offset; | ^ netfilter/iptcrdr.c:1903:56: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 1903 | target = (void *)new_e + new_e->target_offset; | ^ netfilter/iptcrdr.c:1967:52: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 1967 | target = (void *)e + e->target_offset; | ^ netfilter/iptcrdr.c:1905:41: warning: '__builtin_strncpy' specified bound 29 equals destination size [-Wstringop-truncation] 1905 | strncpy(target->u.user.name, iptc_get_target(e, h), sizeof(target->u.user.name)); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. netfilter/iptpinhole.c -o iptpinhole.o In function 'ip6tc_init_verify_append', inlined from 'add_pinhole' at netfilter/iptpinhole.c:271:5: netfilter/iptpinhole.c:183:13: warning: 'ip6tc_append_entry' reading 32 bytes from a region of size 10 [-Wstringop-overread] 183 | if(!ip6tc_append_entry(chain, e, h)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netfilter/iptpinhole.c:183:13: note: referencing argument 1 of type 'const char[32]' In file included from netfilter/iptpinhole.c:24: /usr/include/libiptc/libip6tc.h: In function 'add_pinhole': /usr/include/libiptc/libip6tc.h:74:5: note: in a call to function 'ip6tc_append_entry' 74 | int ip6tc_append_entry(const xt_chainlabel chain, | ^~~~~~~~~~~~~~~~~~ netfilter/iptpinhole.c:230:17: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 230 | strncpy(e->ipv6.iniface, ifname, IFNAMSIZ); | ^ In function 'ip6tc_init_verify_append', inlined from 'add_pinhole' at netfilter/iptpinhole.c:271:5: netfilter/iptpinhole.c:183:13: warning: 'ip6tc_append_entry' reading 32 bytes from a region of size 10 [-Wstringop-overread] 183 | if(!ip6tc_append_entry(chain, e, h)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netfilter/iptpinhole.c:183:13: note: referencing argument 1 of type 'const char[32]' /usr/include/libiptc/libip6tc.h: In function 'add_pinhole': /usr/include/libiptc/libip6tc.h:74:5: note: in a call to function 'ip6tc_append_entry' 74 | int ip6tc_append_entry(const xt_chainlabel chain, | ^~~~~~~~~~~~~~~~~~ netfilter/iptpinhole.c: In function 'delete_pinhole': netfilter/iptpinhole.c:353:37: warning: 'ip6tc_delete_num_entry' reading 32 bytes from a region of size 10 [-Wstringop-overread] 353 | if(!ip6tc_delete_num_entry(miniupnpd_v6_filter_chain, index, h)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netfilter/iptpinhole.c:353:37: note: referencing argument 1 of type 'const char[32]' /usr/include/libiptc/libip6tc.h:91:5: note: in a call to function 'ip6tc_delete_num_entry' 91 | int ip6tc_delete_num_entry(const xt_chainlabel chain, | ^~~~~~~~~~~~~~~~~~~~~~ netfilter/iptpinhole.c:353:37: warning: 'ip6tc_delete_num_entry' reading 32 bytes from a region of size 10 [-Wstringop-overread] 353 | if(!ip6tc_delete_num_entry(miniupnpd_v6_filter_chain, index, h)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netfilter/iptpinhole.c:353:37: note: referencing argument 1 of type 'const char[32]' /usr/include/libiptc/libip6tc.h:91:5: note: in a call to function 'ip6tc_delete_num_entry' 91 | int ip6tc_delete_num_entry(const xt_chainlabel chain, | ^~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. netfilter/nfct_get.c -o nfct_get.o Package libssl was not found in the pkg-config search path. Perhaps you should add the directory containing `libssl.pc' to the PKG_CONFIG_PATH environment variable Package 'libssl', required by 'virtual:world', not found x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now -Wl,-z,now -Wl,-z,relro -pie miniupnpd.o upnphttp.o upnpdescgen.o upnpsoap.o upnpreplyparse.o minixml.o portinuse.o upnpredirect.o getifaddr.o daemonize.o options.o upnppermissions.o minissdp.o natpmp.o pcpserver.o upnpglobalvars.o upnpevents.o upnputils.o getconnstatus.o upnpstun.o upnppinhole.o pcplearndscp.o asyncsendto.o getifstats.o ifacewatcher.o getroute.o iptcrdr.o iptpinhole.o nfct_get.o -lip4tc -lip6tc -o miniupnpd make[2]: Leaving directory '/build/miniupnpd-2.3.1' mv miniupnpd netfilter/ /usr/bin/make -f Makefile.linux clean make[2]: Entering directory '/build/miniupnpd-2.3.1' please install uuid-dev package / libuuid rm -f config.h rm -f miniupnpd.o upnphttp.o upnpdescgen.o upnpsoap.o upnpreplyparse.o minixml.o portinuse.o upnpredirect.o getifaddr.o daemonize.o options.o upnppermissions.o minissdp.o natpmp.o pcpserver.o upnpglobalvars.o upnpevents.o upnputils.o getconnstatus.o upnpstun.o upnppinhole.o pcplearndscp.o asyncsendto.o getifstats.o ifacewatcher.o getroute.o iptcrdr.o iptpinhole.o nfct_get.o rm -f miniupnpd.d upnphttp.d upnpdescgen.d upnpsoap.d upnpreplyparse.d minixml.d portinuse.d upnpredirect.d getifaddr.d daemonize.d options.d upnppermissions.d minissdp.d natpmp.d pcpserver.d upnpglobalvars.d upnpevents.d upnputils.d getconnstatus.d upnpstun.d upnppinhole.d pcplearndscp.d asyncsendto.d getifstats.d ifacewatcher.d getroute.d iptcrdr.d iptpinhole.d nfct_get.d rm -f miniupnpd testupnpdescgen testgetifstats testupnppermissions miniupnpdctl testgetifaddr testgetroute testasyncsendto testportinuse testssdppktgen testminissdp rm -f testupnpdescgen.o testgetifstats.o rm -f testupnppermissions.o testgetifaddr.o rm -f testgetroute.o testasyncsendto.o rm -f testportinuse.o rm -f testminissdp.o rm -f testssdppktgen.o rm -f miniupnpdctl.o rm -f validateupnppermissions validategetifaddr validatessdppktgen rm -f -r dox/ make[2]: Leaving directory '/build/miniupnpd-2.3.1' ./configure --igd2 --ipv6 --vendorcfg --pcp-peer --portinuse --leasefile --firewall=nftables ./configure: line 432: -n: command not found ./Makefile.linux_nft -> Makefile Configuring compilation for [Debian] [12.0] with [nftables] firewall software. Please edit config.h for more compilation options. /usr/bin/make -f Makefile.linux_nft miniupnpd make[2]: Entering directory '/build/miniupnpd-2.3.1' please install uuid-dev package / libuuid x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT asyncsendto.o -MT asyncsendto.d -o asyncsendto.d asyncsendto.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT pcplearndscp.o -MT pcplearndscp.d -o pcplearndscp.d pcplearndscp.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnppinhole.o -MT upnppinhole.d -o upnppinhole.d upnppinhole.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpstun.o -MT upnpstun.d -o upnpstun.d upnpstun.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT getconnstatus.o -MT getconnstatus.d -o getconnstatus.d getconnstatus.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnputils.o -MT upnputils.d -o upnputils.d upnputils.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpevents.o -MT upnpevents.d -o upnpevents.d upnpevents.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpglobalvars.o -MT upnpglobalvars.d -o upnpglobalvars.d upnpglobalvars.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT pcpserver.o -MT pcpserver.d -o pcpserver.d pcpserver.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT natpmp.o -MT natpmp.d -o natpmp.d natpmp.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT minissdp.o -MT minissdp.d -o minissdp.d minissdp.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnppermissions.o -MT upnppermissions.d -o upnppermissions.d upnppermissions.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT options.o -MT options.d -o options.d options.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT daemonize.o -MT daemonize.d -o daemonize.d daemonize.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT getifaddr.o -MT getifaddr.d -o getifaddr.d getifaddr.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpredirect.o -MT upnpredirect.d -o upnpredirect.d upnpredirect.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT portinuse.o -MT portinuse.d -o portinuse.d portinuse.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT minixml.o -MT minixml.d -o minixml.d minixml.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpreplyparse.o -MT upnpreplyparse.d -o upnpreplyparse.d upnpreplyparse.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpsoap.o -MT upnpsoap.d -o upnpsoap.d upnpsoap.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpdescgen.o -MT upnpdescgen.d -o upnpdescgen.d upnpdescgen.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnphttp.o -MT upnphttp.d -o upnphttp.d upnphttp.c x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT miniupnpd.o -MT miniupnpd.d -o miniupnpd.d miniupnpd.c please install uuid-dev package / libuuid x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. miniupnpd.c -o miniupnpd.o miniupnpd.c: In function 'OpenAndConfHTTPSocket': miniupnpd.c:349:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 349 | syslog(LOG_ERR, "socket(http): %m"); | ^ miniupnpd.c:355:71: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 355 | syslog(LOG_WARNING, "setsockopt(http, SO_REUSEADDR): %m"); | ^ miniupnpd.c:368:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 368 | syslog(LOG_WARNING, "set_non_blocking(http): %m"); | ^ miniupnpd.c:402:86: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 402 | syslog(LOG_WARNING, "setsockopt(http, SO_BINDTODEVICE, %s): %m", | ^ miniupnpd.c:415:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 415 | syslog(LOG_ERR, "bind(http): %m"); | ^ miniupnpd.c:422:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 422 | syslog(LOG_ERR, "listen(http): %m"); | ^ miniupnpd.c:433:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 433 | syslog(LOG_ERR, "getsockname(): %m"); | ^ miniupnpd.c:442:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 442 | syslog(LOG_ERR, "getsockname(): %m"); | ^ miniupnpd.c: In function 'ProcessIncomingHTTP': miniupnpd.c:470:57: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 470 | syslog(LOG_ERR, "accept(http): %m"); | ^ miniupnpd.c: In function 'set_startup_time': miniupnpd.c:844:69: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 844 | syslog(LOG_ERR, "fopen(\"/proc/uptime\") : %m"); | ^ miniupnpd.c:850:78: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 850 | syslog(LOG_ERR, "fscanf(\"/proc/uptime\") : %m"); | ^ In file included from miniupnpd.c:69: miniupnpd.c: In function 'init': miniupnpd.c:1268:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1268 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macros.h:22:67: note: in definition of macro 'INIT_PRINT_ERR' 22 | #define INIT_PRINT_ERR(...) do { if (!debug_flag) fprintf(stderr, __VA_ARGS__); syslog(LOG_ERR, __VA_ARGS__); } while(0) | ^~~~~~~~~~~ miniupnpd.c:1268:93: note: format string is defined here 1268 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^ miniupnpd.c:1268:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1268 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macros.h:22:97: note: in definition of macro 'INIT_PRINT_ERR' 22 | #define INIT_PRINT_ERR(...) do { if (!debug_flag) fprintf(stderr, __VA_ARGS__); syslog(LOG_ERR, __VA_ARGS__); } while(0) | ^~~~~~~~~~~ miniupnpd.c:1268:93: note: format string is defined here 1268 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^ miniupnpd.c:1274:1: warning: embedding a directive within macro arguments is not portable 1274 | #ifndef ENABLE_IPV6 | ^ miniupnpd.c:1276:1: warning: embedding a directive within macro arguments is not portable 1276 | #endif | ^ miniupnpd.c:1728:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1728 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macros.h:22:67: note: in definition of macro 'INIT_PRINT_ERR' 22 | #define INIT_PRINT_ERR(...) do { if (!debug_flag) fprintf(stderr, __VA_ARGS__); syslog(LOG_ERR, __VA_ARGS__); } while(0) | ^~~~~~~~~~~ miniupnpd.c:1728:93: note: format string is defined here 1728 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^ miniupnpd.c:1728:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1728 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macros.h:22:97: note: in definition of macro 'INIT_PRINT_ERR' 22 | #define INIT_PRINT_ERR(...) do { if (!debug_flag) fprintf(stderr, __VA_ARGS__); syslog(LOG_ERR, __VA_ARGS__); } while(0) | ^~~~~~~~~~~ miniupnpd.c:1728:93: note: format string is defined here 1728 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^ miniupnpd.c:1734:1: warning: embedding a directive within macro arguments is not portable 1734 | #ifndef ENABLE_IPV6 | ^ miniupnpd.c:1736:1: warning: embedding a directive within macro arguments is not portable 1736 | #endif /* #ifndef ENABLE_IPV6 */ | ^ miniupnpd.c: In function 'main': miniupnpd.c:2155:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 2155 | " " __DATE__ ); | ^~~~~~~~ miniupnpd.c:2269:52: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2269 | syslog(LOG_ERR, "uname(): %m"); | ^ miniupnpd.c:2586:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2586 | syslog(LOG_ERR, "gettimeofday(): %m"); | ^ miniupnpd.c:2821:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 2821 | syslog(LOG_ERR, "select(all): %m"); | ^ miniupnpd.c:3172:64: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 3172 | syslog(LOG_ERR, "Failed to remove pidfile %s: %m", pidfilename); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnphttp.c -o upnphttp.o upnphttp.c: In function 'New_upnphttp': upnphttp.c:147:73: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 147 | syslog(LOG_WARNING, "New_upnphttp::set_non_blocking(): %m"); | ^ upnphttp.c: In function 'CloseSocket_upnphttp': upnphttp.c:187:68: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 187 | syslog(LOG_ERR, "CloseSocket_upnphttp: close(%d): %m", h->socket); | ^ upnphttp.c: In function 'Process_upnphttp': upnphttp.c:955:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 955 | syslog(LOG_ERR, "recv (state0): %m"); | ^ upnphttp.c:1037:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1037 | syslog(LOG_ERR, "recv (state1): %m"); | ^ upnphttp.c:1067:75: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1067 | syslog(LOG_ERR, "memory allocation error %m"); | ^ upnphttp.c: In function 'SendResp_upnphttp': upnphttp.c:1277:58: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1277 | syslog(LOG_ERR, "send(res_buf): %m"); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpdescgen.c -o upnpdescgen.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpsoap.c -o upnpsoap.o upnpsoap.c: In function 'GetGenericPortMappingEntry': upnpsoap.c:1063:65: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1063 | syslog(LOG_WARNING, "%s: strtol('%s'): %m", | ^ upnpsoap.c: In function 'PinholeVerification': upnpsoap.c:1614:46: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1614 | syslog(LOG_ERR, "inet_ntop: %m"); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpreplyparse.c -o upnpreplyparse.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. minixml.c -o minixml.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. portinuse.c -o portinuse.o portinuse.c: In function 'port_in_use': portinuse.c:103:34: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] 103 | if (sscanf(line, "%*d: %64[0-9A-Fa-f]:%x %*x:%*x %*x %*x:%*x " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ portinuse.c:115:55: warning: format '%hhx' expects argument of type 'unsigned char *', but argument 3 has type 'char *' [-Wformat=] 115 | if (sscanf(eaddr,"%2hhx%2hhx%2hhx%2hhx", | ~~~~^ | | | unsigned char * | %2hhx 116 | &tmp_addr[3],&tmp_addr[2],&tmp_addr[1],&tmp_addr[0]) == 4) | ~~~~~~~~~~~~ | | | char * portinuse.c:115:60: warning: format '%hhx' expects argument of type 'unsigned char *', but argument 4 has type 'char *' [-Wformat=] 115 | if (sscanf(eaddr,"%2hhx%2hhx%2hhx%2hhx", | ~~~~^ | | | unsigned char * | %2hhx 116 | &tmp_addr[3],&tmp_addr[2],&tmp_addr[1],&tmp_addr[0]) == 4) | ~~~~~~~~~~~~ | | | char * portinuse.c:115:65: warning: format '%hhx' expects argument of type 'unsigned char *', but argument 5 has type 'char *' [-Wformat=] 115 | if (sscanf(eaddr,"%2hhx%2hhx%2hhx%2hhx", | ~~~~^ | | | unsigned char * | %2hhx 116 | &tmp_addr[3],&tmp_addr[2],&tmp_addr[1],&tmp_addr[0]) == 4) | ~~~~~~~~~~~~ | | | char * portinuse.c:115:70: warning: format '%hhx' expects argument of type 'unsigned char *', but argument 6 has type 'char *' [-Wformat=] 115 | if (sscanf(eaddr,"%2hhx%2hhx%2hhx%2hhx", | ~~~~^ | | | unsigned char * | %2hhx 116 | &tmp_addr[3],&tmp_addr[2],&tmp_addr[1],&tmp_addr[0]) == 4) | ~~~~~~~~~~~~ | | | char * x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpredirect.c -o upnpredirect.o upnpredirect.c: In function 'reload_from_lease_file': upnpredirect.c:214:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 214 | syslog(LOG_WARNING, "could not unlink file %s : %m", lease_file); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. getifaddr.c -o getifaddr.o getifaddr.c: In function 'getifaddr': getifaddr.c:47:64: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 47 | syslog(LOG_ERR, "socket(PF_INET, SOCK_DGRAM): %m"); | ^ getifaddr.c:54:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 54 | syslog(LOG_DEBUG, "ioctl(s, SIOCGIFFLAGS, ...): %m"); | ^ getifaddr.c:68:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 68 | syslog(LOG_ERR, "ioctl(s, SIOCGIFADDR, ...): %m"); | ^ getifaddr.c:78:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 78 | syslog(LOG_ERR, "inet_ntop(): %m"); | ^ getifaddr.c:89:74: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 89 | syslog(LOG_ERR, "ioctl(s, SIOCGIFNETMASK, ...): %m"); | ^ getifaddr.c: In function 'getifaddr_in6': getifaddr.c:172:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 172 | syslog(LOG_ERR, "getifaddrs: %m"); | ^ getifaddr.c: In function 'find_ipv6_addr': getifaddr.c:247:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 247 | syslog(LOG_ERR, "getifaddrs: %m"); | ^ getifaddr.c: At top level: getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:286:11: note: in expansion of macro 'IP' 286 | { IP(169, 254, 0, 0), MSK(16) }, /* RFC3927 Link-Local */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[4].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:286:11: note: in expansion of macro 'IP' 286 | { IP(169, 254, 0, 0), MSK(16) }, /* RFC3927 Link-Local */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:287:11: note: in expansion of macro 'IP' 287 | { IP(172, 16, 0, 0), MSK(12) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[5].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:287:11: note: in expansion of macro 'IP' 287 | { IP(172, 16, 0, 0), MSK(12) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:288:11: note: in expansion of macro 'IP' 288 | { IP(192, 0, 0, 0), MSK(24) }, /* RFC6890 IETF Protocol Assignments */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[6].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:288:11: note: in expansion of macro 'IP' 288 | { IP(192, 0, 0, 0), MSK(24) }, /* RFC6890 IETF Protocol Assignments */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:289:11: note: in expansion of macro 'IP' 289 | { IP(192, 0, 2, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-1) */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[7].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:289:11: note: in expansion of macro 'IP' 289 | { IP(192, 0, 2, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-1) */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:290:11: note: in expansion of macro 'IP' 290 | { IP(192, 31, 196, 0), MSK(24) }, /* RFC7535 AS112-v4 */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[8].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:290:11: note: in expansion of macro 'IP' 290 | { IP(192, 31, 196, 0), MSK(24) }, /* RFC7535 AS112-v4 */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:291:11: note: in expansion of macro 'IP' 291 | { IP(192, 52, 193, 0), MSK(24) }, /* RFC7450 AMT */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[9].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:291:11: note: in expansion of macro 'IP' 291 | { IP(192, 52, 193, 0), MSK(24) }, /* RFC7450 AMT */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:292:11: note: in expansion of macro 'IP' 292 | { IP(192, 88, 99, 0), MSK(24) }, /* RFC7526 6to4 Relay Anycast */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[10].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:292:11: note: in expansion of macro 'IP' 292 | { IP(192, 88, 99, 0), MSK(24) }, /* RFC7526 6to4 Relay Anycast */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:293:11: note: in expansion of macro 'IP' 293 | { IP(192, 168, 0, 0), MSK(16) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[11].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:293:11: note: in expansion of macro 'IP' 293 | { IP(192, 168, 0, 0), MSK(16) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:294:11: note: in expansion of macro 'IP' 294 | { IP(192, 175, 48, 0), MSK(24) }, /* RFC7534 Direct Delegation AS112 Service */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[12].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:294:11: note: in expansion of macro 'IP' 294 | { IP(192, 175, 48, 0), MSK(24) }, /* RFC7534 Direct Delegation AS112 Service */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:295:11: note: in expansion of macro 'IP' 295 | { IP(198, 18, 0, 0), MSK(15) }, /* RFC2544 Benchmarking */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[13].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:295:11: note: in expansion of macro 'IP' 295 | { IP(198, 18, 0, 0), MSK(15) }, /* RFC2544 Benchmarking */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:296:11: note: in expansion of macro 'IP' 296 | { IP(198, 51, 100, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-2) */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[14].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:296:11: note: in expansion of macro 'IP' 296 | { IP(198, 51, 100, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-2) */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:297:11: note: in expansion of macro 'IP' 297 | { IP(203, 0, 113, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-3) */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[15].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:297:11: note: in expansion of macro 'IP' 297 | { IP(203, 0, 113, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-3) */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:298:11: note: in expansion of macro 'IP' 298 | { IP(224, 0, 0, 0), MSK( 4) }, /* RFC1112 Multicast */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[16].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:298:11: note: in expansion of macro 'IP' 298 | { IP(224, 0, 0, 0), MSK( 4) }, /* RFC1112 Multicast */ | ^~ getifaddr.c:279:24: warning: initializer element is not a constant expression [-Wpedantic] 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:299:11: note: in expansion of macro 'IP' 299 | { IP(240, 0, 0, 0), MSK( 4) }, /* RFC1112 Reserved for Future Use + RFC919 Limited Broadcast */ | ^~ getifaddr.c:279:24: note: (near initialization for 'reserved[17].address') 279 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:299:11: note: in expansion of macro 'IP' 299 | { IP(240, 0, 0, 0), MSK( 4) }, /* RFC1112 Reserved for Future Use + RFC919 Limited Broadcast */ | ^~ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. daemonize.c -o daemonize.o daemonize.c: In function 'writepidfile': daemonize.c:75:74: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 75 | syslog(LOG_ERR, "Unable to open pidfile for writing %s: %m", fname); | ^ daemonize.c:90:74: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 90 | syslog(LOG_ERR, "Unable to write to pidfile %s: %m", fname); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. options.c -o options.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnppermissions.c -o upnppermissions.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. minissdp.c -o minissdp.o minissdp.c: In function 'AddMulticastMembership': minissdp.c:88:71: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 88 | syslog(LOG_ERR, "setsockopt(udp, IP_ADD_MEMBERSHIP): %m"); | ^ minissdp.c: In function 'AddMulticastMembershipIPv6': minissdp.c:112:73: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 112 | syslog(LOG_ERR, "setsockopt(udp, IPV6_ADD_MEMBERSHIP): %m"); | ^ minissdp.c:118:73: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 118 | syslog(LOG_ERR, "setsockopt(udp, IPV6_ADD_MEMBERSHIP): %m"); | ^ minissdp.c:124:73: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 124 | syslog(LOG_ERR, "setsockopt(udp, IPV6_ADD_MEMBERSHIP): %m"); | ^ minissdp.c: In function 'OpenAndConfSSDPReceiveSocket': minissdp.c:168:52: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 168 | syslog(LOG_ERR, "%s: socket(udp): %m", | ^ minissdp.c:198:70: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 198 | syslog(LOG_WARNING, "setsockopt(udp, SO_REUSEADDR): %m"); | ^ minissdp.c:202:70: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 202 | syslog(LOG_WARNING, "setsockopt(udp, SO_REUSEPORT): %m"); | ^ minissdp.c:217:76: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 217 | syslog(LOG_WARNING, "setsockopt(udp, IP_PKTINFO): %m"); | ^ minissdp.c:225:82: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 225 | syslog(LOG_WARNING, "setsockopt(udp, IPV6_RECVPKTINFO): %m"); | ^ minissdp.c:232:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 232 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ minissdp.c:244:87: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 244 | syslog(LOG_WARNING, "%s: setsockopt(udp%s, SO_BINDTODEVICE, %s): %m", | ^ minissdp.c:252:52: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 252 | syslog(LOG_ERR, "%s: bind(udp%s): %m", | ^ minissdp.c: In function 'OpenAndConfSSDPNotifySocket': minissdp.c:309:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 309 | syslog(LOG_ERR, "socket(udp_notify): %m"); | ^ minissdp.c:326:78: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 326 | syslog(LOG_ERR, "setsockopt(udp_notify, IP_MULTICAST_LOOP): %m"); | ^ minissdp.c:333:76: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 333 | syslog(LOG_ERR, "setsockopt(udp_notify, IP_MULTICAST_IF): %m"); | ^ minissdp.c:340:82: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 340 | syslog(LOG_WARNING, "setsockopt(udp_notify, IP_MULTICAST_TTL,): %m"); | ^ minissdp.c:345:73: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 345 | syslog(LOG_ERR, "setsockopt(udp_notify, SO_BROADCAST): %m"); | ^ minissdp.c:360:53: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 360 | syslog(LOG_ERR, "bind(udp_notify): %m"); | ^ minissdp.c: In function 'OpenAndConfSSDPNotifySocketIPv6': minissdp.c:384:60: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 384 | syslog(LOG_ERR, "socket(udp_notify IPv6): %m"); | ^ minissdp.c:389:87: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 389 | syslog(LOG_ERR, "setsockopt(udp_notify IPv6, IPV6_MULTICAST_IF, %u): %m", lan_addr->index); | ^ minissdp.c:395:80: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 395 | syslog(LOG_ERR, "setsockopt(udp_notify, IPV6_MULTICAST_LOOP): %m"); | ^ minissdp.c:401:80: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 401 | syslog(LOG_ERR, "setsockopt(udp_notify, IPV6_MULTICAST_HOPS): %m"); | ^ minissdp.c:417:58: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 417 | syslog(LOG_ERR, "bind(udp_notify IPv6): %m"); | ^ minissdp.c: In function 'SendSSDPResponse': minissdp.c:579:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 579 | syslog(LOG_ERR, "%s: snprintf failed %m", | ^ minissdp.c:599:52: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 599 | syslog(LOG_ERR, "%s: sendto(udp): %m", | ^ minissdp.c: In function 'SendSSDPNotify': minissdp.c:713:62: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 713 | syslog(LOG_ERR, "sendto(udp_notify=%d, %s): %m", s, | ^ minissdp.c:724:62: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 724 | syslog(LOG_ERR, "sendto(udp_notify=%d, %s): %m", s, | ^ minissdp.c: In function 'ProcessSSDPRequest': minissdp.c:917:58: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 917 | syslog(LOG_ERR, "recvfrom(udp): %m"); | ^ minissdp.c: In function 'SendSSDPbyebye': minissdp.c:1406:60: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1406 | syslog(LOG_ERR, "sendto(udp_shutdown=%d): %m", s); | ^ minissdp.c: In function 'SubmitServicesToMiniSSDPD': minissdp.c:1513:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1513 | syslog(LOG_ERR, "socket(unix): %m"); | ^ minissdp.c:1520:52: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1520 | syslog(LOG_ERR, "connect(\"%s\"): %m", minissdpdsocketpath); | ^ minissdp.c:1535:83: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1535 | syslog(LOG_WARNING, "SubmitServicesToMiniSSDPD: snprintf %m"); | ^ minissdp.c:1546:83: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1546 | syslog(LOG_WARNING, "SubmitServicesToMiniSSDPD: snprintf %m"); | ^ minissdp.c:1558:83: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1558 | syslog(LOG_WARNING, "SubmitServicesToMiniSSDPD: snprintf %m"); | ^ minissdp.c:1574:83: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1574 | syslog(LOG_WARNING, "SubmitServicesToMiniSSDPD: snprintf %m"); | ^ minissdp.c:1590:60: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1590 | syslog(LOG_ERR, "write(): %m"); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. natpmp.c -o natpmp.o natpmp.c: In function 'OpenAndConfNATPMPSocket': natpmp.c:40:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 40 | syslog(LOG_ERR, "%s: socket(): %m", | ^ natpmp.c:46:69: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 46 | syslog(LOG_WARNING, "%s: setsockopt(SO_REUSEADDR): %m", | ^ natpmp.c:51:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 51 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ natpmp.c:63:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 63 | syslog(LOG_ERR, "%s: bind(): %m", | ^ natpmp.c: In function 'ReceiveNATPMPOrPCPPacket': natpmp.c:167:60: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 167 | syslog(LOG_ERR, "recvmsg(natpmp): %m"); | ^ natpmp.c: In function 'ProcessIncomingNATPMPPacket': natpmp.c:231:54: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 231 | syslog(LOG_ERR, "inet_ntop(natpmp): %m"); | ^ natpmp.c:416:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 416 | syslog(LOG_ERR, "sendto(natpmp): %m"); | ^ natpmp.c: In function 'SendNATPMPPublicAddressChangeNotification': natpmp.c:474:74: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 474 | syslog(LOG_ERR, "%s: sendto(s_udp=%d, port=%d): %m", | ^ natpmp.c:484:74: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 484 | syslog(LOG_ERR, "%s: sendto(s_udp=%d, port=%d): %m", | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. pcpserver.c -o pcpserver.o pcpserver.c: In function 'parsePCPOptions': pcpserver.c:552:25: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 552 | pcp_buf += option_length; | ^~ pcpserver.c: In function 'CreatePCPPeer': pcpserver.c:795:57: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 795 | syslog(LOG_ERR, "inet_n46top(peer_ip): %m"); | ^ pcpserver.c: In function 'ValidatePCPMsg': pcpserver.c:1204:57: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1204 | syslog(LOG_ERR, "inet_ntop(pcpserver): %m"); | ^ pcpserver.c: In function 'processPCPRequest': pcpserver.c:1286:13: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 1286 | req += PCP_COMMON_REQUEST_SIZE; | ^~ pcpserver.c:1304:29: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 1304 | req += PCP_MAP_V1_SIZE; | ^~ pcpserver.c:1333:29: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 1333 | req += PCP_PEER_V1_SIZE; | ^~ pcpserver.c:1376:29: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 1376 | req += PCP_MAP_V2_SIZE; | ^~ pcpserver.c:1407:29: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 1407 | req += PCP_PEER_V2_SIZE; | ^~ pcpserver.c: In function 'ProcessIncomingPCPPacket': pcpserver.c:1617:62: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1617 | syslog(LOG_ERR, "sendto(pcpserver): %m"); | ^ pcpserver.c: In function 'OpenAndConfPCPv6Socket': pcpserver.c:1632:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1632 | syslog(LOG_ERR, "%s: socket(): %m", "OpenAndConfPCPv6Socket"); | ^ pcpserver.c:1636:69: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1636 | syslog(LOG_WARNING, "%s: setsockopt(SO_REUSEADDR): %m", | ^ pcpserver.c:1643:68: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1643 | syslog(LOG_WARNING, "%s: setsockopt(IPV6_V6ONLY): %m", | ^ pcpserver.c:1650:73: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1650 | syslog(LOG_WARNING, "%s: setsockopt(IPV6_RECVPKTINFO): %m", | ^ pcpserver.c:1655:63: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1655 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ pcpserver.c:1663:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1663 | syslog(LOG_ERR, "%s: bind(): %m", "OpenAndConfPCPv6Socket"); | ^ pcpserver.c: In function 'PCPSendUnsolicitedAnnounce': pcpserver.c:1704:93: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1704 | syslog(LOG_ERR, "PCPSendUnsolicitedAnnounce(sockets[%d]) sendto(): %m", i); | ^ pcpserver.c:1715:87: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1715 | syslog(LOG_ERR, "PCPSendUnsolicitedAnnounce() IPv6 sendto(): %m"); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpglobalvars.c -o upnpglobalvars.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpevents.c -o upnpevents.o upnpevents.c: In function 'upnp_event_create_notify': upnpevents.c:251:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 251 | syslog(LOG_ERR, "%s: calloc(): %m", "upnp_event_create_notify"); | ^ upnpevents.c:263:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 263 | syslog(LOG_ERR, "%s: socket(): %m", "upnp_event_create_notify"); | ^ upnpevents.c:283:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 283 | syslog(LOG_ERR, "%s: set_non_blocking(): %m", | ^ upnpevents.c: In function 'upnp_event_notify_connect': upnpevents.c:387:68: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 387 | syslog(LOG_ERR, "%s: connect(%d, %s, %u): %m", | ^ upnpevents.c: In function 'upnp_event_send': upnpevents.c:494:62: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 494 | syslog(LOG_NOTICE, "%s: send(%s%s): %m", "upnp_event_send", | ^ upnpevents.c: In function 'upnp_event_recv': upnpevents.c:519:55: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 519 | syslog(LOG_ERR, "%s: recv(): %m", "upnp_event_recv"); | ^ upnpevents.c: In function 'upnp_event_process_notify': upnpevents.c:544:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 544 | syslog(LOG_ERR, "%s: getsockopt: %m", "upnp_event_process_notify"); | ^ upnpevents.c:550:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 550 | syslog(LOG_WARNING, "%s: connect(%s%s): %m", | ^ upnpevents.c: In function 'upnpevents_selectfds': upnpevents.c:579:59: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct upnp_event_notify *' [-Wformat=] 579 | syslog(LOG_DEBUG, "upnpevents_selectfds: %p %d %d", | ~^ | | | void * 580 | obj, obj->state, obj->s); | ~~~ | | | struct upnp_event_notify * upnpevents.c: In function 'upnpevents_processfds': upnpevents.c:616:41: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct upnp_event_notify *' [-Wformat=] 616 | syslog(LOG_DEBUG, "%s: %p %d %d %d %d", | ~^ | | | void * 617 | "upnpevents_processfds", obj, obj->state, obj->s, | ~~~ | | | struct upnp_event_notify * upnpevents.c:635:55: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct upnp_event_notify *' [-Wformat=] 635 | syslog(LOG_ERR, "%s: %p, remove subscriber %s after an ERROR cb: %s", | ~^ | | | void * 636 | "upnpevents_processfds", obj, obj->sub->uuid, obj->sub->callback); | ~~~ | | | struct upnp_event_notify * x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnputils.c -o upnputils.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. getconnstatus.c -o getconnstatus.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpstun.c -o upnpstun.o upnpstun.c: In function 'stun_socket': upnpstun.c:162:81: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 162 | syslog(LOG_ERR, "%s: socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP): %m", | ^ upnpstun.c:173:47: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 173 | syslog(LOG_ERR, "%s: bind(): %m", | ^ upnpstun.c:181:54: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 181 | syslog(LOG_ERR, "%s: getsockname(): %m", | ^ upnpstun.c: In function 'receive_stun_response': upnpstun.c:200:51: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 200 | syslog(LOG_ERR, "%s: recvfrom(): %m", "receive_stun_response"); | ^ upnpstun.c: In function 'wait_for_stun_responses': upnpstun.c:260:57: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 260 | syslog(LOG_ERR, "%s: select(): %m", "wait_for_stun_responses"); | ^ upnpstun.c: In function 'perform_stun': upnpstun.c:457:72: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 457 | syslog(LOG_ERR, "%s: #%d,%d sendto(): %m", "perform_stun", j, i); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnppinhole.c -o upnppinhole.o upnppinhole.c: In function 'reload_from_lease_file6': upnppinhole.c:516:66: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 516 | syslog(LOG_WARNING, "could not unlink file %s : %m", lease_file6); | ^ upnppinhole.c: In function 'upnp_add_inboundpinhole': upnppinhole.c:652:53: warning: format '%p' expects argument of type 'void *', but argument 5 has type 'struct in6_addr *' [-Wformat=] 652 | syslog(LOG_ERR, "inet_pton(%d, %s, %p) FAILED", | ~^ | | | void * 653 | AF_INET6, iaddr, &address); | ~~~~~~~~ | | | struct in6_addr * upnppinhole.c: In function 'lease_file6_remove.isra': upnppinhole.c:335:25: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 335 | strncpy(buf2, buf, buf_size); | ^ upnppinhole.c:332:28: note: length computed here 332 | buf_size = strlen(buf); | ^~~~~~~~~~~ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. pcplearndscp.c -o pcplearndscp.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. asyncsendto.c -o asyncsendto.o asyncsendto.c: In function 'try_sendto': asyncsendto.c:257:97: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 257 | syslog(LOG_ERR, "%s(sock=%d, len=%u, dest=%s): sendto: %m", | ^ asyncsendto.c: In function 'finalize_sendto': asyncsendto.c:290:49: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 290 | syslog(LOG_ERR, "gettimeofday: %m"); | ^ asyncsendto.c:316:92: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 316 | syslog(LOG_WARNING, "finalize_sendto(): socket=%d sendto: %m", elt->sockfd); | ^ asyncsendto.c:324:57: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 324 | syslog(LOG_ERR, "gettimeofday: %m"); | ^ asyncsendto.c:345:59: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 345 | syslog(LOG_ERR, "select: %m"); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. linux/getifstats.c -o getifstats.o linux/getifstats.c: In function 'getifstats': linux/getifstats.c:109:78: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 109 | syslog(LOG_ERR, "getifstats() : cannot open /proc/net/dev : %m"); | ^ linux/getifstats.c:114:80: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 114 | syslog(LOG_ERR, "getifstats() : error reading /proc/net/dev : %m"); | ^ linux/getifstats.c:155:58: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 155 | syslog(LOG_INFO, "cannot read %s file : %m", fname); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. linux/ifacewatcher.c -o ifacewatcher.o linux/ifacewatcher.c: In function 'OpenAndConfInterfaceWatchSocket': linux/ifacewatcher.c:74:80: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 74 | syslog(LOG_ERR, "socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE): %m"); | ^ linux/ifacewatcher.c:85:50: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 85 | syslog(LOG_ERR, "bind(netlink): %m"); | ^ linux/ifacewatcher.c: In function 'ProcessInterfaceWatchNotify': linux/ifacewatcher.c:262:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 262 | syslog(LOG_ERR, "recvmsg(s, &hdr, 0): %m"); | ^ linux/ifacewatcher.c:323:41: warning: '__builtin_strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 323 | strncpy(tmp, RTA_DATA(rth), sizeof(tmp)); | ^ linux/ifacewatcher.c:324:41: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 127 [-Wstringop-truncation] 324 | strncpy(ifname, tmp, sizeof(ifname)); | ^ linux/ifacewatcher.c:320:49: warning: '__builtin_strncpy' output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 320 | strncpy(address, tmp, sizeof(address)); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. linux/getroute.c -o getroute.o linux/getroute.c: In function 'get_src_for_route_to': linux/getroute.c:106:81: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 106 | syslog(LOG_ERR, "socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE) : %m"); | ^ linux/getroute.c:119:56: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 119 | syslog(LOG_ERR, "sendmsg(rtnetlink) : %m"); | ^ linux/getroute.c:131:62: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 131 | syslog(LOG_ERR, "recvmsg(rtnetlink) %m"); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. netfilter_nft/nftnlrdr.c -o nftnlrdr.o netfilter_nft/nftnlrdr.c: In function 'get_peer_rule_by_index': netfilter_nft/nftnlrdr.c:405:74: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 405 | syslog(LOG_ERR, "%s: inet_ntop: %m", | ^ netfilter_nft/nftnlrdr.c:421:82: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 421 | syslog(LOG_ERR, "%s: inet_ntop: %m", | ^ netfilter_nft/nftnlrdr.c: In function 'get_redirect_rule_by_index': netfilter_nft/nftnlrdr.c:524:74: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 524 | syslog(LOG_ERR, "%s: inet_ntop: %m", | ^ netfilter_nft/nftnlrdr.c:540:82: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 540 | syslog(LOG_ERR, "%s: inet_ntop: %m", | ^ netfilter_nft/nftnlrdr.c: In function 'get_nat_redirect_rule': netfilter_nft/nftnlrdr.c:604:74: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 604 | syslog(LOG_ERR, "%s: inet_ntop: %m", | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. netfilter_nft/nftpinhole.c -o nftpinhole.o netfilter_nft/nftpinhole.c: In function 'update_pinhole': netfilter_nft/nftpinhole.c:281:33: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 281 | strncpy(desc, tmp_p, NFT_DESCR_SIZE); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. netfilter_nft/nfct_get.c -o nfct_get.o x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-2.3.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. netfilter_nft/nftnlrdr_misc.c -o nftnlrdr_misc.o netfilter_nft/nftnlrdr_misc.c:58:23: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~ netfilter_nft/nftnlrdr_misc.c:59:23: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 59 | #define log_debug(args...) syslog(LOG_DEBUG, args) | ^~~ netfilter_nft/nftnlrdr_misc.c: In function 'nft_mnl_connect': netfilter_nft/nftnlrdr_misc.c:96:27: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 96 | log_error("mnl_socket_open() FAILED: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netfilter_nft/nftnlrdr_misc.c:58:49: note: in definition of macro 'log_error' 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:96:55: note: format string is defined here 96 | log_error("mnl_socket_open() FAILED: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:100:27: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 100 | log_error("mnl_socket_bind() FAILED: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netfilter_nft/nftnlrdr_misc.c:58:49: note: in definition of macro 'log_error' 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:100:55: note: format string is defined here 100 | log_error("mnl_socket_bind() FAILED: %m"); | ^ netfilter_nft/nftnlrdr_misc.c: In function 'table_cb': netfilter_nft/nftnlrdr_misc.c:530:38: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'const struct nlmsghdr *' [-Wformat=] 530 | syslog(LOG_DEBUG, "table_cb(%p, %p) %s %s %d", nlh, data, CB_DATA(table), CB_DATA(chain), CB_DATA(type)); | ~^ ~~~ | | | | void * const struct nlmsghdr * netfilter_nft/nftnlrdr_misc.c: In function 'refresh_nft_cache': netfilter_nft/nftnlrdr_misc.c:720:27: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 720 | log_error("mnl_socket_sendto() FAILED: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netfilter_nft/nftnlrdr_misc.c:58:49: note: in definition of macro 'log_error' 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:720:57: note: format string is defined here 720 | log_error("mnl_socket_sendto() FAILED: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:730:68: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 730 | syslog(LOG_ERR, "%s: mnl_socket_recvfrom: %m", | ^ netfilter_nft/nftnlrdr_misc.c: In function 'nft_send_rule': netfilter_nft/nftnlrdr_misc.c:1234:46: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct nftnl_rule *' [-Wformat=] 1234 | syslog(LOG_ERR, "%s(%p, %d, %d) send_batch failed %d", | ~^ | | | void * 1235 | "nft_send_rule", rule, (int)cmd, (int)chain_type, result); | ~~~~ | | | struct nftnl_rule * netfilter_nft/nftnlrdr_misc.c: In function 'table_op': netfilter_nft/nftnlrdr_misc.c:1256:27: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1256 | log_error("out of memory: %m"); | ^~~~~~~~~~~~~~~~~~~ netfilter_nft/nftnlrdr_misc.c:58:49: note: in definition of macro 'log_error' 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:1256:44: note: format string is defined here 1256 | log_error("out of memory: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:1264:35: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1264 | log_error("out of memory: %m"); | ^~~~~~~~~~~~~~~~~~~ netfilter_nft/nftnlrdr_misc.c:58:49: note: in definition of macro 'log_error' 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:1264:52: note: format string is defined here 1264 | log_error("out of memory: %m"); | ^ netfilter_nft/nftnlrdr_misc.c: In function 'chain_op': netfilter_nft/nftnlrdr_misc.c:1305:27: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1305 | log_error("out of memory: %m"); | ^~~~~~~~~~~~~~~~~~~ netfilter_nft/nftnlrdr_misc.c:58:49: note: in definition of macro 'log_error' 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:1305:44: note: format string is defined here 1305 | log_error("out of memory: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:1319:35: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1319 | log_error("out of memory: %m"); | ^~~~~~~~~~~~~~~~~~~ netfilter_nft/nftnlrdr_misc.c:58:49: note: in definition of macro 'log_error' 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:1319:52: note: format string is defined here 1319 | log_error("out of memory: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:1328:43: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1328 | log_error("failed to build header: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ netfilter_nft/nftnlrdr_misc.c:58:49: note: in definition of macro 'log_error' 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:1328:69: note: format string is defined here 1328 | log_error("failed to build header: %m"); | ^ netfilter_nft/nftnlrdr_misc.c: In function 'send_batch': netfilter_nft/nftnlrdr_misc.c:1400:27: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1400 | log_error("mnl_socket_sendto() FAILED: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netfilter_nft/nftnlrdr_misc.c:58:49: note: in definition of macro 'log_error' 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:1400:57: note: format string is defined here 1400 | log_error("mnl_socket_sendto() FAILED: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:1408:35: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 1408 | log_error("mnl_socket_recvfrom() FAILED: %m"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netfilter_nft/nftnlrdr_misc.c:58:49: note: in definition of macro 'log_error' 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:1408:67: note: format string is defined here 1408 | log_error("mnl_socket_recvfrom() FAILED: %m"); | ^ Package libssl was not found in the pkg-config search path. Perhaps you should add the directory containing `libssl.pc' to the PKG_CONFIG_PATH environment variable Package 'libssl', required by 'virtual:world', not found x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now -Wl,-z,now -Wl,-z,relro -pie miniupnpd.o upnphttp.o upnpdescgen.o upnpsoap.o upnpreplyparse.o minixml.o portinuse.o upnpredirect.o getifaddr.o daemonize.o options.o upnppermissions.o minissdp.o natpmp.o pcpserver.o upnpglobalvars.o upnpevents.o upnputils.o getconnstatus.o upnpstun.o upnppinhole.o pcplearndscp.o asyncsendto.o getifstats.o ifacewatcher.o getroute.o nftnlrdr.o nftpinhole.o nfct_get.o nftnlrdr_misc.o -lnftnl -lmnl -o miniupnpd make[2]: Leaving directory '/build/miniupnpd-2.3.1' mv miniupnpd netfilter_nft/ make[1]: Leaving directory '/build/miniupnpd-2.3.1' debian/rules override_dh_auto_test make[1]: Entering directory '/build/miniupnpd-2.3.1' # some test scripts missing from the tarball make[1]: Leaving directory '/build/miniupnpd-2.3.1' create-stamp debian/debhelper-build-stamp dh_prep dh_installdirs debian/rules override_dh_auto_install make[1]: Entering directory '/build/miniupnpd-2.3.1' /usr/bin/make -f Makefile.linux_nft install STRIP=echo DESTDIR=debian/tmp make[2]: Entering directory '/build/miniupnpd-2.3.1' please install uuid-dev package / libuuid install -d debian/tmp/etc/miniupnpd install ./netfilter_nft/scripts/nft_init.sh debian/tmp/etc/miniupnpd install ./netfilter_nft/scripts/nft_removeall.sh debian/tmp/etc/miniupnpd install ./netfilter_nft/scripts/nft_flush.sh debian/tmp/etc/miniupnpd install ./netfilter_nft/scripts/nft_delete_chain.sh debian/tmp/etc/miniupnpd install ./netfilter_nft/scripts/miniupnpd_functions.sh debian/tmp/etc/miniupnpd install --mode=0644 -b ./miniupnpd.conf debian/tmp/etc/miniupnpd sed -i -e "s/^uuid=[-0-9a-f]*/uuid=/" debian/tmp/etc/miniupnpd/miniupnpd.conf install -d debian/tmp/etc/init.d install ./linux/miniupnpd.init.d.script debian/tmp/etc/init.d/miniupnpd install -d debian/tmp/usr/share/man/man8 install --mode=0644 ./miniupnpd.8 debian/tmp/usr/share/man/man8 gzip -f debian/tmp/usr/share/man/man8/miniupnpd.8 make[2]: Leaving directory '/build/miniupnpd-2.3.1' /usr/bin/make -f Makefile.linux install STRIP=echo DESTDIR=debian/tmp make[2]: Entering directory '/build/miniupnpd-2.3.1' please install uuid-dev package / libuuid make[2]: Circular miniupnpd.conf <- miniupnpd.conf dependency dropped. install -d debian/tmp/etc/miniupnpd install ./netfilter/iptables_init.sh debian/tmp/etc/miniupnpd install ./netfilter/iptables_removeall.sh debian/tmp/etc/miniupnpd install ./netfilter/ip6tables_init.sh debian/tmp/etc/miniupnpd install ./netfilter/ip6tables_removeall.sh debian/tmp/etc/miniupnpd install ./netfilter/miniupnpd_functions.sh debian/tmp/etc/miniupnpd install --mode=0644 -b ./miniupnpd.conf debian/tmp/etc/miniupnpd install -d debian/tmp/etc/init.d install ./linux/miniupnpd.init.d.script debian/tmp/etc/init.d/miniupnpd install -d debian/tmp/usr/share/man/man8 install --mode=0644 ./miniupnpd.8 debian/tmp/usr/share/man/man8 gzip -f debian/tmp/usr/share/man/man8/miniupnpd.8 make[2]: Leaving directory '/build/miniupnpd-2.3.1' # I don't know why rm debian/tmp/etc/miniupnpd/miniupnpd.conf~ make[1]: Leaving directory '/build/miniupnpd-2.3.1' dh_install debian/rules execute_after_dh_install-indep make[1]: Entering directory '/build/miniupnpd-2.3.1' # Move the miniupnpd.conf in /usr/share so it's not marked as CONFFILE mkdir -p /build/miniupnpd-2.3.1/debian/miniupnpd/usr/share/miniupnpd mv /build/miniupnpd-2.3.1/debian/miniupnpd/etc/miniupnpd/miniupnpd.conf /build/miniupnpd-2.3.1/debian/miniupnpd/usr/share/miniupnpd/ sed -i " \ /^secure_mode=no/ d; \ /^notify_interval=60/ d; \ s/^clean_ruleset_interval=600/#clean_ruleset_interval=600/; \ s/^allow/#allow/; \ s/^deny/#deny/; \ s/^uuid=.*/uuid=/; \ " /build/miniupnpd-2.3.1/debian/miniupnpd/usr/share/miniupnpd/miniupnpd.conf # Copy the /etc/default/miniupnpd to /usr/share cp /build/miniupnpd-2.3.1/debian/examples/miniupnpd.default /build/miniupnpd-2.3.1/debian/miniupnpd/usr/share/miniupnpd/ make[1]: Leaving directory '/build/miniupnpd-2.3.1' dh_installdocs dh_installchangelogs dh_installman dh_installdebconf debian/rules override_dh_installinit-indep make[1]: Entering directory '/build/miniupnpd-2.3.1' dh_installinit -i --no-enable --no-start make[1]: Leaving directory '/build/miniupnpd-2.3.1' debian/rules override_dh_installsystemd-indep make[1]: Entering directory '/build/miniupnpd-2.3.1' dh_installsystemd -i --no-enable --no-start make[1]: Leaving directory '/build/miniupnpd-2.3.1' dh_lintian dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'miniupnpd-nftables' in '../miniupnpd-nftables_2.3.1-1_amd64.deb'. dpkg-deb: building package 'miniupnpd' in '../miniupnpd_2.3.1-1_all.deb'. dpkg-deb: building package 'miniupnpd-nftables-dbgsym' in '../miniupnpd-nftables-dbgsym_2.3.1-1_amd64.deb'. dpkg-deb: building package 'miniupnpd-iptables-dbgsym' in '../miniupnpd-iptables-dbgsym_2.3.1-1_amd64.deb'. dpkg-deb: building package 'miniupnpd-iptables' in '../miniupnpd-iptables_2.3.1-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../miniupnpd_2.3.1-1_amd64.buildinfo dpkg-genchanges --build=binary -O../miniupnpd_2.3.1-1_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: including full source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/1027809/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/1027809/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/1027809 and its subdirectories I: Current time: Sat May 18 13:12:36 +14 2024 I: pbuilder-time-stamp: 1715987556