Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/m/miniupnpd/miniupnpd_2.2.3-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/miniupnpd-2.2.3-1e0ulx5y6/miniupnpd_2.2.3-1_all.buildinfo Get source package info: miniupnpd=2.2.3-1 Source URL: http://snapshot.notset.fr/mr/package/miniupnpd/2.2.3-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.71-2 automake=1:1.16.5-1.1 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=12 base-passwd=3.5.52 bash=5.1-5 binutils=2.37-10 binutils-common=2.37-10 binutils-x86-64-linux-gnu=2.37-10 bsdextrautils=2.37.2-4 bsdutils=1:2.37.2-4 build-essential=12.9 bzip2=1.0.8-5 coreutils=8.32-4.1 cpp=4:11.2.0-2 cpp-11=11.2.0-12 dash=0.5.11+git20210903+057cd650a4ed-3 debconf=1.5.79 debhelper=13.5.2 debianutils=5.5-1 dh-autoreconf=20 dh-strip-nondeterminism=1.12.1-1 diffutils=1:3.7-5 dpkg=1.21.1 dpkg-dev=1.21.1 dwz=0.14-1 file=1:5.41-2 findutils=4.8.0-1 g++=4:11.2.0-2 g++-11=11.2.0-12 gcc=4:11.2.0-2 gcc-11=11.2.0-12 gcc-11-base=11.2.0-12 gettext=0.21-4 gettext-base=0.21-4 grep=3.7-1 groff-base=1.22.4-7 gzip=1.10-4 hostname=3.23 init-system-helpers=1.61 intltool-debian=0.35.0+20060710.5 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libasan6=11.2.0-12 libatomic1=11.2.0-12 libattr1=1:2.5.1-1 libaudit-common=1:3.0.6-1 libaudit1=1:3.0.6-1+b1 libbinutils=2.37-10 libblkid1=2.37.2-4 libbz2-1.0=1.0.8-5 libc-bin=2.33-1 libc-dev-bin=2.33-1 libc6=2.33-1 libc6-dev=2.33-1 libcap-ng0=0.7.9-2.2+b1 libcap2=1:2.44-1 libcc1-0=11.2.0-12 libcom-err2=1.46.4-1 libcrypt-dev=1:4.4.26-1 libcrypt1=1:4.4.26-1 libctf-nobfd0=2.37-10 libctf0=2.37-10 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.261 libdebhelper-perl=13.5.2 libdpkg-perl=1.21.1 libelf1=0.186-1 libffi8=3.4.2-3 libfile-stripnondeterminism-perl=1.12.1-1 libgcc-11-dev=11.2.0-12 libgcc-s1=11.2.0-12 libgcrypt20=1.9.4-4 libgdbm-compat4=1.22-1 libgdbm6=1.22-1 libglib2.0-0=2.70.2-1 libgmp10=2:6.2.1+dfsg-3 libgomp1=11.2.0-12 libgpg-error0=1.42-3 libgssapi-krb5-2=1.18.3-7 libicu67=67.1-7 libip4tc-dev=1.8.7-1 libip4tc2=1.8.7-1 libip6tc-dev=1.8.7-1 libip6tc2=1.8.7-1 libiptc-dev=1.8.7-1 libisl23=0.24-2 libitm1=11.2.0-12 libk5crypto3=1.18.3-7 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-7 libkrb5support0=1.18.3-7 liblsan0=11.2.0-12 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.41-2 libmagic1=1:5.41-2 libmnl-dev=1.0.4-3 libmnl0=1.0.4-3 libmount1=2.37.2-4 libmpc3=1.2.1-1 libmpfr6=4.1.0-3 libnftnl-dev=1.2.1-1 libnftnl11=1.2.1-1 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-11 libpam-modules-bin=1.4.0-11 libpam-runtime=1.4.0-11 libpam0g=1.4.0-11 libpcre2-8-0=10.39-3 libpcre3=2:8.39-13 libperl5.32=5.32.1-6 libpipeline1=1.5.4-1 libquadmath0=11.2.0-12 libseccomp2=2.5.3-2 libselinux1=3.3-1+b1 libsigsegv2=2.13-1 libsmartcols1=2.37.2-4 libssl1.1=1.1.1l-1 libstdc++-11-dev=11.2.0-12 libstdc++6=11.2.0-12 libsub-override-perl=0.09-2 libsystemd0=249.7-1 libtinfo6=6.3-1 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.6-15 libtsan0=11.2.0-12 libubsan1=11.2.0-12 libuchardet0=0.0.7-1 libudev1=249.7-1 libunistring2=0.9.10-6 libuuid1=2.37.2-4 libxml2=2.9.12+dfsg-5+b1 libxtables-dev=1.8.7-1 libxtables12=1.8.7-1 libzstd1=1.4.8+dfsg-3 linux-libc-dev=5.15.5-1 login=1:4.8.1-2 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-2 mawk=1.3.4.20200120-2 ncurses-base=6.3-1 ncurses-bin=6.3-1 patch=2.7.6-7 perl=5.32.1-6 perl-base=5.32.1-6 perl-modules-5.32=5.32.1-6 pkg-config=0.29.2-1 po-debconf=1.0.21+nmu1 rpcsvc-proto=1.4.2-4 sed=4.8-1 sensible-utils=0.0.17 sysvinit-utils=3.00-1 tar=1.34+dfsg-1 util-linux=2.37.2-4 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20211218T031014Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20211218T031014Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20211214T153755Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d miniupnpd=2.2.3-1 && mkdir -p /build/miniupnpd-YknAgU && dpkg-source --no-check -x /*.dsc /build/miniupnpd-YknAgU/miniupnpd-2.2.3 && chown -R builduser:builduser /build/miniupnpd-YknAgU" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/miniupnpd-YknAgU/miniupnpd-2.2.3 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1633240236" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/miniupnpd-YknAgU /tmp/miniupnpd-2.2.3-1e0ulx5y6 bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20211214T153755Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.xIso5rdSTL as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.xIso5rdSTL Reading package lists... Building dependency tree... util-linux is already the newest version (2.37.2-4). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20211214T153755Z unstable/main amd64 libfakeroot amd64 1.26-1 [47.3 kB] Get:2 http://snapshot.notset.fr/archive/debian/20211214T153755Z unstable/main amd64 fakeroot amd64 1.26-1 [87.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (1005 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4679 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.26-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.26-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.26-1_amd64.deb ... Unpacking fakeroot (1.26-1) ... Setting up libfakeroot:amd64 (1.26-1) ... Setting up fakeroot (1.26-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.33-1) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20211218T031014Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20211218T031014Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20211214T153755Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.xIso5rdSTL Get:1 http://snapshot.notset.fr/archive/debian/20211218T031014Z bookworm InRelease [129 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20211214T153755Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20211218T031014Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20211218T031014Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20211218T031014Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20211218T031014Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20211218T031014Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20211218T031014Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20211218T031014Z bookworm/main Sources [11.8 MB] Get:4 http://snapshot.notset.fr/archive/debian/20211218T031014Z bookworm/main amd64 Packages [11.2 MB] Fetched 23.1 MB in 40s (583 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.xIso5rdSTL I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d miniupnpd=2.2.3-1 && mkdir -p /build/miniupnpd-YknAgU && dpkg-source --no-check -x /*.dsc /build/miniupnpd-YknAgU/miniupnpd-2.2.3 && chown -R builduser:builduser /build/miniupnpd-YknAgU"' exec /tmp/mmdebstrap.xIso5rdSTL Reading package lists... NOTICE: 'miniupnpd' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/miniupnp-team/miniupnpd.git Please use: git clone https://salsa.debian.org/miniupnp-team/miniupnpd.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 286 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20211218T031014Z bookworm/main miniupnpd 2.2.3-1 (dsc) [2416 B] Get:2 http://snapshot.notset.fr/archive/debian/20211218T031014Z bookworm/main miniupnpd 2.2.3-1 (tar) [255 kB] Get:3 http://snapshot.notset.fr/archive/debian/20211218T031014Z bookworm/main miniupnpd 2.2.3-1 (asc) [801 B] Get:4 http://snapshot.notset.fr/archive/debian/20211218T031014Z bookworm/main miniupnpd 2.2.3-1 (diff) [27.8 kB] Fetched 286 kB in 0s (1206 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'miniupnpd_2.2.3-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting miniupnpd in /build/miniupnpd-YknAgU/miniupnpd-2.2.3 dpkg-source: info: unpacking miniupnpd_2.2.3.orig.tar.gz dpkg-source: info: unpacking miniupnpd_2.2.3-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: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/miniupnpd-YknAgU/miniupnpd-2.2.3 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1633240236" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.xIso5rdSTL dpkg-buildpackage: info: source package miniupnpd dpkg-buildpackage: info: source version 2.2.3-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Yangfl dpkg-source --before-build . debian/rules clean dh clean debian/rules override_dh_auto_clean make[1]: Entering directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' /usr/bin/make -f Makefile.linux clean make[2]: Entering directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' please install uuid-dev package / libuuid /bin/sh configure --firewall=iptables /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead. configure: 1: -n: not found detected libiptc version 1.8.7 ./Makefile.linux -> Makefile Configuring compilation for [Debian] [bookworm/sid] 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-YknAgU/miniupnpd-2.2.3' rm -f .configure.cache config.mk config.h Makefile netfilter/miniupnpd netfilter_nft/miniupnpd make[1]: Leaving directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' dh_clean debian/rules binary-indep dh binary-indep dh_update_autotools_config -i dh_autoreconf -i debian/rules override_dh_auto_configure make[1]: Entering directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' # skip make[1]: Leaving directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' debian/rules override_dh_auto_build make[1]: Entering directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' # leasefile, see #961877 and merge_requests/1 ./configure --igd2 --ipv6 --vendorcfg --pcp-peer --portinuse --leasefile --firewall=iptables /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead. ./configure: 1: -n: not found detected libiptc version 1.8.7 ./Makefile.linux -> Makefile Configuring compilation for [Debian] [bookworm/sid] 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-YknAgU/miniupnpd-2.2.3' 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-YknAgU/miniupnpd-2.2.3=. -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"); | ^ In file included from miniupnpd.c:69: 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 | ^ In file included from miniupnpd.c:69: miniupnpd.c:1722:56: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1722 | 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:1722:93: note: format string is defined here 1722 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^ In file included from miniupnpd.c:69: miniupnpd.c:1722:56: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1722 | 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:1722:93: note: format string is defined here 1722 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^ miniupnpd.c:1728:1: warning: embedding a directive within macro arguments is not portable 1728 | #ifndef ENABLE_IPV6 | ^ miniupnpd.c:1730:1: warning: embedding a directive within macro arguments is not portable 1730 | #endif /* #ifndef ENABLE_IPV6 */ | ^ miniupnpd.c: In function ‘main’: miniupnpd.c:2149:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 2149 | " " __DATE__ ); | ^~~~~~~~ miniupnpd.c:2263:52: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 2263 | syslog(LOG_ERR, "uname(): %m"); | ^ miniupnpd.c:2570:59: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 2570 | syslog(LOG_ERR, "gettimeofday(): %m"); | ^ miniupnpd.c:2805:56: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 2805 | syslog(LOG_ERR, "select(all): %m"); | ^ miniupnpd.c:3156:64: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 3156 | syslog(LOG_ERR, "Failed to remove pidfile %s: %m", pidfilename); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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:160:47: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 160 | syslog(LOG_ERR, "getifaddrs: %m"); | ^ getifaddr.c: In function ‘find_ipv6_addr’: getifaddr.c:235:47: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 235 | syslog(LOG_ERR, "getifaddrs: %m"); | ^ getifaddr.c: At top level: getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:274:11: note: in expansion of macro ‘IP’ 274 | { IP(169, 254, 0, 0), MSK(16) }, /* RFC3927 Link-Local */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[4].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:274:11: note: in expansion of macro ‘IP’ 274 | { IP(169, 254, 0, 0), MSK(16) }, /* RFC3927 Link-Local */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:275:11: note: in expansion of macro ‘IP’ 275 | { IP(172, 16, 0, 0), MSK(12) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[5].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:275:11: note: in expansion of macro ‘IP’ 275 | { IP(172, 16, 0, 0), MSK(12) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:276:11: note: in expansion of macro ‘IP’ 276 | { IP(192, 0, 0, 0), MSK(24) }, /* RFC6890 IETF Protocol Assignments */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[6].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:276:11: note: in expansion of macro ‘IP’ 276 | { IP(192, 0, 0, 0), MSK(24) }, /* RFC6890 IETF Protocol Assignments */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:277:11: note: in expansion of macro ‘IP’ 277 | { IP(192, 0, 2, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-1) */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[7].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:277:11: note: in expansion of macro ‘IP’ 277 | { IP(192, 0, 2, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-1) */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:278:11: note: in expansion of macro ‘IP’ 278 | { IP(192, 31, 196, 0), MSK(24) }, /* RFC7535 AS112-v4 */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[8].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:278:11: note: in expansion of macro ‘IP’ 278 | { IP(192, 31, 196, 0), MSK(24) }, /* RFC7535 AS112-v4 */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:279:11: note: in expansion of macro ‘IP’ 279 | { IP(192, 52, 193, 0), MSK(24) }, /* RFC7450 AMT */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[9].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:279:11: note: in expansion of macro ‘IP’ 279 | { IP(192, 52, 193, 0), MSK(24) }, /* RFC7450 AMT */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:280:11: note: in expansion of macro ‘IP’ 280 | { IP(192, 88, 99, 0), MSK(24) }, /* RFC7526 6to4 Relay Anycast */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[10].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:280:11: note: in expansion of macro ‘IP’ 280 | { IP(192, 88, 99, 0), MSK(24) }, /* RFC7526 6to4 Relay Anycast */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:281:11: note: in expansion of macro ‘IP’ 281 | { IP(192, 168, 0, 0), MSK(16) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[11].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:281:11: note: in expansion of macro ‘IP’ 281 | { IP(192, 168, 0, 0), MSK(16) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:282:11: note: in expansion of macro ‘IP’ 282 | { IP(192, 175, 48, 0), MSK(24) }, /* RFC7534 Direct Delegation AS112 Service */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[12].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:282:11: note: in expansion of macro ‘IP’ 282 | { IP(192, 175, 48, 0), MSK(24) }, /* RFC7534 Direct Delegation AS112 Service */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:283:11: note: in expansion of macro ‘IP’ 283 | { IP(198, 18, 0, 0), MSK(15) }, /* RFC2544 Benchmarking */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[13].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:283:11: note: in expansion of macro ‘IP’ 283 | { IP(198, 18, 0, 0), MSK(15) }, /* RFC2544 Benchmarking */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:284:11: note: in expansion of macro ‘IP’ 284 | { IP(198, 51, 100, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-2) */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[14].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:284:11: note: in expansion of macro ‘IP’ 284 | { IP(198, 51, 100, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-2) */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:285:11: note: in expansion of macro ‘IP’ 285 | { IP(203, 0, 113, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-3) */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[15].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:285:11: note: in expansion of macro ‘IP’ 285 | { IP(203, 0, 113, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-3) */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #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(224, 0, 0, 0), MSK( 4) }, /* RFC1112 Multicast */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[16].address’) 267 | #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(224, 0, 0, 0), MSK( 4) }, /* RFC1112 Multicast */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #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(240, 0, 0, 0), MSK( 4) }, /* RFC1112 Reserved for Future Use + RFC919 Limited Broadcast */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[17].address’) 267 | #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(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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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:39:49: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 39 | syslog(LOG_ERR, "%s: socket(): %m", | ^ natpmp.c:45:69: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 45 | syslog(LOG_WARNING, "%s: setsockopt(SO_REUSEADDR): %m", | ^ natpmp.c:50:63: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 50 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ natpmp.c:62:55: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 62 | syslog(LOG_ERR, "%s: bind(): %m", | ^ natpmp.c: In function ‘ReceiveNATPMPOrPCPPacket’: natpmp.c:166:60: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 166 | syslog(LOG_ERR, "recvmsg(natpmp): %m"); | ^ natpmp.c: In function ‘ProcessIncomingNATPMPPacket’: natpmp.c:230:54: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 230 | syslog(LOG_ERR, "inet_ntop(natpmp): %m"); | ^ natpmp.c:415:51: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 415 | syslog(LOG_ERR, "sendto(natpmp): %m"); | ^ natpmp.c: In function ‘SendNATPMPPublicAddressChangeNotification’: natpmp.c:473:74: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 473 | syslog(LOG_ERR, "%s: sendto(s_udp=%d, port=%d): %m", | ^ natpmp.c:483:74: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 483 | syslog(LOG_ERR, "%s: sendto(s_udp=%d, port=%d): %m", | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-YknAgU/miniupnpd-2.2.3=. -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:551:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 551 | pcp_buf += option_length; | ^~ pcpserver.c: In function ‘CreatePCPPeer’: pcpserver.c:794:57: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 794 | syslog(LOG_ERR, "inet_n46top(peer_ip): %m"); | ^ pcpserver.c: In function ‘ValidatePCPMsg’: pcpserver.c:1190:57: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1190 | syslog(LOG_ERR, "inet_ntop(pcpserver): %m"); | ^ pcpserver.c: In function ‘processPCPRequest’: pcpserver.c:1272:13: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1272 | req += PCP_COMMON_REQUEST_SIZE; | ^~ pcpserver.c:1290:29: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1290 | req += PCP_MAP_V1_SIZE; | ^~ pcpserver.c:1319:29: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1319 | req += PCP_PEER_V1_SIZE; | ^~ pcpserver.c:1362:29: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1362 | req += PCP_MAP_V2_SIZE; | ^~ pcpserver.c:1393:29: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1393 | req += PCP_PEER_V2_SIZE; | ^~ pcpserver.c: In function ‘ProcessIncomingPCPPacket’: pcpserver.c:1603:62: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1603 | syslog(LOG_ERR, "sendto(pcpserver): %m"); | ^ pcpserver.c: In function ‘OpenAndConfPCPv6Socket’: pcpserver.c:1618:49: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1618 | syslog(LOG_ERR, "%s: socket(): %m", "OpenAndConfPCPv6Socket"); | ^ pcpserver.c:1622:69: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1622 | syslog(LOG_WARNING, "%s: setsockopt(SO_REUSEADDR): %m", | ^ pcpserver.c:1629:68: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1629 | syslog(LOG_WARNING, "%s: setsockopt(IPV6_V6ONLY): %m", | ^ pcpserver.c:1636:73: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1636 | syslog(LOG_WARNING, "%s: setsockopt(IPV6_RECVPKTINFO): %m", | ^ pcpserver.c:1641:63: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1641 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ pcpserver.c:1649:47: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1649 | syslog(LOG_ERR, "%s: bind(): %m", "OpenAndConfPCPv6Socket"); | ^ pcpserver.c: In function ‘PCPSendUnsolicitedAnnounce’: pcpserver.c:1690:93: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1690 | syslog(LOG_ERR, "PCPSendUnsolicitedAnnounce(sockets[%d]) sendto(): %m", i); | ^ pcpserver.c:1701:87: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1701 | syslog(LOG_ERR, "PCPSendUnsolicitedAnnounce() IPv6 sendto(): %m"); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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 * In file included from /usr/include/string.h:519, from upnppinhole.c:10: In function ‘strncpy’, inlined from ‘lease_file6_remove.isra’ at upnppinhole.c:335:4: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ upnppinhole.c: In function ‘lease_file6_remove.isra’: 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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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"); | ^ In file included from /usr/include/string.h:519, from linux/ifacewatcher.c:46: In function ‘strncpy’, inlined from ‘ProcessInterfaceWatchNotify’ at linux/ifacewatcher.c:323:6: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘ProcessInterfaceWatchNotify’ at linux/ifacewatcher.c:324:6: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 16 bytes from a string of length 127 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘ProcessInterfaceWatchNotify’ at linux/ifacewatcher.c:320:7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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:789:52: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 789 | target = (void *)e + e->target_offset; | ^ netfilter/iptcrdr.c:882:52: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 882 | target = (void *)e + e->target_offset; | ^ netfilter/iptcrdr.c: In function ‘update_portmapping’: netfilter/iptcrdr.c:1808:52: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1808 | target = (void *)e + e->target_offset; | ^ netfilter/iptcrdr.c:1835:32: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1835 | target = (void *)new_e + new_e->target_offset; | ^ netfilter/iptcrdr.c:1872:44: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1872 | target = (void *)e + e->target_offset; | ^ netfilter/iptcrdr.c:1900:56: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1900 | target = (void *)new_e + new_e->target_offset; | ^ netfilter/iptcrdr.c:1964:52: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1964 | target = (void *)e + e->target_offset; | ^ In file included from /usr/include/string.h:519, from netfilter/iptcrdr.c:10: In function ‘strncpy’, inlined from ‘update_portmapping’ at netfilter/iptcrdr.c:1902:6: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ specified bound 29 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-YknAgU/miniupnpd-2.2.3=. -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 file included from /usr/include/string.h:519, from netfilter/iptpinhole.c:9: In function ‘strncpy’, inlined from ‘add_pinhole’ at netfilter/iptpinhole.c:230:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘ip6tc_init_verify_append’, inlined from ‘add_pinhole’ at netfilter/iptpinhole.c:265: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: In function ‘add_pinhole’: netfilter/iptpinhole.c:183:13: note: referencing argument 1 of type ‘const char *’ In file included from netfilter/iptpinhole.c:24: /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:341:37: warning: ‘ip6tc_delete_num_entry’ reading 32 bytes from a region of size 10 [-Wstringop-overread] 341 | if(!ip6tc_delete_num_entry(miniupnpd_v6_filter_chain, index, h)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netfilter/iptpinhole.c:341:37: note: referencing argument 1 of type ‘const char *’ In file included from netfilter/iptpinhole.c:24: /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-YknAgU/miniupnpd-2.2.3=. -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 No package 'libssl' 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-YknAgU/miniupnpd-2.2.3' mv miniupnpd netfilter/ /usr/bin/make -f Makefile.linux clean make[2]: Entering directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' 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-YknAgU/miniupnpd-2.2.3' ./configure --igd2 --ipv6 --vendorcfg --pcp-peer --portinuse --leasefile --firewall=nftables /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead. ./configure: 1: -n: not found ./Makefile.linux_nft -> Makefile Configuring compilation for [Debian] [bookworm/sid] 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-YknAgU/miniupnpd-2.2.3' please install uuid-dev package / libuuid x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-YknAgU/miniupnpd-2.2.3=. -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"); | ^ In file included from miniupnpd.c:69: 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 | ^ In file included from miniupnpd.c:69: miniupnpd.c:1722:56: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1722 | 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:1722:93: note: format string is defined here 1722 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^ In file included from miniupnpd.c:69: miniupnpd.c:1722:56: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1722 | 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:1722:93: note: format string is defined here 1722 | INIT_PRINT_ERR("malloc(sizeof(struct lan_addr_s)): %m"); | ^ miniupnpd.c:1728:1: warning: embedding a directive within macro arguments is not portable 1728 | #ifndef ENABLE_IPV6 | ^ miniupnpd.c:1730:1: warning: embedding a directive within macro arguments is not portable 1730 | #endif /* #ifndef ENABLE_IPV6 */ | ^ miniupnpd.c: In function ‘main’: miniupnpd.c:2149:34: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 2149 | " " __DATE__ ); | ^~~~~~~~ miniupnpd.c:2263:52: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 2263 | syslog(LOG_ERR, "uname(): %m"); | ^ miniupnpd.c:2570:59: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 2570 | syslog(LOG_ERR, "gettimeofday(): %m"); | ^ miniupnpd.c:2805:56: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 2805 | syslog(LOG_ERR, "select(all): %m"); | ^ miniupnpd.c:3156:64: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 3156 | syslog(LOG_ERR, "Failed to remove pidfile %s: %m", pidfilename); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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:160:47: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 160 | syslog(LOG_ERR, "getifaddrs: %m"); | ^ getifaddr.c: In function ‘find_ipv6_addr’: getifaddr.c:235:47: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 235 | syslog(LOG_ERR, "getifaddrs: %m"); | ^ getifaddr.c: At top level: getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:274:11: note: in expansion of macro ‘IP’ 274 | { IP(169, 254, 0, 0), MSK(16) }, /* RFC3927 Link-Local */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[4].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:274:11: note: in expansion of macro ‘IP’ 274 | { IP(169, 254, 0, 0), MSK(16) }, /* RFC3927 Link-Local */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:275:11: note: in expansion of macro ‘IP’ 275 | { IP(172, 16, 0, 0), MSK(12) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[5].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:275:11: note: in expansion of macro ‘IP’ 275 | { IP(172, 16, 0, 0), MSK(12) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:276:11: note: in expansion of macro ‘IP’ 276 | { IP(192, 0, 0, 0), MSK(24) }, /* RFC6890 IETF Protocol Assignments */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[6].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:276:11: note: in expansion of macro ‘IP’ 276 | { IP(192, 0, 0, 0), MSK(24) }, /* RFC6890 IETF Protocol Assignments */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:277:11: note: in expansion of macro ‘IP’ 277 | { IP(192, 0, 2, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-1) */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[7].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:277:11: note: in expansion of macro ‘IP’ 277 | { IP(192, 0, 2, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-1) */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:278:11: note: in expansion of macro ‘IP’ 278 | { IP(192, 31, 196, 0), MSK(24) }, /* RFC7535 AS112-v4 */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[8].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:278:11: note: in expansion of macro ‘IP’ 278 | { IP(192, 31, 196, 0), MSK(24) }, /* RFC7535 AS112-v4 */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:279:11: note: in expansion of macro ‘IP’ 279 | { IP(192, 52, 193, 0), MSK(24) }, /* RFC7450 AMT */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[9].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:279:11: note: in expansion of macro ‘IP’ 279 | { IP(192, 52, 193, 0), MSK(24) }, /* RFC7450 AMT */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:280:11: note: in expansion of macro ‘IP’ 280 | { IP(192, 88, 99, 0), MSK(24) }, /* RFC7526 6to4 Relay Anycast */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[10].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:280:11: note: in expansion of macro ‘IP’ 280 | { IP(192, 88, 99, 0), MSK(24) }, /* RFC7526 6to4 Relay Anycast */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:281:11: note: in expansion of macro ‘IP’ 281 | { IP(192, 168, 0, 0), MSK(16) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[11].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:281:11: note: in expansion of macro ‘IP’ 281 | { IP(192, 168, 0, 0), MSK(16) }, /* RFC1918 Private-Use */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:282:11: note: in expansion of macro ‘IP’ 282 | { IP(192, 175, 48, 0), MSK(24) }, /* RFC7534 Direct Delegation AS112 Service */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[12].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:282:11: note: in expansion of macro ‘IP’ 282 | { IP(192, 175, 48, 0), MSK(24) }, /* RFC7534 Direct Delegation AS112 Service */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:283:11: note: in expansion of macro ‘IP’ 283 | { IP(198, 18, 0, 0), MSK(15) }, /* RFC2544 Benchmarking */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[13].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:283:11: note: in expansion of macro ‘IP’ 283 | { IP(198, 18, 0, 0), MSK(15) }, /* RFC2544 Benchmarking */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:284:11: note: in expansion of macro ‘IP’ 284 | { IP(198, 51, 100, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-2) */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[14].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:284:11: note: in expansion of macro ‘IP’ 284 | { IP(198, 51, 100, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-2) */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:285:11: note: in expansion of macro ‘IP’ 285 | { IP(203, 0, 113, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-3) */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[15].address’) 267 | #define IP(a, b, c, d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) | ^ getifaddr.c:285:11: note: in expansion of macro ‘IP’ 285 | { IP(203, 0, 113, 0), MSK(24) }, /* RFC5737 Documentation (TEST-NET-3) */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #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(224, 0, 0, 0), MSK( 4) }, /* RFC1112 Multicast */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[16].address’) 267 | #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(224, 0, 0, 0), MSK( 4) }, /* RFC1112 Multicast */ | ^~ getifaddr.c:267:24: warning: initializer element is not a constant expression [-Wpedantic] 267 | #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(240, 0, 0, 0), MSK( 4) }, /* RFC1112 Reserved for Future Use + RFC919 Limited Broadcast */ | ^~ getifaddr.c:267:24: note: (near initialization for ‘reserved[17].address’) 267 | #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(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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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:39:49: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 39 | syslog(LOG_ERR, "%s: socket(): %m", | ^ natpmp.c:45:69: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 45 | syslog(LOG_WARNING, "%s: setsockopt(SO_REUSEADDR): %m", | ^ natpmp.c:50:63: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 50 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ natpmp.c:62:55: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 62 | syslog(LOG_ERR, "%s: bind(): %m", | ^ natpmp.c: In function ‘ReceiveNATPMPOrPCPPacket’: natpmp.c:166:60: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 166 | syslog(LOG_ERR, "recvmsg(natpmp): %m"); | ^ natpmp.c: In function ‘ProcessIncomingNATPMPPacket’: natpmp.c:230:54: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 230 | syslog(LOG_ERR, "inet_ntop(natpmp): %m"); | ^ natpmp.c:415:51: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 415 | syslog(LOG_ERR, "sendto(natpmp): %m"); | ^ natpmp.c: In function ‘SendNATPMPPublicAddressChangeNotification’: natpmp.c:473:74: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 473 | syslog(LOG_ERR, "%s: sendto(s_udp=%d, port=%d): %m", | ^ natpmp.c:483:74: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 483 | syslog(LOG_ERR, "%s: sendto(s_udp=%d, port=%d): %m", | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-YknAgU/miniupnpd-2.2.3=. -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:551:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 551 | pcp_buf += option_length; | ^~ pcpserver.c: In function ‘CreatePCPPeer’: pcpserver.c:794:57: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 794 | syslog(LOG_ERR, "inet_n46top(peer_ip): %m"); | ^ pcpserver.c: In function ‘ValidatePCPMsg’: pcpserver.c:1190:57: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1190 | syslog(LOG_ERR, "inet_ntop(pcpserver): %m"); | ^ pcpserver.c: In function ‘processPCPRequest’: pcpserver.c:1272:13: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1272 | req += PCP_COMMON_REQUEST_SIZE; | ^~ pcpserver.c:1290:29: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1290 | req += PCP_MAP_V1_SIZE; | ^~ pcpserver.c:1319:29: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1319 | req += PCP_PEER_V1_SIZE; | ^~ pcpserver.c:1362:29: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1362 | req += PCP_MAP_V2_SIZE; | ^~ pcpserver.c:1393:29: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1393 | req += PCP_PEER_V2_SIZE; | ^~ pcpserver.c: In function ‘ProcessIncomingPCPPacket’: pcpserver.c:1603:62: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1603 | syslog(LOG_ERR, "sendto(pcpserver): %m"); | ^ pcpserver.c: In function ‘OpenAndConfPCPv6Socket’: pcpserver.c:1618:49: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1618 | syslog(LOG_ERR, "%s: socket(): %m", "OpenAndConfPCPv6Socket"); | ^ pcpserver.c:1622:69: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1622 | syslog(LOG_WARNING, "%s: setsockopt(SO_REUSEADDR): %m", | ^ pcpserver.c:1629:68: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1629 | syslog(LOG_WARNING, "%s: setsockopt(IPV6_V6ONLY): %m", | ^ pcpserver.c:1636:73: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1636 | syslog(LOG_WARNING, "%s: setsockopt(IPV6_RECVPKTINFO): %m", | ^ pcpserver.c:1641:63: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1641 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ pcpserver.c:1649:47: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1649 | syslog(LOG_ERR, "%s: bind(): %m", "OpenAndConfPCPv6Socket"); | ^ pcpserver.c: In function ‘PCPSendUnsolicitedAnnounce’: pcpserver.c:1690:93: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1690 | syslog(LOG_ERR, "PCPSendUnsolicitedAnnounce(sockets[%d]) sendto(): %m", i); | ^ pcpserver.c:1701:87: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1701 | syslog(LOG_ERR, "PCPSendUnsolicitedAnnounce() IPv6 sendto(): %m"); | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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 * In file included from /usr/include/string.h:519, from upnppinhole.c:10: In function ‘strncpy’, inlined from ‘lease_file6_remove.isra’ at upnppinhole.c:335:4: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ upnppinhole.c: In function ‘lease_file6_remove.isra’: 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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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"); | ^ In file included from /usr/include/string.h:519, from linux/ifacewatcher.c:46: In function ‘strncpy’, inlined from ‘ProcessInterfaceWatchNotify’ at linux/ifacewatcher.c:323:6: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘ProcessInterfaceWatchNotify’ at linux/ifacewatcher.c:324:6: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 16 bytes from a string of length 127 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘ProcessInterfaceWatchNotify’ at linux/ifacewatcher.c:320:7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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:470:74: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 470 | syslog(LOG_ERR, "%s: inet_ntop: %m", | ^ netfilter_nft/nftnlrdr.c:486:82: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 486 | syslog(LOG_ERR, "%s: inet_ntop: %m", | ^ netfilter_nft/nftnlrdr.c: In function ‘get_redirect_rule_by_index’: netfilter_nft/nftnlrdr.c:589:74: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 589 | syslog(LOG_ERR, "%s: inet_ntop: %m", | ^ netfilter_nft/nftnlrdr.c:605:82: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 605 | syslog(LOG_ERR, "%s: inet_ntop: %m", | ^ netfilter_nft/nftnlrdr.c: In function ‘get_nat_redirect_rule’: netfilter_nft/nftnlrdr.c:669:74: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 669 | syslog(LOG_ERR, "%s: inet_ntop: %m", | ^ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-YknAgU/miniupnpd-2.2.3=. -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 In file included from /usr/include/string.h:519, from netfilter_nft/nftpinhole.c:11: In function ‘strncpy’, inlined from ‘update_pinhole’ at netfilter_nft/nftpinhole.c:281:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -c -g -O2 -ffile-prefix-map=/build/miniupnpd-YknAgU/miniupnpd-2.2.3=. -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-YknAgU/miniupnpd-2.2.3=. -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:95:27: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 95 | 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:95:55: note: format string is defined here 95 | log_error("mnl_socket_open() FAILED: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:99:27: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 99 | 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:99:55: note: format string is defined here 99 | log_error("mnl_socket_bind() FAILED: %m"); | ^ netfilter_nft/nftnlrdr_misc.c: In function ‘table_cb’: netfilter_nft/nftnlrdr_misc.c:517:38: warning: format ‘%p’ expects argument of type ‘void *’, but argument 3 has type ‘const struct nlmsghdr *’ [-Wformat=] 517 | 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:707:27: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 707 | 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:707:57: note: format string is defined here 707 | log_error("mnl_socket_sendto() FAILED: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:717:68: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 717 | syslog(LOG_ERR, "%s: mnl_socket_recvfrom: %m", | ^ netfilter_nft/nftnlrdr_misc.c: In function ‘nft_send_rule’: netfilter_nft/nftnlrdr_misc.c:1219:46: warning: format ‘%p’ expects argument of type ‘void *’, but argument 4 has type ‘struct nftnl_rule *’ [-Wformat=] 1219 | syslog(LOG_ERR, "%s(%p, %d, %d) send_batch failed %d", | ~^ | | | void * 1220 | "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:1241:27: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1241 | 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:1241:44: note: format string is defined here 1241 | log_error("out of memory: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:1249:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1249 | 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:1249:52: note: format string is defined here 1249 | log_error("out of memory: %m"); | ^ netfilter_nft/nftnlrdr_misc.c: In function ‘chain_op’: netfilter_nft/nftnlrdr_misc.c:1290:27: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1290 | 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:1290:44: note: format string is defined here 1290 | log_error("out of memory: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:1304:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1304 | 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:1304:52: note: format string is defined here 1304 | log_error("out of memory: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:1313:43: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1313 | 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:1313:69: note: format string is defined here 1313 | log_error("failed to build header: %m"); | ^ netfilter_nft/nftnlrdr_misc.c: In function ‘send_batch’: netfilter_nft/nftnlrdr_misc.c:1385:27: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1385 | 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:1385:57: note: format string is defined here 1385 | log_error("mnl_socket_sendto() FAILED: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:1393:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1393 | 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:1393:67: note: format string is defined here 1393 | 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 No package 'libssl' 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-YknAgU/miniupnpd-2.2.3' mv miniupnpd netfilter_nft/ make[1]: Leaving directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' debian/rules override_dh_auto_test make[1]: Entering directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' # some test scripts missing from the tarball make[1]: Leaving directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' create-stamp debian/debhelper-build-stamp dh_prep -i dh_installdirs -i debian/rules override_dh_auto_install make[1]: Entering directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' /usr/bin/make -f Makefile.linux_nft install STRIP=echo DESTDIR=debian/tmp make[2]: Entering directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' 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 --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-YknAgU/miniupnpd-2.2.3' /usr/bin/make -f Makefile.linux install STRIP=echo DESTDIR=debian/tmp make[2]: Entering directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' 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 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-YknAgU/miniupnpd-2.2.3' # I don't know why rm debian/tmp/etc/miniupnpd/miniupnpd.conf~ make[1]: Leaving directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' dh_install -i debian/rules execute_after_dh_install-indep make[1]: Entering directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' # Move the miniupnpd.conf in /usr/share so it's not marked as CONFFILE mkdir -p /build/miniupnpd-YknAgU/miniupnpd-2.2.3/debian/miniupnpd/usr/share/miniupnpd mv /build/miniupnpd-YknAgU/miniupnpd-2.2.3/debian/miniupnpd/etc/miniupnpd/miniupnpd.conf /build/miniupnpd-YknAgU/miniupnpd-2.2.3/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-YknAgU/miniupnpd-2.2.3/debian/miniupnpd/usr/share/miniupnpd/miniupnpd.conf # Copy the /etc/default/miniupnpd to /usr/share cp /build/miniupnpd-YknAgU/miniupnpd-2.2.3/debian/examples/miniupnpd.default /build/miniupnpd-YknAgU/miniupnpd-2.2.3/debian/miniupnpd/usr/share/miniupnpd/ make[1]: Leaving directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' dh_installdocs -i dh_installchangelogs -i dh_installman -i dh_installdebconf -i debian/rules override_dh_installinit-indep make[1]: Entering directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' dh_installinit -i --no-enable --no-start make[1]: Leaving directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' debian/rules override_dh_installsystemd-indep make[1]: Entering directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' dh_installsystemd -i --no-enable --no-start make[1]: Leaving directory '/build/miniupnpd-YknAgU/miniupnpd-2.2.3' dh_lintian -i dh_perl -i dh_link -i dh_strip_nondeterminism -i dh_compress -i dh_fixperms -i dh_missing -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i dpkg-deb: building package 'miniupnpd' in '../miniupnpd_2.2.3-1_all.deb'. dpkg-genbuildinfo --build=all -O../miniupnpd_2.2.3-1_all.buildinfo dpkg-genchanges --build=all -O../miniupnpd_2.2.3-1_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/miniupnpd-YknAgU /tmp/miniupnpd-2.2.3-1e0ulx5y6 I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.xIso5rdSTL... I: success in 2204.0743 seconds md5: miniupnpd_2.2.3-1_all.deb: OK sha1: miniupnpd_2.2.3-1_all.deb: OK sha256: miniupnpd_2.2.3-1_all.deb: OK Checksums: OK