I: pbuilder: network access will be disabled during build I: Current time: Tue Aug 30 19:14:52 +14 2022 I: pbuilder-time-stamp: 1661836492 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [lua-cqueues_20171014-1.dsc] I: copying [./lua-cqueues_20171014.orig.tar.xz] I: copying [./lua-cqueues_20171014-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Wed Dec 19 03:25:43 2018 +14 gpgv: using RSA key C361B1E3029543EBC625E97D8372A477EFAE59C2 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./lua-cqueues_20171014-1.dsc dpkg-source: info: extracting lua-cqueues in lua-cqueues-20171014 dpkg-source: info: unpacking lua-cqueues_20171014.orig.tar.xz dpkg-source: info: unpacking lua-cqueues_20171014-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/26561/tmp/hooks/D01_modify_environment starting debug: Running on ionos15-amd64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/26561/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/26561/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.0.3(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=amd64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' DIRSTACK=() DISTRIBUTION= EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=x86_64 HOST_ARCH=amd64 IFS=' ' INVOCATION_ID=e5c3fa09dcbc4892b304c19cb1d23d9c LANG=C LANGUAGE=et_EE:et LC_ALL=C MACHTYPE=x86_64-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=26561 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.q110K92deP/pbuilderrc_TPT9 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.q110K92deP/b2 --logfile b2/build.log lua-cqueues_20171014-1.dsc' SUDO_GID=111 SUDO_UID=106 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://85.184.249.68:3128 I: uname -a Linux i-capture-the-hostname 5.10.0-0.bpo.7-amd64 #1 SMP Debian 5.10.40-1~bpo10+1 (2021-06-04) x86_64 GNU/Linux I: ls -l /bin total 5116 -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash -rwxr-xr-x 1 root root 109408 Mar 1 2019 date -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd -rwxr-xr-x 1 root root 93744 Mar 1 2019 df -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep -rwxr-xr-x 1 root root 35424 Mar 1 2019 false -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln -rwxr-xr-x 1 root root 56760 Jul 27 2018 login -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp -rwxr-xr-x 1 root root 43008 Jan 10 2019 more -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Aug 30 19:15 sh -> bash lrwxrwxrwx 1 root root 4 Aug 24 04:46 sh.distrib -> dash -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty -rwsr-xr-x 1 root root 63568 Jan 10 2019 su -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch -rwxr-xr-x 1 root root 35424 Mar 1 2019 true -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 22 2019 which lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew I: user script /srv/workspace/pbuilder/26561/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 9), dh-lua, libssl-dev, m4 dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19195 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 9); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on dh-lua; however: Package dh-lua is not installed. pbuilder-satisfydepends-dummy depends on libssl-dev; however: Package libssl-dev is not installed. pbuilder-satisfydepends-dummy depends on m4; however: Package m4 is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} dctrl-tools{a} debhelper{a} dh-autoreconf{a} dh-lua{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libfile-find-rule-perl{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu63{a} liblua5.1-0{a} liblua5.1-0-dev{a} liblua5.2-0{a} liblua5.2-dev{a} liblua5.3-0{a} liblua5.3-dev{a} libmagic-mgc{a} libmagic1{a} libncurses-dev{a} libncurses6{a} libnumber-compare-perl{a} libpipeline1{a} libreadline-dev{a} libreadline7{a} libsigsegv2{a} libssl-dev{a} libssl1.1{a} libtext-glob-perl{a} libtool{a} libtool-bin{a} libuchardet0{a} libxml2{a} lua5.1{a} lua5.2{a} lua5.3{a} m4{a} man-db{a} pkg-config{a} po-debconf{a} readline-common{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 55 newly installed, 0 to remove and 0 not upgraded. Need to get 24.8 MB of archives. After unpacking 92.1 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main amd64 libbsd0 amd64 0.9.1-2+deb10u1 [99.5 kB] Get: 2 http://deb.debian.org/debian buster/main amd64 bsdmainutils amd64 11.1.2+b1 [191 kB] Get: 3 http://deb.debian.org/debian buster/main amd64 libuchardet0 amd64 0.0.6-3 [64.9 kB] Get: 4 http://deb.debian.org/debian buster/main amd64 groff-base amd64 1.22.4-3+deb10u1 [916 kB] Get: 5 http://deb.debian.org/debian buster/main amd64 libpipeline1 amd64 1.5.1-2 [31.2 kB] Get: 6 http://deb.debian.org/debian buster/main amd64 man-db amd64 2.8.5-2 [1274 kB] Get: 7 http://deb.debian.org/debian buster/main amd64 readline-common all 7.0-5 [70.6 kB] Get: 8 http://deb.debian.org/debian buster/main amd64 sensible-utils all 0.0.12 [15.8 kB] Get: 9 http://deb.debian.org/debian buster/main amd64 libmagic-mgc amd64 1:5.35-4+deb10u2 [242 kB] Get: 10 http://deb.debian.org/debian buster/main amd64 libmagic1 amd64 1:5.35-4+deb10u2 [118 kB] Get: 11 http://deb.debian.org/debian buster/main amd64 file amd64 1:5.35-4+deb10u2 [66.4 kB] Get: 12 http://deb.debian.org/debian buster/main amd64 gettext-base amd64 0.19.8.1-9 [123 kB] Get: 13 http://deb.debian.org/debian buster/main amd64 libsigsegv2 amd64 2.12-2 [32.8 kB] Get: 14 http://deb.debian.org/debian buster/main amd64 m4 amd64 1.4.18-2 [203 kB] Get: 15 http://deb.debian.org/debian buster/main amd64 autoconf all 2.69-11 [341 kB] Get: 16 http://deb.debian.org/debian buster/main amd64 autotools-dev all 20180224.1 [77.0 kB] Get: 17 http://deb.debian.org/debian buster/main amd64 automake all 1:1.16.1-4 [771 kB] Get: 18 http://deb.debian.org/debian buster/main amd64 autopoint all 0.19.8.1-9 [434 kB] Get: 19 http://deb.debian.org/debian buster/main amd64 dctrl-tools amd64 2.24-3 [103 kB] Get: 20 http://deb.debian.org/debian buster/main amd64 libtool all 2.4.6-9 [547 kB] Get: 21 http://deb.debian.org/debian buster/main amd64 dh-autoreconf all 19 [16.9 kB] Get: 22 http://deb.debian.org/debian buster/main amd64 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 23 http://deb.debian.org/debian buster/main amd64 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 24 http://deb.debian.org/debian buster/main amd64 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 25 http://deb.debian.org/debian buster/main amd64 libelf1 amd64 0.176-1.1 [161 kB] Get: 26 http://deb.debian.org/debian buster/main amd64 dwz amd64 0.12-3 [78.0 kB] Get: 27 http://deb.debian.org/debian buster/main amd64 libglib2.0-0 amd64 2.58.3-2+deb10u3 [1259 kB] Get: 28 http://deb.debian.org/debian buster/main amd64 libicu63 amd64 63.1-6+deb10u1 [8300 kB] Get: 29 http://deb.debian.org/debian buster/main amd64 libxml2 amd64 2.9.4+dfsg1-7+deb10u2 [689 kB] Get: 30 http://deb.debian.org/debian buster/main amd64 libcroco3 amd64 0.6.12-3 [145 kB] Get: 31 http://deb.debian.org/debian buster/main amd64 libncurses6 amd64 6.1+20181013-2+deb10u2 [102 kB] Get: 32 http://deb.debian.org/debian buster/main amd64 gettext amd64 0.19.8.1-9 [1303 kB] Get: 33 http://deb.debian.org/debian buster/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 34 http://deb.debian.org/debian buster/main amd64 po-debconf all 1.0.21 [248 kB] Get: 35 http://deb.debian.org/debian buster/main amd64 debhelper all 12.1.1 [1016 kB] Get: 36 http://deb.debian.org/debian buster/main amd64 libtool-bin amd64 2.4.6-9 [431 kB] Get: 37 http://deb.debian.org/debian buster/main amd64 pkg-config amd64 0.29-6 [63.5 kB] Get: 38 http://deb.debian.org/debian buster/main amd64 liblua5.3-0 amd64 5.3.3-1.1 [120 kB] Get: 39 http://deb.debian.org/debian buster/main amd64 libreadline7 amd64 7.0-5 [151 kB] Get: 40 http://deb.debian.org/debian buster/main amd64 libncurses-dev amd64 6.1+20181013-2+deb10u2 [333 kB] Get: 41 http://deb.debian.org/debian buster/main amd64 libreadline-dev amd64 7.0-5 [133 kB] Get: 42 http://deb.debian.org/debian buster/main amd64 liblua5.3-dev amd64 5.3.3-1.1 [148 kB] Get: 43 http://deb.debian.org/debian buster/main amd64 lua5.3 amd64 5.3.3-1.1 [109 kB] Get: 44 http://deb.debian.org/debian buster/main amd64 liblua5.2-0 amd64 5.2.4-1.1+b2 [110 kB] Get: 45 http://deb.debian.org/debian buster/main amd64 liblua5.2-dev amd64 5.2.4-1.1+b2 [136 kB] Get: 46 http://deb.debian.org/debian buster/main amd64 lua5.2 amd64 5.2.4-1.1+b2 [98.6 kB] Get: 47 http://deb.debian.org/debian buster/main amd64 liblua5.1-0 amd64 5.1.5-8.1+b2 [111 kB] Get: 48 http://deb.debian.org/debian buster/main amd64 liblua5.1-0-dev amd64 5.1.5-8.1+b2 [137 kB] Get: 49 http://deb.debian.org/debian buster/main amd64 lua5.1 amd64 5.1.5-8.1+b2 [99.3 kB] Get: 50 http://deb.debian.org/debian buster/main amd64 libnumber-compare-perl all 0.03-1 [7642 B] Get: 51 http://deb.debian.org/debian buster/main amd64 libtext-glob-perl all 0.10-1 [8362 B] Get: 52 http://deb.debian.org/debian buster/main amd64 libfile-find-rule-perl all 0.34-1 [30.6 kB] Get: 53 http://deb.debian.org/debian buster/main amd64 dh-lua all 25 [31.6 kB] Get: 54 http://deb.debian.org/debian buster/main amd64 libssl1.1 amd64 1.1.1d-0+deb10u6 [1539 kB] Get: 55 http://deb.debian.org/debian buster/main amd64 libssl-dev amd64 1.1.1d-0+deb10u6 [1794 kB] Fetched 24.8 MB in 0s (63.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0: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 ... 19195 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2+deb10u1_amd64.deb ... Unpacking libbsd0:amd64 (0.9.1-2+deb10u1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_amd64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../02-libuchardet0_0.0.6-3_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3+deb10u1_amd64.deb ... Unpacking groff-base (1.22.4-3+deb10u1) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../04-libpipeline1_1.5.1-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_amd64.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package readline-common. Preparing to unpack .../06-readline-common_7.0-5_all.deb ... Unpacking readline-common (7.0-5) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../07-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../08-libmagic-mgc_1%3a5.35-4+deb10u2_amd64.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u2) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../09-libmagic1_1%3a5.35-4+deb10u2_amd64.deb ... Unpacking libmagic1:amd64 (1:5.35-4+deb10u2) ... Selecting previously unselected package file. Preparing to unpack .../10-file_1%3a5.35-4+deb10u2_amd64.deb ... Unpacking file (1:5.35-4+deb10u2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../11-gettext-base_0.19.8.1-9_amd64.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../12-libsigsegv2_2.12-2_amd64.deb ... Unpacking libsigsegv2:amd64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../13-m4_1.4.18-2_amd64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../14-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../15-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../16-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../17-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package dctrl-tools. Preparing to unpack .../18-dctrl-tools_2.24-3_amd64.deb ... Unpacking dctrl-tools (2.24-3) ... Selecting previously unselected package libtool. Preparing to unpack .../19-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../20-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../21-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../22-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../23-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../24-libelf1_0.176-1.1_amd64.deb ... Unpacking libelf1:amd64 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../25-dwz_0.12-3_amd64.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../26-libglib2.0-0_2.58.3-2+deb10u3_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.58.3-2+deb10u3) ... Selecting previously unselected package libicu63:amd64. Preparing to unpack .../27-libicu63_63.1-6+deb10u1_amd64.deb ... Unpacking libicu63:amd64 (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../28-libxml2_2.9.4+dfsg1-7+deb10u2_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-7+deb10u2) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../29-libcroco3_0.6.12-3_amd64.deb ... Unpacking libcroco3:amd64 (0.6.12-3) ... Selecting previously unselected package libncurses6:amd64. Preparing to unpack .../30-libncurses6_6.1+20181013-2+deb10u2_amd64.deb ... Unpacking libncurses6:amd64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../31-gettext_0.19.8.1-9_amd64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../32-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../33-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../34-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package libtool-bin. Preparing to unpack .../35-libtool-bin_2.4.6-9_amd64.deb ... Unpacking libtool-bin (2.4.6-9) ... Selecting previously unselected package pkg-config. Preparing to unpack .../36-pkg-config_0.29-6_amd64.deb ... Unpacking pkg-config (0.29-6) ... Selecting previously unselected package liblua5.3-0:amd64. Preparing to unpack .../37-liblua5.3-0_5.3.3-1.1_amd64.deb ... Unpacking liblua5.3-0:amd64 (5.3.3-1.1) ... Selecting previously unselected package libreadline7:amd64. Preparing to unpack .../38-libreadline7_7.0-5_amd64.deb ... Unpacking libreadline7:amd64 (7.0-5) ... Selecting previously unselected package libncurses-dev:amd64. Preparing to unpack .../39-libncurses-dev_6.1+20181013-2+deb10u2_amd64.deb ... Unpacking libncurses-dev:amd64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package libreadline-dev:amd64. Preparing to unpack .../40-libreadline-dev_7.0-5_amd64.deb ... Unpacking libreadline-dev:amd64 (7.0-5) ... Selecting previously unselected package liblua5.3-dev:amd64. Preparing to unpack .../41-liblua5.3-dev_5.3.3-1.1_amd64.deb ... Unpacking liblua5.3-dev:amd64 (5.3.3-1.1) ... Selecting previously unselected package lua5.3. Preparing to unpack .../42-lua5.3_5.3.3-1.1_amd64.deb ... Unpacking lua5.3 (5.3.3-1.1) ... Selecting previously unselected package liblua5.2-0:amd64. Preparing to unpack .../43-liblua5.2-0_5.2.4-1.1+b2_amd64.deb ... Unpacking liblua5.2-0:amd64 (5.2.4-1.1+b2) ... Selecting previously unselected package liblua5.2-dev:amd64. Preparing to unpack .../44-liblua5.2-dev_5.2.4-1.1+b2_amd64.deb ... Unpacking liblua5.2-dev:amd64 (5.2.4-1.1+b2) ... Selecting previously unselected package lua5.2. Preparing to unpack .../45-lua5.2_5.2.4-1.1+b2_amd64.deb ... Unpacking lua5.2 (5.2.4-1.1+b2) ... Selecting previously unselected package liblua5.1-0:amd64. Preparing to unpack .../46-liblua5.1-0_5.1.5-8.1+b2_amd64.deb ... Unpacking liblua5.1-0:amd64 (5.1.5-8.1+b2) ... Selecting previously unselected package liblua5.1-0-dev:amd64. Preparing to unpack .../47-liblua5.1-0-dev_5.1.5-8.1+b2_amd64.deb ... Unpacking liblua5.1-0-dev:amd64 (5.1.5-8.1+b2) ... Selecting previously unselected package lua5.1. Preparing to unpack .../48-lua5.1_5.1.5-8.1+b2_amd64.deb ... Unpacking lua5.1 (5.1.5-8.1+b2) ... Selecting previously unselected package libnumber-compare-perl. Preparing to unpack .../49-libnumber-compare-perl_0.03-1_all.deb ... Unpacking libnumber-compare-perl (0.03-1) ... Selecting previously unselected package libtext-glob-perl. Preparing to unpack .../50-libtext-glob-perl_0.10-1_all.deb ... Unpacking libtext-glob-perl (0.10-1) ... Selecting previously unselected package libfile-find-rule-perl. Preparing to unpack .../51-libfile-find-rule-perl_0.34-1_all.deb ... Unpacking libfile-find-rule-perl (0.34-1) ... Selecting previously unselected package dh-lua. Preparing to unpack .../52-dh-lua_25_all.deb ... Unpacking dh-lua (25) ... Selecting previously unselected package libssl1.1:amd64. Preparing to unpack .../53-libssl1.1_1.1.1d-0+deb10u6_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.1d-0+deb10u6) ... Selecting previously unselected package libssl-dev:amd64. Preparing to unpack .../54-libssl-dev_1.1.1d-0+deb10u6_amd64.deb ... Unpacking libssl-dev:amd64 (1.1.1d-0+deb10u6) ... Setting up libpipeline1:amd64 (1.5.1-2) ... Setting up libtext-glob-perl (0.10-1) ... Setting up libmagic-mgc (1:5.35-4+deb10u2) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:amd64 (2.58.3-2+deb10u3) ... No schema files found: doing nothing. Setting up libssl1.1:amd64 (1.1.1d-0+deb10u6) ... Setting up libmagic1:amd64 (1:5.35-4+deb10u2) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4+deb10u2) ... Setting up libicu63:amd64 (63.1-6+deb10u1) ... Setting up libnumber-compare-perl (0.03-1) ... Setting up autotools-dev (20180224.1) ... Setting up libfile-find-rule-perl (0.34-1) ... Setting up libncurses6:amd64 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:amd64 (2.12-2) ... Setting up libssl-dev:amd64 (1.1.1d-0+deb10u6) ... Setting up autopoint (0.19.8.1-9) ... Setting up pkg-config (0.29-6) ... Setting up liblua5.2-0:amd64 (5.2.4-1.1+b2) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:amd64 (0.0.6-3) ... Setting up liblua5.3-0:amd64 (5.3.3-1.1) ... Setting up liblua5.1-0:amd64 (5.1.5-8.1+b2) ... Setting up libbsd0:amd64 (0.9.1-2+deb10u1) ... Setting up libelf1:amd64 (0.176-1.1) ... Setting up readline-common (7.0-5) ... Setting up libxml2:amd64 (2.9.4+dfsg1-7+deb10u2) ... Setting up dctrl-tools (2.24-3) ... Setting up libreadline7:amd64 (7.0-5) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libncurses-dev:amd64 (6.1+20181013-2+deb10u2) ... Setting up libtool (2.4.6-9) ... Setting up lua5.2 (5.2.4-1.1+b2) ... update-alternatives: using /usr/bin/lua5.2 to provide /usr/bin/lua (lua-interpreter) in auto mode update-alternatives: using /usr/bin/luac5.2 to provide /usr/bin/luac (lua-compiler) in auto mode Setting up lua5.3 (5.3.3-1.1) ... Setting up m4 (1.4.18-2) ... Setting up libreadline-dev:amd64 (7.0-5) ... Setting up lua5.1 (5.1.5-8.1+b2) ... Setting up liblua5.2-dev:amd64 (5.2.4-1.1+b2) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:amd64 (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3+deb10u1) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libtool-bin (2.4.6-9) ... Setting up gettext (0.19.8.1-9) ... Setting up liblua5.3-dev:amd64 (5.3.3-1.1) ... Setting up liblua5.1-0-dev:amd64 (5.1.5-8.1+b2) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up po-debconf (1.0.21) ... Setting up debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Setting up dh-lua (25) ... Processing triggers for libc-bin (2.28-10) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/lua-cqueues-20171014/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package lua-cqueues dpkg-buildpackage: info: source version 20171014-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Ondřej Surý dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --buildsystem=lua --with lua debian/rules override_dh_auto_clean make[1]: Entering directory '/build/lua-cqueues-20171014' rm /build/lua-cqueues-20171014/src/errno.c /build/lua-cqueues-20171014/config.h /build/lua-cqueues-20171014/src/config.h /build/lua-cqueues-20171014/src/lib/config.h rm: cannot remove '/build/lua-cqueues-20171014/src/errno.c': No such file or directory rm: cannot remove '/build/lua-cqueues-20171014/config.h': No such file or directory rm: cannot remove '/build/lua-cqueues-20171014/src/config.h': No such file or directory rm: cannot remove '/build/lua-cqueues-20171014/src/lib/config.h': No such file or directory make[1]: [debian/rules:24: override_dh_auto_clean] Error 1 (ignored) dh_auto_clean make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple clean Making target clean for debian/lua5.1.dh-lua.conf # fix for leftovers of dh-lua < 14 Target clean made Making target clean for debian/lua5.2.dh-lua.conf # fix for leftovers of dh-lua < 14 Target clean made Making target clean for debian/lua5.3.dh-lua.conf # fix for leftovers of dh-lua < 14 Target clean made make[1]: Leaving directory '/build/lua-cqueues-20171014' dh_clean -O--buildsystem=lua debian/rules build dh build --buildsystem=lua --with lua dh_update_autotools_config -O--buildsystem=lua debian/rules override_dh_auto_configure make[1]: Entering directory '/build/lua-cqueues-20171014' make -C . -f GNUmakefile /build/lua-cqueues-20171014/config.h make[2]: Entering directory '/build/lua-cqueues-20171014' enabling Lua 5.1 enabling Lua 5.2 enabling Lua 5.3 cp /build/lua-cqueues-20171014/config.h.guess /build/lua-cqueues-20171014/config.h make[2]: Leaving directory '/build/lua-cqueues-20171014' make -C src -f GNUmakefile /build/lua-cqueues-20171014/src/errno.c /build/lua-cqueues-20171014/src/config.h make[2]: Entering directory '/build/lua-cqueues-20171014/src' enabling Lua 5.1 enabling Lua 5.2 enabling Lua 5.3 cd /build/lua-cqueues-20171014/src && m4 /build/lua-cqueues-20171014/src/errno.c.m4 >| /build/lua-cqueues-20171014/src/errno.c.tmp mv /build/lua-cqueues-20171014/src/errno.c.tmp /build/lua-cqueues-20171014/src/errno.c cp /build/lua-cqueues-20171014/config.h /build/lua-cqueues-20171014/src/config.h make[2]: Leaving directory '/build/lua-cqueues-20171014/src' make -C src/lib -f GNUmakefile /build/lua-cqueues-20171014/src/lib/config.h make[2]: Entering directory '/build/lua-cqueues-20171014/src/lib' enabling Lua 5.1 enabling Lua 5.2 enabling Lua 5.3 cp /build/lua-cqueues-20171014/config.h /build/lua-cqueues-20171014/src/lib/config.h make[2]: Leaving directory '/build/lua-cqueues-20171014/src/lib' dh_auto_configure make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple configure Making target configure for debian/lua5.1.dh-lua.conf # .install Filling in debian/lua-cqueues.install using /usr/share/dh-lua/template/lib.install.in Adding new line: usr/lib/x86_64-linux-gnu/lua/5.1/_cqueues.so Adding new line: usr/lib/x86_64-linux-gnu/liblua5.1-cqueues.so.* Adding new line: usr/share/lua/5.1/cqueues/socket.lua Adding new line: usr/share/lua/5.1/cqueues/errno.lua Adding new line: usr/share/lua/5.1/cqueues/dns/hints.lua Adding new line: usr/share/lua/5.1/cqueues/signal.lua Adding new line: usr/share/lua/5.1/cqueues/condition.lua Adding new line: usr/share/lua/5.1/cqueues/notify.lua Adding new line: usr/share/lua/5.1/cqueues/dns/resolvers.lua Adding new line: usr/share/lua/5.1/cqueues/dns.lua Adding new line: usr/share/lua/5.1/cqueues.lua Adding new line: usr/share/lua/5.1/cqueues/dns/record.lua Adding new line: usr/share/lua/5.1/cqueues/promise.lua Adding new line: usr/share/lua/5.1/cqueues/dns/resolver.lua Adding new line: usr/share/lua/5.1/cqueues/dns/config.lua Adding new line: usr/share/lua/5.1/cqueues/socket/debug.lua Adding new line: usr/share/lua/5.1/cqueues/dns/hosts.lua Adding new line: usr/share/lua/5.1/cqueues/auxlib.lua Adding new line: usr/share/lua/5.1/cqueues/thread.lua Adding new line: usr/share/lua/5.1/cqueues/dns/packet.lua Filling in debian/lua-cqueues-dev.install using /usr/share/dh-lua/template/dev.install.in Adding new line: usr/lib/x86_64-linux-gnu/liblua5.1-cqueues.so Adding new line: usr/lib/x86_64-linux-gnu/liblua5.1-cqueues.a Adding new line: usr/lib/x86_64-linux-gnu/pkgconfig/lua5.1-cqueues.pc Adding new line: usr/include/lua5.1/cqueues.h # lua_versions Filling in debian/lua_versions Adding new line: 5.1 Target configure made Making target configure for debian/lua5.2.dh-lua.conf # .install Filling in debian/lua-cqueues.install using /usr/share/dh-lua/template/lib.install.in Adding new line: usr/lib/x86_64-linux-gnu/lua/5.2/_cqueues.so Adding new line: usr/lib/x86_64-linux-gnu/liblua5.2-cqueues.so.* Adding new line: usr/share/lua/5.2/cqueues/socket.lua Adding new line: usr/share/lua/5.2/cqueues/errno.lua Adding new line: usr/share/lua/5.2/cqueues/dns/hints.lua Adding new line: usr/share/lua/5.2/cqueues/signal.lua Adding new line: usr/share/lua/5.2/cqueues/condition.lua Adding new line: usr/share/lua/5.2/cqueues/notify.lua Adding new line: usr/share/lua/5.2/cqueues/dns/resolvers.lua Adding new line: usr/share/lua/5.2/cqueues/dns.lua Adding new line: usr/share/lua/5.2/cqueues.lua Adding new line: usr/share/lua/5.2/cqueues/dns/record.lua Adding new line: usr/share/lua/5.2/cqueues/promise.lua Adding new line: usr/share/lua/5.2/cqueues/dns/resolver.lua Adding new line: usr/share/lua/5.2/cqueues/dns/config.lua Adding new line: usr/share/lua/5.2/cqueues/socket/debug.lua Adding new line: usr/share/lua/5.2/cqueues/dns/hosts.lua Adding new line: usr/share/lua/5.2/cqueues/auxlib.lua Adding new line: usr/share/lua/5.2/cqueues/thread.lua Adding new line: usr/share/lua/5.2/cqueues/dns/packet.lua Filling in debian/lua-cqueues-dev.install using /usr/share/dh-lua/template/dev.install.in Adding new line: usr/lib/x86_64-linux-gnu/liblua5.2-cqueues.so Adding new line: usr/lib/x86_64-linux-gnu/liblua5.2-cqueues.a Adding new line: usr/lib/x86_64-linux-gnu/pkgconfig/lua5.2-cqueues.pc Adding new line: usr/include/lua5.2/cqueues.h # lua_versions Filling in debian/lua_versions Adding new line: 5.2 Target configure made Making target configure for debian/lua5.3.dh-lua.conf # .install Filling in debian/lua-cqueues.install using /usr/share/dh-lua/template/lib.install.in Adding new line: usr/lib/x86_64-linux-gnu/lua/5.3/_cqueues.so Adding new line: usr/lib/x86_64-linux-gnu/liblua5.3-cqueues.so.* Adding new line: usr/share/lua/5.3/cqueues/socket.lua Adding new line: usr/share/lua/5.3/cqueues/errno.lua Adding new line: usr/share/lua/5.3/cqueues/dns/hints.lua Adding new line: usr/share/lua/5.3/cqueues/signal.lua Adding new line: usr/share/lua/5.3/cqueues/condition.lua Adding new line: usr/share/lua/5.3/cqueues/notify.lua Adding new line: usr/share/lua/5.3/cqueues/dns/resolvers.lua Adding new line: usr/share/lua/5.3/cqueues/dns.lua Adding new line: usr/share/lua/5.3/cqueues.lua Adding new line: usr/share/lua/5.3/cqueues/dns/record.lua Adding new line: usr/share/lua/5.3/cqueues/promise.lua Adding new line: usr/share/lua/5.3/cqueues/dns/resolver.lua Adding new line: usr/share/lua/5.3/cqueues/dns/config.lua Adding new line: usr/share/lua/5.3/cqueues/socket/debug.lua Adding new line: usr/share/lua/5.3/cqueues/dns/hosts.lua Adding new line: usr/share/lua/5.3/cqueues/auxlib.lua Adding new line: usr/share/lua/5.3/cqueues/thread.lua Adding new line: usr/share/lua/5.3/cqueues/dns/packet.lua Filling in debian/lua-cqueues-dev.install using /usr/share/dh-lua/template/dev.install.in Adding new line: usr/lib/x86_64-linux-gnu/liblua5.3-cqueues.so Adding new line: usr/lib/x86_64-linux-gnu/liblua5.3-cqueues.a Adding new line: usr/lib/x86_64-linux-gnu/pkgconfig/lua5.3-cqueues.pc Adding new line: usr/include/lua5.3/cqueues.h # lua_versions Filling in debian/lua_versions Adding new line: 5.3 Target configure made make[1]: Leaving directory '/build/lua-cqueues-20171014' dh_auto_build -O--buildsystem=lua make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple build Making target build for debian/lua5.1.dh-lua.conf libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.1-cqueues/src/socket.lo src/socket.c In file included from src/socket.c:48: src/lib/socket.h:142:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/socket.c:48: src/lib/socket.h:234:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h:266:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'af_len': src/lib/socket.h:297:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:321:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addr': src/lib/socket.h:335:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addrlen': src/lib/socket.h:356:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:388:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ In file included from src/socket.c:50: src/lib/dns.h:746:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/socket.c:52: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/socket.c:76:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_SSL_CTX_UP_REF ^~~~~~~~~~~~~~~~~~~ src/socket.c:80:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_SSL_UP_REF ^~~~~~~~~~~~~~~ src/socket.c: In function 'lso_checkrcvop': src/socket.c:1908:9: warning: missing initializer for field '({anonymous})' of 'struct lso_rcvop' [-Wmissing-field-initializers] struct lso_rcvop op = { index, LSO_NONE, mode }; ^~~~~~~~~ src/socket.c:1903:2: note: '({anonymous})' declared here }; ^ src/socket.c: In function 'lso_recvfd2': src/socket.c:2435:20: warning: unused variable 'opts' [-Wunused-variable] struct so_options opts; ^~~~ src/socket.c: In function 'lso_fill': src/socket.c:1704:17: warning: this statement may fall through [-Wimplicit-fallthrough=] S->ibuf.eof = 1; ~~~~~~~~~~~~^~~ src/socket.c:1705:4: note: here default: ^~~~~~~ In file included from src/socket.c:52: At top level: src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.1-cqueues/src/dns.lo src/dns.c In file included from src/dns.c:43: src/lib/dns.h:746:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/dns.c:44: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.1-cqueues/src/cqueues.lo src/cqueues.c In file included from src/cqueues.c:51: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/cqueues.c: In function 'cqueue_resume': src/cqueues.c:2041:34: warning: missing initializer for field 'running' of 'struct stackinfo' [-Wmissing-field-initializers] cstack_push(Q->cstack, &(struct stackinfo){ Q, L, I->self, T->L }); ^~~~~~~~~ src/cqueues.c:1207:20: note: 'running' declared here struct stackinfo *running; /* next running cqueue object in call stack */ ^~~~~~~ src/cqueues.c: In function 'cqueue_wrap': src/cqueues.c:2337:11: warning: unused variable 'i' [-Wunused-variable] int top, i, error; ^ src/cqueues.c: In function 'cstack_cancel': src/cqueues.c:2784:17: warning: unused variable 'Q' [-Wunused-variable] struct cqueue *Q; ^ In file included from src/cqueues.c:51: At top level: src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.1-cqueues/src/errno.lo src/errno.c In file included from src/errno.c:34: src/lib/dns.h:746:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/errno.c:35: src/lib/socket.h:142:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/errno.c:35: src/lib/socket.h:234:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h:266:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'af_len': src/lib/socket.h:297:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:321:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addr': src/lib/socket.h:335:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addrlen': src/lib/socket.h:356:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:388:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ In file included from src/errno.c:37: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.1-cqueues/src/signal.lo src/signal.c In file included from src/signal.c:44: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/signal.c: In function 'signal_features': src/signal.c:73:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_EVFILT_SIGNAL ^~~~~~~~~~~~~~~~~~~~ src/signal.c:73:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/signal.c:79:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_KQUEUE ^~~~~~~~~~~ src/signal.c:82:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_KQUEUE1 ^~~~~~~~~~~~ src/signal.c: In function 'sfd_preinit': src/signal.c:128:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_SIGNALFD || ENABLE_EVFILT_SIGNAL ^~~~~~~~~~~~~~~~~~~~ src/signal.c:128:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/signal.c:44: At top level: src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.1-cqueues/src/thread.lo src/thread.c In file included from src/thread.c:42: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/thread.c:85:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_PTHREAD_MUTEX_ROBUST ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c: In function 'hdl_init': src/thread.c:140:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_PTHREAD_MUTEX_ROBUST ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c: In function 'hdl_destroy': src/thread.c:170:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_PTHREAD_MUTEX_ROBUST ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c: In function 'hdl_hold': src/thread.c:180:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_PTHREAD_MUTEX_ROBUST ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c: In function 'hdl_isheld': src/thread.c:192:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_PTHREAD_MUTEX_ROBUST ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c: In function 'ct_setfarg': src/thread.c:481:22: warning: overflow in conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-Woverflow] arg->iscfunction = 1; ^ src/thread.c: In function 'ct_init': src/thread.c:552:3: warning: this statement may fall through [-Wimplicit-fallthrough=] hdl_destroy(&ct->handle); ^~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c:553:2: note: here case 3: ^~~~ src/thread.c:554:3: warning: this statement may fall through [-Wimplicit-fallthrough=] pthread_attr_destroy(&ct->attr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c:555:2: note: here case 2: ^~~~ src/thread.c:556:3: warning: this statement may fall through [-Wimplicit-fallthrough=] pthread_cond_destroy(&ct->cond); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c:557:2: note: here case 1: ^~~~ At top level: src/thread.c:877:22: warning: 'ct_selfid' defined but not used [-Wunused-function] static unsigned long ct_selfid(void) { ^~~~~~~~~ src/thread.c:859:13: warning: 'ct_lockssl' defined but not used [-Wunused-function] static void ct_lockssl(int mode, int type, const char *file NOTUSED, int line NOTUSED) { ^~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.1-cqueues/src/notify.lo src/notify.c In file included from src/notify.c:29: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.1-cqueues/src/lib/socket.lo src/lib/socket.c In file included from src/lib/socket.c:61: src/lib/dns.h:746:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/lib/socket.c:62: src/lib/socket.h:142:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/lib/socket.c:62: src/lib/socket.h:234:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h:266:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'af_len': src/lib/socket.h:297:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:321:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addr': src/lib/socket.h:335:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addrlen': src/lib/socket.h:356:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:388:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.c:145:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_CTRL_SET_CONNECTED_2ARY ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lib/socket.c:150:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_SET_INIT ^~~~~~~~~~~~~~~~~ src/lib/socket.c:154:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_SET_SHUTDOWN ^~~~~~~~~~~~~~~~~~~~~ src/lib/socket.c:158:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_SET_DATA ^~~~~~~~~~~~~~~~~ src/lib/socket.c:162:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_GET_DATA ^~~~~~~~~~~~~~~~~ src/lib/socket.c:166:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_UP_REF ^~~~~~~~~~~~~~~ src/lib/socket.c:170:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_SSL_IS_SERVER ^~~~~~~~~~~~~~~~~~ src/lib/socket.c:200:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_SSL_UP_REF ^~~~~~~~~~~~~~~ src/lib/socket.c: In function 'sa_ntop': src/lib/socket.c:575:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.c: In function 'so_bind': src/lib/socket.c:814:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.c: In function 'so_accept': src/lib/socket.c:2113:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_ACCEPT4 && defined SOCK_CLOEXEC ^~~~~~~~~~~~ src/lib/socket.c: At top level: src/lib/socket.c:2522:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_OPENSSL11_API ^~~~~~~~~~~~~~~~~~ src/lib/socket.c:229:13: warning: 'so_trace' declared 'static' but never defined [-Wunused-function] static void so_trace(enum so_trace, int, const struct addrinfo *, ...); ^~~~~~~~ src/lib/socket.c: In function 'so_starttls_': src/lib/socket.c:1573:16: warning: this statement may fall through [-Wimplicit-fallthrough=] so->ssl.state++; ~~~~~~~~~~~~~^~ src/lib/socket.c:1575:2: note: here case 1: ^~~~ src/lib/socket.c:1590:16: warning: this statement may fall through [-Wimplicit-fallthrough=] so->ssl.state++; ~~~~~~~~~~~~~^~ src/lib/socket.c:1591:2: note: here case 2: ^~~~ src/lib/socket.c:1601:16: warning: this statement may fall through [-Wimplicit-fallthrough=] so->ssl.state++; ~~~~~~~~~~~~~^~ src/lib/socket.c:1602:2: note: here case 3: ^~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.1-cqueues/src/lib/dns.lo src/lib/dns.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from src/lib/dns.c:41: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from src/lib/dns.c:80: src/lib/dns.h:746:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ src/lib/dns.c:213:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/lib/dns.c:383:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE___ATOMIC_FETCH_ADD && __GCC_ATOMIC_LONG_LOCK_FREE == 2 ^~~~~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:392:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE___ATOMIC_FETCH_SUB && __GCC_ATOMIC_LONG_LOCK_FREE == 2 ^~~~~~~~~~~~~~~~~~~~~~~ src/lib/dns.c: In function 'dns_af_len': src/lib/dns.c:788:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if DNS_HAVE_SOCKADDR_UN ^~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:788:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/lib/dns.c: At top level: src/lib/dns.c:843:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if DNS_HAVE_SOCKADDR_UN ^~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:843:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/lib/dns.c: In function 'dns_sa_path': src/lib/dns.c:849:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if DNS_HAVE_SOCKADDR_UN ^~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:849:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/lib/dns.c: In function 'dns_sa_cmp': src/lib/dns.c:909:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if DNS_HAVE_SOCKADDR_UN ^~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:909:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/lib/dns.c: In function 'dns_socket': src/lib/dns.c:6134:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_SOCK_CLOEXEC ^~~~~~~~~~~~~~~~~ src/lib/dns.c:6137:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_SOCK_NONBLOCK ^~~~~~~~~~~~~~~~~~ src/lib/dns.c:6143:25: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if defined F_SETFD && !HAVE_SOCK_CLOEXEC ^~~~~~~~~~~~~~~~~ src/lib/dns.c:6148:28: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if defined O_NONBLOCK && !HAVE_SOCK_NONBLOCK ^~~~~~~~~~~~~~~~~~ src/lib/dns.c:6206:26: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if (defined F_SETFD && !HAVE_SOCK_CLOEXEC) || (defined O_NONBLOCK && !HAVE_SOCK_NONBLOCK) ^~~~~~~~~~~~~~~~~ src/lib/dns.c:6206:72: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if (defined F_SETFD && !HAVE_SOCK_CLOEXEC) || (defined O_NONBLOCK && !HAVE_SOCK_NONBLOCK) ^~~~~~~~~~~~~~~~~~ src/lib/dns.c: In function 'dns_so_check': src/lib/dns.c:6597:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6598:2: note: here case DNS_SO_UDP_CONN: ^~~~ src/lib/dns.c:6602:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6603:2: note: here case DNS_SO_UDP_SEND: ^~~~ src/lib/dns.c:6610:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6611:2: note: here case DNS_SO_UDP_RECV: ^~~~ src/lib/dns.c:6624:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6625:2: note: here case DNS_SO_UDP_DONE: ^~~~ src/lib/dns.c:6629:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6630:2: note: here case DNS_SO_TCP_INIT: ^~~~ src/lib/dns.c:6643:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6644:2: note: here case DNS_SO_TCP_CONN: ^~~~ src/lib/dns.c:6650:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6651:2: note: here case DNS_SO_TCP_SEND: ^~~~ src/lib/dns.c:6655:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6656:2: note: here case DNS_SO_TCP_RECV: ^~~~ src/lib/dns.c:6660:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6661:2: note: here case DNS_SO_TCP_DONE: ^~~~ src/lib/dns.c: In function 'dns_res_exec': src/lib/dns.c:7271:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7272:2: note: here case DNS_R_GLUE: ^~~~ src/lib/dns.c:7385:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7386:2: note: here case DNS_R_SUBMIT: ^~~~ src/lib/dns.c:7390:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7391:2: note: here case DNS_R_CHECK: ^~~~ src/lib/dns.c:7395:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7396:2: note: here case DNS_R_FETCH: ^~~~ src/lib/dns.c:7420:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7421:2: note: here case DNS_R_SEARCH: ^~~~ src/lib/dns.c:7432:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7433:2: note: here case DNS_R_HINTS: ^~~~ src/lib/dns.c:7437:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7438:2: note: here case DNS_R_ITERATE: ^~~~ src/lib/dns.c:7446:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7447:2: note: here case DNS_R_FOREACH_NS: ^~~~ src/lib/dns.c:7491:24: warning: this statement may fall through [-Wimplicit-fallthrough=] case DNS_R_FOREACH_A: { ^ src/lib/dns.c:7536:2: note: here case DNS_R_QUERY_A: ^~~~ src/lib/dns.c:7638:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7639:2: note: here case DNS_R_SMART0_A: ^~~~ src/lib/dns.c: In function 'dns_ai_nextent': src/lib/dns.c:8283:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8284:2: note: here case DNS_AI_S_NEXTAF: ^~~~ src/lib/dns.c:8288:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8289:2: note: here case DNS_AI_S_NUMERIC: ^~~~ src/lib/dns.c:8311:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8312:2: note: here case DNS_AI_S_SUBMIT: ^~~~ src/lib/dns.c:8318:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8319:2: note: here case DNS_AI_S_CHECK: ^~~~ src/lib/dns.c:8323:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8324:2: note: here case DNS_AI_S_FETCH: ^~~~ src/lib/dns.c:8346:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8347:2: note: here case DNS_AI_S_FOREACH_I: ^~~~ src/lib/dns.c:8380:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8381:2: note: here case DNS_AI_S_INIT_G: ^~~~ src/lib/dns.c:8384:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8385:2: note: here case DNS_AI_S_ITERATE_G: ^~~~ src/lib/dns.c:8392:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8393:2: note: here case DNS_AI_S_FOREACH_G: ^~~~ src/lib/dns.c:8416:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8417:2: note: here case DNS_AI_S_CHECK_G: ^~~~ src/lib/dns.c:8421:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8422:2: note: here case DNS_AI_S_FETCH_G: ^~~~ src/lib/dns.c: In function 'dns_so_check': src/lib/dns.c:6528:17: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds] so->query->data[-2] = 0xff & (so->query->end >> 8); ~~~~~~~~~~~~~~~^~~~ src/lib/dns.c:6529:17: warning: array subscript -1 is below array bounds of 'unsigned char[1]' [-Warray-bounds] so->query->data[-1] = 0xff & (so->query->end >> 0); ~~~~~~~~~~~~~~~^~~~ src/lib/dns.c:6531:9: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds] qsrc = &so->query->data[-2] + so->qout; ^~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:6557:10: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds] asrc = &so->answer->data[-2]; ^~~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:6568:18: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds] alen = ((0xff & so->answer->data[-2]) << 8) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:6569:42: warning: array subscript -1 is below array bounds of 'unsigned char[1]' [-Warray-bounds] | ((0xff & so->answer->data[-1]) << 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.1-cqueues/src/lib/kpoll.lo src/lib/kpoll.c src/lib/kpoll.c: In function 'alert_init': src/lib/kpoll.c:390:6: warning: unused variable 'error' [-Wunused-variable] int error; ^~~~~ At top level: src/lib/kpoll.c:434:12: warning: 'kpoll_init' defined but not used [-Wunused-function] static int kpoll_init(struct kpoll *kp) { ^~~~~~~~~~ src/lib/kpoll.c:342:12: warning: 'kpoll_wait' defined but not used [-Wunused-function] static int kpoll_wait(struct kpoll *kp, int timeout) { ^~~~~~~~~~ src/lib/kpoll.c:298:12: warning: 'kpoll_alert' defined but not used [-Wunused-function] static int kpoll_alert(struct kpoll *kp) { ^~~~~~~~~~~ src/lib/kpoll.c:291:13: warning: 'kpoll_del' defined but not used [-Wunused-function] static void kpoll_del(struct kpoll *kp, struct kpollfd *fd) { ^~~~~~~~~ src/lib/kpoll.c:193:24: warning: 'kpoll_next' defined but not used [-Wunused-function] static struct kpollfd *kpoll_next(struct kpoll *kp) { ^~~~~~~~~~ src/lib/kpoll.c:101:12: warning: 'setcloexec' defined but not used [-Wunused-function] static int setcloexec(int fd) { ^~~~~~~~~~ src/lib/kpoll.c:86:12: warning: 'setnonblock' defined but not used [-Wunused-function] static int setnonblock(int fd) { ^~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.1-cqueues/src/lib/notify.lo src/lib/notify.c src/lib/notify.c: In function 'notify_features': src/lib/notify.c:109:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_KQUEUE ^~~~~~~~~~~ src/lib/notify.c:112:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_KQUEUE1 ^~~~~~~~~~~~ src/lib/notify.c:121:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_O_CLOEXEC ^~~~~~~~~~~~~~ src/lib/notify.c:124:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_IN_CLOEXEC ^~~~~~~~~~~~~~~ src/lib/notify.c: In function 'nfy_openfd': src/lib/notify.c:262:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_O_CLOEXEC ^~~~~~~~~~~~~~ src/lib/notify.c:266:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_O_DIRECTORY ^~~~~~~~~~~~~~~~ src/lib/notify.c: In function 'notify_opendir': src/lib/notify.c:541:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_INOTIFY_INIT1 && HAVE_IN_NONBLOCK && HAVE_IN_CLOEXEC ^~~~~~~~~~~~~~~~~~ src/lib/notify.c:541:27: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_INOTIFY_INIT1 && HAVE_IN_NONBLOCK && HAVE_IN_CLOEXEC ^~~~~~~~~~~~~~~~ src/lib/notify.c:541:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_INOTIFY_INIT1 && HAVE_IN_NONBLOCK && HAVE_IN_CLOEXEC ^~~~~~~~~~~~~~~ src/lib/notify.c: In function 'notify_add': src/lib/notify.c:1108:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_KQUEUE ^~~~~~~~~~~~~ libtool --silent --tag=CC --mode=link cc \ -rpath /usr//lib/x86_64-linux-gnu -version-info 0:0:0 -Wl,--no-add-needed \ -o /build/lua-cqueues-20171014/5.1-cqueues/liblua5.1-cqueues.la \ /build/lua-cqueues-20171014/5.1-cqueues/src/socket.lo /build/lua-cqueues-20171014/5.1-cqueues/src/dns.lo /build/lua-cqueues-20171014/5.1-cqueues/src/cqueues.lo /build/lua-cqueues-20171014/5.1-cqueues/src/errno.lo /build/lua-cqueues-20171014/5.1-cqueues/src/signal.lo /build/lua-cqueues-20171014/5.1-cqueues/src/thread.lo /build/lua-cqueues-20171014/5.1-cqueues/src/notify.lo /build/lua-cqueues-20171014/5.1-cqueues/src/lib/socket.lo /build/lua-cqueues-20171014/5.1-cqueues/src/lib/dns.lo /build/lua-cqueues-20171014/5.1-cqueues/src/lib/kpoll.lo /build/lua-cqueues-20171014/5.1-cqueues/src/lib/notify.lo \ -Wl,-z,relro -Wl,--as-needed -lssl -lcrypto -lpthread copying selected object files to avoid basename conflicts... ar: `u' modifier ignored since `D' is the default (see `U') ldd /build/lua-cqueues-20171014/5.1-cqueues/_cqueues.so linux-vdso.so.1 (0x00007ffd653dc000) libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f2c38d20000) libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f2c38a30000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2c38a08000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2c38840000) /lib64/ld-linux-x86-64.so.2 (0x00007f2c38e18000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2c38838000) Target build made Making target build for debian/lua5.2.dh-lua.conf libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.2-cqueues/src/socket.lo src/socket.c In file included from src/socket.c:48: src/lib/socket.h:142:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/socket.c:48: src/lib/socket.h:234:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h:266:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'af_len': src/lib/socket.h:297:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:321:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addr': src/lib/socket.h:335:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addrlen': src/lib/socket.h:356:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:388:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ In file included from src/socket.c:50: src/lib/dns.h:746:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/socket.c:52: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/socket.c:76:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_SSL_CTX_UP_REF ^~~~~~~~~~~~~~~~~~~ src/socket.c:80:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_SSL_UP_REF ^~~~~~~~~~~~~~~ src/socket.c: In function 'lso_checkrcvop': src/socket.c:1908:9: warning: missing initializer for field '({anonymous})' of 'struct lso_rcvop' [-Wmissing-field-initializers] struct lso_rcvop op = { index, LSO_NONE, mode }; ^~~~~~~~~ src/socket.c:1903:2: note: '({anonymous})' declared here }; ^ src/socket.c: In function 'lso_recvfd2': src/socket.c:2435:20: warning: unused variable 'opts' [-Wunused-variable] struct so_options opts; ^~~~ src/socket.c: In function 'lso_fill': src/socket.c:1704:17: warning: this statement may fall through [-Wimplicit-fallthrough=] S->ibuf.eof = 1; ~~~~~~~~~~~~^~~ src/socket.c:1705:4: note: here default: ^~~~~~~ In file included from src/socket.c:52: At top level: src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.2-cqueues/src/dns.lo src/dns.c In file included from src/dns.c:43: src/lib/dns.h:746:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/dns.c:44: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.2-cqueues/src/cqueues.lo src/cqueues.c In file included from src/cqueues.c:51: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ In file included from src/cqueues.h:43, from src/cqueues.c:51: src/cqueues.c: In function 'auxlib_tostringk': src/../vendor/compat53/c-api/compat-5.3.h:364:40: warning: unused parameter 'status' [-Wunused-parameter] static int (_name)(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/cqueues.c:813:1: note: in expansion of macro 'LUA_KFUNCTION' LUA_KFUNCTION(auxlib_tostringk) { ^~~~~~~~~~~~~ src/../vendor/compat53/c-api/compat-5.3.h:364:61: warning: unused parameter 'ctx' [-Wunused-parameter] static int (_name)(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/cqueues.c:813:1: note: in expansion of macro 'LUA_KFUNCTION' LUA_KFUNCTION(auxlib_tostringk) { ^~~~~~~~~~~~~ src/cqueues.c: In function 'cqueue_resume': src/cqueues.c:2041:34: warning: missing initializer for field 'running' of 'struct stackinfo' [-Wmissing-field-initializers] cstack_push(Q->cstack, &(struct stackinfo){ Q, L, I->self, T->L }); ^~~~~~~~~ src/cqueues.c:1207:20: note: 'running' declared here struct stackinfo *running; /* next running cqueue object in call stack */ ^~~~~~~ In file included from src/cqueues.h:43, from src/cqueues.c:51: src/cqueues.c: In function 'cqueue_step_cont': src/../vendor/compat53/c-api/compat-5.3.h:364:40: warning: unused parameter 'status' [-Wunused-parameter] static int (_name)(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/cqueues.c:2194:1: note: in expansion of macro 'LUA_KFUNCTION' LUA_KFUNCTION(cqueue_step_cont) { ^~~~~~~~~~~~~ src/../vendor/compat53/c-api/compat-5.3.h:364:61: warning: unused parameter 'ctx' [-Wunused-parameter] static int (_name)(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/cqueues.c:2194:1: note: in expansion of macro 'LUA_KFUNCTION' LUA_KFUNCTION(cqueue_step_cont) { ^~~~~~~~~~~~~ src/cqueues.c: In function 'cqueue_wrap': src/cqueues.c:2337:11: warning: unused variable 'i' [-Wunused-variable] int top, i, error; ^ src/cqueues.c: In function 'cstack_cancel': src/cqueues.c:2784:17: warning: unused variable 'Q' [-Wunused-variable] struct cqueue *Q; ^ In file included from src/cqueues.c:51: At top level: src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.2-cqueues/src/errno.lo src/errno.c In file included from src/errno.c:34: src/lib/dns.h:746:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/errno.c:35: src/lib/socket.h:142:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/errno.c:35: src/lib/socket.h:234:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h:266:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'af_len': src/lib/socket.h:297:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:321:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addr': src/lib/socket.h:335:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addrlen': src/lib/socket.h:356:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:388:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ In file included from src/errno.c:37: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.2-cqueues/src/signal.lo src/signal.c In file included from src/signal.c:44: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/signal.c: In function 'signal_features': src/signal.c:73:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_EVFILT_SIGNAL ^~~~~~~~~~~~~~~~~~~~ src/signal.c:73:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/signal.c:79:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_KQUEUE ^~~~~~~~~~~ src/signal.c:82:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_KQUEUE1 ^~~~~~~~~~~~ src/signal.c: In function 'sfd_preinit': src/signal.c:128:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_SIGNALFD || ENABLE_EVFILT_SIGNAL ^~~~~~~~~~~~~~~~~~~~ src/signal.c:128:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/signal.c:44: At top level: src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.2-cqueues/src/thread.lo src/thread.c In file included from src/thread.c:42: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/thread.c:85:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_PTHREAD_MUTEX_ROBUST ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c: In function 'hdl_init': src/thread.c:140:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_PTHREAD_MUTEX_ROBUST ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c: In function 'hdl_destroy': src/thread.c:170:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_PTHREAD_MUTEX_ROBUST ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c: In function 'hdl_hold': src/thread.c:180:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_PTHREAD_MUTEX_ROBUST ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c: In function 'hdl_isheld': src/thread.c:192:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_PTHREAD_MUTEX_ROBUST ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c: In function 'ct_setfarg': src/thread.c:481:22: warning: overflow in conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-Woverflow] arg->iscfunction = 1; ^ src/thread.c: In function 'ct_init': src/thread.c:552:3: warning: this statement may fall through [-Wimplicit-fallthrough=] hdl_destroy(&ct->handle); ^~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c:553:2: note: here case 3: ^~~~ src/thread.c:554:3: warning: this statement may fall through [-Wimplicit-fallthrough=] pthread_attr_destroy(&ct->attr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c:555:2: note: here case 2: ^~~~ src/thread.c:556:3: warning: this statement may fall through [-Wimplicit-fallthrough=] pthread_cond_destroy(&ct->cond); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c:557:2: note: here case 1: ^~~~ At top level: src/thread.c:877:22: warning: 'ct_selfid' defined but not used [-Wunused-function] static unsigned long ct_selfid(void) { ^~~~~~~~~ src/thread.c:859:13: warning: 'ct_lockssl' defined but not used [-Wunused-function] static void ct_lockssl(int mode, int type, const char *file NOTUSED, int line NOTUSED) { ^~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.2-cqueues/src/notify.lo src/notify.c In file included from src/notify.c:29: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.2-cqueues/src/lib/socket.lo src/lib/socket.c In file included from src/lib/socket.c:61: src/lib/dns.h:746:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/lib/socket.c:62: src/lib/socket.h:142:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/lib/socket.c:62: src/lib/socket.h:234:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h:266:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'af_len': src/lib/socket.h:297:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:321:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addr': src/lib/socket.h:335:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addrlen': src/lib/socket.h:356:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:388:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.c:145:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_CTRL_SET_CONNECTED_2ARY ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lib/socket.c:150:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_SET_INIT ^~~~~~~~~~~~~~~~~ src/lib/socket.c:154:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_SET_SHUTDOWN ^~~~~~~~~~~~~~~~~~~~~ src/lib/socket.c:158:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_SET_DATA ^~~~~~~~~~~~~~~~~ src/lib/socket.c:162:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_GET_DATA ^~~~~~~~~~~~~~~~~ src/lib/socket.c:166:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_UP_REF ^~~~~~~~~~~~~~~ src/lib/socket.c:170:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_SSL_IS_SERVER ^~~~~~~~~~~~~~~~~~ src/lib/socket.c:200:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_SSL_UP_REF ^~~~~~~~~~~~~~~ src/lib/socket.c: In function 'sa_ntop': src/lib/socket.c:575:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.c: In function 'so_bind': src/lib/socket.c:814:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.c: In function 'so_accept': src/lib/socket.c:2113:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_ACCEPT4 && defined SOCK_CLOEXEC ^~~~~~~~~~~~ src/lib/socket.c: At top level: src/lib/socket.c:2522:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_OPENSSL11_API ^~~~~~~~~~~~~~~~~~ src/lib/socket.c:229:13: warning: 'so_trace' declared 'static' but never defined [-Wunused-function] static void so_trace(enum so_trace, int, const struct addrinfo *, ...); ^~~~~~~~ src/lib/socket.c: In function 'so_starttls_': src/lib/socket.c:1573:16: warning: this statement may fall through [-Wimplicit-fallthrough=] so->ssl.state++; ~~~~~~~~~~~~~^~ src/lib/socket.c:1575:2: note: here case 1: ^~~~ src/lib/socket.c:1590:16: warning: this statement may fall through [-Wimplicit-fallthrough=] so->ssl.state++; ~~~~~~~~~~~~~^~ src/lib/socket.c:1591:2: note: here case 2: ^~~~ src/lib/socket.c:1601:16: warning: this statement may fall through [-Wimplicit-fallthrough=] so->ssl.state++; ~~~~~~~~~~~~~^~ src/lib/socket.c:1602:2: note: here case 3: ^~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.2-cqueues/src/lib/dns.lo src/lib/dns.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from src/lib/dns.c:41: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from src/lib/dns.c:80: src/lib/dns.h:746:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ src/lib/dns.c:213:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/lib/dns.c:383:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE___ATOMIC_FETCH_ADD && __GCC_ATOMIC_LONG_LOCK_FREE == 2 ^~~~~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:392:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE___ATOMIC_FETCH_SUB && __GCC_ATOMIC_LONG_LOCK_FREE == 2 ^~~~~~~~~~~~~~~~~~~~~~~ src/lib/dns.c: In function 'dns_af_len': src/lib/dns.c:788:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if DNS_HAVE_SOCKADDR_UN ^~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:788:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/lib/dns.c: At top level: src/lib/dns.c:843:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if DNS_HAVE_SOCKADDR_UN ^~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:843:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/lib/dns.c: In function 'dns_sa_path': src/lib/dns.c:849:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if DNS_HAVE_SOCKADDR_UN ^~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:849:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/lib/dns.c: In function 'dns_sa_cmp': src/lib/dns.c:909:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if DNS_HAVE_SOCKADDR_UN ^~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:909:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/lib/dns.c: In function 'dns_socket': src/lib/dns.c:6134:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_SOCK_CLOEXEC ^~~~~~~~~~~~~~~~~ src/lib/dns.c:6137:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_SOCK_NONBLOCK ^~~~~~~~~~~~~~~~~~ src/lib/dns.c:6143:25: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if defined F_SETFD && !HAVE_SOCK_CLOEXEC ^~~~~~~~~~~~~~~~~ src/lib/dns.c:6148:28: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if defined O_NONBLOCK && !HAVE_SOCK_NONBLOCK ^~~~~~~~~~~~~~~~~~ src/lib/dns.c:6206:26: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if (defined F_SETFD && !HAVE_SOCK_CLOEXEC) || (defined O_NONBLOCK && !HAVE_SOCK_NONBLOCK) ^~~~~~~~~~~~~~~~~ src/lib/dns.c:6206:72: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if (defined F_SETFD && !HAVE_SOCK_CLOEXEC) || (defined O_NONBLOCK && !HAVE_SOCK_NONBLOCK) ^~~~~~~~~~~~~~~~~~ src/lib/dns.c: In function 'dns_so_check': src/lib/dns.c:6597:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6598:2: note: here case DNS_SO_UDP_CONN: ^~~~ src/lib/dns.c:6602:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6603:2: note: here case DNS_SO_UDP_SEND: ^~~~ src/lib/dns.c:6610:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6611:2: note: here case DNS_SO_UDP_RECV: ^~~~ src/lib/dns.c:6624:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6625:2: note: here case DNS_SO_UDP_DONE: ^~~~ src/lib/dns.c:6629:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6630:2: note: here case DNS_SO_TCP_INIT: ^~~~ src/lib/dns.c:6643:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6644:2: note: here case DNS_SO_TCP_CONN: ^~~~ src/lib/dns.c:6650:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6651:2: note: here case DNS_SO_TCP_SEND: ^~~~ src/lib/dns.c:6655:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6656:2: note: here case DNS_SO_TCP_RECV: ^~~~ src/lib/dns.c:6660:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6661:2: note: here case DNS_SO_TCP_DONE: ^~~~ src/lib/dns.c: In function 'dns_res_exec': src/lib/dns.c:7271:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7272:2: note: here case DNS_R_GLUE: ^~~~ src/lib/dns.c:7385:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7386:2: note: here case DNS_R_SUBMIT: ^~~~ src/lib/dns.c:7390:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7391:2: note: here case DNS_R_CHECK: ^~~~ src/lib/dns.c:7395:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7396:2: note: here case DNS_R_FETCH: ^~~~ src/lib/dns.c:7420:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7421:2: note: here case DNS_R_SEARCH: ^~~~ src/lib/dns.c:7432:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7433:2: note: here case DNS_R_HINTS: ^~~~ src/lib/dns.c:7437:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7438:2: note: here case DNS_R_ITERATE: ^~~~ src/lib/dns.c:7446:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7447:2: note: here case DNS_R_FOREACH_NS: ^~~~ src/lib/dns.c:7491:24: warning: this statement may fall through [-Wimplicit-fallthrough=] case DNS_R_FOREACH_A: { ^ src/lib/dns.c:7536:2: note: here case DNS_R_QUERY_A: ^~~~ src/lib/dns.c:7638:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7639:2: note: here case DNS_R_SMART0_A: ^~~~ src/lib/dns.c: In function 'dns_ai_nextent': src/lib/dns.c:8283:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8284:2: note: here case DNS_AI_S_NEXTAF: ^~~~ src/lib/dns.c:8288:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8289:2: note: here case DNS_AI_S_NUMERIC: ^~~~ src/lib/dns.c:8311:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8312:2: note: here case DNS_AI_S_SUBMIT: ^~~~ src/lib/dns.c:8318:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8319:2: note: here case DNS_AI_S_CHECK: ^~~~ src/lib/dns.c:8323:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8324:2: note: here case DNS_AI_S_FETCH: ^~~~ src/lib/dns.c:8346:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8347:2: note: here case DNS_AI_S_FOREACH_I: ^~~~ src/lib/dns.c:8380:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8381:2: note: here case DNS_AI_S_INIT_G: ^~~~ src/lib/dns.c:8384:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8385:2: note: here case DNS_AI_S_ITERATE_G: ^~~~ src/lib/dns.c:8392:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8393:2: note: here case DNS_AI_S_FOREACH_G: ^~~~ src/lib/dns.c:8416:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8417:2: note: here case DNS_AI_S_CHECK_G: ^~~~ src/lib/dns.c:8421:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8422:2: note: here case DNS_AI_S_FETCH_G: ^~~~ src/lib/dns.c: In function 'dns_so_check': src/lib/dns.c:6528:17: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds] so->query->data[-2] = 0xff & (so->query->end >> 8); ~~~~~~~~~~~~~~~^~~~ src/lib/dns.c:6529:17: warning: array subscript -1 is below array bounds of 'unsigned char[1]' [-Warray-bounds] so->query->data[-1] = 0xff & (so->query->end >> 0); ~~~~~~~~~~~~~~~^~~~ src/lib/dns.c:6531:9: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds] qsrc = &so->query->data[-2] + so->qout; ^~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:6557:10: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds] asrc = &so->answer->data[-2]; ^~~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:6568:18: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds] alen = ((0xff & so->answer->data[-2]) << 8) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:6569:42: warning: array subscript -1 is below array bounds of 'unsigned char[1]' [-Warray-bounds] | ((0xff & so->answer->data[-1]) << 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.2-cqueues/src/lib/kpoll.lo src/lib/kpoll.c src/lib/kpoll.c: In function 'alert_init': src/lib/kpoll.c:390:6: warning: unused variable 'error' [-Wunused-variable] int error; ^~~~~ At top level: src/lib/kpoll.c:434:12: warning: 'kpoll_init' defined but not used [-Wunused-function] static int kpoll_init(struct kpoll *kp) { ^~~~~~~~~~ src/lib/kpoll.c:342:12: warning: 'kpoll_wait' defined but not used [-Wunused-function] static int kpoll_wait(struct kpoll *kp, int timeout) { ^~~~~~~~~~ src/lib/kpoll.c:298:12: warning: 'kpoll_alert' defined but not used [-Wunused-function] static int kpoll_alert(struct kpoll *kp) { ^~~~~~~~~~~ src/lib/kpoll.c:291:13: warning: 'kpoll_del' defined but not used [-Wunused-function] static void kpoll_del(struct kpoll *kp, struct kpollfd *fd) { ^~~~~~~~~ src/lib/kpoll.c:193:24: warning: 'kpoll_next' defined but not used [-Wunused-function] static struct kpollfd *kpoll_next(struct kpoll *kp) { ^~~~~~~~~~ src/lib/kpoll.c:101:12: warning: 'setcloexec' defined but not used [-Wunused-function] static int setcloexec(int fd) { ^~~~~~~~~~ src/lib/kpoll.c:86:12: warning: 'setnonblock' defined but not used [-Wunused-function] static int setnonblock(int fd) { ^~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.2-cqueues/src/lib/notify.lo src/lib/notify.c src/lib/notify.c: In function 'notify_features': src/lib/notify.c:109:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_KQUEUE ^~~~~~~~~~~ src/lib/notify.c:112:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_KQUEUE1 ^~~~~~~~~~~~ src/lib/notify.c:121:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_O_CLOEXEC ^~~~~~~~~~~~~~ src/lib/notify.c:124:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_IN_CLOEXEC ^~~~~~~~~~~~~~~ src/lib/notify.c: In function 'nfy_openfd': src/lib/notify.c:262:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_O_CLOEXEC ^~~~~~~~~~~~~~ src/lib/notify.c:266:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_O_DIRECTORY ^~~~~~~~~~~~~~~~ src/lib/notify.c: In function 'notify_opendir': src/lib/notify.c:541:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_INOTIFY_INIT1 && HAVE_IN_NONBLOCK && HAVE_IN_CLOEXEC ^~~~~~~~~~~~~~~~~~ src/lib/notify.c:541:27: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_INOTIFY_INIT1 && HAVE_IN_NONBLOCK && HAVE_IN_CLOEXEC ^~~~~~~~~~~~~~~~ src/lib/notify.c:541:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_INOTIFY_INIT1 && HAVE_IN_NONBLOCK && HAVE_IN_CLOEXEC ^~~~~~~~~~~~~~~ src/lib/notify.c: In function 'notify_add': src/lib/notify.c:1108:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_KQUEUE ^~~~~~~~~~~~~ libtool --silent --tag=CC --mode=link cc \ -rpath /usr//lib/x86_64-linux-gnu -version-info 0:0:0 -Wl,--no-add-needed \ -o /build/lua-cqueues-20171014/5.2-cqueues/liblua5.2-cqueues.la \ /build/lua-cqueues-20171014/5.2-cqueues/src/socket.lo /build/lua-cqueues-20171014/5.2-cqueues/src/dns.lo /build/lua-cqueues-20171014/5.2-cqueues/src/cqueues.lo /build/lua-cqueues-20171014/5.2-cqueues/src/errno.lo /build/lua-cqueues-20171014/5.2-cqueues/src/signal.lo /build/lua-cqueues-20171014/5.2-cqueues/src/thread.lo /build/lua-cqueues-20171014/5.2-cqueues/src/notify.lo /build/lua-cqueues-20171014/5.2-cqueues/src/lib/socket.lo /build/lua-cqueues-20171014/5.2-cqueues/src/lib/dns.lo /build/lua-cqueues-20171014/5.2-cqueues/src/lib/kpoll.lo /build/lua-cqueues-20171014/5.2-cqueues/src/lib/notify.lo \ -Wl,-z,relro -Wl,--as-needed -lssl -lcrypto -lpthread copying selected object files to avoid basename conflicts... ar: `u' modifier ignored since `D' is the default (see `U') ldd /build/lua-cqueues-20171014/5.2-cqueues/_cqueues.so linux-vdso.so.1 (0x00007ffd0e724000) libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007fcf01528000) libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007fcf01238000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fcf01210000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcf01048000) /lib64/ld-linux-x86-64.so.2 (0x00007fcf01620000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fcf01040000) Target build made Making target build for debian/lua5.3.dh-lua.conf libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.3 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.3-cqueues/src/socket.lo src/socket.c In file included from src/socket.c:48: src/lib/socket.h:142:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/socket.c:48: src/lib/socket.h:234:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h:266:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'af_len': src/lib/socket.h:297:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:321:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addr': src/lib/socket.h:335:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addrlen': src/lib/socket.h:356:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:388:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ In file included from src/socket.c:50: src/lib/dns.h:746:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/socket.c:52: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/socket.c:76:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_SSL_CTX_UP_REF ^~~~~~~~~~~~~~~~~~~ src/socket.c:80:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_SSL_UP_REF ^~~~~~~~~~~~~~~ src/socket.c: In function 'lso_checkrcvop': src/socket.c:1908:9: warning: missing initializer for field '({anonymous})' of 'struct lso_rcvop' [-Wmissing-field-initializers] struct lso_rcvop op = { index, LSO_NONE, mode }; ^~~~~~~~~ src/socket.c:1903:2: note: '({anonymous})' declared here }; ^ src/socket.c: In function 'lso_recvfd2': src/socket.c:2435:20: warning: unused variable 'opts' [-Wunused-variable] struct so_options opts; ^~~~ src/socket.c: In function 'lso_fill': src/socket.c:1704:17: warning: this statement may fall through [-Wimplicit-fallthrough=] S->ibuf.eof = 1; ~~~~~~~~~~~~^~~ src/socket.c:1705:4: note: here default: ^~~~~~~ In file included from src/socket.c:52: At top level: src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.3 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.3-cqueues/src/dns.lo src/dns.c In file included from src/dns.c:43: src/lib/dns.h:746:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/dns.c:44: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.3 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.3-cqueues/src/cqueues.lo src/cqueues.c In file included from src/cqueues.c:51: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ In file included from src/cqueues.h:43, from src/cqueues.c:51: src/cqueues.c: In function 'auxlib_tostringk': src/../vendor/compat53/c-api/compat-5.3.h:410:40: warning: unused parameter 'status' [-Wunused-parameter] static int (_name)(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/cqueues.c:813:1: note: in expansion of macro 'LUA_KFUNCTION' LUA_KFUNCTION(auxlib_tostringk) { ^~~~~~~~~~~~~ src/../vendor/compat53/c-api/compat-5.3.h:410:61: warning: unused parameter 'ctx' [-Wunused-parameter] static int (_name)(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/cqueues.c:813:1: note: in expansion of macro 'LUA_KFUNCTION' LUA_KFUNCTION(auxlib_tostringk) { ^~~~~~~~~~~~~ src/cqueues.c: In function 'cqueue_resume': src/cqueues.c:2041:34: warning: missing initializer for field 'running' of 'struct stackinfo' [-Wmissing-field-initializers] cstack_push(Q->cstack, &(struct stackinfo){ Q, L, I->self, T->L }); ^~~~~~~~~ src/cqueues.c:1207:20: note: 'running' declared here struct stackinfo *running; /* next running cqueue object in call stack */ ^~~~~~~ In file included from src/cqueues.h:43, from src/cqueues.c:51: src/cqueues.c: In function 'cqueue_step_cont': src/../vendor/compat53/c-api/compat-5.3.h:410:40: warning: unused parameter 'status' [-Wunused-parameter] static int (_name)(lua_State *L, int status, lua_KContext ctx) ~~~~^~~~~~ src/cqueues.c:2194:1: note: in expansion of macro 'LUA_KFUNCTION' LUA_KFUNCTION(cqueue_step_cont) { ^~~~~~~~~~~~~ src/../vendor/compat53/c-api/compat-5.3.h:410:61: warning: unused parameter 'ctx' [-Wunused-parameter] static int (_name)(lua_State *L, int status, lua_KContext ctx) ~~~~~~~~~~~~~^~~ src/cqueues.c:2194:1: note: in expansion of macro 'LUA_KFUNCTION' LUA_KFUNCTION(cqueue_step_cont) { ^~~~~~~~~~~~~ src/cqueues.c: In function 'cqueue_wrap': src/cqueues.c:2337:11: warning: unused variable 'i' [-Wunused-variable] int top, i, error; ^ src/cqueues.c: In function 'cstack_cancel': src/cqueues.c:2784:17: warning: unused variable 'Q' [-Wunused-variable] struct cqueue *Q; ^ In file included from src/cqueues.c:51: At top level: src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.3 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.3-cqueues/src/errno.lo src/errno.c In file included from src/errno.c:34: src/lib/dns.h:746:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/errno.c:35: src/lib/socket.h:142:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/errno.c:35: src/lib/socket.h:234:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h:266:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'af_len': src/lib/socket.h:297:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:321:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addr': src/lib/socket.h:335:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addrlen': src/lib/socket.h:356:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:388:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ In file included from src/errno.c:37: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.3 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.3-cqueues/src/signal.lo src/signal.c In file included from src/signal.c:44: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/signal.c: In function 'signal_features': src/signal.c:73:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_EVFILT_SIGNAL ^~~~~~~~~~~~~~~~~~~~ src/signal.c:73:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/signal.c:79:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_KQUEUE ^~~~~~~~~~~ src/signal.c:82:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_KQUEUE1 ^~~~~~~~~~~~ src/signal.c: In function 'sfd_preinit': src/signal.c:128:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_SIGNALFD || ENABLE_EVFILT_SIGNAL ^~~~~~~~~~~~~~~~~~~~ src/signal.c:128:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/signal.c:44: At top level: src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.3 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.3-cqueues/src/thread.lo src/thread.c In file included from src/thread.c:42: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/thread.c:85:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_PTHREAD_MUTEX_ROBUST ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c: In function 'hdl_init': src/thread.c:140:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_PTHREAD_MUTEX_ROBUST ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c: In function 'hdl_destroy': src/thread.c:170:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_PTHREAD_MUTEX_ROBUST ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c: In function 'hdl_hold': src/thread.c:180:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_PTHREAD_MUTEX_ROBUST ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c: In function 'hdl_isheld': src/thread.c:192:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_PTHREAD_MUTEX_ROBUST ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c: In function 'ct_setfarg': src/thread.c:481:22: warning: overflow in conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-Woverflow] arg->iscfunction = 1; ^ src/thread.c: In function 'ct_start': src/thread.c:628:22: warning: overflow in conversion from 'int' to 'signed char:1' changes value from '1' to '-1' [-Woverflow] arg->isinteger = 1; ^ src/thread.c: In function 'ct_init': src/thread.c:552:3: warning: this statement may fall through [-Wimplicit-fallthrough=] hdl_destroy(&ct->handle); ^~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c:553:2: note: here case 3: ^~~~ src/thread.c:554:3: warning: this statement may fall through [-Wimplicit-fallthrough=] pthread_attr_destroy(&ct->attr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c:555:2: note: here case 2: ^~~~ src/thread.c:556:3: warning: this statement may fall through [-Wimplicit-fallthrough=] pthread_cond_destroy(&ct->cond); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/thread.c:557:2: note: here case 1: ^~~~ At top level: src/thread.c:877:22: warning: 'ct_selfid' defined but not used [-Wunused-function] static unsigned long ct_selfid(void) { ^~~~~~~~~ src/thread.c:859:13: warning: 'ct_lockssl' defined but not used [-Wunused-function] static void ct_lockssl(int mode, int type, const char *file NOTUSED, int line NOTUSED) { ^~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.3 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.3-cqueues/src/notify.lo src/notify.c In file included from src/notify.c:29: src/cqueues.h:485:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.3 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.3-cqueues/src/lib/socket.lo src/lib/socket.c In file included from src/lib/socket.c:61: src/lib/dns.h:746:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/lib/socket.c:62: src/lib/socket.h:142:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from src/lib/socket.c:62: src/lib/socket.h:234:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h:266:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'af_len': src/lib/socket.h:297:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:321:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addr': src/lib/socket.h:335:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: In function 'sa_addrlen': src/lib/socket.h:356:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.h: At top level: src/lib/socket.h:388:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.c:145:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_CTRL_SET_CONNECTED_2ARY ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lib/socket.c:150:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_SET_INIT ^~~~~~~~~~~~~~~~~ src/lib/socket.c:154:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_SET_SHUTDOWN ^~~~~~~~~~~~~~~~~~~~~ src/lib/socket.c:158:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_SET_DATA ^~~~~~~~~~~~~~~~~ src/lib/socket.c:162:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_GET_DATA ^~~~~~~~~~~~~~~~~ src/lib/socket.c:166:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_BIO_UP_REF ^~~~~~~~~~~~~~~ src/lib/socket.c:170:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_SSL_IS_SERVER ^~~~~~~~~~~~~~~~~~ src/lib/socket.c:200:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_SSL_UP_REF ^~~~~~~~~~~~~~~ src/lib/socket.c: In function 'sa_ntop': src/lib/socket.c:575:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.c: In function 'so_bind': src/lib/socket.c:814:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SA_UNIX ^~~~~~~ src/lib/socket.c: In function 'so_accept': src/lib/socket.c:2113:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_ACCEPT4 && defined SOCK_CLOEXEC ^~~~~~~~~~~~ src/lib/socket.c: At top level: src/lib/socket.c:2522:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if !HAVE_OPENSSL11_API ^~~~~~~~~~~~~~~~~~ src/lib/socket.c:229:13: warning: 'so_trace' declared 'static' but never defined [-Wunused-function] static void so_trace(enum so_trace, int, const struct addrinfo *, ...); ^~~~~~~~ src/lib/socket.c: In function 'so_starttls_': src/lib/socket.c:1573:16: warning: this statement may fall through [-Wimplicit-fallthrough=] so->ssl.state++; ~~~~~~~~~~~~~^~ src/lib/socket.c:1575:2: note: here case 1: ^~~~ src/lib/socket.c:1590:16: warning: this statement may fall through [-Wimplicit-fallthrough=] so->ssl.state++; ~~~~~~~~~~~~~^~ src/lib/socket.c:1591:2: note: here case 2: ^~~~ src/lib/socket.c:1601:16: warning: this statement may fall through [-Wimplicit-fallthrough=] so->ssl.state++; ~~~~~~~~~~~~~^~ src/lib/socket.c:1602:2: note: here case 3: ^~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.3 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.3-cqueues/src/lib/dns.lo src/lib/dns.c In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:194, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed/limits.h:34, from src/lib/dns.c:41: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from src/lib/dns.c:80: src/lib/dns.h:746:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ src/lib/dns.c:213:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_STATIC_ASSERT ^~~~~~~~~~~~~~~~~~ src/lib/dns.c:383:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE___ATOMIC_FETCH_ADD && __GCC_ATOMIC_LONG_LOCK_FREE == 2 ^~~~~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:392:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE___ATOMIC_FETCH_SUB && __GCC_ATOMIC_LONG_LOCK_FREE == 2 ^~~~~~~~~~~~~~~~~~~~~~~ src/lib/dns.c: In function 'dns_af_len': src/lib/dns.c:788:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if DNS_HAVE_SOCKADDR_UN ^~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:788:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/lib/dns.c: At top level: src/lib/dns.c:843:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if DNS_HAVE_SOCKADDR_UN ^~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:843:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/lib/dns.c: In function 'dns_sa_path': src/lib/dns.c:849:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if DNS_HAVE_SOCKADDR_UN ^~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:849:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/lib/dns.c: In function 'dns_sa_cmp': src/lib/dns.c:909:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if DNS_HAVE_SOCKADDR_UN ^~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:909:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/lib/dns.c: In function 'dns_socket': src/lib/dns.c:6134:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_SOCK_CLOEXEC ^~~~~~~~~~~~~~~~~ src/lib/dns.c:6137:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_SOCK_NONBLOCK ^~~~~~~~~~~~~~~~~~ src/lib/dns.c:6143:25: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if defined F_SETFD && !HAVE_SOCK_CLOEXEC ^~~~~~~~~~~~~~~~~ src/lib/dns.c:6148:28: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if defined O_NONBLOCK && !HAVE_SOCK_NONBLOCK ^~~~~~~~~~~~~~~~~~ src/lib/dns.c:6206:26: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if (defined F_SETFD && !HAVE_SOCK_CLOEXEC) || (defined O_NONBLOCK && !HAVE_SOCK_NONBLOCK) ^~~~~~~~~~~~~~~~~ src/lib/dns.c:6206:72: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if (defined F_SETFD && !HAVE_SOCK_CLOEXEC) || (defined O_NONBLOCK && !HAVE_SOCK_NONBLOCK) ^~~~~~~~~~~~~~~~~~ src/lib/dns.c: In function 'dns_so_check': src/lib/dns.c:6597:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6598:2: note: here case DNS_SO_UDP_CONN: ^~~~ src/lib/dns.c:6602:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6603:2: note: here case DNS_SO_UDP_SEND: ^~~~ src/lib/dns.c:6610:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6611:2: note: here case DNS_SO_UDP_RECV: ^~~~ src/lib/dns.c:6624:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6625:2: note: here case DNS_SO_UDP_DONE: ^~~~ src/lib/dns.c:6629:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6630:2: note: here case DNS_SO_TCP_INIT: ^~~~ src/lib/dns.c:6643:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6644:2: note: here case DNS_SO_TCP_CONN: ^~~~ src/lib/dns.c:6650:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6651:2: note: here case DNS_SO_TCP_SEND: ^~~~ src/lib/dns.c:6655:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6656:2: note: here case DNS_SO_TCP_RECV: ^~~~ src/lib/dns.c:6660:12: warning: this statement may fall through [-Wimplicit-fallthrough=] so->state++; ~~~~~~~~~^~ src/lib/dns.c:6661:2: note: here case DNS_SO_TCP_DONE: ^~~~ src/lib/dns.c: In function 'dns_res_exec': src/lib/dns.c:7271:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7272:2: note: here case DNS_R_GLUE: ^~~~ src/lib/dns.c:7385:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7386:2: note: here case DNS_R_SUBMIT: ^~~~ src/lib/dns.c:7390:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7391:2: note: here case DNS_R_CHECK: ^~~~ src/lib/dns.c:7395:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7396:2: note: here case DNS_R_FETCH: ^~~~ src/lib/dns.c:7420:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7421:2: note: here case DNS_R_SEARCH: ^~~~ src/lib/dns.c:7432:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7433:2: note: here case DNS_R_HINTS: ^~~~ src/lib/dns.c:7437:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7438:2: note: here case DNS_R_ITERATE: ^~~~ src/lib/dns.c:7446:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7447:2: note: here case DNS_R_FOREACH_NS: ^~~~ src/lib/dns.c:7491:24: warning: this statement may fall through [-Wimplicit-fallthrough=] case DNS_R_FOREACH_A: { ^ src/lib/dns.c:7536:2: note: here case DNS_R_QUERY_A: ^~~~ src/lib/dns.c:7638:11: warning: this statement may fall through [-Wimplicit-fallthrough=] F->state++; ~~~~~~~~^~ src/lib/dns.c:7639:2: note: here case DNS_R_SMART0_A: ^~~~ src/lib/dns.c: In function 'dns_ai_nextent': src/lib/dns.c:8283:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8284:2: note: here case DNS_AI_S_NEXTAF: ^~~~ src/lib/dns.c:8288:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8289:2: note: here case DNS_AI_S_NUMERIC: ^~~~ src/lib/dns.c:8311:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8312:2: note: here case DNS_AI_S_SUBMIT: ^~~~ src/lib/dns.c:8318:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8319:2: note: here case DNS_AI_S_CHECK: ^~~~ src/lib/dns.c:8323:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8324:2: note: here case DNS_AI_S_FETCH: ^~~~ src/lib/dns.c:8346:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8347:2: note: here case DNS_AI_S_FOREACH_I: ^~~~ src/lib/dns.c:8380:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8381:2: note: here case DNS_AI_S_INIT_G: ^~~~ src/lib/dns.c:8384:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8385:2: note: here case DNS_AI_S_ITERATE_G: ^~~~ src/lib/dns.c:8392:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8393:2: note: here case DNS_AI_S_FOREACH_G: ^~~~ src/lib/dns.c:8416:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8417:2: note: here case DNS_AI_S_CHECK_G: ^~~~ src/lib/dns.c:8421:12: warning: this statement may fall through [-Wimplicit-fallthrough=] ai->state++; ~~~~~~~~~^~ src/lib/dns.c:8422:2: note: here case DNS_AI_S_FETCH_G: ^~~~ src/lib/dns.c: In function 'dns_so_check': src/lib/dns.c:6528:17: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds] so->query->data[-2] = 0xff & (so->query->end >> 8); ~~~~~~~~~~~~~~~^~~~ src/lib/dns.c:6529:17: warning: array subscript -1 is below array bounds of 'unsigned char[1]' [-Warray-bounds] so->query->data[-1] = 0xff & (so->query->end >> 0); ~~~~~~~~~~~~~~~^~~~ src/lib/dns.c:6531:9: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds] qsrc = &so->query->data[-2] + so->qout; ^~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:6557:10: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds] asrc = &so->answer->data[-2]; ^~~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:6568:18: warning: array subscript -2 is below array bounds of 'unsigned char[1]' [-Warray-bounds] alen = ((0xff & so->answer->data[-2]) << 8) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/lib/dns.c:6569:42: warning: array subscript -1 is below array bounds of 'unsigned char[1]' [-Warray-bounds] | ((0xff & so->answer->data[-1]) << 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.3 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.3-cqueues/src/lib/kpoll.lo src/lib/kpoll.c src/lib/kpoll.c: In function 'alert_init': src/lib/kpoll.c:390:6: warning: unused variable 'error' [-Wunused-variable] int error; ^~~~~ At top level: src/lib/kpoll.c:434:12: warning: 'kpoll_init' defined but not used [-Wunused-function] static int kpoll_init(struct kpoll *kp) { ^~~~~~~~~~ src/lib/kpoll.c:342:12: warning: 'kpoll_wait' defined but not used [-Wunused-function] static int kpoll_wait(struct kpoll *kp, int timeout) { ^~~~~~~~~~ src/lib/kpoll.c:298:12: warning: 'kpoll_alert' defined but not used [-Wunused-function] static int kpoll_alert(struct kpoll *kp) { ^~~~~~~~~~~ src/lib/kpoll.c:291:13: warning: 'kpoll_del' defined but not used [-Wunused-function] static void kpoll_del(struct kpoll *kp, struct kpollfd *fd) { ^~~~~~~~~ src/lib/kpoll.c:193:24: warning: 'kpoll_next' defined but not used [-Wunused-function] static struct kpollfd *kpoll_next(struct kpoll *kp) { ^~~~~~~~~~ src/lib/kpoll.c:101:12: warning: 'setcloexec' defined but not used [-Wunused-function] static int setcloexec(int fd) { ^~~~~~~~~~ src/lib/kpoll.c:86:12: warning: 'setnonblock' defined but not used [-Wunused-function] static int setnonblock(int fd) { ^~~~~~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.3 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -o /build/lua-cqueues-20171014/5.3-cqueues/src/lib/notify.lo src/lib/notify.c src/lib/notify.c: In function 'notify_features': src/lib/notify.c:109:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_KQUEUE ^~~~~~~~~~~ src/lib/notify.c:112:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_KQUEUE1 ^~~~~~~~~~~~ src/lib/notify.c:121:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_O_CLOEXEC ^~~~~~~~~~~~~~ src/lib/notify.c:124:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_IN_CLOEXEC ^~~~~~~~~~~~~~~ src/lib/notify.c: In function 'nfy_openfd': src/lib/notify.c:262:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_O_CLOEXEC ^~~~~~~~~~~~~~ src/lib/notify.c:266:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_O_DIRECTORY ^~~~~~~~~~~~~~~~ src/lib/notify.c: In function 'notify_opendir': src/lib/notify.c:541:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_INOTIFY_INIT1 && HAVE_IN_NONBLOCK && HAVE_IN_CLOEXEC ^~~~~~~~~~~~~~~~~~ src/lib/notify.c:541:27: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_INOTIFY_INIT1 && HAVE_IN_NONBLOCK && HAVE_IN_CLOEXEC ^~~~~~~~~~~~~~~~ src/lib/notify.c:541:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if HAVE_INOTIFY_INIT1 && HAVE_IN_NONBLOCK && HAVE_IN_CLOEXEC ^~~~~~~~~~~~~~~ src/lib/notify.c: In function 'notify_add': src/lib/notify.c:1108:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE_KQUEUE ^~~~~~~~~~~~~ libtool --silent --tag=CC --mode=link cc \ -rpath /usr//lib/x86_64-linux-gnu -version-info 0:0:0 -Wl,--no-add-needed \ -o /build/lua-cqueues-20171014/5.3-cqueues/liblua5.3-cqueues.la \ /build/lua-cqueues-20171014/5.3-cqueues/src/socket.lo /build/lua-cqueues-20171014/5.3-cqueues/src/dns.lo /build/lua-cqueues-20171014/5.3-cqueues/src/cqueues.lo /build/lua-cqueues-20171014/5.3-cqueues/src/errno.lo /build/lua-cqueues-20171014/5.3-cqueues/src/signal.lo /build/lua-cqueues-20171014/5.3-cqueues/src/thread.lo /build/lua-cqueues-20171014/5.3-cqueues/src/notify.lo /build/lua-cqueues-20171014/5.3-cqueues/src/lib/socket.lo /build/lua-cqueues-20171014/5.3-cqueues/src/lib/dns.lo /build/lua-cqueues-20171014/5.3-cqueues/src/lib/kpoll.lo /build/lua-cqueues-20171014/5.3-cqueues/src/lib/notify.lo \ -Wl,-z,relro -Wl,--as-needed -lssl -lcrypto -lpthread copying selected object files to avoid basename conflicts... ar: `u' modifier ignored since `D' is the default (see `U') ldd /build/lua-cqueues-20171014/5.3-cqueues/_cqueues.so linux-vdso.so.1 (0x00007ffca07fc000) libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f1abaf68000) libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f1abac78000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1abac50000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1abaa88000) /lib64/ld-linux-x86-64.so.2 (0x00007f1abb058000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1abaa80000) Target build made dh_auto_test -O--buildsystem=lua make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple test Making target test for debian/lua5.1.dh-lua.conf # tests Copying src/socket.lua src/errno.lua src/dns.hints.lua src/signal.lua src/condition.lua src/notify.lua src/dns.resolvers.lua src/dns.lua src/cqueues.lua src/dns.record.lua src/promise.lua src/dns.resolver.lua src/dns.config.lua src/socket.debug.lua src/dns.hosts.lua src/auxlib.lua src/thread.lua src/dns.packet.lua in /build/lua-cqueues-20171014/5.1-cqueues for test ********************** lua dynamic (5.1) ********* SKIPPED! ************************************************** libtool --silent --tag=CC --mode=link cc -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -Wl,--no-add-needed \ -o /build/lua-cqueues-20171014/5.1-cqueues/app-dynamic -I . -I /build/lua-cqueues-20171014/5.1-cqueues/ \ /usr/share/dh-lua/test/5.1/app.c /build/lua-cqueues-20171014/5.1-cqueues/liblua5.1-cqueues.la \ -Wl,-z,relro -Wl,--as-needed -lssl -lcrypto -lpthread -L/usr//lib/x86_64-linux-gnu -llua5.1 In file included from /build/lua-cqueues-20171014/5.1-cqueues/app.c.conf:4, from /usr/share/dh-lua/test/5.1/app.c:14: src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=execute -dlopen /build/lua-cqueues-20171014/5.1-cqueues/liblua5.1-cqueues.la \ ldd /build/lua-cqueues-20171014/5.1-cqueues/app-dynamic linux-vdso.so.1 (0x00007fffe1dfc000) liblua5.1-cqueues.so.0 => /build/lua-cqueues-20171014/5.1-cqueues/.libs/liblua5.1-cqueues.so.0 (0x00007f3b14690000) liblua5.1.so.0 => /usr//lib/x86_64-linux-gnu/liblua5.1.so.0 (0x00007f3b14460000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3b14290000) libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f3b141f8000) libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f3b13f08000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3b13ee0000) /lib64/ld-linux-x86-64.so.2 (0x00007f3b146f0000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3b13d58000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3b13d50000) ********************** app dynamic (5.1) ********* SKIPPED! ************************************************** libtool --silent --tag=CC --mode=link cc -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -Wl,--no-add-needed \ -static -o /build/lua-cqueues-20171014/5.1-cqueues/app-static -I . -I /build/lua-cqueues-20171014/5.1-cqueues/ \ /usr/share/dh-lua/test/5.1/app.c /build/lua-cqueues-20171014/5.1-cqueues/liblua5.1-cqueues.la \ -Wl,-z,relro -Wl,--as-needed -lssl -lcrypto -ldl -pthread -lpthread -L/usr//lib/x86_64-linux-gnu -llua5.1 -lm -ldl In file included from /build/lua-cqueues-20171014/5.1-cqueues/app.c.conf:4, from /usr/share/dh-lua/test/5.1/app.c:14: src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ ldd /build/lua-cqueues-20171014/5.1-cqueues/app-static linux-vdso.so.1 (0x00007fff5ef6c000) libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f3606ab8000) libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f36067c8000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f36067a0000) liblua5.1.so.0 => /usr/lib/x86_64-linux-gnu/liblua5.1.so.0 (0x00007f3606570000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f36063e8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3606220000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3606218000) /lib64/ld-linux-x86-64.so.2 (0x00007f3606b98000) *********************** app static (5.1) ********* SKIPPED! ************************************************** Target test made Making target test for debian/lua5.2.dh-lua.conf # tests Copying src/socket.lua src/errno.lua src/dns.hints.lua src/signal.lua src/condition.lua src/notify.lua src/dns.resolvers.lua src/dns.lua src/cqueues.lua src/dns.record.lua src/promise.lua src/dns.resolver.lua src/dns.config.lua src/socket.debug.lua src/dns.hosts.lua src/auxlib.lua src/thread.lua src/dns.packet.lua in /build/lua-cqueues-20171014/5.2-cqueues for test ********************** lua dynamic (5.2) ********* SKIPPED! ************************************************** libtool --silent --tag=CC --mode=link cc -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -Wl,--no-add-needed \ -o /build/lua-cqueues-20171014/5.2-cqueues/app-dynamic -I . -I /build/lua-cqueues-20171014/5.2-cqueues/ \ /usr/share/dh-lua/test/5.2/app.c /build/lua-cqueues-20171014/5.2-cqueues/liblua5.2-cqueues.la \ -Wl,-z,relro -Wl,--as-needed -lssl -lcrypto -lpthread -L/usr//lib/x86_64-linux-gnu -llua5.2 In file included from /build/lua-cqueues-20171014/5.2-cqueues/app.c.conf:4, from /usr/share/dh-lua/test/5.2/app.c:14: src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=execute -dlopen /build/lua-cqueues-20171014/5.2-cqueues/liblua5.2-cqueues.la \ ldd /build/lua-cqueues-20171014/5.2-cqueues/app-dynamic linux-vdso.so.1 (0x00007ffffcffc000) liblua5.2-cqueues.so.0 => /build/lua-cqueues-20171014/5.2-cqueues/.libs/liblua5.2-cqueues.so.0 (0x00007f8220c80000) liblua5.2.so.0 => /usr//lib/x86_64-linux-gnu/liblua5.2.so.0 (0x00007f8220a48000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8220878000) libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f82207e0000) libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f82204f0000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f82204c8000) /lib64/ld-linux-x86-64.so.2 (0x00007f8220ce0000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8220340000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8220338000) ********************** app dynamic (5.2) ********* SKIPPED! ************************************************** libtool --silent --tag=CC --mode=link cc -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -Wl,--no-add-needed \ -static -o /build/lua-cqueues-20171014/5.2-cqueues/app-static -I . -I /build/lua-cqueues-20171014/5.2-cqueues/ \ /usr/share/dh-lua/test/5.2/app.c /build/lua-cqueues-20171014/5.2-cqueues/liblua5.2-cqueues.la \ -Wl,-z,relro -Wl,--as-needed -lssl -lcrypto -ldl -pthread -lpthread -L/usr//lib/x86_64-linux-gnu -llua5.2 -lm -ldl In file included from /build/lua-cqueues-20171014/5.2-cqueues/app.c.conf:4, from /usr/share/dh-lua/test/5.2/app.c:14: src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ ldd /build/lua-cqueues-20171014/5.2-cqueues/app-static linux-vdso.so.1 (0x00007ffd7810c000) libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007eff4b710000) libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007eff4b420000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007eff4b3f8000) liblua5.2.so.0 => /usr/lib/x86_64-linux-gnu/liblua5.2.so.0 (0x00007eff4b1c0000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007eff4b038000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007eff4ae70000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007eff4ae68000) /lib64/ld-linux-x86-64.so.2 (0x00007eff4b7f0000) *********************** app static (5.2) ********* SKIPPED! ************************************************** Target test made Making target test for debian/lua5.3.dh-lua.conf # tests Copying src/socket.lua src/errno.lua src/dns.hints.lua src/signal.lua src/condition.lua src/notify.lua src/dns.resolvers.lua src/dns.lua src/cqueues.lua src/dns.record.lua src/promise.lua src/dns.resolver.lua src/dns.config.lua src/socket.debug.lua src/dns.hosts.lua src/auxlib.lua src/thread.lua src/dns.packet.lua in /build/lua-cqueues-20171014/5.3-cqueues for test ********************** lua dynamic (5.3) ********* SKIPPED! ************************************************** libtool --silent --tag=CC --mode=link cc -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.3 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -Wl,--no-add-needed \ -o /build/lua-cqueues-20171014/5.3-cqueues/app-dynamic -I . -I /build/lua-cqueues-20171014/5.3-cqueues/ \ /usr/share/dh-lua/test/5.3/app.c /build/lua-cqueues-20171014/5.3-cqueues/liblua5.3-cqueues.la \ -Wl,-z,relro -Wl,--as-needed -lssl -lcrypto -lpthread -L/usr//lib/x86_64-linux-gnu -llua5.3 In file included from /build/lua-cqueues-20171014/5.3-cqueues/app.c.conf:4, from /usr/share/dh-lua/test/5.3/app.c:14: src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ libtool --silent --tag=CC --mode=execute -dlopen /build/lua-cqueues-20171014/5.3-cqueues/liblua5.3-cqueues.la \ ldd /build/lua-cqueues-20171014/5.3-cqueues/app-dynamic linux-vdso.so.1 (0x00007fff75924000) liblua5.3-cqueues.so.0 => /build/lua-cqueues-20171014/5.3-cqueues/.libs/liblua5.3-cqueues.so.0 (0x00007f2d34f58000) liblua5.3.so.0 => /usr//lib/x86_64-linux-gnu/liblua5.3.so.0 (0x00007f2d34f18000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2d34d48000) libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f2d34cb0000) libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f2d349c0000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2d34998000) /lib64/ld-linux-x86-64.so.2 (0x00007f2d34fb0000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f2d34810000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2d34808000) ********************** app dynamic (5.3) ********* SKIPPED! ************************************************** libtool --silent --tag=CC --mode=link cc -g -O2 -ffile-prefix-map=/build/lua-cqueues-20171014=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.3 -I src/ -std=c99 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLUA_COMPAT_APIINTCASTS -DHAVE_CONFIG_H -Wall -Wextra -Wl,--no-add-needed \ -static -o /build/lua-cqueues-20171014/5.3-cqueues/app-static -I . -I /build/lua-cqueues-20171014/5.3-cqueues/ \ /usr/share/dh-lua/test/5.3/app.c /build/lua-cqueues-20171014/5.3-cqueues/liblua5.3-cqueues.la \ -Wl,-z,relro -Wl,--as-needed -lssl -lcrypto -ldl -pthread -lpthread -L/usr//lib/x86_64-linux-gnu -llua5.3 -lm -ldl In file included from /build/lua-cqueues-20171014/5.3-cqueues/app.c.conf:4, from /usr/share/dh-lua/test/5.3/app.c:14: src/cqueues.h:179:13: warning: 'cqs_openlibs' defined but not used [-Wunused-function] static void cqs_openlibs(lua_State *L) { ^~~~~~~~~~~~ ldd /build/lua-cqueues-20171014/5.3-cqueues/app-static linux-vdso.so.1 (0x00007ffe36ffc000) libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f7d49c48000) libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f7d49958000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7d49930000) liblua5.3.so.0 => /usr/lib/x86_64-linux-gnu/liblua5.3.so.0 (0x00007f7d498f0000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7d49768000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7d495a0000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7d49598000) /lib64/ld-linux-x86-64.so.2 (0x00007f7d49d28000) *********************** app static (5.3) ********* SKIPPED! ************************************************** Target test made fakeroot debian/rules binary dh binary --buildsystem=lua --with lua dh_testroot -O--buildsystem=lua dh_prep -O--buildsystem=lua dh_auto_install -O--buildsystem=lua make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple install /build/lua-cqueues-20171014/debian/tmp Making target install for debian/lua5.1.dh-lua.conf # .lua Installing src/socket.lua src/errno.lua src/dns.hints.lua src/signal.lua src/condition.lua src/notify.lua src/dns.resolvers.lua src/dns.lua src/cqueues.lua src/dns.record.lua src/promise.lua src/dns.resolver.lua src/dns.config.lua src/socket.debug.lua src/dns.hosts.lua src/auxlib.lua src/thread.lua src/dns.packet.lua in debian/tmp/usr//share/lua/5.1 # debian/substvars Filling in debian/lua-cqueues.substvars Adding new line: lua:Versions=5.1 5.2 5.3 Filling in debian/lua-cqueues-dev.substvars Adding new line: lua:Versions=5.1 5.2 5.3 Filling in debian/lua-cqueues.substvars Adding new line: lua:Provides=lua5.3-cqueues, lua5.2-cqueues, lua5.1-cqueues, Filling in debian/lua-cqueues-dev.substvars Adding new line: lua:Provides=lua5.3-cqueues-dev, lua5.2-cqueues-dev, lua5.1-cqueues-dev, # .so Installing liblua5.1-cqueues libtool: warning: remember to run 'libtool --finish /usr//lib/x86_64-linux-gnu' libtool --silent --tag=CC --finish debian/tmp/usr//lib/x86_64-linux-gnu Creating symlink _cqueues.so # .pc Installing lua5.1-cqueues.pc # .h Installing src/cqueues.h Target install made Making target install for debian/lua5.2.dh-lua.conf # .lua Installing src/socket.lua src/errno.lua src/dns.hints.lua src/signal.lua src/condition.lua src/notify.lua src/dns.resolvers.lua src/dns.lua src/cqueues.lua src/dns.record.lua src/promise.lua src/dns.resolver.lua src/dns.config.lua src/socket.debug.lua src/dns.hosts.lua src/auxlib.lua src/thread.lua src/dns.packet.lua in debian/tmp/usr//share/lua/5.2 # debian/substvars Filling in debian/lua-cqueues.substvars Skipping already existing line: lua:Versions=5.1 5.2 5.3 Filling in debian/lua-cqueues-dev.substvars Skipping already existing line: lua:Versions=5.1 5.2 5.3 Filling in debian/lua-cqueues.substvars Skipping already existing line: lua:Provides=lua5.3-cqueues, lua5.2-cqueues, lua5.1-cqueues, Filling in debian/lua-cqueues-dev.substvars Skipping already existing line: lua:Provides=lua5.3-cqueues-dev, lua5.2-cqueues-dev, lua5.1-cqueues-dev, # .so Installing liblua5.2-cqueues libtool: warning: remember to run 'libtool --finish /usr//lib/x86_64-linux-gnu' libtool --silent --tag=CC --finish debian/tmp/usr//lib/x86_64-linux-gnu Creating symlink _cqueues.so # .pc Installing lua5.2-cqueues.pc # .h Installing src/cqueues.h Target install made Making target install for debian/lua5.3.dh-lua.conf # .lua Installing src/socket.lua src/errno.lua src/dns.hints.lua src/signal.lua src/condition.lua src/notify.lua src/dns.resolvers.lua src/dns.lua src/cqueues.lua src/dns.record.lua src/promise.lua src/dns.resolver.lua src/dns.config.lua src/socket.debug.lua src/dns.hosts.lua src/auxlib.lua src/thread.lua src/dns.packet.lua in debian/tmp/usr//share/lua/5.3 # debian/substvars Filling in debian/lua-cqueues.substvars Skipping already existing line: lua:Versions=5.1 5.2 5.3 Filling in debian/lua-cqueues-dev.substvars Skipping already existing line: lua:Versions=5.1 5.2 5.3 Filling in debian/lua-cqueues.substvars Skipping already existing line: lua:Provides=lua5.3-cqueues, lua5.2-cqueues, lua5.1-cqueues, Filling in debian/lua-cqueues-dev.substvars Skipping already existing line: lua:Provides=lua5.3-cqueues-dev, lua5.2-cqueues-dev, lua5.1-cqueues-dev, # .so Installing liblua5.3-cqueues libtool: warning: remember to run 'libtool --finish /usr//lib/x86_64-linux-gnu' libtool --silent --tag=CC --finish debian/tmp/usr//lib/x86_64-linux-gnu Creating symlink _cqueues.so # .pc Installing lua5.3-cqueues.pc # .h Installing src/cqueues.h Target install made make[1]: Nothing to be done for '/build/lua-cqueues-20171014/debian/tmp'. dh_install -O--buildsystem=lua dh_lua -O--buildsystem=lua deduplicating cqueues.lua deduplicating cqueues.lua deduplicating cqueues/thread.lua deduplicating cqueues/thread.lua deduplicating cqueues/socket.lua deduplicating cqueues/socket.lua deduplicating cqueues/signal.lua deduplicating cqueues/signal.lua deduplicating cqueues/promise.lua deduplicating cqueues/promise.lua deduplicating cqueues/notify.lua deduplicating cqueues/notify.lua deduplicating cqueues/errno.lua deduplicating cqueues/errno.lua deduplicating cqueues/dns.lua deduplicating cqueues/dns.lua deduplicating cqueues/condition.lua deduplicating cqueues/condition.lua deduplicating cqueues/auxlib.lua deduplicating cqueues/auxlib.lua deduplicating cqueues/socket/debug.lua deduplicating cqueues/socket/debug.lua deduplicating cqueues/dns/resolvers.lua deduplicating cqueues/dns/resolvers.lua deduplicating cqueues/dns/resolver.lua deduplicating cqueues/dns/resolver.lua deduplicating cqueues/dns/record.lua deduplicating cqueues/dns/record.lua deduplicating cqueues/dns/packet.lua deduplicating cqueues/dns/packet.lua deduplicating cqueues/dns/hosts.lua deduplicating cqueues/dns/hosts.lua deduplicating cqueues/dns/hints.lua deduplicating cqueues/dns/hints.lua deduplicating cqueues/dns/config.lua deduplicating cqueues/dns/config.lua dh_installdocs -O--buildsystem=lua dh_installchangelogs -O--buildsystem=lua dh_installexamples -O--buildsystem=lua dh_installinit -O--buildsystem=lua dh_lintian -O--buildsystem=lua dh_perl -O--buildsystem=lua dh_link -O--buildsystem=lua dh_strip_nondeterminism -O--buildsystem=lua debian/rules override_dh_compress make[1]: Entering directory '/build/lua-cqueues-20171014' dh_compress -X.lua -X.cnf make[1]: Leaving directory '/build/lua-cqueues-20171014' dh_fixperms -O--buildsystem=lua dh_missing -O--buildsystem=lua dh_strip -O--buildsystem=lua dh_makeshlibs -O--buildsystem=lua dh_shlibdeps -O--buildsystem=lua dpkg-shlibdeps: warning: symbol lua_type used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.1-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_rawequal used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.1-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_isuserdata used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.1-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_newthread used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.1-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol luaL_checkoption used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.1-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol luaL_loadbuffer used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.1-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol luaL_optinteger used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.1-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_insert used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.1-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol luaL_checknumber used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.1-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_pushvalue used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.1-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: 75 other similar warnings have been skipped (use -v to see them all) dpkg-shlibdeps: warning: symbol lua_setmetatable used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.2-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_gettop used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.2-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_error used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.2-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_pushnil used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.2-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_rawsetp used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.2-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_dump used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.2-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol fmax used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.2-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_setfield used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.2-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_tointegerx used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.2-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol luaL_ref used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.2-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: 92 other similar warnings have been skipped (use -v to see them all) dpkg-shlibdeps: warning: symbol lua_getuservalue used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.3-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_rawset used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.3-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_pushboolean used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.3-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol luaL_loadbufferx used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.3-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_isstring used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.3-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol dlerror used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.3-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_gettable used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.3-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol luaL_buffinit used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.3-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_callk used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.3-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_touserdata used by debian/lua-cqueues/usr/lib/x86_64-linux-gnu/liblua5.3-cqueues.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: 91 other similar warnings have been skipped (use -v to see them all) dh_installdeb -O--buildsystem=lua dh_gencontrol -O--buildsystem=lua dpkg-gencontrol: warning: Depends field of package lua-cqueues-dev: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums -O--buildsystem=lua dh_builddeb -O--buildsystem=lua dpkg-deb: building package 'lua-cqueues-dev' in '../lua-cqueues-dev_20171014-1_amd64.deb'. dpkg-deb: building package 'lua-cqueues-dbgsym' in '../lua-cqueues-dbgsym_20171014-1_amd64.deb'. dpkg-deb: building package 'lua-cqueues' in '../lua-cqueues_20171014-1_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../lua-cqueues_20171014-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: user script /srv/workspace/pbuilder/26561/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/26561/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/26561 and its subdirectories I: Current time: Tue Aug 30 19:21:29 +14 2022 I: pbuilder-time-stamp: 1661836889