RUN: /usr/share/launchpad-buildd/slavebin/slave-prep Forking launchpad-buildd slave process... Kernel version: Linux bos02-arm64-025 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 20:00:40 UTC 2018 aarch64 Buildd toolchain package versions: launchpad-buildd_157 python-lpbuildd_157 sbuild_0.67.0-2ubuntu7.1 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.10.1 bzr_2.7.0-2ubuntu3.1 git-build-recipe_0.3.4~git201611291343.dcee459~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.3 dpkg-dev_1.18.4ubuntu1.3 python-debian_0.1.27ubuntu2. Syncing the system clock with the buildd NTP service... 5 Feb 05:09:25 ntpdate[1849]: adjust time server 10.211.37.1 offset -0.021389 sec RUN: /usr/share/launchpad-buildd/slavebin/in-target unpack-chroot --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-14309714 /home/buildd/filecache-default/b70461af4419c13dbae7acd6fe74d075a1a9550f Creating target for build PACKAGEBUILD-14309714 RUN: /usr/share/launchpad-buildd/slavebin/in-target mount-chroot --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-14309714 Starting target for build PACKAGEBUILD-14309714 RUN: /usr/share/launchpad-buildd/slavebin/in-target override-sources-list --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-14309714 'deb http://ftpmaster.internal/ubuntu bionic main universe' 'deb http://ftpmaster.internal/ubuntu bionic-security main universe' 'deb http://ftpmaster.internal/ubuntu bionic-updates main universe' 'deb http://ftpmaster.internal/ubuntu bionic-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-14309714 RUN: /usr/share/launchpad-buildd/slavebin/in-target update-debian-chroot --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-14309714 Updating target for build PACKAGEBUILD-14309714 Get:1 http://ftpmaster.internal/ubuntu bionic InRelease [235 kB] Get:2 http://ftpmaster.internal/ubuntu bionic-security InRelease [65.4 kB] Get:3 http://ftpmaster.internal/ubuntu bionic-updates InRelease [65.4 kB] Get:4 http://ftpmaster.internal/ubuntu bionic-proposed InRelease [235 kB] Get:5 http://ftpmaster.internal/ubuntu bionic/main armhf Packages [962 kB] Get:6 http://ftpmaster.internal/ubuntu bionic/main Translation-en [515 kB] Get:7 http://ftpmaster.internal/ubuntu bionic/universe armhf Packages [8171 kB] Get:8 http://ftpmaster.internal/ubuntu bionic/universe Translation-en [4946 kB] Get:9 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf Packages [149 kB] Get:10 http://ftpmaster.internal/ubuntu bionic-proposed/main Translation-en [66.2 kB] Get:11 http://ftpmaster.internal/ubuntu bionic-proposed/universe armhf Packages [520 kB] Get:12 http://ftpmaster.internal/ubuntu bionic-proposed/universe Translation-en [202 kB] Fetched 16.1 MB in 10s (1531 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages were automatically installed and are no longer required: gnupg-agent libcryptsetup4 libcurl3-gnutls libgdbm3 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libmpfr4 libnghttp2-14 libpsl5 librtmp1 libustr-1.0-1 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libargon2-0 libcryptsetup12 libgdbm5 libjson-c3 libmpfr6 libnghttp2-14 The following packages will be upgraded: adduser apt apt-transport-https base-files base-passwd binutils binutils-arm-linux-gnueabihf binutils-common bsdutils build-essential coreutils cpp-7 dash debconf debianutils dmsetup dpkg dpkg-dev e2fslibs e2fsprogs fakeroot fdisk findutils g++-7 gcc-7 gcc-7-base gnupg gnupg-agent gpgv hostname init init-system-helpers libapparmor1 libapt-pkg5.0 libasan4 libasn1-8-heimdal libassuan0 libatomic1 libbinutils libblkid1 libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libcap2 libcc1-0 libcilkrts5 libcomerr2 libcurl3-gnutls libdevmapper1.02.1 libdpkg-perl libfakeroot libfdisk1 libffi6 libgcc-7-dev libgcc1 libgcrypt20 libgmp10 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhogweed4 libhx509-5-heimdal libidn11 libidn2-0 libip4tc0 libk5crypto3 libkeyutils1 libkmod2 libkrb5-26-heimdal libkrb5-3 libkrb5support0 liblockfile-bin liblockfile1 libmount1 libmpc3 libncurses5 libncursesw5 libnettle6 libnpth0 libp11-kit0 libpcre3 libperl5.26 libpng16-16 libprocps6 libpsl5 libreadline7 libroken18-heimdal libseccomp2 libselinux1 libsemanage-common libsemanage1 libslang2 libsmartcols1 libsqlite3-0 libss2 libssl1.0.0 libstdc++-7-dev libstdc++6 libsystemd0 libtasn1-6 libtinfo5 libubsan0 libudev1 libuuid1 libwind0-heimdal linux-libc-dev login lsb-base mount multiarch-support ncurses-base ncurses-bin openssl optipng passwd perl perl-base perl-modules-5.26 pinentry-curses procps readline-common sed sensible-utils systemd systemd-sysv sysvinit-utils tzdata util-linux 135 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. Need to get 57.6 MB of archives. After this operation, 1385 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf perl-modules-5.26 all 5.26.1-4build1 [2760 kB] Get:2 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libgdbm5 armhf 1.14.1-2ubuntu1 [23.7 kB] Get:3 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libperl5.26 armhf 5.26.1-4build1 [2881 kB] Get:4 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf perl armhf 5.26.1-4build1 [201 kB] Get:5 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf perl-base armhf 5.26.1-4build1 [1289 kB] Get:6 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libc6-dev armhf 2.26-0ubuntu4 [1893 kB] Get:7 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libc-dev-bin armhf 2.26-0ubuntu4 [60.3 kB] Get:8 http://ftpmaster.internal/ubuntu bionic/main armhf linux-libc-dev armhf 4.13.0-32.35 [930 kB] Get:9 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf gcc-7-base armhf 7.3.0-1ubuntu1 [19.4 kB] Get:10 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libgcc1 armhf 1:7.3.0-1ubuntu1 [37.2 kB] Get:11 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libgomp1 armhf 7.3.0-1ubuntu1 [65.7 kB] Get:12 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libatomic1 armhf 7.3.0-1ubuntu1 [6300 B] Get:13 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libasan4 armhf 7.3.0-1ubuntu1 [328 kB] Get:14 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libubsan0 armhf 7.3.0-1ubuntu1 [109 kB] Get:15 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libcilkrts5 armhf 7.3.0-1ubuntu1 [35.9 kB] Get:16 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libmpc3 armhf 1.1.0-1 [33.2 kB] Get:17 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libmpfr6 armhf 4.0.0-7 [194 kB] Get:18 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf cpp-7 armhf 7.3.0-1ubuntu1 [5287 kB] Get:19 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libcc1-0 armhf 7.3.0-1ubuntu1 [32.3 kB] Get:20 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf binutils-arm-linux-gnueabihf armhf 2.30-1ubuntu1 [2171 kB] Get:21 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libbinutils armhf 2.30-1ubuntu1 [309 kB] Get:22 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf binutils armhf 2.30-1ubuntu1 [3344 B] Get:23 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf binutils-common armhf 2.30-1ubuntu1 [193 kB] Get:24 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf g++-7 armhf 7.3.0-1ubuntu1 [6041 kB] Get:25 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf gcc-7 armhf 7.3.0-1ubuntu1 [5931 kB] Get:26 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libgcc-7-dev armhf 7.3.0-1ubuntu1 [706 kB] Get:27 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libstdc++-7-dev armhf 7.3.0-1ubuntu1 [1534 kB] Get:28 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libstdc++6 armhf 7.3.0-1ubuntu1 [350 kB] Get:29 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libgmp10 armhf 2:6.1.2+dfsg-2 [182 kB] Get:30 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libc6 armhf 2.26-0ubuntu4 [2199 kB] Get:31 http://ftpmaster.internal/ubuntu bionic/main armhf init-system-helpers all 1.51 [37.3 kB] Get:32 http://ftpmaster.internal/ubuntu bionic/main armhf base-files armhf 10ubuntu1 [55.9 kB] Get:33 http://ftpmaster.internal/ubuntu bionic/main armhf bsdutils armhf 1:2.30.2-0.1ubuntu1 [55.4 kB] Get:34 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf coreutils armhf 8.28-1ubuntu1 [1128 kB] Get:35 http://ftpmaster.internal/ubuntu bionic/main armhf debianutils armhf 4.8.4 [84.5 kB] Get:36 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf dpkg armhf 1.19.0.5ubuntu1 [1095 kB] Get:37 http://ftpmaster.internal/ubuntu bionic/main armhf dash armhf 0.5.8-2.9ubuntu1 [103 kB] Get:38 http://ftpmaster.internal/ubuntu bionic/main armhf e2fslibs armhf 1.43.8-2 [144 kB] Get:39 http://ftpmaster.internal/ubuntu bionic/main armhf e2fsprogs armhf 1.43.8-2 [479 kB] Get:40 http://ftpmaster.internal/ubuntu bionic/main armhf findutils armhf 4.6.0+git+20170828-2 [277 kB] Get:41 http://ftpmaster.internal/ubuntu bionic/main armhf hostname armhf 3.20 [10.4 kB] Get:42 http://ftpmaster.internal/ubuntu bionic/main armhf login armhf 1:4.5-1ubuntu1 [303 kB] Get:43 http://ftpmaster.internal/ubuntu bionic/main armhf libncurses5 armhf 6.0+20171125-1ubuntu1 [74.9 kB] Get:44 http://ftpmaster.internal/ubuntu bionic/main armhf libtinfo5 armhf 6.0+20171125-1ubuntu1 [68.3 kB] Get:45 http://ftpmaster.internal/ubuntu bionic/main armhf libncursesw5 armhf 6.0+20171125-1ubuntu1 [95.3 kB] Get:46 http://ftpmaster.internal/ubuntu bionic/main armhf ncurses-bin armhf 6.0+20171125-1ubuntu1 [154 kB] Get:47 http://ftpmaster.internal/ubuntu bionic/main armhf sed armhf 4.4-2 [175 kB] Get:48 http://ftpmaster.internal/ubuntu bionic/main armhf libuuid1 armhf 2.30.2-0.1ubuntu1 [14.5 kB] Get:49 http://ftpmaster.internal/ubuntu bionic/main armhf libblkid1 armhf 2.30.2-0.1ubuntu1 [106 kB] Get:50 http://ftpmaster.internal/ubuntu bionic/main armhf libsmartcols1 armhf 2.30.2-0.1ubuntu1 [68.7 kB] Get:51 http://ftpmaster.internal/ubuntu bionic/main armhf libfdisk1 armhf 2.30.2-0.1ubuntu1 [144 kB] Get:52 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libpcre3 armhf 2:8.39-9 [209 kB] Get:53 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libselinux1 armhf 2.7-2build1 [59.1 kB] Get:54 http://ftpmaster.internal/ubuntu bionic/main armhf libmount1 armhf 2.30.2-0.1ubuntu1 [116 kB] Get:55 http://ftpmaster.internal/ubuntu bionic/main armhf fdisk armhf 2.30.2-0.1ubuntu1 [96.6 kB] Get:56 http://ftpmaster.internal/ubuntu bionic/main armhf util-linux armhf 2.30.2-0.1ubuntu1 [823 kB] Get:57 http://ftpmaster.internal/ubuntu bionic/main armhf base-passwd armhf 3.5.44 [45.9 kB] Get:58 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libc-bin armhf 2.26-0ubuntu4 [475 kB] Get:59 http://ftpmaster.internal/ubuntu bionic/main armhf ncurses-base all 6.0+20171125-1ubuntu1 [17.3 kB] Get:60 http://ftpmaster.internal/ubuntu bionic/main armhf sysvinit-utils armhf 2.88dsf-59.10ubuntu1 [17.2 kB] Get:61 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libudev1 armhf 237-1ubuntu2 [49.3 kB] Get:62 http://ftpmaster.internal/ubuntu bionic/main armhf libapt-pkg5.0 armhf 1.6~alpha7ubuntu1 [725 kB] Get:63 http://ftpmaster.internal/ubuntu bionic/main armhf libsemanage-common all 2.7-2build1 [6944 B] Get:64 http://ftpmaster.internal/ubuntu bionic/main armhf libsemanage1 armhf 2.7-2build1 [72.1 kB] Get:65 http://ftpmaster.internal/ubuntu bionic/main armhf passwd armhf 1:4.5-1ubuntu1 [769 kB] Get:66 http://ftpmaster.internal/ubuntu bionic/main armhf debconf all 1.5.65 [124 kB] Get:67 http://ftpmaster.internal/ubuntu bionic/main armhf adduser all 3.116ubuntu1 [163 kB] Get:68 http://ftpmaster.internal/ubuntu bionic/main armhf libgpg-error0 armhf 1.27-5 [32.4 kB] Get:69 http://ftpmaster.internal/ubuntu bionic/main armhf libgcrypt20 armhf 1.8.1-4 [363 kB] Get:70 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf gpgv armhf 2.2.4-1ubuntu1 [166 kB] Get:71 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libnettle6 armhf 3.4-1 [123 kB] Get:72 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libhogweed4 armhf 3.4-1 [127 kB] Get:73 http://ftpmaster.internal/ubuntu bionic/main armhf libidn2-0 armhf 2.0.4-1 [88.2 kB] Get:74 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libffi6 armhf 3.2.1-8 [16.4 kB] Get:75 http://ftpmaster.internal/ubuntu bionic/main armhf libp11-kit0 armhf 0.23.9-2 [162 kB] Get:76 http://ftpmaster.internal/ubuntu bionic/main armhf libtasn1-6 armhf 4.13-2 [31.1 kB] Get:77 http://ftpmaster.internal/ubuntu bionic/main armhf libgnutls30 armhf 3.5.17-1ubuntu1 [625 kB] Get:78 http://ftpmaster.internal/ubuntu bionic/main armhf libseccomp2 armhf 2.3.1-2.1ubuntu3 [29.9 kB] Get:79 http://ftpmaster.internal/ubuntu bionic/main armhf apt armhf 1.6~alpha7ubuntu1 [1110 kB] Get:80 http://ftpmaster.internal/ubuntu bionic/main armhf libargon2-0 armhf 0~20161029-1.1 [20.4 kB] Get:81 http://ftpmaster.internal/ubuntu bionic/main armhf libjson-c3 armhf 0.12.1-1.3 [19.6 kB] Get:82 http://ftpmaster.internal/ubuntu bionic/main armhf libdevmapper1.02.1 armhf 2:1.02.145-4.1ubuntu2 [117 kB] Get:83 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libcryptsetup12 armhf 2:2.0.1-0ubuntu1 [119 kB] Get:84 http://ftpmaster.internal/ubuntu bionic/main armhf libapparmor1 armhf 2.11.0-2ubuntu19 [24.8 kB] Get:85 http://ftpmaster.internal/ubuntu bionic/main armhf libcap2 armhf 1:2.25-1.2 [11.7 kB] Get:86 http://ftpmaster.internal/ubuntu bionic/main armhf libidn11 armhf 1.33-2.1 [42.7 kB] Get:87 http://ftpmaster.internal/ubuntu bionic/main armhf libip4tc0 armhf 1.6.1-2ubuntu2 [17.8 kB] Get:88 http://ftpmaster.internal/ubuntu bionic/main armhf libkmod2 armhf 24-1ubuntu3 [34.4 kB] Get:89 http://ftpmaster.internal/ubuntu bionic/main armhf mount armhf 2.30.2-0.1ubuntu1 [104 kB] Get:90 http://ftpmaster.internal/ubuntu bionic/main armhf libprocps6 armhf 2:3.3.12-3ubuntu1 [28.4 kB] Get:91 http://ftpmaster.internal/ubuntu bionic/main armhf lsb-base all 9.20170808ubuntu1 [12.5 kB] Get:92 http://ftpmaster.internal/ubuntu bionic/main armhf procps armhf 2:3.3.12-3ubuntu1 [214 kB] Get:93 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf systemd armhf 237-1ubuntu2 [2723 kB] Get:94 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libsystemd0 armhf 237-1ubuntu2 [186 kB] Get:95 http://ftpmaster.internal/ubuntu bionic/main armhf init armhf 1.51 [5864 B] Get:96 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf systemd-sysv armhf 237-1ubuntu2 [12.6 kB] Get:97 http://ftpmaster.internal/ubuntu bionic/main armhf libcap-ng0 armhf 0.7.7-3.1 [9816 B] Get:98 http://ftpmaster.internal/ubuntu bionic/main armhf libcomerr2 armhf 1.43.8-2 [10.4 kB] Get:99 http://ftpmaster.internal/ubuntu bionic/main armhf libss2 armhf 1.43.8-2 [9380 B] Get:100 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf multiarch-support armhf 2.26-0ubuntu4 [6912 B] Get:101 http://ftpmaster.internal/ubuntu bionic/main armhf sensible-utils all 0.0.11 [14.8 kB] Get:102 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf gnupg-l10n all 2.2.4-1ubuntu1 [48.6 kB] Get:103 http://ftpmaster.internal/ubuntu bionic/main armhf libassuan0 armhf 2.5.1-1 [28.1 kB] Get:104 http://ftpmaster.internal/ubuntu bionic/main armhf readline-common all 7.0-3 [52.9 kB] Get:105 http://ftpmaster.internal/ubuntu bionic/main armhf libreadline7 armhf 7.0-3 [103 kB] Get:106 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf gnupg armhf 2.2.4-1ubuntu1 [249 kB] Get:107 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf gnupg-agent all 2.2.4-1ubuntu1 [4544 B] Get:108 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf gpgconf armhf 2.2.4-1ubuntu1 [105 kB] Get:109 http://ftpmaster.internal/ubuntu bionic/main armhf pinentry-curses armhf 1.0.0-3 [30.4 kB] Get:110 http://ftpmaster.internal/ubuntu bionic/main armhf libnpth0 armhf 1.5-3 [6632 B] Get:111 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf gpg-agent armhf 2.2.4-1ubuntu1 [189 kB] Get:112 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf gnupg-utils armhf 2.2.4-1ubuntu1 [106 kB] Get:113 http://ftpmaster.internal/ubuntu bionic/main armhf libsqlite3-0 armhf 3.22.0-1 [421 kB] Get:114 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf gpg armhf 2.2.4-1ubuntu1 [409 kB] Get:115 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf gpg-wks-client armhf 2.2.4-1ubuntu1 [76.8 kB] Get:116 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf gpg-wks-server armhf 2.2.4-1ubuntu1 [71.8 kB] Get:117 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf gpgsm armhf 2.2.4-1ubuntu1 [183 kB] Get:118 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf dirmngr armhf 2.2.4-1ubuntu1 [275 kB] Get:119 http://ftpmaster.internal/ubuntu bionic/main armhf dmsetup armhf 2:1.02.145-4.1ubuntu2 [73.8 kB] Get:120 http://ftpmaster.internal/ubuntu bionic/main armhf libroken18-heimdal armhf 7.5.0+dfsg-1 [34.1 kB] Get:121 http://ftpmaster.internal/ubuntu bionic/main armhf libasn1-8-heimdal armhf 7.5.0+dfsg-1 [136 kB] Get:122 http://ftpmaster.internal/ubuntu bionic/main armhf libheimbase1-heimdal armhf 7.5.0+dfsg-1 [24.1 kB] Get:123 http://ftpmaster.internal/ubuntu bionic/main armhf libhcrypto4-heimdal armhf 7.5.0+dfsg-1 [76.5 kB] Get:124 http://ftpmaster.internal/ubuntu bionic/main armhf libwind0-heimdal armhf 7.5.0+dfsg-1 [47.2 kB] Get:125 http://ftpmaster.internal/ubuntu bionic/main armhf libhx509-5-heimdal armhf 7.5.0+dfsg-1 [87.9 kB] Get:126 http://ftpmaster.internal/ubuntu bionic/main armhf libkrb5-26-heimdal armhf 7.5.0+dfsg-1 [168 kB] Get:127 http://ftpmaster.internal/ubuntu bionic/main armhf libheimntlm0-heimdal armhf 7.5.0+dfsg-1 [13.1 kB] Get:128 http://ftpmaster.internal/ubuntu bionic/main armhf libgssapi3-heimdal armhf 7.5.0+dfsg-1 [78.8 kB] Get:129 http://ftpmaster.internal/ubuntu bionic/main armhf libslang2 armhf 2.3.1a-1ubuntu1 [381 kB] Get:130 http://ftpmaster.internal/ubuntu bionic/main armhf libssl1.0.0 armhf 1.0.2n-1ubuntu1 [709 kB] Get:131 http://ftpmaster.internal/ubuntu bionic/main armhf openssl armhf 1.0.2n-1ubuntu1 [480 kB] Get:132 http://ftpmaster.internal/ubuntu bionic/main armhf tzdata all 2018c-1 [188 kB] Get:133 http://ftpmaster.internal/ubuntu bionic/main armhf libgssapi-krb5-2 armhf 1.16-2 [101 kB] Get:134 http://ftpmaster.internal/ubuntu bionic/main armhf libkrb5-3 armhf 1.16-2 [234 kB] Get:135 http://ftpmaster.internal/ubuntu bionic/main armhf libk5crypto3 armhf 1.16-2 [83.2 kB] Get:136 http://ftpmaster.internal/ubuntu bionic/main armhf libkrb5support0 armhf 1.16-2 [27.5 kB] Get:137 http://ftpmaster.internal/ubuntu bionic/main armhf libkeyutils1 armhf 1.5.9-9.2ubuntu1 [8380 B] Get:138 http://ftpmaster.internal/ubuntu bionic/main armhf libpng16-16 armhf 1.6.34-1 [159 kB] Get:139 http://ftpmaster.internal/ubuntu bionic/universe armhf apt-transport-https all 1.6~alpha7ubuntu1 [1692 B] Get:140 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf dpkg-dev all 1.19.0.5ubuntu1 [607 kB] Get:141 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libdpkg-perl all 1.19.0.5ubuntu1 [211 kB] Get:142 http://ftpmaster.internal/ubuntu bionic/main armhf build-essential armhf 12.4ubuntu1 [4752 B] Get:143 http://ftpmaster.internal/ubuntu bionic/main armhf libfakeroot armhf 1.22-2ubuntu1 [21.6 kB] Get:144 http://ftpmaster.internal/ubuntu bionic/main armhf fakeroot armhf 1.22-2ubuntu1 [60.3 kB] Get:145 http://ftpmaster.internal/ubuntu bionic/main armhf libnghttp2-14 armhf 1.29.0-1 [67.1 kB] Get:146 http://ftpmaster.internal/ubuntu bionic/main armhf libpsl5 armhf 0.19.1-4 [39.9 kB] Get:147 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf libcurl3-gnutls armhf 7.58.0-2ubuntu1 [181 kB] Get:148 http://ftpmaster.internal/ubuntu bionic/main armhf liblockfile-bin armhf 1.14-1.1 [10.9 kB] Get:149 http://ftpmaster.internal/ubuntu bionic/main armhf liblockfile1 armhf 1.14-1.1 [5784 B] Get:150 http://ftpmaster.internal/ubuntu bionic/main armhf optipng armhf 0.7.6-1.1 [80.6 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 57.6 MB in 24s (2345 kB/s) (Reading database ... 12457 files and directories currently installed.) Preparing to unpack .../perl_5.26.1-4build1_armhf.deb ... Unpacking perl (5.26.1-4build1) over (5.26.0-8ubuntu1) ... Preparing to unpack .../perl-modules-5.26_5.26.1-4build1_all.deb ... Unpacking perl-modules-5.26 (5.26.1-4build1) over (5.26.0-8ubuntu1) ... Selecting previously unselected package libgdbm5:armhf. Preparing to unpack .../libgdbm5_1.14.1-2ubuntu1_armhf.deb ... Unpacking libgdbm5:armhf (1.14.1-2ubuntu1) ... Preparing to unpack .../libperl5.26_5.26.1-4build1_armhf.deb ... Unpacking libperl5.26:armhf (5.26.1-4build1) over (5.26.0-8ubuntu1) ... Preparing to unpack .../perl-base_5.26.1-4build1_armhf.deb ... Unpacking perl-base (5.26.1-4build1) over (5.26.0-8ubuntu1) ... Setting up perl-base (5.26.1-4build1) ... (Reading database ... 12456 files and directories currently installed.) Preparing to unpack .../libc6-dev_2.26-0ubuntu4_armhf.deb ... Unpacking libc6-dev:armhf (2.26-0ubuntu4) over (2.26-0ubuntu1) ... Preparing to unpack .../libc-dev-bin_2.26-0ubuntu4_armhf.deb ... Unpacking libc-dev-bin (2.26-0ubuntu4) over (2.26-0ubuntu1) ... Preparing to unpack .../linux-libc-dev_4.13.0-32.35_armhf.deb ... Unpacking linux-libc-dev:armhf (4.13.0-32.35) over (4.13.0-11.12) ... Preparing to unpack .../gcc-7-base_7.3.0-1ubuntu1_armhf.deb ... Unpacking gcc-7-base:armhf (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Setting up gcc-7-base:armhf (7.3.0-1ubuntu1) ... (Reading database ... 12456 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a7.3.0-1ubuntu1_armhf.deb ... Unpacking libgcc1:armhf (1:7.3.0-1ubuntu1) over (1:7.2.0-6ubuntu1) ... Setting up libgcc1:armhf (1:7.3.0-1ubuntu1) ... (Reading database ... 12456 files and directories currently installed.) Preparing to unpack .../00-libgomp1_7.3.0-1ubuntu1_armhf.deb ... Unpacking libgomp1:armhf (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../01-libatomic1_7.3.0-1ubuntu1_armhf.deb ... Unpacking libatomic1:armhf (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../02-libasan4_7.3.0-1ubuntu1_armhf.deb ... Unpacking libasan4:armhf (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../03-libubsan0_7.3.0-1ubuntu1_armhf.deb ... Unpacking libubsan0:armhf (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../04-libcilkrts5_7.3.0-1ubuntu1_armhf.deb ... Unpacking libcilkrts5:armhf (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../05-libmpc3_1.1.0-1_armhf.deb ... Unpacking libmpc3:armhf (1.1.0-1) over (1.0.3-2) ... Selecting previously unselected package libmpfr6:armhf. Preparing to unpack .../06-libmpfr6_4.0.0-7_armhf.deb ... Unpacking libmpfr6:armhf (4.0.0-7) ... Preparing to unpack .../07-cpp-7_7.3.0-1ubuntu1_armhf.deb ... Unpacking cpp-7 (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../08-libcc1-0_7.3.0-1ubuntu1_armhf.deb ... Unpacking libcc1-0:armhf (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../09-binutils-arm-linux-gnueabihf_2.30-1ubuntu1_armhf.deb ... Unpacking binutils-arm-linux-gnueabihf (2.30-1ubuntu1) over (2.29.1-1ubuntu1) ... Preparing to unpack .../10-libbinutils_2.30-1ubuntu1_armhf.deb ... Unpacking libbinutils:armhf (2.30-1ubuntu1) over (2.29.1-1ubuntu1) ... Preparing to unpack .../11-binutils_2.30-1ubuntu1_armhf.deb ... Unpacking binutils (2.30-1ubuntu1) over (2.29.1-1ubuntu1) ... Preparing to unpack .../12-binutils-common_2.30-1ubuntu1_armhf.deb ... Unpacking binutils-common:armhf (2.30-1ubuntu1) over (2.29.1-1ubuntu1) ... Preparing to unpack .../13-g++-7_7.3.0-1ubuntu1_armhf.deb ... Unpacking g++-7 (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../14-gcc-7_7.3.0-1ubuntu1_armhf.deb ... Unpacking gcc-7 (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../15-libgcc-7-dev_7.3.0-1ubuntu1_armhf.deb ... Unpacking libgcc-7-dev:armhf (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../16-libstdc++-7-dev_7.3.0-1ubuntu1_armhf.deb ... Unpacking libstdc++-7-dev:armhf (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Preparing to unpack .../17-libstdc++6_7.3.0-1ubuntu1_armhf.deb ... Unpacking libstdc++6:armhf (7.3.0-1ubuntu1) over (7.2.0-6ubuntu1) ... Setting up libstdc++6:armhf (7.3.0-1ubuntu1) ... (Reading database ... 12489 files and directories currently installed.) Preparing to unpack .../libgmp10_2%3a6.1.2+dfsg-2_armhf.deb ... Unpacking libgmp10:armhf (2:6.1.2+dfsg-2) over (2:6.1.2+dfsg-1) ... Setting up libgmp10:armhf (2:6.1.2+dfsg-2) ... (Reading database ... 12489 files and directories currently installed.) Preparing to unpack .../libc6_2.26-0ubuntu4_armhf.deb ... Unpacking libc6:armhf (2.26-0ubuntu4) over (2.26-0ubuntu1) ... Setting up libc6:armhf (2.26-0ubuntu4) ... (Reading database ... 12489 files and directories currently installed.) Preparing to unpack .../init-system-helpers_1.51_all.deb ... Unpacking init-system-helpers (1.51) over (1.49ubuntu1) ... Setting up init-system-helpers (1.51) ... (Reading database ... 12489 files and directories currently installed.) Preparing to unpack .../base-files_10ubuntu1_armhf.deb ... Unpacking base-files (10ubuntu1) over (9.6ubuntu101) ... Setting up base-files (10ubuntu1) ... Installing new version of config file /etc/debian_version ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... (Reading database ... 12489 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.30.2-0.1ubuntu1_armhf.deb ... Unpacking bsdutils (1:2.30.2-0.1ubuntu1) over (1:2.30.1-0ubuntu4) ... Setting up bsdutils (1:2.30.2-0.1ubuntu1) ... (Reading database ... 12489 files and directories currently installed.) Preparing to unpack .../coreutils_8.28-1ubuntu1_armhf.deb ... Unpacking coreutils (8.28-1ubuntu1) over (8.26-3ubuntu3) ... Setting up coreutils (8.28-1ubuntu1) ... (Reading database ... 12489 files and directories currently installed.) Preparing to unpack .../debianutils_4.8.4_armhf.deb ... Unpacking debianutils (4.8.4) over (4.8.2) ... Setting up debianutils (4.8.4) ... (Reading database ... 12489 files and directories currently installed.) Preparing to unpack .../dpkg_1.19.0.5ubuntu1_armhf.deb ... Unpacking dpkg (1.19.0.5ubuntu1) over (1.18.24ubuntu1) ... Setting up dpkg (1.19.0.5ubuntu1) ... Installing new version of config file /etc/alternatives/README ... Installing new version of config file /etc/cron.daily/dpkg ... Installing new version of config file /etc/logrotate.d/dpkg ... (Reading database ... 12491 files and directories currently installed.) Preparing to unpack .../dash_0.5.8-2.9ubuntu1_armhf.deb ... Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' Unpacking dash (0.5.8-2.9ubuntu1) over (0.5.8-2.3ubuntu1) ... Setting up dash (0.5.8-2.9ubuntu1) ... Removing 'diversion of /bin/sh to /bin/sh.distrib by bash' Adding 'diversion of /bin/sh to /bin/sh.distrib by dash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' (Reading database ... 12491 files and directories currently installed.) Preparing to unpack .../e2fslibs_1.43.8-2_armhf.deb ... Unpacking e2fslibs:armhf (1.43.8-2) over (1.43.5-1) ... Setting up e2fslibs:armhf (1.43.8-2) ... (Reading database ... 12491 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.43.8-2_armhf.deb ... Unpacking e2fsprogs (1.43.8-2) over (1.43.5-1) ... Setting up e2fsprogs (1.43.8-2) ... Installing new version of config file /etc/mke2fs.conf ... (Reading database ... 12491 files and directories currently installed.) Preparing to unpack .../findutils_4.6.0+git+20170828-2_armhf.deb ... Unpacking findutils (4.6.0+git+20170828-2) over (4.6.0+git+20170729-2) ... Setting up findutils (4.6.0+git+20170828-2) ... (Reading database ... 12491 files and directories currently installed.) Preparing to unpack .../hostname_3.20_armhf.deb ... Unpacking hostname (3.20) over (3.18) ... Setting up hostname (3.20) ... (Reading database ... 12491 files and directories currently installed.) Preparing to unpack .../login_1%3a4.5-1ubuntu1_armhf.deb ... Unpacking login (1:4.5-1ubuntu1) over (1:4.2-3.2ubuntu4) ... Setting up login (1:4.5-1ubuntu1) ... Installing new version of config file /etc/login.defs ... Installing new version of config file /etc/pam.d/login ... Installing new version of config file /etc/securetty ... (Reading database ... 12491 files and directories currently installed.) Preparing to unpack .../libncurses5_6.0+20171125-1ubuntu1_armhf.deb ... Unpacking libncurses5:armhf (6.0+20171125-1ubuntu1) over (6.0+20160625-1ubuntu1) ... Preparing to unpack .../libtinfo5_6.0+20171125-1ubuntu1_armhf.deb ... Unpacking libtinfo5:armhf (6.0+20171125-1ubuntu1) over (6.0+20160625-1ubuntu1) ... Setting up libtinfo5:armhf (6.0+20171125-1ubuntu1) ... (Reading database ... 12491 files and directories currently installed.) Preparing to unpack .../libncursesw5_6.0+20171125-1ubuntu1_armhf.deb ... Unpacking libncursesw5:armhf (6.0+20171125-1ubuntu1) over (6.0+20160625-1ubuntu1) ... Setting up libncursesw5:armhf (6.0+20171125-1ubuntu1) ... (Reading database ... 12491 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.0+20171125-1ubuntu1_armhf.deb ... Unpacking ncurses-bin (6.0+20171125-1ubuntu1) over (6.0+20160625-1ubuntu1) ... Setting up ncurses-bin (6.0+20171125-1ubuntu1) ... (Reading database ... 12493 files and directories currently installed.) Preparing to unpack .../archives/sed_4.4-2_armhf.deb ... Unpacking sed (4.4-2) over (4.4-1) ... Setting up sed (4.4-2) ... (Reading database ... 12493 files and directories currently installed.) Preparing to unpack .../libuuid1_2.30.2-0.1ubuntu1_armhf.deb ... Unpacking libuuid1:armhf (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Setting up libuuid1:armhf (2.30.2-0.1ubuntu1) ... (Reading database ... 12493 files and directories currently installed.) Preparing to unpack .../libblkid1_2.30.2-0.1ubuntu1_armhf.deb ... Unpacking libblkid1:armhf (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Setting up libblkid1:armhf (2.30.2-0.1ubuntu1) ... (Reading database ... 12493 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.30.2-0.1ubuntu1_armhf.deb ... Unpacking libsmartcols1:armhf (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Setting up libsmartcols1:armhf (2.30.2-0.1ubuntu1) ... (Reading database ... 12493 files and directories currently installed.) Preparing to unpack .../libfdisk1_2.30.2-0.1ubuntu1_armhf.deb ... Unpacking libfdisk1:armhf (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Setting up libfdisk1:armhf (2.30.2-0.1ubuntu1) ... (Reading database ... 12493 files and directories currently installed.) Preparing to unpack .../libpcre3_2%3a8.39-9_armhf.deb ... Unpacking libpcre3:armhf (2:8.39-9) over (2:8.39-4) ... Setting up libpcre3:armhf (2:8.39-9) ... (Reading database ... 12493 files and directories currently installed.) Preparing to unpack .../libselinux1_2.7-2build1_armhf.deb ... Unpacking libselinux1:armhf (2.7-2build1) over (2.7-1) ... Setting up libselinux1:armhf (2.7-2build1) ... (Reading database ... 12493 files and directories currently installed.) Preparing to unpack .../libmount1_2.30.2-0.1ubuntu1_armhf.deb ... Unpacking libmount1:armhf (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Setting up libmount1:armhf (2.30.2-0.1ubuntu1) ... (Reading database ... 12493 files and directories currently installed.) Preparing to unpack .../fdisk_2.30.2-0.1ubuntu1_armhf.deb ... Unpacking fdisk (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Setting up fdisk (2.30.2-0.1ubuntu1) ... (Reading database ... 12493 files and directories currently installed.) Preparing to unpack .../util-linux_2.30.2-0.1ubuntu1_armhf.deb ... Unpacking util-linux (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Setting up util-linux (2.30.2-0.1ubuntu1) ... (Reading database ... 12494 files and directories currently installed.) Preparing to unpack .../base-passwd_3.5.44_armhf.deb ... Unpacking base-passwd (3.5.44) over (3.5.43) ... Setting up base-passwd (3.5.44) ... (Reading database ... 12494 files and directories currently installed.) Preparing to unpack .../libc-bin_2.26-0ubuntu4_armhf.deb ... Unpacking libc-bin (2.26-0ubuntu4) over (2.26-0ubuntu1) ... Setting up libc-bin (2.26-0ubuntu4) ... (Reading database ... 12494 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.0+20171125-1ubuntu1_all.deb ... Unpacking ncurses-base (6.0+20171125-1ubuntu1) over (6.0+20160625-1ubuntu1) ... Setting up ncurses-base (6.0+20171125-1ubuntu1) ... (Reading database ... 12494 files and directories currently installed.) Preparing to unpack .../sysvinit-utils_2.88dsf-59.10ubuntu1_armhf.deb ... Unpacking sysvinit-utils (2.88dsf-59.10ubuntu1) over (2.88dsf-59.8git1) ... Setting up sysvinit-utils (2.88dsf-59.10ubuntu1) ... (Reading database ... 12494 files and directories currently installed.) Preparing to unpack .../libudev1_237-1ubuntu2_armhf.deb ... Unpacking libudev1:armhf (237-1ubuntu2) over (234-2ubuntu10) ... Setting up libudev1:armhf (237-1ubuntu2) ... (Reading database ... 12494 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.6~alpha7ubuntu1_armhf.deb ... Unpacking libapt-pkg5.0:armhf (1.6~alpha7ubuntu1) over (1.5~rc4) ... Setting up libapt-pkg5.0:armhf (1.6~alpha7ubuntu1) ... (Reading database ... 12494 files and directories currently installed.) Preparing to unpack .../libsemanage-common_2.7-2build1_all.deb ... Unpacking libsemanage-common (2.7-2build1) over (2.7-1) ... Setting up libsemanage-common (2.7-2build1) ... (Reading database ... 12494 files and directories currently installed.) Preparing to unpack .../libsemanage1_2.7-2build1_armhf.deb ... Unpacking libsemanage1:armhf (2.7-2build1) over (2.7-1) ... Setting up libsemanage1:armhf (2.7-2build1) ... (Reading database ... 12494 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.5-1ubuntu1_armhf.deb ... Unpacking passwd (1:4.5-1ubuntu1) over (1:4.2-3.2ubuntu4) ... Setting up passwd (1:4.5-1ubuntu1) ... (Reading database ... 12502 files and directories currently installed.) Preparing to unpack .../debconf_1.5.65_all.deb ... Unpacking debconf (1.5.65) over (1.5.63) ... Setting up debconf (1.5.65) ... (Reading database ... 12496 files and directories currently installed.) Preparing to unpack .../adduser_3.116ubuntu1_all.deb ... Unpacking adduser (3.116ubuntu1) over (3.113+nmu3ubuntu5) ... Setting up adduser (3.116ubuntu1) ... (Reading database ... 12494 files and directories currently installed.) Preparing to unpack .../libgpg-error0_1.27-5_armhf.deb ... Unpacking libgpg-error0:armhf (1.27-5) over (1.27-3) ... Setting up libgpg-error0:armhf (1.27-5) ... (Reading database ... 12494 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.8.1-4_armhf.deb ... Unpacking libgcrypt20:armhf (1.8.1-4) over (1.7.8-2ubuntu1) ... Setting up libgcrypt20:armhf (1.8.1-4) ... (Reading database ... 12494 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.4-1ubuntu1_armhf.deb ... Unpacking gpgv (2.2.4-1ubuntu1) over (2.1.15-1ubuntu7) ... Setting up gpgv (2.2.4-1ubuntu1) ... (Reading database ... 12494 files and directories currently installed.) Preparing to unpack .../libnettle6_3.4-1_armhf.deb ... Unpacking libnettle6:armhf (3.4-1) over (3.3-1) ... Setting up libnettle6:armhf (3.4-1) ... (Reading database ... 12496 files and directories currently installed.) Preparing to unpack .../libhogweed4_3.4-1_armhf.deb ... Unpacking libhogweed4:armhf (3.4-1) over (3.3-1) ... Setting up libhogweed4:armhf (3.4-1) ... (Reading database ... 12496 files and directories currently installed.) Preparing to unpack .../libidn2-0_2.0.4-1_armhf.deb ... Unpacking libidn2-0:armhf (2.0.4-1) over (2.0.2-5) ... Setting up libidn2-0:armhf (2.0.4-1) ... (Reading database ... 12497 files and directories currently installed.) Preparing to unpack .../libffi6_3.2.1-8_armhf.deb ... Unpacking libffi6:armhf (3.2.1-8) over (3.2.1-6) ... Setting up libffi6:armhf (3.2.1-8) ... (Reading database ... 12497 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.23.9-2_armhf.deb ... Unpacking libp11-kit0:armhf (0.23.9-2) over (0.23.7-3) ... Setting up libp11-kit0:armhf (0.23.9-2) ... (Reading database ... 12497 files and directories currently installed.) Preparing to unpack .../libtasn1-6_4.13-2_armhf.deb ... Unpacking libtasn1-6:armhf (4.13-2) over (4.12-2.1) ... Setting up libtasn1-6:armhf (4.13-2) ... (Reading database ... 12497 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.5.17-1ubuntu1_armhf.deb ... Unpacking libgnutls30:armhf (3.5.17-1ubuntu1) over (3.5.8-6ubuntu3) ... Setting up libgnutls30:armhf (3.5.17-1ubuntu1) ... (Reading database ... 12497 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.3.1-2.1ubuntu3_armhf.deb ... Unpacking libseccomp2:armhf (2.3.1-2.1ubuntu3) over (2.3.1-2.1ubuntu2) ... Setting up libseccomp2:armhf (2.3.1-2.1ubuntu3) ... (Reading database ... 12497 files and directories currently installed.) Preparing to unpack .../apt_1.6~alpha7ubuntu1_armhf.deb ... Unpacking apt (1.6~alpha7ubuntu1) over (1.5~rc4) ... Setting up apt (1.6~alpha7ubuntu1) ... Installing new version of config file /etc/cron.daily/apt-compat ... Selecting previously unselected package libargon2-0:armhf. (Reading database ... 12500 files and directories currently installed.) Preparing to unpack .../00-libargon2-0_0~20161029-1.1_armhf.deb ... Unpacking libargon2-0:armhf (0~20161029-1.1) ... Selecting previously unselected package libjson-c3:armhf. Preparing to unpack .../01-libjson-c3_0.12.1-1.3_armhf.deb ... Unpacking libjson-c3:armhf (0.12.1-1.3) ... Preparing to unpack .../02-libdevmapper1.02.1_2%3a1.02.145-4.1ubuntu2_armhf.deb ... Unpacking libdevmapper1.02.1:armhf (2:1.02.145-4.1ubuntu2) over (2:1.02.137-2ubuntu3) ... Selecting previously unselected package libcryptsetup12:armhf. Preparing to unpack .../03-libcryptsetup12_2%3a2.0.1-0ubuntu1_armhf.deb ... Unpacking libcryptsetup12:armhf (2:2.0.1-0ubuntu1) ... Preparing to unpack .../04-libapparmor1_2.11.0-2ubuntu19_armhf.deb ... Unpacking libapparmor1:armhf (2.11.0-2ubuntu19) over (2.11.0-2ubuntu17) ... Preparing to unpack .../05-libcap2_1%3a2.25-1.2_armhf.deb ... Unpacking libcap2:armhf (1:2.25-1.2) over (1:2.25-1) ... Preparing to unpack .../06-libidn11_1.33-2.1_armhf.deb ... Unpacking libidn11:armhf (1.33-2.1) over (1.33-2) ... Preparing to unpack .../07-libip4tc0_1.6.1-2ubuntu2_armhf.deb ... Unpacking libip4tc0:armhf (1.6.1-2ubuntu2) over (1.6.1-2ubuntu1) ... Preparing to unpack .../08-libkmod2_24-1ubuntu3_armhf.deb ... Unpacking libkmod2:armhf (24-1ubuntu3) over (24-1ubuntu2) ... Preparing to unpack .../09-mount_2.30.2-0.1ubuntu1_armhf.deb ... Unpacking mount (2.30.2-0.1ubuntu1) over (2.30.1-0ubuntu4) ... Preparing to unpack .../10-libprocps6_2%3a3.3.12-3ubuntu1_armhf.deb ... Unpacking libprocps6:armhf (2:3.3.12-3ubuntu1) over (2:3.3.12-1ubuntu2) ... Preparing to unpack .../11-lsb-base_9.20170808ubuntu1_all.deb ... Unpacking lsb-base (9.20170808ubuntu1) over (9.20160110ubuntu5) ... Preparing to unpack .../12-procps_2%3a3.3.12-3ubuntu1_armhf.deb ... Unpacking procps (2:3.3.12-3ubuntu1) over (2:3.3.12-1ubuntu2) ... Preparing to unpack .../13-systemd_237-1ubuntu2_armhf.deb ... Unpacking systemd (237-1ubuntu2) over (234-2ubuntu10) ... Preparing to unpack .../14-libsystemd0_237-1ubuntu2_armhf.deb ... Unpacking libsystemd0:armhf (237-1ubuntu2) over (234-2ubuntu10) ... Setting up libsystemd0:armhf (237-1ubuntu2) ... (Reading database ... 12536 files and directories currently installed.) Preparing to unpack .../archives/init_1.51_armhf.deb ... Unpacking init (1.51) over (1.49ubuntu1) ... Setting up libapparmor1:armhf (2.11.0-2ubuntu19) ... Setting up libcap2:armhf (1:2.25-1.2) ... Setting up libargon2-0:armhf (0~20161029-1.1) ... Setting up libdevmapper1.02.1:armhf (2:1.02.145-4.1ubuntu2) ... Setting up libjson-c3:armhf (0.12.1-1.3) ... Setting up libcryptsetup12:armhf (2:2.0.1-0ubuntu1) ... Setting up libidn11:armhf (1.33-2.1) ... Setting up libip4tc0:armhf (1.6.1-2ubuntu2) ... Setting up libkmod2:armhf (24-1ubuntu3) ... Setting up mount (2.30.2-0.1ubuntu1) ... Setting up libncurses5:armhf (6.0+20171125-1ubuntu1) ... Setting up libprocps6:armhf (2:3.3.12-3ubuntu1) ... Setting up lsb-base (9.20170808ubuntu1) ... Setting up procps (2:3.3.12-3ubuntu1) ... Setting up systemd (237-1ubuntu2) ... Installing new version of config file /etc/systemd/journald.conf ... Installing new version of config file /etc/systemd/system.conf ... Installing new version of config file /etc/systemd/timesyncd.conf ... Removing empty /etc/rc.local Removed /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service. Removing user `systemd-bus-proxy' ... Warning: group `systemd-bus-proxy' has no more members. Done. (Reading database ... 12536 files and directories currently installed.) Preparing to unpack .../systemd-sysv_237-1ubuntu2_armhf.deb ... Unpacking systemd-sysv (237-1ubuntu2) over (234-2ubuntu10) ... Preparing to unpack .../libcap-ng0_0.7.7-3.1_armhf.deb ... Unpacking libcap-ng0:armhf (0.7.7-3.1) over (0.7.7-3build1) ... Setting up libcap-ng0:armhf (0.7.7-3.1) ... (Reading database ... 12536 files and directories currently installed.) Preparing to unpack .../libcomerr2_1.43.8-2_armhf.deb ... Unpacking libcomerr2:armhf (1.43.8-2) over (1.43.5-1) ... Setting up libcomerr2:armhf (1.43.8-2) ... (Reading database ... 12536 files and directories currently installed.) Preparing to unpack .../libss2_1.43.8-2_armhf.deb ... Unpacking libss2:armhf (1.43.8-2) over (1.43.5-1) ... Setting up libss2:armhf (1.43.8-2) ... (Reading database ... 12536 files and directories currently installed.) Preparing to unpack .../multiarch-support_2.26-0ubuntu4_armhf.deb ... Unpacking multiarch-support (2.26-0ubuntu4) over (2.26-0ubuntu1) ... Setting up multiarch-support (2.26-0ubuntu4) ... (Reading database ... 12536 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.11_all.deb ... Unpacking sensible-utils (0.0.11) over (0.0.10) ... Selecting previously unselected package gnupg-l10n. Preparing to unpack .../01-gnupg-l10n_2.2.4-1ubuntu1_all.deb ... Unpacking gnupg-l10n (2.2.4-1ubuntu1) ... Preparing to unpack .../02-libassuan0_2.5.1-1_armhf.deb ... Unpacking libassuan0:armhf (2.5.1-1) over (2.4.3-3) ... Preparing to unpack .../03-readline-common_7.0-3_all.deb ... Unpacking readline-common (7.0-3) over (7.0-0ubuntu2) ... Preparing to unpack .../04-libreadline7_7.0-3_armhf.deb ... Unpacking libreadline7:armhf (7.0-3) over (7.0-0ubuntu2) ... Preparing to unpack .../05-gnupg_2.2.4-1ubuntu1_armhf.deb ... Unpacking gnupg (2.2.4-1ubuntu1) over (2.1.15-1ubuntu7) ... Preparing to unpack .../06-gnupg-agent_2.2.4-1ubuntu1_all.deb ... Unpacking gnupg-agent (2.2.4-1ubuntu1) over (2.1.15-1ubuntu7) ... dpkg: warning: unable to delete old directory '/etc/X11/Xsession.d': Directory not empty dpkg: warning: unable to delete old directory '/etc/X11': Directory not empty Selecting previously unselected package gpgconf. Preparing to unpack .../07-gpgconf_2.2.4-1ubuntu1_armhf.deb ... Unpacking gpgconf (2.2.4-1ubuntu1) ... Preparing to unpack .../08-pinentry-curses_1.0.0-3_armhf.deb ... Unpacking pinentry-curses (1.0.0-3) over (1.0.0-2) ... Preparing to unpack .../09-libnpth0_1.5-3_armhf.deb ... Unpacking libnpth0:armhf (1.5-3) over (1.5-2) ... Selecting previously unselected package gpg-agent. Preparing to unpack .../10-gpg-agent_2.2.4-1ubuntu1_armhf.deb ... Unpacking gpg-agent (2.2.4-1ubuntu1) ... Selecting previously unselected package gnupg-utils. Preparing to unpack .../11-gnupg-utils_2.2.4-1ubuntu1_armhf.deb ... Unpacking gnupg-utils (2.2.4-1ubuntu1) ... Preparing to unpack .../12-libsqlite3-0_3.22.0-1_armhf.deb ... Unpacking libsqlite3-0:armhf (3.22.0-1) over (3.19.3-3) ... Selecting previously unselected package gpg. Preparing to unpack .../13-gpg_2.2.4-1ubuntu1_armhf.deb ... Unpacking gpg (2.2.4-1ubuntu1) ... Selecting previously unselected package gpg-wks-client. Preparing to unpack .../14-gpg-wks-client_2.2.4-1ubuntu1_armhf.deb ... Unpacking gpg-wks-client (2.2.4-1ubuntu1) ... Selecting previously unselected package gpg-wks-server. Preparing to unpack .../15-gpg-wks-server_2.2.4-1ubuntu1_armhf.deb ... Unpacking gpg-wks-server (2.2.4-1ubuntu1) ... Selecting previously unselected package gpgsm. Preparing to unpack .../16-gpgsm_2.2.4-1ubuntu1_armhf.deb ... Unpacking gpgsm (2.2.4-1ubuntu1) ... Selecting previously unselected package dirmngr. Preparing to unpack .../17-dirmngr_2.2.4-1ubuntu1_armhf.deb ... Unpacking dirmngr (2.2.4-1ubuntu1) ... Preparing to unpack .../18-dmsetup_2%3a1.02.145-4.1ubuntu2_armhf.deb ... Unpacking dmsetup (2:1.02.145-4.1ubuntu2) over (2:1.02.137-2ubuntu3) ... Preparing to unpack .../19-libroken18-heimdal_7.5.0+dfsg-1_armhf.deb ... Unpacking libroken18-heimdal:armhf (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../20-libasn1-8-heimdal_7.5.0+dfsg-1_armhf.deb ... Unpacking libasn1-8-heimdal:armhf (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../21-libheimbase1-heimdal_7.5.0+dfsg-1_armhf.deb ... Unpacking libheimbase1-heimdal:armhf (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../22-libhcrypto4-heimdal_7.5.0+dfsg-1_armhf.deb ... Unpacking libhcrypto4-heimdal:armhf (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../23-libwind0-heimdal_7.5.0+dfsg-1_armhf.deb ... Unpacking libwind0-heimdal:armhf (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../24-libhx509-5-heimdal_7.5.0+dfsg-1_armhf.deb ... Unpacking libhx509-5-heimdal:armhf (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../25-libkrb5-26-heimdal_7.5.0+dfsg-1_armhf.deb ... Unpacking libkrb5-26-heimdal:armhf (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../26-libheimntlm0-heimdal_7.5.0+dfsg-1_armhf.deb ... Unpacking libheimntlm0-heimdal:armhf (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../27-libgssapi3-heimdal_7.5.0+dfsg-1_armhf.deb ... Unpacking libgssapi3-heimdal:armhf (7.5.0+dfsg-1) over (7.4.0.dfsg.1-2) ... Preparing to unpack .../28-libslang2_2.3.1a-1ubuntu1_armhf.deb ... Unpacking libslang2:armhf (2.3.1a-1ubuntu1) over (2.3.1-5ubuntu1) ... Preparing to unpack .../29-libssl1.0.0_1.0.2n-1ubuntu1_armhf.deb ... Unpacking libssl1.0.0:armhf (1.0.2n-1ubuntu1) over (1.0.2g-1ubuntu13) ... Preparing to unpack .../30-openssl_1.0.2n-1ubuntu1_armhf.deb ... Unpacking openssl (1.0.2n-1ubuntu1) over (1.0.2g-1ubuntu13) ... Preparing to unpack .../31-tzdata_2018c-1_all.deb ... Unpacking tzdata (2018c-1) over (2017b-2) ... Preparing to unpack .../32-libgssapi-krb5-2_1.16-2_armhf.deb ... Unpacking libgssapi-krb5-2:armhf (1.16-2) over (1.15.1-2) ... Preparing to unpack .../33-libkrb5-3_1.16-2_armhf.deb ... Unpacking libkrb5-3:armhf (1.16-2) over (1.15.1-2) ... Preparing to unpack .../34-libk5crypto3_1.16-2_armhf.deb ... Unpacking libk5crypto3:armhf (1.16-2) over (1.15.1-2) ... Preparing to unpack .../35-libkrb5support0_1.16-2_armhf.deb ... Unpacking libkrb5support0:armhf (1.16-2) over (1.15.1-2) ... Preparing to unpack .../36-libkeyutils1_1.5.9-9.2ubuntu1_armhf.deb ... Unpacking libkeyutils1:armhf (1.5.9-9.2ubuntu1) over (1.5.9-9ubuntu1) ... Preparing to unpack .../37-libpng16-16_1.6.34-1_armhf.deb ... Unpacking libpng16-16:armhf (1.6.34-1) over (1.6.32-2) ... Preparing to unpack .../38-apt-transport-https_1.6~alpha7ubuntu1_all.deb ... Unpacking apt-transport-https (1.6~alpha7ubuntu1) over (1.5~rc4) ... Preparing to unpack .../39-dpkg-dev_1.19.0.5ubuntu1_all.deb ... Unpacking dpkg-dev (1.19.0.5ubuntu1) over (1.18.24ubuntu1) ... Preparing to unpack .../40-libdpkg-perl_1.19.0.5ubuntu1_all.deb ... Unpacking libdpkg-perl (1.19.0.5ubuntu1) over (1.18.24ubuntu1) ... Preparing to unpack .../41-build-essential_12.4ubuntu1_armhf.deb ... Unpacking build-essential (12.4ubuntu1) over (12.1ubuntu2) ... Preparing to unpack .../42-libfakeroot_1.22-2ubuntu1_armhf.deb ... Unpacking libfakeroot:armhf (1.22-2ubuntu1) over (1.21-1ubuntu2) ... Preparing to unpack .../43-fakeroot_1.22-2ubuntu1_armhf.deb ... Unpacking fakeroot (1.22-2ubuntu1) over (1.21-1ubuntu2) ... Selecting previously unselected package libnghttp2-14:armhf. Preparing to unpack .../44-libnghttp2-14_1.29.0-1_armhf.deb ... Unpacking libnghttp2-14:armhf (1.29.0-1) ... Preparing to unpack .../45-libpsl5_0.19.1-4_armhf.deb ... Unpacking libpsl5:armhf (0.19.1-4) over (0.18.0-2) ... Preparing to unpack .../46-libcurl3-gnutls_7.58.0-2ubuntu1_armhf.deb ... Unpacking libcurl3-gnutls:armhf (7.58.0-2ubuntu1) over (7.55.1-1ubuntu1) ... Preparing to unpack .../47-liblockfile-bin_1.14-1.1_armhf.deb ... Unpacking liblockfile-bin (1.14-1.1) over (1.14-1) ... Preparing to unpack .../48-liblockfile1_1.14-1.1_armhf.deb ... Unpacking liblockfile1:armhf (1.14-1.1) over (1.14-1) ... Preparing to unpack .../49-optipng_0.7.6-1.1_armhf.deb ... Unpacking optipng (0.7.6-1.1) over (0.7.6-1build1) ... Setting up libnpth0:armhf (1.5-3) ... Setting up libgomp1:armhf (7.3.0-1ubuntu1) ... Setting up libatomic1:armhf (7.3.0-1ubuntu1) ... Setting up readline-common (7.0-3) ... Setting up liblockfile-bin (1.14-1.1) ... Setting up libcc1-0:armhf (7.3.0-1ubuntu1) ... Setting up apt-transport-https (1.6~alpha7ubuntu1) ... Setting up libssl1.0.0:armhf (1.0.2n-1ubuntu1) ... Setting up libnghttp2-14:armhf (1.29.0-1) ... Setting up libasan4:armhf (7.3.0-1ubuntu1) ... Setting up libpng16-16:armhf (1.6.34-1) ... Setting up libcilkrts5:armhf (7.3.0-1ubuntu1) ... Setting up libreadline7:armhf (7.0-3) ... Setting up libpsl5:armhf (0.19.1-4) ... Setting up tzdata (2018c-1) ... Current default time zone: 'Etc/UTC' Local time is now: Mon Feb 5 05:10:44 UTC 2018. Universal Time is now: Mon Feb 5 05:10:44 UTC 2018. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up systemd-sysv (237-1ubuntu2) ... Setting up libubsan0:armhf (7.3.0-1ubuntu1) ... Setting up liblockfile1:armhf (1.14-1.1) ... Setting up linux-libc-dev:armhf (4.13.0-32.35) ... Setting up libmpfr6:armhf (4.0.0-7) ... Setting up libroken18-heimdal:armhf (7.5.0+dfsg-1) ... Setting up perl-modules-5.26 (5.26.1-4build1) ... Setting up libgdbm5:armhf (1.14.1-2ubuntu1) ... Setting up libkrb5support0:armhf (1.16-2) ... Setting up optipng (0.7.6-1.1) ... Setting up libgcc-7-dev:armhf (7.3.0-1ubuntu1) ... Setting up gnupg-l10n (2.2.4-1ubuntu1) ... Setting up binutils-common:armhf (2.30-1ubuntu1) ... Setting up sensible-utils (0.0.11) ... Processing triggers for libc-bin (2.26-0ubuntu4) ... Setting up libperl5.26:armhf (5.26.1-4build1) ... Setting up libheimbase1-heimdal:armhf (7.5.0+dfsg-1) ... Setting up libfakeroot:armhf (1.22-2ubuntu1) ... Setting up libsqlite3-0:armhf (3.22.0-1) ... Setting up dmsetup (2:1.02.145-4.1ubuntu2) ... Setting up libmpc3:armhf (1.1.0-1) ... Setting up libc-dev-bin (2.26-0ubuntu4) ... Setting up libkeyutils1:armhf (1.5.9-9.2ubuntu1) ... Setting up libc6-dev:armhf (2.26-0ubuntu4) ... Setting up libslang2:armhf (2.3.1a-1ubuntu1) ... Setting up libassuan0:armhf (2.5.1-1) ... Setting up libk5crypto3:armhf (1.16-2) ... Setting up libwind0-heimdal:armhf (7.5.0+dfsg-1) ... Setting up libbinutils:armhf (2.30-1ubuntu1) ... Setting up init (1.51) ... Setting up libasn1-8-heimdal:armhf (7.5.0+dfsg-1) ... Setting up gpgconf (2.2.4-1ubuntu1) ... Setting up libhcrypto4-heimdal:armhf (7.5.0+dfsg-1) ... Setting up binutils-arm-linux-gnueabihf (2.30-1ubuntu1) ... Setting up fakeroot (1.22-2ubuntu1) ... Setting up libhx509-5-heimdal:armhf (7.5.0+dfsg-1) ... Setting up cpp-7 (7.3.0-1ubuntu1) ... Setting up libstdc++-7-dev:armhf (7.3.0-1ubuntu1) ... Setting up perl (5.26.1-4build1) ... Setting up gpgsm (2.2.4-1ubuntu1) ... Setting up openssl (1.0.2n-1ubuntu1) ... Setting up gnupg-utils (2.2.4-1ubuntu1) ... Setting up pinentry-curses (1.0.0-3) ... Setting up libkrb5-3:armhf (1.16-2) ... Setting up binutils (2.30-1ubuntu1) ... Setting up libkrb5-26-heimdal:armhf (7.5.0+dfsg-1) ... Setting up dirmngr (2.2.4-1ubuntu1) ... Setting up libheimntlm0-heimdal:armhf (7.5.0+dfsg-1) ... Setting up gpg (2.2.4-1ubuntu1) ... Setting up gcc-7 (7.3.0-1ubuntu1) ... Setting up g++-7 (7.3.0-1ubuntu1) ... Setting up libdpkg-perl (1.19.0.5ubuntu1) ... Setting up gpg-agent (2.2.4-1ubuntu1) ... Installing new version of config file /etc/X11/Xsession.d/90gpg-agent ... Setting up gpg-wks-server (2.2.4-1ubuntu1) ... Setting up gpg-wks-client (2.2.4-1ubuntu1) ... Setting up libgssapi-krb5-2:armhf (1.16-2) ... Setting up dpkg-dev (1.19.0.5ubuntu1) ... Setting up gnupg-agent (2.2.4-1ubuntu1) ... Setting up libgssapi3-heimdal:armhf (7.5.0+dfsg-1) ... Setting up build-essential (12.4ubuntu1) ... Setting up libcurl3-gnutls:armhf (7.58.0-2ubuntu1) ... Setting up gnupg (2.2.4-1ubuntu1) ... Processing triggers for libc-bin (2.26-0ubuntu4) ... RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package PACKAGEBUILD-14309714 armhf bionic-proposed -c chroot:build-PACKAGEBUILD-14309714 --arch=armhf --dist=bionic-proposed --nolog lua-cjson_2.1.0+dfsg-2.1.dsc Initiating build PACKAGEBUILD-14309714 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 20:00:40 UTC 2018 armv8l sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on bos02-arm64-025.buildd +==============================================================================+ | lua-cjson 2.1.0+dfsg-2.1 (armhf) 05 Feb 2018 05:10 | +==============================================================================+ Package: lua-cjson Version: 2.1.0+dfsg-2.1 Source Version: 2.1.0+dfsg-2.1 Distribution: bionic-proposed Machine Architecture: arm64 Host Architecture: armhf Build Architecture: armhf I: NOTICE: Log filtering will replace 'build/lua-cjson-XRchvf/lua-cjson-2.1.0+dfsg' with '<>' I: NOTICE: Log filtering will replace 'build/lua-cjson-XRchvf' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-14309714/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- lua-cjson_2.1.0+dfsg-2.1.dsc exists in .; copying to chroot Check architectures ------------------- Check dependencies ------------------ Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-vXNfDf/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-vXNfDf/apt_archive ./ InRelease Get:2 copy:/<>/resolver-vXNfDf/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-vXNfDf/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-vXNfDf/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-vXNfDf/apt_archive ./ Packages [524 B] Fetched 2857 B in 0s (60.0 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install core build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: gnupg-agent libcryptsetup4 libcurl3-gnutls libgdbm3 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libmpfr4 libnghttp2-14 libpsl5 librtmp1 libustr-1.0-1 Use 'apt autoremove' to remove them. 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 852 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-vXNfDf/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 852 B in 0s (68.4 kB/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 12675 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: debhelper (>= 9), dh-lua Filtered Build-Depends: debhelper (>= 9), dh-lua dpkg-deb: building package 'sbuild-build-depends-lua-cjson-dummy' in '/<>/resolver-DhhWFw/apt_archive/sbuild-build-depends-lua-cjson-dummy.deb'. Ign:1 copy:/<>/resolver-DhhWFw/apt_archive ./ InRelease Get:2 copy:/<>/resolver-DhhWFw/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-DhhWFw/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-DhhWFw/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-DhhWFw/apt_archive ./ Packages [532 B] Fetched 2865 B in 0s (66.7 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install lua-cjson build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: gnupg-agent libcryptsetup4 libcurl3-gnutls libgdbm3 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libmpfr4 libnghttp2-14 libpsl5 librtmp1 libustr-1.0-1 Use 'apt autoremove' to remove them. The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils dctrl-tools debhelper dh-autoreconf dh-lua dh-strip-nondeterminism file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libfile-find-rule-perl libfile-stripnondeterminism-perl libfreetype6 libglib2.0-0 libgraphite2-3 libharfbuzz0b libicu-le-hb0 libicu60 liblua5.1-0 liblua5.1-0-dev liblua5.2-0 liblua5.2-dev liblua5.3-0 liblua5.3-dev libluasandbox-bin libluasandbox-dev libluasandbox0 libmagic-mgc libmagic1 libnumber-compare-perl libpipeline1 libreadline-dev libsigsegv2 libtext-glob-perl libtimedate-perl libtinfo-dev libtool libtool-bin libxml2 lua5.1 lua5.2 lua5.3 m4 man-db pkg-config po-debconf Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation debtags dh-make dwz gettext-doc libasprintf-dev libgettextpo-dev groff readline-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc less www-browser apparmor libmail-box-perl Recommended packages: curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev libmail-sendmail-perl The following packages will be REMOVED: pkg-create-dbgsym* The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils dctrl-tools debhelper dh-autoreconf dh-lua dh-strip-nondeterminism file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libfile-find-rule-perl libfile-stripnondeterminism-perl libfreetype6 libglib2.0-0 libgraphite2-3 libharfbuzz0b libicu-le-hb0 libicu60 liblua5.1-0 liblua5.1-0-dev liblua5.2-0 liblua5.2-dev liblua5.3-0 liblua5.3-dev libluasandbox-bin libluasandbox-dev libluasandbox0 libmagic-mgc libmagic1 libnumber-compare-perl libpipeline1 libreadline-dev libsigsegv2 libtext-glob-perl libtimedate-perl libtinfo-dev libtool libtool-bin libxml2 lua5.1 lua5.2 lua5.3 m4 man-db pkg-config po-debconf sbuild-build-depends-lua-cjson-dummy 0 upgraded, 55 newly installed, 1 to remove and 0 not upgraded. Need to get 18.0 MB of archives. After this operation, 64.2 MB of additional disk space will be used. Get:1 copy:/<>/resolver-DhhWFw/apt_archive ./ sbuild-build-depends-lua-cjson-dummy 0.invalid.0 [860 B] Get:2 http://ftpmaster.internal/ubuntu bionic/main armhf groff-base armhf 1.22.3-9 [1013 kB] Get:3 http://ftpmaster.internal/ubuntu bionic/main armhf libbsd0 armhf 0.8.7-1 [40.4 kB] Get:4 http://ftpmaster.internal/ubuntu bionic/main armhf bsdmainutils armhf 11.1.2ubuntu1 [177 kB] Get:5 http://ftpmaster.internal/ubuntu bionic/main armhf libpipeline1 armhf 1.5.0-1 [21.1 kB] Get:6 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf man-db armhf 2.8.0-1 [992 kB] Get:7 http://ftpmaster.internal/ubuntu bionic/main armhf libmagic-mgc armhf 1:5.32-1 [184 kB] Get:8 http://ftpmaster.internal/ubuntu bionic/main armhf libmagic1 armhf 1:5.32-1 [62.6 kB] Get:9 http://ftpmaster.internal/ubuntu bionic/main armhf file armhf 1:5.32-1 [21.4 kB] Get:10 http://ftpmaster.internal/ubuntu bionic/main armhf libglib2.0-0 armhf 2.54.1-1ubuntu1 [1013 kB] Get:11 http://ftpmaster.internal/ubuntu bionic/main armhf libfreetype6 armhf 2.8.1-0.1ubuntu2 [280 kB] Get:12 http://ftpmaster.internal/ubuntu bionic/main armhf libgraphite2-3 armhf 1.3.10-8 [65.7 kB] Get:13 http://ftpmaster.internal/ubuntu bionic/main armhf libharfbuzz0b armhf 1.7.2-1 [206 kB] Get:14 http://ftpmaster.internal/ubuntu bionic/main armhf libicu-le-hb0 armhf 1.0.3+git161113-4 [12.5 kB] Get:15 http://ftpmaster.internal/ubuntu bionic/main armhf libicu60 armhf 60.2-3ubuntu1 [7808 kB] Get:16 http://ftpmaster.internal/ubuntu bionic/main armhf libxml2 armhf 2.9.4+dfsg1-6.1ubuntu1 [567 kB] Get:17 http://ftpmaster.internal/ubuntu bionic/main armhf gettext-base armhf 0.19.8.1-4ubuntu2 [45.9 kB] Get:18 http://ftpmaster.internal/ubuntu bionic/main armhf libsigsegv2 armhf 2.11-1 [12.6 kB] Get:19 http://ftpmaster.internal/ubuntu bionic/main armhf m4 armhf 1.4.18-1 [181 kB] Get:20 http://ftpmaster.internal/ubuntu bionic/main armhf autoconf all 2.69-11 [322 kB] Get:21 http://ftpmaster.internal/ubuntu bionic/main armhf autotools-dev all 20171216.1 [39.7 kB] Get:22 http://ftpmaster.internal/ubuntu bionic/main armhf automake all 1:1.15.1-3ubuntu1 [509 kB] Get:23 http://ftpmaster.internal/ubuntu bionic/main armhf autopoint all 0.19.8.1-4ubuntu2 [412 kB] Get:24 http://ftpmaster.internal/ubuntu bionic/main armhf dctrl-tools armhf 2.24-2build1 [52.9 kB] Get:25 http://ftpmaster.internal/ubuntu bionic/main armhf libtool all 2.4.6-2 [194 kB] Get:26 http://ftpmaster.internal/ubuntu bionic/main armhf dh-autoreconf all 16 [15.8 kB] Get:27 http://ftpmaster.internal/ubuntu bionic/main armhf libarchive-zip-perl all 1.60-1 [83.9 kB] Get:28 http://ftpmaster.internal/ubuntu bionic/main armhf libfile-stripnondeterminism-perl all 0.040-1 [13.9 kB] Get:29 http://ftpmaster.internal/ubuntu bionic/main armhf libtimedate-perl all 2.3000-2 [37.5 kB] Get:30 http://ftpmaster.internal/ubuntu bionic/main armhf dh-strip-nondeterminism all 0.040-1 [5196 B] Get:31 http://ftpmaster.internal/ubuntu bionic/main armhf libcroco3 armhf 0.6.12-2 [69.4 kB] Get:32 http://ftpmaster.internal/ubuntu bionic/main armhf gettext armhf 0.19.8.1-4ubuntu2 [1027 kB] Get:33 http://ftpmaster.internal/ubuntu bionic/main armhf intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:34 http://ftpmaster.internal/ubuntu bionic/main armhf po-debconf all 1.0.20 [232 kB] Get:35 http://ftpmaster.internal/ubuntu bionic-proposed/main armhf debhelper all 11.1.4ubuntu1 [900 kB] Get:36 http://ftpmaster.internal/ubuntu bionic/main armhf libtool-bin armhf 2.4.6-2 [79.5 kB] Get:37 http://ftpmaster.internal/ubuntu bionic/main armhf pkg-config armhf 0.29.1-0ubuntu2 [42.0 kB] Get:38 http://ftpmaster.internal/ubuntu bionic/main armhf liblua5.3-0 armhf 5.3.3-1 [97.2 kB] Get:39 http://ftpmaster.internal/ubuntu bionic/main armhf libtinfo-dev armhf 6.0+20171125-1ubuntu1 [70.8 kB] Get:40 http://ftpmaster.internal/ubuntu bionic/main armhf libreadline-dev armhf 7.0-3 [121 kB] Get:41 http://ftpmaster.internal/ubuntu bionic/main armhf liblua5.3-dev armhf 5.3.3-1 [137 kB] Get:42 http://ftpmaster.internal/ubuntu bionic/universe armhf lua5.3 armhf 5.3.3-1 [84.4 kB] Get:43 http://ftpmaster.internal/ubuntu bionic/main armhf liblua5.2-0 armhf 5.2.4-1.1build1 [83.4 kB] Get:44 http://ftpmaster.internal/ubuntu bionic/main armhf liblua5.2-dev armhf 5.2.4-1.1build1 [120 kB] Get:45 http://ftpmaster.internal/ubuntu bionic/main armhf lua5.2 armhf 5.2.4-1.1build1 [75.1 kB] Get:46 http://ftpmaster.internal/ubuntu bionic/universe armhf liblua5.1-0 armhf 5.1.5-8.1build1 [80.9 kB] Get:47 http://ftpmaster.internal/ubuntu bionic/universe armhf liblua5.1-0-dev armhf 5.1.5-8.1build1 [111 kB] Get:48 http://ftpmaster.internal/ubuntu bionic/universe armhf lua5.1 armhf 5.1.5-8.1build1 [70.5 kB] Get:49 http://ftpmaster.internal/ubuntu bionic/universe armhf libluasandbox0 armhf 1.2.1-4 [97.7 kB] Get:50 http://ftpmaster.internal/ubuntu bionic/universe armhf libluasandbox-dev armhf 1.2.1-4 [29.7 kB] Get:51 http://ftpmaster.internal/ubuntu bionic/universe armhf libluasandbox-bin armhf 1.2.1-4 [15.9 kB] Get:52 http://ftpmaster.internal/ubuntu bionic/main armhf libnumber-compare-perl all 0.03-1 [7318 B] Get:53 http://ftpmaster.internal/ubuntu bionic/main armhf libtext-glob-perl all 0.10-1 [7554 B] Get:54 http://ftpmaster.internal/ubuntu bionic/universe armhf libfile-find-rule-perl all 0.34-1 [28.3 kB] Get:55 http://ftpmaster.internal/ubuntu bionic/universe armhf dh-lua all 24 [30.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 18.0 MB in 5s (3426 kB/s) (Reading database ... 12675 files and directories currently installed.) Removing pkg-create-dbgsym (0.73) ... Selecting previously unselected package groff-base. (Reading database ... 12666 files and directories currently installed.) Preparing to unpack .../00-groff-base_1.22.3-9_armhf.deb ... Unpacking groff-base (1.22.3-9) ... Selecting previously unselected package libbsd0:armhf. Preparing to unpack .../01-libbsd0_0.8.7-1_armhf.deb ... Unpacking libbsd0:armhf (0.8.7-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../02-bsdmainutils_11.1.2ubuntu1_armhf.deb ... Unpacking bsdmainutils (11.1.2ubuntu1) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../03-libpipeline1_1.5.0-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.0-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.8.0-1_armhf.deb ... Unpacking man-db (2.8.0-1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../05-libmagic-mgc_1%3a5.32-1_armhf.deb ... Unpacking libmagic-mgc (1:5.32-1) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../06-libmagic1_1%3a5.32-1_armhf.deb ... Unpacking libmagic1:armhf (1:5.32-1) ... Selecting previously unselected package file. Preparing to unpack .../07-file_1%3a5.32-1_armhf.deb ... Unpacking file (1:5.32-1) ... Selecting previously unselected package libglib2.0-0:armhf. Preparing to unpack .../08-libglib2.0-0_2.54.1-1ubuntu1_armhf.deb ... Unpacking libglib2.0-0:armhf (2.54.1-1ubuntu1) ... Selecting previously unselected package libfreetype6:armhf. Preparing to unpack .../09-libfreetype6_2.8.1-0.1ubuntu2_armhf.deb ... Unpacking libfreetype6:armhf (2.8.1-0.1ubuntu2) ... Selecting previously unselected package libgraphite2-3:armhf. Preparing to unpack .../10-libgraphite2-3_1.3.10-8_armhf.deb ... Unpacking libgraphite2-3:armhf (1.3.10-8) ... Selecting previously unselected package libharfbuzz0b:armhf. Preparing to unpack .../11-libharfbuzz0b_1.7.2-1_armhf.deb ... Unpacking libharfbuzz0b:armhf (1.7.2-1) ... Selecting previously unselected package libicu-le-hb0:armhf. Preparing to unpack .../12-libicu-le-hb0_1.0.3+git161113-4_armhf.deb ... Unpacking libicu-le-hb0:armhf (1.0.3+git161113-4) ... Selecting previously unselected package libicu60:armhf. Preparing to unpack .../13-libicu60_60.2-3ubuntu1_armhf.deb ... Unpacking libicu60:armhf (60.2-3ubuntu1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../14-libxml2_2.9.4+dfsg1-6.1ubuntu1_armhf.deb ... Unpacking libxml2:armhf (2.9.4+dfsg1-6.1ubuntu1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../15-gettext-base_0.19.8.1-4ubuntu2_armhf.deb ... Unpacking gettext-base (0.19.8.1-4ubuntu2) ... Selecting previously unselected package libsigsegv2:armhf. Preparing to unpack .../16-libsigsegv2_2.11-1_armhf.deb ... Unpacking libsigsegv2:armhf (2.11-1) ... Selecting previously unselected package m4. Preparing to unpack .../17-m4_1.4.18-1_armhf.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../18-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../19-autotools-dev_20171216.1_all.deb ... Unpacking autotools-dev (20171216.1) ... Selecting previously unselected package automake. Preparing to unpack .../20-automake_1%3a1.15.1-3ubuntu1_all.deb ... Unpacking automake (1:1.15.1-3ubuntu1) ... Selecting previously unselected package autopoint. Preparing to unpack .../21-autopoint_0.19.8.1-4ubuntu2_all.deb ... Unpacking autopoint (0.19.8.1-4ubuntu2) ... Selecting previously unselected package dctrl-tools. Preparing to unpack .../22-dctrl-tools_2.24-2build1_armhf.deb ... Unpacking dctrl-tools (2.24-2build1) ... Selecting previously unselected package libtool. Preparing to unpack .../23-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../24-dh-autoreconf_16_all.deb ... Unpacking dh-autoreconf (16) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../25-libarchive-zip-perl_1.60-1_all.deb ... Unpacking libarchive-zip-perl (1.60-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../26-libfile-stripnondeterminism-perl_0.040-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.040-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../27-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../28-dh-strip-nondeterminism_0.040-1_all.deb ... Unpacking dh-strip-nondeterminism (0.040-1) ... Selecting previously unselected package libcroco3:armhf. Preparing to unpack .../29-libcroco3_0.6.12-2_armhf.deb ... Unpacking libcroco3:armhf (0.6.12-2) ... Selecting previously unselected package gettext. Preparing to unpack .../30-gettext_0.19.8.1-4ubuntu2_armhf.deb ... Unpacking gettext (0.19.8.1-4ubuntu2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../31-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 .../32-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../33-debhelper_11.1.4ubuntu1_all.deb ... Unpacking debhelper (11.1.4ubuntu1) ... Selecting previously unselected package libtool-bin. Preparing to unpack .../34-libtool-bin_2.4.6-2_armhf.deb ... Unpacking libtool-bin (2.4.6-2) ... Selecting previously unselected package pkg-config. Preparing to unpack .../35-pkg-config_0.29.1-0ubuntu2_armhf.deb ... Unpacking pkg-config (0.29.1-0ubuntu2) ... Selecting previously unselected package liblua5.3-0:armhf. Preparing to unpack .../36-liblua5.3-0_5.3.3-1_armhf.deb ... Unpacking liblua5.3-0:armhf (5.3.3-1) ... Selecting previously unselected package libtinfo-dev:armhf. Preparing to unpack .../37-libtinfo-dev_6.0+20171125-1ubuntu1_armhf.deb ... Unpacking libtinfo-dev:armhf (6.0+20171125-1ubuntu1) ... Selecting previously unselected package libreadline-dev:armhf. Preparing to unpack .../38-libreadline-dev_7.0-3_armhf.deb ... Unpacking libreadline-dev:armhf (7.0-3) ... Selecting previously unselected package liblua5.3-dev:armhf. Preparing to unpack .../39-liblua5.3-dev_5.3.3-1_armhf.deb ... Unpacking liblua5.3-dev:armhf (5.3.3-1) ... Selecting previously unselected package lua5.3. Preparing to unpack .../40-lua5.3_5.3.3-1_armhf.deb ... Unpacking lua5.3 (5.3.3-1) ... Selecting previously unselected package liblua5.2-0:armhf. Preparing to unpack .../41-liblua5.2-0_5.2.4-1.1build1_armhf.deb ... Unpacking liblua5.2-0:armhf (5.2.4-1.1build1) ... Selecting previously unselected package liblua5.2-dev:armhf. Preparing to unpack .../42-liblua5.2-dev_5.2.4-1.1build1_armhf.deb ... Unpacking liblua5.2-dev:armhf (5.2.4-1.1build1) ... Selecting previously unselected package lua5.2. Preparing to unpack .../43-lua5.2_5.2.4-1.1build1_armhf.deb ... Unpacking lua5.2 (5.2.4-1.1build1) ... Selecting previously unselected package liblua5.1-0:armhf. Preparing to unpack .../44-liblua5.1-0_5.1.5-8.1build1_armhf.deb ... Unpacking liblua5.1-0:armhf (5.1.5-8.1build1) ... Selecting previously unselected package liblua5.1-0-dev:armhf. Preparing to unpack .../45-liblua5.1-0-dev_5.1.5-8.1build1_armhf.deb ... Unpacking liblua5.1-0-dev:armhf (5.1.5-8.1build1) ... Selecting previously unselected package lua5.1. Preparing to unpack .../46-lua5.1_5.1.5-8.1build1_armhf.deb ... Unpacking lua5.1 (5.1.5-8.1build1) ... Selecting previously unselected package libluasandbox0:armhf. Preparing to unpack .../47-libluasandbox0_1.2.1-4_armhf.deb ... Unpacking libluasandbox0:armhf (1.2.1-4) ... Selecting previously unselected package libluasandbox-dev. Preparing to unpack .../48-libluasandbox-dev_1.2.1-4_armhf.deb ... Unpacking libluasandbox-dev (1.2.1-4) ... Selecting previously unselected package libluasandbox-bin. Preparing to unpack .../49-libluasandbox-bin_1.2.1-4_armhf.deb ... Unpacking libluasandbox-bin (1.2.1-4) ... Selecting previously unselected package libnumber-compare-perl. Preparing to unpack .../50-libnumber-compare-perl_0.03-1_all.deb ... Unpacking libnumber-compare-perl (0.03-1) ... Selecting previously unselected package libtext-glob-perl. Preparing to unpack .../51-libtext-glob-perl_0.10-1_all.deb ... Unpacking libtext-glob-perl (0.10-1) ... Selecting previously unselected package libfile-find-rule-perl. Preparing to unpack .../52-libfile-find-rule-perl_0.34-1_all.deb ... Unpacking libfile-find-rule-perl (0.34-1) ... Selecting previously unselected package dh-lua. Preparing to unpack .../53-dh-lua_24_all.deb ... Unpacking dh-lua (24) ... Selecting previously unselected package sbuild-build-depends-lua-cjson-dummy. Preparing to unpack .../54-sbuild-build-depends-lua-cjson-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-lua-cjson-dummy (0.invalid.0) ... Setting up libluasandbox0:armhf (1.2.1-4) ... Setting up libarchive-zip-perl (1.60-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:armhf (2.11-1) ... Setting up libluasandbox-bin (1.2.1-4) ... Setting up groff-base (1.22.3-9) ... Setting up libluasandbox-dev (1.2.1-4) ... Setting up libglib2.0-0:armhf (2.54.1-1ubuntu1) ... No schema files found: doing nothing. Setting up libtinfo-dev:armhf (6.0+20171125-1ubuntu1) ... Setting up dctrl-tools (2.24-2build1) ... Setting up gettext-base (0.19.8.1-4ubuntu2) ... Setting up libpipeline1:armhf (1.5.0-1) ... Setting up m4 (1.4.18-1) ... Setting up libbsd0:armhf (0.8.7-1) ... Setting up libfreetype6:armhf (2.8.1-0.1ubuntu2) ... Setting up libmagic-mgc (1:5.32-1) ... Setting up libmagic1:armhf (1:5.32-1) ... Setting up libgraphite2-3:armhf (1.3.10-8) ... Setting up libtext-glob-perl (0.10-1) ... Setting up lua5.1 (5.1.5-8.1build1) ... update-alternatives: using /usr/bin/lua5.1 to provide /usr/bin/lua (lua-interpreter) in auto mode update-alternatives: using /usr/bin/luac5.1 to provide /usr/bin/luac (lua-compiler) in auto mode Setting up pkg-config (0.29.1-0ubuntu2) ... Processing triggers for libc-bin (2.26-0ubuntu4) ... Setting up autotools-dev (20171216.1) ... Setting up lua5.2 (5.2.4-1.1build1) ... update-alternatives: using /usr/bin/lua5.2 to provide /usr/bin/lua (lua-interpreter) in auto mode update-alternatives: using /usr/bin/luac5.2 to provide /usr/bin/luac (lua-compiler) in auto mode Setting up libreadline-dev:armhf (7.0-3) ... Setting up libnumber-compare-perl (0.03-1) ... Setting up liblua5.1-0:armhf (5.1.5-8.1build1) ... Setting up liblua5.2-0:armhf (5.2.4-1.1build1) ... Setting up bsdmainutils (11.1.2ubuntu1) ... 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 liblua5.3-0:armhf (5.3.3-1) ... Setting up liblua5.3-dev:armhf (5.3.3-1) ... Setting up autopoint (0.19.8.1-4ubuntu2) ... Setting up lua5.3 (5.3.3-1) ... Setting up libfile-stripnondeterminism-perl (0.040-1) ... Setting up libfile-find-rule-perl (0.34-1) ... Setting up liblua5.1-0-dev:armhf (5.1.5-8.1build1) ... Setting up libharfbuzz0b:armhf (1.7.2-1) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.32-1) ... Setting up liblua5.2-dev:armhf (5.2.4-1.1build1) ... Setting up automake (1:1.15.1-3ubuntu1) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.8.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libtool (2.4.6-2) ... Setting up libtool-bin (2.4.6-2) ... Setting up libicu-le-hb0:armhf (1.0.3+git161113-4) ... Setting up dh-strip-nondeterminism (0.040-1) ... Setting up libicu60:armhf (60.2-3ubuntu1) ... Setting up libxml2:armhf (2.9.4+dfsg1-6.1ubuntu1) ... Setting up libcroco3:armhf (0.6.12-2) ... Setting up gettext (0.19.8.1-4ubuntu2) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up po-debconf (1.0.20) ... Setting up debhelper (11.1.4ubuntu1) ... Setting up dh-autoreconf (16) ... Setting up dh-lua (24) ... Setting up sbuild-build-depends-lua-cjson-dummy (0.invalid.0) ... (Reading database ... 14865 files and directories currently installed.) Purging configuration files for pkg-create-dbgsym (0.73) ... Processing triggers for libc-bin (2.26-0ubuntu4) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-109-generic arm64 (armv8l) Toolchain package versions: binutils_2.30-1ubuntu1 dpkg-dev_1.19.0.5ubuntu1 g++-7_7.3.0-1ubuntu1 gcc-7_7.3.0-1ubuntu1 libc6-dev_2.26-0ubuntu4 libstdc++-7-dev_7.3.0-1ubuntu1 libstdc++6_7.3.0-1ubuntu1 linux-libc-dev_4.13.0-32.35 Package versions: adduser_3.116ubuntu1 advancecomp_2.0-1 apt_1.6~alpha7ubuntu1 apt-transport-https_1.6~alpha7ubuntu1 autoconf_2.69-11 automake_1:1.15.1-3ubuntu1 autopoint_0.19.8.1-4ubuntu2 autotools-dev_20171216.1 base-files_10ubuntu1 base-passwd_3.5.44 bash_4.4-5ubuntu1 binutils_2.30-1ubuntu1 binutils-arm-linux-gnueabihf_2.30-1ubuntu1 binutils-common_2.30-1ubuntu1 bsdmainutils_11.1.2ubuntu1 bsdutils_1:2.30.2-0.1ubuntu1 build-essential_12.4ubuntu1 bzip2_1.0.6-8.1 ca-certificates_20170717 coreutils_8.28-1ubuntu1 cpp_4:7.2.0-1ubuntu1 cpp-7_7.3.0-1ubuntu1 dash_0.5.8-2.9ubuntu1 dctrl-tools_2.24-2build1 debconf_1.5.65 debhelper_11.1.4ubuntu1 debianutils_4.8.4 dh-autoreconf_16 dh-lua_24 dh-strip-nondeterminism_0.040-1 diffutils_1:3.6-1 dirmngr_2.2.4-1ubuntu1 dmsetup_2:1.02.145-4.1ubuntu2 dpkg_1.19.0.5ubuntu1 dpkg-dev_1.19.0.5ubuntu1 e2fslibs_1.43.8-2 e2fsprogs_1.43.8-2 fakeroot_1.22-2ubuntu1 fdisk_2.30.2-0.1ubuntu1 file_1:5.32-1 findutils_4.6.0+git+20170828-2 g++_4:7.2.0-1ubuntu1 g++-7_7.3.0-1ubuntu1 gcc_4:7.2.0-1ubuntu1 gcc-7_7.3.0-1ubuntu1 gcc-7-base_7.3.0-1ubuntu1 gettext_0.19.8.1-4ubuntu2 gettext-base_0.19.8.1-4ubuntu2 gnupg_2.2.4-1ubuntu1 gnupg-agent_2.2.4-1ubuntu1 gnupg-l10n_2.2.4-1ubuntu1 gnupg-utils_2.2.4-1ubuntu1 gpg_2.2.4-1ubuntu1 gpg-agent_2.2.4-1ubuntu1 gpg-wks-client_2.2.4-1ubuntu1 gpg-wks-server_2.2.4-1ubuntu1 gpgconf_2.2.4-1ubuntu1 gpgsm_2.2.4-1ubuntu1 gpgv_2.2.4-1ubuntu1 grep_3.1-2 groff-base_1.22.3-9 gzip_1.6-5ubuntu1 hostname_3.20 init_1.51 init-system-helpers_1.51 initscripts_2.88dsf-59.3ubuntu2 insserv_1.14.0-5ubuntu3 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3build1 libapparmor1_2.11.0-2ubuntu19 libapt-pkg5.0_1.6~alpha7ubuntu1 libarchive-zip-perl_1.60-1 libargon2-0_0~20161029-1.1 libasan4_7.3.0-1ubuntu1 libasn1-8-heimdal_7.5.0+dfsg-1 libassuan0_2.5.1-1 libatomic1_7.3.0-1ubuntu1 libattr1_1:2.4.47-2build1 libaudit-common_1:2.7.7-1ubuntu2 libaudit1_1:2.7.7-1ubuntu2 libbinutils_2.30-1ubuntu1 libblkid1_2.30.2-0.1ubuntu1 libbsd0_0.8.7-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.26-0ubuntu4 libc-dev-bin_2.26-0ubuntu4 libc6_2.26-0ubuntu4 libc6-dev_2.26-0ubuntu4 libcap-ng0_0.7.7-3.1 libcap2_1:2.25-1.2 libcc1-0_7.3.0-1ubuntu1 libcilkrts5_7.3.0-1ubuntu1 libcomerr2_1.43.8-2 libcroco3_0.6.12-2 libcryptsetup12_2:2.0.1-0ubuntu1 libcryptsetup4_2:1.7.3-4ubuntu1 libcurl3-gnutls_7.58.0-2ubuntu1 libdb5.3_5.3.28-13.1 libdebconfclient0_0.213ubuntu1 libdevmapper1.02.1_2:1.02.145-4.1ubuntu2 libdpkg-perl_1.19.0.5ubuntu1 libfakeroot_1.22-2ubuntu1 libfdisk1_2.30.2-0.1ubuntu1 libffi6_3.2.1-8 libfile-find-rule-perl_0.34-1 libfile-stripnondeterminism-perl_0.040-1 libfreetype6_2.8.1-0.1ubuntu2 libgcc-7-dev_7.3.0-1ubuntu1 libgcc1_1:7.3.0-1ubuntu1 libgcrypt20_1.8.1-4 libgdbm3_1.8.3-14 libgdbm5_1.14.1-2ubuntu1 libglib2.0-0_2.54.1-1ubuntu1 libgmp10_2:6.1.2+dfsg-2 libgnutls30_3.5.17-1ubuntu1 libgomp1_7.3.0-1ubuntu1 libgpg-error0_1.27-5 libgraphite2-3_1.3.10-8 libgssapi-krb5-2_1.16-2 libgssapi3-heimdal_7.5.0+dfsg-1 libharfbuzz0b_1.7.2-1 libhcrypto4-heimdal_7.5.0+dfsg-1 libheimbase1-heimdal_7.5.0+dfsg-1 libheimntlm0-heimdal_7.5.0+dfsg-1 libhogweed4_3.4-1 libhx509-5-heimdal_7.5.0+dfsg-1 libicu-le-hb0_1.0.3+git161113-4 libicu60_60.2-3ubuntu1 libidn11_1.33-2.1 libidn2-0_2.0.4-1 libip4tc0_1.6.1-2ubuntu2 libisl15_0.18-1 libjson-c3_0.12.1-1.3 libk5crypto3_1.16-2 libkeyutils1_1.5.9-9.2ubuntu1 libkmod2_24-1ubuntu3 libkrb5-26-heimdal_7.5.0+dfsg-1 libkrb5-3_1.16-2 libkrb5support0_1.16-2 libksba8_1.3.5-2 libldap-2.4-2_2.4.45+dfsg-1ubuntu1 libldap-common_2.4.45+dfsg-1ubuntu1 liblockfile-bin_1.14-1.1 liblockfile1_1.14-1.1 liblua5.1-0_5.1.5-8.1build1 liblua5.1-0-dev_5.1.5-8.1build1 liblua5.2-0_5.2.4-1.1build1 liblua5.2-dev_5.2.4-1.1build1 liblua5.3-0_5.3.3-1 liblua5.3-dev_5.3.3-1 libluasandbox-bin_1.2.1-4 libluasandbox-dev_1.2.1-4 libluasandbox0_1.2.1-4 liblz4-1_0.0~r131-2ubuntu2 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.32-1 libmagic1_1:5.32-1 libmount1_2.30.2-0.1ubuntu1 libmpc3_1.1.0-1 libmpfr4_3.1.6-1 libmpfr6_4.0.0-7 libncurses5_6.0+20171125-1ubuntu1 libncursesw5_6.0+20171125-1ubuntu1 libnettle6_3.4-1 libnghttp2-14_1.29.0-1 libnpth0_1.5-3 libnumber-compare-perl_0.03-1 libp11-kit0_0.23.9-2 libpam-modules_1.1.8-3.2ubuntu3 libpam-modules-bin_1.1.8-3.2ubuntu3 libpam-runtime_1.1.8-3.2ubuntu3 libpam0g_1.1.8-3.2ubuntu3 libpcre3_2:8.39-9 libperl5.26_5.26.1-4build1 libpipeline1_1.5.0-1 libpng16-16_1.6.34-1 libprocps6_2:3.3.12-3ubuntu1 libpsl5_0.19.1-4 libreadline-dev_7.0-3 libreadline7_7.0-3 libroken18-heimdal_7.5.0+dfsg-1 librtmp1_2.4+20151223.gitfa8646d.1-1 libsasl2-2_2.1.27~101-g0780600+dfsg-3ubuntu1 libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3ubuntu1 libseccomp2_2.3.1-2.1ubuntu3 libselinux1_2.7-2build1 libsemanage-common_2.7-2build1 libsemanage1_2.7-2build1 libsepol1_2.7-1 libsigsegv2_2.11-1 libslang2_2.3.1a-1ubuntu1 libsmartcols1_2.30.2-0.1ubuntu1 libsqlite3-0_3.22.0-1 libss2_1.43.8-2 libssl1.0.0_1.0.2n-1ubuntu1 libstdc++-7-dev_7.3.0-1ubuntu1 libstdc++6_7.3.0-1ubuntu1 libsystemd0_237-1ubuntu2 libtasn1-6_4.13-2 libtext-glob-perl_0.10-1 libtimedate-perl_2.3000-2 libtinfo-dev_6.0+20171125-1ubuntu1 libtinfo5_6.0+20171125-1ubuntu1 libtool_2.4.6-2 libtool-bin_2.4.6-2 libubsan0_7.3.0-1ubuntu1 libudev1_237-1ubuntu2 libunistring0_0.9.3-5.2ubuntu1 libusb-0.1-4_2:0.1.12-31 libustr-1.0-1_1.0.4-6 libuuid1_2.30.2-0.1ubuntu1 libwind0-heimdal_7.5.0+dfsg-1 libxml2_2.9.4+dfsg1-6.1ubuntu1 linux-libc-dev_4.13.0-32.35 lockfile-progs_0.1.17build1 login_1:4.5-1ubuntu1 lsb-base_9.20170808ubuntu1 lua5.1_5.1.5-8.1build1 lua5.2_5.2.4-1.1build1 lua5.3_5.3.3-1 m4_1.4.18-1 make_4.1-9.1 man-db_2.8.0-1 mawk_1.3.3-17ubuntu2 mount_2.30.2-0.1ubuntu1 multiarch-support_2.26-0ubuntu4 ncurses-base_6.0+20171125-1ubuntu1 ncurses-bin_6.0+20171125-1ubuntu1 openssl_1.0.2n-1ubuntu1 optipng_0.7.6-1.1 passwd_1:4.5-1ubuntu1 patch_2.7.5-1build1 perl_5.26.1-4build1 perl-base_5.26.1-4build1 perl-modules-5.26_5.26.1-4build1 pinentry-curses_1.0.0-3 pkg-config_0.29.1-0ubuntu2 pkgbinarymangler_131 po-debconf_1.0.20 policyrcd-script-zg2_0.1-3 procps_2:3.3.12-3ubuntu1 readline-common_7.0-3 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-lua-cjson-dummy_0.invalid.0 sed_4.4-2 sensible-utils_0.0.11 systemd_237-1ubuntu2 systemd-sysv_237-1ubuntu2 sysv-rc_2.88dsf-59.3ubuntu2 sysvinit-utils_2.88dsf-59.10ubuntu1 tar_1.29b-2 tzdata_2018c-1 ubuntu-keyring_2016.10.27 util-linux_2.30.2-0.1ubuntu1 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-0ubuntu2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Sat Jan 20 20:16:03 2018 UTC gpgv: using RSA key 52BC8695BE34F90AD7D40CB81388C0F899E8336B gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./lua-cjson_2.1.0+dfsg-2.1.dsc dpkg-source: info: extracting lua-cjson in lua-cjson-2.1.0+dfsg dpkg-source: info: unpacking lua-cjson_2.1.0+dfsg.orig.tar.gz dpkg-source: info: unpacking lua-cjson_2.1.0+dfsg-2.1.debian.tar.xz dpkg-source: info: applying disable-utf16-test dpkg-source: info: applying lua5.2-function-names Check disc space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-14309714 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-14309714 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-14309714 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package lua-cjson dpkg-buildpackage: info: source version 2.1.0+dfsg-2.1 dpkg-buildpackage: info: source distribution unstable dpkg-source --before-build lua-cjson-2.1.0+dfsg dpkg-buildpackage: info: host architecture armhf fakeroot debian/rules clean dh clean --buildsystem=lua --with lua dh: Compatibility levels before 9 are deprecated (level 7 in use) dh_auto_clean -O--buildsystem=lua dh_auto_clean: Compatibility levels before 9 are deprecated (level 7 in use) make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple clean Making target clean for debian/lua5.1.dh-lua.conf # fix for leftovers of dh-lua < 14 Target clean made Making target clean for debian/lua5.2.dh-lua.conf # fix for leftovers of dh-lua < 14 Target clean made debian/rules override_dh_clean make[1]: Entering directory '/<>/lua-cjson-2.1.0+dfsg' dh_clean dh_clean: Compatibility levels before 9 are deprecated (level 7 in use) rm -f debian/trash make[1]: Leaving directory '/<>/lua-cjson-2.1.0+dfsg' debian/rules build-arch dh build-arch --buildsystem=lua --with lua dh: Compatibility levels before 9 are deprecated (level 7 in use) dh_update_autotools_config -a -O--buildsystem=lua dh_auto_configure -a -O--buildsystem=lua dh_auto_configure: Compatibility levels before 9 are deprecated (level 7 in use) make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple configure Making target configure for debian/lua5.1.dh-lua.conf # .install Filling in debian/lua-cjson.install using /usr/share/dh-lua/template/lib.install.in Adding new line: usr/lib/arm-linux-gnueabihf/lua/5.1/cjson.so Adding new line: usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.so.* Adding new line: usr/share/lua/5.1/cjson/util.lua Filling in debian/lua-cjson-dev.install using /usr/share/dh-lua/template/dev.install.in Adding new line: usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.so Adding new line: usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.a Adding new line: usr/lib/arm-linux-gnueabihf/pkgconfig/lua5.1-cjson.pc Adding new line: usr/include/lua5.1/lua-cjson.h # lua_versions Filling in debian/lua_versions Adding new line: 5.1 Target configure made Making target configure for debian/lua5.2.dh-lua.conf # .install Filling in debian/lua-cjson.install using /usr/share/dh-lua/template/lib.install.in Adding new line: usr/lib/arm-linux-gnueabihf/lua/5.2/cjson.so Adding new line: usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.so.* Adding new line: usr/share/lua/5.2/cjson/util.lua Filling in debian/lua-cjson-dev.install using /usr/share/dh-lua/template/dev.install.in Adding new line: usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.so Adding new line: usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.a Adding new line: usr/lib/arm-linux-gnueabihf/pkgconfig/lua5.2-cjson.pc Adding new line: usr/include/lua5.2/lua-cjson.h # lua_versions Filling in debian/lua_versions Adding new line: 5.2 Target configure made dh_auto_build -a -O--buildsystem=lua dh_auto_build: Compatibility levels before 9 are deprecated (level 7 in use) make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple build Making target build for debian/lua5.1.dh-lua.conf libtool --silent --tag=CC --mode=compile cc -c -g -O2 -fdebug-prefix-map=/<>/lua-cjson-2.1.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -Wall -Wextra -o /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/lua_cjson.lo lua_cjson.c lua_cjson.c: In function ‘json_append_string’: lua_cjson.c:477:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) { ^ In file included from lua_cjson.c:47:0: lua_cjson.c: At top level: fpconv.h:15:20: warning: inline function ‘fpconv_init’ declared but never defined extern inline void fpconv_init(); ^~~~~~~~~~~ lua_cjson.c: In function ‘json_append_data’: lua_cjson.c:689:12: warning: this statement may fall through [-Wimplicit-fallthrough=] if (lua_touserdata(l, -1) == NULL) { ^ lua_cjson.c:693:5: note: here default: ^~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -fdebug-prefix-map=/<>/lua-cjson-2.1.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -Wall -Wextra -o /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/fpconv.lo fpconv.c libtool --silent --tag=CC --mode=compile cc -c -g -O2 -fdebug-prefix-map=/<>/lua-cjson-2.1.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -Wall -Wextra -o /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/strbuf.lo strbuf.c libtool --silent --tag=CC --mode=link cc \ -rpath /usr//lib/arm-linux-gnueabihf -version-info 0:0:0 -Wl,--no-add-needed \ -o /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/liblua5.1-cjson.la \ /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/lua_cjson.lo /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/fpconv.lo /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/strbuf.lo \ -Wl,-Bsymbolic-functions -Wl,-z,relro ar: `u' modifier ignored since `D' is the default (see `U') ldd /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/cjson.so libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xf7607000) /lib/ld-linux-armhf.so.3 (0xf7710000) Target build made Making target build for debian/lua5.2.dh-lua.conf libtool --silent --tag=CC --mode=compile cc -c -g -O2 -fdebug-prefix-map=/<>/lua-cjson-2.1.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -Wall -Wextra -o /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/lua_cjson.lo lua_cjson.c lua_cjson.c: In function ‘json_append_string’: lua_cjson.c:477:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < len; i++) { ^ In file included from lua_cjson.c:47:0: lua_cjson.c: At top level: fpconv.h:15:20: warning: inline function ‘fpconv_init’ declared but never defined extern inline void fpconv_init(); ^~~~~~~~~~~ lua_cjson.c: In function ‘json_append_data’: lua_cjson.c:689:12: warning: this statement may fall through [-Wimplicit-fallthrough=] if (lua_touserdata(l, -1) == NULL) { ^ lua_cjson.c:693:5: note: here default: ^~~~~~~ libtool --silent --tag=CC --mode=compile cc -c -g -O2 -fdebug-prefix-map=/<>/lua-cjson-2.1.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -Wall -Wextra -o /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/fpconv.lo fpconv.c libtool --silent --tag=CC --mode=compile cc -c -g -O2 -fdebug-prefix-map=/<>/lua-cjson-2.1.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -Wall -Wextra -o /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/strbuf.lo strbuf.c libtool --silent --tag=CC --mode=link cc \ -rpath /usr//lib/arm-linux-gnueabihf -version-info 0:0:0 -Wl,--no-add-needed \ -o /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/liblua5.2-cjson.la \ /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/lua_cjson.lo /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/fpconv.lo /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/strbuf.lo \ -Wl,-Bsymbolic-functions -Wl,-z,relro ar: `u' modifier ignored since `D' is the default (see `U') ldd /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/cjson.so libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xf7546000) /lib/ld-linux-armhf.so.3 (0xf764f000) Target build made dh_auto_test -a -O--buildsystem=lua dh_auto_test: Compatibility levels before 9 are deprecated (level 7 in use) make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple test Making target test for debian/lua5.1.dh-lua.conf # tests Copying lua/cjson/util.lua in /<>/lua-cjson-2.1.0+dfsg/5.1-cjson for test ********************** lua dynamic (5.1) ********* Test: cd tests/ && @@LUA@@ test.lua ==> Testing Lua CJSON version 2.1.0 ==> Test [1] Check module name, version: PASS [Input] { } [Received:success] { "cjson", "2.1.0" } ==> Test [2] Decode string: PASS [Input] { "\"test string\"" } [Received:success] { "test string" } ==> Test [3] Decode numbers: PASS [Input] { "[ 0.0, -5e3, -1, 0.3e-3, 1023.2, 0e10 ]" } [Received:success] { { 0, -5000, -1, 0.0003, 1023.2, 0 } } ==> Test [4] Decode null: PASS [Input] { "null" } [Received:success] { json.null } ==> Test [5] Decode true: PASS [Input] { "true" } [Received:success] { true } ==> Test [6] Decode false: PASS [Input] { "false" } [Received:success] { false } ==> Test [7] Decode object with numeric keys: PASS [Input] { "{ \"1\": \"one\", \"3\": \"three\" }" } [Received:success] { { ["1"] = "one", ["3"] = "three" } } ==> Test [8] Decode object with string keys: PASS [Input] { "{ \"a\": \"a\", \"b\": \"b\" }" } [Received:success] { { ["a"] = "a", ["b"] = "b" } } ==> Test [9] Decode array: PASS [Input] { "[ \"one\", null, \"three\" ]" } [Received:success] { { "one", json.null, "three" } } ==> Test [10] Decode UTF-16BE [throw error]: PASS [Input] { "\000\"\000\"" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [11] Decode UTF-16LE [throw error]: PASS [Input] { "\"\000\"\000" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [12] Decode UTF-32BE [throw error]: PASS [Input] { "\000\000\000\"" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [13] Decode UTF-32LE [throw error]: PASS [Input] { "\"\000\000\000" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [14] Decode partial JSON [throw error]: PASS [Input] { "{ \"unexpected eof\": " } [Received:error] { "Expected value but found T_END at character 21" } ==> Test [15] Decode with extra comma [throw error]: PASS [Input] { "{ \"extra data\": true }, false" } [Received:error] { "Expected the end but found T_COMMA at character 23" } ==> Test [16] Decode invalid escape code [throw error]: PASS [Input] { " { \"bad escape \\q code\" } " } [Received:error] { "Expected object key string but found invalid escape code at character 16" } ==> Test [17] Decode invalid unicode escape [throw error]: PASS [Input] { " { \"bad unicode \\u0f6 escape\" } " } [Received:error] { "Expected object key string but found invalid unicode escape code at character 17" } ==> Test [18] Decode invalid keyword [throw error]: PASS [Input] { " [ \"bad barewood\", test ] " } [Received:error] { "Expected value but found invalid token at character 20" } ==> Test [19] Decode invalid number #1 [throw error]: PASS [Input] { "[ -+12 ]" } [Received:error] { "Expected value but found invalid number at character 3" } ==> Test [20] Decode invalid number #2 [throw error]: PASS [Input] { "-v" } [Received:error] { "Expected value but found invalid number at character 1" } ==> Test [21] Decode invalid number exponent [throw error]: PASS [Input] { "[ 0.4eg10 ]" } [Received:error] { "Expected comma or array end but found invalid token at character 6" } ==> Test [22] Set decode_max_depth(5): PASS [Input] { 5 } [Received:success] { 5 } ==> Test [23] Decode array at nested limit: PASS [Input] { "[[[[[ \"nested\" ]]]]]" } [Received:success] { { { { { { "nested" } } } } } } ==> Test [24] Decode array over nested limit [throw error]: PASS [Input] { "[[[[[[ \"nested\" ]]]]]]" } [Received:error] { "Found too many nested data structures (6) at character 6" } ==> Test [25] Decode object at nested limit: PASS [Input] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":\"nested\"}}}}}" } [Received:success] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = "nested" } } } } } } ==> Test [26] Decode object over nested limit [throw error]: PASS [Input] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":{\"f\":\"nested\"}}}}}}" } [Received:error] { "Found too many nested data structures (6) at character 26" } ==> Test [27] Set decode_max_depth(1000): PASS [Input] { 1000 } [Received:success] { 1000 } ==> Test [28] Decode deeply nested array [throw error]: PASS [Input] { "[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[1100]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]" } [Received:error] { "Found too many nested data structures (1001) at character 1001" } ==> Test [29] Set encode_max_depth(5): PASS [Input] { 5 } [Received:success] { 5 } ==> Test [30] Encode nested table as array at nested limit: PASS [Input] { { { { { { "nested" } } } } } } [Received:success] { "[[[[[\"nested\"]]]]]" } ==> Test [31] Encode nested table as array after nested limit [throw error]: PASS [Input] { { { { { { { "nested" } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [32] Encode nested table as object at nested limit: PASS [Input] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = "nested" } } } } } } [Received:success] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":\"nested\"}}}}}" } ==> Test [33] Encode nested table as object over nested limit [throw error]: PASS [Input] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = { ["f"] = "nested" } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [34] Encode table with cycle [throw error]: PASS [Input] { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { Cannot serialise any further: too many nested tables } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [35] Set encode_max_depth(1000): PASS [Input] { 1000 } [Received:success] { 1000 } ==> Test [36] Encode deeply nested data [throw error]: PASS [Input] { { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = Cannot serialise any further: too many nested tables, [2] = "string", ["a"] = Cannot serialise any further: too many nested tables } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (1001)" } ==> Test [37] Encode null: PASS [Input] { json.null } [Received:success] { "null" } ==> Test [38] Encode true: PASS [Input] { true } [Received:success] { "true" } ==> Test [39] Encode false: PASS [Input] { false } [Received:success] { "false" } ==> Test [40] Encode empty object: PASS [Input] { { } } [Received:success] { "{}" } ==> Test [41] Encode integer: PASS [Input] { 10 } [Received:success] { "10" } ==> Test [42] Encode string: PASS [Input] { "hello" } [Received:success] { "\"hello\"" } ==> Test [43] Encode Lua function [throw error]: PASS [Input] { "" } [Received:error] { "Cannot serialise function: type not supported" } ==> Test [44] Set decode_invalid_numbers(true): PASS [Input] { true } [Received:success] { true } ==> Test [45] Decode hexadecimal: PASS [Input] { "0x6.ffp1" } [Received:success] { 13.9921875 } ==> Test [46] Decode numbers with leading zero: PASS [Input] { "[ 0123, 00.33 ]" } [Received:success] { { 123, 0.33 } } ==> Test [47] Decode +-Inf: PASS [Input] { "[ +Inf, Inf, -Inf ]" } [Received:success] { { inf, inf, -inf } } ==> Test [48] Decode +-Infinity: PASS [Input] { "[ +Infinity, Infinity, -Infinity ]" } [Received:success] { { inf, inf, -inf } } ==> Test [49] Decode +-NaN: PASS [Input] { "[ +NaN, NaN, -NaN ]" } [Received:success] { { nan, nan, nan } } ==> Test [50] Decode Infrared (not infinity) [throw error]: PASS [Input] { "Infrared" } [Received:error] { "Expected the end but found invalid token at character 4" } ==> Test [51] Decode Noodle (not NaN) [throw error]: PASS [Input] { "Noodle" } [Received:error] { "Expected value but found invalid token at character 1" } ==> Test [52] Set decode_invalid_numbers(false): PASS [Input] { false } [Received:success] { false } ==> Test [53] Decode hexadecimal [throw error]: PASS [Input] { "0x6" } [Received:error] { "Expected value but found invalid number at character 1" } ==> Test [54] Decode numbers with leading zero [throw error]: PASS [Input] { "[ 0123, 00.33 ]" } [Received:error] { "Expected value but found invalid number at character 3" } ==> Test [55] Decode +-Inf [throw error]: PASS [Input] { "[ +Inf, Inf, -Inf ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [56] Decode +-Infinity [throw error]: PASS [Input] { "[ +Infinity, Infinity, -Infinity ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [57] Decode +-NaN [throw error]: PASS [Input] { "[ +NaN, NaN, -NaN ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [58] Set decode_invalid_numbers("on"): PASS [Input] { "on" } [Received:success] { true } ==> Test [59] Set encode_invalid_numbers(false): PASS [Input] { false } [Received:success] { false } ==> Test [60] Encode NaN [throw error]: PASS [Input] { nan } [Received:error] { "Cannot serialise number: must not be NaN or Inf" } ==> Test [61] Encode Infinity [throw error]: PASS [Input] { inf } [Received:error] { "Cannot serialise number: must not be NaN or Inf" } ==> Test [62] Set encode_invalid_numbers("null"): PASS [Input] { "null" } [Received:success] { "null" } ==> Test [63] Encode NaN as null: PASS [Input] { nan } [Received:success] { "null" } ==> Test [64] Encode Infinity as null: PASS [Input] { inf } [Received:success] { "null" } ==> Test [65] Set encode_invalid_numbers(true): PASS [Input] { true } [Received:success] { true } ==> Test [66] Encode NaN: PASS [Input] { nan } [Received:success] { "nan" } ==> Test [67] Encode Infinity: PASS [Input] { inf } [Received:success] { "inf" } ==> Test [68] Set encode_invalid_numbers("off"): PASS [Input] { "off" } [Received:success] { false } ==> Test [69] Set encode_sparse_array(true, 2, 3): PASS [Input] { true, 2, 3 } [Received:success] { true, 2, 3 } ==> Test [70] Encode sparse table as array #1: PASS [Input] { { [3] = "sparse test" } } [Received:success] { "[null,null,\"sparse test\"]" } ==> Test [71] Encode sparse table as array #2: PASS [Input] { { "one", nil, nil, "sparse test" } } [Received:success] { "[\"one\",null,null,\"sparse test\"]" } ==> Test [72] Encode sparse array as object: PASS [Input] { { [1] = "one", [5] = "sparse test" } } [Received:success] { "{\"1\":\"one\",\"5\":\"sparse test\"}" } ==> Test [73] Encode table with numeric string key as object: PASS [Input] { { ["2"] = "numeric string key test" } } [Received:success] { "{\"2\":\"numeric string key test\"}" } ==> Test [74] Set encode_sparse_array(false): PASS [Input] { false } [Received:success] { false, 2, 3 } ==> Test [75] Encode table with incompatible key [throw error]: PASS [Input] { { [false] = "wrong" } } [Received:error] { "Cannot serialise boolean: table key must be a number or string" } ==> Test [76] Encode all octets (8-bit clean): PASS [Input] { "\000 \ \r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" } [Received:success] { "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#$%&'()*+,-.\\/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\u007f\"" } ==> Test [77] Decode all escaped octets: PASS [Input] { "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#$%&'()*+,-.\\/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\u007f\"" } [Received:success] { "\000 \ \r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" } ==> Test [78] Decode single UTF-16 escape: PASS [Input] { "\"\\uF800\"" } [Received:success] { "" } ==> Test [79] Decode swapped surrogate pair [throw error]: PASS [Input] { "\"\\uDC00\\uD800\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [80] Decode duplicate high surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [81] Decode duplicate low surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [82] Decode missing low surrogate [throw error]: PASS [Input] { "\"\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [83] Decode invalid low surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uD\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Set locale to cs_CZ (comma separator) ==> Test [84] Encode number under comma locale: PASS [Input] { 1.5 } [Received:success] { "1.5" } ==> Test [85] Decode number in array under comma locale: PASS [Input] { "[ 10, \"test\" ]" } [Received:success] { { 10, "test" } } ==> Revert locale to POSIX ==> Test [86] Set encode_keep_buffer(false): PASS [Input] { false } [Received:success] { false } ==> Test [87] Set encode_number_precision(3): PASS [Input] { 3 } [Received:success] { 3 } ==> Test [88] Encode number with precision 3: PASS [Input] { 0.33333333333333 } [Received:success] { "0.333" } ==> Test [89] Set encode_number_precision(14): PASS [Input] { 14 } [Received:success] { 14 } ==> Test [90] Set encode_keep_buffer(true): PASS [Input] { true } [Received:success] { true } ==> Test [91] Set encode_number_precision(0) [throw error]: PASS [Input] { 0 } [Received:error] { "bad argument #1 to '?' (expected integer between 1 and 14)" } ==> Test [92] Set encode_number_precision("five") [throw error]: PASS [Input] { "five" } [Received:error] { "bad argument #1 to '?' (number expected, got string)" } ==> Test [93] Set encode_keep_buffer(nil, true) [throw error]: PASS [Input] { nil, true } [Received:error] { "bad argument #2 to '?' (found too many arguments)" } ==> Test [94] Set encode_max_depth("wrong") [throw error]: PASS [Input] { "wrong" } [Received:error] { "bad argument #1 to '?' (number expected, got string)" } ==> Test [95] Set decode_max_depth(0) [throw error]: PASS [Input] { "0" } [Received:error] { "bad argument #1 to '?' (expected integer between 1 and 2147483647)" } ==> Test [96] Set encode_invalid_numbers(-2) [throw error]: PASS [Input] { -2 } [Received:error] { "bad argument #1 to '?' (invalid option '-2')" } ==> Test [97] Set decode_invalid_numbers(true, false) [throw error]: PASS [Input] { true, false } [Received:error] { "bad argument #2 to '?' (found too many arguments)" } ==> Test [98] Set encode_sparse_array("not quite on") [throw error]: PASS [Input] { "not quite on" } [Received:error] { "bad argument #1 to '?' (invalid option 'not quite on')" } ==> Reset Lua CJSON configuration ==> Test [99] Check encode_sparse_array(): PASS [Input] { } [Received:success] { false, 2, 10 } ==> Test [100] Encode (safe) simple value: PASS [Input] { true } [Received:success] { "true" } ==> Test [101] Encode (safe) argument validation [throw error]: PASS [Input] { "arg1", "arg2" } [Received:error] { "bad argument #1 to '?' (expected 1 argument)" } ==> Test [102] Decode (safe) error generation: PASS [Input] { "Oops" } [Received:success] { nil, "Expected value but found invalid token at character 1" } ==> Test [103] Decode (safe) error generation after new(): PASS [Input] { "Oops" } [Received:success] { nil, "Expected value but found invalid token at character 1" } ==> Summary: all tests succeeded ************************************************** libtool --silent --tag=CC --mode=link cc -g -O2 -fdebug-prefix-map=/<>/lua-cjson-2.1.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -Wall -Wextra -Wl,--no-add-needed \ -o /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/app-dynamic -I . -I /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/ \ /usr/share/dh-lua/test/5.1/app.c /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/liblua5.1-cjson.la \ -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr//lib/arm-linux-gnueabihf -llua5.1 libtool --silent --tag=CC --mode=execute -dlopen /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/liblua5.1-cjson.la \ ldd /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/app-dynamic liblua5.1-cjson.so.0 => /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/.libs/liblua5.1-cjson.so.0 (0xf72d4000) liblua5.1.so.0 => /usr//lib/arm-linux-gnueabihf/liblua5.1.so.0 (0xf72ab000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xf71b7000) /lib/ld-linux-armhf.so.3 (0xf72fb000) libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xf713a000) libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xf7127000) ********************** app dynamic (5.1) ********* Test: cd tests/ && @@LUA@@ test.lua ==> Testing Lua CJSON version 2.1.0 ==> Test [1] Check module name, version: PASS [Input] { } [Received:success] { "cjson", "2.1.0" } ==> Test [2] Decode string: PASS [Input] { "\"test string\"" } [Received:success] { "test string" } ==> Test [3] Decode numbers: PASS [Input] { "[ 0.0, -5e3, -1, 0.3e-3, 1023.2, 0e10 ]" } [Received:success] { { 0, -5000, -1, 0.0003, 1023.2, 0 } } ==> Test [4] Decode null: PASS [Input] { "null" } [Received:success] { json.null } ==> Test [5] Decode true: PASS [Input] { "true" } [Received:success] { true } ==> Test [6] Decode false: PASS [Input] { "false" } [Received:success] { false } ==> Test [7] Decode object with numeric keys: PASS [Input] { "{ \"1\": \"one\", \"3\": \"three\" }" } [Received:success] { { ["1"] = "one", ["3"] = "three" } } ==> Test [8] Decode object with string keys: PASS [Input] { "{ \"a\": \"a\", \"b\": \"b\" }" } [Received:success] { { ["a"] = "a", ["b"] = "b" } } ==> Test [9] Decode array: PASS [Input] { "[ \"one\", null, \"three\" ]" } [Received:success] { { "one", json.null, "three" } } ==> Test [10] Decode UTF-16BE [throw error]: PASS [Input] { "\000\"\000\"" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [11] Decode UTF-16LE [throw error]: PASS [Input] { "\"\000\"\000" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [12] Decode UTF-32BE [throw error]: PASS [Input] { "\000\000\000\"" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [13] Decode UTF-32LE [throw error]: PASS [Input] { "\"\000\000\000" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [14] Decode partial JSON [throw error]: PASS [Input] { "{ \"unexpected eof\": " } [Received:error] { "Expected value but found T_END at character 21" } ==> Test [15] Decode with extra comma [throw error]: PASS [Input] { "{ \"extra data\": true }, false" } [Received:error] { "Expected the end but found T_COMMA at character 23" } ==> Test [16] Decode invalid escape code [throw error]: PASS [Input] { " { \"bad escape \\q code\" } " } [Received:error] { "Expected object key string but found invalid escape code at character 16" } ==> Test [17] Decode invalid unicode escape [throw error]: PASS [Input] { " { \"bad unicode \\u0f6 escape\" } " } [Received:error] { "Expected object key string but found invalid unicode escape code at character 17" } ==> Test [18] Decode invalid keyword [throw error]: PASS [Input] { " [ \"bad barewood\", test ] " } [Received:error] { "Expected value but found invalid token at character 20" } ==> Test [19] Decode invalid number #1 [throw error]: PASS [Input] { "[ -+12 ]" } [Received:error] { "Expected value but found invalid number at character 3" } ==> Test [20] Decode invalid number #2 [throw error]: PASS [Input] { "-v" } [Received:error] { "Expected value but found invalid number at character 1" } ==> Test [21] Decode invalid number exponent [throw error]: PASS [Input] { "[ 0.4eg10 ]" } [Received:error] { "Expected comma or array end but found invalid token at character 6" } ==> Test [22] Set decode_max_depth(5): PASS [Input] { 5 } [Received:success] { 5 } ==> Test [23] Decode array at nested limit: PASS [Input] { "[[[[[ \"nested\" ]]]]]" } [Received:success] { { { { { { "nested" } } } } } } ==> Test [24] Decode array over nested limit [throw error]: PASS [Input] { "[[[[[[ \"nested\" ]]]]]]" } [Received:error] { "Found too many nested data structures (6) at character 6" } ==> Test [25] Decode object at nested limit: PASS [Input] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":\"nested\"}}}}}" } [Received:success] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = "nested" } } } } } } ==> Test [26] Decode object over nested limit [throw error]: PASS [Input] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":{\"f\":\"nested\"}}}}}}" } [Received:error] { "Found too many nested data structures (6) at character 26" } ==> Test [27] Set decode_max_depth(1000): PASS [Input] { 1000 } [Received:success] { 1000 } ==> Test [28] Decode deeply nested array [throw error]: PASS [Input] { "[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[1100]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]" } [Received:error] { "Found too many nested data structures (1001) at character 1001" } ==> Test [29] Set encode_max_depth(5): PASS [Input] { 5 } [Received:success] { 5 } ==> Test [30] Encode nested table as array at nested limit: PASS [Input] { { { { { { "nested" } } } } } } [Received:success] { "[[[[[\"nested\"]]]]]" } ==> Test [31] Encode nested table as array after nested limit [throw error]: PASS [Input] { { { { { { { "nested" } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [32] Encode nested table as object at nested limit: PASS [Input] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = "nested" } } } } } } [Received:success] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":\"nested\"}}}}}" } ==> Test [33] Encode nested table as object over nested limit [throw error]: PASS [Input] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = { ["f"] = "nested" } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [34] Encode table with cycle [throw error]: PASS [Input] { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { Cannot serialise any further: too many nested tables } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [35] Set encode_max_depth(1000): PASS [Input] { 1000 } [Received:success] { 1000 } ==> Test [36] Encode deeply nested data [throw error]: PASS [Input] { { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = Cannot serialise any further: too many nested tables, [2] = "string", ["a"] = Cannot serialise any further: too many nested tables } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (1001)" } ==> Test [37] Encode null: PASS [Input] { json.null } [Received:success] { "null" } ==> Test [38] Encode true: PASS [Input] { true } [Received:success] { "true" } ==> Test [39] Encode false: PASS [Input] { false } [Received:success] { "false" } ==> Test [40] Encode empty object: PASS [Input] { { } } [Received:success] { "{}" } ==> Test [41] Encode integer: PASS [Input] { 10 } [Received:success] { "10" } ==> Test [42] Encode string: PASS [Input] { "hello" } [Received:success] { "\"hello\"" } ==> Test [43] Encode Lua function [throw error]: PASS [Input] { "" } [Received:error] { "Cannot serialise function: type not supported" } ==> Test [44] Set decode_invalid_numbers(true): PASS [Input] { true } [Received:success] { true } ==> Test [45] Decode hexadecimal: PASS [Input] { "0x6.ffp1" } [Received:success] { 13.9921875 } ==> Test [46] Decode numbers with leading zero: PASS [Input] { "[ 0123, 00.33 ]" } [Received:success] { { 123, 0.33 } } ==> Test [47] Decode +-Inf: PASS [Input] { "[ +Inf, Inf, -Inf ]" } [Received:success] { { inf, inf, -inf } } ==> Test [48] Decode +-Infinity: PASS [Input] { "[ +Infinity, Infinity, -Infinity ]" } [Received:success] { { inf, inf, -inf } } ==> Test [49] Decode +-NaN: PASS [Input] { "[ +NaN, NaN, -NaN ]" } [Received:success] { { nan, nan, nan } } ==> Test [50] Decode Infrared (not infinity) [throw error]: PASS [Input] { "Infrared" } [Received:error] { "Expected the end but found invalid token at character 4" } ==> Test [51] Decode Noodle (not NaN) [throw error]: PASS [Input] { "Noodle" } [Received:error] { "Expected value but found invalid token at character 1" } ==> Test [52] Set decode_invalid_numbers(false): PASS [Input] { false } [Received:success] { false } ==> Test [53] Decode hexadecimal [throw error]: PASS [Input] { "0x6" } [Received:error] { "Expected value but found invalid number at character 1" } ==> Test [54] Decode numbers with leading zero [throw error]: PASS [Input] { "[ 0123, 00.33 ]" } [Received:error] { "Expected value but found invalid number at character 3" } ==> Test [55] Decode +-Inf [throw error]: PASS [Input] { "[ +Inf, Inf, -Inf ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [56] Decode +-Infinity [throw error]: PASS [Input] { "[ +Infinity, Infinity, -Infinity ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [57] Decode +-NaN [throw error]: PASS [Input] { "[ +NaN, NaN, -NaN ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [58] Set decode_invalid_numbers("on"): PASS [Input] { "on" } [Received:success] { true } ==> Test [59] Set encode_invalid_numbers(false): PASS [Input] { false } [Received:success] { false } ==> Test [60] Encode NaN [throw error]: PASS [Input] { nan } [Received:error] { "Cannot serialise number: must not be NaN or Inf" } ==> Test [61] Encode Infinity [throw error]: PASS [Input] { inf } [Received:error] { "Cannot serialise number: must not be NaN or Inf" } ==> Test [62] Set encode_invalid_numbers("null"): PASS [Input] { "null" } [Received:success] { "null" } ==> Test [63] Encode NaN as null: PASS [Input] { nan } [Received:success] { "null" } ==> Test [64] Encode Infinity as null: PASS [Input] { inf } [Received:success] { "null" } ==> Test [65] Set encode_invalid_numbers(true): PASS [Input] { true } [Received:success] { true } ==> Test [66] Encode NaN: PASS [Input] { nan } [Received:success] { "nan" } ==> Test [67] Encode Infinity: PASS [Input] { inf } [Received:success] { "inf" } ==> Test [68] Set encode_invalid_numbers("off"): PASS [Input] { "off" } [Received:success] { false } ==> Test [69] Set encode_sparse_array(true, 2, 3): PASS [Input] { true, 2, 3 } [Received:success] { true, 2, 3 } ==> Test [70] Encode sparse table as array #1: PASS [Input] { { [3] = "sparse test" } } [Received:success] { "[null,null,\"sparse test\"]" } ==> Test [71] Encode sparse table as array #2: PASS [Input] { { "one", nil, nil, "sparse test" } } [Received:success] { "[\"one\",null,null,\"sparse test\"]" } ==> Test [72] Encode sparse array as object: PASS [Input] { { [1] = "one", [5] = "sparse test" } } [Received:success] { "{\"1\":\"one\",\"5\":\"sparse test\"}" } ==> Test [73] Encode table with numeric string key as object: PASS [Input] { { ["2"] = "numeric string key test" } } [Received:success] { "{\"2\":\"numeric string key test\"}" } ==> Test [74] Set encode_sparse_array(false): PASS [Input] { false } [Received:success] { false, 2, 3 } ==> Test [75] Encode table with incompatible key [throw error]: PASS [Input] { { [false] = "wrong" } } [Received:error] { "Cannot serialise boolean: table key must be a number or string" } ==> Test [76] Encode all octets (8-bit clean): PASS [Input] { "\000 \ \r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" } [Received:success] { "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#$%&'()*+,-.\\/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\u007f\"" } ==> Test [77] Decode all escaped octets: PASS [Input] { "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#$%&'()*+,-.\\/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\u007f\"" } [Received:success] { "\000 \ \r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" } ==> Test [78] Decode single UTF-16 escape: PASS [Input] { "\"\\uF800\"" } [Received:success] { "" } ==> Test [79] Decode swapped surrogate pair [throw error]: PASS [Input] { "\"\\uDC00\\uD800\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [80] Decode duplicate high surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [81] Decode duplicate low surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [82] Decode missing low surrogate [throw error]: PASS [Input] { "\"\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [83] Decode invalid low surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uD\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Set locale to cs_CZ (comma separator) ==> Test [84] Encode number under comma locale: PASS [Input] { 1.5 } [Received:success] { "1.5" } ==> Test [85] Decode number in array under comma locale: PASS [Input] { "[ 10, \"test\" ]" } [Received:success] { { 10, "test" } } ==> Revert locale to POSIX ==> Test [86] Set encode_keep_buffer(false): PASS [Input] { false } [Received:success] { false } ==> Test [87] Set encode_number_precision(3): PASS [Input] { 3 } [Received:success] { 3 } ==> Test [88] Encode number with precision 3: PASS [Input] { 0.33333333333333 } [Received:success] { "0.333" } ==> Test [89] Set encode_number_precision(14): PASS [Input] { 14 } [Received:success] { 14 } ==> Test [90] Set encode_keep_buffer(true): PASS [Input] { true } [Received:success] { true } ==> Test [91] Set encode_number_precision(0) [throw error]: PASS [Input] { 0 } [Received:error] { "bad argument #1 to '?' (expected integer between 1 and 14)" } ==> Test [92] Set encode_number_precision("five") [throw error]: PASS [Input] { "five" } [Received:error] { "bad argument #1 to '?' (number expected, got string)" } ==> Test [93] Set encode_keep_buffer(nil, true) [throw error]: PASS [Input] { nil, true } [Received:error] { "bad argument #2 to '?' (found too many arguments)" } ==> Test [94] Set encode_max_depth("wrong") [throw error]: PASS [Input] { "wrong" } [Received:error] { "bad argument #1 to '?' (number expected, got string)" } ==> Test [95] Set decode_max_depth(0) [throw error]: PASS [Input] { "0" } [Received:error] { "bad argument #1 to '?' (expected integer between 1 and 2147483647)" } ==> Test [96] Set encode_invalid_numbers(-2) [throw error]: PASS [Input] { -2 } [Received:error] { "bad argument #1 to '?' (invalid option '-2')" } ==> Test [97] Set decode_invalid_numbers(true, false) [throw error]: PASS [Input] { true, false } [Received:error] { "bad argument #2 to '?' (found too many arguments)" } ==> Test [98] Set encode_sparse_array("not quite on") [throw error]: PASS [Input] { "not quite on" } [Received:error] { "bad argument #1 to '?' (invalid option 'not quite on')" } ==> Reset Lua CJSON configuration ==> Test [99] Check encode_sparse_array(): PASS [Input] { } [Received:success] { false, 2, 10 } ==> Test [100] Encode (safe) simple value: PASS [Input] { true } [Received:success] { "true" } ==> Test [101] Encode (safe) argument validation [throw error]: PASS [Input] { "arg1", "arg2" } [Received:error] { "bad argument #1 to '?' (expected 1 argument)" } ==> Test [102] Decode (safe) error generation: PASS [Input] { "Oops" } [Received:success] { nil, "Expected value but found invalid token at character 1" } ==> Test [103] Decode (safe) error generation after new(): PASS [Input] { "Oops" } [Received:success] { nil, "Expected value but found invalid token at character 1" } ==> Summary: all tests succeeded ************************************************** libtool --silent --tag=CC --mode=link cc -g -O2 -fdebug-prefix-map=/<>/lua-cjson-2.1.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.1 -Wall -Wextra -Wl,--no-add-needed \ -static -o /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/app-static -I . -I /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/ \ /usr/share/dh-lua/test/5.1/app.c /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/liblua5.1-cjson.la \ -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr//lib/arm-linux-gnueabihf -llua5.1 -lm -ldl ldd /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/app-static liblua5.1.so.0 => /usr/lib/arm-linux-gnueabihf/liblua5.1.so.0 (0xf76b5000) libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xf7638000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xf7544000) /lib/ld-linux-armhf.so.3 (0xf76f4000) libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xf7531000) *********************** app static (5.1) ********* Test: cd tests/ && @@LUA@@ test.lua ==> Testing Lua CJSON version 2.1.0 ==> Test [1] Check module name, version: PASS [Input] { } [Received:success] { "cjson", "2.1.0" } ==> Test [2] Decode string: PASS [Input] { "\"test string\"" } [Received:success] { "test string" } ==> Test [3] Decode numbers: PASS [Input] { "[ 0.0, -5e3, -1, 0.3e-3, 1023.2, 0e10 ]" } [Received:success] { { 0, -5000, -1, 0.0003, 1023.2, 0 } } ==> Test [4] Decode null: PASS [Input] { "null" } [Received:success] { json.null } ==> Test [5] Decode true: PASS [Input] { "true" } [Received:success] { true } ==> Test [6] Decode false: PASS [Input] { "false" } [Received:success] { false } ==> Test [7] Decode object with numeric keys: PASS [Input] { "{ \"1\": \"one\", \"3\": \"three\" }" } [Received:success] { { ["1"] = "one", ["3"] = "three" } } ==> Test [8] Decode object with string keys: PASS [Input] { "{ \"a\": \"a\", \"b\": \"b\" }" } [Received:success] { { ["a"] = "a", ["b"] = "b" } } ==> Test [9] Decode array: PASS [Input] { "[ \"one\", null, \"three\" ]" } [Received:success] { { "one", json.null, "three" } } ==> Test [10] Decode UTF-16BE [throw error]: PASS [Input] { "\000\"\000\"" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [11] Decode UTF-16LE [throw error]: PASS [Input] { "\"\000\"\000" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [12] Decode UTF-32BE [throw error]: PASS [Input] { "\000\000\000\"" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [13] Decode UTF-32LE [throw error]: PASS [Input] { "\"\000\000\000" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [14] Decode partial JSON [throw error]: PASS [Input] { "{ \"unexpected eof\": " } [Received:error] { "Expected value but found T_END at character 21" } ==> Test [15] Decode with extra comma [throw error]: PASS [Input] { "{ \"extra data\": true }, false" } [Received:error] { "Expected the end but found T_COMMA at character 23" } ==> Test [16] Decode invalid escape code [throw error]: PASS [Input] { " { \"bad escape \\q code\" } " } [Received:error] { "Expected object key string but found invalid escape code at character 16" } ==> Test [17] Decode invalid unicode escape [throw error]: PASS [Input] { " { \"bad unicode \\u0f6 escape\" } " } [Received:error] { "Expected object key string but found invalid unicode escape code at character 17" } ==> Test [18] Decode invalid keyword [throw error]: PASS [Input] { " [ \"bad barewood\", test ] " } [Received:error] { "Expected value but found invalid token at character 20" } ==> Test [19] Decode invalid number #1 [throw error]: PASS [Input] { "[ -+12 ]" } [Received:error] { "Expected value but found invalid number at character 3" } ==> Test [20] Decode invalid number #2 [throw error]: PASS [Input] { "-v" } [Received:error] { "Expected value but found invalid number at character 1" } ==> Test [21] Decode invalid number exponent [throw error]: PASS [Input] { "[ 0.4eg10 ]" } [Received:error] { "Expected comma or array end but found invalid token at character 6" } ==> Test [22] Set decode_max_depth(5): PASS [Input] { 5 } [Received:success] { 5 } ==> Test [23] Decode array at nested limit: PASS [Input] { "[[[[[ \"nested\" ]]]]]" } [Received:success] { { { { { { "nested" } } } } } } ==> Test [24] Decode array over nested limit [throw error]: PASS [Input] { "[[[[[[ \"nested\" ]]]]]]" } [Received:error] { "Found too many nested data structures (6) at character 6" } ==> Test [25] Decode object at nested limit: PASS [Input] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":\"nested\"}}}}}" } [Received:success] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = "nested" } } } } } } ==> Test [26] Decode object over nested limit [throw error]: PASS [Input] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":{\"f\":\"nested\"}}}}}}" } [Received:error] { "Found too many nested data structures (6) at character 26" } ==> Test [27] Set decode_max_depth(1000): PASS [Input] { 1000 } [Received:success] { 1000 } ==> Test [28] Decode deeply nested array [throw error]: PASS [Input] { "[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[1100]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]" } [Received:error] { "Found too many nested data structures (1001) at character 1001" } ==> Test [29] Set encode_max_depth(5): PASS [Input] { 5 } [Received:success] { 5 } ==> Test [30] Encode nested table as array at nested limit: PASS [Input] { { { { { { "nested" } } } } } } [Received:success] { "[[[[[\"nested\"]]]]]" } ==> Test [31] Encode nested table as array after nested limit [throw error]: PASS [Input] { { { { { { { "nested" } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [32] Encode nested table as object at nested limit: PASS [Input] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = "nested" } } } } } } [Received:success] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":\"nested\"}}}}}" } ==> Test [33] Encode nested table as object over nested limit [throw error]: PASS [Input] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = { ["f"] = "nested" } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [34] Encode table with cycle [throw error]: PASS [Input] { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { Cannot serialise any further: too many nested tables } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [35] Set encode_max_depth(1000): PASS [Input] { 1000 } [Received:success] { 1000 } ==> Test [36] Encode deeply nested data [throw error]: PASS [Input] { { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = Cannot serialise any further: too many nested tables, [2] = "string", ["a"] = Cannot serialise any further: too many nested tables } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (1001)" } ==> Test [37] Encode null: PASS [Input] { json.null } [Received:success] { "null" } ==> Test [38] Encode true: PASS [Input] { true } [Received:success] { "true" } ==> Test [39] Encode false: PASS [Input] { false } [Received:success] { "false" } ==> Test [40] Encode empty object: PASS [Input] { { } } [Received:success] { "{}" } ==> Test [41] Encode integer: PASS [Input] { 10 } [Received:success] { "10" } ==> Test [42] Encode string: PASS [Input] { "hello" } [Received:success] { "\"hello\"" } ==> Test [43] Encode Lua function [throw error]: PASS [Input] { "" } [Received:error] { "Cannot serialise function: type not supported" } ==> Test [44] Set decode_invalid_numbers(true): PASS [Input] { true } [Received:success] { true } ==> Test [45] Decode hexadecimal: PASS [Input] { "0x6.ffp1" } [Received:success] { 13.9921875 } ==> Test [46] Decode numbers with leading zero: PASS [Input] { "[ 0123, 00.33 ]" } [Received:success] { { 123, 0.33 } } ==> Test [47] Decode +-Inf: PASS [Input] { "[ +Inf, Inf, -Inf ]" } [Received:success] { { inf, inf, -inf } } ==> Test [48] Decode +-Infinity: PASS [Input] { "[ +Infinity, Infinity, -Infinity ]" } [Received:success] { { inf, inf, -inf } } ==> Test [49] Decode +-NaN: PASS [Input] { "[ +NaN, NaN, -NaN ]" } [Received:success] { { nan, nan, nan } } ==> Test [50] Decode Infrared (not infinity) [throw error]: PASS [Input] { "Infrared" } [Received:error] { "Expected the end but found invalid token at character 4" } ==> Test [51] Decode Noodle (not NaN) [throw error]: PASS [Input] { "Noodle" } [Received:error] { "Expected value but found invalid token at character 1" } ==> Test [52] Set decode_invalid_numbers(false): PASS [Input] { false } [Received:success] { false } ==> Test [53] Decode hexadecimal [throw error]: PASS [Input] { "0x6" } [Received:error] { "Expected value but found invalid number at character 1" } ==> Test [54] Decode numbers with leading zero [throw error]: PASS [Input] { "[ 0123, 00.33 ]" } [Received:error] { "Expected value but found invalid number at character 3" } ==> Test [55] Decode +-Inf [throw error]: PASS [Input] { "[ +Inf, Inf, -Inf ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [56] Decode +-Infinity [throw error]: PASS [Input] { "[ +Infinity, Infinity, -Infinity ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [57] Decode +-NaN [throw error]: PASS [Input] { "[ +NaN, NaN, -NaN ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [58] Set decode_invalid_numbers("on"): PASS [Input] { "on" } [Received:success] { true } ==> Test [59] Set encode_invalid_numbers(false): PASS [Input] { false } [Received:success] { false } ==> Test [60] Encode NaN [throw error]: PASS [Input] { nan } [Received:error] { "Cannot serialise number: must not be NaN or Inf" } ==> Test [61] Encode Infinity [throw error]: PASS [Input] { inf } [Received:error] { "Cannot serialise number: must not be NaN or Inf" } ==> Test [62] Set encode_invalid_numbers("null"): PASS [Input] { "null" } [Received:success] { "null" } ==> Test [63] Encode NaN as null: PASS [Input] { nan } [Received:success] { "null" } ==> Test [64] Encode Infinity as null: PASS [Input] { inf } [Received:success] { "null" } ==> Test [65] Set encode_invalid_numbers(true): PASS [Input] { true } [Received:success] { true } ==> Test [66] Encode NaN: PASS [Input] { nan } [Received:success] { "nan" } ==> Test [67] Encode Infinity: PASS [Input] { inf } [Received:success] { "inf" } ==> Test [68] Set encode_invalid_numbers("off"): PASS [Input] { "off" } [Received:success] { false } ==> Test [69] Set encode_sparse_array(true, 2, 3): PASS [Input] { true, 2, 3 } [Received:success] { true, 2, 3 } ==> Test [70] Encode sparse table as array #1: PASS [Input] { { [3] = "sparse test" } } [Received:success] { "[null,null,\"sparse test\"]" } ==> Test [71] Encode sparse table as array #2: PASS [Input] { { "one", nil, nil, "sparse test" } } [Received:success] { "[\"one\",null,null,\"sparse test\"]" } ==> Test [72] Encode sparse array as object: PASS [Input] { { [1] = "one", [5] = "sparse test" } } [Received:success] { "{\"1\":\"one\",\"5\":\"sparse test\"}" } ==> Test [73] Encode table with numeric string key as object: PASS [Input] { { ["2"] = "numeric string key test" } } [Received:success] { "{\"2\":\"numeric string key test\"}" } ==> Test [74] Set encode_sparse_array(false): PASS [Input] { false } [Received:success] { false, 2, 3 } ==> Test [75] Encode table with incompatible key [throw error]: PASS [Input] { { [false] = "wrong" } } [Received:error] { "Cannot serialise boolean: table key must be a number or string" } ==> Test [76] Encode all octets (8-bit clean): PASS [Input] { "\000 \ \r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" } [Received:success] { "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#$%&'()*+,-.\\/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\u007f\"" } ==> Test [77] Decode all escaped octets: PASS [Input] { "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#$%&'()*+,-.\\/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\u007f\"" } [Received:success] { "\000 \ \r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" } ==> Test [78] Decode single UTF-16 escape: PASS [Input] { "\"\\uF800\"" } [Received:success] { "" } ==> Test [79] Decode swapped surrogate pair [throw error]: PASS [Input] { "\"\\uDC00\\uD800\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [80] Decode duplicate high surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [81] Decode duplicate low surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [82] Decode missing low surrogate [throw error]: PASS [Input] { "\"\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [83] Decode invalid low surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uD\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Set locale to cs_CZ (comma separator) ==> Test [84] Encode number under comma locale: PASS [Input] { 1.5 } [Received:success] { "1.5" } ==> Test [85] Decode number in array under comma locale: PASS [Input] { "[ 10, \"test\" ]" } [Received:success] { { 10, "test" } } ==> Revert locale to POSIX ==> Test [86] Set encode_keep_buffer(false): PASS [Input] { false } [Received:success] { false } ==> Test [87] Set encode_number_precision(3): PASS [Input] { 3 } [Received:success] { 3 } ==> Test [88] Encode number with precision 3: PASS [Input] { 0.33333333333333 } [Received:success] { "0.333" } ==> Test [89] Set encode_number_precision(14): PASS [Input] { 14 } [Received:success] { 14 } ==> Test [90] Set encode_keep_buffer(true): PASS [Input] { true } [Received:success] { true } ==> Test [91] Set encode_number_precision(0) [throw error]: PASS [Input] { 0 } [Received:error] { "bad argument #1 to '?' (expected integer between 1 and 14)" } ==> Test [92] Set encode_number_precision("five") [throw error]: PASS [Input] { "five" } [Received:error] { "bad argument #1 to '?' (number expected, got string)" } ==> Test [93] Set encode_keep_buffer(nil, true) [throw error]: PASS [Input] { nil, true } [Received:error] { "bad argument #2 to '?' (found too many arguments)" } ==> Test [94] Set encode_max_depth("wrong") [throw error]: PASS [Input] { "wrong" } [Received:error] { "bad argument #1 to '?' (number expected, got string)" } ==> Test [95] Set decode_max_depth(0) [throw error]: PASS [Input] { "0" } [Received:error] { "bad argument #1 to '?' (expected integer between 1 and 2147483647)" } ==> Test [96] Set encode_invalid_numbers(-2) [throw error]: PASS [Input] { -2 } [Received:error] { "bad argument #1 to '?' (invalid option '-2')" } ==> Test [97] Set decode_invalid_numbers(true, false) [throw error]: PASS [Input] { true, false } [Received:error] { "bad argument #2 to '?' (found too many arguments)" } ==> Test [98] Set encode_sparse_array("not quite on") [throw error]: PASS [Input] { "not quite on" } [Received:error] { "bad argument #1 to '?' (invalid option 'not quite on')" } ==> Reset Lua CJSON configuration ==> Test [99] Check encode_sparse_array(): PASS [Input] { } [Received:success] { false, 2, 10 } ==> Test [100] Encode (safe) simple value: PASS [Input] { true } [Received:success] { "true" } ==> Test [101] Encode (safe) argument validation [throw error]: PASS [Input] { "arg1", "arg2" } [Received:error] { "bad argument #1 to '?' (expected 1 argument)" } ==> Test [102] Decode (safe) error generation: PASS [Input] { "Oops" } [Received:success] { nil, "Expected value but found invalid token at character 1" } ==> Test [103] Decode (safe) error generation after new(): PASS [Input] { "Oops" } [Received:success] { nil, "Expected value but found invalid token at character 1" } ==> Summary: all tests succeeded ************************************************** Target test made Making target test for debian/lua5.2.dh-lua.conf # tests Copying lua/cjson/util.lua in /<>/lua-cjson-2.1.0+dfsg/5.2-cjson for test ********************** lua dynamic (5.2) ********* Test: cd tests/ && @@LUA@@ test.lua ==> Testing Lua CJSON version 2.1.0 ==> Test [1] Check module name, version: PASS [Input] { } [Received:success] { "cjson", "2.1.0" } ==> Test [2] Decode string: PASS [Input] { "\"test string\"" } [Received:success] { "test string" } ==> Test [3] Decode numbers: PASS [Input] { "[ 0.0, -5e3, -1, 0.3e-3, 1023.2, 0e10 ]" } [Received:success] { { 0, -5000, -1, 0.0003, 1023.2, 0 } } ==> Test [4] Decode null: PASS [Input] { "null" } [Received:success] { json.null } ==> Test [5] Decode true: PASS [Input] { "true" } [Received:success] { true } ==> Test [6] Decode false: PASS [Input] { "false" } [Received:success] { false } ==> Test [7] Decode object with numeric keys: PASS [Input] { "{ \"1\": \"one\", \"3\": \"three\" }" } [Received:success] { { ["1"] = "one", ["3"] = "three" } } ==> Test [8] Decode object with string keys: PASS [Input] { "{ \"a\": \"a\", \"b\": \"b\" }" } [Received:success] { { ["a"] = "a", ["b"] = "b" } } ==> Test [9] Decode array: PASS [Input] { "[ \"one\", null, \"three\" ]" } [Received:success] { { "one", json.null, "three" } } ==> Test [10] Decode UTF-16BE [throw error]: PASS [Input] { "\0\"\0\"" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [11] Decode UTF-16LE [throw error]: PASS [Input] { "\"\0\"\0" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [12] Decode UTF-32BE [throw error]: PASS [Input] { "\0\0\0\"" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [13] Decode UTF-32LE [throw error]: PASS [Input] { "\"\0\0\0" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [14] Decode partial JSON [throw error]: PASS [Input] { "{ \"unexpected eof\": " } [Received:error] { "Expected value but found T_END at character 21" } ==> Test [15] Decode with extra comma [throw error]: PASS [Input] { "{ \"extra data\": true }, false" } [Received:error] { "Expected the end but found T_COMMA at character 23" } ==> Test [16] Decode invalid escape code [throw error]: PASS [Input] { " { \"bad escape \\q code\" } " } [Received:error] { "Expected object key string but found invalid escape code at character 16" } ==> Test [17] Decode invalid unicode escape [throw error]: PASS [Input] { " { \"bad unicode \\u0f6 escape\" } " } [Received:error] { "Expected object key string but found invalid unicode escape code at character 17" } ==> Test [18] Decode invalid keyword [throw error]: PASS [Input] { " [ \"bad barewood\", test ] " } [Received:error] { "Expected value but found invalid token at character 20" } ==> Test [19] Decode invalid number #1 [throw error]: PASS [Input] { "[ -+12 ]" } [Received:error] { "Expected value but found invalid number at character 3" } ==> Test [20] Decode invalid number #2 [throw error]: PASS [Input] { "-v" } [Received:error] { "Expected value but found invalid number at character 1" } ==> Test [21] Decode invalid number exponent [throw error]: PASS [Input] { "[ 0.4eg10 ]" } [Received:error] { "Expected comma or array end but found invalid token at character 6" } ==> Test [22] Set decode_max_depth(5): PASS [Input] { 5 } [Received:success] { 5 } ==> Test [23] Decode array at nested limit: PASS [Input] { "[[[[[ \"nested\" ]]]]]" } [Received:success] { { { { { { "nested" } } } } } } ==> Test [24] Decode array over nested limit [throw error]: PASS [Input] { "[[[[[[ \"nested\" ]]]]]]" } [Received:error] { "Found too many nested data structures (6) at character 6" } ==> Test [25] Decode object at nested limit: PASS [Input] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":\"nested\"}}}}}" } [Received:success] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = "nested" } } } } } } ==> Test [26] Decode object over nested limit [throw error]: PASS [Input] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":{\"f\":\"nested\"}}}}}}" } [Received:error] { "Found too many nested data structures (6) at character 26" } ==> Test [27] Set decode_max_depth(1000): PASS [Input] { 1000 } [Received:success] { 1000 } ==> Test [28] Decode deeply nested array [throw error]: PASS [Input] { "[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[1100]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]" } [Received:error] { "Found too many nested data structures (1001) at character 1001" } ==> Test [29] Set encode_max_depth(5): PASS [Input] { 5 } [Received:success] { 5 } ==> Test [30] Encode nested table as array at nested limit: PASS [Input] { { { { { { "nested" } } } } } } [Received:success] { "[[[[[\"nested\"]]]]]" } ==> Test [31] Encode nested table as array after nested limit [throw error]: PASS [Input] { { { { { { { "nested" } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [32] Encode nested table as object at nested limit: PASS [Input] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = "nested" } } } } } } [Received:success] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":\"nested\"}}}}}" } ==> Test [33] Encode nested table as object over nested limit [throw error]: PASS [Input] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = { ["f"] = "nested" } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [34] Encode table with cycle [throw error]: PASS [Input] { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { Cannot serialise any further: too many nested tables } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [35] Set encode_max_depth(1000): PASS [Input] { 1000 } [Received:success] { 1000 } ==> Test [36] Encode deeply nested data [throw error]: PASS [Input] { { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = Cannot serialise any further: too many nested tables, [2] = "string", ["a"] = Cannot serialise any further: too many nested tables } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (1001)" } ==> Test [37] Encode null: PASS [Input] { json.null } [Received:success] { "null" } ==> Test [38] Encode true: PASS [Input] { true } [Received:success] { "true" } ==> Test [39] Encode false: PASS [Input] { false } [Received:success] { "false" } ==> Test [40] Encode empty object: PASS [Input] { { } } [Received:success] { "{}" } ==> Test [41] Encode integer: PASS [Input] { 10 } [Received:success] { "10" } ==> Test [42] Encode string: PASS [Input] { "hello" } [Received:success] { "\"hello\"" } ==> Test [43] Encode Lua function [throw error]: PASS [Input] { "" } [Received:error] { "Cannot serialise function: type not supported" } ==> Test [44] Set decode_invalid_numbers(true): PASS [Input] { true } [Received:success] { true } ==> Test [45] Decode hexadecimal: PASS [Input] { "0x6.ffp1" } [Received:success] { 13.9921875 } ==> Test [46] Decode numbers with leading zero: PASS [Input] { "[ 0123, 00.33 ]" } [Received:success] { { 123, 0.33 } } ==> Test [47] Decode +-Inf: PASS [Input] { "[ +Inf, Inf, -Inf ]" } [Received:success] { { inf, inf, -inf } } ==> Test [48] Decode +-Infinity: PASS [Input] { "[ +Infinity, Infinity, -Infinity ]" } [Received:success] { { inf, inf, -inf } } ==> Test [49] Decode +-NaN: PASS [Input] { "[ +NaN, NaN, -NaN ]" } [Received:success] { { nan, nan, nan } } ==> Test [50] Decode Infrared (not infinity) [throw error]: PASS [Input] { "Infrared" } [Received:error] { "Expected the end but found invalid token at character 4" } ==> Test [51] Decode Noodle (not NaN) [throw error]: PASS [Input] { "Noodle" } [Received:error] { "Expected value but found invalid token at character 1" } ==> Test [52] Set decode_invalid_numbers(false): PASS [Input] { false } [Received:success] { false } ==> Test [53] Decode hexadecimal [throw error]: PASS [Input] { "0x6" } [Received:error] { "Expected value but found invalid number at character 1" } ==> Test [54] Decode numbers with leading zero [throw error]: PASS [Input] { "[ 0123, 00.33 ]" } [Received:error] { "Expected value but found invalid number at character 3" } ==> Test [55] Decode +-Inf [throw error]: PASS [Input] { "[ +Inf, Inf, -Inf ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [56] Decode +-Infinity [throw error]: PASS [Input] { "[ +Infinity, Infinity, -Infinity ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [57] Decode +-NaN [throw error]: PASS [Input] { "[ +NaN, NaN, -NaN ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [58] Set decode_invalid_numbers("on"): PASS [Input] { "on" } [Received:success] { true } ==> Test [59] Set encode_invalid_numbers(false): PASS [Input] { false } [Received:success] { false } ==> Test [60] Encode NaN [throw error]: PASS [Input] { nan } [Received:error] { "Cannot serialise number: must not be NaN or Inf" } ==> Test [61] Encode Infinity [throw error]: PASS [Input] { inf } [Received:error] { "Cannot serialise number: must not be NaN or Inf" } ==> Test [62] Set encode_invalid_numbers("null"): PASS [Input] { "null" } [Received:success] { "null" } ==> Test [63] Encode NaN as null: PASS [Input] { nan } [Received:success] { "null" } ==> Test [64] Encode Infinity as null: PASS [Input] { inf } [Received:success] { "null" } ==> Test [65] Set encode_invalid_numbers(true): PASS [Input] { true } [Received:success] { true } ==> Test [66] Encode NaN: PASS [Input] { nan } [Received:success] { "nan" } ==> Test [67] Encode Infinity: PASS [Input] { inf } [Received:success] { "inf" } ==> Test [68] Set encode_invalid_numbers("off"): PASS [Input] { "off" } [Received:success] { false } ==> Test [69] Set encode_sparse_array(true, 2, 3): PASS [Input] { true, 2, 3 } [Received:success] { true, 2, 3 } ==> Test [70] Encode sparse table as array #1: PASS [Input] { { [3] = "sparse test" } } [Received:success] { "[null,null,\"sparse test\"]" } ==> Test [71] Encode sparse table as array #2: PASS [Input] { { "one", nil, nil, "sparse test" } } [Received:success] { "[\"one\",null,null,\"sparse test\"]" } ==> Test [72] Encode sparse array as object: PASS [Input] { { [1] = "one", [5] = "sparse test" } } [Received:success] { "{\"1\":\"one\",\"5\":\"sparse test\"}" } ==> Test [73] Encode table with numeric string key as object: PASS [Input] { { ["2"] = "numeric string key test" } } [Received:success] { "{\"2\":\"numeric string key test\"}" } ==> Test [74] Set encode_sparse_array(false): PASS [Input] { false } [Received:success] { false, 2, 3 } ==> Test [75] Encode table with incompatible key [throw error]: PASS [Input] { { [false] = "wrong" } } [Received:error] { "Cannot serialise boolean: table key must be a number or string" } ==> Test [76] Encode all octets (8-bit clean): PASS [Input] { "\0\1\2\3\4\5\6\7\8\9\ \11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31 !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\127" } [Received:success] { "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#$%&'()*+,-.\\/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\u007f\"" } ==> Test [77] Decode all escaped octets: PASS [Input] { "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#$%&'()*+,-.\\/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\u007f\"" } [Received:success] { "\0\1\2\3\4\5\6\7\8\9\ \11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31 !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\127" } ==> Test [78] Decode single UTF-16 escape: PASS [Input] { "\"\\uF800\"" } [Received:success] { "" } ==> Test [79] Decode swapped surrogate pair [throw error]: PASS [Input] { "\"\\uDC00\\uD800\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [80] Decode duplicate high surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [81] Decode duplicate low surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [82] Decode missing low surrogate [throw error]: PASS [Input] { "\"\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [83] Decode invalid low surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uD\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Set locale to cs_CZ (comma separator) ==> Test [84] Encode number under comma locale: PASS [Input] { 1.5 } [Received:success] { "1.5" } ==> Test [85] Decode number in array under comma locale: PASS [Input] { "[ 10, \"test\" ]" } [Received:success] { { 10, "test" } } ==> Revert locale to POSIX ==> Test [86] Set encode_keep_buffer(false): PASS [Input] { false } [Received:success] { false } ==> Test [87] Set encode_number_precision(3): PASS [Input] { 3 } [Received:success] { 3 } ==> Test [88] Encode number with precision 3: PASS [Input] { 0.33333333333333 } [Received:success] { "0.333" } ==> Test [89] Set encode_number_precision(14): PASS [Input] { 14 } [Received:success] { 14 } ==> Test [90] Set encode_keep_buffer(true): PASS [Input] { true } [Received:success] { true } ==> Test [91] Set encode_number_precision(0) [throw error]: PASS [Input] { 0 } [Received:error] { "bad argument #1 to 'cjson.encode_number_precision' (expected integer between 1 and 14)" } ==> Test [92] Set encode_number_precision("five") [throw error]: PASS [Input] { "five" } [Received:error] { "bad argument #1 to 'cjson.encode_number_precision' (number expected, got string)" } ==> Test [93] Set encode_keep_buffer(nil, true) [throw error]: PASS [Input] { nil, true } [Received:error] { "bad argument #2 to 'cjson.encode_keep_buffer' (found too many arguments)" } ==> Test [94] Set encode_max_depth("wrong") [throw error]: PASS [Input] { "wrong" } [Received:error] { "bad argument #1 to 'cjson.encode_max_depth' (number expected, got string)" } ==> Test [95] Set decode_max_depth(0) [throw error]: PASS [Input] { "0" } [Received:error] { "bad argument #1 to 'cjson.decode_max_depth' (expected integer between 1 and 2147483647)" } ==> Test [96] Set encode_invalid_numbers(-2) [throw error]: PASS [Input] { -2 } [Received:error] { "bad argument #1 to 'cjson.encode_invalid_numbers' (invalid option '-2')" } ==> Test [97] Set decode_invalid_numbers(true, false) [throw error]: PASS [Input] { true, false } [Received:error] { "bad argument #2 to 'cjson.decode_invalid_numbers' (found too many arguments)" } ==> Test [98] Set encode_sparse_array("not quite on") [throw error]: PASS [Input] { "not quite on" } [Received:error] { "bad argument #1 to 'cjson.encode_sparse_array' (invalid option 'not quite on')" } ==> Reset Lua CJSON configuration ==> Test [99] Check encode_sparse_array(): PASS [Input] { } [Received:success] { false, 2, 10 } ==> Test [100] Encode (safe) simple value: PASS [Input] { true } [Received:success] { "true" } ==> Test [101] Encode (safe) argument validation [throw error]: PASS [Input] { "arg1", "arg2" } [Received:error] { "bad argument #1 to '?' (expected 1 argument)" } ==> Test [102] Decode (safe) error generation: PASS [Input] { "Oops" } [Received:success] { nil, "Expected value but found invalid token at character 1" } ==> Test [103] Decode (safe) error generation after new(): PASS [Input] { "Oops" } [Received:success] { nil, "Expected value but found invalid token at character 1" } ==> Summary: all tests succeeded ************************************************** libtool --silent --tag=CC --mode=link cc -g -O2 -fdebug-prefix-map=/<>/lua-cjson-2.1.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -Wall -Wextra -Wl,--no-add-needed \ -o /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/app-dynamic -I . -I /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/ \ /usr/share/dh-lua/test/5.2/app.c /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/liblua5.2-cjson.la \ -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr//lib/arm-linux-gnueabihf -llua5.2 libtool --silent --tag=CC --mode=execute -dlopen /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/liblua5.2-cjson.la \ ldd /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/app-dynamic liblua5.2-cjson.so.0 => /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/.libs/liblua5.2-cjson.so.0 (0xf7321000) liblua5.2.so.0 => /usr//lib/arm-linux-gnueabihf/liblua5.2.so.0 (0xf72f5000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xf7201000) /lib/ld-linux-armhf.so.3 (0xf7348000) libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xf7184000) libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xf7171000) ********************** app dynamic (5.2) ********* Test: cd tests/ && @@LUA@@ test.lua ==> Testing Lua CJSON version 2.1.0 ==> Test [1] Check module name, version: PASS [Input] { } [Received:success] { "cjson", "2.1.0" } ==> Test [2] Decode string: PASS [Input] { "\"test string\"" } [Received:success] { "test string" } ==> Test [3] Decode numbers: PASS [Input] { "[ 0.0, -5e3, -1, 0.3e-3, 1023.2, 0e10 ]" } [Received:success] { { 0, -5000, -1, 0.0003, 1023.2, 0 } } ==> Test [4] Decode null: PASS [Input] { "null" } [Received:success] { json.null } ==> Test [5] Decode true: PASS [Input] { "true" } [Received:success] { true } ==> Test [6] Decode false: PASS [Input] { "false" } [Received:success] { false } ==> Test [7] Decode object with numeric keys: PASS [Input] { "{ \"1\": \"one\", \"3\": \"three\" }" } [Received:success] { { ["3"] = "three", ["1"] = "one" } } ==> Test [8] Decode object with string keys: PASS [Input] { "{ \"a\": \"a\", \"b\": \"b\" }" } [Received:success] { { ["b"] = "b", ["a"] = "a" } } ==> Test [9] Decode array: PASS [Input] { "[ \"one\", null, \"three\" ]" } [Received:success] { { "one", json.null, "three" } } ==> Test [10] Decode UTF-16BE [throw error]: PASS [Input] { "\0\"\0\"" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [11] Decode UTF-16LE [throw error]: PASS [Input] { "\"\0\"\0" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [12] Decode UTF-32BE [throw error]: PASS [Input] { "\0\0\0\"" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [13] Decode UTF-32LE [throw error]: PASS [Input] { "\"\0\0\0" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [14] Decode partial JSON [throw error]: PASS [Input] { "{ \"unexpected eof\": " } [Received:error] { "Expected value but found T_END at character 21" } ==> Test [15] Decode with extra comma [throw error]: PASS [Input] { "{ \"extra data\": true }, false" } [Received:error] { "Expected the end but found T_COMMA at character 23" } ==> Test [16] Decode invalid escape code [throw error]: PASS [Input] { " { \"bad escape \\q code\" } " } [Received:error] { "Expected object key string but found invalid escape code at character 16" } ==> Test [17] Decode invalid unicode escape [throw error]: PASS [Input] { " { \"bad unicode \\u0f6 escape\" } " } [Received:error] { "Expected object key string but found invalid unicode escape code at character 17" } ==> Test [18] Decode invalid keyword [throw error]: PASS [Input] { " [ \"bad barewood\", test ] " } [Received:error] { "Expected value but found invalid token at character 20" } ==> Test [19] Decode invalid number #1 [throw error]: PASS [Input] { "[ -+12 ]" } [Received:error] { "Expected value but found invalid number at character 3" } ==> Test [20] Decode invalid number #2 [throw error]: PASS [Input] { "-v" } [Received:error] { "Expected value but found invalid number at character 1" } ==> Test [21] Decode invalid number exponent [throw error]: PASS [Input] { "[ 0.4eg10 ]" } [Received:error] { "Expected comma or array end but found invalid token at character 6" } ==> Test [22] Set decode_max_depth(5): PASS [Input] { 5 } [Received:success] { 5 } ==> Test [23] Decode array at nested limit: PASS [Input] { "[[[[[ \"nested\" ]]]]]" } [Received:success] { { { { { { "nested" } } } } } } ==> Test [24] Decode array over nested limit [throw error]: PASS [Input] { "[[[[[[ \"nested\" ]]]]]]" } [Received:error] { "Found too many nested data structures (6) at character 6" } ==> Test [25] Decode object at nested limit: PASS [Input] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":\"nested\"}}}}}" } [Received:success] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = "nested" } } } } } } ==> Test [26] Decode object over nested limit [throw error]: PASS [Input] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":{\"f\":\"nested\"}}}}}}" } [Received:error] { "Found too many nested data structures (6) at character 26" } ==> Test [27] Set decode_max_depth(1000): PASS [Input] { 1000 } [Received:success] { 1000 } ==> Test [28] Decode deeply nested array [throw error]: PASS [Input] { "[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[1100]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]" } [Received:error] { "Found too many nested data structures (1001) at character 1001" } ==> Test [29] Set encode_max_depth(5): PASS [Input] { 5 } [Received:success] { 5 } ==> Test [30] Encode nested table as array at nested limit: PASS [Input] { { { { { { "nested" } } } } } } [Received:success] { "[[[[[\"nested\"]]]]]" } ==> Test [31] Encode nested table as array after nested limit [throw error]: PASS [Input] { { { { { { { "nested" } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [32] Encode nested table as object at nested limit: PASS [Input] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = "nested" } } } } } } [Received:success] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":\"nested\"}}}}}" } ==> Test [33] Encode nested table as object over nested limit [throw error]: PASS [Input] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = { ["f"] = "nested" } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [34] Encode table with cycle [throw error]: PASS [Input] { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { Cannot serialise any further: too many nested tables } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [35] Set encode_max_depth(1000): PASS [Input] { 1000 } [Received:success] { 1000 } ==> Test [36] Encode deeply nested data [throw error]: PASS [Input] { { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = Cannot serialise any further: too many nested tables, [2] = "string", ["a"] = Cannot serialise any further: too many nested tables } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (1001)" } ==> Test [37] Encode null: PASS [Input] { json.null } [Received:success] { "null" } ==> Test [38] Encode true: PASS [Input] { true } [Received:success] { "true" } ==> Test [39] Encode false: PASS [Input] { false } [Received:success] { "false" } ==> Test [40] Encode empty object: PASS [Input] { { } } [Received:success] { "{}" } ==> Test [41] Encode integer: PASS [Input] { 10 } [Received:success] { "10" } ==> Test [42] Encode string: PASS [Input] { "hello" } [Received:success] { "\"hello\"" } ==> Test [43] Encode Lua function [throw error]: PASS [Input] { "" } [Received:error] { "Cannot serialise function: type not supported" } ==> Test [44] Set decode_invalid_numbers(true): PASS [Input] { true } [Received:success] { true } ==> Test [45] Decode hexadecimal: PASS [Input] { "0x6.ffp1" } [Received:success] { 13.9921875 } ==> Test [46] Decode numbers with leading zero: PASS [Input] { "[ 0123, 00.33 ]" } [Received:success] { { 123, 0.33 } } ==> Test [47] Decode +-Inf: PASS [Input] { "[ +Inf, Inf, -Inf ]" } [Received:success] { { inf, inf, -inf } } ==> Test [48] Decode +-Infinity: PASS [Input] { "[ +Infinity, Infinity, -Infinity ]" } [Received:success] { { inf, inf, -inf } } ==> Test [49] Decode +-NaN: PASS [Input] { "[ +NaN, NaN, -NaN ]" } [Received:success] { { nan, nan, nan } } ==> Test [50] Decode Infrared (not infinity) [throw error]: PASS [Input] { "Infrared" } [Received:error] { "Expected the end but found invalid token at character 4" } ==> Test [51] Decode Noodle (not NaN) [throw error]: PASS [Input] { "Noodle" } [Received:error] { "Expected value but found invalid token at character 1" } ==> Test [52] Set decode_invalid_numbers(false): PASS [Input] { false } [Received:success] { false } ==> Test [53] Decode hexadecimal [throw error]: PASS [Input] { "0x6" } [Received:error] { "Expected value but found invalid number at character 1" } ==> Test [54] Decode numbers with leading zero [throw error]: PASS [Input] { "[ 0123, 00.33 ]" } [Received:error] { "Expected value but found invalid number at character 3" } ==> Test [55] Decode +-Inf [throw error]: PASS [Input] { "[ +Inf, Inf, -Inf ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [56] Decode +-Infinity [throw error]: PASS [Input] { "[ +Infinity, Infinity, -Infinity ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [57] Decode +-NaN [throw error]: PASS [Input] { "[ +NaN, NaN, -NaN ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [58] Set decode_invalid_numbers("on"): PASS [Input] { "on" } [Received:success] { true } ==> Test [59] Set encode_invalid_numbers(false): PASS [Input] { false } [Received:success] { false } ==> Test [60] Encode NaN [throw error]: PASS [Input] { nan } [Received:error] { "Cannot serialise number: must not be NaN or Inf" } ==> Test [61] Encode Infinity [throw error]: PASS [Input] { inf } [Received:error] { "Cannot serialise number: must not be NaN or Inf" } ==> Test [62] Set encode_invalid_numbers("null"): PASS [Input] { "null" } [Received:success] { "null" } ==> Test [63] Encode NaN as null: PASS [Input] { nan } [Received:success] { "null" } ==> Test [64] Encode Infinity as null: PASS [Input] { inf } [Received:success] { "null" } ==> Test [65] Set encode_invalid_numbers(true): PASS [Input] { true } [Received:success] { true } ==> Test [66] Encode NaN: PASS [Input] { nan } [Received:success] { "nan" } ==> Test [67] Encode Infinity: PASS [Input] { inf } [Received:success] { "inf" } ==> Test [68] Set encode_invalid_numbers("off"): PASS [Input] { "off" } [Received:success] { false } ==> Test [69] Set encode_sparse_array(true, 2, 3): PASS [Input] { true, 2, 3 } [Received:success] { true, 2, 3 } ==> Test [70] Encode sparse table as array #1: PASS [Input] { { [3] = "sparse test" } } [Received:success] { "[null,null,\"sparse test\"]" } ==> Test [71] Encode sparse table as array #2: PASS [Input] { { "one", nil, nil, "sparse test" } } [Received:success] { "[\"one\",null,null,\"sparse test\"]" } ==> Test [72] Encode sparse array as object: PASS [Input] { { [1] = "one", [5] = "sparse test" } } [Received:success] { "{\"1\":\"one\",\"5\":\"sparse test\"}" } ==> Test [73] Encode table with numeric string key as object: PASS [Input] { { ["2"] = "numeric string key test" } } [Received:success] { "{\"2\":\"numeric string key test\"}" } ==> Test [74] Set encode_sparse_array(false): PASS [Input] { false } [Received:success] { false, 2, 3 } ==> Test [75] Encode table with incompatible key [throw error]: PASS [Input] { { [false] = "wrong" } } [Received:error] { "Cannot serialise boolean: table key must be a number or string" } ==> Test [76] Encode all octets (8-bit clean): PASS [Input] { "\0\1\2\3\4\5\6\7\8\9\ \11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31 !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\127" } [Received:success] { "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#$%&'()*+,-.\\/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\u007f\"" } ==> Test [77] Decode all escaped octets: PASS [Input] { "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#$%&'()*+,-.\\/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\u007f\"" } [Received:success] { "\0\1\2\3\4\5\6\7\8\9\ \11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31 !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\127" } ==> Test [78] Decode single UTF-16 escape: PASS [Input] { "\"\\uF800\"" } [Received:success] { "" } ==> Test [79] Decode swapped surrogate pair [throw error]: PASS [Input] { "\"\\uDC00\\uD800\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [80] Decode duplicate high surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [81] Decode duplicate low surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [82] Decode missing low surrogate [throw error]: PASS [Input] { "\"\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [83] Decode invalid low surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uD\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Set locale to cs_CZ (comma separator) ==> Test [84] Encode number under comma locale: PASS [Input] { 1.5 } [Received:success] { "1.5" } ==> Test [85] Decode number in array under comma locale: PASS [Input] { "[ 10, \"test\" ]" } [Received:success] { { 10, "test" } } ==> Revert locale to POSIX ==> Test [86] Set encode_keep_buffer(false): PASS [Input] { false } [Received:success] { false } ==> Test [87] Set encode_number_precision(3): PASS [Input] { 3 } [Received:success] { 3 } ==> Test [88] Encode number with precision 3: PASS [Input] { 0.33333333333333 } [Received:success] { "0.333" } ==> Test [89] Set encode_number_precision(14): PASS [Input] { 14 } [Received:success] { 14 } ==> Test [90] Set encode_keep_buffer(true): PASS [Input] { true } [Received:success] { true } ==> Test [91] Set encode_number_precision(0) [throw error]: PASS [Input] { 0 } [Received:error] { "bad argument #1 to '?' (expected integer between 1 and 14)" } ==> Test [92] Set encode_number_precision("five") [throw error]: PASS [Input] { "five" } [Received:error] { "bad argument #1 to '?' (number expected, got string)" } ==> Test [93] Set encode_keep_buffer(nil, true) [throw error]: PASS [Input] { nil, true } [Received:error] { "bad argument #2 to '?' (found too many arguments)" } ==> Test [94] Set encode_max_depth("wrong") [throw error]: PASS [Input] { "wrong" } [Received:error] { "bad argument #1 to '?' (number expected, got string)" } ==> Test [95] Set decode_max_depth(0) [throw error]: PASS [Input] { "0" } [Received:error] { "bad argument #1 to '?' (expected integer between 1 and 2147483647)" } ==> Test [96] Set encode_invalid_numbers(-2) [throw error]: PASS [Input] { -2 } [Received:error] { "bad argument #1 to '?' (invalid option '-2')" } ==> Test [97] Set decode_invalid_numbers(true, false) [throw error]: PASS [Input] { true, false } [Received:error] { "bad argument #2 to '?' (found too many arguments)" } ==> Test [98] Set encode_sparse_array("not quite on") [throw error]: PASS [Input] { "not quite on" } [Received:error] { "bad argument #1 to '?' (invalid option 'not quite on')" } ==> Reset Lua CJSON configuration ==> Test [99] Check encode_sparse_array(): PASS [Input] { } [Received:success] { false, 2, 10 } ==> Test [100] Encode (safe) simple value: PASS [Input] { true } [Received:success] { "true" } ==> Test [101] Encode (safe) argument validation [throw error]: PASS [Input] { "arg1", "arg2" } [Received:error] { "bad argument #1 to '?' (expected 1 argument)" } ==> Test [102] Decode (safe) error generation: PASS [Input] { "Oops" } [Received:success] { nil, "Expected value but found invalid token at character 1" } ==> Test [103] Decode (safe) error generation after new(): PASS [Input] { "Oops" } [Received:success] { nil, "Expected value but found invalid token at character 1" } ==> Summary: all tests succeeded ************************************************** libtool --silent --tag=CC --mode=link cc -g -O2 -fdebug-prefix-map=/<>/lua-cjson-2.1.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include/lua5.2 -Wall -Wextra -Wl,--no-add-needed \ -static -o /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/app-static -I . -I /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/ \ /usr/share/dh-lua/test/5.2/app.c /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/liblua5.2-cjson.la \ -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr//lib/arm-linux-gnueabihf -llua5.2 -lm -ldl ldd /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/app-static liblua5.2.so.0 => /usr/lib/arm-linux-gnueabihf/liblua5.2.so.0 (0xf757e000) libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xf7501000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xf740d000) /lib/ld-linux-armhf.so.3 (0xf75c0000) libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xf73fa000) *********************** app static (5.2) ********* Test: cd tests/ && @@LUA@@ test.lua ==> Testing Lua CJSON version 2.1.0 ==> Test [1] Check module name, version: PASS [Input] { } [Received:success] { "cjson", "2.1.0" } ==> Test [2] Decode string: PASS [Input] { "\"test string\"" } [Received:success] { "test string" } ==> Test [3] Decode numbers: PASS [Input] { "[ 0.0, -5e3, -1, 0.3e-3, 1023.2, 0e10 ]" } [Received:success] { { 0, -5000, -1, 0.0003, 1023.2, 0 } } ==> Test [4] Decode null: PASS [Input] { "null" } [Received:success] { json.null } ==> Test [5] Decode true: PASS [Input] { "true" } [Received:success] { true } ==> Test [6] Decode false: PASS [Input] { "false" } [Received:success] { false } ==> Test [7] Decode object with numeric keys: PASS [Input] { "{ \"1\": \"one\", \"3\": \"three\" }" } [Received:success] { { ["1"] = "one", ["3"] = "three" } } ==> Test [8] Decode object with string keys: PASS [Input] { "{ \"a\": \"a\", \"b\": \"b\" }" } [Received:success] { { ["a"] = "a", ["b"] = "b" } } ==> Test [9] Decode array: PASS [Input] { "[ \"one\", null, \"three\" ]" } [Received:success] { { "one", json.null, "three" } } ==> Test [10] Decode UTF-16BE [throw error]: PASS [Input] { "\0\"\0\"" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [11] Decode UTF-16LE [throw error]: PASS [Input] { "\"\0\"\0" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [12] Decode UTF-32BE [throw error]: PASS [Input] { "\0\0\0\"" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [13] Decode UTF-32LE [throw error]: PASS [Input] { "\"\0\0\0" } [Received:error] { "JSON parser does not support UTF-16 or UTF-32" } ==> Test [14] Decode partial JSON [throw error]: PASS [Input] { "{ \"unexpected eof\": " } [Received:error] { "Expected value but found T_END at character 21" } ==> Test [15] Decode with extra comma [throw error]: PASS [Input] { "{ \"extra data\": true }, false" } [Received:error] { "Expected the end but found T_COMMA at character 23" } ==> Test [16] Decode invalid escape code [throw error]: PASS [Input] { " { \"bad escape \\q code\" } " } [Received:error] { "Expected object key string but found invalid escape code at character 16" } ==> Test [17] Decode invalid unicode escape [throw error]: PASS [Input] { " { \"bad unicode \\u0f6 escape\" } " } [Received:error] { "Expected object key string but found invalid unicode escape code at character 17" } ==> Test [18] Decode invalid keyword [throw error]: PASS [Input] { " [ \"bad barewood\", test ] " } [Received:error] { "Expected value but found invalid token at character 20" } ==> Test [19] Decode invalid number #1 [throw error]: PASS [Input] { "[ -+12 ]" } [Received:error] { "Expected value but found invalid number at character 3" } ==> Test [20] Decode invalid number #2 [throw error]: PASS [Input] { "-v" } [Received:error] { "Expected value but found invalid number at character 1" } ==> Test [21] Decode invalid number exponent [throw error]: PASS [Input] { "[ 0.4eg10 ]" } [Received:error] { "Expected comma or array end but found invalid token at character 6" } ==> Test [22] Set decode_max_depth(5): PASS [Input] { 5 } [Received:success] { 5 } ==> Test [23] Decode array at nested limit: PASS [Input] { "[[[[[ \"nested\" ]]]]]" } [Received:success] { { { { { { "nested" } } } } } } ==> Test [24] Decode array over nested limit [throw error]: PASS [Input] { "[[[[[[ \"nested\" ]]]]]]" } [Received:error] { "Found too many nested data structures (6) at character 6" } ==> Test [25] Decode object at nested limit: PASS [Input] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":\"nested\"}}}}}" } [Received:success] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = "nested" } } } } } } ==> Test [26] Decode object over nested limit [throw error]: PASS [Input] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":{\"f\":\"nested\"}}}}}}" } [Received:error] { "Found too many nested data structures (6) at character 26" } ==> Test [27] Set decode_max_depth(1000): PASS [Input] { 1000 } [Received:success] { 1000 } ==> Test [28] Decode deeply nested array [throw error]: PASS [Input] { "[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[1100]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]" } [Received:error] { "Found too many nested data structures (1001) at character 1001" } ==> Test [29] Set encode_max_depth(5): PASS [Input] { 5 } [Received:success] { 5 } ==> Test [30] Encode nested table as array at nested limit: PASS [Input] { { { { { { "nested" } } } } } } [Received:success] { "[[[[[\"nested\"]]]]]" } ==> Test [31] Encode nested table as array after nested limit [throw error]: PASS [Input] { { { { { { { "nested" } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [32] Encode nested table as object at nested limit: PASS [Input] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = "nested" } } } } } } [Received:success] { "{\"a\":{\"b\":{\"c\":{\"d\":{\"e\":\"nested\"}}}}}" } ==> Test [33] Encode nested table as object over nested limit [throw error]: PASS [Input] { { ["a"] = { ["b"] = { ["c"] = { ["d"] = { ["e"] = { ["f"] = "nested" } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [34] Encode table with cycle [throw error]: PASS [Input] { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { { Cannot serialise any further: too many nested tables } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (6)" } ==> Test [35] Set encode_max_depth(1000): PASS [Input] { 1000 } [Received:success] { 1000 } ==> Test [36] Encode deeply nested data [throw error]: PASS [Input] { { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = { 10, false, true, json.null }, [2] = "string", ["a"] = { [1] = Cannot serialise any further: too many nested tables, [2] = "string", ["a"] = Cannot serialise any further: too many nested tables } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } [Received:error] { "Cannot serialise, excessive nesting (1001)" } ==> Test [37] Encode null: PASS [Input] { json.null } [Received:success] { "null" } ==> Test [38] Encode true: PASS [Input] { true } [Received:success] { "true" } ==> Test [39] Encode false: PASS [Input] { false } [Received:success] { "false" } ==> Test [40] Encode empty object: PASS [Input] { { } } [Received:success] { "{}" } ==> Test [41] Encode integer: PASS [Input] { 10 } [Received:success] { "10" } ==> Test [42] Encode string: PASS [Input] { "hello" } [Received:success] { "\"hello\"" } ==> Test [43] Encode Lua function [throw error]: PASS [Input] { "" } [Received:error] { "Cannot serialise function: type not supported" } ==> Test [44] Set decode_invalid_numbers(true): PASS [Input] { true } [Received:success] { true } ==> Test [45] Decode hexadecimal: PASS [Input] { "0x6.ffp1" } [Received:success] { 13.9921875 } ==> Test [46] Decode numbers with leading zero: PASS [Input] { "[ 0123, 00.33 ]" } [Received:success] { { 123, 0.33 } } ==> Test [47] Decode +-Inf: PASS [Input] { "[ +Inf, Inf, -Inf ]" } [Received:success] { { inf, inf, -inf } } ==> Test [48] Decode +-Infinity: PASS [Input] { "[ +Infinity, Infinity, -Infinity ]" } [Received:success] { { inf, inf, -inf } } ==> Test [49] Decode +-NaN: PASS [Input] { "[ +NaN, NaN, -NaN ]" } [Received:success] { { nan, nan, nan } } ==> Test [50] Decode Infrared (not infinity) [throw error]: PASS [Input] { "Infrared" } [Received:error] { "Expected the end but found invalid token at character 4" } ==> Test [51] Decode Noodle (not NaN) [throw error]: PASS [Input] { "Noodle" } [Received:error] { "Expected value but found invalid token at character 1" } ==> Test [52] Set decode_invalid_numbers(false): PASS [Input] { false } [Received:success] { false } ==> Test [53] Decode hexadecimal [throw error]: PASS [Input] { "0x6" } [Received:error] { "Expected value but found invalid number at character 1" } ==> Test [54] Decode numbers with leading zero [throw error]: PASS [Input] { "[ 0123, 00.33 ]" } [Received:error] { "Expected value but found invalid number at character 3" } ==> Test [55] Decode +-Inf [throw error]: PASS [Input] { "[ +Inf, Inf, -Inf ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [56] Decode +-Infinity [throw error]: PASS [Input] { "[ +Infinity, Infinity, -Infinity ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [57] Decode +-NaN [throw error]: PASS [Input] { "[ +NaN, NaN, -NaN ]" } [Received:error] { "Expected value but found invalid token at character 3" } ==> Test [58] Set decode_invalid_numbers("on"): PASS [Input] { "on" } [Received:success] { true } ==> Test [59] Set encode_invalid_numbers(false): PASS [Input] { false } [Received:success] { false } ==> Test [60] Encode NaN [throw error]: PASS [Input] { nan } [Received:error] { "Cannot serialise number: must not be NaN or Inf" } ==> Test [61] Encode Infinity [throw error]: PASS [Input] { inf } [Received:error] { "Cannot serialise number: must not be NaN or Inf" } ==> Test [62] Set encode_invalid_numbers("null"): PASS [Input] { "null" } [Received:success] { "null" } ==> Test [63] Encode NaN as null: PASS [Input] { nan } [Received:success] { "null" } ==> Test [64] Encode Infinity as null: PASS [Input] { inf } [Received:success] { "null" } ==> Test [65] Set encode_invalid_numbers(true): PASS [Input] { true } [Received:success] { true } ==> Test [66] Encode NaN: PASS [Input] { nan } [Received:success] { "nan" } ==> Test [67] Encode Infinity: PASS [Input] { inf } [Received:success] { "inf" } ==> Test [68] Set encode_invalid_numbers("off"): PASS [Input] { "off" } [Received:success] { false } ==> Test [69] Set encode_sparse_array(true, 2, 3): PASS [Input] { true, 2, 3 } [Received:success] { true, 2, 3 } ==> Test [70] Encode sparse table as array #1: PASS [Input] { { [3] = "sparse test" } } [Received:success] { "[null,null,\"sparse test\"]" } ==> Test [71] Encode sparse table as array #2: PASS [Input] { { "one", nil, nil, "sparse test" } } [Received:success] { "[\"one\",null,null,\"sparse test\"]" } ==> Test [72] Encode sparse array as object: PASS [Input] { { [1] = "one", [5] = "sparse test" } } [Received:success] { "{\"1\":\"one\",\"5\":\"sparse test\"}" } ==> Test [73] Encode table with numeric string key as object: PASS [Input] { { ["2"] = "numeric string key test" } } [Received:success] { "{\"2\":\"numeric string key test\"}" } ==> Test [74] Set encode_sparse_array(false): PASS [Input] { false } [Received:success] { false, 2, 3 } ==> Test [75] Encode table with incompatible key [throw error]: PASS [Input] { { [false] = "wrong" } } [Received:error] { "Cannot serialise boolean: table key must be a number or string" } ==> Test [76] Encode all octets (8-bit clean): PASS [Input] { "\0\1\2\3\4\5\6\7\8\9\ \11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31 !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\127" } [Received:success] { "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#$%&'()*+,-.\\/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\u007f\"" } ==> Test [77] Decode all escaped octets: PASS [Input] { "\"\\u0000\\u0001\\u0002\\u0003\\u0004\\u0005\\u0006\\u0007\\b\\t\\n\\u000b\\f\\r\\u000e\\u000f\\u0010\\u0011\\u0012\\u0013\\u0014\\u0015\\u0016\\u0017\\u0018\\u0019\\u001a\\u001b\\u001c\\u001d\\u001e\\u001f !\\\"#$%&'()*+,-.\\/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\u007f\"" } [Received:success] { "\0\1\2\3\4\5\6\7\8\9\ \11\12\13\14\15\16\17\18\19\20\21\22\23\24\25\26\27\28\29\30\31 !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\127" } ==> Test [78] Decode single UTF-16 escape: PASS [Input] { "\"\\uF800\"" } [Received:success] { "" } ==> Test [79] Decode swapped surrogate pair [throw error]: PASS [Input] { "\"\\uDC00\\uD800\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [80] Decode duplicate high surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [81] Decode duplicate low surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [82] Decode missing low surrogate [throw error]: PASS [Input] { "\"\\uDB00\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Test [83] Decode invalid low surrogate [throw error]: PASS [Input] { "\"\\uDB00\\uD\"" } [Received:error] { "Expected value but found invalid unicode escape code at character 2" } ==> Set locale to cs_CZ (comma separator) ==> Test [84] Encode number under comma locale: PASS [Input] { 1.5 } [Received:success] { "1.5" } ==> Test [85] Decode number in array under comma locale: PASS [Input] { "[ 10, \"test\" ]" } [Received:success] { { 10, "test" } } ==> Revert locale to POSIX ==> Test [86] Set encode_keep_buffer(false): PASS [Input] { false } [Received:success] { false } ==> Test [87] Set encode_number_precision(3): PASS [Input] { 3 } [Received:success] { 3 } ==> Test [88] Encode number with precision 3: PASS [Input] { 0.33333333333333 } [Received:success] { "0.333" } ==> Test [89] Set encode_number_precision(14): PASS [Input] { 14 } [Received:success] { 14 } ==> Test [90] Set encode_keep_buffer(true): PASS [Input] { true } [Received:success] { true } ==> Test [91] Set encode_number_precision(0) [throw error]: PASS [Input] { 0 } [Received:error] { "bad argument #1 to '?' (expected integer between 1 and 14)" } ==> Test [92] Set encode_number_precision("five") [throw error]: PASS [Input] { "five" } [Received:error] { "bad argument #1 to '?' (number expected, got string)" } ==> Test [93] Set encode_keep_buffer(nil, true) [throw error]: PASS [Input] { nil, true } [Received:error] { "bad argument #2 to '?' (found too many arguments)" } ==> Test [94] Set encode_max_depth("wrong") [throw error]: PASS [Input] { "wrong" } [Received:error] { "bad argument #1 to '?' (number expected, got string)" } ==> Test [95] Set decode_max_depth(0) [throw error]: PASS [Input] { "0" } [Received:error] { "bad argument #1 to '?' (expected integer between 1 and 2147483647)" } ==> Test [96] Set encode_invalid_numbers(-2) [throw error]: PASS [Input] { -2 } [Received:error] { "bad argument #1 to '?' (invalid option '-2')" } ==> Test [97] Set decode_invalid_numbers(true, false) [throw error]: PASS [Input] { true, false } [Received:error] { "bad argument #2 to '?' (found too many arguments)" } ==> Test [98] Set encode_sparse_array("not quite on") [throw error]: PASS [Input] { "not quite on" } [Received:error] { "bad argument #1 to '?' (invalid option 'not quite on')" } ==> Reset Lua CJSON configuration ==> Test [99] Check encode_sparse_array(): PASS [Input] { } [Received:success] { false, 2, 10 } ==> Test [100] Encode (safe) simple value: PASS [Input] { true } [Received:success] { "true" } ==> Test [101] Encode (safe) argument validation [throw error]: PASS [Input] { "arg1", "arg2" } [Received:error] { "bad argument #1 to '?' (expected 1 argument)" } ==> Test [102] Decode (safe) error generation: PASS [Input] { "Oops" } [Received:success] { nil, "Expected value but found invalid token at character 1" } ==> Test [103] Decode (safe) error generation after new(): PASS [Input] { "Oops" } [Received:success] { nil, "Expected value but found invalid token at character 1" } ==> Summary: all tests succeeded ************************************************** Target test made fakeroot debian/rules binary-arch dh binary-arch --buildsystem=lua --with lua dh: Compatibility levels before 9 are deprecated (level 7 in use) dh_testroot -a -O--buildsystem=lua dh_prep -a -O--buildsystem=lua dh_auto_install -a -O--buildsystem=lua dh_auto_install: Compatibility levels before 9 are deprecated (level 7 in use) make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple install /<>/lua-cjson-2.1.0\+dfsg/debian/tmp Making target install for debian/lua5.1.dh-lua.conf # .lua Installing lua/cjson/util.lua in debian/tmp/usr//share/lua/5.1 # debian/substvars Filling in debian/lua-cjson.substvars Adding new line: lua:Versions=5.1 5.2 Filling in debian/lua-cjson-dev.substvars Adding new line: lua:Versions=5.1 5.2 Filling in debian/lua-cjson.substvars Adding new line: lua:Provides=lua5.2-cjson, lua5.1-cjson, Filling in debian/lua-cjson-dev.substvars Adding new line: lua:Provides=lua5.2-cjson-dev, lua5.1-cjson-dev, # .so Installing liblua5.1-cjson libtool: warning: remember to run 'libtool --finish /usr//lib/arm-linux-gnueabihf' libtool --silent --tag=CC --finish debian/tmp/usr//lib/arm-linux-gnueabihf Creating symlink cjson.so # .pc Installing lua5.1-cjson.pc # .h Installing /<>/lua-cjson-2.1.0+dfsg/5.1-cjson/lua-cjson.h Target install made Making target install for debian/lua5.2.dh-lua.conf # .lua Installing lua/cjson/util.lua in debian/tmp/usr//share/lua/5.2 # debian/substvars Filling in debian/lua-cjson.substvars Skipping already existing line: lua:Versions=5.1 5.2 Filling in debian/lua-cjson-dev.substvars Skipping already existing line: lua:Versions=5.1 5.2 Filling in debian/lua-cjson.substvars Skipping already existing line: lua:Provides=lua5.2-cjson, lua5.1-cjson, Filling in debian/lua-cjson-dev.substvars Skipping already existing line: lua:Provides=lua5.2-cjson-dev, lua5.1-cjson-dev, # .so Installing liblua5.2-cjson libtool: warning: remember to run 'libtool --finish /usr//lib/arm-linux-gnueabihf' libtool --silent --tag=CC --finish debian/tmp/usr//lib/arm-linux-gnueabihf Creating symlink cjson.so # .pc Installing lua5.2-cjson.pc # .h Installing /<>/lua-cjson-2.1.0+dfsg/5.2-cjson/lua-cjson.h Target install made make[1]: Nothing to be done for '/<>/lua-cjson-2.1.0+dfsg/debian/tmp'. dh_install -a -O--buildsystem=lua dh_install: Compatibility levels before 9 are deprecated (level 7 in use) dh_lua -a -O--buildsystem=lua deduplicating cjson/util.lua dh_installdocs -a -O--buildsystem=lua dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use) dh_installchangelogs -a -O--buildsystem=lua dh_perl -a -O--buildsystem=lua dh_link -a -O--buildsystem=lua dh_strip_nondeterminism -a -O--buildsystem=lua dh_compress -X.lua -a -O--buildsystem=lua dh_compress: Compatibility levels before 9 are deprecated (level 7 in use) dh_compress: Compatibility levels before 9 are deprecated (level 7 in use) dh_fixperms -a -O--buildsystem=lua dh_missing -a -O--buildsystem=lua dh_missing: Compatibility levels before 9 are deprecated (level 7 in use) dh_strip -a -O--buildsystem=lua dh_strip: Compatibility levels before 9 are deprecated (level 7 in use) dh_strip: Compatibility levels before 9 are deprecated (level 7 in use) dh_makeshlibs -a -O--buildsystem=lua dh_makeshlibs: Compatibility levels before 9 are deprecated (level 7 in use) dh_shlibdeps -a -O--buildsystem=lua dh_shlibdeps: Compatibility levels before 9 are deprecated (level 7 in use) dh_shlibdeps: Compatibility levels before 9 are deprecated (level 7 in use) dpkg-shlibdeps: warning: symbol lua_pushcclosure used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_insert used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_pushboolean used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_pushlightuserdata used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_tonumber used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_pushlstring used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_rawgeti used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_pcall used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_type used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_pushnil used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: 26 other similar warnings have been skipped (use -v to see them all) dpkg-shlibdeps: warning: symbol lua_getfield used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_rawset used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_pushnumber used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_touserdata used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_checkstack used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol luaL_setfuncs used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_tolstring used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol luaL_checklstring used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol lua_next used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol luaL_argerror used by debian/lua-cjson/usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: 26 other similar warnings have been skipped (use -v to see them all) dh_installdeb -a -O--buildsystem=lua dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use) dh_gencontrol -a -O--buildsystem=lua dpkg-gencontrol: warning: Depends field of package lua-cjson-dev: unknown substitution variable ${shlibs:Depends} dh_md5sums -a -O--buildsystem=lua dh_builddeb -a -O--buildsystem=lua INFO: pkgstriptranslations version 131 INFO: pkgstriptranslations version 131 INFO: pkgstriptranslations version 131 pkgstriptranslations: processing lua-cjson-dev (in debian/lua-cjson-dev); do_strip: , oemstrip: pkgstriptranslations: processing lua-cjson (in debian/lua-cjson); do_strip: , oemstrip: pkgstriptranslations: processing lua-cjson-dbgsym (in debian/.debhelper/lua-cjson/dbgsym-root); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/lua-cjson-dev/DEBIAN/control, package lua-cjson-dev, directory debian/lua-cjson-dev pkgstripfiles: processing control file: debian/lua-cjson/DEBIAN/control, package lua-cjson, directory debian/lua-cjson INFO: pkgstripfiles: waiting for lock (lua-cjson-dev) ... pkgstripfiles: Running PNG optimization (using 4 cpus) for package lua-cjson ... pkgstripfiles: No PNG files. dpkg-deb: building package 'lua-cjson' in '../lua-cjson_2.1.0+dfsg-2.1_armhf.deb'. Searching for duplicated docs in dependency lua-cjson... symlinking changelog.Debian.gz in lua-cjson-dev to file in lua-cjson pkgstripfiles: Running PNG optimization (using 4 cpus) for package lua-cjson-dev ... pkgstripfiles: No PNG files. dpkg-deb: building package 'lua-cjson-dev' in '../lua-cjson-dev_2.1.0+dfsg-2.1_armhf.deb'. pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/.debhelper/lua-cjson/dbgsym-root/DEBIAN/control, package lua-cjson-dbgsym, directory debian/.debhelper/lua-cjson/dbgsym-root pkgstripfiles: Running PNG optimization (using 4 cpus) for package lua-cjson-dbgsym ... pkgstripfiles: No PNG files. dpkg-deb: building package 'lua-cjson-dbgsym' in 'debian/.debhelper/scratch-space/build-lua-cjson/lua-cjson-dbgsym_2.1.0+dfsg-2.1_armhf.deb'. Renaming lua-cjson-dbgsym_2.1.0+dfsg-2.1_armhf.deb to lua-cjson-dbgsym_2.1.0+dfsg-2.1_armhf.ddeb dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../lua-cjson_2.1.0+dfsg-2.1_armhf.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build lua-cjson-2.1.0+dfsg dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 20180205-0512 Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Post Build Chroot | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ lua-cjson_2.1.0+dfsg-2.1_armhf.changes: --------------------------------------- Format: 1.8 Date: Sat, 20 Jan 2018 21:15:36 +0100 Source: lua-cjson Binary: lua-cjson lua-cjson-dev Architecture: armhf Version: 2.1.0+dfsg-2.1 Distribution: bionic-proposed Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Aurelien Jarno Description: lua-cjson - JSON parser/encoder for Lua lua-cjson-dev - JSON parser/encoder for Lua, development files Closes: 870548 Changes: lua-cjson (2.1.0+dfsg-2.1) unstable; urgency=medium . * Non-maintainer upload. * debian/control: Drop explicit Pre-Depends on multiarch-support (Closes: #870548). Checksums-Sha1: 85fc1fac230bed165499a566a1194b7e39ad34e8 46136 lua-cjson-dbgsym_2.1.0+dfsg-2.1_armhf.ddeb 3014ca922242bee8fa6cb980004beac84399537f 28964 lua-cjson-dev_2.1.0+dfsg-2.1_armhf.deb a72cad0cfabfcff6fb6998b34acd7a6b549f5f94 6050 lua-cjson_2.1.0+dfsg-2.1_armhf.buildinfo baba5c67f3aa8efa168ac78e81cbf5e871526d10 15088 lua-cjson_2.1.0+dfsg-2.1_armhf.deb Checksums-Sha256: 90217189b214f7d7c3978176991d156da60c8809e5c051fb9b003cb4d9fd181a 46136 lua-cjson-dbgsym_2.1.0+dfsg-2.1_armhf.ddeb 8f869719b3244b7197057962931cc8ab276744d618735a4571c9f80a44b09392 28964 lua-cjson-dev_2.1.0+dfsg-2.1_armhf.deb efe66b4ff6a381870ae7c19faf4acec446202a17961a6f7c23296b538cee8d04 6050 lua-cjson_2.1.0+dfsg-2.1_armhf.buildinfo f5f2d8c7e2a9c22ac41be5bd6b6e40352aaec3fda30744a25cef9548ab7c961e 15088 lua-cjson_2.1.0+dfsg-2.1_armhf.deb Files: 1289d03b74849a4593219ff2bd7cab5a 46136 debug optional lua-cjson-dbgsym_2.1.0+dfsg-2.1_armhf.ddeb 19c347dbde50e896a8e3697c78af950a 28964 libdevel optional lua-cjson-dev_2.1.0+dfsg-2.1_armhf.deb 3e615e4851b8d8a0b99e32e8f918016c 6050 interpreters optional lua-cjson_2.1.0+dfsg-2.1_armhf.buildinfo c1830ab5a757dbb31e1f5427ce3dfe29 15088 interpreters optional lua-cjson_2.1.0+dfsg-2.1_armhf.deb +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ lua-cjson-dev_2.1.0+dfsg-2.1_armhf.deb -------------------------------------- new debian package, version 2.0. size 28964 bytes: control archive=1060 bytes. 762 bytes, 19 lines control 838 bytes, 11 lines md5sums Package: lua-cjson-dev Source: lua-cjson Version: 2.1.0+dfsg-2.1 Architecture: armhf Maintainer: Ubuntu Developers Original-Maintainer: The Debian Lua Team Installed-Size: 121 Depends: lua-cjson (= 2.1.0+dfsg-2.1) Provides: lua5.1-cjson-dev, lua5.2-cjson-dev Section: libdevel Priority: optional Multi-Arch: same Homepage: http://www.kyne.com.au/~mark/software/lua-cjson.php Description: JSON parser/encoder for Lua, development files This package contains the development files of the lua-cjson library, useful to create a statically linked binary (like a C application or a standalone Lua interpreter). Documentation is also shipped within this package. Lua-Versions: 5.1 5.2 drwxr-xr-x root/root 0 2018-01-20 20:15 ./ drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/ drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/include/ drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/include/lua5.1/ -rw-r--r-- root/root 109 2018-01-20 20:15 ./usr/include/lua5.1/lua-cjson.h drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/include/lua5.2/ -rw-r--r-- root/root 109 2018-01-20 20:15 ./usr/include/lua5.2/lua-cjson.h drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/lib/ drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/ -rw-r--r-- root/root 22476 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.a lrwxrwxrwx root/root 0 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.so -> liblua5.1-cjson.so.0.0.0 -rw-r--r-- root/root 22352 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.a lrwxrwxrwx root/root 0 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.so -> liblua5.2-cjson.so.0.0.0 drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/pkgconfig/ -rw-r--r-- root/root 393 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/pkgconfig/lua5.1-cjson.pc -rw-r--r-- root/root 393 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/pkgconfig/lua5.2-cjson.pc drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/share/ drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/share/doc/ drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/share/doc/lua-cjson-dev/ lrwxrwxrwx root/root 0 2018-01-20 20:15 ./usr/share/doc/lua-cjson-dev/changelog.Debian.gz -> ../lua-cjson/changelog.Debian.gz -rw-r--r-- root/root 2384 2012-08-24 13:21 ./usr/share/doc/lua-cjson-dev/copyright -rw-r--r-- root/root 304 2012-08-24 13:21 ./usr/share/doc/lua-cjson-dev/json2lua.lua -rw-r--r-- root/root 387 2012-08-24 13:21 ./usr/share/doc/lua-cjson-dev/lua2json.lua -rw-r--r-- root/root 47864 2012-08-24 13:21 ./usr/share/doc/lua-cjson-dev/manual.html -rw-r--r-- root/root 5934 2012-08-24 13:21 ./usr/share/doc/lua-cjson-dev/manual.txt.gz lua-cjson_2.1.0+dfsg-2.1_armhf.deb ---------------------------------- new debian package, version 2.0. size 15088 bytes: control archive=1096 bytes. 837 bytes, 21 lines control 387 bytes, 5 lines md5sums 56 bytes, 2 lines shlibs 74 bytes, 2 lines triggers Package: lua-cjson Version: 2.1.0+dfsg-2.1 Architecture: armhf Maintainer: Ubuntu Developers Original-Maintainer: The Debian Lua Team Installed-Size: 71 Depends: libc6 (>= 2.4) Provides: lua5.1-cjson, lua5.2-cjson Section: interpreters Priority: optional Multi-Arch: same Homepage: http://www.kyne.com.au/~mark/software/lua-cjson.php Description: JSON parser/encoder for Lua This library allows you to easily convert Lua values to JSON strings and back. Features: * Fast, standards compliant encoding/parsing routines * Full support for JSON with UTF-8, including decoding surrogate pairs * Optional run-time support for common exceptions to the JSON specification (infinity, NaN,..) * No dependencies on other libraries Lua-Versions: 5.1 5.2 drwxr-xr-x root/root 0 2018-01-20 20:15 ./ drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/ drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/lib/ drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/ lrwxrwxrwx root/root 0 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.so.0 -> liblua5.1-cjson.so.0.0.0 -rw-r--r-- root/root 18116 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/liblua5.1-cjson.so.0.0.0 lrwxrwxrwx root/root 0 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.so.0 -> liblua5.2-cjson.so.0.0.0 -rw-r--r-- root/root 18116 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/liblua5.2-cjson.so.0.0.0 drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/lua/ drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/lua/5.1/ lrwxrwxrwx root/root 0 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/lua/5.1/cjson.so -> ../../liblua5.1-cjson.so.0.0.0 drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/lua/5.2/ lrwxrwxrwx root/root 0 2018-01-20 20:15 ./usr/lib/arm-linux-gnueabihf/lua/5.2/cjson.so -> ../../liblua5.2-cjson.so.0.0.0 drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/share/ drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/share/doc/ drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/share/doc/lua-cjson/ -rw-r--r-- root/root 331 2018-01-20 20:15 ./usr/share/doc/lua-cjson/changelog.Debian.gz -rw-r--r-- root/root 2384 2012-08-24 13:21 ./usr/share/doc/lua-cjson/copyright drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/share/lua/ drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/share/lua/5.1/ drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/share/lua/5.1/cjson/ -rw-r--r-- root/root 7521 2018-01-20 20:15 ./usr/share/lua/5.1/cjson/util.lua drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/share/lua/5.2/ drwxr-xr-x root/root 0 2018-01-20 20:15 ./usr/share/lua/5.2/cjson/ lrwxrwxrwx root/root 0 2018-01-20 20:15 ./usr/share/lua/5.2/cjson/util.lua -> ../../5.1/cjson/util.lua +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: armhf Build-Space: 2616 Build-Time: 58 Distribution: bionic-proposed Host Architecture: armhf Install-Time: 23 Job: lua-cjson_2.1.0+dfsg-2.1.dsc Machine Architecture: arm64 Package: lua-cjson Package-Time: 84 Source-Version: 2.1.0+dfsg-2.1 Space: 2616 Status: successful Version: 2.1.0+dfsg-2.1 -------------------------------------------------------------------------------- Finished at 20180205-0512 Build needed 00:01:24, 2616k disc space RUN: /usr/share/launchpad-buildd/slavebin/in-target scan-for-processes --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-14309714 Scanning for processes to kill in build PACKAGEBUILD-14309714 RUN: /usr/share/launchpad-buildd/slavebin/in-target umount-chroot --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-14309714 Stopping target for build PACKAGEBUILD-14309714 RUN: /usr/share/launchpad-buildd/slavebin/in-target remove-build --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-14309714 Removing build PACKAGEBUILD-14309714