Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/m/miniupnpd/miniupnpd_2.2.1-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/miniupnpd-2.2.1-1_w9tuozj/miniupnpd_2.2.1-1_all.buildinfo Get source package info: miniupnpd=2.2.1-1 Source URL: http://snapshot.notset.fr/mr/package/miniupnpd/2.2.1-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-3 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.48 bash=5.1-2 binutils=2.35.1-6 binutils-common=2.35.1-6 binutils-x86-64-linux-gnu=2.35.1-6 bsdextrautils=2.36.1-4 bsdutils=1:2.36.1-4 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.1-3 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.74 debhelper=13.3.1 debianutils=4.11.2 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-5 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13+20201015-2 file=1:5.39-3 findutils=4.7.0+git20201010-2 g++=4:10.2.0-1 g++-10=10.2.1-3 gcc=4:10.2.0-1 gcc-10=10.2.1-3 gcc-10-base=10.2.1-3 gettext=0.21-3 gettext-base=0.21-3 grep=3.6-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-9 libarchive-zip-perl=1.68-1 libasan6=10.2.1-3 libatomic1=10.2.1-3 libattr1=1:2.4.48-6 libaudit-common=1:3.0-1 libaudit1=1:3.0-1 libbinutils=2.35.1-6 libblkid1=2.36.1-4 libbz2-1.0=1.0.8-4 libc-bin=2.31-7 libc-dev-bin=2.31-7 libc6=2.31-7 libc6-dev=2.31-7 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-3 libcom-err2=1.45.6-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-6 libctf0=2.35.1-6 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.256 libdebhelper-perl=13.3.1 libdpkg-perl=1.20.5 libelf1=0.182-2 libffi7=3.3-5 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-10-dev=10.2.1-3 libgcc-s1=10.2.1-3 libgcrypt20=1.8.7-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libglib2.0-0=2.66.4-1 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-3 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libicu67=67.1-5 libip4tc-dev=1.8.6-1 libip4tc2=1.8.6-1 libip6tc-dev=1.8.6-1 libip6tc2=1.8.6-1 libiptc-dev=1.8.6-1 libisl23=0.23-1 libitm1=10.2.1-3 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 liblsan0=10.2.1-3 liblz4-1=1.9.3-1 liblzma5=5.2.5-1.0 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmnl-dev=1.0.4-3 libmnl0=1.0.4-3 libmount1=2.36.1-4 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnftnl-dev=1.1.8-2 libnftnl11=1.1.8-2 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-2 libpam-modules-bin=1.4.0-2 libpam-runtime=1.4.0-2 libpam0g=1.4.0-2 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.0-6 libpipeline1=1.5.3-1 libquadmath0=10.2.1-3 libseccomp2=2.5.1-1 libselinux1=3.1-2+b2 libsigsegv2=2.12-3 libsmartcols1=2.36.1-4 libssl1.1=1.1.1i-1 libstdc++-10-dev=10.2.1-3 libstdc++6=10.2.1-3 libsub-override-perl=0.09-2 libsystemd0=247.2-4 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-14 libtsan0=10.2.1-3 libubsan1=10.2.1-3 libuchardet0=0.0.7-1 libudev1=247.2-4 libunistring2=0.9.10-4 libuuid1=2.36.1-4 libxml2=2.9.10+dfsg-6.3+b1 libxtables-dev=1.8.6-1 libxtables12=1.8.6-1 libzstd1=1.4.8+dfsg-1 linux-libc-dev=5.10.4-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 patch=2.7.6-6 perl=5.32.0-6 perl-base=5.32.0-6 perl-modules-5.32=5.32.0-6 pkg-config=0.29.2-1 po-debconf=1.0.21+nmu1 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 util-linux=2.36.1-4 xz-utils=5.2.5-1.0 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/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210105T023154Z/ 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.1-1 && mkdir -p /build/miniupnpd-MU4DAY && dpkg-source --no-check -x /*.dsc /build/miniupnpd-MU4DAY/miniupnpd-2.2.1 && chown -R builduser:builduser /build/miniupnpd-MU4DAY" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/miniupnpd-MU4DAY/miniupnpd-2.2.1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1609768134" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/miniupnpd-MU4DAY /tmp/miniupnpd-2.2.1-1_w9tuozj bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210105T023154Z 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.hLJvEmXmde 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.hLJvEmXmde Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-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/20210105T023154Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210105T023154Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (950 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 ... 4647 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-7) ... 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/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210105T023154Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.hLJvEmXmde Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20210105T023154Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 21s (1062 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.hLJvEmXmde I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d miniupnpd=2.2.1-1 && mkdir -p /build/miniupnpd-MU4DAY && dpkg-source --no-check -x /*.dsc /build/miniupnpd-MU4DAY/miniupnpd-2.2.1 && chown -R builduser:builduser /build/miniupnpd-MU4DAY"' exec /tmp/mmdebstrap.hLJvEmXmde 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 278 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main miniupnpd 2.2.1-1 (dsc) [2166 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main miniupnpd 2.2.1-1 (tar) [250 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main miniupnpd 2.2.1-1 (diff) [26.1 kB] Fetched 278 kB in 0s (771 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'miniupnpd_2.2.1-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting miniupnpd in /build/miniupnpd-MU4DAY/miniupnpd-2.2.1 dpkg-source: info: unpacking miniupnpd_2.2.1.orig.tar.gz dpkg-source: info: unpacking miniupnpd_2.2.1-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying makefile-tweak.patch dpkg-source: info: applying miniupnpd-allow-ipv4-listening-specify.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/miniupnpd-MU4DAY/miniupnpd-2.2.1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1609768134" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.hLJvEmXmde dpkg-buildpackage: info: source package miniupnpd dpkg-buildpackage: info: source version 2.2.1-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-MU4DAY/miniupnpd-2.2.1' /usr/bin/make -f Makefile.linux clean make[2]: Entering directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' please install uuid-dev package / libuuid /bin/sh configure --firewall=iptables configure: 1: -n: not found detected libiptc version 1.8.6 ./Makefile.linux -> Makefile Configuring compilation for [Debian] [bullseye/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-MU4DAY/miniupnpd-2.2.1' rm -f .configure.cache config.mk config.h Makefile netfilter/miniupnpd netfilter_nft/miniupnpd make[1]: Leaving directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' 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-MU4DAY/miniupnpd-2.2.1' # skip make[1]: Leaving directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' debian/rules override_dh_auto_build make[1]: Entering directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' ./configure --igd2 --ipv6 --vendorcfg --pcp-peer --portinuse --firewall=iptables ./configure: 1: -n: not found detected libiptc version 1.8.6 ./Makefile.linux -> Makefile Configuring compilation for [Debian] [bullseye/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-MU4DAY/miniupnpd-2.2.1' please install uuid-dev package / libuuid cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT asyncsendto.o -MT asyncsendto.d -o asyncsendto.d asyncsendto.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT pcplearndscp.o -MT pcplearndscp.d -o pcplearndscp.d pcplearndscp.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnppinhole.o -MT upnppinhole.d -o upnppinhole.d upnppinhole.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpstun.o -MT upnpstun.d -o upnpstun.d upnpstun.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT getconnstatus.o -MT getconnstatus.d -o getconnstatus.d getconnstatus.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnputils.o -MT upnputils.d -o upnputils.d upnputils.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpevents.o -MT upnpevents.d -o upnpevents.d upnpevents.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpglobalvars.o -MT upnpglobalvars.d -o upnpglobalvars.d upnpglobalvars.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT pcpserver.o -MT pcpserver.d -o pcpserver.d pcpserver.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT natpmp.o -MT natpmp.d -o natpmp.d natpmp.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT minissdp.o -MT minissdp.d -o minissdp.d minissdp.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnppermissions.o -MT upnppermissions.d -o upnppermissions.d upnppermissions.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT options.o -MT options.d -o options.d options.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT daemonize.o -MT daemonize.d -o daemonize.d daemonize.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT getifaddr.o -MT getifaddr.d -o getifaddr.d getifaddr.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpredirect.o -MT upnpredirect.d -o upnpredirect.d upnpredirect.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT portinuse.o -MT portinuse.d -o portinuse.d portinuse.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT minixml.o -MT minixml.d -o minixml.d minixml.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpreplyparse.o -MT upnpreplyparse.d -o upnpreplyparse.d upnpreplyparse.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpsoap.o -MT upnpsoap.d -o upnpsoap.d upnpsoap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpdescgen.o -MT upnpdescgen.d -o upnpdescgen.d upnpdescgen.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnphttp.o -MT upnphttp.d -o upnphttp.d upnphttp.c cc -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 cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. miniupnpd.c -o miniupnpd.o miniupnpd.c: In function ‘OpenAndConfHTTPSocket’: miniupnpd.c:345:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 345 | syslog(LOG_ERR, "socket(http): %m"); | ^ miniupnpd.c:351:57: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 351 | syslog(LOG_WARNING, "setsockopt(http, SO_REUSEADDR): %m"); | ^ miniupnpd.c:364:49: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 364 | syslog(LOG_WARNING, "set_non_blocking(http): %m"); | ^ miniupnpd.c:398:65: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 398 | syslog(LOG_WARNING, "setsockopt(http, SO_BINDTODEVICE, %s): %m", | ^ miniupnpd.c:411:33: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 411 | syslog(LOG_ERR, "bind(http): %m"); | ^ miniupnpd.c:418:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 418 | syslog(LOG_ERR, "listen(http): %m"); | ^ miniupnpd.c:429:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 429 | syslog(LOG_ERR, "getsockname(): %m"); | ^ miniupnpd.c:438:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 438 | syslog(LOG_ERR, "getsockname(): %m"); | ^ miniupnpd.c: In function ‘ProcessIncomingHTTP’: miniupnpd.c:466:36: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 466 | syslog(LOG_ERR, "accept(http): %m"); | ^ miniupnpd.c: In function ‘set_startup_time’: miniupnpd.c:840:48: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 840 | syslog(LOG_ERR, "fopen(\"/proc/uptime\") : %m"); | ^ miniupnpd.c:846:50: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 846 | syslog(LOG_ERR, "fscanf(\"/proc/uptime\") : %m"); | ^ miniupnpd.c: In function ‘init’: miniupnpd.c:1232:59: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1232 | fprintf(stderr, "malloc(sizeof(struct lan_addr_s)): %m"); | ^ miniupnpd.c:1646:59: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1646 | fprintf(stderr, "malloc(sizeof(struct lan_addr_s)): %m"); | ^ miniupnpd.c: In function ‘main’: miniupnpd.c:2067:13: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 2067 | " " __DATE__ ); | ^~~~~~~~ miniupnpd.c:2472:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 2472 | syslog(LOG_ERR, "gettimeofday(): %m"); | ^ miniupnpd.c:2707:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 2707 | syslog(LOG_ERR, "select(all): %m"); | ^ miniupnpd.c:3058:50: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 3058 | syslog(LOG_ERR, "Failed to remove pidfile %s: %m", pidfilename); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnphttp.c -o upnphttp.o upnphttp.c: In function ‘New_upnphttp’: upnphttp.c:147:59: 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:54: 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:942:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 942 | syslog(LOG_ERR, "recv (state0): %m"); | ^ upnphttp.c:1024:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1024 | syslog(LOG_ERR, "recv (state1): %m"); | ^ upnphttp.c:1054:47: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1054 | syslog(LOG_ERR, "memory allocation error %m"); | ^ upnphttp.c: In function ‘SendResp_upnphttp’: upnphttp.c:1261:37: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1261 | syslog(LOG_ERR, "send(res_buf): %m"); | ^ upnphttp.c: In function ‘SendRespAndClose_upnphttp’: upnphttp.c:1324:37: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1324 | syslog(LOG_ERR, "send(res_buf): %m"); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpdescgen.c -o upnpdescgen.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpsoap.c -o upnpsoap.o upnpsoap.c: In function ‘GetGenericPortMappingEntry’: upnpsoap.c:1057:44: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1057 | syslog(LOG_WARNING, "%s: strtol('%s'): %m", | ^ upnpsoap.c: In function ‘PinholeVerification’: upnpsoap.c:1608:32: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1608 | syslog(LOG_ERR, "inet_ntop: %m"); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpreplyparse.c -o upnpreplyparse.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. minixml.c -o minixml.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. portinuse.c -o portinuse.o portinuse.c: In function ‘port_in_use’: portinuse.c:103:20: 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:27: 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:32: 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:37: 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:42: 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 * cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpredirect.c -o upnpredirect.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. getifaddr.c -o getifaddr.o getifaddr.c: In function ‘getifaddr’: getifaddr.c:47:50: 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:52: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 54 | syslog(LOG_DEBUG, "ioctl(s, SIOCGIFFLAGS, ...): %m"); | ^ getifaddr.c:68:49: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 68 | syslog(LOG_ERR, "ioctl(s, SIOCGIFADDR, ...): %m"); | ^ getifaddr.c:78:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 78 | syslog(LOG_ERR, "inet_ntop(): %m"); | ^ getifaddr.c:89:53: 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:33: 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:33: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: note: in expansion of macro ‘IP’ 287 | { IP(240, 0, 0, 0), MSK( 4) }, /* RFC1112 Reserved for Future Use + RFC919 Limited Broadcast */ | ^~ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. daemonize.c -o daemonize.o daemonize.c: In function ‘writepidfile’: daemonize.c:75:60: 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:53: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 90 | syslog(LOG_ERR, "Unable to write to pidfile %s: %m", fname); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. options.c -o options.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnppermissions.c -o upnppermissions.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. minissdp.c -o minissdp.o minissdp.c: In function ‘AddMulticastMembership’: minissdp.c:88:57: 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:59: 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:59: 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:59: 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:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 168 | syslog(LOG_ERR, "%s: socket(udp): %m", | ^ minissdp.c:198:56: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 198 | syslog(LOG_WARNING, "setsockopt(udp, SO_REUSEADDR): %m"); | ^ minissdp.c:213:55: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 213 | syslog(LOG_WARNING, "setsockopt(udp, IP_PKTINFO): %m"); | ^ minissdp.c:221:61: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 221 | syslog(LOG_WARNING, "setsockopt(udp, IPV6_RECVPKTINFO): %m"); | ^ minissdp.c:228:49: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 228 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ minissdp.c:240:73: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 240 | syslog(LOG_WARNING, "%s: setsockopt(udp%s, SO_BINDTODEVICE, %s): %m", | ^ minissdp.c:248:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 248 | syslog(LOG_ERR, "%s: bind(udp%s): %m", | ^ minissdp.c: In function ‘OpenAndConfSSDPNotifySocket’: minissdp.c:305:41: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 305 | syslog(LOG_ERR, "socket(udp_notify): %m"); | ^ minissdp.c:322:64: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 322 | syslog(LOG_ERR, "setsockopt(udp_notify, IP_MULTICAST_LOOP): %m"); | ^ minissdp.c:329:62: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 329 | syslog(LOG_ERR, "setsockopt(udp_notify, IP_MULTICAST_IF): %m"); | ^ minissdp.c:336:68: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 336 | syslog(LOG_WARNING, "setsockopt(udp_notify, IP_MULTICAST_TTL,): %m"); | ^ minissdp.c:341:59: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 341 | syslog(LOG_ERR, "setsockopt(udp_notify, SO_BROADCAST): %m"); | ^ minissdp.c:356:39: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 356 | syslog(LOG_ERR, "bind(udp_notify): %m"); | ^ minissdp.c: In function ‘OpenAndConfSSDPNotifySocketIPv6’: minissdp.c:380:46: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 380 | syslog(LOG_ERR, "socket(udp_notify IPv6): %m"); | ^ minissdp.c:385:73: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 385 | syslog(LOG_ERR, "setsockopt(udp_notify IPv6, IPV6_MULTICAST_IF, %u): %m", lan_addr->index); | ^ minissdp.c:391:66: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 391 | syslog(LOG_ERR, "setsockopt(udp_notify, IPV6_MULTICAST_LOOP): %m"); | ^ minissdp.c:397:66: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 397 | syslog(LOG_ERR, "setsockopt(udp_notify, IPV6_MULTICAST_HOPS): %m"); | ^ minissdp.c:413:44: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 413 | syslog(LOG_ERR, "bind(udp_notify IPv6): %m"); | ^ minissdp.c: In function ‘SendSSDPResponse’: minissdp.c:570:41: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 570 | syslog(LOG_ERR, "%s: snprintf failed %m", | ^ minissdp.c:590:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 590 | syslog(LOG_ERR, "%s: sendto(udp): %m", | ^ minissdp.c: In function ‘SendSSDPNotify’: minissdp.c:701:48: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 701 | syslog(LOG_ERR, "sendto(udp_notify=%d, %s): %m", s, | ^ minissdp.c:712:48: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 712 | syslog(LOG_ERR, "sendto(udp_notify=%d, %s): %m", s, | ^ minissdp.c: In function ‘ProcessSSDPRequest’: minissdp.c:905:37: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 905 | syslog(LOG_ERR, "recvfrom(udp): %m"); | ^ minissdp.c: In function ‘SendSSDPbyebye’: minissdp.c:1392:46: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1392 | syslog(LOG_ERR, "sendto(udp_shutdown=%d): %m", s); | ^ minissdp.c: In function ‘SubmitServicesToMiniSSDPD’: minissdp.c:1499:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1499 | syslog(LOG_ERR, "socket(unix): %m"); | ^ minissdp.c:1506:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1506 | syslog(LOG_ERR, "connect(\"%s\"): %m", minissdpdsocketpath); | ^ minissdp.c:1521:62: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1521 | syslog(LOG_WARNING, "SubmitServicesToMiniSSDPD: snprintf %m"); | ^ minissdp.c:1532:62: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1532 | syslog(LOG_WARNING, "SubmitServicesToMiniSSDPD: snprintf %m"); | ^ minissdp.c:1547:62: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1547 | syslog(LOG_WARNING, "SubmitServicesToMiniSSDPD: snprintf %m"); | ^ minissdp.c:1563:32: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1563 | syslog(LOG_ERR, "write(): %m"); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. natpmp.c -o natpmp.o natpmp.c: In function ‘OpenAndConfNATPMPSocket’: natpmp.c:39:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 39 | syslog(LOG_ERR, "%s: socket(): %m", | ^ natpmp.c:45:55: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 45 | syslog(LOG_WARNING, "%s: setsockopt(SO_REUSEADDR): %m", | ^ natpmp.c:50:49: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 50 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ natpmp.c:62:34: 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:39: 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:40: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 230 | syslog(LOG_ERR, "inet_ntop(natpmp): %m"); | ^ natpmp.c:415:37: 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:53: 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:53: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 483 | syslog(LOG_ERR, "%s: sendto(s_udp=%d, port=%d): %m", | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. pcpserver.c -o pcpserver.o pcpserver.c: In function ‘parsePCPOptions’: pcpserver.c:551:11: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 551 | pcp_buf += option_length; | ^~ pcpserver.c: In function ‘CreatePCPPeer’: pcpserver.c:794:43: 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:43: 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:6: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1272 | req += PCP_COMMON_REQUEST_SIZE; | ^~ pcpserver.c:1290:8: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1290 | req += PCP_MAP_V1_SIZE; | ^~ pcpserver.c:1319:8: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1319 | req += PCP_PEER_V1_SIZE; | ^~ pcpserver.c:1362:8: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1362 | req += PCP_MAP_V2_SIZE; | ^~ pcpserver.c:1393:8: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1393 | req += PCP_PEER_V2_SIZE; | ^~ pcpserver.c: In function ‘ProcessIncomingPCPPacket’: pcpserver.c:1603:41: 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:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1618 | syslog(LOG_ERR, "%s: socket(): %m", "OpenAndConfPCPv6Socket"); | ^ pcpserver.c:1622:55: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1622 | syslog(LOG_WARNING, "%s: setsockopt(SO_REUSEADDR): %m", | ^ pcpserver.c:1629:54: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1629 | syslog(LOG_WARNING, "%s: setsockopt(IPV6_V6ONLY): %m", | ^ pcpserver.c:1636:59: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1636 | syslog(LOG_WARNING, "%s: setsockopt(IPV6_RECVPKTINFO): %m", | ^ pcpserver.c:1641:49: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1641 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ pcpserver.c:1649:33: 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:72: 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:66: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1701 | syslog(LOG_ERR, "PCPSendUnsolicitedAnnounce() IPv6 sendto(): %m"); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpglobalvars.c -o upnpglobalvars.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpevents.c -o upnpevents.o upnpevents.c: In function ‘upnp_event_create_notify’: upnpevents.c:251:35: 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:35: 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:45: 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:47: 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:41: 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:34: 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:38: 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:45: 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:45: 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:27: 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:27: 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 * cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnputils.c -o upnputils.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. getconnstatus.c -o getconnstatus.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpstun.c -o upnpstun.o upnpstun.c: In function ‘stun_socket’: upnpstun.c:162:67: 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:33: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 173 | syslog(LOG_ERR, "%s: bind(): %m", | ^ upnpstun.c:181:40: 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:37: 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:36: 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:44: 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); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnppinhole.c -o upnppinhole.o upnppinhole.c: In function ‘upnp_add_inboundpinhole’: upnppinhole.c:131:39: warning: format ‘%p’ expects argument of type ‘void *’, but argument 5 has type ‘struct in6_addr *’ [-Wformat=] 131 | syslog(LOG_ERR, "inet_pton(%d, %s, %p) FAILED", | ~^ | | | void * 132 | AF_INET6, iaddr, &address); | ~~~~~~~~ | | | struct in6_addr * cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. pcplearndscp.c -o pcplearndscp.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. asyncsendto.c -o asyncsendto.o asyncsendto.c: In function ‘try_sendto’: asyncsendto.c:257:62: 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:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 290 | syslog(LOG_ERR, "gettimeofday: %m"); | ^ asyncsendto.c:316:64: 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:36: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 324 | syslog(LOG_ERR, "gettimeofday: %m"); | ^ asyncsendto.c:345:31: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 345 | syslog(LOG_ERR, "select: %m"); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. linux/getifstats.c -o getifstats.o linux/getifstats.c: In function ‘getifstats’: linux/getifstats.c:109:64: 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:66: 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:44: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 155 | syslog(LOG_INFO, "cannot read %s file : %m", fname); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. linux/ifacewatcher.c -o ifacewatcher.o linux/ifacewatcher.c: In function ‘OpenAndConfInterfaceWatchSocket’: linux/ifacewatcher.c:74:66: 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:36: 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:42: 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:495, 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:106:10: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘ProcessInterfaceWatchNotify’ at linux/ifacewatcher.c:324:6: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 16 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘ProcessInterfaceWatchNotify’ at linux/ifacewatcher.c:320:7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. linux/getroute.c -o getroute.o linux/getroute.c: In function ‘get_src_for_route_to’: linux/getroute.c:106:67: 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:42: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 119 | syslog(LOG_ERR, "sendmsg(rtnetlink) : %m"); | ^ linux/getroute.c:131:41: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 131 | syslog(LOG_ERR, "recvmsg(rtnetlink) %m"); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. netfilter/iptcrdr.c -o iptcrdr.o netfilter/iptcrdr.c: In function ‘get_nat_redirect_rule’: netfilter/iptcrdr.c:407:24: 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:24: 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:24: 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:24: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 789 | target = (void *)e + e->target_offset; | ^ netfilter/iptcrdr.c:882:24: 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:24: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1808 | target = (void *)e + e->target_offset; | ^ netfilter/iptcrdr.c:1835:25: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1835 | target = (void *)new_e + new_e->target_offset; | ^ netfilter/iptcrdr.c:1872:23: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1872 | target = (void *)e + e->target_offset; | ^ netfilter/iptcrdr.c:1900:28: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1900 | target = (void *)new_e + new_e->target_offset; | ^ netfilter/iptcrdr.c:1964:24: 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:495, 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:106:10: warning: ‘__builtin_strncpy’ specified bound 29 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. netfilter/iptpinhole.c -o iptpinhole.o In file included from /usr/include/string.h:495, 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:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. netfilter/nfct_get.c -o nfct_get.o Package libssl was not found in the pkg-config search path. Perhaps you should add the directory containing `libssl.pc' to the PKG_CONFIG_PATH environment variable No package 'libssl' found cc -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-MU4DAY/miniupnpd-2.2.1' mv miniupnpd netfilter/ /usr/bin/make -f Makefile.linux clean make[2]: Entering directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' please install uuid-dev package / libuuid rm -f config.h rm -f miniupnpd.o upnphttp.o upnpdescgen.o upnpsoap.o upnpreplyparse.o minixml.o portinuse.o upnpredirect.o getifaddr.o daemonize.o options.o upnppermissions.o minissdp.o natpmp.o pcpserver.o upnpglobalvars.o upnpevents.o upnputils.o getconnstatus.o upnpstun.o upnppinhole.o pcplearndscp.o asyncsendto.o getifstats.o ifacewatcher.o getroute.o iptcrdr.o iptpinhole.o nfct_get.o rm -f miniupnpd.d upnphttp.d upnpdescgen.d upnpsoap.d upnpreplyparse.d minixml.d portinuse.d upnpredirect.d getifaddr.d daemonize.d options.d upnppermissions.d minissdp.d natpmp.d pcpserver.d upnpglobalvars.d upnpevents.d upnputils.d getconnstatus.d upnpstun.d upnppinhole.d pcplearndscp.d asyncsendto.d getifstats.d ifacewatcher.d getroute.d iptcrdr.d iptpinhole.d nfct_get.d rm -f miniupnpd testupnpdescgen testgetifstats testupnppermissions miniupnpdctl testgetifaddr testgetroute testasyncsendto testportinuse testssdppktgen testminissdp rm -f testupnpdescgen.o testgetifstats.o rm -f testupnppermissions.o testgetifaddr.o rm -f testgetroute.o testasyncsendto.o rm -f testportinuse.o rm -f testminissdp.o rm -f testssdppktgen.o rm -f miniupnpdctl.o rm -f validateupnppermissions validategetifaddr validatessdppktgen rm -f -r dox/ make[2]: Leaving directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' ./configure --igd2 --ipv6 --vendorcfg --pcp-peer --portinuse --firewall=nftables ./configure: 1: -n: not found ./Makefile.linux_nft -> Makefile Configuring compilation for [Debian] [bullseye/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-MU4DAY/miniupnpd-2.2.1' please install uuid-dev package / libuuid cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. miniupnpd.c -o miniupnpd.o miniupnpd.c: In function ‘OpenAndConfHTTPSocket’: miniupnpd.c:345:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 345 | syslog(LOG_ERR, "socket(http): %m"); | ^ miniupnpd.c:351:57: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 351 | syslog(LOG_WARNING, "setsockopt(http, SO_REUSEADDR): %m"); | ^ miniupnpd.c:364:49: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 364 | syslog(LOG_WARNING, "set_non_blocking(http): %m"); | ^ miniupnpd.c:398:65: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 398 | syslog(LOG_WARNING, "setsockopt(http, SO_BINDTODEVICE, %s): %m", | ^ miniupnpd.c:411:33: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 411 | syslog(LOG_ERR, "bind(http): %m"); | ^ miniupnpd.c:418:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 418 | syslog(LOG_ERR, "listen(http): %m"); | ^ miniupnpd.c:429:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 429 | syslog(LOG_ERR, "getsockname(): %m"); | ^ miniupnpd.c:438:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 438 | syslog(LOG_ERR, "getsockname(): %m"); | ^ miniupnpd.c: In function ‘ProcessIncomingHTTP’: miniupnpd.c:466:36: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 466 | syslog(LOG_ERR, "accept(http): %m"); | ^ miniupnpd.c: In function ‘set_startup_time’: miniupnpd.c:840:48: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 840 | syslog(LOG_ERR, "fopen(\"/proc/uptime\") : %m"); | ^ miniupnpd.c:846:50: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 846 | syslog(LOG_ERR, "fscanf(\"/proc/uptime\") : %m"); | ^ miniupnpd.c: In function ‘init’: miniupnpd.c:1232:59: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1232 | fprintf(stderr, "malloc(sizeof(struct lan_addr_s)): %m"); | ^ miniupnpd.c:1646:59: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1646 | fprintf(stderr, "malloc(sizeof(struct lan_addr_s)): %m"); | ^ miniupnpd.c: In function ‘main’: miniupnpd.c:2067:13: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 2067 | " " __DATE__ ); | ^~~~~~~~ miniupnpd.c:2472:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 2472 | syslog(LOG_ERR, "gettimeofday(): %m"); | ^ miniupnpd.c:2707:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 2707 | syslog(LOG_ERR, "select(all): %m"); | ^ miniupnpd.c:3058:50: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 3058 | syslog(LOG_ERR, "Failed to remove pidfile %s: %m", pidfilename); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnphttp.c -o upnphttp.o upnphttp.c: In function ‘New_upnphttp’: upnphttp.c:147:59: 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:54: 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:942:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 942 | syslog(LOG_ERR, "recv (state0): %m"); | ^ upnphttp.c:1024:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1024 | syslog(LOG_ERR, "recv (state1): %m"); | ^ upnphttp.c:1054:47: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1054 | syslog(LOG_ERR, "memory allocation error %m"); | ^ upnphttp.c: In function ‘SendResp_upnphttp’: upnphttp.c:1261:37: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1261 | syslog(LOG_ERR, "send(res_buf): %m"); | ^ upnphttp.c: In function ‘SendRespAndClose_upnphttp’: upnphttp.c:1324:37: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1324 | syslog(LOG_ERR, "send(res_buf): %m"); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpdescgen.c -o upnpdescgen.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpsoap.c -o upnpsoap.o upnpsoap.c: In function ‘GetGenericPortMappingEntry’: upnpsoap.c:1057:44: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1057 | syslog(LOG_WARNING, "%s: strtol('%s'): %m", | ^ upnpsoap.c: In function ‘PinholeVerification’: upnpsoap.c:1608:32: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1608 | syslog(LOG_ERR, "inet_ntop: %m"); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpreplyparse.c -o upnpreplyparse.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. minixml.c -o minixml.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. portinuse.c -o portinuse.o portinuse.c: In function ‘port_in_use’: portinuse.c:103:20: 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:27: 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:32: 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:37: 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:42: 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 * cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpredirect.c -o upnpredirect.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. getifaddr.c -o getifaddr.o getifaddr.c: In function ‘getifaddr’: getifaddr.c:47:50: 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:52: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 54 | syslog(LOG_DEBUG, "ioctl(s, SIOCGIFFLAGS, ...): %m"); | ^ getifaddr.c:68:49: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 68 | syslog(LOG_ERR, "ioctl(s, SIOCGIFADDR, ...): %m"); | ^ getifaddr.c:78:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 78 | syslog(LOG_ERR, "inet_ntop(): %m"); | ^ getifaddr.c:89:53: 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:33: 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:33: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: note: in expansion of macro ‘IP’ 287 | { IP(240, 0, 0, 0), MSK( 4) }, /* RFC1112 Reserved for Future Use + RFC919 Limited Broadcast */ | ^~ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. daemonize.c -o daemonize.o daemonize.c: In function ‘writepidfile’: daemonize.c:75:60: 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:53: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 90 | syslog(LOG_ERR, "Unable to write to pidfile %s: %m", fname); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. options.c -o options.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnppermissions.c -o upnppermissions.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. minissdp.c -o minissdp.o minissdp.c: In function ‘AddMulticastMembership’: minissdp.c:88:57: 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:59: 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:59: 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:59: 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:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 168 | syslog(LOG_ERR, "%s: socket(udp): %m", | ^ minissdp.c:198:56: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 198 | syslog(LOG_WARNING, "setsockopt(udp, SO_REUSEADDR): %m"); | ^ minissdp.c:213:55: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 213 | syslog(LOG_WARNING, "setsockopt(udp, IP_PKTINFO): %m"); | ^ minissdp.c:221:61: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 221 | syslog(LOG_WARNING, "setsockopt(udp, IPV6_RECVPKTINFO): %m"); | ^ minissdp.c:228:49: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 228 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ minissdp.c:240:73: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 240 | syslog(LOG_WARNING, "%s: setsockopt(udp%s, SO_BINDTODEVICE, %s): %m", | ^ minissdp.c:248:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 248 | syslog(LOG_ERR, "%s: bind(udp%s): %m", | ^ minissdp.c: In function ‘OpenAndConfSSDPNotifySocket’: minissdp.c:305:41: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 305 | syslog(LOG_ERR, "socket(udp_notify): %m"); | ^ minissdp.c:322:64: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 322 | syslog(LOG_ERR, "setsockopt(udp_notify, IP_MULTICAST_LOOP): %m"); | ^ minissdp.c:329:62: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 329 | syslog(LOG_ERR, "setsockopt(udp_notify, IP_MULTICAST_IF): %m"); | ^ minissdp.c:336:68: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 336 | syslog(LOG_WARNING, "setsockopt(udp_notify, IP_MULTICAST_TTL,): %m"); | ^ minissdp.c:341:59: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 341 | syslog(LOG_ERR, "setsockopt(udp_notify, SO_BROADCAST): %m"); | ^ minissdp.c:356:39: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 356 | syslog(LOG_ERR, "bind(udp_notify): %m"); | ^ minissdp.c: In function ‘OpenAndConfSSDPNotifySocketIPv6’: minissdp.c:380:46: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 380 | syslog(LOG_ERR, "socket(udp_notify IPv6): %m"); | ^ minissdp.c:385:73: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 385 | syslog(LOG_ERR, "setsockopt(udp_notify IPv6, IPV6_MULTICAST_IF, %u): %m", lan_addr->index); | ^ minissdp.c:391:66: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 391 | syslog(LOG_ERR, "setsockopt(udp_notify, IPV6_MULTICAST_LOOP): %m"); | ^ minissdp.c:397:66: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 397 | syslog(LOG_ERR, "setsockopt(udp_notify, IPV6_MULTICAST_HOPS): %m"); | ^ minissdp.c:413:44: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 413 | syslog(LOG_ERR, "bind(udp_notify IPv6): %m"); | ^ minissdp.c: In function ‘SendSSDPResponse’: minissdp.c:570:41: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 570 | syslog(LOG_ERR, "%s: snprintf failed %m", | ^ minissdp.c:590:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 590 | syslog(LOG_ERR, "%s: sendto(udp): %m", | ^ minissdp.c: In function ‘SendSSDPNotify’: minissdp.c:701:48: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 701 | syslog(LOG_ERR, "sendto(udp_notify=%d, %s): %m", s, | ^ minissdp.c:712:48: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 712 | syslog(LOG_ERR, "sendto(udp_notify=%d, %s): %m", s, | ^ minissdp.c: In function ‘ProcessSSDPRequest’: minissdp.c:905:37: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 905 | syslog(LOG_ERR, "recvfrom(udp): %m"); | ^ minissdp.c: In function ‘SendSSDPbyebye’: minissdp.c:1392:46: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1392 | syslog(LOG_ERR, "sendto(udp_shutdown=%d): %m", s); | ^ minissdp.c: In function ‘SubmitServicesToMiniSSDPD’: minissdp.c:1499:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1499 | syslog(LOG_ERR, "socket(unix): %m"); | ^ minissdp.c:1506:38: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1506 | syslog(LOG_ERR, "connect(\"%s\"): %m", minissdpdsocketpath); | ^ minissdp.c:1521:62: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1521 | syslog(LOG_WARNING, "SubmitServicesToMiniSSDPD: snprintf %m"); | ^ minissdp.c:1532:62: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1532 | syslog(LOG_WARNING, "SubmitServicesToMiniSSDPD: snprintf %m"); | ^ minissdp.c:1547:62: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1547 | syslog(LOG_WARNING, "SubmitServicesToMiniSSDPD: snprintf %m"); | ^ minissdp.c:1563:32: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1563 | syslog(LOG_ERR, "write(): %m"); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. natpmp.c -o natpmp.o natpmp.c: In function ‘OpenAndConfNATPMPSocket’: natpmp.c:39:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 39 | syslog(LOG_ERR, "%s: socket(): %m", | ^ natpmp.c:45:55: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 45 | syslog(LOG_WARNING, "%s: setsockopt(SO_REUSEADDR): %m", | ^ natpmp.c:50:49: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 50 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ natpmp.c:62:34: 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:39: 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:40: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 230 | syslog(LOG_ERR, "inet_ntop(natpmp): %m"); | ^ natpmp.c:415:37: 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:53: 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:53: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 483 | syslog(LOG_ERR, "%s: sendto(s_udp=%d, port=%d): %m", | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. pcpserver.c -o pcpserver.o pcpserver.c: In function ‘parsePCPOptions’: pcpserver.c:551:11: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 551 | pcp_buf += option_length; | ^~ pcpserver.c: In function ‘CreatePCPPeer’: pcpserver.c:794:43: 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:43: 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:6: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1272 | req += PCP_COMMON_REQUEST_SIZE; | ^~ pcpserver.c:1290:8: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1290 | req += PCP_MAP_V1_SIZE; | ^~ pcpserver.c:1319:8: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1319 | req += PCP_PEER_V1_SIZE; | ^~ pcpserver.c:1362:8: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1362 | req += PCP_MAP_V2_SIZE; | ^~ pcpserver.c:1393:8: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith] 1393 | req += PCP_PEER_V2_SIZE; | ^~ pcpserver.c: In function ‘ProcessIncomingPCPPacket’: pcpserver.c:1603:41: 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:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1618 | syslog(LOG_ERR, "%s: socket(): %m", "OpenAndConfPCPv6Socket"); | ^ pcpserver.c:1622:55: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1622 | syslog(LOG_WARNING, "%s: setsockopt(SO_REUSEADDR): %m", | ^ pcpserver.c:1629:54: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1629 | syslog(LOG_WARNING, "%s: setsockopt(IPV6_V6ONLY): %m", | ^ pcpserver.c:1636:59: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1636 | syslog(LOG_WARNING, "%s: setsockopt(IPV6_RECVPKTINFO): %m", | ^ pcpserver.c:1641:49: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1641 | syslog(LOG_WARNING, "%s: set_non_blocking(): %m", | ^ pcpserver.c:1649:33: 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:72: 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:66: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 1701 | syslog(LOG_ERR, "PCPSendUnsolicitedAnnounce() IPv6 sendto(): %m"); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpglobalvars.c -o upnpglobalvars.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpevents.c -o upnpevents.o upnpevents.c: In function ‘upnp_event_create_notify’: upnpevents.c:251:35: 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:35: 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:45: 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:47: 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:41: 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:34: 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:38: 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:45: 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:45: 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:27: 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:27: 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 * cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnputils.c -o upnputils.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. getconnstatus.c -o getconnstatus.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnpstun.c -o upnpstun.o upnpstun.c: In function ‘stun_socket’: upnpstun.c:162:67: 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:33: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 173 | syslog(LOG_ERR, "%s: bind(): %m", | ^ upnpstun.c:181:40: 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:37: 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:36: 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:44: 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); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. upnppinhole.c -o upnppinhole.o upnppinhole.c: In function ‘upnp_add_inboundpinhole’: upnppinhole.c:131:39: warning: format ‘%p’ expects argument of type ‘void *’, but argument 5 has type ‘struct in6_addr *’ [-Wformat=] 131 | syslog(LOG_ERR, "inet_pton(%d, %s, %p) FAILED", | ~^ | | | void * 132 | AF_INET6, iaddr, &address); | ~~~~~~~~ | | | struct in6_addr * cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. pcplearndscp.c -o pcplearndscp.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. asyncsendto.c -o asyncsendto.o asyncsendto.c: In function ‘try_sendto’: asyncsendto.c:257:62: 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:35: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 290 | syslog(LOG_ERR, "gettimeofday: %m"); | ^ asyncsendto.c:316:64: 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:36: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 324 | syslog(LOG_ERR, "gettimeofday: %m"); | ^ asyncsendto.c:345:31: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 345 | syslog(LOG_ERR, "select: %m"); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. linux/getifstats.c -o getifstats.o linux/getifstats.c: In function ‘getifstats’: linux/getifstats.c:109:64: 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:66: 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:44: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 155 | syslog(LOG_INFO, "cannot read %s file : %m", fname); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. linux/ifacewatcher.c -o ifacewatcher.o linux/ifacewatcher.c: In function ‘OpenAndConfInterfaceWatchSocket’: linux/ifacewatcher.c:74:66: 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:36: 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:42: 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:495, 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:106:10: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘ProcessInterfaceWatchNotify’ at linux/ifacewatcher.c:324:6: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 16 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘ProcessInterfaceWatchNotify’ at linux/ifacewatcher.c:320:7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. linux/getroute.c -o getroute.o linux/getroute.c: In function ‘get_src_for_route_to’: linux/getroute.c:106:67: 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:42: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 119 | syslog(LOG_ERR, "sendmsg(rtnetlink) : %m"); | ^ linux/getroute.c:131:41: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 131 | syslog(LOG_ERR, "recvmsg(rtnetlink) %m"); | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. netfilter_nft/nftnlrdr.c -o nftnlrdr.o netfilter_nft/nftnlrdr.c: In function ‘get_peer_rule_by_index’: netfilter_nft/nftnlrdr.c:470:39: 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:40: 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:39: 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:40: 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:39: warning: ISO C does not support the ‘%m’ gnu_printf format [-Wformat=] 669 | syslog(LOG_ERR, "%s: inet_ntop: %m", | ^ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. netfilter_nft/nftpinhole.c -o nftpinhole.o In file included from /usr/include/string.h:495, 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:106:10: warning: ‘__builtin_strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. netfilter_nft/nfct_get.c -o nfct_get.o cc -c -g -O2 -fdebug-prefix-map=/build/miniupnpd-MU4DAY/miniupnpd-2.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fno-strict-aliasing -fno-common -fstack-protector -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. netfilter_nft/nftnlrdr_misc.c -o nftnlrdr_misc.o netfilter_nft/nftnlrdr_misc.c:58:23: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~ netfilter_nft/nftnlrdr_misc.c:59:23: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] 59 | #define log_debug(args...) syslog(LOG_DEBUG, args) | ^~~ netfilter_nft/nftnlrdr_misc.c: In function ‘nft_mnl_connect’: netfilter_nft/nftnlrdr_misc.c:95:13: 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:44: note: in definition of macro ‘log_error’ 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:95:41: note: format string is defined here 95 | log_error("mnl_socket_open() FAILED: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:99:13: 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:44: note: in definition of macro ‘log_error’ 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:99:41: 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:31: 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:13: 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:44: note: in definition of macro ‘log_error’ 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:707:43: note: format string is defined here 707 | log_error("mnl_socket_sendto() FAILED: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:717:47: 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:25: 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:13: 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:44: note: in definition of macro ‘log_error’ 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:1241:30: note: format string is defined here 1241 | log_error("out of memory: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:1249:14: 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:44: note: in definition of macro ‘log_error’ 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:1249:31: 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:13: 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:44: note: in definition of macro ‘log_error’ 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:1290:30: note: format string is defined here 1290 | log_error("out of memory: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:1304:14: 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:44: note: in definition of macro ‘log_error’ 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:1304:31: note: format string is defined here 1304 | log_error("out of memory: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:1313:15: 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:44: note: in definition of macro ‘log_error’ 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:1313:41: 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:13: 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:44: note: in definition of macro ‘log_error’ 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:1385:43: note: format string is defined here 1385 | log_error("mnl_socket_sendto() FAILED: %m"); | ^ netfilter_nft/nftnlrdr_misc.c:1393:14: 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:44: note: in definition of macro ‘log_error’ 58 | #define log_error(args...) syslog(LOG_ERR, args) | ^~~~ netfilter_nft/nftnlrdr_misc.c:1393:46: 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 cc -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-MU4DAY/miniupnpd-2.2.1' mv miniupnpd netfilter_nft/ make[1]: Leaving directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' debian/rules override_dh_auto_test make[1]: Entering directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' # some test scripts missing from the tarball make[1]: Leaving directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' create-stamp debian/debhelper-build-stamp dh_prep -i dh_installdirs -i debian/rules override_dh_auto_install make[1]: Entering directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' /usr/bin/make -f Makefile.linux_nft install STRIP=echo DESTDIR=debian/tmp make[2]: Entering directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' please install uuid-dev package / libuuid install -d debian/tmp/etc/miniupnpd install ./netfilter_nft/scripts/nft_init.sh debian/tmp/etc/miniupnpd install ./netfilter_nft/scripts/nft_removeall.sh debian/tmp/etc/miniupnpd install ./netfilter_nft/scripts/nft_flush.sh debian/tmp/etc/miniupnpd install ./netfilter_nft/scripts/nft_delete_chain.sh debian/tmp/etc/miniupnpd install --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-MU4DAY/miniupnpd-2.2.1' /usr/bin/make -f Makefile.linux install STRIP=echo DESTDIR=debian/tmp make[2]: Entering directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' please install uuid-dev package / libuuid cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT asyncsendto.o -MT asyncsendto.d -o asyncsendto.d asyncsendto.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT pcplearndscp.o -MT pcplearndscp.d -o pcplearndscp.d pcplearndscp.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnppinhole.o -MT upnppinhole.d -o upnppinhole.d upnppinhole.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpstun.o -MT upnpstun.d -o upnpstun.d upnpstun.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT getconnstatus.o -MT getconnstatus.d -o getconnstatus.d getconnstatus.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnputils.o -MT upnputils.d -o upnputils.d upnputils.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpevents.o -MT upnpevents.d -o upnpevents.d upnpevents.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpglobalvars.o -MT upnpglobalvars.d -o upnpglobalvars.d upnpglobalvars.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT pcpserver.o -MT pcpserver.d -o pcpserver.d pcpserver.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT natpmp.o -MT natpmp.d -o natpmp.d natpmp.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT minissdp.o -MT minissdp.d -o minissdp.d minissdp.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnppermissions.o -MT upnppermissions.d -o upnppermissions.d upnppermissions.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT options.o -MT options.d -o options.d options.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT daemonize.o -MT daemonize.d -o daemonize.d daemonize.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT getifaddr.o -MT getifaddr.d -o getifaddr.d getifaddr.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpredirect.o -MT upnpredirect.d -o upnpredirect.d upnpredirect.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT portinuse.o -MT portinuse.d -o portinuse.d portinuse.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT minixml.o -MT minixml.d -o minixml.d minixml.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpreplyparse.o -MT upnpreplyparse.d -o upnpreplyparse.d upnpreplyparse.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpsoap.o -MT upnpsoap.d -o upnpsoap.d upnpsoap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnpdescgen.o -MT upnpdescgen.d -o upnpdescgen.d upnpdescgen.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I. -MM -MG -MT upnphttp.o -MT upnphttp.d -o upnphttp.d upnphttp.c cc -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-MU4DAY/miniupnpd-2.2.1' # I don't know why rm debian/tmp/etc/miniupnpd/miniupnpd.conf~ make[1]: Leaving directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' dh_install -i debian/rules execute_after_dh_install-indep make[1]: Entering directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' # Move the miniupnpd.conf in /usr/share so it's not marked as CONFFILE mkdir -p /build/miniupnpd-MU4DAY/miniupnpd-2.2.1/debian/miniupnpd/usr/share/miniupnpd mv /build/miniupnpd-MU4DAY/miniupnpd-2.2.1/debian/miniupnpd/etc/miniupnpd/miniupnpd.conf /build/miniupnpd-MU4DAY/miniupnpd-2.2.1/debian/miniupnpd/usr/share/miniupnpd/ sed -i " \ /^secure_mode=no/ d; \ /^notify_interval=60/ d; \ s/^clean_ruleset_interval=600/#clean_ruleset_interval=600/; \ s/^allow/#allow/; \ s/^deny/#deny/; \ s/^uuid=.*/uuid=/; \ " /build/miniupnpd-MU4DAY/miniupnpd-2.2.1/debian/miniupnpd/usr/share/miniupnpd/miniupnpd.conf # Copy the /etc/default/miniupnpd to /usr/share cp /build/miniupnpd-MU4DAY/miniupnpd-2.2.1/debian/examples/miniupnpd.default /build/miniupnpd-MU4DAY/miniupnpd-2.2.1/debian/miniupnpd/usr/share/miniupnpd/ make[1]: Leaving directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' dh_installdocs -i dh_installchangelogs -i dh_installman -i dh_installdebconf -i debian/rules override_dh_installinit-indep make[1]: Entering directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' dh_installinit -i --no-enable --no-start make[1]: Leaving directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' debian/rules override_dh_installsystemd-indep make[1]: Entering directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' dh_installsystemd -i --no-enable --no-start make[1]: Leaving directory '/build/miniupnpd-MU4DAY/miniupnpd-2.2.1' 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.1-1_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../miniupnpd_2.2.1-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-MU4DAY /tmp/miniupnpd-2.2.1-1_w9tuozj I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.hLJvEmXmde... I: success in 377.2668 seconds md5: miniupnpd_2.2.1-1_all.deb: OK sha1: miniupnpd_2.2.1-1_all.deb: OK sha256: miniupnpd_2.2.1-1_all.deb: OK Checksums: OK