DC-Build-Header: baycomusb 0.10-14 / 2017-07-06 20:22:16 +0000 DC-Task: type:rebuild-binarch-only source:baycomusb version:0.10-14 chroot:unstable esttime:295 logfile:/tmp/baycomusb_0.10-14_unstable_clang4.0.log modes:clang40:binarch-only DC-Sbuild-call: su user42 -c 'sbuild -n --arch-any --apt-update -d unstable -v --chroot-setup-commands=/tmp/clang40 baycomusb_0.10-14' sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on ip-172-31-43-25.eu-central-1.compute.internal +==============================================================================+ | baycomusb 0.10-14 (amd64) Thu, 06 Jul 2017 20:22:17 +0000 | +==============================================================================+ Package: baycomusb Version: 0.10-14 Source Version: 0.10-14 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/unstable-amd64-sbuild-cc4d240c-3d14-48c1-8000-86b08752c09d' with '<>' +------------------------------------------------------------------------------+ | Chroot Setup Commands | +------------------------------------------------------------------------------+ /tmp/clang40 ------------ + echo 'Entering customization script...' Entering customization script... + CLANG_VERSION=4.0 + echo 'Install of clang-4.0' Install of clang-4.0 + apt-get update Hit:1 http://127.0.0.1:9999/debian unstable InRelease Get:2 http://127.0.0.1:9999/debian unstable/main Translation-en [5730 kB] Fetched 5730 kB in 1s (3932 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-4.0 Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libbsd0 libclang-common-4.0-dev libclang1-4.0 libedit2 libjsoncpp1 libllvm4.0 libncurses5 libobjc-6-dev libobjc4 Suggested packages: gnustep gnustep-devel clang-4.0-doc libomp-dev Recommended packages: llvm-4.0-dev python libgpm2 The following NEW packages will be installed: clang-4.0 libbsd0 libclang-common-4.0-dev libclang1-4.0 libedit2 libjsoncpp1 libllvm4.0 libncurses5 libobjc-6-dev libobjc4 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 74.4 MB of archives. After this operation, 320 MB of additional disk space will be used. Get:1 http://127.0.0.1:9999/debian unstable/main amd64 libbsd0 amd64 0.8.5-1 [89.6 kB] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 libncurses5 amd64 6.0+20161126-1 [93.4 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 libedit2 amd64 3.1-20170329-1 [85.2 kB] Get:4 http://127.0.0.1:9999/debian unstable/main amd64 libllvm4.0 amd64 1:4.0.1-1 [12.3 MB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 libclang1-4.0 amd64 1:4.0.1-1 [6355 kB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 libobjc4 amd64 7.1.0-9 [51.0 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 libobjc-6-dev amd64 6.4.0-1 [197 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 libclang-common-4.0-dev amd64 1:4.0.1-1 [2495 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 clang-4.0 amd64 1:4.0.1-1 [52.7 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 74.4 MB in 0s (95.5 MB/s) Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9711 files and directories currently installed.) Preparing to unpack .../0-libbsd0_0.8.5-1_amd64.deb ... Unpacking libbsd0:amd64 (0.8.5-1) ... Selecting previously unselected package libncurses5:amd64. Preparing to unpack .../1-libncurses5_6.0+20161126-1_amd64.deb ... Unpacking libncurses5:amd64 (6.0+20161126-1) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../2-libedit2_3.1-20170329-1_amd64.deb ... Unpacking libedit2:amd64 (3.1-20170329-1) ... Selecting previously unselected package libllvm4.0:amd64. Preparing to unpack .../3-libllvm4.0_1%3a4.0.1-1_amd64.deb ... Unpacking libllvm4.0:amd64 (1:4.0.1-1) ... Selecting previously unselected package libclang1-4.0:amd64. Preparing to unpack .../4-libclang1-4.0_1%3a4.0.1-1_amd64.deb ... Unpacking libclang1-4.0:amd64 (1:4.0.1-1) ... Selecting previously unselected package libjsoncpp1:amd64. Preparing to unpack .../5-libjsoncpp1_1.7.4-3_amd64.deb ... Unpacking libjsoncpp1:amd64 (1.7.4-3) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../6-libobjc4_7.1.0-9_amd64.deb ... Unpacking libobjc4:amd64 (7.1.0-9) ... Selecting previously unselected package libobjc-6-dev:amd64. Preparing to unpack .../7-libobjc-6-dev_6.4.0-1_amd64.deb ... Unpacking libobjc-6-dev:amd64 (6.4.0-1) ... Selecting previously unselected package libclang-common-4.0-dev. Preparing to unpack .../8-libclang-common-4.0-dev_1%3a4.0.1-1_amd64.deb ... Unpacking libclang-common-4.0-dev (1:4.0.1-1) ... Selecting previously unselected package clang-4.0. Preparing to unpack .../9-clang-4.0_1%3a4.0.1-1_amd64.deb ... Unpacking clang-4.0 (1:4.0.1-1) ... Setting up libncurses5:amd64 (6.0+20161126-1) ... Setting up libobjc4:amd64 (7.1.0-9) ... Setting up libbsd0:amd64 (0.8.5-1) ... Processing triggers for libc-bin (2.24-12) ... Setting up libobjc-6-dev:amd64 (6.4.0-1) ... Setting up libjsoncpp1:amd64 (1.7.4-3) ... Setting up libedit2:amd64 (3.1-20170329-1) ... Setting up libllvm4.0:amd64 (1:4.0.1-1) ... Setting up libclang1-4.0:amd64 (1:4.0.1-1) ... Setting up libclang-common-4.0-dev (1:4.0.1-1) ... Setting up clang-4.0 (1:4.0.1-1) ... Processing triggers for libc-bin (2.24-12) ... W: --force-yes is deprecated, use one of the options starting with --allow instead. + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9 5 6 7' + cd /usr/bin + for VERSION in $VERSIONS + rm -f g++-4.6 gcc-4.6 cpp-4.6 gcc + ln -s clang++-4.0 g++-4.6 + ln -s clang-4.0 gcc-4.6 + ln -s clang-4.0 cpp-4.6 + ln -s clang-4.0 gcc + echo 'gcc-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.7 gcc-4.7 cpp-4.7 gcc + ln -s clang++-4.0 g++-4.7 + ln -s clang-4.0 gcc-4.7 + ln -s clang-4.0 cpp-4.7 + ln -s clang-4.0 gcc + echo 'gcc-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.8 gcc-4.8 cpp-4.8 gcc + ln -s clang++-4.0 g++-4.8 + ln -s clang-4.0 gcc-4.8 + ln -s clang-4.0 cpp-4.8 + ln -s clang-4.0 gcc + echo 'gcc-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.9 gcc-4.9 cpp-4.9 gcc + ln -s clang++-4.0 g++-4.9 + ln -s clang-4.0 gcc-4.9 + ln -s clang-4.0 cpp-4.9 + ln -s clang-4.0 gcc + echo 'gcc-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-5 gcc-5 cpp-5 gcc + ln -s clang++-4.0 g++-5 + ln -s clang-4.0 gcc-5 + ln -s clang-4.0 cpp-5 + ln -s clang-4.0 gcc + echo 'gcc-5 hold' + dpkg --set-selections + echo 'g++-5 hold' + dpkg --set-selections + for VERSION in $VERSIONS + rm -f g++-6 gcc-6 cpp-6 gcc + ln -s clang++-4.0 g++-6 + ln -s clang-4.0 gcc-6 + ln -s clang-4.0 cpp-6 + ln -s clang-4.0 gcc + echo 'gcc-6 hold' + dpkg --set-selections + echo 'g++-6 hold' + dpkg --set-selections + for VERSION in $VERSIONS + rm -f g++-7 gcc-7 cpp-7 gcc + ln -s clang++-4.0 g++-7 + ln -s clang-4.0 gcc-7 + ln -s clang-4.0 cpp-7 + ln -s clang-4.0 gcc + echo 'gcc-7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + cd - /build/baycomusb-uwejWS + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version + grep clang I: Finished running '/tmp/clang40'. Finished processing commands. -------------------------------------------------------------------------------- +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Hit:1 http://127.0.0.1:9999/debian unstable InRelease 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 1372 kB of source archives. Get:1 http://127.0.0.1:9999/debian unstable/main baycomusb 0.10-14 (dsc) [1846 B] Get:2 http://127.0.0.1:9999/debian unstable/main baycomusb 0.10-14 (tar) [1154 kB] Get:3 http://127.0.0.1:9999/debian unstable/main baycomusb 0.10-14 (diff) [217 kB] Fetched 1372 kB in 0s (6426 kB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/baycomusb-uwejWS/baycomusb-0.10' with '<>' I: NOTICE: Log filtering will replace 'build/baycomusb-uwejWS' with '<>' +------------------------------------------------------------------------------+ | Install build-essential | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-ZaAvfn/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-ZaAvfn/apt_archive ./ InRelease Get:2 copy:/<>/resolver-ZaAvfn/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-ZaAvfn/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-ZaAvfn/apt_archive ./ Sources [349 B] Get:5 copy:/<>/resolver-ZaAvfn/apt_archive ./ Packages [434 B] Fetched 1740 B in 0s (0 B/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 NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 778 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-ZaAvfn/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [778 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 778 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 10206 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (amd64 included in linux-any) +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 6), zlib1g-dev, libxml2-dev, pkg-config Filtered Build-Depends: debhelper (>= 6), zlib1g-dev, libxml2-dev, pkg-config dpkg-deb: building package 'sbuild-build-depends-baycomusb-dummy' in '/<>/resolver-ZaAvfn/apt_archive/sbuild-build-depends-baycomusb-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-baycomusb-dummy sbuild-build-depends-core-dummy dpkg-scanpackages: info: Wrote 2 entries to output Packages file. Ign:1 copy:/<>/resolver-ZaAvfn/apt_archive ./ InRelease Get:2 copy:/<>/resolver-ZaAvfn/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-ZaAvfn/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-ZaAvfn/apt_archive ./ Sources [511 B] Get:5 copy:/<>/resolver-ZaAvfn/apt_archive ./ Packages [596 B] Fetched 2070 B in 0s (0 B/s) Reading package lists... Reading package lists... Install baycomusb 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 file gettext gettext-base groff-base icu-devtools intltool-debian libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libicu-dev libicu57 libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libtimedate-perl libtool libxml2 libxml2-dev m4 man-db pkg-config po-debconf zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff icu-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc less www-browser libmail-box-perl Recommended packages: curl | wget | lynx-cur libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev xml-core libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base icu-devtools intltool-debian libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libglib2.0-0 libicu-dev libicu57 libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libtimedate-perl libtool libxml2 libxml2-dev m4 man-db pkg-config po-debconf sbuild-build-depends-baycomusb-dummy zlib1g-dev 0 upgraded, 34 newly installed, 0 to remove and 0 not upgraded. Need to get 37.1 MB of archives. After this operation, 163 MB of additional disk space will be used. Get:1 copy:/<>/resolver-ZaAvfn/apt_archive ./ sbuild-build-depends-baycomusb-dummy 0.invalid.0 [806 B] Get:2 http://127.0.0.1:9999/debian unstable/main amd64 groff-base amd64 1.22.3-9 [1160 kB] Get:3 http://127.0.0.1:9999/debian unstable/main amd64 bsdmainutils amd64 9.0.12+nmu1 [186 kB] Get:4 http://127.0.0.1:9999/debian unstable/main amd64 libpipeline1 amd64 1.4.1-2 [27.6 kB] Get:5 http://127.0.0.1:9999/debian unstable/main amd64 man-db amd64 2.7.6.1-2 [1044 kB] Get:6 http://127.0.0.1:9999/debian unstable/main amd64 libmagic-mgc amd64 1:5.30-1 [222 kB] Get:7 http://127.0.0.1:9999/debian unstable/main amd64 libmagic1 amd64 1:5.30-1 [111 kB] Get:8 http://127.0.0.1:9999/debian unstable/main amd64 file amd64 1:5.30-1 [63.9 kB] Get:9 http://127.0.0.1:9999/debian unstable/main amd64 gettext-base amd64 0.19.8.1-2+b1 [122 kB] Get:10 http://127.0.0.1:9999/debian unstable/main amd64 libicu57 amd64 57.1-6 [7701 kB] Get:11 http://127.0.0.1:9999/debian unstable/main amd64 libxml2 amd64 2.9.4+dfsg1-3 [715 kB] Get:12 http://127.0.0.1:9999/debian unstable/main amd64 libsigsegv2 amd64 2.11-1 [29.9 kB] Get:13 http://127.0.0.1:9999/debian unstable/main amd64 m4 amd64 1.4.18-1 [202 kB] Get:14 http://127.0.0.1:9999/debian unstable/main amd64 autoconf all 2.69-10 [338 kB] Get:15 http://127.0.0.1:9999/debian unstable/main amd64 autotools-dev all 20161112.1 [73.4 kB] Get:16 http://127.0.0.1:9999/debian unstable/main amd64 automake all 1:1.15.1-2 [736 kB] Get:17 http://127.0.0.1:9999/debian unstable/main amd64 autopoint all 0.19.8.1-2 [433 kB] Get:18 http://127.0.0.1:9999/debian unstable/main amd64 libtool all 2.4.6-2 [545 kB] Get:19 http://127.0.0.1:9999/debian unstable/main amd64 dh-autoreconf all 14 [15.9 kB] Get:20 http://127.0.0.1:9999/debian unstable/main amd64 libarchive-zip-perl all 1.59-1 [95.5 kB] Get:21 http://127.0.0.1:9999/debian unstable/main amd64 libfile-stripnondeterminism-perl all 0.035-2 [17.0 kB] Get:22 http://127.0.0.1:9999/debian unstable/main amd64 libtimedate-perl all 2.3000-2 [42.2 kB] Get:23 http://127.0.0.1:9999/debian unstable/main amd64 dh-strip-nondeterminism all 0.035-2 [10.7 kB] Get:24 http://127.0.0.1:9999/debian unstable/main amd64 libglib2.0-0 amd64 2.52.3-1 [2742 kB] Get:25 http://127.0.0.1:9999/debian unstable/main amd64 libcroco3 amd64 0.6.12-1 [144 kB] Get:26 http://127.0.0.1:9999/debian unstable/main amd64 gettext amd64 0.19.8.1-2+b1 [1301 kB] Get:27 http://127.0.0.1:9999/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.4 [26.3 kB] Get:28 http://127.0.0.1:9999/debian unstable/main amd64 po-debconf all 1.0.20 [247 kB] Get:29 http://127.0.0.1:9999/debian unstable/main amd64 debhelper all 10.6.2 [968 kB] Get:30 http://127.0.0.1:9999/debian unstable/main amd64 icu-devtools amd64 57.1-6 [178 kB] Get:31 http://127.0.0.1:9999/debian unstable/main amd64 libicu-dev amd64 57.1-6 [16.5 MB] Get:32 http://127.0.0.1:9999/debian unstable/main amd64 libxml2-dev amd64 2.9.4+dfsg1-3 [812 kB] Get:33 http://127.0.0.1:9999/debian unstable/main amd64 pkg-config amd64 0.29-4+b1 [63.3 kB] Get:34 http://127.0.0.1:9999/debian unstable/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-5 [205 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 37.1 MB in 0s (97.5 MB/s) Selecting previously unselected package groff-base. (Reading database ... 10206 files and directories currently installed.) Preparing to unpack .../00-groff-base_1.22.3-9_amd64.deb ... Unpacking groff-base (1.22.3-9) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_9.0.12+nmu1_amd64.deb ... Unpacking bsdmainutils (9.0.12+nmu1) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../02-libpipeline1_1.4.1-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.4.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../03-man-db_2.7.6.1-2_amd64.deb ... Unpacking man-db (2.7.6.1-2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.30-1_amd64.deb ... Unpacking libmagic-mgc (1:5.30-1) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../05-libmagic1_1%3a5.30-1_amd64.deb ... Unpacking libmagic1:amd64 (1:5.30-1) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.30-1_amd64.deb ... Unpacking file (1:5.30-1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.19.8.1-2+b1_amd64.deb ... Unpacking gettext-base (0.19.8.1-2+b1) ... Selecting previously unselected package libicu57:amd64. Preparing to unpack .../08-libicu57_57.1-6_amd64.deb ... Unpacking libicu57:amd64 (57.1-6) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../09-libxml2_2.9.4+dfsg1-3_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-3) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../10-libsigsegv2_2.11-1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.11-1) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.18-1_amd64.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.69-10_all.deb ... Unpacking autoconf (2.69-10) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20161112.1_all.deb ... Unpacking autotools-dev (20161112.1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.15.1-2_all.deb ... Unpacking automake (1:1.15.1-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.19.8.1-2_all.deb ... Unpacking autopoint (0.19.8.1-2) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_14_all.deb ... Unpacking dh-autoreconf (14) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.59-1_all.deb ... Unpacking libarchive-zip-perl (1.59-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_0.035-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.035-2) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../20-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_0.035-2_all.deb ... Unpacking dh-strip-nondeterminism (0.035-2) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../22-libglib2.0-0_2.52.3-1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.52.3-1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../23-libcroco3_0.6.12-1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.12-1) ... Selecting previously unselected package gettext. Preparing to unpack .../24-gettext_0.19.8.1-2+b1_amd64.deb ... Unpacking gettext (0.19.8.1-2+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../25-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../26-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../27-debhelper_10.6.2_all.deb ... Unpacking debhelper (10.6.2) ... Selecting previously unselected package icu-devtools. Preparing to unpack .../28-icu-devtools_57.1-6_amd64.deb ... Unpacking icu-devtools (57.1-6) ... Selecting previously unselected package libicu-dev. Preparing to unpack .../29-libicu-dev_57.1-6_amd64.deb ... Unpacking libicu-dev (57.1-6) ... Selecting previously unselected package libxml2-dev:amd64. Preparing to unpack .../30-libxml2-dev_2.9.4+dfsg1-3_amd64.deb ... Unpacking libxml2-dev:amd64 (2.9.4+dfsg1-3) ... Selecting previously unselected package pkg-config. Preparing to unpack .../31-pkg-config_0.29-4+b1_amd64.deb ... Unpacking pkg-config (0.29-4+b1) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../32-zlib1g-dev_1%3a1.2.8.dfsg-5_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ... Selecting previously unselected package sbuild-build-depends-baycomusb-dummy. Preparing to unpack .../33-sbuild-build-depends-baycomusb-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-baycomusb-dummy (0.invalid.0) ... Setting up libarchive-zip-perl (1.59-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:amd64 (2.11-1) ... Setting up groff-base (1.22.3-9) ... Setting up libglib2.0-0:amd64 (2.52.3-1) ... No schema files found: doing nothing. Setting up gettext-base (0.19.8.1-2+b1) ... Setting up libpipeline1:amd64 (1.4.1-2) ... Setting up m4 (1.4.18-1) ... Setting up libicu57:amd64 (57.1-6) ... Setting up libxml2:amd64 (2.9.4+dfsg1-3) ... Setting up libmagic-mgc (1:5.30-1) ... Setting up libmagic1:amd64 (1:5.30-1) ... Setting up libcroco3:amd64 (0.6.12-1) ... Setting up pkg-config (0.29-4+b1) ... Processing triggers for libc-bin (2.24-12) ... Setting up autotools-dev (20161112.1) ... Setting up icu-devtools (57.1-6) ... Setting up bsdmainutils (9.0.12+nmu1) ... 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 autopoint (0.19.8.1-2) ... Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ... Setting up libfile-stripnondeterminism-perl (0.035-2) ... Setting up gettext (0.19.8.1-2+b1) ... Setting up autoconf (2.69-10) ... Setting up libicu-dev (57.1-6) ... Setting up file (1:5.30-1) ... Setting up libxml2-dev:amd64 (2.9.4+dfsg1-3) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up automake (1:1.15.1-2) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.7.6.1-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libtool (2.4.6-2) ... Setting up po-debconf (1.0.20) ... Setting up dh-autoreconf (14) ... Setting up dh-strip-nondeterminism (0.035-2) ... Setting up debhelper (10.6.2) ... Setting up sbuild-build-depends-baycomusb-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.9.0-2-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.28-6 dpkg-dev_1.18.24 g++-6_6.4.0-1 gcc-6_6.4.0-1 libc6-dev_2.24-12 libstdc++-6-dev_6.4.0-1 libstdc++6_7.1.0-9 linux-libc-dev_4.11.6-1 Package versions: adduser_3.115 apt_1.5~beta1 autoconf_2.69-10 automake_1:1.15.1-2 autopoint_0.19.8.1-2 autotools-dev_20161112.1 base-files_10 base-passwd_3.5.43 bash_4.4-5 binutils_2.28-6 bsdmainutils_9.0.12+nmu1 bsdutils_1:2.29.2-1 build-essential_12.3 bzip2_1.0.6-8.1 clang-4.0_1:4.0.1-1 coreutils_8.26-3 cpp_4:6.3.0-4d1 cpp-6_6.4.0-1 dash_0.5.8-2.4 debconf_1.5.62 debfoster_2.7-2.1+b1 debhelper_10.6.2 debian-archive-keyring_2017.5 debianutils_4.8.1.1 dh-autoreconf_14 dh-strip-nondeterminism_0.035-2 diffutils_1:3.5-3 dpkg_1.18.24 dpkg-dev_1.18.24 e2fslibs_1.43.4-2 e2fsprogs_1.43.4-2 eatmydata_105-5 fakeroot_1.21-3.1 file_1:5.30-1 findutils_4.6.0+git+20170606-2 g++_4:6.3.0-4d1 g++-6_6.4.0-1 gcc_4:6.3.0-4d1 gcc-6_6.4.0-1 gcc-6-base_6.4.0-1 gcc-7-base_7.1.0-9 gettext_0.19.8.1-2+b1 gettext-base_0.19.8.1-2+b1 gpgv_2.1.18-8 grep_2.27-2 groff-base_1.22.3-9 gzip_1.6-5+b1 hostname_3.18+b1 icu-devtools_57.1-6 init-system-helpers_1.48 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3+b1 libapt-pkg5.0_1.5~beta1 libarchive-zip-perl_1.59-1 libasan3_6.4.0-1 libatomic1_7.1.0-9 libattr1_1:2.4.47-2+b2 libaudit-common_1:2.7.7-1 libaudit1_1:2.7.7-1+b1 libblkid1_2.29.2-1 libbsd0_0.8.5-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.24-12 libc-dev-bin_2.24-12 libc6_2.24-12 libc6-dev_2.24-12 libcap-ng0_0.7.7-3+b1 libcc1-0_7.1.0-9 libcilkrts5_7.1.0-9 libclang-common-4.0-dev_1:4.0.1-1 libclang1-4.0_1:4.0.1-1 libcomerr2_1.43.4-2 libcroco3_0.6.12-1 libdb5.3_5.3.28-12+b1 libdebconfclient0_0.229 libdpkg-perl_1.18.24 libeatmydata1_105-5 libedit2_3.1-20170329-1 libfakeroot_1.21-3.1 libfdisk1_2.29.2-1 libffi6_3.2.1-6 libfile-stripnondeterminism-perl_0.035-2 libgc1c2_1:7.4.2-8 libgcc-6-dev_6.4.0-1 libgcc1_1:7.1.0-9 libgcrypt20_1.7.8-1 libgdbm3_1.8.3-14 libglib2.0-0_2.52.3-1 libgmp10_2:6.1.2+dfsg-1 libgnutls30_3.5.13-2 libgomp1_7.1.0-9 libgpg-error0_1.27-3 libhogweed4_3.3-1+b1 libicu-dev_57.1-6 libicu57_57.1-6 libidn2-0_0.16-1+b1 libisl15_0.18-1 libitm1_7.1.0-9 libjsoncpp1_1.7.4-3 libllvm4.0_1:4.0.1-1 liblsan0_7.1.0-9 liblz4-1_0.0~r131-2+b1 liblzma5_5.2.2-1.2+b1 libmagic-mgc_1:5.30-1 libmagic1_1:5.30-1 libmount1_2.29.2-1 libmpc3_1.0.3-1+b2 libmpfr4_3.1.5-1 libmpx2_7.1.0-9 libncurses5_6.0+20161126-1 libncursesw5_6.0+20161126-1 libnettle6_3.3-1+b1 libobjc-6-dev_6.4.0-1 libobjc4_7.1.0-9 libp11-kit0_0.23.7-2 libpam-modules_1.1.8-3.6 libpam-modules-bin_1.1.8-3.6 libpam-runtime_1.1.8-3.6 libpam0g_1.1.8-3.6 libpcre3_2:8.39-3 libperl5.24_5.24.1-6 libpipeline1_1.4.1-2 libquadmath0_7.1.0-9 libselinux1_2.6-3+b2 libsemanage-common_2.6-2 libsemanage1_2.6-2+b1 libsepol1_2.6-2 libsigsegv2_2.11-1 libsmartcols1_2.29.2-1 libss2_1.43.4-2 libstdc++-6-dev_6.4.0-1 libstdc++6_7.1.0-9 libsystemd0_233-10 libtasn1-6_4.12-2 libtimedate-perl_2.3000-2 libtinfo5_6.0+20161126-1 libtool_2.4.6-2 libtsan0_7.1.0-9 libubsan0_7.1.0-9 libudev1_233-10 libunistring2_0.9.7-2 libustr-1.0-1_1.0.4-6 libuuid1_2.29.2-1 libxml2_2.9.4+dfsg1-3 libxml2-dev_2.9.4+dfsg1-3 linux-libc-dev_4.11.6-1 login_1:4.4-4.1 m4_1.4.18-1 make_4.1-9.1 man-db_2.7.6.1-2 mawk_1.3.3-17+b3 mount_2.29.2-1 multiarch-support_2.24-12 ncurses-base_6.0+20161126-1 ncurses-bin_6.0+20161126-1 passwd_1:4.4-4.1 patch_2.7.5-1+b2 perl_5.24.1-6 perl-base_5.24.1-6 perl-modules-5.24_5.24.1-6 pkg-config_0.29-4+b1 po-debconf_1.0.20 sbuild-build-depends-baycomusb-dummy_0.invalid.0 sbuild-build-depends-core-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.9 sysvinit-utils_2.88dsf-59.9 tar_1.29b-1.1 util-linux_2.29.2-1 xz-utils_5.2.2-1.2+b1 zlib1g_1:1.2.8.dfsg-5 zlib1g-dev_1:1.2.8.dfsg-5 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Sun Jul 2 09:41:18 2017 UTC gpgv: using RSA key AB8B748CBD90258044D955D2FA0C410738C9D903 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./baycomusb_0.10-14.dsc dpkg-source: info: extracting baycomusb in /<> dpkg-source: info: unpacking baycomusb_0.10.orig.tar.gz dpkg-source: info: applying baycomusb_0.10-14.diff.gz dpkg-source: info: upstream files that have been modified: /<>/Makefile.am /<>/Makefile.in /<>/aclocal.m4 /<>/baycomusb.initscript /<>/coinstaller/Makefile.in /<>/config.guess /<>/config.h.in /<>/config.sub /<>/configure /<>/configure.in /<>/depcomp /<>/diag/Makefile.am /<>/diag/Makefile.in /<>/diag/adapttests.c /<>/diag/cfgunix.c /<>/diag/configadapt.c /<>/directx/Makefile.in /<>/firmware/Makefile.am /<>/firmware/Makefile.in /<>/firmware/afskfirmware/Makefile.in /<>/firmware/audio2firmware/Makefile.in /<>/firmware/audiofirmware/Makefile.in /<>/firmware/bscanfirmware/Makefile.in /<>/firmware/dl2firmware/Makefile.in /<>/firmware/dlfirmware/Makefile.in /<>/firmware/fskfirmware/Makefile.in /<>/firmware/ihex2hdr.c /<>/firmware/reset2firmware/Makefile.in /<>/firmware/resetfirmware/Makefile.in /<>/flexdrv/Makefile.am /<>/flexdrv/Makefile.in /<>/fpga/Makefile.in /<>/kerneldrv/Makefile.in /<>/misc/Makefile.in /<>/misc/sysdeps.h /<>/missing /<>/po/baycomusb.pot /<>/po/cat-id-tbl.c /<>/trxapi/Makefile.in /<>/trxapi/server.c /<>/trxapp/Makefile /<>/trxapp/Makefile.in /<>/trxapp/src/.deps/freqdb.Po /<>/trxapp/src/.deps/interface.Po /<>/trxapp/src/.deps/main.Po /<>/trxapp/src/.deps/signalhist.Po /<>/trxapp/src/.deps/support.Po /<>/trxapp/src/.deps/widgets.Po /<>/trxapp/src/Makefile /<>/trxapp/src/Makefile.am /<>/trxapp/src/Makefile.in /<>/trxapp/src/freqdb.c /<>/trxclient/.deps/client.Po /<>/trxclient/Makefile /<>/trxclient/Makefile.in /<>/trxclient/client.c /<>/trxctrl/Makefile /<>/trxctrl/Makefile.am /<>/trxctrl/Makefile.in /<>/trxctrl/cfgadapt.c /<>/trxctrl/cfgunix.c /<>/trxctrl/simd.h /<>/trxctrl/trx.h /<>/usbdrv/Makefile.in /<>/usbdrv/usbdevice_fs.h /<>/wdmdrv/Makefile.in /<>/winserv/Makefile.in Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=POSIX LOGNAME=user42 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=1001 SCHROOT_GROUP=user42 SCHROOT_SESSION_ID=unstable-amd64-sbuild-cc4d240c-3d14-48c1-8000-86b08752c09d SCHROOT_UID=1001 SCHROOT_USER=user42 SHELL=/bin/sh USER=user42 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package baycomusb dpkg-buildpackage: info: source version 0.10-14 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Colin Tuckley dpkg-source --before-build baycomusb-0.10 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. [ ! -f Makefile ] || /usr/bin/make distclean cp -f /usr/share/misc/config.sub config.sub cp -f /usr/share/misc/config.guess config.guess dh_clean dh_clean: Compatibility levels before 9 are deprecated (level 6 in use) debian/rules build-arch dh_testdir # Add here commands to configure the package. CFLAGS="-Wall -g -O2 -Wl,-z,defs" ./configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make sets $(MAKE)... (cached) yes checking for style of include used by make... GNU checking for x86_64-linux-gnu-gcc... x86_64-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-linux-gnu-gcc accepts -g... yes checking for x86_64-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-linux-gnu-gcc... gcc3 checking for library containing strerror... none required checking for x86_64-linux-gnu-gcc... (cached) x86_64-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of x86_64-linux-gnu-gcc... (cached) gcc3 checking for x86_64-linux-gnu-gcc... (cached) x86_64-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of x86_64-linux-gnu-gcc... (cached) gcc3 checking for an ANSI C-conforming const... yes checking for inline... inline checking how to run the C preprocessor... x86_64-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for ranlib... ranlib checking for dlltool... dlltool checking for as... as checking for ar... ar checking for windres... i686-pc-cygwin-windres checking host system type... (cached) x86_64-pc-linux-gnu checking host system type... (cached) x86_64-pc-linux-gnu checking return type of signal handlers... void checking for cos in -lm... yes checking for pthread_create in -lpthread... yes checking for GUID_NULL in -luuid... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking sys/syslog.h usability... yes checking sys/syslog.h presence... yes checking for sys/syslog.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for unistd.h... (cached) yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking net/if_arp.h usability... yes checking net/if_arp.h presence... yes checking for net/if_arp.h... yes checking net/route.h usability... yes checking net/route.h presence... yes checking for net/route.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netax25/ax25.h usability... yes checking netax25/ax25.h presence... yes checking for netax25/ax25.h... yes checking linux/if.h usability... yes checking linux/if.h presence... yes checking for linux/if.h... yes checking linux/if_ether.h usability... yes checking linux/if_ether.h presence... yes checking for linux/if_ether.h... yes checking linux/ax25.h usability... yes checking linux/ax25.h presence... yes checking for linux/ax25.h... yes checking linux/sockios.h usability... yes checking linux/sockios.h presence... yes checking for linux/sockios.h... yes checking linux/baycom_usb.h usability... no checking linux/baycom_usb.h presence... no checking for linux/baycom_usb.h... no checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking linux/soundcard.h usability... yes checking linux/soundcard.h presence... yes checking for linux/soundcard.h... yes checking for snprintf... yes checking for gettimeofday... yes checking for random... yes checking for syslog... yes checking for vsyslog... yes checking for revoke... no checking for vsnprintf... yes checking for getopt_long... yes checking for openpty in -lutil... yes checking for openpty... yes checking for asx8051... : checking for aslink... : checking linux/usbdevice_fs.h usability... yes checking linux/usbdevice_fs.h presence... yes checking for linux/usbdevice_fs.h... yes checking whether time.h and sys/time.h may both be included... yes checking for working alloca.h... yes checking for alloca... yes checking for GetSystemTime... no checking for size_t... yes checking for bittypes... yes checking for M_PI... yes checking for M_LN10... yes checking for MKISS (N_AX25 line discipline)... yes checking for ifr_newname in struct ifreq... yes checking for x86_64-linux-gnu-pkg-config... /usr/bin/x86_64-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for XML... yes checking for openpty in -lutil... (cached) yes checking for openpty... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating fpga/Makefile config.status: creating firmware/Makefile config.status: creating firmware/fskfirmware/Makefile config.status: creating firmware/afskfirmware/Makefile config.status: creating firmware/audiofirmware/Makefile config.status: creating firmware/audio2firmware/Makefile config.status: creating firmware/dlfirmware/Makefile config.status: creating firmware/dl2firmware/Makefile config.status: creating firmware/resetfirmware/Makefile config.status: creating firmware/reset2firmware/Makefile config.status: creating firmware/bscanfirmware/Makefile config.status: creating directx/Makefile config.status: creating kerneldrv/Makefile config.status: creating wdmdrv/Makefile config.status: creating misc/Makefile config.status: creating usbdrv/Makefile config.status: creating trxapi/Makefile config.status: creating flexdrv/Makefile config.status: creating winserv/Makefile config.status: creating diag/Makefile config.status: creating coinstaller/Makefile config.status: creating config.h config.status: executing depfiles commands dh_testdir # Add here commands to compile the package. /usr/bin/make make[1]: Entering directory '/<>' /usr/bin/make all-recursive make[2]: Entering directory '/<>' Making all in firmware make[3]: Entering directory '/<>/firmware' Making all in afskfirmware make[4]: Entering directory '/<>/firmware/afskfirmware' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/<>/firmware/afskfirmware' Making all in audiofirmware make[4]: Entering directory '/<>/firmware/audiofirmware' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/<>/firmware/audiofirmware' Making all in audio2firmware make[4]: Entering directory '/<>/firmware/audio2firmware' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/<>/firmware/audio2firmware' Making all in bscanfirmware make[4]: Entering directory '/<>/firmware/bscanfirmware' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/<>/firmware/bscanfirmware' Making all in dlfirmware make[4]: Entering directory '/<>/firmware/dlfirmware' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/<>/firmware/dlfirmware' Making all in dl2firmware make[4]: Entering directory '/<>/firmware/dl2firmware' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/<>/firmware/dl2firmware' Making all in fskfirmware make[4]: Entering directory '/<>/firmware/fskfirmware' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/<>/firmware/fskfirmware' Making all in resetfirmware make[4]: Entering directory '/<>/firmware/resetfirmware' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/<>/firmware/resetfirmware' Making all in reset2firmware make[4]: Entering directory '/<>/firmware/reset2firmware' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/<>/firmware/reset2firmware' make[4]: Entering directory '/<>/firmware' x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g -O2 -Wl,-z,defs -MT ihex2hdr.o -MD -MP -MF .deps/ihex2hdr.Tpo -c -o ihex2hdr.o ihex2hdr.c clang: warning: -Wl,-z,defs: 'linker' input unused [-Wunused-command-line-argument] ihex2hdr.c:94:15: warning: passing 'unsigned char [640]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (fgets(buf, sizeof(buf), fin)) { ^~~ /usr/include/stdio.h:624:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ ihex2hdr.c:100:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = hexbyte(buf+1+2*u); ^~~~~~~~~ ihex2hdr.c:59:32: note: passing argument to parameter 's' here static int hexbyte(const char *s) ^ ihex2hdr.c:127:11: warning: passing 'unsigned char [640]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strftime(buf, sizeof(buf), "%Y%m%d", localtime(&tm)); ^~~ /usr/include/time.h:205:42: note: passing argument to parameter '__s' here extern size_t strftime (char *__restrict __s, size_t __maxsize, ^ 3 warnings generated. mv -f .deps/ihex2hdr.Tpo .deps/ihex2hdr.Po x86_64-linux-gnu-gcc -Wall -g -O2 -Wl,-z,defs -o ihex2hdr ihex2hdr.o -lm make[4]: Leaving directory '/<>/firmware' make[3]: Leaving directory '/<>/firmware' Making all in fpga make[3]: Entering directory '/<>/fpga' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/<>/fpga' Making all in directx make[3]: Entering directory '/<>/directx' /usr/bin/make all-am make[4]: Entering directory '/<>/directx' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/<>/directx' make[3]: Leaving directory '/<>/directx' Making all in kerneldrv make[3]: Entering directory '/<>/kerneldrv' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/<>/kerneldrv' Making all in wdmdrv make[3]: Entering directory '/<>/wdmdrv' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/<>/wdmdrv' Making all in misc make[3]: Entering directory '/<>/misc' x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../diag -I../usbdrv -Wall -g -O2 -Wl,-z,defs -MT syslog.o -MD -MP -MF .deps/syslog.Tpo -c -o syslog.o syslog.c clang: warning: -Wl,-z,defs: 'linker' input unused [-Wunused-command-line-argument] In file included from syslog.c:39: In file included from ../diag/baycomusb.h:36: ../usbdrv/usbdrv.h:45:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined] #define _GNU_SOURCE ^ ../config.h:237:10: note: previous definition is here # define _GNU_SOURCE 1 ^ 1 warning generated. mv -f .deps/syslog.Tpo .deps/syslog.Po x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../diag -I../usbdrv -Wall -g -O2 -Wl,-z,defs -MT snprintpkt.o -MD -MP -MF .deps/snprintpkt.Tpo -c -o snprintpkt.o snprintpkt.c clang: warning: -Wl,-z,defs: 'linker' input unused [-Wunused-command-line-argument] snprintpkt.c:33:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined] #define _GNU_SOURCE ^ ../config.h:237:10: note: previous definition is here # define _GNU_SOURCE 1 ^ 1 warning generated. mv -f .deps/snprintpkt.Tpo .deps/snprintpkt.Po x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../diag -I../usbdrv -Wall -g -O2 -Wl,-z,defs -MT lprintf.o -MD -MP -MF .deps/lprintf.Tpo -c -o lprintf.o lprintf.c clang: warning: -Wl,-z,defs: 'linker' input unused [-Wunused-command-line-argument] mv -f .deps/lprintf.Tpo .deps/lprintf.Po rm -f libmisc.a ar cru libmisc.a syslog.o snprintpkt.o lprintf.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libmisc.a make[3]: Leaving directory '/<>/misc' Making all in usbdrv make[3]: Entering directory '/<>/usbdrv' make[4]: Entering directory '/<>/usbdrv' x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DCONFIGDIR=\"/usr/etc\" -DLOCALSTATEDIR=\"/usr/var\" -I.. -I../misc -I../usbdrv -I../kerneldrv -I../wdmdrv -Wall -g -O2 -Wl,-z,defs -MT usbdrvlinux.o -MD -MP -MF .deps/usbdrvlinux.Tpo -c -o usbdrvlinux.o usbdrvlinux.c clang: warning: -Wl,-z,defs: 'linker' input unused [-Wunused-command-line-argument] mv -f .deps/usbdrvlinux.Tpo .deps/usbdrvlinux.Po rm -f libusb.a ar cru libusb.a usbdrvlinux.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libusb.a make[4]: Leaving directory '/<>/usbdrv' make[3]: Leaving directory '/<>/usbdrv' Making all in trxapi make[3]: Entering directory '/<>/trxapi' rm -f libtrxapi.a ar cru libtrxapi.a ar: `u' modifier ignored since `D' is the default (see `U') ranlib libtrxapi.a rm -f libtrxapiserver.a ar cru libtrxapiserver.a ar: `u' modifier ignored since `D' is the default (see `U') ranlib libtrxapiserver.a make[3]: Leaving directory '/<>/trxapi' Making all in flexdrv make[3]: Entering directory '/<>/flexdrv' cp ../trxapi/libtrxapi.a libtrxapi.a cp ../usbdrv/libusb.a libusb.a make[3]: Leaving directory '/<>/flexdrv' Making all in winserv make[3]: Entering directory '/<>/winserv' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/<>/winserv' Making all in diag make[3]: Entering directory '/<>/diag' x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFIGDIR=\"/usr/etc\" -DLOCALSTATEDIR=\"/usr/var\" -I.. -I../misc -I../usbdrv -I../diag -I../directx/include -I../directx/include/directx6 -I../kerneldrv -I../wdmdrv -Wall -g -O2 -Wl,-z,defs -MT cfgunix.o -MD -MP -MF .deps/cfgunix.Tpo -c -o cfgunix.o cfgunix.c clang: warning: -Wl,-z,defs: 'linker' input unused [-Wunused-command-line-argument] In file included from cfgunix.c:35: In file included from ./baycomusb.h:36: ../usbdrv/usbdrv.h:45:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined] #define _GNU_SOURCE ^ ../config.h:237:10: note: previous definition is here # define _GNU_SOURCE 1 ^ cfgunix.c:138:15: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(node->name, "adapter")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:111:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^~ cfgunix.c:138:15: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(node->name, "adapter")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:114:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:138:15: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(node->name, "adapter")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:116:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^~ cfgunix.c:138:15: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(node->name, "adapter")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:118:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:138:15: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(node->name, "adapter")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:123:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:138:15: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp(node->name, "adapter")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:125:33: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^~ cfgunix.c:139:31: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "mode"))) { ^~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:139:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "mode"))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:152:31: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "fclk"))) ^~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:152:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "fclk"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:155:31: warning: passing 'char [8]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "bitrate"))) ^~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:155:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "bitrate"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:157:31: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "bitraterx"))) ^~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:157:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "bitraterx"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:159:31: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "bitratetx"))) ^~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:159:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "bitratetx"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:161:31: warning: passing 'char [11]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "samplerate"))) ^~~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:161:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "samplerate"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:163:31: warning: passing 'char [9]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "loopback"))) ^~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:163:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "loopback"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:165:31: warning: passing 'char [8]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "pttmute"))) ^~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:165:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "pttmute"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:167:31: warning: passing 'char [9]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "filtmode"))) ^~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:167:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "filtmode"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:169:31: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "gain"))) ^~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:169:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "gain"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:171:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "chaccess")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:111:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^~ cfgunix.c:171:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "chaccess")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:114:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:171:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "chaccess")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:116:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^~ cfgunix.c:171:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "chaccess")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:118:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:171:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "chaccess")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:123:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:171:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "chaccess")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:125:33: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^~ cfgunix.c:172:31: warning: passing 'char [8]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "txdelay"))) ^~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:172:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "txdelay"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:174:31: warning: passing 'char [9]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "slottime"))) ^~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:174:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "slottime"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:176:31: warning: passing 'char [13]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "ppersistence"))) ^~~~~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:176:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "ppersistence"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:178:31: warning: passing 'char [7]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "txtail"))) ^~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:178:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "txtail"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:180:31: warning: passing 'char [11]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "fullduplex"))) ^~~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:180:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "fullduplex"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:182:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "interface")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:111:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^~ cfgunix.c:182:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "interface")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:114:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:182:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "interface")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:116:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^~ cfgunix.c:182:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "interface")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:118:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:182:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "interface")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:123:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:182:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "interface")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:125:33: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^~ cfgunix.c:183:31: warning: passing 'char [7]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "ifname"))) ^~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:183:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "ifname"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:185:31: warning: passing 'char [7]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "hwaddr"))) ^~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:185:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "hwaddr"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:187:31: warning: passing 'char [7]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "ipaddr"))) ^~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:187:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "ipaddr"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:189:31: warning: passing 'char [8]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "netmask"))) ^~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:189:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "netmask"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:191:31: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "broadcast"))) ^~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:191:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "broadcast"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:193:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "modemdisc")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:111:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^~ cfgunix.c:193:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "modemdisc")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:114:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:193:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "modemdisc")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:116:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^~ cfgunix.c:193:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "modemdisc")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:118:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:193:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "modemdisc")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:123:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:193:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "modemdisc")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:125:33: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^~ cfgunix.c:194:31: warning: passing 'char [7]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "output"))) ^~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:194:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "output"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:196:31: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "direction"))) ^~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:196:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "direction"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:198:31: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "rxc"))) ^~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:198:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "rxc"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:200:31: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "txc"))) ^~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:200:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "txc"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:202:31: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "txd"))) ^~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:202:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "txd"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:204:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "t7f")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:111:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^~ cfgunix.c:204:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "t7f")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:114:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:204:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "t7f")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:116:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^~ cfgunix.c:204:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "t7f")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:118:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:204:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "t7f")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:123:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:204:22: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] } else if (!strcmp(node->name, "t7f")) { ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:125:33: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^~ cfgunix.c:205:31: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "ctrl"))) ^~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:205:12: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = xmlGetProp(node, "ctrl"))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:261:13: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(doc->children->name, "baycomusb")) { ^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:111:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^~ cfgunix.c:261:13: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(doc->children->name, "baycomusb")) { ^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:114:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:261:13: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(doc->children->name, "baycomusb")) { ^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:116:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^~ cfgunix.c:261:13: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(doc->children->name, "baycomusb")) { ^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:118:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:261:13: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(doc->children->name, "baycomusb")) { ^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:123:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:261:13: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(doc->children->name, "baycomusb")) { ^~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:125:33: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^~ cfgunix.c:266:43: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!node->name || strcmp(node->name, "device")) ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:111:40: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s2_len = __builtin_strlen (s2), \ ^~ cfgunix.c:266:43: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!node->name || strcmp(node->name, "device")) ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:114:27: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:266:43: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!node->name || strcmp(node->name, "device")) ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:116:36: note: expanded from macro 'strcmp' && (__s1_len = __builtin_strlen (s1), __s1_len < 4) \ ^~ cfgunix.c:266:43: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!node->name || strcmp(node->name, "device")) ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:118:26: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:266:43: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!node->name || strcmp(node->name, "device")) ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:123:29: note: expanded from macro 'strcmp' ? __builtin_strcmp (s1, s2) \ ^~ cfgunix.c:266:43: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!node->name || strcmp(node->name, "device")) ^~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:125:33: note: expanded from macro 'strcmp' : __builtin_strcmp (s1, s2)))); }) ^~ cfgunix.c:268:25: warning: passing 'char [7]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] cp = xmlGetProp(node, "serial"); ^~~~~~~~ /usr/include/libxml2/libxml/tree.h:1030:22: note: passing argument to parameter 'name' here const xmlChar *name); ^ cfgunix.c:268:6: warning: assigning to 'const char *' from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] cp = xmlGetProp(node, "serial"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ cfgunix.c:303:24: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!(doc = xmlNewDoc("1.0"))) ^~~~~ /usr/include/libxml2/libxml/tree.h:780:30: note: passing argument to parameter 'version' here xmlNewDoc (const xmlChar *version); ^ cfgunix.c:305:43: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] doc->children = xmlNewDocNode(doc, NULL, "baycomusb", NULL); ^~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:829:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:309:43: warning: passing 'char [7]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] node = xmlNewChild(doc->children, NULL, "device", NULL); ^~~~~~~~ /usr/include/libxml2/libxml/tree.h:846:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:310:20: warning: passing 'char [7]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node, "serial", cfg->serial); ^~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:310:30: warning: passing 'char [32]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node, "serial", cfg->serial); ^~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:311:35: warning: passing 'char [8]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] node2 = xmlNewChild(node, NULL, "adapter", NULL); ^~~~~~~~~ /usr/include/libxml2/libxml/tree.h:846:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:312:21: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "mode", ^~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:313:7: warning: passing 'char *' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] (cfg->adapter.mode == MODE_EXTERNAL) ? "external" : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:318:21: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "fclk", buf); ^~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:318:29: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "fclk", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:320:21: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "bitraterx", buf); ^~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:320:34: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "bitraterx", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:322:21: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "bitratetx", buf); ^~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:322:34: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "bitratetx", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:324:21: warning: passing 'char [11]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "samplerate", buf); ^~~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:324:35: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "samplerate", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:326:21: warning: passing 'char [9]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "loopback", buf); ^~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:326:33: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "loopback", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:328:21: warning: passing 'char [8]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "pttmute", buf); ^~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:328:32: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "pttmute", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:330:21: warning: passing 'char [9]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "filtmode", buf); ^~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:330:33: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "filtmode", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:332:21: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "gain", buf); ^~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:332:29: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "gain", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:333:35: warning: passing 'char [9]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] node2 = xmlNewChild(node, NULL, "chaccess", NULL); ^~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:846:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:335:21: warning: passing 'char [8]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "txdelay", buf); ^~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:335:32: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "txdelay", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:337:21: warning: passing 'char [9]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "slottime", buf); ^~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:337:33: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "slottime", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:339:21: warning: passing 'char [13]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "ppersistence", buf); ^~~~~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:339:37: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "ppersistence", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:341:21: warning: passing 'char [7]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "txtail", buf); ^~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:341:31: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "txtail", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:343:21: warning: passing 'char [11]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "fullduplex", buf); ^~~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:343:35: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "fullduplex", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:344:35: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] node2 = xmlNewChild(node, NULL, "interface", NULL); ^~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:846:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:345:21: warning: passing 'char [7]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "ifname", cfg->ifcfg.ifname); ^~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:345:31: warning: passing 'char [16]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "ifname", cfg->ifcfg.ifname); ^~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:346:21: warning: passing 'char [7]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "hwaddr", cfg->ifcfg.hwaddr); ^~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:346:31: warning: passing 'char [16]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "hwaddr", cfg->ifcfg.hwaddr); ^~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:347:21: warning: passing 'char [7]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "ipaddr", cfg->ifcfg.ipaddr); ^~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:347:31: warning: passing 'char [16]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "ipaddr", cfg->ifcfg.ipaddr); ^~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:348:21: warning: passing 'char [8]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "netmask", cfg->ifcfg.netmask); ^~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:348:32: warning: passing 'char [16]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "netmask", cfg->ifcfg.netmask); ^~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:349:21: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "broadcast", cfg->ifcfg.broadcast); ^~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:349:34: warning: passing 'char [16]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "broadcast", cfg->ifcfg.broadcast); ^~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:350:35: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] node2 = xmlNewChild(node, NULL, "modemdisc", NULL); ^~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:846:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:352:21: warning: passing 'char [7]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "output", buf); ^~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:352:31: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "output", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:354:21: warning: passing 'char [10]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "direction", buf); ^~~~~~~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:354:34: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "direction", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:356:21: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "rxc", buf); ^~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:356:28: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "rxc", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:358:21: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "txc", buf); ^~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:358:28: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "txc", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:360:21: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "txd", buf); ^~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:360:28: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "txd", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ cfgunix.c:361:35: warning: passing 'char [4]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] node2 = xmlNewChild(node, NULL, "t7f", NULL); ^~~~~ /usr/include/libxml2/libxml/tree.h:846:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:363:21: warning: passing 'char [5]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "ctrl", buf); ^~~~~~ /usr/include/libxml2/libxml/tree.h:1016:22: note: passing argument to parameter 'name' here const xmlChar *name, ^ cfgunix.c:363:29: warning: passing 'char [128]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xmlSetProp(node2, "ctrl", buf); ^~~ /usr/include/libxml2/libxml/tree.h:1017:22: note: passing argument to parameter 'value' here const xmlChar *value); ^ 157 warnings generated. mv -f .deps/cfgunix.Tpo .deps/cfgunix.Po x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFIGDIR=\"/usr/etc\" -DLOCALSTATEDIR=\"/usr/var\" -I.. -I../misc -I../usbdrv -I../diag -I../directx/include -I../directx/include/directx6 -I../kerneldrv -I../wdmdrv -Wall -g -O2 -Wl,-z,defs -MT configadapt.o -MD -MP -MF .deps/configadapt.Tpo -c -o configadapt.o configadapt.c clang: warning: -Wl,-z,defs: 'linker' input unused [-Wunused-command-line-argument] configadapt.c:350:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(&fw[0xf0], serial, 0x10); ^~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ configadapt.c:472:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(&fw[0xf0], serial, 0x10); ^~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ configadapt.c:498:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(&fw[0xf0], serial, 0x10); ^~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string2.h:84:51: note: expanded from macro 'strncpy' # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) ^~~~ configadapt.c:259:12: warning: unused function 'displaymem' [-Wunused-function] static int displaymem(struct usbdevice *dev) ^ configadapt.c:286:12: warning: unused function 'displaycpucs' [-Wunused-function] static int displaycpucs(struct usbdevice *dev) ^ 5 warnings generated. mv -f .deps/configadapt.Tpo .deps/configadapt.Po x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFIGDIR=\"/usr/etc\" -DLOCALSTATEDIR=\"/usr/var\" -I.. -I../misc -I../usbdrv -I../diag -I../directx/include -I../directx/include/directx6 -I../kerneldrv -I../wdmdrv -Wall -g -O2 -Wl,-z,defs -MT adapttests.o -MD -MP -MF .deps/adapttests.Tpo -c -o adapttests.o adapttests.c clang: warning: -Wl,-z,defs: 'linker' input unused [-Wunused-command-line-argument] In file included from adapttests.c:74: In file included from ./baycomusb.h:36: ../usbdrv/usbdrv.h:45:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined] #define _GNU_SOURCE ^ ../config.h:237:10: note: previous definition is here # define _GNU_SOURCE 1 ^ adapttests.c:458:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(0); ^~~~~~~~~~~~~~ adapttests.c:426:37: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:458:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(0); ^~~~~~~~~~~~~~ adapttests.c:426:67: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:459:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(1); ^~~~~~~~~~~~~~ adapttests.c:426:37: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:459:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(1); ^~~~~~~~~~~~~~ adapttests.c:426:67: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:460:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(2); ^~~~~~~~~~~~~~ adapttests.c:426:37: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:460:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(2); ^~~~~~~~~~~~~~ adapttests.c:426:67: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:461:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(3); ^~~~~~~~~~~~~~ adapttests.c:426:37: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:461:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(3); ^~~~~~~~~~~~~~ adapttests.c:426:67: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:462:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(4); ^~~~~~~~~~~~~~ adapttests.c:426:37: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:462:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(4); ^~~~~~~~~~~~~~ adapttests.c:426:67: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:463:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(5); ^~~~~~~~~~~~~~ adapttests.c:426:37: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:463:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(5); ^~~~~~~~~~~~~~ adapttests.c:426:67: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:464:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(6); ^~~~~~~~~~~~~~ adapttests.c:426:37: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:464:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(6); ^~~~~~~~~~~~~~ adapttests.c:426:67: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:465:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(7); ^~~~~~~~~~~~~~ adapttests.c:426:37: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:465:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] DECODEITERB(7); ^~~~~~~~~~~~~~ adapttests.c:426:67: note: expanded from macro 'DECODEITERB' bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); \ ~~~~~~~ ^ adapttests.c:618:10: warning: multiple unsequenced modifications to 'led' [-Wunsequenced] led = (++led) & 1; ~ ^ adapttests.c:1111:21: warning: passing 'const char [63]' to parameter of type 'const u_int8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] i = calc_crc_ccitt(text, strlen(text)); ^~~~ adapttests.c:348:54: note: passing argument to parameter 'buffer' here only_inline u_int16_t calc_crc_ccitt(const u_int8_t *buffer, int len) ^ adapttests.c:1602:13: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] if (abs(cfg->adapter.samplerate - srate) > cfg->adapter.samplerate / 2) { ^ adapttests.c:1602:13: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(cfg->adapter.samplerate - srate) > cfg->adapter.samplerate / 2) { ^~~ adapttests.c:1546:44: warning: unused variable 'phusbdsp' [-Wunused-variable] unsigned phincusbdsp, phincdspusb, phusbdsp = 0, phdspusb = 0; ^ adapttests.c:1546:58: warning: unused variable 'phdspusb' [-Wunused-variable] unsigned phincusbdsp, phincdspusb, phusbdsp = 0, phdspusb = 0; ^ adapttests.c:1551:18: warning: unused variable 'phase' [-Wunused-variable] unsigned phase = 0; ^ adapttests.c:98:13: warning: unused function 'mode_external' [-Wunused-function] static void mode_external(struct configentry *cfg) ^ adapttests.c:108:13: warning: unused function 'mode_audio' [-Wunused-function] static void mode_audio(struct configentry *cfg) ^ adapttests.c:432:13: warning: unused function 'hdlc_receive' [-Wunused-function] static void hdlc_receive(struct hdlc_receiver *h, u_int8_t *bits, int cnt) ^ adapttests.c:490:13: warning: unused function 'prbscan' [-Wunused-function] static void prbscan(const unsigned char *s, const unsigned char *x) ^ adapttests.c:586:17: warning: unused function 'readboundaryword' [-Wunused-function] static unsigned readboundaryword(const unsigned char *b, const unsigned *x, unsigned num) ^ 28 warnings generated. mv -f .deps/adapttests.Tpo .deps/adapttests.Po rm -f libbaycomusb.a ar cru libbaycomusb.a cfgunix.o configadapt.o adapttests.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libbaycomusb.a x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFIGDIR=\"/usr/etc\" -DLOCALSTATEDIR=\"/usr/var\" -I.. -I../misc -I../usbdrv -I../diag -I../directx/include -I../directx/include/directx6 -I../kerneldrv -I../wdmdrv -Wall -g -O2 -Wl,-z,defs -MT baycomusb.o -MD -MP -MF .deps/baycomusb.Tpo -c -o baycomusb.o baycomusb.c clang: warning: -Wl,-z,defs: 'linker' input unused [-Wunused-command-line-argument] In file included from baycomusb.c:73: In file included from ./baycomusb.h:36: ../usbdrv/usbdrv.h:45:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined] #define _GNU_SOURCE ^ ../config.h:237:10: note: previous definition is here # define _GNU_SOURCE 1 ^ 1 warning generated. mv -f .deps/baycomusb.Tpo .deps/baycomusb.Po x86_64-linux-gnu-gcc -Wall -g -O2 -Wl,-z,defs -o baycomusb baycomusb.o libbaycomusb.a ../flexdrv/libusb.a ../misc/libmisc.a -lxml2 -lm libbaycomusb.a(cfgunix.o): In function `gettime': /<>/diag/../misc/sysdeps.h:146: multiple definition of `gettime' baycomusb.o:/<>/diag/../misc/sysdeps.h:146: first defined here libbaycomusb.a(cfgunix.o): In function `gettimems': /<>/diag/../misc/sysdeps.h:150: multiple definition of `gettimems' baycomusb.o:/<>/diag/../misc/sysdeps.h:150: first defined here libbaycomusb.a(configadapt.o): In function `gettime': /<>/diag/../misc/sysdeps.h:146: multiple definition of `gettime' baycomusb.o:/<>/diag/../misc/sysdeps.h:146: first defined here libbaycomusb.a(configadapt.o): In function `gettimems': /<>/diag/../misc/sysdeps.h:150: multiple definition of `gettimems' baycomusb.o:/<>/diag/../misc/sysdeps.h:150: first defined here libbaycomusb.a(adapttests.o): In function `gettime': /<>/diag/../misc/sysdeps.h:146: multiple definition of `gettime' baycomusb.o:/<>/diag/../misc/sysdeps.h:146: first defined here libbaycomusb.a(adapttests.o): In function `gettimems': /<>/diag/../misc/sysdeps.h:150: multiple definition of `gettimems' baycomusb.o:/<>/diag/../misc/sysdeps.h:150: first defined here ../misc/libmisc.a(lprintf.o): In function `gettime': /<>/misc/./sysdeps.h:146: multiple definition of `gettime' baycomusb.o:/<>/diag/../misc/sysdeps.h:146: first defined here ../misc/libmisc.a(lprintf.o): In function `gettimems': /<>/misc/./sysdeps.h:150: multiple definition of `gettimems' baycomusb.o:/<>/diag/../misc/sysdeps.h:150: first defined here clang: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:296: recipe for target 'baycomusb' failed make[3]: *** [baycomusb] Error 1 make[3]: Leaving directory '/<>/diag' Makefile:274: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/<>' Makefile:213: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/<>' debian/rules:36: recipe for target 'build-stamp' failed make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 -------------------------------------------------------------------------------- Build finished at 2017-07-06T20:22:49Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Type: any Build-Space: 8316 Build-Time: 8 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 7 Job: baycomusb_0.10-14 Machine Architecture: amd64 Package: baycomusb Package-Time: 32 Source-Version: 0.10-14 Space: 8316 Status: attempted Version: 0.10-14 -------------------------------------------------------------------------------- Finished at 2017-07-06T20:22:49Z Build needed 00:00:32, 8316k disk space E: Build failure (dpkg-buildpackage died) DC-Status: Failed 33.74408699s DC-Time-Estimation: 33.74408699 versus expected 295 (r/m: 7.742272389453675 ; m: 33.74408699)