sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on gcc131.bak.milne.osuosl.org +==============================================================================+ | socks4-server 4.3.beta2-20 (s390x) Mon, 01 Jul 2019 02:45:36 +0000 | +==============================================================================+ Package: socks4-server Version: 4.3.beta2-20 Source Version: 4.3.beta2-20 Distribution: unstable Machine Architecture: amd64 Host Architecture: s390x Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/unstable-amd64-sbuild-d26650cf-f39a-4886-8e1b-70272423d68a' with '<>' +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Get:1 http://debian.oregonstate.edu/debian unstable InRelease [214 kB] Get:2 http://debian.oregonstate.edu/debian unstable/main Sources.diff/Index [27.9 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main amd64 Packages.diff/Index [27.9 kB] Get:4 http://debian.oregonstate.edu/debian unstable/main Sources 2019-06-30-0818.26.pdiff [951 B] Get:5 http://debian.oregonstate.edu/debian unstable/main Sources 2019-06-30-1425.57.pdiff [947 B] Get:6 http://debian.oregonstate.edu/debian unstable/main Sources 2019-06-30-2017.32.pdiff [1396 B] Get:6 http://debian.oregonstate.edu/debian unstable/main Sources 2019-06-30-2017.32.pdiff [1396 B] Get:7 http://debian.oregonstate.edu/debian unstable/main amd64 Packages 2019-06-30-0818.26.pdiff [1217 B] Get:8 http://debian.oregonstate.edu/debian unstable/main amd64 Packages 2019-06-30-1425.57.pdiff [986 B] Get:9 http://debian.oregonstate.edu/debian unstable/main amd64 Packages 2019-06-30-2017.32.pdiff [246 B] Get:9 http://debian.oregonstate.edu/debian unstable/main amd64 Packages 2019-06-30-2017.32.pdiff [246 B] Get:10 http://debian.oregonstate.edu/debian unstable/main s390x Packages [8005 kB] Fetched 8280 kB in 2s (4208 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Check APT --------- Checking available source versions... Download source files with APT ------------------------------ Reading package lists... Need to get 267 kB of source archives. Get:1 http://debian.oregonstate.edu/debian unstable/main socks4-server 4.3.beta2-20 (dsc) [1825 B] Get:2 http://debian.oregonstate.edu/debian unstable/main socks4-server 4.3.beta2-20 (tar) [246 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main socks4-server 4.3.beta2-20 (diff) [19.3 kB] Fetched 267 kB in 0s (5902 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/socks4-server-modo3q/socks4-server-4.3.beta2' with '<>' I: NOTICE: Log filtering will replace 'build/socks4-server-modo3q' with '<>' +------------------------------------------------------------------------------+ | Install crossbuild-essential | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: build-essential:amd64, fakeroot:amd64, crossbuild-essential-s390x:amd64 Filtered Build-Depends: build-essential:amd64, fakeroot:amd64, crossbuild-essential-s390x:amd64 dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-Lg4fdV/apt_archive/sbuild-build-depends-core-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy dpkg-scanpackages: info: Wrote 1 entries to output Packages file. Ign:1 copy:/<>/resolver-Lg4fdV/apt_archive ./ InRelease Get:2 copy:/<>/resolver-Lg4fdV/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-Lg4fdV/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-Lg4fdV/apt_archive ./ Sources [361 B] Get:5 copy:/<>/resolver-Lg4fdV/apt_archive ./ Packages [452 B] Fetched 1770 B in 0s (86.4 kB/s) Reading package lists... Reading package lists... Install core build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: binutils-s390x-linux-gnu cpp-8-s390x-linux-gnu cpp-s390x-linux-gnu cross-config crossbuild-essential-s390x dpkg-cross file g++-8-s390x-linux-gnu g++-s390x-linux-gnu gcc-8-cross-base gcc-8-s390x-linux-gnu gcc-8-s390x-linux-gnu-base gcc-s390x-linux-gnu libasan5-s390x-cross libatomic1-s390x-cross libc6-dev-s390x-cross libc6-s390x-cross libconfig-auto-perl libconfig-inifiles-perl libdebian-dpkgcross-perl libfile-homedir-perl libfile-which-perl libgcc-8-dev-s390x-cross libgcc1-s390x-cross libgomp1-s390x-cross libicu63 libio-string-perl libitm1-s390x-cross liblocale-gettext-perl libmagic-mgc libmagic1 libstdc++-8-dev-s390x-cross libstdc++6-s390x-cross libubsan1-s390x-cross libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml-simple-perl libxml2 libyaml-perl linux-libc-dev-s390x-cross sensible-utils ucf Suggested packages: binutils-doc gcc-8-locales cpp-doc binutils-multiarch g++-8-multilib-s390x-linux-gnu gcc-8-doc libstdc++6-8-dbg-s390x-cross gcc-8-multilib-s390x-linux-gnu libgcc1-dbg-s390x-cross libgomp1-dbg-s390x-cross libitm1-dbg-s390x-cross libatomic1-dbg-s390x-cross libasan5-dbg-s390x-cross liblsan0-dbg-s390x-cross libtsan0-dbg-s390x-cross libubsan1-dbg-s390x-cross libmpx2-dbg-s390x-cross libquadmath0-dbg-s390x-cross manpages-dev autoconf automake libtool flex bison gdb-s390x-linux-gnu gcc-doc libyaml-shell-perl Recommended packages: libwww-perl libxml-sax-expat-perl libyaml-libyaml-perl | libyaml-syck-perl The following NEW packages will be installed: binutils-s390x-linux-gnu cpp-8-s390x-linux-gnu cpp-s390x-linux-gnu cross-config crossbuild-essential-s390x dpkg-cross file g++-8-s390x-linux-gnu g++-s390x-linux-gnu gcc-8-cross-base gcc-8-s390x-linux-gnu gcc-8-s390x-linux-gnu-base gcc-s390x-linux-gnu libasan5-s390x-cross libatomic1-s390x-cross libc6-dev-s390x-cross libc6-s390x-cross libconfig-auto-perl libconfig-inifiles-perl libdebian-dpkgcross-perl libfile-homedir-perl libfile-which-perl libgcc-8-dev-s390x-cross libgcc1-s390x-cross libgomp1-s390x-cross libicu63 libio-string-perl libitm1-s390x-cross liblocale-gettext-perl libmagic-mgc libmagic1 libstdc++-8-dev-s390x-cross libstdc++6-s390x-cross libubsan1-s390x-cross libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml-simple-perl libxml2 libyaml-perl linux-libc-dev-s390x-cross sbuild-build-depends-core-dummy:s390x sensible-utils ucf 0 upgraded, 45 newly installed, 0 to remove and 0 not upgraded. Need to get 39.5 MB of archives. After this operation, 145 MB of additional disk space will be used. Get:1 copy:/<>/resolver-Lg4fdV/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [872 B] Get:2 http://debian.oregonstate.edu/debian unstable/main amd64 liblocale-gettext-perl amd64 1.07-3+b4 [18.9 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main amd64 sensible-utils all 0.0.12 [15.8 kB] Get:4 http://debian.oregonstate.edu/debian unstable/main amd64 libmagic-mgc amd64 1:5.35-4 [242 kB] Get:5 http://debian.oregonstate.edu/debian unstable/main amd64 libmagic1 amd64 1:5.35-4 [117 kB] Get:6 http://debian.oregonstate.edu/debian unstable/main amd64 file amd64 1:5.35-4 [66.3 kB] Get:7 http://debian.oregonstate.edu/debian unstable/main amd64 ucf all 3.0038+nmu1 [69.0 kB] Get:8 http://debian.oregonstate.edu/debian unstable/main amd64 binutils-s390x-linux-gnu amd64 2.31.1-16 [2127 kB] Get:9 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-8-s390x-linux-gnu-base amd64 8.3.0-7cross1 [191 kB] Get:10 http://debian.oregonstate.edu/debian unstable/main amd64 cpp-8-s390x-linux-gnu amd64 8.3.0-7cross1 [5931 kB] Get:11 http://debian.oregonstate.edu/debian unstable/main amd64 cpp-s390x-linux-gnu amd64 4:8.3.0-1 [16.5 kB] Get:12 http://debian.oregonstate.edu/debian unstable/main amd64 cross-config all 2.6.15-3 [39.9 kB] Get:13 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-8-cross-base all 8.3.0-7cross1 [186 kB] Get:14 http://debian.oregonstate.edu/debian unstable/main amd64 libc6-s390x-cross all 2.28-10cross2 [1310 kB] Get:15 http://debian.oregonstate.edu/debian unstable/main amd64 libgcc1-s390x-cross all 1:8.3.0-7cross1 [24.8 kB] Get:16 http://debian.oregonstate.edu/debian unstable/main amd64 libgomp1-s390x-cross all 8.3.0-7cross1 [67.6 kB] Get:17 http://debian.oregonstate.edu/debian unstable/main amd64 libitm1-s390x-cross all 8.3.0-7cross1 [26.4 kB] Get:18 http://debian.oregonstate.edu/debian unstable/main amd64 libatomic1-s390x-cross all 8.3.0-7cross1 [8084 B] Get:19 http://debian.oregonstate.edu/debian unstable/main amd64 libstdc++6-s390x-cross all 8.3.0-7cross1 [354 kB] Get:20 http://debian.oregonstate.edu/debian unstable/main amd64 libasan5-s390x-cross all 8.3.0-7cross1 [316 kB] Get:21 http://debian.oregonstate.edu/debian unstable/main amd64 libubsan1-s390x-cross all 8.3.0-7cross1 [113 kB] Get:22 http://debian.oregonstate.edu/debian unstable/main amd64 libgcc-8-dev-s390x-cross all 8.3.0-7cross1 [641 kB] Get:23 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-8-s390x-linux-gnu amd64 8.3.0-7cross1 [6366 kB] Get:24 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-s390x-linux-gnu amd64 4:8.3.0-1 [1456 B] Get:25 http://debian.oregonstate.edu/debian unstable/main amd64 linux-libc-dev-s390x-cross all 4.19.28-2cross2 [1243 kB] Get:26 http://debian.oregonstate.edu/debian unstable/main amd64 libc6-dev-s390x-cross all 2.28-10cross2 [2254 kB] Get:27 http://debian.oregonstate.edu/debian unstable/main amd64 libstdc++-8-dev-s390x-cross all 8.3.0-7cross1 [1483 kB] Get:28 http://debian.oregonstate.edu/debian unstable/main amd64 g++-8-s390x-linux-gnu amd64 8.3.0-7cross1 [6508 kB] Get:29 http://debian.oregonstate.edu/debian unstable/main amd64 g++-s390x-linux-gnu amd64 4:8.3.0-1 [1176 B] Get:30 http://debian.oregonstate.edu/debian unstable/main amd64 libconfig-inifiles-perl all 3.000001-1 [51.9 kB] Get:31 http://debian.oregonstate.edu/debian unstable/main amd64 libio-string-perl all 1.08-3 [12.3 kB] Get:32 http://debian.oregonstate.edu/debian unstable/main amd64 libicu63 amd64 63.2-2 [8301 kB] Get:33 http://debian.oregonstate.edu/debian unstable/main amd64 libxml2 amd64 2.9.4+dfsg1-7+b3 [687 kB] Get:34 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-namespacesupport-perl all 1.12-1 [14.8 kB] Get:35 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-sax-base-perl all 1.09-1 [20.4 kB] Get:36 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-sax-perl all 1.00+dfsg-1 [58.6 kB] Get:37 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-1 [344 kB] Get:38 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-simple-perl all 2.25-1 [72.0 kB] Get:39 http://debian.oregonstate.edu/debian unstable/main amd64 libyaml-perl all 1.27-1 [66.8 kB] Get:40 http://debian.oregonstate.edu/debian unstable/main amd64 libconfig-auto-perl all 0.44-1 [19.5 kB] Get:41 http://debian.oregonstate.edu/debian unstable/main amd64 libfile-which-perl all 1.23-1 [16.6 kB] Get:42 http://debian.oregonstate.edu/debian unstable/main amd64 libfile-homedir-perl all 1.004-1 [42.7 kB] Get:43 http://debian.oregonstate.edu/debian unstable/main amd64 libdebian-dpkgcross-perl all 2.6.15-3 [38.7 kB] Get:44 http://debian.oregonstate.edu/debian unstable/main amd64 dpkg-cross all 2.6.15-3 [49.3 kB] Get:45 http://debian.oregonstate.edu/debian unstable/main amd64 crossbuild-essential-s390x all 12.6 [6568 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 39.5 MB in 1s (58.1 MB/s) Selecting previously unselected package liblocale-gettext-perl. (Reading database ... 11954 files and directories currently installed.) Preparing to unpack .../00-liblocale-gettext-perl_1.07-3+b4_amd64.deb ... Unpacking liblocale-gettext-perl (1.07-3+b4) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../01-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../02-libmagic-mgc_1%3a5.35-4_amd64.deb ... Unpacking libmagic-mgc (1:5.35-4) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../03-libmagic1_1%3a5.35-4_amd64.deb ... Unpacking libmagic1:amd64 (1:5.35-4) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.35-4_amd64.deb ... Unpacking file (1:5.35-4) ... Selecting previously unselected package ucf. Preparing to unpack .../05-ucf_3.0038+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0038+nmu1) ... Selecting previously unselected package binutils-s390x-linux-gnu. Preparing to unpack .../06-binutils-s390x-linux-gnu_2.31.1-16_amd64.deb ... Unpacking binutils-s390x-linux-gnu (2.31.1-16) ... Selecting previously unselected package gcc-8-s390x-linux-gnu-base:amd64. Preparing to unpack .../07-gcc-8-s390x-linux-gnu-base_8.3.0-7cross1_amd64.deb ... Unpacking gcc-8-s390x-linux-gnu-base:amd64 (8.3.0-7cross1) ... Selecting previously unselected package cpp-8-s390x-linux-gnu. Preparing to unpack .../08-cpp-8-s390x-linux-gnu_8.3.0-7cross1_amd64.deb ... Unpacking cpp-8-s390x-linux-gnu (8.3.0-7cross1) ... Selecting previously unselected package cpp-s390x-linux-gnu. Preparing to unpack .../09-cpp-s390x-linux-gnu_4%3a8.3.0-1_amd64.deb ... Unpacking cpp-s390x-linux-gnu (4:8.3.0-1) ... Selecting previously unselected package cross-config. Preparing to unpack .../10-cross-config_2.6.15-3_all.deb ... Unpacking cross-config (2.6.15-3) ... Selecting previously unselected package gcc-8-cross-base. Preparing to unpack .../11-gcc-8-cross-base_8.3.0-7cross1_all.deb ... Unpacking gcc-8-cross-base (8.3.0-7cross1) ... Selecting previously unselected package libc6-s390x-cross. Preparing to unpack .../12-libc6-s390x-cross_2.28-10cross2_all.deb ... Unpacking libc6-s390x-cross (2.28-10cross2) ... Selecting previously unselected package libgcc1-s390x-cross. Preparing to unpack .../13-libgcc1-s390x-cross_1%3a8.3.0-7cross1_all.deb ... Unpacking libgcc1-s390x-cross (1:8.3.0-7cross1) ... Selecting previously unselected package libgomp1-s390x-cross. Preparing to unpack .../14-libgomp1-s390x-cross_8.3.0-7cross1_all.deb ... Unpacking libgomp1-s390x-cross (8.3.0-7cross1) ... Selecting previously unselected package libitm1-s390x-cross. Preparing to unpack .../15-libitm1-s390x-cross_8.3.0-7cross1_all.deb ... Unpacking libitm1-s390x-cross (8.3.0-7cross1) ... Selecting previously unselected package libatomic1-s390x-cross. Preparing to unpack .../16-libatomic1-s390x-cross_8.3.0-7cross1_all.deb ... Unpacking libatomic1-s390x-cross (8.3.0-7cross1) ... Selecting previously unselected package libstdc++6-s390x-cross. Preparing to unpack .../17-libstdc++6-s390x-cross_8.3.0-7cross1_all.deb ... Unpacking libstdc++6-s390x-cross (8.3.0-7cross1) ... Selecting previously unselected package libasan5-s390x-cross. Preparing to unpack .../18-libasan5-s390x-cross_8.3.0-7cross1_all.deb ... Unpacking libasan5-s390x-cross (8.3.0-7cross1) ... Selecting previously unselected package libubsan1-s390x-cross. Preparing to unpack .../19-libubsan1-s390x-cross_8.3.0-7cross1_all.deb ... Unpacking libubsan1-s390x-cross (8.3.0-7cross1) ... Selecting previously unselected package libgcc-8-dev-s390x-cross. Preparing to unpack .../20-libgcc-8-dev-s390x-cross_8.3.0-7cross1_all.deb ... Unpacking libgcc-8-dev-s390x-cross (8.3.0-7cross1) ... Selecting previously unselected package gcc-8-s390x-linux-gnu. Preparing to unpack .../21-gcc-8-s390x-linux-gnu_8.3.0-7cross1_amd64.deb ... Unpacking gcc-8-s390x-linux-gnu (8.3.0-7cross1) ... Selecting previously unselected package gcc-s390x-linux-gnu. Preparing to unpack .../22-gcc-s390x-linux-gnu_4%3a8.3.0-1_amd64.deb ... Unpacking gcc-s390x-linux-gnu (4:8.3.0-1) ... Selecting previously unselected package linux-libc-dev-s390x-cross. Preparing to unpack .../23-linux-libc-dev-s390x-cross_4.19.28-2cross2_all.deb ... Unpacking linux-libc-dev-s390x-cross (4.19.28-2cross2) ... Selecting previously unselected package libc6-dev-s390x-cross. Preparing to unpack .../24-libc6-dev-s390x-cross_2.28-10cross2_all.deb ... Unpacking libc6-dev-s390x-cross (2.28-10cross2) ... Selecting previously unselected package libstdc++-8-dev-s390x-cross. Preparing to unpack .../25-libstdc++-8-dev-s390x-cross_8.3.0-7cross1_all.deb ... Unpacking libstdc++-8-dev-s390x-cross (8.3.0-7cross1) ... Selecting previously unselected package g++-8-s390x-linux-gnu. Preparing to unpack .../26-g++-8-s390x-linux-gnu_8.3.0-7cross1_amd64.deb ... Unpacking g++-8-s390x-linux-gnu (8.3.0-7cross1) ... Selecting previously unselected package g++-s390x-linux-gnu. Preparing to unpack .../27-g++-s390x-linux-gnu_4%3a8.3.0-1_amd64.deb ... Unpacking g++-s390x-linux-gnu (4:8.3.0-1) ... Selecting previously unselected package libconfig-inifiles-perl. Preparing to unpack .../28-libconfig-inifiles-perl_3.000001-1_all.deb ... Unpacking libconfig-inifiles-perl (3.000001-1) ... Selecting previously unselected package libio-string-perl. Preparing to unpack .../29-libio-string-perl_1.08-3_all.deb ... Unpacking libio-string-perl (1.08-3) ... Selecting previously unselected package libicu63:amd64. Preparing to unpack .../30-libicu63_63.2-2_amd64.deb ... Unpacking libicu63:amd64 (63.2-2) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../31-libxml2_2.9.4+dfsg1-7+b3_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libxml-namespacesupport-perl. Preparing to unpack .../32-libxml-namespacesupport-perl_1.12-1_all.deb ... Unpacking libxml-namespacesupport-perl (1.12-1) ... Selecting previously unselected package libxml-sax-base-perl. Preparing to unpack .../33-libxml-sax-base-perl_1.09-1_all.deb ... Unpacking libxml-sax-base-perl (1.09-1) ... Selecting previously unselected package libxml-sax-perl. Preparing to unpack .../34-libxml-sax-perl_1.00+dfsg-1_all.deb ... Unpacking libxml-sax-perl (1.00+dfsg-1) ... Selecting previously unselected package libxml-libxml-perl. Preparing to unpack .../35-libxml-libxml-perl_2.0134+dfsg-1_amd64.deb ... Unpacking libxml-libxml-perl (2.0134+dfsg-1) ... Selecting previously unselected package libxml-simple-perl. Preparing to unpack .../36-libxml-simple-perl_2.25-1_all.deb ... Unpacking libxml-simple-perl (2.25-1) ... Selecting previously unselected package libyaml-perl. Preparing to unpack .../37-libyaml-perl_1.27-1_all.deb ... Unpacking libyaml-perl (1.27-1) ... Selecting previously unselected package libconfig-auto-perl. Preparing to unpack .../38-libconfig-auto-perl_0.44-1_all.deb ... Unpacking libconfig-auto-perl (0.44-1) ... Selecting previously unselected package libfile-which-perl. Preparing to unpack .../39-libfile-which-perl_1.23-1_all.deb ... Unpacking libfile-which-perl (1.23-1) ... Selecting previously unselected package libfile-homedir-perl. Preparing to unpack .../40-libfile-homedir-perl_1.004-1_all.deb ... Unpacking libfile-homedir-perl (1.004-1) ... Selecting previously unselected package libdebian-dpkgcross-perl. Preparing to unpack .../41-libdebian-dpkgcross-perl_2.6.15-3_all.deb ... Unpacking libdebian-dpkgcross-perl (2.6.15-3) ... Selecting previously unselected package dpkg-cross. Preparing to unpack .../42-dpkg-cross_2.6.15-3_all.deb ... Unpacking dpkg-cross (2.6.15-3) ... Selecting previously unselected package crossbuild-essential-s390x. Preparing to unpack .../43-crossbuild-essential-s390x_12.6_all.deb ... Unpacking crossbuild-essential-s390x (12.6) ... Selecting previously unselected package sbuild-build-depends-core-dummy:s390x. Preparing to unpack .../44-sbuild-build-depends-core-dummy_0.invalid.0_s390x.deb ... Unpacking sbuild-build-depends-core-dummy:s390x (0.invalid.0) ... Setting up libconfig-inifiles-perl (3.000001-1) ... Setting up libfile-which-perl (1.23-1) ... Setting up binutils-s390x-linux-gnu (2.31.1-16) ... Setting up libmagic-mgc (1:5.35-4) ... Setting up gcc-8-cross-base (8.3.0-7cross1) ... Setting up libc6-s390x-cross (2.28-10cross2) ... Setting up gcc-8-s390x-linux-gnu-base:amd64 (8.3.0-7cross1) ... Setting up libatomic1-s390x-cross (8.3.0-7cross1) ... Setting up libmagic1:amd64 (1:5.35-4) ... Setting up libxml-namespacesupport-perl (1.12-1) ... Setting up file (1:5.35-4) ... Setting up libyaml-perl (1.27-1) ... Setting up libicu63:amd64 (63.2-2) ... Setting up libxml-sax-base-perl (1.09-1) ... Setting up libio-string-perl (1.08-3) ... Setting up linux-libc-dev-s390x-cross (4.19.28-2cross2) ... Setting up cross-config (2.6.15-3) ... Setting up cpp-8-s390x-linux-gnu (8.3.0-7cross1) ... Setting up libitm1-s390x-cross (8.3.0-7cross1) ... Setting up sensible-utils (0.0.12) ... Setting up libc6-dev-s390x-cross (2.28-10cross2) ... Setting up libfile-homedir-perl (1.004-1) ... Setting up libgomp1-s390x-cross (8.3.0-7cross1) ... Setting up libxml2:amd64 (2.9.4+dfsg1-7+b3) ... Setting up liblocale-gettext-perl (1.07-3+b4) ... Setting up libgcc1-s390x-cross (1:8.3.0-7cross1) ... Setting up cpp-s390x-linux-gnu (4:8.3.0-1) ... Setting up libstdc++6-s390x-cross (8.3.0-7cross1) ... Setting up libasan5-s390x-cross (8.3.0-7cross1) ... Setting up ucf (3.0038+nmu1) ... Setting up libubsan1-s390x-cross (8.3.0-7cross1) ... Setting up libxml-sax-perl (1.00+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libxml-libxml-perl (2.0134+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libgcc-8-dev-s390x-cross (8.3.0-7cross1) ... Setting up gcc-8-s390x-linux-gnu (8.3.0-7cross1) ... Setting up libxml-simple-perl (2.25-1) ... Setting up libstdc++-8-dev-s390x-cross (8.3.0-7cross1) ... Setting up g++-8-s390x-linux-gnu (8.3.0-7cross1) ... Setting up libconfig-auto-perl (0.44-1) ... Setting up gcc-s390x-linux-gnu (4:8.3.0-1) ... Setting up libdebian-dpkgcross-perl (2.6.15-3) ... Setting up g++-s390x-linux-gnu (4:8.3.0-1) ... Setting up dpkg-cross (2.6.15-3) ... Setting up crossbuild-essential-s390x (12.6) ... Setting up sbuild-build-depends-core-dummy:s390x (0.invalid.0) ... Processing triggers for libc-bin (2.28-10) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (s390x included in any) Setup apt archive ----------------- dpkg-deb: building package 'sbuild-build-depends-essential-dummy' in '/<>/resolver-Lg4fdV/apt_archive/sbuild-build-depends-essential-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-essential-dummy dpkg-scanpackages: info: Wrote 2 entries to output Packages file. Ign:1 copy:/<>/resolver-Lg4fdV/apt_archive ./ InRelease Get:2 copy:/<>/resolver-Lg4fdV/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-Lg4fdV/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-Lg4fdV/apt_archive ./ Sources [483 B] Get:5 copy:/<>/resolver-Lg4fdV/apt_archive ./ Packages [570 B] Fetched 2016 B in 0s (167 kB/s) Reading package lists... Reading package lists... Install essential build dependencies (apt-based resolver) --------------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-essential-dummy:s390x 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 840 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-Lg4fdV/apt_archive ./ sbuild-build-depends-essential-dummy 0.invalid.0 [840 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 840 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-essential-dummy:s390x. (Reading database ... 15053 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-essential-dummy_0.invalid.0_s390x.deb ... Unpacking sbuild-build-depends-essential-dummy:s390x (0.invalid.0) ... Setting up sbuild-build-depends-essential-dummy:s390x (0.invalid.0) ... +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: libc-dev, libstdc++-dev, debhelper (>= 4.2.0), libident-dev, libncurses5-dev Filtered Build-Depends: libc-dev, libstdc++-dev, debhelper (>= 4.2.0), libident-dev, libncurses5-dev dpkg-deb: building package 'sbuild-build-depends-socks4-server-dummy' in '/<>/resolver-Lg4fdV/apt_archive/sbuild-build-depends-socks4-server-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-essential-dummy sbuild-build-depends-socks4-server-dummy dpkg-scanpackages: info: Wrote 3 entries to output Packages file. Ign:1 copy:/<>/resolver-Lg4fdV/apt_archive ./ InRelease Get:2 copy:/<>/resolver-Lg4fdV/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-Lg4fdV/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-Lg4fdV/apt_archive ./ Sources [656 B] Get:5 copy:/<>/resolver-Lg4fdV/apt_archive ./ Packages [734 B] Fetched 2353 B in 0s (115 kB/s) Reading package lists... Reading package lists... Install socks4-server build dependencies (apt-based resolver) ------------------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism dwz gcc-8-base:s390x gettext gettext-base groff-base intltool-debian libarchive-zip-perl libasan5:s390x libatomic1:s390x libbsd0 libc6:s390x libc6-dev:s390x libcroco3 libelf1 libfile-stripnondeterminism-perl libgcc-8-dev:s390x libgcc1:s390x libglib2.0-0 libgomp1:s390x libident:s390x libident-dev:s390x libitm1:s390x libncurses-dev:s390x libncurses5-dev:s390x libncurses6 libncurses6:s390x libncursesw6:s390x libpipeline1 libsigsegv2 libstdc++-8-dev:s390x libstdc++6:s390x libtinfo6:s390x libtool libubsan1:s390x libuchardet0 linux-libc-dev:s390x m4 man-db po-debconf Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff glibc-doc:s390x libc-l10n:s390x locales:s390x manpages-dev:s390x ncurses-doc:s390x libstdc++-8-doc:s390x libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx libidn2-0:s390x libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libgpm2 libgpm2:s390x libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism dwz gcc-8-base:s390x gettext gettext-base groff-base intltool-debian libarchive-zip-perl libasan5:s390x libatomic1:s390x libbsd0 libc6:s390x libc6-dev:s390x libcroco3 libelf1 libfile-stripnondeterminism-perl libgcc-8-dev:s390x libgcc1:s390x libglib2.0-0 libgomp1:s390x libident:s390x libident-dev:s390x libitm1:s390x libncurses-dev:s390x libncurses5-dev:s390x libncurses6 libncurses6:s390x libncursesw6:s390x libpipeline1 libsigsegv2 libstdc++-8-dev:s390x libstdc++6:s390x libtinfo6:s390x libtool libubsan1:s390x libuchardet0 linux-libc-dev:s390x m4 man-db po-debconf sbuild-build-depends-socks4-server-dummy:s390x 0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded. Need to get 19.7 MB of archives. After this operation, 92.6 MB of additional disk space will be used. Get:1 copy:/<>/resolver-Lg4fdV/apt_archive ./ sbuild-build-depends-socks4-server-dummy 0.invalid.0 [896 B] Get:2 http://debian.oregonstate.edu/debian unstable/main amd64 libbsd0 amd64 0.9.1-2 [99.5 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main amd64 bsdmainutils amd64 11.1.2+b1 [191 kB] Get:4 http://debian.oregonstate.edu/debian unstable/main amd64 libuchardet0 amd64 0.0.6-3 [64.9 kB] Get:5 http://debian.oregonstate.edu/debian unstable/main amd64 groff-base amd64 1.22.4-3 [916 kB] Get:6 http://debian.oregonstate.edu/debian unstable/main amd64 libpipeline1 amd64 1.5.1-2 [31.2 kB] Get:7 http://debian.oregonstate.edu/debian unstable/main amd64 man-db amd64 2.8.5-2 [1274 kB] Get:8 http://debian.oregonstate.edu/debian unstable/main amd64 gettext-base amd64 0.19.8.1-9 [123 kB] Get:9 http://debian.oregonstate.edu/debian unstable/main amd64 libsigsegv2 amd64 2.12-2 [32.8 kB] Get:10 http://debian.oregonstate.edu/debian unstable/main amd64 m4 amd64 1.4.18-2 [203 kB] Get:11 http://debian.oregonstate.edu/debian unstable/main amd64 autoconf all 2.69-11 [341 kB] Get:12 http://debian.oregonstate.edu/debian unstable/main amd64 autotools-dev all 20180224.1 [77.0 kB] Get:13 http://debian.oregonstate.edu/debian unstable/main amd64 automake all 1:1.16.1-4 [771 kB] Get:14 http://debian.oregonstate.edu/debian unstable/main amd64 autopoint all 0.19.8.1-9 [434 kB] Get:15 http://debian.oregonstate.edu/debian unstable/main amd64 libtool all 2.4.6-10 [547 kB] Get:16 http://debian.oregonstate.edu/debian unstable/main amd64 dh-autoreconf all 19 [16.9 kB] Get:17 http://debian.oregonstate.edu/debian unstable/main amd64 libarchive-zip-perl all 1.64-1 [96.8 kB] Get:18 http://debian.oregonstate.edu/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get:19 http://debian.oregonstate.edu/debian unstable/main amd64 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get:20 http://debian.oregonstate.edu/debian unstable/main amd64 libelf1 amd64 0.176-1.1 [161 kB] Get:21 http://debian.oregonstate.edu/debian unstable/main amd64 dwz amd64 0.12-3 [78.0 kB] Get:22 http://debian.oregonstate.edu/debian unstable/main amd64 libglib2.0-0 amd64 2.58.3-2 [1259 kB] Get:23 http://debian.oregonstate.edu/debian unstable/main amd64 libcroco3 amd64 0.6.12-3 [145 kB] Get:24 http://debian.oregonstate.edu/debian unstable/main amd64 libncurses6 amd64 6.1+20181013-2 [102 kB] Get:25 http://debian.oregonstate.edu/debian unstable/main amd64 gettext amd64 0.19.8.1-9 [1303 kB] Get:26 http://debian.oregonstate.edu/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get:27 http://debian.oregonstate.edu/debian unstable/main amd64 po-debconf all 1.0.21 [248 kB] Get:28 http://debian.oregonstate.edu/debian unstable/main amd64 debhelper all 12.1.1 [1016 kB] Get:29 http://debian.oregonstate.edu/debian unstable/main s390x gcc-8-base s390x 8.3.0-7 [191 kB] Get:30 http://debian.oregonstate.edu/debian unstable/main s390x libgcc1 s390x 1:8.3.0-7 [24.7 kB] Get:31 http://debian.oregonstate.edu/debian unstable/main s390x libc6 s390x 2.28-10 [2505 kB] Get:32 http://debian.oregonstate.edu/debian unstable/main s390x libstdc++6 s390x 8.3.0-7 [391 kB] Get:33 http://debian.oregonstate.edu/debian unstable/main s390x libasan5 s390x 8.3.0-7 [320 kB] Get:34 http://debian.oregonstate.edu/debian unstable/main s390x libatomic1 s390x 8.3.0-7 [8176 B] Get:35 http://debian.oregonstate.edu/debian unstable/main s390x linux-libc-dev s390x 4.19.37-5 [1182 kB] Get:36 http://debian.oregonstate.edu/debian unstable/main s390x libc6-dev s390x 2.28-10 [2270 kB] Get:37 http://debian.oregonstate.edu/debian unstable/main s390x libgomp1 s390x 8.3.0-7 [68.9 kB] Get:38 http://debian.oregonstate.edu/debian unstable/main s390x libitm1 s390x 8.3.0-7 [26.7 kB] Get:39 http://debian.oregonstate.edu/debian unstable/main s390x libubsan1 s390x 8.3.0-7 [113 kB] Get:40 http://debian.oregonstate.edu/debian unstable/main s390x libgcc-8-dev s390x 8.3.0-7 [640 kB] Get:41 http://debian.oregonstate.edu/debian unstable/main s390x libident s390x 0.22-3.1 [12.2 kB] Get:42 http://debian.oregonstate.edu/debian unstable/main s390x libident-dev s390x 0.22-3.1 [8508 B] Get:43 http://debian.oregonstate.edu/debian unstable/main s390x libtinfo6 s390x 6.1+20181013-2 [321 kB] Get:44 http://debian.oregonstate.edu/debian unstable/main s390x libncurses6 s390x 6.1+20181013-2 [94.8 kB] Get:45 http://debian.oregonstate.edu/debian unstable/main s390x libncursesw6 s390x 6.1+20181013-2 [120 kB] Get:46 http://debian.oregonstate.edu/debian unstable/main s390x libncurses-dev s390x 6.1+20181013-2 [311 kB] Get:47 http://debian.oregonstate.edu/debian unstable/main s390x libncurses5-dev s390x 6.1+20181013-2 [940 B] Get:48 http://debian.oregonstate.edu/debian unstable/main s390x libstdc++-8-dev s390x 8.3.0-7 [1503 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 19.7 MB in 0s (59.5 MB/s) Selecting previously unselected package libbsd0:amd64. (Reading database ... 15053 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_amd64.deb ... Unpacking libbsd0:amd64 (0.9.1-2) ... 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_amd64.deb ... Unpacking groff-base (1.22.4-3) ... 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 gettext-base. Preparing to unpack .../06-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 .../07-libsigsegv2_2.12-2_amd64.deb ... Unpacking libsigsegv2:amd64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../08-m4_1.4.18-2_amd64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../09-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../10-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../11-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../12-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../13-libtool_2.4.6-10_all.deb ... Unpacking libtool (2.4.6-10) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../14-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../15-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 .../16-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 .../17-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 .../18-libelf1_0.176-1.1_amd64.deb ... Unpacking libelf1:amd64 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../19-dwz_0.12-3_amd64.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../20-libglib2.0-0_2.58.3-2_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.58.3-2) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../21-libcroco3_0.6.12-3_amd64.deb ... Unpacking libcroco3:amd64 (0.6.12-3) ... Selecting previously unselected package libncurses6:amd64. Preparing to unpack .../22-libncurses6_6.1+20181013-2_amd64.deb ... Unpacking libncurses6:amd64 (6.1+20181013-2) ... Selecting previously unselected package gettext. Preparing to unpack .../23-gettext_0.19.8.1-9_amd64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../24-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 .../25-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../26-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package gcc-8-base:s390x. Preparing to unpack .../27-gcc-8-base_8.3.0-7_s390x.deb ... Unpacking gcc-8-base:s390x (8.3.0-7) ... Selecting previously unselected package libgcc1:s390x. Preparing to unpack .../28-libgcc1_1%3a8.3.0-7_s390x.deb ... Unpacking libgcc1:s390x (1:8.3.0-7) ... Selecting previously unselected package libc6:s390x. Preparing to unpack .../29-libc6_2.28-10_s390x.deb ... Unpacking libc6:s390x (2.28-10) ... Selecting previously unselected package libstdc++6:s390x. Preparing to unpack .../30-libstdc++6_8.3.0-7_s390x.deb ... Unpacking libstdc++6:s390x (8.3.0-7) ... Selecting previously unselected package libasan5:s390x. Preparing to unpack .../31-libasan5_8.3.0-7_s390x.deb ... Unpacking libasan5:s390x (8.3.0-7) ... Selecting previously unselected package libatomic1:s390x. Preparing to unpack .../32-libatomic1_8.3.0-7_s390x.deb ... Unpacking libatomic1:s390x (8.3.0-7) ... Selecting previously unselected package linux-libc-dev:s390x. Preparing to unpack .../33-linux-libc-dev_4.19.37-5_s390x.deb ... Unpacking linux-libc-dev:s390x (4.19.37-5) ... Selecting previously unselected package libc6-dev:s390x. Preparing to unpack .../34-libc6-dev_2.28-10_s390x.deb ... Unpacking libc6-dev:s390x (2.28-10) ... Selecting previously unselected package libgomp1:s390x. Preparing to unpack .../35-libgomp1_8.3.0-7_s390x.deb ... Unpacking libgomp1:s390x (8.3.0-7) ... Selecting previously unselected package libitm1:s390x. Preparing to unpack .../36-libitm1_8.3.0-7_s390x.deb ... Unpacking libitm1:s390x (8.3.0-7) ... Selecting previously unselected package libubsan1:s390x. Preparing to unpack .../37-libubsan1_8.3.0-7_s390x.deb ... Unpacking libubsan1:s390x (8.3.0-7) ... Selecting previously unselected package libgcc-8-dev:s390x. Preparing to unpack .../38-libgcc-8-dev_8.3.0-7_s390x.deb ... Unpacking libgcc-8-dev:s390x (8.3.0-7) ... Selecting previously unselected package libident:s390x. Preparing to unpack .../39-libident_0.22-3.1_s390x.deb ... Unpacking libident:s390x (0.22-3.1) ... Selecting previously unselected package libident-dev:s390x. Preparing to unpack .../40-libident-dev_0.22-3.1_s390x.deb ... Unpacking libident-dev:s390x (0.22-3.1) ... Selecting previously unselected package libtinfo6:s390x. Preparing to unpack .../41-libtinfo6_6.1+20181013-2_s390x.deb ... Unpacking libtinfo6:s390x (6.1+20181013-2) ... Selecting previously unselected package libncurses6:s390x. Preparing to unpack .../42-libncurses6_6.1+20181013-2_s390x.deb ... Unpacking libncurses6:s390x (6.1+20181013-2) ... Selecting previously unselected package libncursesw6:s390x. Preparing to unpack .../43-libncursesw6_6.1+20181013-2_s390x.deb ... Unpacking libncursesw6:s390x (6.1+20181013-2) ... Selecting previously unselected package libncurses-dev:s390x. Preparing to unpack .../44-libncurses-dev_6.1+20181013-2_s390x.deb ... Unpacking libncurses-dev:s390x (6.1+20181013-2) ... Selecting previously unselected package libncurses5-dev:s390x. Preparing to unpack .../45-libncurses5-dev_6.1+20181013-2_s390x.deb ... Unpacking libncurses5-dev:s390x (6.1+20181013-2) ... Selecting previously unselected package libstdc++-8-dev:s390x. Preparing to unpack .../46-libstdc++-8-dev_8.3.0-7_s390x.deb ... Unpacking libstdc++-8-dev:s390x (8.3.0-7) ... Selecting previously unselected package sbuild-build-depends-socks4-server-dummy:s390x. Preparing to unpack .../47-sbuild-build-depends-socks4-server-dummy_0.invalid.0_s390x.deb ... Unpacking sbuild-build-depends-socks4-server-dummy:s390x (0.invalid.0) ... Setting up libpipeline1:amd64 (1.5.1-2) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:amd64 (2.58.3-2) ... No schema files found: doing nothing. Setting up linux-libc-dev:s390x (4.19.37-5) ... Setting up gettext-base (0.19.8.1-9) ... Setting up autotools-dev (20180224.1) ... Setting up libncurses6:amd64 (6.1+20181013-2) ... Setting up libsigsegv2:amd64 (2.12-2) ... Setting up gcc-8-base:s390x (8.3.0-7) ... Setting up autopoint (0.19.8.1-9) ... Setting up libcroco3:amd64 (0.6.12-3) ... Setting up libuchardet0:amd64 (0.0.6-3) ... Setting up libbsd0:amd64 (0.9.1-2) ... Setting up libelf1:amd64 (0.176-1.1) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up gettext (0.19.8.1-9) ... Setting up libtool (2.4.6-10) ... Setting up m4 (1.4.18-2) ... Setting up intltool-debian (0.35.0+20060710.5) ... 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 autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... 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 po-debconf (1.0.21) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libc6:s390x (2.28-10) ... Setting up libc6-dev:s390x (2.28-10) ... Setting up libident:s390x (0.22-3.1) ... Setting up libitm1:s390x (8.3.0-7) ... Setting up libtinfo6:s390x (6.1+20181013-2) ... Setting up libgcc1:s390x (1:8.3.0-7) ... Setting up libgomp1:s390x (8.3.0-7) ... Setting up dh-autoreconf (19) ... Setting up libncurses6:s390x (6.1+20181013-2) ... Setting up libatomic1:s390x (8.3.0-7) ... Setting up libncursesw6:s390x (6.1+20181013-2) ... Setting up libident-dev:s390x (0.22-3.1) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Setting up libstdc++6:s390x (8.3.0-7) ... Setting up libncurses-dev:s390x (6.1+20181013-2) ... Setting up debhelper (12.1.1) ... Setting up libasan5:s390x (8.3.0-7) ... Setting up libubsan1:s390x (8.3.0-7) ... Setting up libncurses5-dev:s390x (6.1+20181013-2) ... Setting up libgcc-8-dev:s390x (8.3.0-7) ... Setting up libstdc++-8-dev:s390x (8.3.0-7) ... Setting up sbuild-build-depends-socks4-server-dummy:s390x (0.invalid.0) ... Processing triggers for libc-bin (2.28-10) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.9.0-8-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.31.1-16 dpkg-dev_1.19.7 g++-8_8.3.0-7 gcc-8_8.3.0-7 libc6-dev_2.28-10 libstdc++-8-dev_8.3.0-7 libstdc++-8-dev-s390x-cross_8.3.0-7cross1 libstdc++6_8.3.0-7 libstdc++6-s390x-cross_8.3.0-7cross1 linux-libc-dev_4.19.37-5 Package versions: adduser_3.118 apt_1.8.2 autoconf_2.69-11 automake_1:1.16.1-4 autopoint_0.19.8.1-9 autotools-dev_20180224.1 base-files_10.3 base-passwd_3.5.46 bash_5.0-4 binutils_2.31.1-16 binutils-common_2.31.1-16 binutils-s390x-linux-gnu_2.31.1-16 binutils-x86-64-linux-gnu_2.31.1-16 bsdmainutils_11.1.2+b1 bsdutils_1:2.33.1-0.1 build-essential_12.6 bzip2_1.0.6-9.1 coreutils_8.30-3 cpp_4:8.3.0-1 cpp-8_8.3.0-7 cpp-8-s390x-linux-gnu_8.3.0-7cross1 cpp-s390x-linux-gnu_4:8.3.0-1 cross-config_2.6.15-3 crossbuild-essential-s390x_12.6 dash_0.5.10.2-5 debconf_1.5.72 debhelper_12.1.1 debian-archive-keyring_2019.1 debianutils_4.8.6.1 dh-autoreconf_19 dh-strip-nondeterminism_1.1.2-1 diffutils_1:3.7-3 dpkg_1.19.7 dpkg-cross_2.6.15-3 dpkg-dev_1.19.7 dwz_0.12-3 e2fsprogs_1.45.2-1 fakeroot_1.23-1 fdisk_2.33.1-0.1 file_1:5.35-4 findutils_4.6.0+git+20190209-2 g++_4:8.3.0-1 g++-8_8.3.0-7 g++-8-s390x-linux-gnu_8.3.0-7cross1 g++-s390x-linux-gnu_4:8.3.0-1 gcc_4:8.3.0-1 gcc-8_8.3.0-7 gcc-8-base_8.3.0-7 gcc-8-cross-base_8.3.0-7cross1 gcc-8-s390x-linux-gnu_8.3.0-7cross1 gcc-8-s390x-linux-gnu-base_8.3.0-7cross1 gcc-s390x-linux-gnu_4:8.3.0-1 gettext_0.19.8.1-9 gettext-base_0.19.8.1-9 gpgv_2.2.13-2 grep_3.3-1 groff-base_1.22.4-3 gzip_1.9-3 hostname_3.21 init-system-helpers_1.57 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-4 libapt-pkg5.0_1.8.2 libarchive-zip-perl_1.64-1 libasan5_8.3.0-7 libasan5-s390x-cross_8.3.0-7cross1 libatomic1_8.3.0-7 libatomic1-s390x-cross_8.3.0-7cross1 libattr1_1:2.4.48-4 libaudit-common_1:2.8.4-3 libaudit1_1:2.8.4-3 libbinutils_2.31.1-16 libblkid1_2.33.1-0.1 libbsd0_0.9.1-2 libbz2-1.0_1.0.6-9.1 libc-bin_2.28-10 libc-dev-bin_2.28-10 libc6_2.28-10 libc6-dev_2.28-10 libc6-dev-s390x-cross_2.28-10cross2 libc6-s390x-cross_2.28-10cross2 libcap-ng0_0.7.9-2 libcc1-0_8.3.0-7 libcom-err2_1.45.2-1 libconfig-auto-perl_0.44-1 libconfig-inifiles-perl_3.000001-1 libcroco3_0.6.12-3 libdb5.3_5.3.28+dfsg1-0.6 libdebconfclient0_0.249 libdebian-dpkgcross-perl_2.6.15-3 libdpkg-perl_1.19.7 libelf1_0.176-1.1 libext2fs2_1.45.2-1 libfakeroot_1.23-1 libfdisk1_2.33.1-0.1 libffi6_3.2.1-9 libfile-homedir-perl_1.004-1 libfile-stripnondeterminism-perl_1.1.2-1 libfile-which-perl_1.23-1 libgcc-8-dev_8.3.0-7 libgcc-8-dev-s390x-cross_8.3.0-7cross1 libgcc1_1:8.3.0-7 libgcc1-s390x-cross_1:8.3.0-7cross1 libgcrypt20_1.8.4-5 libgdbm-compat4_1.18.1-4 libgdbm6_1.18.1-4 libglib2.0-0_2.58.3-2 libgmp10_2:6.1.2+dfsg-4 libgnutls30_3.6.7-4 libgomp1_8.3.0-7 libgomp1-s390x-cross_8.3.0-7cross1 libgpg-error0_1.35-1 libhogweed4_3.4.1-1 libicu63_63.2-2 libident_0.22-3.1 libident-dev_0.22-3.1 libidn2-0_2.0.5-1 libio-string-perl_1.08-3 libisl19_0.20-2 libitm1_8.3.0-7 libitm1-s390x-cross_8.3.0-7cross1 liblocale-gettext-perl_1.07-3+b4 liblsan0_8.3.0-7 liblz4-1_1.8.3-1 liblzma5_5.2.4-1 libmagic-mgc_1:5.35-4 libmagic1_1:5.35-4 libmount1_2.33.1-0.1 libmpc3_1.1.0-1 libmpfr6_4.0.2-1 libmpx2_8.3.0-7 libncurses-dev_6.1+20181013-2 libncurses5-dev_6.1+20181013-2 libncurses6_6.1+20181013-2 libncursesw6_6.1+20181013-2 libnettle6_3.4.1-1 libp11-kit0_0.23.15-2 libpam-modules_1.3.1-5 libpam-modules-bin_1.3.1-5 libpam-runtime_1.3.1-5 libpam0g_1.3.1-5 libpcre3_2:8.39-12 libperl5.28_5.28.1-6 libpipeline1_1.5.1-2 libquadmath0_8.3.0-7 libseccomp2_2.3.3-4 libselinux1_2.8-1+b1 libsemanage-common_2.8-2 libsemanage1_2.8-2 libsepol1_2.8-1 libsigsegv2_2.12-2 libsmartcols1_2.33.1-0.1 libss2_1.45.2-1 libstdc++-8-dev_8.3.0-7 libstdc++-8-dev-s390x-cross_8.3.0-7cross1 libstdc++6_8.3.0-7 libstdc++6-s390x-cross_8.3.0-7cross1 libsystemd0_241-5 libtasn1-6_4.13-3 libtinfo6_6.1+20181013-2 libtool_2.4.6-10 libtsan0_8.3.0-7 libubsan1_8.3.0-7 libubsan1-s390x-cross_8.3.0-7cross1 libuchardet0_0.0.6-3 libudev1_241-5 libunistring2_0.9.10-1 libuuid1_2.33.1-0.1 libxml-libxml-perl_2.0134+dfsg-1 libxml-namespacesupport-perl_1.12-1 libxml-sax-base-perl_1.09-1 libxml-sax-perl_1.00+dfsg-1 libxml-simple-perl_2.25-1 libxml2_2.9.4+dfsg1-7+b3 libyaml-perl_1.27-1 libzstd1_1.3.8+dfsg-3 linux-libc-dev_4.19.37-5 linux-libc-dev-s390x-cross_4.19.28-2cross2 login_1:4.5-1.1 m4_1.4.18-2 make_4.2.1-1.2 man-db_2.8.5-2 mawk_1.3.3-17+b3 mount_2.33.1-0.1 ncurses-base_6.1+20181013-2 ncurses-bin_6.1+20181013-2 passwd_1:4.5-1.1 patch_2.7.6-4 perl_5.28.1-6 perl-base_5.28.1-6 perl-modules-5.28_5.28.1-6 po-debconf_1.0.21 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-essential-dummy_0.invalid.0 sbuild-build-depends-socks4-server-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12 sysvinit-utils_2.93-8 tar_1.30+dfsg-6 tzdata_2019a-1 ucf_3.0038+nmu1 util-linux_2.33.1-0.1 xz-utils_5.2.4-1 zlib1g_1:1.2.11.dfsg-1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Fri Sep 2 17:55:44 2016 UTC gpgv: using RSA key BA9C78061DDD8C9B gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./socks4-server_4.3.beta2-20.dsc dpkg-source: info: extracting socks4-server in /<> dpkg-source: info: unpacking socks4-server_4.3.beta2.orig.tar.gz dpkg-source: info: applying socks4-server_4.3.beta2-20.diff.gz dpkg-source: info: upstream files that have been modified: /<>/Makefile /<>/doc/sockd.8 /<>/include/socks.h /<>/lib/Makefile /<>/lib/Rconnect.c /<>/lib/Rconnect.c,v /<>/libident/id_open.c /<>/libident/id_open.c,v /<>/mkfc/Makefile /<>/rfinger/Makefile /<>/rfinger/finger.c /<>/rftp/Makefile /<>/rftp/cmds.c /<>/rftp/domacro.c /<>/rftp/ftp.c /<>/rftp/ftp_var.h /<>/rftp/glob.c /<>/rftp/ruserpass.c /<>/rtelnet/Config.local /<>/rtelnet/Makefile /<>/rtelnet/libtelnet/Makefile /<>/rtelnet/telnet/Makefile /<>/rtelnet/telnet/commands.c /<>/rtelnet/telnet/externs.h /<>/rtelnet/telnet/sys_bsd.c /<>/runsocks/Makefile /<>/runsocks/README.runsocks /<>/runsocks/accept.c /<>/runsocks/bind.c /<>/runsocks/connect.c /<>/runsocks/gethostbyname.c /<>/runsocks/listen.c /<>/runsocks/runsocks /<>/runsocks/wrap.c /<>/runsocks/wrap.h /<>/sockd/Makefile Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf CONFIG_SITE=/etc/dpkg-cross/cross-config.s390x DEB_BUILD_OPTIONS=nocheck HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=POSIX LOGNAME=helmut PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1003 SCHROOT_GROUP=helmut SCHROOT_SESSION_ID=unstable-amd64-sbuild-d26650cf-f39a-4886-8e1b-70272423d68a SCHROOT_UID=1003 SCHROOT_USER=helmut SHELL=/bin/sh USER=helmut dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package socks4-server dpkg-buildpackage: info: source version 4.3.beta2-20 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Aurelien Jarno dpkg-architecture: warning: specified GNU system type s390x-linux-gnu does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable dpkg-source --before-build . dpkg-buildpackage: info: host architecture s390x fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp install-stamp make clean make[1]: Entering directory '/<>' for i in lib libident sockd rfinger rftp rtelnet runsocks mkfc; do \ ( cd $i ; make clean); done make[2]: Entering directory '/<>/lib' /<>/lib rm -f *.o *.lo libsocks.a libsocks.so* core make[2]: Leaving directory '/<>/lib' make[2]: Entering directory '/<>/libident' /<>/libident rm -f libident.a *~ core *.o \#* make[2]: Leaving directory '/<>/libident' make[2]: Entering directory '/<>/sockd' /<>/sockd rm -f *.o libsockd.a sockd rsockd core make[2]: Leaving directory '/<>/sockd' make[2]: Entering directory '/<>/rfinger' /<>/rfinger rm -f finger.o rwhois rfinger core make[2]: Leaving directory '/<>/rfinger' make[2]: Entering directory '/<>/rftp' /<>/rftp rm -f cmds.o cmdtab.o ftp.o glob.o main.o ruserpass.o domacro.o core rftp make[2]: Leaving directory '/<>/rftp' make[2]: Entering directory '/<>/rtelnet' /<>/rtelnet rm -f rtelnet cd libtelnet; make -f Makefile.generic clean make[3]: Entering directory '/<>/rtelnet/libtelnet' rm -f *.o libtelnet.a core a.out make[3]: Leaving directory '/<>/rtelnet/libtelnet' cd telnet; make -f Makefile.generic clean make[3]: Entering directory '/<>/rtelnet/telnet' rm -f authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o utilities.o core errs l.errs ../rtelnet make[3]: Leaving directory '/<>/rtelnet/telnet' make[2]: Leaving directory '/<>/rtelnet' make[2]: Entering directory '/<>/runsocks' rm -f *.o *.so make[2]: Leaving directory '/<>/runsocks' make[2]: Entering directory '/<>/mkfc' /<>/mkfc rm -rf make_socksfc make_sockdfc make_sockdfr dump_socksfc dump_sockdfc dump_sockdfr *.o core make[2]: Leaving directory '/<>/mkfc' make[1]: Leaving directory '/<>' rm -f `find . -name "*~"` rm -rf debian/socks4-server debian/libsocks4 debian/socks4-clients `find debian/* -type d` debian/files* core rm -f debian/*substvars dh_clean dh_clean: Compatibility levels before 9 are deprecated (level 5 in use) dpkg-buildpackage: warning: debian/rules must be updated to support the 'build-arch' and 'build-indep' targets (at least 'build-arch' seems to be missing) debian/rules build dh_testdir make make[1]: Entering directory '/<>' (cd lib; make CC="gcc" GETPASS="getpass.o" \ STRDUP="" OPTIMIZE="-g" \ OTHER_CFLAGS="-DLINUX " \ RANLIB="ranlib") make[2]: Entering directory '/<>/lib' /<>/lib gcc -I../include -g -DLINUX -c -o Rconnect.o Rconnect.c Rconnect.c: In function 'SOCKSinit': Rconnect.c:124:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ Rconnect.c:106:5: note: declared here int SOCKSinit(Progname) ^~~~~~~~~ Rconnect.c:144:2: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] gethostname(socks_src_name, sizeof(socks_src_name)); ^~~~~~~~~~~ gethostbyname Rconnect.c:145:6: warning: implicit declaration of function 'socks_host'; did you mean 'socks_cmd'? [-Wimplicit-function-declaration] if (socks_host(socks_src_name, &socks_srcsh) < 0) { ^~~~~~~~~~ socks_cmd Rconnect.c:150:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ Rconnect.c:150:3: warning: incompatible implicit declaration of built-in function 'exit' Rconnect.c:150:3: note: include '' or provide a declaration of 'exit' Rconnect.c:37:1: +#include Rconnect.c:150:3: exit(1); ^~~~ Rconnect.c:157:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ Rconnect.c:157:3: note: include '' or provide a declaration of 'exit' Rconnect.c:165:25: warning: implicit declaration of function 'geteuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] if ((pw = getpwuid(uid=geteuid())) == NULL) { ^~~~~~~ getpwuid Rconnect.c:170:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ Rconnect.c:170:3: note: include '' or provide a declaration of 'exit' Rconnect.c:260:10: warning: implicit declaration of function 'socks_rdfz'; did you mean 'socks_cmd'? [-Wimplicit-function-declaration] socks_rdfz(SOCKS_FC, &scfAddr, &Nscf, &cfStrings, socks_useSyslog); ^~~~~~~~~~ socks_cmd Rconnect.c:262:10: warning: implicit declaration of function 'socks_rdconf'; did you mean 'socks_cmd'? [-Wimplicit-function-declaration] socks_rdconf(SOCKS_CONF, &scfAddr, &Nscf, socks_useSyslog); ^~~~~~~~~~~~ socks_cmd Rconnect.c: In function 'socks_connect_sockd': Rconnect.c:283:7: warning: implicit declaration of function 'socks_GetQuad'; did you mean 'socks_cmd'? [-Wimplicit-function-declaration] if (socks_GetQuad(socks_server, &socks_nsin.sin_addr) != -1) { ^~~~~~~~~~~~~ socks_cmd Rconnect.c:298:9: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration] if (dup2(new_sock, sock) < 0) { ^~~~ Rconnect.c:299:6: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(new_sock); ^~~~~ pclose Rconnect.c: In function 'send_name': Rconnect.c:353:11: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if((n = write(s, p, i)) <= 0) { ^~~~~ fwrite Rconnect.c: In function 'socksC_proto': Rconnect.c:371:13: warning: implicit declaration of function 'socks_SendDst'; did you mean 'socks_cmd'? [-Wimplicit-function-declaration] if ((sta = socks_SendDst(s, dst)) < 0) { ^~~~~~~~~~~~~ socks_cmd Rconnect.c:397:13: warning: implicit declaration of function 'socks_GetDst'; did you mean 'socket'? [-Wimplicit-function-declaration] if ((sta = socks_GetDst(s, dst)) < 0) { ^~~~~~~~~~~~ socket Rconnect.c: In function 'quit_C_proto': Rconnect.c:409:2: warning: incompatible implicit declaration of built-in function 'exit' exit(SOCKS_FAIL); ^~~~ Rconnect.c:409:2: note: include '' or provide a declaration of 'exit' Rconnect.c: In function 'do_C_proto': Rconnect.c:420:2: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] alarm(CLIENT_CONN_TIMEOUT); ^~~~~ Rconnect.c:427:3: warning: incompatible implicit declaration of built-in function 'exit' exit(SOCKS_FAIL); ^~~~ Rconnect.c:427:3: note: include '' or provide a declaration of 'exit' Rconnect.c:432:3: warning: incompatible implicit declaration of built-in function 'exit' exit(dst.cmd); ^~~~ Rconnect.c:432:3: note: include '' or provide a declaration of 'exit' Rconnect.c:434:2: warning: incompatible implicit declaration of built-in function 'exit' exit(SOCKS_RESULT); ^~~~ Rconnect.c:434:2: note: include '' or provide a declaration of 'exit' Rconnect.c: In function 'Rconnect': Rconnect.c:465:7: warning: implicit declaration of function 'socks_IPtohost'; did you mean 'socksC_proto'? [-Wimplicit-function-declaration] if (socks_IPtohost(&sin->sin_addr, &socks_dstsh) < 0) { ^~~~~~~~~~~~~~ socksC_proto Rconnect.c:470:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ Rconnect.c:470:4: note: include '' or provide a declaration of 'exit' Rconnect.c:538:18: warning: implicit declaration of function 'socks_ckcf'; did you mean 'socks_cmd'? [-Wimplicit-function-declaration] socks_direct = socks_ckcf(&socks_srcsh, &socks_dstsh, scfAddr, Nscf, socks_useSyslog); ^~~~~~~~~~ socks_cmd Rconnect.c:581:22: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] switch (child_pid = fork()) { ^~~~ gcc -I../include -g -DLINUX -c -o SendGetDst.o SendGetDst.c SendGetDst.c: In function 'socks_SendDst': SendGetDst.c:32:2: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy(&dst->port, c+2, sizeof(dst->port)); ^~~~~ SendGetDst.c:32:2: warning: incompatible implicit declaration of built-in function 'bcopy' SendGetDst.c:52:11: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] if((n = write(s, p, i)) > 0) { ^~~~~ SendGetDst.c: In function 'socks_GetDst': SendGetDst.c:95:11: warning: implicit declaration of function 'read'; did you mean 'recv'? [-Wimplicit-function-declaration] if((n = read(s, p, i)) > 0) { ^~~~ recv SendGetDst.c:110:2: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy(c+2, &dst->port, sizeof(dst->port)); ^~~~~ gcc -I../include -g -DLINUX -c -o porttoserv.o porttoserv.c porttoserv.c: In function 'socks_porttoserv': porttoserv.c:17:3: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(name, serv->s_name, namelen); ^~~~~~~ porttoserv.c:17:3: warning: incompatible implicit declaration of built-in function 'strncpy' porttoserv.c:17:3: note: include '' or provide a declaration of 'strncpy' porttoserv.c:7:1: +#include porttoserv.c:17:3: strncpy(name, serv->s_name, namelen); ^~~~~~~ porttoserv.c:19:3: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] sprintf(name, "%u", port); ^~~~~~~ porttoserv.c:19:3: warning: incompatible implicit declaration of built-in function 'sprintf' porttoserv.c:19:3: note: include '' or provide a declaration of 'sprintf' porttoserv.c:7:1: +#include porttoserv.c:19:3: sprintf(name, "%u", port); ^~~~~~~ gcc -I../include -g -DLINUX -c -o utils.o utils.c utils.c: In function 'socks_GetAddr': utils.c:80:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(*domain); ^~~~ utils.c:80:3: warning: incompatible implicit declaration of built-in function 'free' utils.c:80:3: note: include '' or provide a declaration of 'free' utils.c:18:1: +#include utils.c:80:3: free(*domain); ^~~~ utils.c: In function 'socks_GetPort': utils.c:103:9: warning: implicit declaration of function 'atol'; did you mean 'htonl'? [-Wimplicit-function-declaration] return atol(name); ^~~~ htonl utils.c: In function 'socks_IPtohost': utils.c:119:4: warning: incompatible implicit declaration of built-in function 'free' free(shp->dmname[i]); ^~~~ utils.c:119:4: note: include '' or provide a declaration of 'free' utils.c:141:2: warning: incompatible implicit declaration of built-in function 'free' free(name); ^~~~ utils.c:141:2: note: include '' or provide a declaration of 'free' utils.c: In function 'socks_host': utils.c:193:4: warning: incompatible implicit declaration of built-in function 'free' free(shp->dmname[i]); ^~~~ utils.c:193:4: note: include '' or provide a declaration of 'free' gcc -I../include -g -DLINUX -c -o Rbind.o Rbind.c Rbind.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] Rbind(sock, sin, size) ^~~~~ Rbind.c:151:1: warning: return type defaults to 'int' [-Wimplicit-int] Rlisten(s, n) ^~~~~~~ Rbind.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] Rgetsockname(sock, sin, size) ^~~~~~~~~~~~ Rbind.c:181:1: warning: return type defaults to 'int' [-Wimplicit-int] Raccept(sock, sin, size) ^~~~~~~ Rbind.c: In function 'Raccept': Rbind.c:197:32: warning: implicit declaration of function 'socks_GetDst'; did you mean 'socks_ckcf'? [-Wimplicit-function-declaration] if (FD_ISSET(sock, &fds) && (socks_GetDst(sock, &dst) >= 0)) { ^~~~~~~~~~~~ socks_ckcf Rbind.c:201:11: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration] return(dup(sock)); ^~~ gcc -I../include -g -DLINUX -c -o Rgethostbyname.o Rgethostbyname.c Rgethostbyname.c: In function 'Rgethostbyname': Rgethostbyname.c:111:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(hr->h_name); ^~~~ Rgethostbyname.c:111:3: warning: incompatible implicit declaration of built-in function 'free' Rgethostbyname.c:111:3: note: include '' or provide a declaration of 'free' Rgethostbyname.c:19:1: +#include Rgethostbyname.c:111:3: free(hr->h_name); ^~~~ Rgethostbyname.c:126:3: warning: incompatible implicit declaration of built-in function 'free' free(hr->h_name); ^~~~ Rgethostbyname.c:126:3: note: include '' or provide a declaration of 'free' Rgethostbyname.c:145:25: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] if ((halist = (char *)malloc(cl)) == NULL) { ^~~~~~ Rgethostbyname.c:145:25: warning: incompatible implicit declaration of built-in function 'malloc' Rgethostbyname.c:145:25: note: include '' or provide a declaration of 'malloc' Rgethostbyname.c:154:26: warning: incompatible implicit declaration of built-in function 'malloc' if (((harray = (char **)malloc(naliases * sizeof(iplist))) == NULL) || ^~~~~~ Rgethostbyname.c:154:26: note: include '' or provide a declaration of 'malloc' Rgethostbyname.c:186:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ Rgethostbyname.c:186:2: warning: incompatible implicit declaration of built-in function 'exit' Rgethostbyname.c:186:2: note: include '' or provide a declaration of 'exit' gcc -I../include -g -DLINUX -c -o Rselect.o Rselect.c gcc -I../include -g -DLINUX -c -o null_syslog.o null_syslog.c null_syslog.c:22:1: warning: return type defaults to 'int' [-Wimplicit-int] socks_0openlog(ident, log_opt, fac) ^~~~~~~~~~~~~~ null_syslog.c:30:1: warning: return type defaults to 'int' [-Wimplicit-int] socks_0closelog() ^~~~~~~~~~~~~~~ null_syslog.c:35:9: warning: return type defaults to 'int' [-Wimplicit-int] VARARGS(socks_0syslog, int, prio) ^~~~~~~~~~~~~ null_syslog.c:12:32: note: in definition of macro 'VARARGS' #define VARARGS(func,type,arg) func(type arg, ...) ^~~~ gcc -I../include -g -DLINUX -c -o shell_cmd.o shell_cmd.c shell_cmd.c: In function 'socks_shell_cmd': shell_cmd.c:68:26: warning: implicit declaration of function 'getpid'; did you mean 'fgetpos'? [-Wimplicit-function-declaration] int daemon_pid = getpid(); ^~~~~~ fgetpos shell_cmd.c:71:9: warning: implicit declaration of function 'strpbrk' [-Wimplicit-function-declaration] if (strpbrk(cmd, alpha_num) == NULL) { ^~~~~~~ shell_cmd.c:71:9: warning: incompatible implicit declaration of built-in function 'strpbrk' shell_cmd.c:71:9: note: include '' or provide a declaration of 'strpbrk' shell_cmd.c:33:1: +#include shell_cmd.c:71:9: if (strpbrk(cmd, alpha_num) == NULL) { ^~~~~~~ shell_cmd.c:81:25: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] switch (child_pid = fork()) { ^~~~ shell_cmd.c:89:21: warning: implicit declaration of function 'wait'; did you mean 'exit'? [-Wimplicit-function-declaration] while ((wait_pid = wait((int *) 0)) != -1 && wait_pid != child_pid) ^~~~ exit shell_cmd.c: In function 'do_child': shell_cmd.c:110:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(tmp_fd); ^~~~~ pclose shell_cmd.c:114:9: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] if (open("/dev/null", 2) != 0) { ^~~~ popen shell_cmd.c:116:16: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration] } else if (dup(0) != 1 || dup(0) != 2) { ^~~ shell_cmd.c:119:9: warning: implicit declaration of function 'execl' [-Wimplicit-function-declaration] (void) execl("/bin/sh", "sh", "-c", command, (char *) 0); ^~~~~ shell_cmd.c:119:9: warning: incompatible implicit declaration of built-in function 'execl' shell_cmd.c: In function 'percent_x': shell_cmd.c:206:22: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] expansion_len = strlen(expansion); ^~~~~~ shell_cmd.c:206:22: warning: incompatible implicit declaration of built-in function 'strlen' shell_cmd.c:206:22: note: include '' or provide a declaration of 'strlen' gcc -I../include -g -DLINUX -c -o socks_ckcf.o socks_ckcf.c socks_ckcf.c: In function 'socks_ckcf': socks_ckcf.c:48:7: warning: implicit declaration of function 'socks_ckadr'; did you mean 'socks_ckcf'? [-Wimplicit-function-declaration] if (socks_ckadr(dstshp, cp->ddomain, &cp->daddr, &cp->dmask) && ^~~~~~~~~~~ socks_ckcf socks_ckcf.c:49:7: warning: implicit declaration of function 'socks_ckusr'; did you mean 'socks_ckcf'? [-Wimplicit-function-declaration] socks_ckusr(cp->userlist, srcshp->user, useSyslog) && ^~~~~~~~~~~ socks_ckcf socks_ckcf.c:50:7: warning: implicit declaration of function 'socks_ckprt'; did you mean 'socks_ckcf'? [-Wimplicit-function-declaration] socks_ckprt(cp->tst, dst_sin_port, cp->dport)) ^~~~~~~~~~~ socks_ckcf socks_ckcf.c:60:3: warning: implicit declaration of function 'socks_shell_cmd'; did you mean 'socks_check_addr'? [-Wimplicit-function-declaration] socks_shell_cmd(cp->cmdp, srcshp, dstshp); ^~~~~~~~~~~~~~~ socks_check_addr gcc -I../include -g -DLINUX -c -o socks_rdconf.o socks_rdconf.c socks_rdconf.c: In function 'socks_rdconf': socks_rdconf.c:39:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ socks_rdconf.c:39:3: warning: incompatible implicit declaration of built-in function 'exit' socks_rdconf.c:39:3: note: include '' or provide a declaration of 'exit' socks_rdconf.c:11:1: +#include socks_rdconf.c:39:3: exit(1); ^~~~ socks_rdconf.c:44:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(cp->userlist); ^~~~ socks_rdconf.c:44:4: warning: incompatible implicit declaration of built-in function 'free' socks_rdconf.c:44:4: note: include '' or provide a declaration of 'free' socks_rdconf.c:46:4: warning: incompatible implicit declaration of built-in function 'free' free(cp->serverlist); ^~~~ socks_rdconf.c:46:4: note: include '' or provide a declaration of 'free' socks_rdconf.c:48:4: warning: incompatible implicit declaration of built-in function 'free' free(cp->cmdp); ^~~~ socks_rdconf.c:48:4: note: include '' or provide a declaration of 'free' socks_rdconf.c:50:4: warning: incompatible implicit declaration of built-in function 'free' free(cp->ddomain); ^~~~ socks_rdconf.c:50:4: note: include '' or provide a declaration of 'free' socks_rdconf.c:53:3: warning: incompatible implicit declaration of built-in function 'free' free(*cfAddrPtr); ^~~~ socks_rdconf.c:53:3: note: include '' or provide a declaration of 'free' socks_rdconf.c:56:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] cfAddr = (struct config *) malloc( maxcf * sizeof(struct config)); ^~~~~~ socks_rdconf.c:56:29: warning: incompatible implicit declaration of built-in function 'malloc' socks_rdconf.c:56:29: note: include '' or provide a declaration of 'malloc' socks_rdconf.c:62:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:62:3: note: include '' or provide a declaration of 'exit' socks_rdconf.c:84:6: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:84:6: note: include '' or provide a declaration of 'exit' socks_rdconf.c:94:3: warning: implicit declaration of function 'socks_mkargs'; did you mean 'sockatmark'? [-Wimplicit-function-declaration] socks_mkargs(buf, &argc, argv, 10); ^~~~~~~~~~~~ sockatmark socks_rdconf.c:126:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:126:7: note: include '' or provide a declaration of 'exit' socks_rdconf.c:138:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:138:5: note: include '' or provide a declaration of 'exit' socks_rdconf.c:162:6: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:162:6: note: include '' or provide a declaration of 'exit' socks_rdconf.c:175:7: warning: implicit declaration of function 'socks_GetAddr'; did you mean 'socketpair'? [-Wimplicit-function-declaration] if (socks_GetAddr(argv[next_arg++], &cp->daddr, &cp->ddomain) == -1) { ^~~~~~~~~~~~~ socketpair socks_rdconf.c:183:7: warning: implicit declaration of function 'socks_GetQuad' [-Wimplicit-function-declaration] if (socks_GetQuad(argv[next_arg++], &cp->dmask) == -1) { ^~~~~~~~~~~~~ socks_rdconf.c:214:14: warning: implicit declaration of function 'socks_GetPort'; did you mean 'socks_rdconf'? [-Wimplicit-function-declaration] if (((p = socks_GetPort(argv[next_arg+1])) < 0) || ^~~~~~~~~~~~~ socks_rdconf socks_rdconf.c:231:31: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] cfAddr = (struct config *) realloc(cfAddr, maxcf * sizeof(struct config)); ^~~~~~~ socks_rdconf.c:231:31: warning: incompatible implicit declaration of built-in function 'realloc' socks_rdconf.c:231:31: note: include '' or provide a declaration of 'realloc' socks_rdconf.c:237:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:237:5: note: include '' or provide a declaration of 'exit' socks_rdconf.c:251:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:251:3: note: include '' or provide a declaration of 'exit' socks_rdconf.c:254:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:254:3: note: include '' or provide a declaration of 'exit' socks_rdconf.c:256:30: warning: incompatible implicit declaration of built-in function 'realloc' cfAddr = (struct config *) realloc(cfAddr, Ncf * sizeof(struct config)); ^~~~~~~ socks_rdconf.c:256:30: note: include '' or provide a declaration of 'realloc' gcc -I../include -g -DLINUX -c -o socks_rdfz.o socks_rdfz.c socks_rdfz.c: In function 'socks_rdfz': socks_rdfz.c:31:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ socks_rdfz.c:31:3: warning: incompatible implicit declaration of built-in function 'exit' socks_rdfz.c:31:3: note: include '' or provide a declaration of 'exit' socks_rdfz.c:11:1: +#include socks_rdfz.c:31:3: exit(1); ^~~~ socks_rdfz.c:34:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(*cfAddrPtr); ^~~~ socks_rdfz.c:34:3: warning: incompatible implicit declaration of built-in function 'free' socks_rdfz.c:34:3: note: include '' or provide a declaration of 'free' socks_rdfz.c:36:3: warning: incompatible implicit declaration of built-in function 'free' free(*cfstrings); ^~~~ socks_rdfz.c:36:3: note: include '' or provide a declaration of 'free' socks_rdfz.c:38:6: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] if (read(fd, &Ncf, sizeof(Ncf)) != sizeof(Ncf)) { ^~~~ fread socks_rdfz.c:43:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdfz.c:43:3: note: include '' or provide a declaration of 'exit' socks_rdfz.c:51:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdfz.c:51:3: note: include '' or provide a declaration of 'exit' socks_rdfz.c:54:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] cfAddr = (struct config *) malloc(Ncf * (sizeof(struct config))); ^~~~~~ socks_rdfz.c:54:29: warning: incompatible implicit declaration of built-in function 'malloc' socks_rdfz.c:54:29: note: include '' or provide a declaration of 'malloc' socks_rdfz.c:60:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdfz.c:60:3: note: include '' or provide a declaration of 'exit' socks_rdfz.c:67:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdfz.c:67:3: note: include '' or provide a declaration of 'exit' socks_rdfz.c:72:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd); ^~~~~ pclose socks_rdfz.c:80:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdfz.c:80:3: note: include '' or provide a declaration of 'exit' socks_rdfz.c:88:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdfz.c:88:3: note: include '' or provide a declaration of 'exit' socks_rdfz.c:95:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->userlist = startaddr + (int)cp->userlist; ^ socks_rdfz.c:97:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->serverlist = startaddr + (int)cp->serverlist; ^ socks_rdfz.c:99:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->sdomain = startaddr + (int)cp->sdomain; ^ socks_rdfz.c:101:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->ddomain = startaddr + (int)cp->ddomain; ^ socks_rdfz.c:103:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->cmdp = startaddr + (int)cp->cmdp; ^ gcc -I../include -g -DLINUX -c -o socks_wrfz.o socks_wrfz.c socks_wrfz.c: In function 'socks_wrfz': socks_wrfz.c:40:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] if ((stringarea = (char *)malloc(stringsize)) == NULL) { ^~~~~~ socks_wrfz.c:40:29: warning: incompatible implicit declaration of built-in function 'malloc' socks_wrfz.c:40:29: note: include '' or provide a declaration of 'malloc' socks_wrfz.c:11:1: +#include socks_wrfz.c:40:29: if ((stringarea = (char *)malloc(stringsize)) == NULL) { ^~~~~~ socks_wrfz.c:45:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ socks_wrfz.c:45:4: warning: incompatible implicit declaration of built-in function 'exit' socks_wrfz.c:45:4: note: include '' or provide a declaration of 'exit' socks_wrfz.c:83:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_wrfz.c:83:3: note: include '' or provide a declaration of 'exit' socks_wrfz.c:85:6: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if (write(fd, &Nconf, sizeof(Nconf)) != sizeof(Nconf)) { ^~~~~ fwrite socks_wrfz.c:90:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_wrfz.c:90:3: note: include '' or provide a declaration of 'exit' socks_wrfz.c:97:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_wrfz.c:97:3: note: include '' or provide a declaration of 'exit' socks_wrfz.c:104:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_wrfz.c:104:3: note: include '' or provide a declaration of 'exit' socks_wrfz.c:111:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_wrfz.c:111:3: note: include '' or provide a declaration of 'exit' gcc -I../include -g -DLINUX -c -o socks_dumpcf.o socks_dumpcf.c gcc -I../include -g -DLINUX -c -o sockd_dumpcf.o sockd_dumpcf.c gcc -I../include -g -DLINUX -c -o sockd_dumprt.o sockd_dumprt.c gcc -I../include -g -DLINUX -c -o sockd_rdconf.o sockd_rdconf.c sockd_rdconf.c: In function 'sockd_rdconf': sockd_rdconf.c:39:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ sockd_rdconf.c:39:3: warning: incompatible implicit declaration of built-in function 'exit' sockd_rdconf.c:39:3: note: include '' or provide a declaration of 'exit' sockd_rdconf.c:11:1: +#include sockd_rdconf.c:39:3: exit(1); ^~~~ sockd_rdconf.c:44:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(cp->userlist); ^~~~ sockd_rdconf.c:44:4: warning: incompatible implicit declaration of built-in function 'free' sockd_rdconf.c:44:4: note: include '' or provide a declaration of 'free' sockd_rdconf.c:46:4: warning: incompatible implicit declaration of built-in function 'free' free(cp->cmdp); ^~~~ sockd_rdconf.c:46:4: note: include '' or provide a declaration of 'free' sockd_rdconf.c:48:4: warning: incompatible implicit declaration of built-in function 'free' free(cp->sdomain); ^~~~ sockd_rdconf.c:48:4: note: include '' or provide a declaration of 'free' sockd_rdconf.c:50:4: warning: incompatible implicit declaration of built-in function 'free' free(cp->ddomain); ^~~~ sockd_rdconf.c:50:4: note: include '' or provide a declaration of 'free' sockd_rdconf.c:53:3: warning: incompatible implicit declaration of built-in function 'free' free(*cfAddrPtr); ^~~~ sockd_rdconf.c:53:3: note: include '' or provide a declaration of 'free' sockd_rdconf.c:55:3: warning: incompatible implicit declaration of built-in function 'free' free(*no_identd_cmd); ^~~~ sockd_rdconf.c:55:3: note: include '' or provide a declaration of 'free' sockd_rdconf.c:59:3: warning: incompatible implicit declaration of built-in function 'free' free(*bad_id_cmd); ^~~~ sockd_rdconf.c:59:3: note: include '' or provide a declaration of 'free' sockd_rdconf.c:64:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] cfAddr = (struct config *) malloc( maxcf * sizeof(struct config)); ^~~~~~ sockd_rdconf.c:64:29: warning: incompatible implicit declaration of built-in function 'malloc' sockd_rdconf.c:64:29: note: include '' or provide a declaration of 'malloc' sockd_rdconf.c:107:3: warning: implicit declaration of function 'socks_mkargs'; did you mean 'sockatmark'? [-Wimplicit-function-declaration] socks_mkargs(buf, &argc, argv, 10); ^~~~~~~~~~~~ sockatmark sockd_rdconf.c:116:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdconf.c:116:4: note: include '' or provide a declaration of 'exit' sockd_rdconf.c:175:7: warning: implicit declaration of function 'socks_GetAddr'; did you mean 'socketpair'? [-Wimplicit-function-declaration] if (socks_GetAddr(argv[next_arg++], &cp->saddr, &cp->sdomain) == -1){ ^~~~~~~~~~~~~ socketpair sockd_rdconf.c:178:7: warning: implicit declaration of function 'socks_GetQuad' [-Wimplicit-function-declaration] if (socks_GetQuad(argv[next_arg++], &cp->smask) == -1) { ^~~~~~~~~~~~~ sockd_rdconf.c:232:14: warning: implicit declaration of function 'socks_GetPort' [-Wimplicit-function-declaration] if (((p = socks_GetPort(argv[next_arg+1])) < 0) || ^~~~~~~~~~~~~ sockd_rdconf.c:250:31: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] cfAddr = (struct config *) realloc(cfAddr, maxcf * sizeof(struct config)); ^~~~~~~ sockd_rdconf.c:250:31: warning: incompatible implicit declaration of built-in function 'realloc' sockd_rdconf.c:250:31: note: include '' or provide a declaration of 'realloc' sockd_rdconf.c:264:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdconf.c:264:3: note: include '' or provide a declaration of 'exit' sockd_rdconf.c:267:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdconf.c:267:3: note: include '' or provide a declaration of 'exit' sockd_rdconf.c:269:30: warning: incompatible implicit declaration of built-in function 'realloc' cfAddr = (struct config *) realloc(cfAddr, Ncf * sizeof(struct config)); ^~~~~~~ sockd_rdconf.c:269:30: note: include '' or provide a declaration of 'realloc' sockd_rdconf.c:279:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdconf.c:279:2: note: include '' or provide a declaration of 'exit' gcc -I../include -g -DLINUX -c -o sockd_rdroute.o sockd_rdroute.c sockd_rdroute.c: In function 'sockd_rdroute': sockd_rdroute.c:38:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ sockd_rdroute.c:38:3: warning: incompatible implicit declaration of built-in function 'exit' sockd_rdroute.c:38:3: note: include '' or provide a declaration of 'exit' sockd_rdroute.c:12:1: +#include sockd_rdroute.c:38:3: exit(1); ^~~~ sockd_rdroute.c:43:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(cp->ddomain); ^~~~ sockd_rdroute.c:43:4: warning: incompatible implicit declaration of built-in function 'free' sockd_rdroute.c:43:4: note: include '' or provide a declaration of 'free' sockd_rdroute.c:46:3: warning: incompatible implicit declaration of built-in function 'free' free(*rtAddrPtr); ^~~~ sockd_rdroute.c:46:3: note: include '' or provide a declaration of 'free' sockd_rdroute.c:49:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] rtAddr = (struct config *) malloc( maxrt * sizeof(struct config)); ^~~~~~ sockd_rdroute.c:49:29: warning: incompatible implicit declaration of built-in function 'malloc' sockd_rdroute.c:49:29: note: include '' or provide a declaration of 'malloc' sockd_rdroute.c:78:3: warning: implicit declaration of function 'socks_mkargs'; did you mean 'sockatmark'? [-Wimplicit-function-declaration] socks_mkargs(buf, &argc, argv, 10); ^~~~~~~~~~~~ sockatmark sockd_rdroute.c:87:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdroute.c:87:4: note: include '' or provide a declaration of 'exit' sockd_rdroute.c:90:7: warning: implicit declaration of function 'socks_GetQuad' [-Wimplicit-function-declaration] if (socks_GetQuad(argv[0], &cp->saddr) == -1) { ^~~~~~~~~~~~~ sockd_rdroute.c:98:7: warning: implicit declaration of function 'socks_GetAddr'; did you mean 'socketpair'? [-Wimplicit-function-declaration] if (socks_GetAddr(argv[1], &cp->daddr, &cp->ddomain) == -1){ ^~~~~~~~~~~~~ socketpair sockd_rdroute.c:113:31: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] rtAddr = (struct config *) realloc(rtAddr, maxrt * sizeof(struct config)); ^~~~~~~ sockd_rdroute.c:113:31: warning: incompatible implicit declaration of built-in function 'realloc' sockd_rdroute.c:113:31: note: include '' or provide a declaration of 'realloc' sockd_rdroute.c:127:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdroute.c:127:3: note: include '' or provide a declaration of 'exit' sockd_rdroute.c:130:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdroute.c:130:3: note: include '' or provide a declaration of 'exit' sockd_rdroute.c:132:30: warning: incompatible implicit declaration of built-in function 'realloc' rtAddr = (struct config *) realloc(rtAddr, Nrt * sizeof(struct config)); ^~~~~~~ sockd_rdroute.c:132:30: note: include '' or provide a declaration of 'realloc' sockd_rdroute.c:142:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdroute.c:142:2: note: include '' or provide a declaration of 'exit' gcc -I../include -g -DLINUX -c -o getpass.o getpass.c getpass.c: In function 'getpass': getpass.c:94:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] omask = sigblock(sigmask(SIGINT)); ^~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/signal.h:1, from getpass.c:44: /usr/include/signal.h:170:12: note: declared here extern int sigblock (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~ getpass.c:109:8: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] (void)write(fileno(outfp), "\n", 1); ^~~~~ fwrite getpass.c:124:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] (void)sigsetmask(omask); ^ In file included from /usr/include/x86_64-linux-gnu/sys/signal.h:1, from getpass.c:44: /usr/include/signal.h:173:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~~~ rm -f libsocks.a ar rc libsocks.a Rconnect.o SendGetDst.o porttoserv.o utils.o Rbind.o Rgethostbyname.o Rselect.o null_syslog.o shell_cmd.o socks_ckcf.o socks_rdconf.o socks_rdfz.o socks_wrfz.o socks_dumpcf.o sockd_dumpcf.o sockd_dumprt.o sockd_rdconf.o sockd_rdroute.o getpass.o ranlib libsocks.a gcc -fPIC -I../include -g -DLINUX -c -o Rconnect.lo Rconnect.c Rconnect.c: In function 'SOCKSinit': Rconnect.c:124:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ Rconnect.c:106:5: note: declared here int SOCKSinit(Progname) ^~~~~~~~~ Rconnect.c:144:2: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] gethostname(socks_src_name, sizeof(socks_src_name)); ^~~~~~~~~~~ gethostbyname Rconnect.c:145:6: warning: implicit declaration of function 'socks_host'; did you mean 'socks_cmd'? [-Wimplicit-function-declaration] if (socks_host(socks_src_name, &socks_srcsh) < 0) { ^~~~~~~~~~ socks_cmd Rconnect.c:150:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ Rconnect.c:150:3: warning: incompatible implicit declaration of built-in function 'exit' Rconnect.c:150:3: note: include '' or provide a declaration of 'exit' Rconnect.c:37:1: +#include Rconnect.c:150:3: exit(1); ^~~~ Rconnect.c:157:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ Rconnect.c:157:3: note: include '' or provide a declaration of 'exit' Rconnect.c:165:25: warning: implicit declaration of function 'geteuid'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] if ((pw = getpwuid(uid=geteuid())) == NULL) { ^~~~~~~ getpwuid Rconnect.c:170:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ Rconnect.c:170:3: note: include '' or provide a declaration of 'exit' Rconnect.c:260:10: warning: implicit declaration of function 'socks_rdfz'; did you mean 'socks_cmd'? [-Wimplicit-function-declaration] socks_rdfz(SOCKS_FC, &scfAddr, &Nscf, &cfStrings, socks_useSyslog); ^~~~~~~~~~ socks_cmd Rconnect.c:262:10: warning: implicit declaration of function 'socks_rdconf'; did you mean 'socks_cmd'? [-Wimplicit-function-declaration] socks_rdconf(SOCKS_CONF, &scfAddr, &Nscf, socks_useSyslog); ^~~~~~~~~~~~ socks_cmd Rconnect.c: In function 'socks_connect_sockd': Rconnect.c:283:7: warning: implicit declaration of function 'socks_GetQuad'; did you mean 'socks_cmd'? [-Wimplicit-function-declaration] if (socks_GetQuad(socks_server, &socks_nsin.sin_addr) != -1) { ^~~~~~~~~~~~~ socks_cmd Rconnect.c:298:9: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration] if (dup2(new_sock, sock) < 0) { ^~~~ Rconnect.c:299:6: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(new_sock); ^~~~~ pclose Rconnect.c: In function 'send_name': Rconnect.c:353:11: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if((n = write(s, p, i)) <= 0) { ^~~~~ fwrite Rconnect.c: In function 'socksC_proto': Rconnect.c:371:13: warning: implicit declaration of function 'socks_SendDst'; did you mean 'socks_cmd'? [-Wimplicit-function-declaration] if ((sta = socks_SendDst(s, dst)) < 0) { ^~~~~~~~~~~~~ socks_cmd Rconnect.c:397:13: warning: implicit declaration of function 'socks_GetDst'; did you mean 'socket'? [-Wimplicit-function-declaration] if ((sta = socks_GetDst(s, dst)) < 0) { ^~~~~~~~~~~~ socket Rconnect.c: In function 'quit_C_proto': Rconnect.c:409:2: warning: incompatible implicit declaration of built-in function 'exit' exit(SOCKS_FAIL); ^~~~ Rconnect.c:409:2: note: include '' or provide a declaration of 'exit' Rconnect.c: In function 'do_C_proto': Rconnect.c:420:2: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] alarm(CLIENT_CONN_TIMEOUT); ^~~~~ Rconnect.c:427:3: warning: incompatible implicit declaration of built-in function 'exit' exit(SOCKS_FAIL); ^~~~ Rconnect.c:427:3: note: include '' or provide a declaration of 'exit' Rconnect.c:432:3: warning: incompatible implicit declaration of built-in function 'exit' exit(dst.cmd); ^~~~ Rconnect.c:432:3: note: include '' or provide a declaration of 'exit' Rconnect.c:434:2: warning: incompatible implicit declaration of built-in function 'exit' exit(SOCKS_RESULT); ^~~~ Rconnect.c:434:2: note: include '' or provide a declaration of 'exit' Rconnect.c: In function 'Rconnect': Rconnect.c:465:7: warning: implicit declaration of function 'socks_IPtohost'; did you mean 'socksC_proto'? [-Wimplicit-function-declaration] if (socks_IPtohost(&sin->sin_addr, &socks_dstsh) < 0) { ^~~~~~~~~~~~~~ socksC_proto Rconnect.c:470:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ Rconnect.c:470:4: note: include '' or provide a declaration of 'exit' Rconnect.c:538:18: warning: implicit declaration of function 'socks_ckcf'; did you mean 'socks_cmd'? [-Wimplicit-function-declaration] socks_direct = socks_ckcf(&socks_srcsh, &socks_dstsh, scfAddr, Nscf, socks_useSyslog); ^~~~~~~~~~ socks_cmd Rconnect.c:581:22: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] switch (child_pid = fork()) { ^~~~ gcc -fPIC -I../include -g -DLINUX -c -o SendGetDst.lo SendGetDst.c SendGetDst.c: In function 'socks_SendDst': SendGetDst.c:32:2: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy(&dst->port, c+2, sizeof(dst->port)); ^~~~~ SendGetDst.c:32:2: warning: incompatible implicit declaration of built-in function 'bcopy' SendGetDst.c:52:11: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] if((n = write(s, p, i)) > 0) { ^~~~~ SendGetDst.c: In function 'socks_GetDst': SendGetDst.c:95:11: warning: implicit declaration of function 'read'; did you mean 'recv'? [-Wimplicit-function-declaration] if((n = read(s, p, i)) > 0) { ^~~~ recv SendGetDst.c:110:2: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy(c+2, &dst->port, sizeof(dst->port)); ^~~~~ gcc -fPIC -I../include -g -DLINUX -c -o porttoserv.lo porttoserv.c porttoserv.c: In function 'socks_porttoserv': porttoserv.c:17:3: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(name, serv->s_name, namelen); ^~~~~~~ porttoserv.c:17:3: warning: incompatible implicit declaration of built-in function 'strncpy' porttoserv.c:17:3: note: include '' or provide a declaration of 'strncpy' porttoserv.c:7:1: +#include porttoserv.c:17:3: strncpy(name, serv->s_name, namelen); ^~~~~~~ porttoserv.c:19:3: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] sprintf(name, "%u", port); ^~~~~~~ porttoserv.c:19:3: warning: incompatible implicit declaration of built-in function 'sprintf' porttoserv.c:19:3: note: include '' or provide a declaration of 'sprintf' porttoserv.c:7:1: +#include porttoserv.c:19:3: sprintf(name, "%u", port); ^~~~~~~ gcc -fPIC -I../include -g -DLINUX -c -o utils.lo utils.c utils.c: In function 'socks_GetAddr': utils.c:80:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(*domain); ^~~~ utils.c:80:3: warning: incompatible implicit declaration of built-in function 'free' utils.c:80:3: note: include '' or provide a declaration of 'free' utils.c:18:1: +#include utils.c:80:3: free(*domain); ^~~~ utils.c: In function 'socks_GetPort': utils.c:103:9: warning: implicit declaration of function 'atol'; did you mean 'htonl'? [-Wimplicit-function-declaration] return atol(name); ^~~~ htonl utils.c: In function 'socks_IPtohost': utils.c:119:4: warning: incompatible implicit declaration of built-in function 'free' free(shp->dmname[i]); ^~~~ utils.c:119:4: note: include '' or provide a declaration of 'free' utils.c:141:2: warning: incompatible implicit declaration of built-in function 'free' free(name); ^~~~ utils.c:141:2: note: include '' or provide a declaration of 'free' utils.c: In function 'socks_host': utils.c:193:4: warning: incompatible implicit declaration of built-in function 'free' free(shp->dmname[i]); ^~~~ utils.c:193:4: note: include '' or provide a declaration of 'free' gcc -fPIC -I../include -g -DLINUX -c -o Rbind.lo Rbind.c Rbind.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] Rbind(sock, sin, size) ^~~~~ Rbind.c:151:1: warning: return type defaults to 'int' [-Wimplicit-int] Rlisten(s, n) ^~~~~~~ Rbind.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] Rgetsockname(sock, sin, size) ^~~~~~~~~~~~ Rbind.c:181:1: warning: return type defaults to 'int' [-Wimplicit-int] Raccept(sock, sin, size) ^~~~~~~ Rbind.c: In function 'Raccept': Rbind.c:197:32: warning: implicit declaration of function 'socks_GetDst'; did you mean 'socks_ckcf'? [-Wimplicit-function-declaration] if (FD_ISSET(sock, &fds) && (socks_GetDst(sock, &dst) >= 0)) { ^~~~~~~~~~~~ socks_ckcf Rbind.c:201:11: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration] return(dup(sock)); ^~~ gcc -fPIC -I../include -g -DLINUX -c -o Rgethostbyname.lo Rgethostbyname.c Rgethostbyname.c: In function 'Rgethostbyname': Rgethostbyname.c:111:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(hr->h_name); ^~~~ Rgethostbyname.c:111:3: warning: incompatible implicit declaration of built-in function 'free' Rgethostbyname.c:111:3: note: include '' or provide a declaration of 'free' Rgethostbyname.c:19:1: +#include Rgethostbyname.c:111:3: free(hr->h_name); ^~~~ Rgethostbyname.c:126:3: warning: incompatible implicit declaration of built-in function 'free' free(hr->h_name); ^~~~ Rgethostbyname.c:126:3: note: include '' or provide a declaration of 'free' Rgethostbyname.c:145:25: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] if ((halist = (char *)malloc(cl)) == NULL) { ^~~~~~ Rgethostbyname.c:145:25: warning: incompatible implicit declaration of built-in function 'malloc' Rgethostbyname.c:145:25: note: include '' or provide a declaration of 'malloc' Rgethostbyname.c:154:26: warning: incompatible implicit declaration of built-in function 'malloc' if (((harray = (char **)malloc(naliases * sizeof(iplist))) == NULL) || ^~~~~~ Rgethostbyname.c:154:26: note: include '' or provide a declaration of 'malloc' Rgethostbyname.c:186:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ Rgethostbyname.c:186:2: warning: incompatible implicit declaration of built-in function 'exit' Rgethostbyname.c:186:2: note: include '' or provide a declaration of 'exit' gcc -fPIC -I../include -g -DLINUX -c -o Rselect.lo Rselect.c gcc -fPIC -I../include -g -DLINUX -c -o null_syslog.lo null_syslog.c null_syslog.c:22:1: warning: return type defaults to 'int' [-Wimplicit-int] socks_0openlog(ident, log_opt, fac) ^~~~~~~~~~~~~~ null_syslog.c:30:1: warning: return type defaults to 'int' [-Wimplicit-int] socks_0closelog() ^~~~~~~~~~~~~~~ null_syslog.c:35:9: warning: return type defaults to 'int' [-Wimplicit-int] VARARGS(socks_0syslog, int, prio) ^~~~~~~~~~~~~ null_syslog.c:12:32: note: in definition of macro 'VARARGS' #define VARARGS(func,type,arg) func(type arg, ...) ^~~~ gcc -fPIC -I../include -g -DLINUX -c -o shell_cmd.lo shell_cmd.c shell_cmd.c: In function 'socks_shell_cmd': shell_cmd.c:68:26: warning: implicit declaration of function 'getpid'; did you mean 'fgetpos'? [-Wimplicit-function-declaration] int daemon_pid = getpid(); ^~~~~~ fgetpos shell_cmd.c:71:9: warning: implicit declaration of function 'strpbrk' [-Wimplicit-function-declaration] if (strpbrk(cmd, alpha_num) == NULL) { ^~~~~~~ shell_cmd.c:71:9: warning: incompatible implicit declaration of built-in function 'strpbrk' shell_cmd.c:71:9: note: include '' or provide a declaration of 'strpbrk' shell_cmd.c:33:1: +#include shell_cmd.c:71:9: if (strpbrk(cmd, alpha_num) == NULL) { ^~~~~~~ shell_cmd.c:81:25: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] switch (child_pid = fork()) { ^~~~ shell_cmd.c:89:21: warning: implicit declaration of function 'wait'; did you mean 'exit'? [-Wimplicit-function-declaration] while ((wait_pid = wait((int *) 0)) != -1 && wait_pid != child_pid) ^~~~ exit shell_cmd.c: In function 'do_child': shell_cmd.c:110:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(tmp_fd); ^~~~~ pclose shell_cmd.c:114:9: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] if (open("/dev/null", 2) != 0) { ^~~~ popen shell_cmd.c:116:16: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration] } else if (dup(0) != 1 || dup(0) != 2) { ^~~ shell_cmd.c:119:9: warning: implicit declaration of function 'execl' [-Wimplicit-function-declaration] (void) execl("/bin/sh", "sh", "-c", command, (char *) 0); ^~~~~ shell_cmd.c:119:9: warning: incompatible implicit declaration of built-in function 'execl' shell_cmd.c: In function 'percent_x': shell_cmd.c:206:22: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] expansion_len = strlen(expansion); ^~~~~~ shell_cmd.c:206:22: warning: incompatible implicit declaration of built-in function 'strlen' shell_cmd.c:206:22: note: include '' or provide a declaration of 'strlen' gcc -fPIC -I../include -g -DLINUX -c -o socks_ckcf.lo socks_ckcf.c socks_ckcf.c: In function 'socks_ckcf': socks_ckcf.c:48:7: warning: implicit declaration of function 'socks_ckadr'; did you mean 'socks_ckcf'? [-Wimplicit-function-declaration] if (socks_ckadr(dstshp, cp->ddomain, &cp->daddr, &cp->dmask) && ^~~~~~~~~~~ socks_ckcf socks_ckcf.c:49:7: warning: implicit declaration of function 'socks_ckusr'; did you mean 'socks_ckcf'? [-Wimplicit-function-declaration] socks_ckusr(cp->userlist, srcshp->user, useSyslog) && ^~~~~~~~~~~ socks_ckcf socks_ckcf.c:50:7: warning: implicit declaration of function 'socks_ckprt'; did you mean 'socks_ckcf'? [-Wimplicit-function-declaration] socks_ckprt(cp->tst, dst_sin_port, cp->dport)) ^~~~~~~~~~~ socks_ckcf socks_ckcf.c:60:3: warning: implicit declaration of function 'socks_shell_cmd'; did you mean 'socks_check_addr'? [-Wimplicit-function-declaration] socks_shell_cmd(cp->cmdp, srcshp, dstshp); ^~~~~~~~~~~~~~~ socks_check_addr gcc -fPIC -I../include -g -DLINUX -c -o socks_rdconf.lo socks_rdconf.c socks_rdconf.c: In function 'socks_rdconf': socks_rdconf.c:39:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ socks_rdconf.c:39:3: warning: incompatible implicit declaration of built-in function 'exit' socks_rdconf.c:39:3: note: include '' or provide a declaration of 'exit' socks_rdconf.c:11:1: +#include socks_rdconf.c:39:3: exit(1); ^~~~ socks_rdconf.c:44:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(cp->userlist); ^~~~ socks_rdconf.c:44:4: warning: incompatible implicit declaration of built-in function 'free' socks_rdconf.c:44:4: note: include '' or provide a declaration of 'free' socks_rdconf.c:46:4: warning: incompatible implicit declaration of built-in function 'free' free(cp->serverlist); ^~~~ socks_rdconf.c:46:4: note: include '' or provide a declaration of 'free' socks_rdconf.c:48:4: warning: incompatible implicit declaration of built-in function 'free' free(cp->cmdp); ^~~~ socks_rdconf.c:48:4: note: include '' or provide a declaration of 'free' socks_rdconf.c:50:4: warning: incompatible implicit declaration of built-in function 'free' free(cp->ddomain); ^~~~ socks_rdconf.c:50:4: note: include '' or provide a declaration of 'free' socks_rdconf.c:53:3: warning: incompatible implicit declaration of built-in function 'free' free(*cfAddrPtr); ^~~~ socks_rdconf.c:53:3: note: include '' or provide a declaration of 'free' socks_rdconf.c:56:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] cfAddr = (struct config *) malloc( maxcf * sizeof(struct config)); ^~~~~~ socks_rdconf.c:56:29: warning: incompatible implicit declaration of built-in function 'malloc' socks_rdconf.c:56:29: note: include '' or provide a declaration of 'malloc' socks_rdconf.c:62:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:62:3: note: include '' or provide a declaration of 'exit' socks_rdconf.c:84:6: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:84:6: note: include '' or provide a declaration of 'exit' socks_rdconf.c:94:3: warning: implicit declaration of function 'socks_mkargs'; did you mean 'sockatmark'? [-Wimplicit-function-declaration] socks_mkargs(buf, &argc, argv, 10); ^~~~~~~~~~~~ sockatmark socks_rdconf.c:126:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:126:7: note: include '' or provide a declaration of 'exit' socks_rdconf.c:138:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:138:5: note: include '' or provide a declaration of 'exit' socks_rdconf.c:162:6: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:162:6: note: include '' or provide a declaration of 'exit' socks_rdconf.c:175:7: warning: implicit declaration of function 'socks_GetAddr'; did you mean 'socketpair'? [-Wimplicit-function-declaration] if (socks_GetAddr(argv[next_arg++], &cp->daddr, &cp->ddomain) == -1) { ^~~~~~~~~~~~~ socketpair socks_rdconf.c:183:7: warning: implicit declaration of function 'socks_GetQuad' [-Wimplicit-function-declaration] if (socks_GetQuad(argv[next_arg++], &cp->dmask) == -1) { ^~~~~~~~~~~~~ socks_rdconf.c:214:14: warning: implicit declaration of function 'socks_GetPort'; did you mean 'socks_rdconf'? [-Wimplicit-function-declaration] if (((p = socks_GetPort(argv[next_arg+1])) < 0) || ^~~~~~~~~~~~~ socks_rdconf socks_rdconf.c:231:31: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] cfAddr = (struct config *) realloc(cfAddr, maxcf * sizeof(struct config)); ^~~~~~~ socks_rdconf.c:231:31: warning: incompatible implicit declaration of built-in function 'realloc' socks_rdconf.c:231:31: note: include '' or provide a declaration of 'realloc' socks_rdconf.c:237:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:237:5: note: include '' or provide a declaration of 'exit' socks_rdconf.c:251:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:251:3: note: include '' or provide a declaration of 'exit' socks_rdconf.c:254:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdconf.c:254:3: note: include '' or provide a declaration of 'exit' socks_rdconf.c:256:30: warning: incompatible implicit declaration of built-in function 'realloc' cfAddr = (struct config *) realloc(cfAddr, Ncf * sizeof(struct config)); ^~~~~~~ socks_rdconf.c:256:30: note: include '' or provide a declaration of 'realloc' gcc -fPIC -I../include -g -DLINUX -c -o socks_rdfz.lo socks_rdfz.c socks_rdfz.c: In function 'socks_rdfz': socks_rdfz.c:31:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ socks_rdfz.c:31:3: warning: incompatible implicit declaration of built-in function 'exit' socks_rdfz.c:31:3: note: include '' or provide a declaration of 'exit' socks_rdfz.c:11:1: +#include socks_rdfz.c:31:3: exit(1); ^~~~ socks_rdfz.c:34:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(*cfAddrPtr); ^~~~ socks_rdfz.c:34:3: warning: incompatible implicit declaration of built-in function 'free' socks_rdfz.c:34:3: note: include '' or provide a declaration of 'free' socks_rdfz.c:36:3: warning: incompatible implicit declaration of built-in function 'free' free(*cfstrings); ^~~~ socks_rdfz.c:36:3: note: include '' or provide a declaration of 'free' socks_rdfz.c:38:6: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] if (read(fd, &Ncf, sizeof(Ncf)) != sizeof(Ncf)) { ^~~~ fread socks_rdfz.c:43:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdfz.c:43:3: note: include '' or provide a declaration of 'exit' socks_rdfz.c:51:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdfz.c:51:3: note: include '' or provide a declaration of 'exit' socks_rdfz.c:54:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] cfAddr = (struct config *) malloc(Ncf * (sizeof(struct config))); ^~~~~~ socks_rdfz.c:54:29: warning: incompatible implicit declaration of built-in function 'malloc' socks_rdfz.c:54:29: note: include '' or provide a declaration of 'malloc' socks_rdfz.c:60:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdfz.c:60:3: note: include '' or provide a declaration of 'exit' socks_rdfz.c:67:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdfz.c:67:3: note: include '' or provide a declaration of 'exit' socks_rdfz.c:72:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd); ^~~~~ pclose socks_rdfz.c:80:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdfz.c:80:3: note: include '' or provide a declaration of 'exit' socks_rdfz.c:88:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_rdfz.c:88:3: note: include '' or provide a declaration of 'exit' socks_rdfz.c:95:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->userlist = startaddr + (int)cp->userlist; ^ socks_rdfz.c:97:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->serverlist = startaddr + (int)cp->serverlist; ^ socks_rdfz.c:99:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->sdomain = startaddr + (int)cp->sdomain; ^ socks_rdfz.c:101:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->ddomain = startaddr + (int)cp->ddomain; ^ socks_rdfz.c:103:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cp->cmdp = startaddr + (int)cp->cmdp; ^ gcc -fPIC -I../include -g -DLINUX -c -o socks_wrfz.lo socks_wrfz.c socks_wrfz.c: In function 'socks_wrfz': socks_wrfz.c:40:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] if ((stringarea = (char *)malloc(stringsize)) == NULL) { ^~~~~~ socks_wrfz.c:40:29: warning: incompatible implicit declaration of built-in function 'malloc' socks_wrfz.c:40:29: note: include '' or provide a declaration of 'malloc' socks_wrfz.c:11:1: +#include socks_wrfz.c:40:29: if ((stringarea = (char *)malloc(stringsize)) == NULL) { ^~~~~~ socks_wrfz.c:45:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ socks_wrfz.c:45:4: warning: incompatible implicit declaration of built-in function 'exit' socks_wrfz.c:45:4: note: include '' or provide a declaration of 'exit' socks_wrfz.c:83:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_wrfz.c:83:3: note: include '' or provide a declaration of 'exit' socks_wrfz.c:85:6: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if (write(fd, &Nconf, sizeof(Nconf)) != sizeof(Nconf)) { ^~~~~ fwrite socks_wrfz.c:90:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_wrfz.c:90:3: note: include '' or provide a declaration of 'exit' socks_wrfz.c:97:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_wrfz.c:97:3: note: include '' or provide a declaration of 'exit' socks_wrfz.c:104:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_wrfz.c:104:3: note: include '' or provide a declaration of 'exit' socks_wrfz.c:111:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ socks_wrfz.c:111:3: note: include '' or provide a declaration of 'exit' gcc -fPIC -I../include -g -DLINUX -c -o socks_dumpcf.lo socks_dumpcf.c gcc -fPIC -I../include -g -DLINUX -c -o sockd_dumpcf.lo sockd_dumpcf.c gcc -fPIC -I../include -g -DLINUX -c -o sockd_dumprt.lo sockd_dumprt.c gcc -fPIC -I../include -g -DLINUX -c -o sockd_rdconf.lo sockd_rdconf.c sockd_rdconf.c: In function 'sockd_rdconf': sockd_rdconf.c:39:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ sockd_rdconf.c:39:3: warning: incompatible implicit declaration of built-in function 'exit' sockd_rdconf.c:39:3: note: include '' or provide a declaration of 'exit' sockd_rdconf.c:11:1: +#include sockd_rdconf.c:39:3: exit(1); ^~~~ sockd_rdconf.c:44:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(cp->userlist); ^~~~ sockd_rdconf.c:44:4: warning: incompatible implicit declaration of built-in function 'free' sockd_rdconf.c:44:4: note: include '' or provide a declaration of 'free' sockd_rdconf.c:46:4: warning: incompatible implicit declaration of built-in function 'free' free(cp->cmdp); ^~~~ sockd_rdconf.c:46:4: note: include '' or provide a declaration of 'free' sockd_rdconf.c:48:4: warning: incompatible implicit declaration of built-in function 'free' free(cp->sdomain); ^~~~ sockd_rdconf.c:48:4: note: include '' or provide a declaration of 'free' sockd_rdconf.c:50:4: warning: incompatible implicit declaration of built-in function 'free' free(cp->ddomain); ^~~~ sockd_rdconf.c:50:4: note: include '' or provide a declaration of 'free' sockd_rdconf.c:53:3: warning: incompatible implicit declaration of built-in function 'free' free(*cfAddrPtr); ^~~~ sockd_rdconf.c:53:3: note: include '' or provide a declaration of 'free' sockd_rdconf.c:55:3: warning: incompatible implicit declaration of built-in function 'free' free(*no_identd_cmd); ^~~~ sockd_rdconf.c:55:3: note: include '' or provide a declaration of 'free' sockd_rdconf.c:59:3: warning: incompatible implicit declaration of built-in function 'free' free(*bad_id_cmd); ^~~~ sockd_rdconf.c:59:3: note: include '' or provide a declaration of 'free' sockd_rdconf.c:64:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] cfAddr = (struct config *) malloc( maxcf * sizeof(struct config)); ^~~~~~ sockd_rdconf.c:64:29: warning: incompatible implicit declaration of built-in function 'malloc' sockd_rdconf.c:64:29: note: include '' or provide a declaration of 'malloc' sockd_rdconf.c:107:3: warning: implicit declaration of function 'socks_mkargs'; did you mean 'sockatmark'? [-Wimplicit-function-declaration] socks_mkargs(buf, &argc, argv, 10); ^~~~~~~~~~~~ sockatmark sockd_rdconf.c:116:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdconf.c:116:4: note: include '' or provide a declaration of 'exit' sockd_rdconf.c:175:7: warning: implicit declaration of function 'socks_GetAddr'; did you mean 'socketpair'? [-Wimplicit-function-declaration] if (socks_GetAddr(argv[next_arg++], &cp->saddr, &cp->sdomain) == -1){ ^~~~~~~~~~~~~ socketpair sockd_rdconf.c:178:7: warning: implicit declaration of function 'socks_GetQuad' [-Wimplicit-function-declaration] if (socks_GetQuad(argv[next_arg++], &cp->smask) == -1) { ^~~~~~~~~~~~~ sockd_rdconf.c:232:14: warning: implicit declaration of function 'socks_GetPort' [-Wimplicit-function-declaration] if (((p = socks_GetPort(argv[next_arg+1])) < 0) || ^~~~~~~~~~~~~ sockd_rdconf.c:250:31: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] cfAddr = (struct config *) realloc(cfAddr, maxcf * sizeof(struct config)); ^~~~~~~ sockd_rdconf.c:250:31: warning: incompatible implicit declaration of built-in function 'realloc' sockd_rdconf.c:250:31: note: include '' or provide a declaration of 'realloc' sockd_rdconf.c:264:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdconf.c:264:3: note: include '' or provide a declaration of 'exit' sockd_rdconf.c:267:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdconf.c:267:3: note: include '' or provide a declaration of 'exit' sockd_rdconf.c:269:30: warning: incompatible implicit declaration of built-in function 'realloc' cfAddr = (struct config *) realloc(cfAddr, Ncf * sizeof(struct config)); ^~~~~~~ sockd_rdconf.c:269:30: note: include '' or provide a declaration of 'realloc' sockd_rdconf.c:279:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdconf.c:279:2: note: include '' or provide a declaration of 'exit' gcc -fPIC -I../include -g -DLINUX -c -o sockd_rdroute.lo sockd_rdroute.c sockd_rdroute.c: In function 'sockd_rdroute': sockd_rdroute.c:38:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ sockd_rdroute.c:38:3: warning: incompatible implicit declaration of built-in function 'exit' sockd_rdroute.c:38:3: note: include '' or provide a declaration of 'exit' sockd_rdroute.c:12:1: +#include sockd_rdroute.c:38:3: exit(1); ^~~~ sockd_rdroute.c:43:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(cp->ddomain); ^~~~ sockd_rdroute.c:43:4: warning: incompatible implicit declaration of built-in function 'free' sockd_rdroute.c:43:4: note: include '' or provide a declaration of 'free' sockd_rdroute.c:46:3: warning: incompatible implicit declaration of built-in function 'free' free(*rtAddrPtr); ^~~~ sockd_rdroute.c:46:3: note: include '' or provide a declaration of 'free' sockd_rdroute.c:49:29: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] rtAddr = (struct config *) malloc( maxrt * sizeof(struct config)); ^~~~~~ sockd_rdroute.c:49:29: warning: incompatible implicit declaration of built-in function 'malloc' sockd_rdroute.c:49:29: note: include '' or provide a declaration of 'malloc' sockd_rdroute.c:78:3: warning: implicit declaration of function 'socks_mkargs'; did you mean 'sockatmark'? [-Wimplicit-function-declaration] socks_mkargs(buf, &argc, argv, 10); ^~~~~~~~~~~~ sockatmark sockd_rdroute.c:87:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdroute.c:87:4: note: include '' or provide a declaration of 'exit' sockd_rdroute.c:90:7: warning: implicit declaration of function 'socks_GetQuad' [-Wimplicit-function-declaration] if (socks_GetQuad(argv[0], &cp->saddr) == -1) { ^~~~~~~~~~~~~ sockd_rdroute.c:98:7: warning: implicit declaration of function 'socks_GetAddr'; did you mean 'socketpair'? [-Wimplicit-function-declaration] if (socks_GetAddr(argv[1], &cp->daddr, &cp->ddomain) == -1){ ^~~~~~~~~~~~~ socketpair sockd_rdroute.c:113:31: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] rtAddr = (struct config *) realloc(rtAddr, maxrt * sizeof(struct config)); ^~~~~~~ sockd_rdroute.c:113:31: warning: incompatible implicit declaration of built-in function 'realloc' sockd_rdroute.c:113:31: note: include '' or provide a declaration of 'realloc' sockd_rdroute.c:127:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdroute.c:127:3: note: include '' or provide a declaration of 'exit' sockd_rdroute.c:130:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdroute.c:130:3: note: include '' or provide a declaration of 'exit' sockd_rdroute.c:132:30: warning: incompatible implicit declaration of built-in function 'realloc' rtAddr = (struct config *) realloc(rtAddr, Nrt * sizeof(struct config)); ^~~~~~~ sockd_rdroute.c:132:30: note: include '' or provide a declaration of 'realloc' sockd_rdroute.c:142:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd_rdroute.c:142:2: note: include '' or provide a declaration of 'exit' gcc -fPIC -I../include -g -DLINUX -c -o getpass.lo getpass.c getpass.c: In function 'getpass': getpass.c:94:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] omask = sigblock(sigmask(SIGINT)); ^~~~~ In file included from /usr/include/x86_64-linux-gnu/sys/signal.h:1, from getpass.c:44: /usr/include/signal.h:170:12: note: declared here extern int sigblock (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~ getpass.c:109:8: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] (void)write(fileno(outfp), "\n", 1); ^~~~~ fwrite getpass.c:124:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] (void)sigsetmask(omask); ^ In file included from /usr/include/x86_64-linux-gnu/sys/signal.h:1, from getpass.c:44: /usr/include/signal.h:173:12: note: declared here extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; ^~~~~~~~~~ rm -f libsocks.so.4.3 gcc -shared -o libsocks.so.4.3 -Wl,-soname,libsocks.so.4 -Wl,--whole-archive Rconnect.lo SendGetDst.lo porttoserv.lo utils.lo Rbind.lo Rgethostbyname.lo Rselect.lo null_syslog.lo shell_cmd.lo socks_ckcf.lo socks_rdconf.lo socks_rdfz.lo socks_wrfz.lo socks_dumpcf.lo sockd_dumpcf.lo sockd_dumprt.lo sockd_rdconf.lo sockd_rdroute.lo getpass.lo -Wl,--no-whole-archive -lc ln -sf libsocks.so.4.3 libsocks.so.4 ln -sf libsocks.so.4.3 libsocks.so make[2]: Leaving directory '/<>/lib' (cd mkfc; make CC="gcc" SOCKS_LIB="-L/<>/lib/ -lsocks" \ SOCKS_LIB_DEP="/<>/lib/libsocks.a" \ RESOLV_LIB="" \ OPTIMIZE="-g" OTHER_CFLAGS="-DLINUX " ) make[2]: Entering directory '/<>/mkfc' /<>/mkfc gcc -I../include -g -DLINUX -c -o make_socksfc.o make_socksfc.c make_socksfc.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ make_socksfc.c: In function 'main': make_socksfc.c:21:6: warning: implicit declaration of function 'socks_rdconf' [-Wimplicit-function-declaration] if (socks_rdconf(infile, &confAddr, &Nconf, useSyslog) == -1) { ^~~~~~~~~~~~ make_socksfc.c:23:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ make_socksfc.c:23:3: warning: incompatible implicit declaration of built-in function 'exit' make_socksfc.c:23:3: note: include '' or provide a declaration of 'exit' make_socksfc.c:6:1: +#include make_socksfc.c:23:3: exit(1); ^~~~ make_socksfc.c:25:2: warning: implicit declaration of function 'socks_wrfz' [-Wimplicit-function-declaration] socks_wrfz(outfile, confAddr, Nconf, useSyslog); ^~~~~~~~~~ gcc -I../include -g -DLINUX -o make_socksfc make_socksfc.o -L/<>/lib/ -lsocks gcc -I../include -g -DLINUX -c -o make_sockdfc.o make_sockdfc.c make_sockdfc.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ make_sockdfc.c: In function 'main': make_sockdfc.c:22:6: warning: implicit declaration of function 'sockd_rdconf' [-Wimplicit-function-declaration] if (sockd_rdconf(infile, &confAddr, &Nconf, &ptr1, &ptr2, useSyslog) == -1) { ^~~~~~~~~~~~ make_sockdfc.c:24:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ make_sockdfc.c:24:3: warning: incompatible implicit declaration of built-in function 'exit' make_sockdfc.c:24:3: note: include '' or provide a declaration of 'exit' make_sockdfc.c:6:1: +#include make_sockdfc.c:24:3: exit(1); ^~~~ make_sockdfc.c:26:2: warning: implicit declaration of function 'socks_wrfz' [-Wimplicit-function-declaration] socks_wrfz(outfile, confAddr, Nconf, useSyslog); ^~~~~~~~~~ gcc -I../include -g -DLINUX -o make_sockdfc make_sockdfc.o -L/<>/lib/ -lsocks gcc -I../include -g -DLINUX -c -o make_sockdfr.o make_sockdfr.c make_sockdfr.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ make_sockdfr.c: In function 'main': make_sockdfr.c:21:6: warning: implicit declaration of function 'sockd_rdroute' [-Wimplicit-function-declaration] if (sockd_rdroute(infile, &confAddr, &Nconf, useSyslog) == -1) { ^~~~~~~~~~~~~ make_sockdfr.c:23:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ make_sockdfr.c:23:3: warning: incompatible implicit declaration of built-in function 'exit' make_sockdfr.c:23:3: note: include '' or provide a declaration of 'exit' make_sockdfr.c:6:1: +#include make_sockdfr.c:23:3: exit(1); ^~~~ make_sockdfr.c:25:2: warning: implicit declaration of function 'socks_wrfz' [-Wimplicit-function-declaration] socks_wrfz(outfile, confAddr, Nconf, useSyslog); ^~~~~~~~~~ gcc -I../include -g -DLINUX -o make_sockdfr make_sockdfr.o -L/<>/lib/ -lsocks gcc -I../include -g -DLINUX -c -o dump_socksfc.o dump_socksfc.c dump_socksfc.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ dump_socksfc.c: In function 'main': dump_socksfc.c:24:2: warning: implicit declaration of function 'socks_rdfz' [-Wimplicit-function-declaration] socks_rdfz(file, &cfAddr, &Ncf, &cfstrings, useSyslog); ^~~~~~~~~~ dump_socksfc.c:25:2: warning: implicit declaration of function 'socks_dumpcf' [-Wimplicit-function-declaration] socks_dumpcf(cfAddr, Ncf, useSyslog); ^~~~~~~~~~~~ gcc -I../include -g -DLINUX -o dump_socksfc dump_socksfc.o -L/<>/lib/ -lsocks gcc -I../include -g -DLINUX -c -o dump_sockdfc.o dump_sockdfc.c dump_sockdfc.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ dump_sockdfc.c: In function 'main': dump_sockdfc.c:24:2: warning: implicit declaration of function 'socks_rdfz' [-Wimplicit-function-declaration] socks_rdfz(file, &cfAddr, &Ncf, &cfstrings, useSyslog); ^~~~~~~~~~ dump_sockdfc.c:25:2: warning: implicit declaration of function 'sockd_dumpcf' [-Wimplicit-function-declaration] sockd_dumpcf(cfAddr, Ncf, useSyslog); ^~~~~~~~~~~~ gcc -I../include -g -DLINUX -o dump_sockdfc dump_sockdfc.o -L/<>/lib/ -lsocks gcc -I../include -g -DLINUX -c -o dump_sockdfr.o dump_sockdfr.c dump_sockdfr.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ dump_sockdfr.c: In function 'main': dump_sockdfr.c:24:2: warning: implicit declaration of function 'socks_rdfz' [-Wimplicit-function-declaration] socks_rdfz(file, &rtAddr, &Nrt, &rtstrings, useSyslog); ^~~~~~~~~~ dump_sockdfr.c:25:2: warning: implicit declaration of function 'sockd_dumprt'; did you mean 'sockatmark'? [-Wimplicit-function-declaration] sockd_dumprt(rtAddr, Nrt, useSyslog); ^~~~~~~~~~~~ sockatmark gcc -I../include -g -DLINUX -o dump_sockdfr dump_sockdfr.o -L/<>/lib/ -lsocks make[2]: Leaving directory '/<>/mkfc' (cd sockd; make CC="gcc" RESOLV_LIB="" \ OPTIMIZE="-g" RANLIB="ranlib" \ SOCKS_LIB="-L/<>/lib/ -lsocks" \ SOCKS_LIB_DEP="/<>/lib/libsocks.a" \ IDENT_LIB="-lident" \ OTHER_CFLAGS="-DLINUX ") make[2]: Entering directory '/<>/sockd' /<>/sockd gcc -I../include -g -DLINUX -c -o sockd_ckcf.o sockd_ckcf.c sockd_ckcf.c: In function 'sockd_ckcf': sockd_ckcf.c:41:7: warning: implicit declaration of function 'socks_ckadr'; did you mean 'sockd_ckcf'? [-Wimplicit-function-declaration] if (socks_ckadr(srcshp, cp->sdomain, &cp->saddr, &cp->smask) && ^~~~~~~~~~~ sockd_ckcf sockd_ckcf.c:43:7: warning: implicit declaration of function 'socks_ckusr'; did you mean 'sockd_ckcf'? [-Wimplicit-function-declaration] socks_ckusr(cp->userlist, srcshp->user, useSyslog) && ^~~~~~~~~~~ sockd_ckcf sockd_ckcf.c:44:7: warning: implicit declaration of function 'socks_ckprt'; did you mean 'sockd_ckcf'? [-Wimplicit-function-declaration] socks_ckprt(cp->tst, dst_sin_port, cp->dport)) ^~~~~~~~~~~ sockd_ckcf sockd_ckcf.c:61:4: warning: implicit declaration of function 'socks_shell_cmd' [-Wimplicit-function-declaration] socks_shell_cmd(cp->cmdp, srcshp, dstshp); ^~~~~~~~~~~~~~~ gcc -I../include -g -DLINUX -c -o sockd_ckrt.o sockd_ckrt.c sockd_ckrt.c: In function 'sockd_ckrt': sockd_ckrt.c:19:7: warning: implicit declaration of function 'socks_ckadr'; did you mean 'sockd_ckrt'? [-Wimplicit-function-declaration] if (socks_ckadr(dstshp, cp->ddomain, &cp->daddr, &cp->dmask) == 1) { ^~~~~~~~~~~ sockd_ckrt sockd_ckrt.c:24:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ sockd_ckrt.c:24:2: warning: incompatible implicit declaration of built-in function 'exit' sockd_ckrt.c:24:2: note: include '' or provide a declaration of 'exit' sockd_ckrt.c:8:1: +#include sockd_ckrt.c:24:2: exit(1); ^~~~ gcc -I../include -g -DLINUX -c -o sockd_getspcmd.o sockd_getspcmd.c sockd_getspcmd.c: In function 'sockd_getspcmd': sockd_getspcmd.c:30:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ sockd_getspcmd.c:10:5: note: declared here int sockd_getspcmd(cfAddr, Ncf, no_identd_cmd, bad_id_cmd) ^~~~~~~~~~~~~~ sockd_getspcmd.c:35:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ sockd_getspcmd.c:10:5: note: declared here int sockd_getspcmd(cfAddr, Ncf, no_identd_cmd, bad_id_cmd) ^~~~~~~~~~~~~~ gcc -I../include -g -DLINUX -c -o sockd_fail.o sockd_fail.c sockd_fail.c: In function 'sockd_fail': sockd_fail.c:15:2: warning: implicit declaration of function 'socks_SendDst' [-Wimplicit-function-declaration] socks_SendDst(in, ndst); ^~~~~~~~~~~~~ sockd_fail.c:16:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ sockd_fail.c:16:2: warning: incompatible implicit declaration of built-in function 'exit' sockd_fail.c:16:2: note: include '' or provide a declaration of 'exit' sockd_fail.c:6:1: +#include sockd_fail.c:16:2: exit(1); ^~~~ gcc -I../include -g -DLINUX -c -o setproctitle.o setproctitle.c setproctitle.c:22:1: warning: return type defaults to 'int' [-Wimplicit-int] socks_setproctitle(buf, Argv, LastArgv) ^~~~~~~~~~~~~~~~~~ gcc -I../include -g -DLINUX -c -o DoConnect.o DoConnect.c DoConnect.c: In function 'DoConnect': DoConnect.c:35:2: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)&sin, sizeof(sin)); ^~~~~ DoConnect.c:35:2: warning: incompatible implicit declaration of built-in function 'bzero' DoConnect.c:57:3: warning: implicit declaration of function 'close'; did you mean 'closelog'? [-Wimplicit-function-declaration] close(out); ^~~~~ closelog DoConnect.c:66:2: warning: implicit declaration of function 'socks_SendDst' [-Wimplicit-function-declaration] socks_SendDst(in, &ndst); ^~~~~~~~~~~~~ gcc -I../include -g -DLINUX -c -o DoNewBind.o DoNewBind.c DoNewBind.c: In function 'DoNewBind': DoNewBind.c:50:2: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)&sin, sizeof(sin)); ^~~~~ DoNewBind.c:50:2: warning: incompatible implicit declaration of built-in function 'bzero' DoNewBind.c:108:2: warning: implicit declaration of function 'socks_SendDst' [-Wimplicit-function-declaration] socks_SendDst(in, &ndst); ^~~~~~~~~~~~~ DoNewBind.c:122:2: warning: implicit declaration of function 'close'; did you mean 'closelog'? [-Wimplicit-function-declaration] close(out); ^~~~~ closelog DoNewBind.c:133:4: warning: implicit declaration of function 'socks_IPtohost'; did you mean 'socks_porttoserv'? [-Wimplicit-function-declaration] socks_IPtohost(&sin.sin_addr, dstshp); ^~~~~~~~~~~~~~ socks_porttoserv DoNewBind.c:139:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ DoNewBind.c:139:4: warning: incompatible implicit declaration of built-in function 'exit' DoNewBind.c:139:4: note: include '' or provide a declaration of 'exit' DoNewBind.c:8:1: +#include DoNewBind.c:139:4: exit(1); ^~~~ gcc -I../include -g -DLINUX -DSOCKSIFIED_SOCKD -c -o RDoConnect.o DoConnect.c DoConnect.c: In function 'RDoConnect': DoConnect.c:35:2: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)&sin, sizeof(sin)); ^~~~~ DoConnect.c:35:2: warning: incompatible implicit declaration of built-in function 'bzero' DoConnect.c:52:11: warning: implicit declaration of function 'Rconnect'; did you mean 'connect'? [-Wimplicit-function-declaration] cstat = Rconnect(out, (struct sockaddr *)&sin, sizeof(struct sockaddr_in)); ^~~~~~~~ connect DoConnect.c:57:3: warning: implicit declaration of function 'close'; did you mean 'closelog'? [-Wimplicit-function-declaration] close(out); ^~~~~ closelog DoConnect.c:66:2: warning: implicit declaration of function 'socks_SendDst' [-Wimplicit-function-declaration] socks_SendDst(in, &ndst); ^~~~~~~~~~~~~ gcc -I../include -g -DLINUX -DSOCKSIFIED_SOCKD -c -o RDoNewBind.o DoNewBind.c DoNewBind.c: In function 'RDoNewBind': DoNewBind.c:50:2: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)&sin, sizeof(sin)); ^~~~~ DoNewBind.c:50:2: warning: incompatible implicit declaration of built-in function 'bzero' DoNewBind.c:76:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(socks_srcsh.user, srcshp->user); ^~~~~~ DoNewBind.c:76:2: warning: incompatible implicit declaration of built-in function 'strcpy' DoNewBind.c:76:2: note: include '' or provide a declaration of 'strcpy' DoNewBind.c:8:1: +#include DoNewBind.c:76:2: strcpy(socks_srcsh.user, srcshp->user); ^~~~~~ DoNewBind.c:80:6: warning: implicit declaration of function 'Rbind'; did you mean 'bind'? [-Wimplicit-function-declaration] if (Rbind(out, (struct sockaddr *)&sin, sizeof(sin)) < 0) ^~~~~ bind DoNewBind.c:82:6: warning: implicit declaration of function 'Rgetsockname'; did you mean 'getsockname'? [-Wimplicit-function-declaration] if (Rgetsockname(out, (struct sockaddr *)&sin, &len) < 0) ^~~~~~~~~~~~ getsockname DoNewBind.c:101:6: warning: implicit declaration of function 'Rlisten'; did you mean 'listen'? [-Wimplicit-function-declaration] if (Rlisten(out, 1) < 0) ^~~~~~~ listen DoNewBind.c:108:2: warning: implicit declaration of function 'socks_SendDst' [-Wimplicit-function-declaration] socks_SendDst(in, &ndst); ^~~~~~~~~~~~~ DoNewBind.c:112:13: warning: implicit declaration of function 'Raccept'; did you mean 'accept'? [-Wimplicit-function-declaration] if ((new = Raccept(out, (struct sockaddr *)&sin, &len)) < 0) ^~~~~~~ accept DoNewBind.c:122:2: warning: implicit declaration of function 'close'; did you mean 'closelog'? [-Wimplicit-function-declaration] close(out); ^~~~~ closelog rm -f libsockd.a ar rc libsockd.a sockd_ckcf.o sockd_ckrt.o sockd_getspcmd.o sockd_fail.o setproctitle.o DoConnect.o DoNewBind.o RDoConnect.o RDoNewBind.o ranlib libsockd.a gcc -I../include -g -DLINUX -c -o sockd.o sockd.c sockd.c: In function 'readConfig': sockd.c:84:3: warning: implicit declaration of function 'socks_rdfz'; did you mean 'socks_cmd'? [-Wimplicit-function-declaration] socks_rdfz(SOCKD_FC, &cfAddr, &Ncf, &cfStrings, useSyslog); ^~~~~~~~~~ socks_cmd sockd.c:85:3: warning: implicit declaration of function 'sockd_getspcmd'; did you mean 'socks_cmd'? [-Wimplicit-function-declaration] sockd_getspcmd(cfAddr, Ncf, &no_identd_cmd, &bad_id_cmd); ^~~~~~~~~~~~~~ socks_cmd sockd.c:88:3: warning: implicit declaration of function 'sockd_rdconf'; did you mean 'sockd_ckrt'? [-Wimplicit-function-declaration] sockd_rdconf(SOCKD_CONF, &cfAddr, &Ncf, &no_identd_cmd, &bad_id_cmd, useSyslog); ^~~~~~~~~~~~ sockd_ckrt sockd.c:95:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ sockd.c:95:3: warning: incompatible implicit declaration of built-in function 'exit' sockd.c:95:3: note: include '' or provide a declaration of 'exit' sockd.c:29:1: +#include #define IDENTD_TIMEOUT 15 /* 15 seconds */ sockd.c:95:3: exit(1); ^~~~ sockd.c:105:10: warning: implicit declaration of function 'sockd_rdroute'; did you mean 'sockd_ckrt'? [-Wimplicit-function-declaration] sockd_rdroute(SOCKD_ROUTE_FILE, &rtAddr, &Nrt, useSyslog); ^~~~~~~~~~~~~ sockd_ckrt sockd.c:112:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:112:3: note: include '' or provide a declaration of 'exit' sockd.c: In function 'die': sockd.c:163:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:163:2: note: include '' or provide a declaration of 'exit' sockd.c: At top level: sockd.c:178:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ sockd.c: In function 'main': sockd.c:293:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:293:3: note: include '' or provide a declaration of 'exit' sockd.c:347:6: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] if (gethostname(name, sizeof(name)) < 0) { ^~~~~~~~~~~ gethostbyname sockd.c:349:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:349:3: note: include '' or provide a declaration of 'exit' sockd.c:353:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:353:3: note: include '' or provide a declaration of 'exit' sockd.c:419:7: warning: implicit declaration of function 'dup' [-Wimplicit-function-declaration] in = dup(0); ^~~ sockd.c:424:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:424:3: note: include '' or provide a declaration of 'exit' sockd.c:430:6: warning: implicit declaration of function 'socks_IPtohost' [-Wimplicit-function-declaration] if (socks_IPtohost(&from.sin_addr, &srcsh) < 0) { ^~~~~~~~~~~~~~ sockd.c:432:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:432:3: note: include '' or provide a declaration of 'exit' sockd.c:436:6: warning: implicit declaration of function 'socks_GetDst'; did you mean 'sockd_ckrt'? [-Wimplicit-function-declaration] if (socks_GetDst(in, &dst) < 0) { ^~~~~~~~~~~~ sockd_ckrt sockd.c:438:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:438:3: note: include '' or provide a declaration of 'exit' sockd.c:444:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:444:3: note: include '' or provide a declaration of 'exit' sockd.c:456:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:456:3: note: include '' or provide a declaration of 'exit' sockd.c:464:9: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] while (read(in, &c, 1) == 1) ^~~~ fread sockd.c:477:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:477:4: note: include '' or provide a declaration of 'exit' sockd.c:492:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:492:4: note: include '' or provide a declaration of 'exit' sockd.c:497:6: warning: implicit declaration of function 'socks_host'; did you mean 'sockd_ckrt'? [-Wimplicit-function-declaration] if(socks_host(name, &dstsh) < 0) { ^~~~~~~~~~ sockd_ckrt sockd.c:499:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:499:4: note: include '' or provide a declaration of 'exit' sockd.c:507:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:507:4: note: include '' or provide a declaration of 'exit' sockd.c:514:11: warning: implicit declaration of function 'sockd_ckcf'; did you mean 'sockd_ckrt'? [-Wimplicit-function-declaration] permit = sockd_ckcf(&srcsh, &dstsh, use_identd, in, cfAddr, Ncf, no_identd_cmd, bad_id_cmd, useSyslog); ^~~~~~~~~~ sockd_ckrt sockd.c:541:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:541:3: note: include '' or provide a declaration of 'exit' sockd.c:548:3: warning: implicit declaration of function 'socks_SendDst'; did you mean 'socks_cmd'? [-Wimplicit-function-declaration] socks_SendDst(in, &dst); ^~~~~~~~~~~~~ socks_cmd sockd.c:549:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:549:3: note: include '' or provide a declaration of 'exit' sockd.c:555:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:555:3: note: include '' or provide a declaration of 'exit' sockd.c:559:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ sockd.c:559:3: note: include '' or provide a declaration of 'exit' sockd.c:576:2: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] alarm(60*2); ^~~~~ sockd.c:630:10: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if (write(out, netbuf, n) < 0) { ^~~~~ fwrite gcc -I../include -g -DLINUX -o sockd sockd.o libsockd.a -L/<>/lib/ -lsocks -lident /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib/libident.so when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib/libident.a when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/../lib/libident.so when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/../lib/libident.a when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/8/../../../libident.so when searching for -lident /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/8/../../../libident.a when searching for -lident /usr/bin/ld: skipping incompatible //usr/lib/libident.so when searching for -lident /usr/bin/ld: skipping incompatible //usr/lib/libident.a when searching for -lident /usr/bin/ld: cannot find -lident collect2: error: ld returned 1 exit status make[2]: *** [Makefile:20: sockd] Error 1 make[2]: Leaving directory '/<>/sockd' make[1]: *** [Makefile:345: server] Error 2 make[1]: Leaving directory '/<>' make: *** [debian/rules:13: build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2019-07-01T02:46:16Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any Build-Space: 2836 Build-Time: 5 Distribution: unstable Fail-Stage: build Foreign Architectures: s390x Host Architecture: s390x Install-Time: 25 Job: socks4-server_4.3.beta2-20 Machine Architecture: amd64 Package: socks4-server Package-Time: 40 Source-Version: 4.3.beta2-20 Space: 2836 Status: attempted Version: 4.3.beta2-20 -------------------------------------------------------------------------------- Finished at 2019-07-01T02:46:16Z Build needed 00:00:40, 2836k disk space