https://launchpad.net/ubuntu/+archive/test-rebuild-20210805-impish/+build/21857289 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos02-ppc64el-008 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:00:19 UTC 2021 ppc64le Buildd toolchain package versions: launchpad-buildd_200~495~ubuntu18.04.1 python3-lpbuildd_200~495~ubuntu18.04.1 sbuild_0.75.0-1ubuntu1 bzr-builder_0.7.3+bzr174~ppa13~ubuntu16.04.1 bzr_2.7.0+bzr6622-10 git-build-recipe_0.3.6~git201906051340.ff11471~ubuntu18.04.1 git_1:2.17.1-1ubuntu0.8 dpkg-dev_1.19.0.5ubuntu2.3 python-debian_0.1.32 python3-debian_0.1.32. Syncing the system clock with the buildd NTP service... 2 Sep 13:59:43 ntpdate[1944]: adjust time server 10.211.37.1 offset 0.019890 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=impish --arch=ppc64el PACKAGEBUILD-21857289 --image-type chroot /home/buildd/filecache-default/24da345c42c7b7d23c5463cf41fef66fd18cba1d Creating target for build PACKAGEBUILD-21857289 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=impish --arch=ppc64el PACKAGEBUILD-21857289 Starting target for build PACKAGEBUILD-21857289 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=impish --arch=ppc64el PACKAGEBUILD-21857289 'deb http://ppa.launchpad.net/ubuntu-toolchain-r/volatile/ubuntu impish main' 'deb http://ftpmaster.internal/ubuntu impish main restricted universe multiverse' Overriding sources.list in build-PACKAGEBUILD-21857289 RUN: /usr/share/launchpad-buildd/bin/in-target add-trusted-keys --backend=chroot --series=impish --arch=ppc64el PACKAGEBUILD-21857289 Adding trusted keys to build-PACKAGEBUILD-21857289 Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). OK Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). /etc/apt/trusted.gpg -------------------- pub rsa1024 2009-10-22 [SC] 60C3 1780 3A41 BA51 845E 371A 1E93 77A2 BA9E F27F uid [ unknown] Launchpad Toolchain builds /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg ------------------------------------------------------ pub rsa4096 2012-05-11 [SC] 8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092 uid [ unknown] Ubuntu CD Image Automatic Signing Key (2012) /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg ------------------------------------------------------ pub rsa4096 2018-09-17 [SC] F6EC B376 2474 EDA9 D21B 7022 8719 20D1 991B C93C uid [ unknown] Ubuntu Archive Automatic Signing Key (2018) RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=impish --arch=ppc64el PACKAGEBUILD-21857289 Updating target for build PACKAGEBUILD-21857289 Get:1 http://ftpmaster.internal/ubuntu impish InRelease [269 kB] Get:2 http://ppa.launchpad.net/ubuntu-toolchain-r/volatile/ubuntu impish InRelease [17.5 kB] Get:3 http://ppa.launchpad.net/ubuntu-toolchain-r/volatile/ubuntu impish/main ppc64el Packages [31.7 kB] Get:4 http://ftpmaster.internal/ubuntu impish/main ppc64el Packages [1360 kB] Get:5 http://ppa.launchpad.net/ubuntu-toolchain-r/volatile/ubuntu impish/main Translation-en [11.9 kB] Get:6 http://ftpmaster.internal/ubuntu impish/main Translation-en [513 kB] Get:7 http://ftpmaster.internal/ubuntu impish/restricted ppc64el Packages [4096 B] Get:8 http://ftpmaster.internal/ubuntu impish/restricted Translation-en [12.5 kB] Get:9 http://ftpmaster.internal/ubuntu impish/universe ppc64el Packages [13.3 MB] Get:10 http://ftpmaster.internal/ubuntu impish/universe Translation-en [5464 kB] Get:11 http://ftpmaster.internal/ubuntu impish/multiverse ppc64el Packages [174 kB] Get:12 http://ftpmaster.internal/ubuntu impish/multiverse Translation-en [108 kB] Fetched 21.2 MB in 7s (3204 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: g++-10 libstdc++-10-dev Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: cpp-11 g++-11 gcc-11 libexpat1 libgcc-11-dev libmpdec3 libpython3-stdlib libpython3.9-minimal libpython3.9-stdlib libstdc++-11-dev media-types python3 python3-minimal python3-psutil python3.9 python3.9-minimal The following packages will be upgraded: advancecomp apt base-files base-passwd bash binutils binutils-common binutils-powerpc64le-linux-gnu bsdutils build-essential cpp cpp-10 dash debconf diffutils dpkg dpkg-dev e2fsprogs findutils g++ g++-10 gcc gcc-10 gcc-10-base gcc-11-base gpg gpg-agent gpgconf gpgv gzip libapparmor1 libapt-pkg6.0 libasan6 libassuan0 libatomic1 libaudit-common libaudit1 libbinutils libblkid1 libc-bin libc-dev-bin libc6 libc6-dev libcc1-0 libcom-err2 libcrypt-dev libcrypt1 libctf-nobfd0 libctf0 libdb5.3 libdevmapper1.02.1 libdpkg-perl libext2fs2 libgcc-10-dev libgcc-s1 libgcrypt20 libgnutls30 libgomp1 libgssapi-krb5-2 libhogweed6 libidn2-0 libisl23 libitm1 libk5crypto3 libkmod2 libkrb5-3 libkrb5support0 liblsan0 liblz4-1 liblzma5 libmount1 libnettle8 libnsl-dev libnsl2 libpam-modules libpam-modules-bin libpam-runtime libpam0g libperl5.32 libprocps8 libquadmath0 libreadline8 libsmartcols1 libsqlite3-0 libss2 libssl1.1 libstdc++-10-dev libstdc++6 libsystemd0 libtsan0 libubsan1 libudev1 libuuid1 libzstd1 linux-libc-dev login logsave lto-disabled-list mount openssl passwd perl perl-base perl-modules-5.32 pinentry-curses pkgbinarymangler procps readline-common systemd systemd-sysv systemd-timesyncd sysvinit-utils usrmerge util-linux xz-utils zlib1g 116 upgraded, 16 newly installed, 0 to remove and 0 not upgraded. Need to get 252 MB of archives. After this operation, 491 MB of additional disk space will be used. Get:1 http://ppa.launchpad.net/ubuntu-toolchain-r/volatile/ubuntu impish/main ppc64el libc6-dev ppc64el 2.34-0ubuntu1~ppa5 [2025 kB] Get:2 http://ftpmaster.internal/ubuntu impish/main ppc64el libcrypt-dev ppc64el 1:4.4.18-4ubuntu1 [131 kB] Get:3 http://ftpmaster.internal/ubuntu impish/main ppc64el libnsl-dev ppc64el 1.3.0-2 [73.4 kB] Get:4 http://ftpmaster.internal/ubuntu impish/main ppc64el libcrypt1 ppc64el 1:4.4.18-4ubuntu1 [97.1 kB] Get:5 http://ftpmaster.internal/ubuntu impish/main ppc64el libnsl2 ppc64el 1.3.0-2 [43.7 kB] Get:6 http://ftpmaster.internal/ubuntu impish/main ppc64el libasan6 ppc64el 11.2.0-1ubuntu2 [2309 kB] Get:7 http://ppa.launchpad.net/ubuntu-toolchain-r/volatile/ubuntu impish/main ppc64el libc-dev-bin ppc64el 2.34-0ubuntu1~ppa5 [21.3 kB] Get:8 http://ppa.launchpad.net/ubuntu-toolchain-r/volatile/ubuntu impish/main ppc64el linux-libc-dev ppc64el 5.13.0-14.14 [1210 kB] Get:9 http://ftpmaster.internal/ubuntu impish/main ppc64el libubsan1 ppc64el 11.2.0-1ubuntu2 [952 kB] Get:10 http://ppa.launchpad.net/ubuntu-toolchain-r/volatile/ubuntu impish/main ppc64el libc6 ppc64el 2.34-0ubuntu1~ppa5 [3225 kB] Get:11 http://ftpmaster.internal/ubuntu impish/main ppc64el libtsan0 ppc64el 11.2.0-1ubuntu2 [2281 kB] Get:12 http://ftpmaster.internal/ubuntu impish/main ppc64el libquadmath0 ppc64el 11.2.0-1ubuntu2 [166 kB] Get:13 http://ftpmaster.internal/ubuntu impish/main ppc64el liblsan0 ppc64el 11.2.0-1ubuntu2 [996 kB] Get:14 http://ppa.launchpad.net/ubuntu-toolchain-r/volatile/ubuntu impish/main ppc64el libc-bin ppc64el 2.34-0ubuntu1~ppa5 [1060 kB] Get:15 http://ftpmaster.internal/ubuntu impish/main ppc64el libitm1 ppc64el 11.2.0-1ubuntu2 [33.0 kB] Get:16 http://ftpmaster.internal/ubuntu impish/main ppc64el libgomp1 ppc64el 11.2.0-1ubuntu2 [130 kB] Get:17 http://ftpmaster.internal/ubuntu impish/main ppc64el gcc-11-base ppc64el 11.2.0-1ubuntu2 [21.5 kB] Get:18 http://ftpmaster.internal/ubuntu impish/main ppc64el libgcc-s1 ppc64el 11.2.0-1ubuntu2 [34.5 kB] Get:19 http://ftpmaster.internal/ubuntu impish/main ppc64el libcc1-0 ppc64el 11.2.0-1ubuntu2 [47.7 kB] Get:20 http://ftpmaster.internal/ubuntu impish/main ppc64el libatomic1 ppc64el 11.2.0-1ubuntu2 [10.7 kB] Get:21 http://ftpmaster.internal/ubuntu impish/main ppc64el libstdc++6 ppc64el 11.2.0-1ubuntu2 [759 kB] Get:22 http://ftpmaster.internal/ubuntu impish/main ppc64el base-files ppc64el 11.1ubuntu3 [61.1 kB] Get:23 http://ppa.launchpad.net/ubuntu-toolchain-r/volatile/ubuntu impish/main ppc64el dpkg ppc64el 1.20.9ubuntu13 [1322 kB] Get:24 http://ftpmaster.internal/ubuntu impish/main ppc64el bash ppc64el 5.1-3ubuntu1 [833 kB] Get:25 http://ftpmaster.internal/ubuntu impish/main ppc64el bsdutils ppc64el 1:2.36.1-8ubuntu1 [86.5 kB] Get:26 http://ftpmaster.internal/ubuntu impish/main ppc64el libperl5.32 ppc64el 5.32.1-3ubuntu3 [4822 kB] Get:27 http://ppa.launchpad.net/ubuntu-toolchain-r/volatile/ubuntu impish/main ppc64el g++ ppc64el 4:11.2.0-1ubuntu1 [1408 B] Get:28 http://ppa.launchpad.net/ubuntu-toolchain-r/volatile/ubuntu impish/main ppc64el gcc ppc64el 4:11.2.0-1ubuntu1 [5152 B] Get:29 http://ppa.launchpad.net/ubuntu-toolchain-r/volatile/ubuntu impish/main ppc64el cpp ppc64el 4:11.2.0-1ubuntu1 [27.7 kB] Get:30 http://ppa.launchpad.net/ubuntu-toolchain-r/volatile/ubuntu impish/main ppc64el dpkg-dev all 1.20.9ubuntu13 [938 kB] Get:31 http://ppa.launchpad.net/ubuntu-toolchain-r/volatile/ubuntu impish/main ppc64el libdpkg-perl all 1.20.9ubuntu13 [235 kB] Get:32 http://ftpmaster.internal/ubuntu impish/main ppc64el perl ppc64el 5.32.1-3ubuntu3 [227 kB] Get:33 http://ftpmaster.internal/ubuntu impish/main ppc64el perl-base ppc64el 5.32.1-3ubuntu3 [1830 kB] Get:34 http://ftpmaster.internal/ubuntu impish/main ppc64el perl-modules-5.32 all 5.32.1-3ubuntu3 [2945 kB] Get:35 http://ftpmaster.internal/ubuntu impish/main ppc64el libdb5.3 ppc64el 5.3.28+dfsg1-0.8ubuntu1 [719 kB] Get:36 http://ftpmaster.internal/ubuntu impish/main ppc64el zlib1g ppc64el 1:1.2.11.dfsg-2ubuntu7 [72.2 kB] Get:37 http://ftpmaster.internal/ubuntu impish/main ppc64el debconf all 1.5.77 [121 kB] Get:38 http://ftpmaster.internal/ubuntu impish/main ppc64el dash ppc64el 0.5.11+git20210120+802ebd4-1 [101 kB] Get:39 http://ftpmaster.internal/ubuntu impish/main ppc64el diffutils ppc64el 1:3.7-5ubuntu1 [213 kB] Get:40 http://ftpmaster.internal/ubuntu impish/main ppc64el findutils ppc64el 4.8.0-1ubuntu2 [382 kB] Get:41 http://ftpmaster.internal/ubuntu impish/main ppc64el gzip ppc64el 1.10-4ubuntu1 [103 kB] Get:42 http://ftpmaster.internal/ubuntu impish/main ppc64el login ppc64el 1:4.8.1-1ubuntu9 [226 kB] Get:43 http://ftpmaster.internal/ubuntu impish/main ppc64el util-linux ppc64el 2.36.1-8ubuntu1 [1080 kB] Get:44 http://ftpmaster.internal/ubuntu impish/main ppc64el base-passwd ppc64el 3.5.51 [50.1 kB] Get:45 http://ftpmaster.internal/ubuntu impish/main ppc64el sysvinit-utils ppc64el 2.96-7ubuntu1 [21.4 kB] Get:46 http://ftpmaster.internal/ubuntu impish/main ppc64el libgcrypt20 ppc64el 1.8.7-5ubuntu1 [484 kB] Get:47 http://ftpmaster.internal/ubuntu impish/main ppc64el liblz4-1 ppc64el 1.9.3-2 [66.7 kB] Get:48 http://ftpmaster.internal/ubuntu impish/main ppc64el liblzma5 ppc64el 5.2.5-2 [113 kB] Get:49 http://ftpmaster.internal/ubuntu impish/main ppc64el systemd-sysv ppc64el 248.3-1ubuntu3 [10.5 kB] Get:50 http://ftpmaster.internal/ubuntu impish/main ppc64el systemd-timesyncd ppc64el 248.3-1ubuntu3 [32.0 kB] Get:51 http://ftpmaster.internal/ubuntu impish/main ppc64el libapparmor1 ppc64el 3.0.3-0ubuntu1 [44.1 kB] Get:52 http://ftpmaster.internal/ubuntu impish/main ppc64el libaudit-common all 1:3.0-2ubuntu2 [4788 B] Get:53 http://ftpmaster.internal/ubuntu impish/main ppc64el libaudit1 ppc64el 1:3.0-2ubuntu2 [43.2 kB] Get:54 http://ftpmaster.internal/ubuntu impish/main ppc64el libnettle8 ppc64el 3.7.3-1 [181 kB] Get:55 http://ftpmaster.internal/ubuntu impish/main ppc64el libhogweed6 ppc64el 3.7.3-1 [198 kB] Get:56 http://ftpmaster.internal/ubuntu impish/main ppc64el libidn2-0 ppc64el 2.3.1-1 [53.6 kB] Get:57 http://ftpmaster.internal/ubuntu impish/main ppc64el libgnutls30 ppc64el 3.7.1-4ubuntu1 [915 kB] Get:58 http://ftpmaster.internal/ubuntu impish/main ppc64el libssl1.1 ppc64el 1.1.1j-1ubuntu5 [1585 kB] Get:59 http://ftpmaster.internal/ubuntu impish/main ppc64el libzstd1 ppc64el 1.4.8+dfsg-2.1 [313 kB] Get:60 http://ftpmaster.internal/ubuntu impish/main ppc64el libkmod2 ppc64el 28-1ubuntu4 [52.7 kB] Get:61 http://ftpmaster.internal/ubuntu impish/main ppc64el libblkid1 ppc64el 2.36.1-8ubuntu1 [122 kB] Get:62 http://ftpmaster.internal/ubuntu impish/main ppc64el libmount1 ppc64el 2.36.1-8ubuntu1 [140 kB] Get:63 http://ftpmaster.internal/ubuntu impish/main ppc64el libpam0g ppc64el 1.3.1-5ubuntu8 [67.0 kB] Get:64 http://ftpmaster.internal/ubuntu impish/main ppc64el mount ppc64el 2.36.1-8ubuntu1 [117 kB] Get:65 http://ftpmaster.internal/ubuntu impish/main ppc64el systemd ppc64el 248.3-1ubuntu3 [4926 kB] Get:66 http://ftpmaster.internal/ubuntu impish/main ppc64el libsystemd0 ppc64el 248.3-1ubuntu3 [382 kB] Get:67 http://ftpmaster.internal/ubuntu impish/main ppc64el libudev1 ppc64el 248.3-1ubuntu3 [96.4 kB] Get:68 http://ftpmaster.internal/ubuntu impish/main ppc64el libapt-pkg6.0 ppc64el 2.3.7 [1020 kB] Get:69 http://ftpmaster.internal/ubuntu impish/main ppc64el gpgv ppc64el 2.2.20-1ubuntu4 [156 kB] Get:70 http://ftpmaster.internal/ubuntu impish/main ppc64el apt ppc64el 2.3.7 [1427 kB] Get:71 http://ftpmaster.internal/ubuntu impish/main ppc64el libpam-modules-bin ppc64el 1.3.1-5ubuntu8 [49.5 kB] Get:72 http://ftpmaster.internal/ubuntu impish/main ppc64el libpam-modules ppc64el 1.3.1-5ubuntu8 [317 kB] Get:73 http://ftpmaster.internal/ubuntu impish/main ppc64el logsave ppc64el 1.46.2-1ubuntu2 [12.0 kB] Get:74 http://ftpmaster.internal/ubuntu impish/main ppc64el libext2fs2 ppc64el 1.46.2-1ubuntu2 [224 kB] Get:75 http://ftpmaster.internal/ubuntu impish/main ppc64el e2fsprogs ppc64el 1.46.2-1ubuntu2 [591 kB] Get:76 http://ftpmaster.internal/ubuntu impish/main ppc64el libpython3.9-minimal ppc64el 3.9.6-1 [753 kB] Get:77 http://ftpmaster.internal/ubuntu impish/main ppc64el libexpat1 ppc64el 2.3.0-1 [78.8 kB] Get:78 http://ftpmaster.internal/ubuntu impish/main ppc64el python3.9-minimal ppc64el 3.9.6-1 [1834 kB] Get:79 http://ftpmaster.internal/ubuntu impish/main ppc64el python3-minimal ppc64el 3.9.4-1 [23.8 kB] Get:80 http://ftpmaster.internal/ubuntu impish/main ppc64el media-types all 4.0.0 [22.2 kB] Get:81 http://ftpmaster.internal/ubuntu impish/main ppc64el libmpdec3 ppc64el 2.5.1-2 [97.3 kB] Get:82 http://ftpmaster.internal/ubuntu impish/main ppc64el readline-common all 8.1-2 [54.1 kB] Get:83 http://ftpmaster.internal/ubuntu impish/main ppc64el libreadline8 ppc64el 8.1-2 [151 kB] Get:84 http://ftpmaster.internal/ubuntu impish/main ppc64el libsqlite3-0 ppc64el 3.35.5-1 [641 kB] Get:85 http://ftpmaster.internal/ubuntu impish/main ppc64el libuuid1 ppc64el 2.36.1-8ubuntu1 [26.4 kB] Get:86 http://ftpmaster.internal/ubuntu impish/main ppc64el libpython3.9-stdlib ppc64el 3.9.6-1 [1671 kB] Get:87 http://ftpmaster.internal/ubuntu impish/main ppc64el python3.9 ppc64el 3.9.6-1 [426 kB] Get:88 http://ftpmaster.internal/ubuntu impish/main ppc64el libpython3-stdlib ppc64el 3.9.4-1 [6984 B] Get:89 http://ftpmaster.internal/ubuntu impish/main ppc64el python3 ppc64el 3.9.4-1 [22.2 kB] Get:90 http://ftpmaster.internal/ubuntu impish/main ppc64el libcom-err2 ppc64el 1.46.2-1ubuntu2 [11.2 kB] Get:91 http://ftpmaster.internal/ubuntu impish/main ppc64el libpam-runtime all 1.3.1-5ubuntu8 [38.7 kB] Get:92 http://ftpmaster.internal/ubuntu impish/main ppc64el libsmartcols1 ppc64el 2.36.1-8ubuntu1 [59.4 kB] Get:93 http://ftpmaster.internal/ubuntu impish/main ppc64el passwd ppc64el 1:4.8.1-1ubuntu9 [838 kB] Get:94 http://ftpmaster.internal/ubuntu impish/main ppc64el libk5crypto3 ppc64el 1.18.3-6 [120 kB] Get:95 http://ftpmaster.internal/ubuntu impish/main ppc64el libkrb5support0 ppc64el 1.18.3-6 [37.2 kB] Get:96 http://ftpmaster.internal/ubuntu impish/main ppc64el libkrb5-3 ppc64el 1.18.3-6 [434 kB] Get:97 http://ftpmaster.internal/ubuntu impish/main ppc64el libgssapi-krb5-2 ppc64el 1.18.3-6 [183 kB] Get:98 http://ftpmaster.internal/ubuntu impish/main ppc64el libprocps8 ppc64el 2:3.3.17-5ubuntu3 [40.6 kB] Get:99 http://ftpmaster.internal/ubuntu impish/main ppc64el libss2 ppc64el 1.46.2-1ubuntu2 [12.4 kB] Get:100 http://ftpmaster.internal/ubuntu impish/main ppc64el procps ppc64el 2:3.3.17-5ubuntu3 [405 kB] Get:101 http://ftpmaster.internal/ubuntu impish/main ppc64el usrmerge all 25ubuntu1 [53.5 kB] Get:102 http://ftpmaster.internal/ubuntu impish/main ppc64el libdevmapper1.02.1 ppc64el 2:1.02.175-2.1ubuntu1 [158 kB] Get:103 http://ftpmaster.internal/ubuntu impish/main ppc64el openssl ppc64el 1.1.1j-1ubuntu5 [665 kB] Get:104 http://ftpmaster.internal/ubuntu impish/main ppc64el xz-utils ppc64el 5.2.5-2 [87.0 kB] Get:105 http://ftpmaster.internal/ubuntu impish/main ppc64el advancecomp ppc64el 2.1-2.1ubuntu1 [231 kB] Get:106 http://ftpmaster.internal/ubuntu impish/main ppc64el libctf0 ppc64el 2.37-1ubuntu1 [111 kB] Get:107 http://ftpmaster.internal/ubuntu impish/main ppc64el libctf-nobfd0 ppc64el 2.37-1ubuntu1 [110 kB] Get:108 http://ftpmaster.internal/ubuntu impish/main ppc64el binutils-powerpc64le-linux-gnu ppc64el 2.37-1ubuntu1 [2019 kB] Get:109 http://ftpmaster.internal/ubuntu impish/main ppc64el binutils ppc64el 2.37-1ubuntu1 [3170 B] Get:110 http://ftpmaster.internal/ubuntu impish/main ppc64el libbinutils ppc64el 2.37-1ubuntu1 [676 kB] Get:111 http://ftpmaster.internal/ubuntu impish/main ppc64el binutils-common ppc64el 2.37-1ubuntu1 [52.6 kB] Get:112 http://ftpmaster.internal/ubuntu impish/main ppc64el libisl23 ppc64el 0.24-1 [719 kB] Get:113 http://ftpmaster.internal/ubuntu impish/main ppc64el cpp-11 ppc64el 11.2.0-1ubuntu2 [46.1 MB] Get:114 http://ftpmaster.internal/ubuntu impish/main ppc64el libgcc-11-dev ppc64el 11.2.0-1ubuntu2 [1491 kB] Get:115 http://ftpmaster.internal/ubuntu impish/main ppc64el gcc-11 ppc64el 11.2.0-1ubuntu2 [53.6 MB] Get:116 http://ftpmaster.internal/ubuntu impish/main ppc64el libstdc++-11-dev ppc64el 11.2.0-1ubuntu2 [2195 kB] Get:117 http://ftpmaster.internal/ubuntu impish/main ppc64el g++-11 ppc64el 11.2.0-1ubuntu2 [50.8 MB] Get:118 http://ftpmaster.internal/ubuntu impish/main ppc64el lto-disabled-list all 16 [12.5 kB] Get:119 http://ftpmaster.internal/ubuntu impish/main ppc64el python3-psutil ppc64el 5.8.0-1 [154 kB] Get:120 http://ftpmaster.internal/ubuntu impish/main ppc64el build-essential ppc64el 12.9ubuntu1 [4744 B] Get:121 http://ftpmaster.internal/ubuntu impish/universe ppc64el g++-10 ppc64el 10.3.0-6ubuntu1 [9410 kB] Get:122 http://ftpmaster.internal/ubuntu impish/universe ppc64el gcc-10 ppc64el 10.3.0-6ubuntu1 [16.5 MB] Get:123 http://ftpmaster.internal/ubuntu impish/main ppc64el libstdc++-10-dev ppc64el 10.3.0-6ubuntu1 [1927 kB] Get:124 http://ftpmaster.internal/ubuntu impish/main ppc64el libgcc-10-dev ppc64el 10.3.0-6ubuntu1 [1456 kB] Get:125 http://ftpmaster.internal/ubuntu impish/universe ppc64el cpp-10 ppc64el 10.3.0-6ubuntu1 [8188 kB] Get:126 http://ftpmaster.internal/ubuntu impish/main ppc64el gcc-10-base ppc64el 10.3.0-6ubuntu1 [21.5 kB] Get:127 http://ftpmaster.internal/ubuntu impish/main ppc64el libassuan0 ppc64el 2.5.5-1 [42.5 kB] Get:128 http://ftpmaster.internal/ubuntu impish/main ppc64el pinentry-curses ppc64el 1.1.1-1 [34.3 kB] Get:129 http://ftpmaster.internal/ubuntu impish/main ppc64el gpg ppc64el 2.2.20-1ubuntu4 [567 kB] Get:130 http://ftpmaster.internal/ubuntu impish/main ppc64el gpgconf ppc64el 2.2.20-1ubuntu4 [97.8 kB] Get:131 http://ftpmaster.internal/ubuntu impish/main ppc64el gpg-agent ppc64el 2.2.20-1ubuntu4 [215 kB] Get:132 http://ftpmaster.internal/ubuntu impish/main ppc64el pkgbinarymangler all 148 [32.3 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 252 MB in 41s (6105 kB/s) (Reading database ... 13069 files and directories currently installed.) Preparing to unpack .../libcrypt-dev_1%3a4.4.18-4ubuntu1_ppc64el.deb ... Unpacking libcrypt-dev:ppc64el (1:4.4.18-4ubuntu1) over (1:4.4.17-1ubuntu3) ... Preparing to unpack .../libnsl-dev_1.3.0-2_ppc64el.deb ... Unpacking libnsl-dev:ppc64el (1.3.0-2) over (1.3.0-0ubuntu3) ... Preparing to unpack .../libc6-dev_2.34-0ubuntu1~ppa5_ppc64el.deb ... Unpacking libc6-dev:ppc64el (2.34-0ubuntu1~ppa5) over (2.33-0ubuntu5) ... Preparing to unpack .../libc-dev-bin_2.34-0ubuntu1~ppa5_ppc64el.deb ... Unpacking libc-dev-bin (2.34-0ubuntu1~ppa5) over (2.33-0ubuntu5) ... Preparing to unpack .../libcrypt1_1%3a4.4.18-4ubuntu1_ppc64el.deb ... Unpacking libcrypt1:ppc64el (1:4.4.18-4ubuntu1) over (1:4.4.17-1ubuntu3) ... Setting up libcrypt1:ppc64el (1:4.4.18-4ubuntu1) ... (Reading database ... 13075 files and directories currently installed.) Preparing to unpack .../libnsl2_1.3.0-2_ppc64el.deb ... Unpacking libnsl2:ppc64el (1.3.0-2) over (1.3.0-0ubuntu3) ... Setting up libnsl2:ppc64el (1.3.0-2) ... (Reading database ... 13075 files and directories currently installed.) Preparing to unpack .../linux-libc-dev_5.13.0-14.14_ppc64el.deb ... Unpacking linux-libc-dev:ppc64el (5.13.0-14.14) over (5.11.0-14.15) ... Preparing to unpack .../libc6_2.34-0ubuntu1~ppa5_ppc64el.deb ... Unpacking libc6:ppc64el (2.34-0ubuntu1~ppa5) over (2.33-0ubuntu5) ... Setting up libc6:ppc64el (2.34-0ubuntu1~ppa5) ... (Reading database ... 13075 files and directories currently installed.) Preparing to unpack .../libc-bin_2.34-0ubuntu1~ppa5_ppc64el.deb ... Unpacking libc-bin (2.34-0ubuntu1~ppa5) over (2.33-0ubuntu5) ... Setting up libc-bin (2.34-0ubuntu1~ppa5) ... (Reading database ... 13075 files and directories currently installed.) Preparing to unpack .../0-libasan6_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking libasan6:ppc64el (11.2.0-1ubuntu2) over (11-20210417-1ubuntu1) ... Preparing to unpack .../1-libubsan1_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking libubsan1:ppc64el (11.2.0-1ubuntu2) over (11-20210417-1ubuntu1) ... Preparing to unpack .../2-libtsan0_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking libtsan0:ppc64el (11.2.0-1ubuntu2) over (11-20210417-1ubuntu1) ... Preparing to unpack .../3-libquadmath0_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking libquadmath0:ppc64el (11.2.0-1ubuntu2) over (11-20210417-1ubuntu1) ... Preparing to unpack .../4-liblsan0_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking liblsan0:ppc64el (11.2.0-1ubuntu2) over (11-20210417-1ubuntu1) ... Preparing to unpack .../5-libitm1_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking libitm1:ppc64el (11.2.0-1ubuntu2) over (11-20210417-1ubuntu1) ... Preparing to unpack .../6-libgomp1_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking libgomp1:ppc64el (11.2.0-1ubuntu2) over (11-20210417-1ubuntu1) ... Preparing to unpack .../7-gcc-11-base_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking gcc-11-base:ppc64el (11.2.0-1ubuntu2) over (11-20210417-1ubuntu1) ... Setting up gcc-11-base:ppc64el (11.2.0-1ubuntu2) ... (Reading database ... 13075 files and directories currently installed.) Preparing to unpack .../libgcc-s1_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking libgcc-s1:ppc64el (11.2.0-1ubuntu2) over (11-20210417-1ubuntu1) ... Setting up libgcc-s1:ppc64el (11.2.0-1ubuntu2) ... (Reading database ... 13075 files and directories currently installed.) Preparing to unpack .../libcc1-0_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking libcc1-0:ppc64el (11.2.0-1ubuntu2) over (11-20210417-1ubuntu1) ... Preparing to unpack .../libatomic1_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking libatomic1:ppc64el (11.2.0-1ubuntu2) over (11-20210417-1ubuntu1) ... Preparing to unpack .../libstdc++6_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking libstdc++6:ppc64el (11.2.0-1ubuntu2) over (11-20210417-1ubuntu1) ... Setting up libstdc++6:ppc64el (11.2.0-1ubuntu2) ... (Reading database ... 13075 files and directories currently installed.) Preparing to unpack .../base-files_11.1ubuntu3_ppc64el.deb ... Unpacking base-files (11.1ubuntu3) over (11ubuntu18) ... Setting up base-files (11.1ubuntu3) ... Installing new version of config file /etc/debian_version ... Installing new version of config file /etc/dpkg/origins/debian ... 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 ... Updating /etc/profile to current default. (Reading database ... 13075 files and directories currently installed.) Preparing to unpack .../bash_5.1-3ubuntu1_ppc64el.deb ... Unpacking bash (5.1-3ubuntu1) over (5.1-2ubuntu1) ... Setting up bash (5.1-3ubuntu1) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 13075 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.36.1-8ubuntu1_ppc64el.deb ... Unpacking bsdutils (1:2.36.1-8ubuntu1) over (1:2.36.1-7ubuntu2) ... Setting up bsdutils (1:2.36.1-8ubuntu1) ... (Reading database ... 13075 files and directories currently installed.) Preparing to unpack .../dpkg_1.20.9ubuntu13_ppc64el.deb ... Unpacking dpkg (1.20.9ubuntu13) over (1.20.7.1ubuntu4) ... Setting up dpkg (1.20.9ubuntu13) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../libperl5.32_5.32.1-3ubuntu3_ppc64el.deb ... Unpacking libperl5.32:ppc64el (5.32.1-3ubuntu3) over (5.32.1-3ubuntu2) ... Preparing to unpack .../perl_5.32.1-3ubuntu3_ppc64el.deb ... Unpacking perl (5.32.1-3ubuntu3) over (5.32.1-3ubuntu2) ... Preparing to unpack .../perl-base_5.32.1-3ubuntu3_ppc64el.deb ... Unpacking perl-base (5.32.1-3ubuntu3) over (5.32.1-3ubuntu2) ... Setting up perl-base (5.32.1-3ubuntu3) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../perl-modules-5.32_5.32.1-3ubuntu3_all.deb ... Unpacking perl-modules-5.32 (5.32.1-3ubuntu3) over (5.32.1-3ubuntu2) ... Preparing to unpack .../libdb5.3_5.3.28+dfsg1-0.8ubuntu1_ppc64el.deb ... Unpacking libdb5.3:ppc64el (5.3.28+dfsg1-0.8ubuntu1) over (5.3.28+dfsg1-0.6ubuntu4) ... Setting up libdb5.3:ppc64el (5.3.28+dfsg1-0.8ubuntu1) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-2ubuntu7_ppc64el.deb ... Unpacking zlib1g:ppc64el (1:1.2.11.dfsg-2ubuntu7) over (1:1.2.11.dfsg-2ubuntu6) ... Setting up zlib1g:ppc64el (1:1.2.11.dfsg-2ubuntu7) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../debconf_1.5.77_all.deb ... Unpacking debconf (1.5.77) over (1.5.74) ... Setting up debconf (1.5.77) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../dash_0.5.11+git20210120+802ebd4-1_ppc64el.deb ... Unpacking dash (0.5.11+git20210120+802ebd4-1) over (0.5.11+git20200708+dd9ef66+really0.5.11+git20200708+dd9ef66-5ubuntu1) ... Setting up dash (0.5.11+git20210120+802ebd4-1) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../diffutils_1%3a3.7-5ubuntu1_ppc64el.deb ... Unpacking diffutils (1:3.7-5ubuntu1) over (1:3.7-3ubuntu1) ... Setting up diffutils (1:3.7-5ubuntu1) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../findutils_4.8.0-1ubuntu2_ppc64el.deb ... Unpacking findutils (4.8.0-1ubuntu2) over (4.8.0-1ubuntu1) ... Setting up findutils (4.8.0-1ubuntu2) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../gzip_1.10-4ubuntu1_ppc64el.deb ... Unpacking gzip (1.10-4ubuntu1) over (1.10-2ubuntu3) ... Setting up gzip (1.10-4ubuntu1) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../login_1%3a4.8.1-1ubuntu9_ppc64el.deb ... Unpacking login (1:4.8.1-1ubuntu9) over (1:4.8.1-1ubuntu8) ... Setting up login (1:4.8.1-1ubuntu9) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../util-linux_2.36.1-8ubuntu1_ppc64el.deb ... Unpacking util-linux (2.36.1-8ubuntu1) over (2.36.1-7ubuntu2) ... Setting up util-linux (2.36.1-8ubuntu1) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../base-passwd_3.5.51_ppc64el.deb ... Unpacking base-passwd (3.5.51) over (3.5.49) ... Setting up base-passwd (3.5.51) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../sysvinit-utils_2.96-7ubuntu1_ppc64el.deb ... Unpacking sysvinit-utils (2.96-7ubuntu1) over (2.96-6ubuntu1) ... Setting up sysvinit-utils (2.96-7ubuntu1) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.8.7-5ubuntu1_ppc64el.deb ... Unpacking libgcrypt20:ppc64el (1.8.7-5ubuntu1) over (1.8.7-2ubuntu2) ... Setting up libgcrypt20:ppc64el (1.8.7-5ubuntu1) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../liblz4-1_1.9.3-2_ppc64el.deb ... Unpacking liblz4-1:ppc64el (1.9.3-2) over (1.9.3-1build1) ... Setting up liblz4-1:ppc64el (1.9.3-2) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../liblzma5_5.2.5-2_ppc64el.deb ... Unpacking liblzma5:ppc64el (5.2.5-2) over (5.2.5-1.0build2) ... Setting up liblzma5:ppc64el (5.2.5-2) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../systemd-sysv_248.3-1ubuntu3_ppc64el.deb ... Unpacking systemd-sysv (248.3-1ubuntu3) over (247.3-3ubuntu3) ... Preparing to unpack .../systemd-timesyncd_248.3-1ubuntu3_ppc64el.deb ... Unpacking systemd-timesyncd (248.3-1ubuntu3) over (247.3-3ubuntu3) ... Preparing to unpack .../libapparmor1_3.0.3-0ubuntu1_ppc64el.deb ... Unpacking libapparmor1:ppc64el (3.0.3-0ubuntu1) over (3.0.0-0ubuntu7) ... Preparing to unpack .../libaudit-common_1%3a3.0-2ubuntu2_all.deb ... Unpacking libaudit-common (1:3.0-2ubuntu2) over (1:3.0-2ubuntu1) ... Setting up libaudit-common (1:3.0-2ubuntu2) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a3.0-2ubuntu2_ppc64el.deb ... Unpacking libaudit1:ppc64el (1:3.0-2ubuntu2) over (1:3.0-2ubuntu1) ... Setting up libaudit1:ppc64el (1:3.0-2ubuntu2) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../libnettle8_3.7.3-1_ppc64el.deb ... Unpacking libnettle8:ppc64el (3.7.3-1) over (3.7-2.1ubuntu1) ... Setting up libnettle8:ppc64el (3.7.3-1) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../libhogweed6_3.7.3-1_ppc64el.deb ... Unpacking libhogweed6:ppc64el (3.7.3-1) over (3.7-2.1ubuntu1) ... Setting up libhogweed6:ppc64el (3.7.3-1) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../libidn2-0_2.3.1-1_ppc64el.deb ... Unpacking libidn2-0:ppc64el (2.3.1-1) over (2.3.0-5) ... Setting up libidn2-0:ppc64el (2.3.1-1) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.7.1-4ubuntu1_ppc64el.deb ... Unpacking libgnutls30:ppc64el (3.7.1-4ubuntu1) over (3.7.1-3ubuntu1) ... Setting up libgnutls30:ppc64el (3.7.1-4ubuntu1) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../libssl1.1_1.1.1j-1ubuntu5_ppc64el.deb ... Unpacking libssl1.1:ppc64el (1.1.1j-1ubuntu5) over (1.1.1j-1ubuntu3) ... Setting up libssl1.1:ppc64el (1.1.1j-1ubuntu5) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../libzstd1_1.4.8+dfsg-2.1_ppc64el.deb ... Unpacking libzstd1:ppc64el (1.4.8+dfsg-2.1) over (1.4.8+dfsg-2build2) ... Setting up libzstd1:ppc64el (1.4.8+dfsg-2.1) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../libkmod2_28-1ubuntu4_ppc64el.deb ... Unpacking libkmod2:ppc64el (28-1ubuntu4) over (28-1ubuntu2) ... Preparing to unpack .../libblkid1_2.36.1-8ubuntu1_ppc64el.deb ... Unpacking libblkid1:ppc64el (2.36.1-8ubuntu1) over (2.36.1-7ubuntu2) ... Setting up libblkid1:ppc64el (2.36.1-8ubuntu1) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../libmount1_2.36.1-8ubuntu1_ppc64el.deb ... Unpacking libmount1:ppc64el (2.36.1-8ubuntu1) over (2.36.1-7ubuntu2) ... Setting up libmount1:ppc64el (2.36.1-8ubuntu1) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../libpam0g_1.3.1-5ubuntu8_ppc64el.deb ... Unpacking libpam0g:ppc64el (1.3.1-5ubuntu8) over (1.3.1-5ubuntu6) ... Setting up libpam0g:ppc64el (1.3.1-5ubuntu8) ... (Reading database ... 13080 files and directories currently installed.) Preparing to unpack .../mount_2.36.1-8ubuntu1_ppc64el.deb ... Unpacking mount (2.36.1-8ubuntu1) over (2.36.1-7ubuntu2) ... Preparing to unpack .../systemd_248.3-1ubuntu3_ppc64el.deb ... Unpacking systemd (248.3-1ubuntu3) over (247.3-3ubuntu3) ... Preparing to unpack .../libsystemd0_248.3-1ubuntu3_ppc64el.deb ... Unpacking libsystemd0:ppc64el (248.3-1ubuntu3) over (247.3-3ubuntu3) ... Setting up libsystemd0:ppc64el (248.3-1ubuntu3) ... (Reading database ... 13095 files and directories currently installed.) Preparing to unpack .../libudev1_248.3-1ubuntu3_ppc64el.deb ... Unpacking libudev1:ppc64el (248.3-1ubuntu3) over (247.3-3ubuntu3) ... Setting up libudev1:ppc64el (248.3-1ubuntu3) ... (Reading database ... 13095 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0_2.3.7_ppc64el.deb ... Unpacking libapt-pkg6.0:ppc64el (2.3.7) over (2.2.3) ... Setting up libapt-pkg6.0:ppc64el (2.3.7) ... (Reading database ... 13095 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.20-1ubuntu4_ppc64el.deb ... Unpacking gpgv (2.2.20-1ubuntu4) over (2.2.20-1ubuntu3) ... Setting up gpgv (2.2.20-1ubuntu4) ... (Reading database ... 13095 files and directories currently installed.) Preparing to unpack .../archives/apt_2.3.7_ppc64el.deb ... Unpacking apt (2.3.7) over (2.2.3) ... Setting up apt (2.3.7) ... (Reading database ... 13095 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.3.1-5ubuntu8_ppc64el.deb ... Unpacking libpam-modules-bin (1.3.1-5ubuntu8) over (1.3.1-5ubuntu6) ... Setting up libpam-modules-bin (1.3.1-5ubuntu8) ... (Reading database ... 13097 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.3.1-5ubuntu8_ppc64el.deb ... Unpacking libpam-modules:ppc64el (1.3.1-5ubuntu8) over (1.3.1-5ubuntu6) ... Setting up libpam-modules:ppc64el (1.3.1-5ubuntu8) ... (Reading database ... 13101 files and directories currently installed.) Preparing to unpack .../logsave_1.46.2-1ubuntu2_ppc64el.deb ... Unpacking logsave (1.46.2-1ubuntu2) over (1.45.7-1ubuntu2) ... Preparing to unpack .../libext2fs2_1.46.2-1ubuntu2_ppc64el.deb ... Unpacking libext2fs2:ppc64el (1.46.2-1ubuntu2) over (1.45.7-1ubuntu2) ... Setting up libext2fs2:ppc64el (1.46.2-1ubuntu2) ... (Reading database ... 13101 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.46.2-1ubuntu2_ppc64el.deb ... Unpacking e2fsprogs (1.46.2-1ubuntu2) over (1.45.7-1ubuntu2) ... Selecting previously unselected package libpython3.9-minimal:ppc64el. Preparing to unpack .../libpython3.9-minimal_3.9.6-1_ppc64el.deb ... Unpacking libpython3.9-minimal:ppc64el (3.9.6-1) ... Selecting previously unselected package libexpat1:ppc64el. Preparing to unpack .../libexpat1_2.3.0-1_ppc64el.deb ... Unpacking libexpat1:ppc64el (2.3.0-1) ... Selecting previously unselected package python3.9-minimal. Preparing to unpack .../python3.9-minimal_3.9.6-1_ppc64el.deb ... Unpacking python3.9-minimal (3.9.6-1) ... Setting up libpython3.9-minimal:ppc64el (3.9.6-1) ... Setting up libexpat1:ppc64el (2.3.0-1) ... Setting up python3.9-minimal (3.9.6-1) ... Selecting previously unselected package python3-minimal. (Reading database ... 13394 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.9.4-1_ppc64el.deb ... Unpacking python3-minimal (3.9.4-1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_4.0.0_all.deb ... Unpacking media-types (4.0.0) ... Selecting previously unselected package libmpdec3:ppc64el. Preparing to unpack .../2-libmpdec3_2.5.1-2_ppc64el.deb ... Unpacking libmpdec3:ppc64el (2.5.1-2) ... Preparing to unpack .../3-readline-common_8.1-2_all.deb ... Unpacking readline-common (8.1-2) over (8.1-1) ... Preparing to unpack .../4-libreadline8_8.1-2_ppc64el.deb ... Unpacking libreadline8:ppc64el (8.1-2) over (8.1-1) ... Preparing to unpack .../5-libsqlite3-0_3.35.5-1_ppc64el.deb ... Unpacking libsqlite3-0:ppc64el (3.35.5-1) over (3.34.1-3) ... Preparing to unpack .../6-libuuid1_2.36.1-8ubuntu1_ppc64el.deb ... Unpacking libuuid1:ppc64el (2.36.1-8ubuntu1) over (2.36.1-7ubuntu2) ... Setting up libuuid1:ppc64el (2.36.1-8ubuntu1) ... Selecting previously unselected package libpython3.9-stdlib:ppc64el. (Reading database ... 13428 files and directories currently installed.) Preparing to unpack .../libpython3.9-stdlib_3.9.6-1_ppc64el.deb ... Unpacking libpython3.9-stdlib:ppc64el (3.9.6-1) ... Selecting previously unselected package python3.9. Preparing to unpack .../python3.9_3.9.6-1_ppc64el.deb ... Unpacking python3.9 (3.9.6-1) ... Selecting previously unselected package libpython3-stdlib:ppc64el. Preparing to unpack .../libpython3-stdlib_3.9.4-1_ppc64el.deb ... Unpacking libpython3-stdlib:ppc64el (3.9.4-1) ... Setting up python3-minimal (3.9.4-1) ... Selecting previously unselected package python3. (Reading database ... 13790 files and directories currently installed.) Preparing to unpack .../python3_3.9.4-1_ppc64el.deb ... Unpacking python3 (3.9.4-1) ... Preparing to unpack .../libcom-err2_1.46.2-1ubuntu2_ppc64el.deb ... Unpacking libcom-err2:ppc64el (1.46.2-1ubuntu2) over (1.45.7-1ubuntu2) ... Setting up libcom-err2:ppc64el (1.46.2-1ubuntu2) ... (Reading database ... 13810 files and directories currently installed.) Preparing to unpack .../libpam-runtime_1.3.1-5ubuntu8_all.deb ... Unpacking libpam-runtime (1.3.1-5ubuntu8) over (1.3.1-5ubuntu6) ... Setting up libpam-runtime (1.3.1-5ubuntu8) ... (Reading database ... 13810 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.36.1-8ubuntu1_ppc64el.deb ... Unpacking libsmartcols1:ppc64el (2.36.1-8ubuntu1) over (2.36.1-7ubuntu2) ... Setting up libsmartcols1:ppc64el (2.36.1-8ubuntu1) ... (Reading database ... 13810 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.8.1-1ubuntu9_ppc64el.deb ... Unpacking passwd (1:4.8.1-1ubuntu9) over (1:4.8.1-1ubuntu8) ... Setting up passwd (1:4.8.1-1ubuntu9) ... (Reading database ... 13810 files and directories currently installed.) Preparing to unpack .../libk5crypto3_1.18.3-6_ppc64el.deb ... Unpacking libk5crypto3:ppc64el (1.18.3-6) over (1.18.3-4) ... Setting up libk5crypto3:ppc64el (1.18.3-6) ... (Reading database ... 13810 files and directories currently installed.) Preparing to unpack .../libkrb5support0_1.18.3-6_ppc64el.deb ... Unpacking libkrb5support0:ppc64el (1.18.3-6) over (1.18.3-4) ... Setting up libkrb5support0:ppc64el (1.18.3-6) ... (Reading database ... 13810 files and directories currently installed.) Preparing to unpack .../libkrb5-3_1.18.3-6_ppc64el.deb ... Unpacking libkrb5-3:ppc64el (1.18.3-6) over (1.18.3-4) ... Setting up libkrb5-3:ppc64el (1.18.3-6) ... (Reading database ... 13810 files and directories currently installed.) Preparing to unpack .../libgssapi-krb5-2_1.18.3-6_ppc64el.deb ... Unpacking libgssapi-krb5-2:ppc64el (1.18.3-6) over (1.18.3-4) ... Setting up libgssapi-krb5-2:ppc64el (1.18.3-6) ... (Reading database ... 13810 files and directories currently installed.) Preparing to unpack .../00-libprocps8_2%3a3.3.17-5ubuntu3_ppc64el.deb ... Unpacking libprocps8:ppc64el (2:3.3.17-5ubuntu3) over (2:3.3.16-5ubuntu3) ... Preparing to unpack .../01-libss2_1.46.2-1ubuntu2_ppc64el.deb ... Unpacking libss2:ppc64el (1.46.2-1ubuntu2) over (1.45.7-1ubuntu2) ... Preparing to unpack .../02-procps_2%3a3.3.17-5ubuntu3_ppc64el.deb ... Unpacking procps (2:3.3.17-5ubuntu3) over (2:3.3.16-5ubuntu3) ... Preparing to unpack .../03-usrmerge_25ubuntu1_all.deb ... Unpacking usrmerge (25ubuntu1) over (24ubuntu3) ... Preparing to unpack .../04-libdevmapper1.02.1_2%3a1.02.175-2.1ubuntu1_ppc64el.deb ... Unpacking libdevmapper1.02.1:ppc64el (2:1.02.175-2.1ubuntu1) over (2:1.02.175-2ubuntu4) ... Preparing to unpack .../05-openssl_1.1.1j-1ubuntu5_ppc64el.deb ... Unpacking openssl (1.1.1j-1ubuntu5) over (1.1.1j-1ubuntu3) ... Preparing to unpack .../06-xz-utils_5.2.5-2_ppc64el.deb ... Unpacking xz-utils (5.2.5-2) over (5.2.5-1.0build2) ... Preparing to unpack .../07-advancecomp_2.1-2.1ubuntu1_ppc64el.deb ... Unpacking advancecomp (2.1-2.1ubuntu1) over (2.1-2.1build1) ... Preparing to unpack .../08-libctf0_2.37-1ubuntu1_ppc64el.deb ... Unpacking libctf0:ppc64el (2.37-1ubuntu1) over (2.36.1-6ubuntu1) ... Preparing to unpack .../09-libctf-nobfd0_2.37-1ubuntu1_ppc64el.deb ... Unpacking libctf-nobfd0:ppc64el (2.37-1ubuntu1) over (2.36.1-6ubuntu1) ... Preparing to unpack .../10-binutils-powerpc64le-linux-gnu_2.37-1ubuntu1_ppc64el.deb ... Unpacking binutils-powerpc64le-linux-gnu (2.37-1ubuntu1) over (2.36.1-6ubuntu1) ... Preparing to unpack .../11-binutils_2.37-1ubuntu1_ppc64el.deb ... Unpacking binutils (2.37-1ubuntu1) over (2.36.1-6ubuntu1) ... Preparing to unpack .../12-libbinutils_2.37-1ubuntu1_ppc64el.deb ... Unpacking libbinutils:ppc64el (2.37-1ubuntu1) over (2.36.1-6ubuntu1) ... Preparing to unpack .../13-binutils-common_2.37-1ubuntu1_ppc64el.deb ... Unpacking binutils-common:ppc64el (2.37-1ubuntu1) over (2.36.1-6ubuntu1) ... Preparing to unpack .../14-libisl23_0.24-1_ppc64el.deb ... Unpacking libisl23:ppc64el (0.24-1) over (0.23-1build1) ... Selecting previously unselected package cpp-11. Preparing to unpack .../15-cpp-11_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking cpp-11 (11.2.0-1ubuntu2) ... Preparing to unpack .../16-g++_4%3a11.2.0-1ubuntu1_ppc64el.deb ... Unpacking g++ (4:11.2.0-1ubuntu1) over (4:10.3.0-1ubuntu1) ... Preparing to unpack .../17-gcc_4%3a11.2.0-1ubuntu1_ppc64el.deb ... Unpacking gcc (4:11.2.0-1ubuntu1) over (4:10.3.0-1ubuntu1) ... Preparing to unpack .../18-cpp_4%3a11.2.0-1ubuntu1_ppc64el.deb ... Unpacking cpp (4:11.2.0-1ubuntu1) over (4:10.3.0-1ubuntu1) ... Selecting previously unselected package libgcc-11-dev:ppc64el. Preparing to unpack .../19-libgcc-11-dev_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking libgcc-11-dev:ppc64el (11.2.0-1ubuntu2) ... Selecting previously unselected package gcc-11. Preparing to unpack .../20-gcc-11_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking gcc-11 (11.2.0-1ubuntu2) ... Selecting previously unselected package libstdc++-11-dev:ppc64el. Preparing to unpack .../21-libstdc++-11-dev_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking libstdc++-11-dev:ppc64el (11.2.0-1ubuntu2) ... Selecting previously unselected package g++-11. Preparing to unpack .../22-g++-11_11.2.0-1ubuntu2_ppc64el.deb ... Unpacking g++-11 (11.2.0-1ubuntu2) ... Preparing to unpack .../23-dpkg-dev_1.20.9ubuntu13_all.deb ... Unpacking dpkg-dev (1.20.9ubuntu13) over (1.20.7.1ubuntu4) ... Preparing to unpack .../24-libdpkg-perl_1.20.9ubuntu13_all.deb ... Unpacking libdpkg-perl (1.20.9ubuntu13) over (1.20.7.1ubuntu4) ... Preparing to unpack .../25-lto-disabled-list_16_all.deb ... Unpacking lto-disabled-list (16) over (7) ... Selecting previously unselected package python3-psutil. Preparing to unpack .../26-python3-psutil_5.8.0-1_ppc64el.deb ... Unpacking python3-psutil (5.8.0-1) ... Preparing to unpack .../27-build-essential_12.9ubuntu1_ppc64el.deb ... Unpacking build-essential (12.9ubuntu1) over (12.8ubuntu3) ... Preparing to unpack .../28-g++-10_10.3.0-6ubuntu1_ppc64el.deb ... Unpacking g++-10 (10.3.0-6ubuntu1) over (10.3.0-1ubuntu1) ... Preparing to unpack .../29-gcc-10_10.3.0-6ubuntu1_ppc64el.deb ... Unpacking gcc-10 (10.3.0-6ubuntu1) over (10.3.0-1ubuntu1) ... Preparing to unpack .../30-libstdc++-10-dev_10.3.0-6ubuntu1_ppc64el.deb ... Unpacking libstdc++-10-dev:ppc64el (10.3.0-6ubuntu1) over (10.3.0-1ubuntu1) ... Preparing to unpack .../31-libgcc-10-dev_10.3.0-6ubuntu1_ppc64el.deb ... Unpacking libgcc-10-dev:ppc64el (10.3.0-6ubuntu1) over (10.3.0-1ubuntu1) ... Preparing to unpack .../32-cpp-10_10.3.0-6ubuntu1_ppc64el.deb ... Unpacking cpp-10 (10.3.0-6ubuntu1) over (10.3.0-1ubuntu1) ... Preparing to unpack .../33-gcc-10-base_10.3.0-6ubuntu1_ppc64el.deb ... Unpacking gcc-10-base:ppc64el (10.3.0-6ubuntu1) over (10.3.0-1ubuntu1) ... Preparing to unpack .../34-libassuan0_2.5.5-1_ppc64el.deb ... Unpacking libassuan0:ppc64el (2.5.5-1) over (2.5.4-1ubuntu1) ... Preparing to unpack .../35-pinentry-curses_1.1.1-1_ppc64el.deb ... Unpacking pinentry-curses (1.1.1-1) over (1.1.0-4build1) ... Preparing to unpack .../36-gpg_2.2.20-1ubuntu4_ppc64el.deb ... Unpacking gpg (2.2.20-1ubuntu4) over (2.2.20-1ubuntu3) ... Preparing to unpack .../37-gpgconf_2.2.20-1ubuntu4_ppc64el.deb ... Unpacking gpgconf (2.2.20-1ubuntu4) over (2.2.20-1ubuntu3) ... Preparing to unpack .../38-gpg-agent_2.2.20-1ubuntu4_ppc64el.deb ... Unpacking gpg-agent (2.2.20-1ubuntu4) over (2.2.20-1ubuntu3) ... Preparing to unpack .../39-pkgbinarymangler_148_all.deb ... Unpacking pkgbinarymangler (148) over (147) ... Setting up media-types (4.0.0) ... Setting up lto-disabled-list (16) ... Setting up libapparmor1:ppc64el (3.0.3-0ubuntu1) ... Setting up perl-modules-5.32 (5.32.1-3ubuntu3) ... Setting up libsqlite3-0:ppc64el (3.35.5-1) ... Setting up binutils-common:ppc64el (2.37-1ubuntu1) ... Setting up linux-libc-dev:ppc64el (5.13.0-14.14) ... Setting up libctf-nobfd0:ppc64el (2.37-1ubuntu1) ... Setting up libassuan0:ppc64el (2.5.5-1) ... Setting up libgomp1:ppc64el (11.2.0-1ubuntu2) ... Setting up libasan6:ppc64el (11.2.0-1ubuntu2) ... Setting up gcc-10-base:ppc64el (10.3.0-6ubuntu1) ... Setting up xz-utils (5.2.5-2) ... Setting up libquadmath0:ppc64el (11.2.0-1ubuntu2) ... Setting up libatomic1:ppc64el (11.2.0-1ubuntu2) ... Setting up usrmerge (25ubuntu1) ... Setting up libss2:ppc64el (1.46.2-1ubuntu2) ... Setting up libperl5.32:ppc64el (5.32.1-3ubuntu3) ... Setting up logsave (1.46.2-1ubuntu2) ... Setting up libubsan1:ppc64el (11.2.0-1ubuntu2) ... Setting up advancecomp (2.1-2.1ubuntu1) ... Setting up libdevmapper1.02.1:ppc64el (2:1.02.175-2.1ubuntu1) ... Setting up mount (2.36.1-8ubuntu1) ... Setting up libnsl-dev:ppc64el (1.3.0-2) ... Setting up libcrypt-dev:ppc64el (1:4.4.18-4ubuntu1) ... Setting up libmpdec3:ppc64el (2.5.1-2) ... Setting up libbinutils:ppc64el (2.37-1ubuntu1) ... Setting up libisl23:ppc64el (0.24-1) ... Setting up libc-dev-bin (2.34-0ubuntu1~ppa5) ... Setting up openssl (1.1.1j-1ubuntu5) ... Setting up readline-common (8.1-2) ... Setting up libcc1-0:ppc64el (11.2.0-1ubuntu2) ... Setting up liblsan0:ppc64el (11.2.0-1ubuntu2) ... Setting up libprocps8:ppc64el (2:3.3.17-5ubuntu3) ... Setting up cpp-10 (10.3.0-6ubuntu1) ... Setting up libitm1:ppc64el (11.2.0-1ubuntu2) ... Setting up libkmod2:ppc64el (28-1ubuntu4) ... Setting up libtsan0:ppc64el (11.2.0-1ubuntu2) ... Setting up libctf0:ppc64el (2.37-1ubuntu1) ... Setting up pinentry-curses (1.1.1-1) ... Setting up cpp-11 (11.2.0-1ubuntu2) ... Setting up pkgbinarymangler (148) ... Setting up libgcc-10-dev:ppc64el (10.3.0-6ubuntu1) ... Setting up libreadline8:ppc64el (8.1-2) ... Setting up e2fsprogs (1.46.2-1ubuntu2) ... Setting up perl (5.32.1-3ubuntu3) ... Setting up libdpkg-perl (1.20.9ubuntu13) ... Setting up libgcc-11-dev:ppc64el (11.2.0-1ubuntu2) ... Setting up cpp (4:11.2.0-1ubuntu1) ... Setting up procps (2:3.3.17-5ubuntu3) ... update-alternatives: warning: alternative /usr/bin/w.procps (part of link group w) doesn't exist; removing from list of alternatives update-alternatives: warning: /etc/alternatives/w is dangling; it will be updated with best choice Setting up gpgconf (2.2.20-1ubuntu4) ... Setting up libc6-dev:ppc64el (2.34-0ubuntu1~ppa5) ... Setting up binutils-powerpc64le-linux-gnu (2.37-1ubuntu1) ... Setting up gpg (2.2.20-1ubuntu4) ... Setting up libpython3.9-stdlib:ppc64el (3.9.6-1) ... Setting up libpython3-stdlib:ppc64el (3.9.4-1) ... Setting up libstdc++-10-dev:ppc64el (10.3.0-6ubuntu1) ... Setting up gpg-agent (2.2.20-1ubuntu4) ... Setting up binutils (2.37-1ubuntu1) ... Setting up gcc-10 (10.3.0-6ubuntu1) ... Setting up libstdc++-11-dev:ppc64el (11.2.0-1ubuntu2) ... Setting up gcc-11 (11.2.0-1ubuntu2) ... Setting up python3.9 (3.9.6-1) ... Setting up g++-10 (10.3.0-6ubuntu1) ... Setting up g++-11 (11.2.0-1ubuntu2) ... Setting up python3 (3.9.4-1) ... Setting up python3-psutil (5.8.0-1) ... Setting up gcc (4:11.2.0-1ubuntu1) ... Setting up dpkg-dev (1.20.9ubuntu13) ... Setting up g++ (4:11.2.0-1ubuntu1) ... Setting up build-essential (12.9ubuntu1) ... Setting up systemd-timesyncd (248.3-1ubuntu3) ... Installing new version of config file /etc/systemd/timesyncd.conf ... Setting up systemd (248.3-1ubuntu3) ... Installing new version of config file /etc/systemd/journald.conf ... Installing new version of config file /etc/systemd/logind.conf ... Installing new version of config file /etc/systemd/networkd.conf ... Installing new version of config file /etc/systemd/pstore.conf ... Installing new version of config file /etc/systemd/resolved.conf ... Installing new version of config file /etc/systemd/sleep.conf ... Installing new version of config file /etc/systemd/system.conf ... Installing new version of config file /etc/systemd/user.conf ... Initializing machine ID from random generator. Setting up systemd-sysv (248.3-1ubuntu3) ... Processing triggers for libc-bin (2.34-0ubuntu1~ppa5) ... RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-21857289 ppc64el impish -c chroot:build-PACKAGEBUILD-21857289 --arch=ppc64el --dist=impish --nolog esmtp_1.2-17.dsc Initiating build PACKAGEBUILD-21857289 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.15.0-154-generic #161-Ubuntu SMP Fri Jul 30 13:00:19 UTC 2021 ppc64le sbuild (Debian sbuild) 0.75.0 (21 Mar 2018) on bos02-ppc64el-008.buildd +==============================================================================+ | esmtp 1.2-17 (ppc64el) Thu, 02 Sep 2021 14:01:04 +0000 | +==============================================================================+ Package: esmtp Version: 1.2-17 Source Version: 1.2-17 Distribution: impish Machine Architecture: ppc64el Host Architecture: ppc64el Build Architecture: ppc64el Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-21857289/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- esmtp_1.2-17.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/esmtp-oEEtZb/esmtp-1.2' with '<>' I: NOTICE: Log filtering will replace 'build/esmtp-oEEtZb' with '<>' +------------------------------------------------------------------------------+ | Install build-essential | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-iiWwSt/apt_archive/sbuild-build-depends-core-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy dpkg-scanpackages: info: Wrote 1 entries to output Packages file. Ign:1 copy:/<>/resolver-iiWwSt/apt_archive ./ InRelease Get:2 copy:/<>/resolver-iiWwSt/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-iiWwSt/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-iiWwSt/apt_archive ./ Sources [349 B] Get:5 copy:/<>/resolver-iiWwSt/apt_archive ./ Packages [432 B] Fetched 1738 B in 0s (96.7 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: cpp-10 g++-10 gcc-10 gcc-10-base libgcc-10-dev libstdc++-10-dev 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 652 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-iiWwSt/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [652 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 652 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 14928 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_ppc64el.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (ppc64el included in any all) +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: bison, debhelper-compat (= 12), flex, libesmtp-dev, po-debconf Filtered Build-Depends: bison, debhelper-compat (= 12), flex, libesmtp-dev, po-debconf dpkg-deb: building package 'sbuild-build-depends-esmtp-dummy' in '/<>/resolver-iiWwSt/apt_archive/sbuild-build-depends-esmtp-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-esmtp-dummy dpkg-scanpackages: info: Wrote 2 entries to output Packages file. Ign:1 copy:/<>/resolver-iiWwSt/apt_archive ./ InRelease Get:2 copy:/<>/resolver-iiWwSt/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-iiWwSt/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-iiWwSt/apt_archive ./ Sources [513 B] Get:5 copy:/<>/resolver-iiWwSt/apt_archive ./ Packages [593 B] Fetched 2069 B in 0s (103 kB/s) Reading package lists... Reading package lists... Install esmtp 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: g++-10 libstdc++-10-dev Use 'apt autoremove' to remove them. The following additional packages will be installed: autoconf automake autopoint autotools-dev bison bsdextrautils debhelper debugedit dh-autoreconf dh-strip-nondeterminism dwz file flex gettext gettext-base groff-base intltool-debian libarchive-zip-perl libdebhelper-perl libdw1 libelf1 libesmtp-dev libesmtp6 libfile-stripnondeterminism-perl libicu67 libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libsub-override-perl libtool libuchardet0 libxml2 m4 man-db po-debconf Suggested packages: autoconf-archive gnu-standards autoconf-doc bison-doc dh-make flex-doc gettext-doc libasprintf-dev libgettextpo-dev groff libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl Recommended packages: libfl-dev curl | wget | lynx libarchive-cpio-perl libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bison bsdextrautils debhelper debugedit dh-autoreconf dh-strip-nondeterminism dwz file flex gettext gettext-base groff-base intltool-debian libarchive-zip-perl libdebhelper-perl libdw1 libelf1 libesmtp-dev libesmtp6 libfile-stripnondeterminism-perl libicu67 libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libsub-override-perl libtool libuchardet0 libxml2 m4 man-db po-debconf sbuild-build-depends-esmtp-dummy 0 upgraded, 37 newly installed, 0 to remove and 0 not upgraded. Need to get 17.8 MB of archives. After this operation, 74.4 MB of additional disk space will be used. Get:1 copy:/<>/resolver-iiWwSt/apt_archive ./ sbuild-build-depends-esmtp-dummy 0.invalid.0 [688 B] Get:2 http://ftpmaster.internal/ubuntu impish/main ppc64el bsdextrautils ppc64el 2.36.1-8ubuntu1 [81.6 kB] Get:3 http://ftpmaster.internal/ubuntu impish/main ppc64el libuchardet0 ppc64el 0.0.7-1 [71.0 kB] Get:4 http://ftpmaster.internal/ubuntu impish/main ppc64el groff-base ppc64el 1.22.4-6 [921 kB] Get:5 http://ftpmaster.internal/ubuntu impish/main ppc64el libpipeline1 ppc64el 1.5.3-1 [29.6 kB] Get:6 http://ftpmaster.internal/ubuntu impish/main ppc64el man-db ppc64el 2.9.4-2 [1185 kB] Get:7 http://ftpmaster.internal/ubuntu impish/main ppc64el libsigsegv2 ppc64el 2.13-1ubuntu1 [14.8 kB] Get:8 http://ftpmaster.internal/ubuntu impish/main ppc64el m4 ppc64el 1.4.18-5 [208 kB] Get:9 http://ftpmaster.internal/ubuntu impish/main ppc64el flex ppc64el 2.6.4-8 [304 kB] Get:10 http://ftpmaster.internal/ubuntu impish/main ppc64el libelf1 ppc64el 0.185-1 [54.8 kB] Get:11 http://ftpmaster.internal/ubuntu impish/main ppc64el libicu67 ppc64el 67.1-6ubuntu2 [8820 kB] Get:12 http://ftpmaster.internal/ubuntu impish/main ppc64el libxml2 ppc64el 2.9.10+dfsg-6.7 [710 kB] Get:13 http://ftpmaster.internal/ubuntu impish/main ppc64el libmagic-mgc ppc64el 1:5.39-3 [228 kB] Get:14 http://ftpmaster.internal/ubuntu impish/main ppc64el libmagic1 ppc64el 1:5.39-3 [93.4 kB] Get:15 http://ftpmaster.internal/ubuntu impish/main ppc64el file ppc64el 1:5.39-3 [24.7 kB] Get:16 http://ftpmaster.internal/ubuntu impish/main ppc64el gettext-base ppc64el 0.21-4ubuntu3 [40.5 kB] Get:17 http://ftpmaster.internal/ubuntu impish/main ppc64el autoconf all 2.69-14 [293 kB] Get:18 http://ftpmaster.internal/ubuntu impish/main ppc64el autotools-dev all 20180224.1+nmu1 [39.4 kB] Get:19 http://ftpmaster.internal/ubuntu impish/main ppc64el automake all 1:1.16.4-1ubuntu1 [557 kB] Get:20 http://ftpmaster.internal/ubuntu impish/main ppc64el autopoint all 0.21-4ubuntu3 [422 kB] Get:21 http://ftpmaster.internal/ubuntu impish/main ppc64el bison ppc64el 2:3.7.6+dfsg-1build1 [772 kB] Get:22 http://ftpmaster.internal/ubuntu impish/main ppc64el libdebhelper-perl all 13.3.4ubuntu2 [62.5 kB] Get:23 http://ftpmaster.internal/ubuntu impish/main ppc64el libtool all 2.4.6-15 [161 kB] Get:24 http://ftpmaster.internal/ubuntu impish/main ppc64el dh-autoreconf all 20 [16.1 kB] Get:25 http://ftpmaster.internal/ubuntu impish/main ppc64el libarchive-zip-perl all 1.68-1 [90.2 kB] Get:26 http://ftpmaster.internal/ubuntu impish/main ppc64el libsub-override-perl all 0.09-2 [9532 B] Get:27 http://ftpmaster.internal/ubuntu impish/main ppc64el libfile-stripnondeterminism-perl all 1.12.0-1 [17.5 kB] Get:28 http://ftpmaster.internal/ubuntu impish/main ppc64el dh-strip-nondeterminism all 1.12.0-1 [5228 B] Get:29 http://ftpmaster.internal/ubuntu impish/main ppc64el libdw1 ppc64el 0.185-1 [244 kB] Get:30 http://ftpmaster.internal/ubuntu impish/main ppc64el debugedit ppc64el 1:5.0-0ubuntu1 [52.6 kB] Get:31 http://ftpmaster.internal/ubuntu impish/main ppc64el dwz ppc64el 0.14-1 [109 kB] Get:32 http://ftpmaster.internal/ubuntu impish/main ppc64el gettext ppc64el 0.21-4ubuntu3 [895 kB] Get:33 http://ftpmaster.internal/ubuntu impish/main ppc64el intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:34 http://ftpmaster.internal/ubuntu impish/main ppc64el po-debconf all 1.0.21+nmu1 [233 kB] Get:35 http://ftpmaster.internal/ubuntu impish/main ppc64el debhelper all 13.3.4ubuntu2 [921 kB] Get:36 http://ftpmaster.internal/ubuntu impish/universe ppc64el libesmtp6 ppc64el 1.1.0-2 [50.4 kB] Get:37 http://ftpmaster.internal/ubuntu impish/universe ppc64el libesmtp-dev ppc64el 1.1.0-2 [6852 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 17.8 MB in 1s (21.2 MB/s) Selecting previously unselected package bsdextrautils. (Reading database ... 14928 files and directories currently installed.) Preparing to unpack .../00-bsdextrautils_2.36.1-8ubuntu1_ppc64el.deb ... Unpacking bsdextrautils (2.36.1-8ubuntu1) ... Selecting previously unselected package libuchardet0:ppc64el. Preparing to unpack .../01-libuchardet0_0.0.7-1_ppc64el.deb ... Unpacking libuchardet0:ppc64el (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.4-6_ppc64el.deb ... Unpacking groff-base (1.22.4-6) ... Selecting previously unselected package libpipeline1:ppc64el. Preparing to unpack .../03-libpipeline1_1.5.3-1_ppc64el.deb ... Unpacking libpipeline1:ppc64el (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.9.4-2_ppc64el.deb ... Unpacking man-db (2.9.4-2) ... Selecting previously unselected package libsigsegv2:ppc64el. Preparing to unpack .../05-libsigsegv2_2.13-1ubuntu1_ppc64el.deb ... Unpacking libsigsegv2:ppc64el (2.13-1ubuntu1) ... Selecting previously unselected package m4. Preparing to unpack .../06-m4_1.4.18-5_ppc64el.deb ... Unpacking m4 (1.4.18-5) ... Selecting previously unselected package flex. Preparing to unpack .../07-flex_2.6.4-8_ppc64el.deb ... Unpacking flex (2.6.4-8) ... Selecting previously unselected package libelf1:ppc64el. Preparing to unpack .../08-libelf1_0.185-1_ppc64el.deb ... Unpacking libelf1:ppc64el (0.185-1) ... Selecting previously unselected package libicu67:ppc64el. Preparing to unpack .../09-libicu67_67.1-6ubuntu2_ppc64el.deb ... Unpacking libicu67:ppc64el (67.1-6ubuntu2) ... Selecting previously unselected package libxml2:ppc64el. Preparing to unpack .../10-libxml2_2.9.10+dfsg-6.7_ppc64el.deb ... Unpacking libxml2:ppc64el (2.9.10+dfsg-6.7) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../11-libmagic-mgc_1%3a5.39-3_ppc64el.deb ... Unpacking libmagic-mgc (1:5.39-3) ... Selecting previously unselected package libmagic1:ppc64el. Preparing to unpack .../12-libmagic1_1%3a5.39-3_ppc64el.deb ... Unpacking libmagic1:ppc64el (1:5.39-3) ... Selecting previously unselected package file. Preparing to unpack .../13-file_1%3a5.39-3_ppc64el.deb ... Unpacking file (1:5.39-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../14-gettext-base_0.21-4ubuntu3_ppc64el.deb ... Unpacking gettext-base (0.21-4ubuntu3) ... Selecting previously unselected package autoconf. Preparing to unpack .../15-autoconf_2.69-14_all.deb ... Unpacking autoconf (2.69-14) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../16-autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../17-automake_1%3a1.16.4-1ubuntu1_all.deb ... Unpacking automake (1:1.16.4-1ubuntu1) ... Selecting previously unselected package autopoint. Preparing to unpack .../18-autopoint_0.21-4ubuntu3_all.deb ... Unpacking autopoint (0.21-4ubuntu3) ... Selecting previously unselected package bison. Preparing to unpack .../19-bison_2%3a3.7.6+dfsg-1build1_ppc64el.deb ... Unpacking bison (2:3.7.6+dfsg-1build1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../20-libdebhelper-perl_13.3.4ubuntu2_all.deb ... Unpacking libdebhelper-perl (13.3.4ubuntu2) ... Selecting previously unselected package libtool. Preparing to unpack .../21-libtool_2.4.6-15_all.deb ... Unpacking libtool (2.4.6-15) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../22-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../23-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../24-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../25-libfile-stripnondeterminism-perl_1.12.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.12.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../26-dh-strip-nondeterminism_1.12.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.12.0-1) ... Selecting previously unselected package libdw1:ppc64el. Preparing to unpack .../27-libdw1_0.185-1_ppc64el.deb ... Unpacking libdw1:ppc64el (0.185-1) ... Selecting previously unselected package debugedit. Preparing to unpack .../28-debugedit_1%3a5.0-0ubuntu1_ppc64el.deb ... Unpacking debugedit (1:5.0-0ubuntu1) ... Selecting previously unselected package dwz. Preparing to unpack .../29-dwz_0.14-1_ppc64el.deb ... Unpacking dwz (0.14-1) ... Selecting previously unselected package gettext. Preparing to unpack .../30-gettext_0.21-4ubuntu3_ppc64el.deb ... Unpacking gettext (0.21-4ubuntu3) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../31-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../32-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../33-debhelper_13.3.4ubuntu2_all.deb ... Unpacking debhelper (13.3.4ubuntu2) ... Selecting previously unselected package libesmtp6. Preparing to unpack .../34-libesmtp6_1.1.0-2_ppc64el.deb ... Unpacking libesmtp6 (1.1.0-2) ... Selecting previously unselected package libesmtp-dev. Preparing to unpack .../35-libesmtp-dev_1.1.0-2_ppc64el.deb ... Unpacking libesmtp-dev (1.1.0-2) ... Selecting previously unselected package sbuild-build-depends-esmtp-dummy. Preparing to unpack .../36-sbuild-build-depends-esmtp-dummy_0.invalid.0_ppc64el.deb ... Unpacking sbuild-build-depends-esmtp-dummy (0.invalid.0) ... Setting up libpipeline1:ppc64el (1.5.3-1) ... Setting up bsdextrautils (2.36.1-8ubuntu1) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up libicu67:ppc64el (67.1-6ubuntu2) ... Setting up libmagic-mgc (1:5.39-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.3.4ubuntu2) ... Setting up libmagic1:ppc64el (1:5.39-3) ... Setting up gettext-base (0.21-4ubuntu3) ... Setting up libesmtp6 (1.1.0-2) ... Setting up file (1:5.39-3) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up libesmtp-dev (1.1.0-2) ... Setting up libsigsegv2:ppc64el (2.13-1ubuntu1) ... Setting up autopoint (0.21-4ubuntu3) ... Setting up libuchardet0:ppc64el (0.0.7-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up libelf1:ppc64el (0.185-1) ... Setting up libxml2:ppc64el (2.9.10+dfsg-6.7) ... Setting up libfile-stripnondeterminism-perl (1.12.0-1) ... Setting up libdw1:ppc64el (0.185-1) ... Setting up gettext (0.21-4ubuntu3) ... Setting up libtool (2.4.6-15) ... Setting up m4 (1.4.18-5) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up autoconf (2.69-14) ... Setting up dh-strip-nondeterminism (1.12.0-1) ... Setting up dwz (0.14-1) ... Setting up groff-base (1.22.4-6) ... Setting up bison (2:3.7.6+dfsg-1build1) ... update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode Setting up debugedit (1:5.0-0ubuntu1) ... Setting up automake (1:1.16.4-1ubuntu1) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up flex (2.6.4-8) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.9.4-2) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer. Setting up dh-autoreconf (20) ... Setting up debhelper (13.3.4ubuntu2) ... Setting up sbuild-build-depends-esmtp-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.34-0ubuntu1~ppa5) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.15.0-154-generic ppc64el (ppc64le) Toolchain package versions: binutils_2.37-1ubuntu1 dpkg-dev_1.20.9ubuntu13 g++-10_10.3.0-6ubuntu1 g++-11_11.2.0-1ubuntu2 gcc-10_10.3.0-6ubuntu1 gcc-11_11.2.0-1ubuntu2 libc6-dev_2.34-0ubuntu1~ppa5 libstdc++-10-dev_10.3.0-6ubuntu1 libstdc++-11-dev_11.2.0-1ubuntu2 libstdc++6_11.2.0-1ubuntu2 linux-libc-dev_5.13.0-14.14 Package versions: adduser_3.118ubuntu5 advancecomp_2.1-2.1ubuntu1 apt_2.3.7 autoconf_2.69-14 automake_1:1.16.4-1ubuntu1 autopoint_0.21-4ubuntu3 autotools-dev_20180224.1+nmu1 base-files_11.1ubuntu3 base-passwd_3.5.51 bash_5.1-3ubuntu1 binutils_2.37-1ubuntu1 binutils-common_2.37-1ubuntu1 binutils-powerpc64le-linux-gnu_2.37-1ubuntu1 bison_2:3.7.6+dfsg-1build1 bsdextrautils_2.36.1-8ubuntu1 bsdutils_1:2.36.1-8ubuntu1 build-essential_12.9ubuntu1 bzip2_1.0.8-4ubuntu3 ca-certificates_20210119build1 coreutils_8.32-4ubuntu2 cpp_4:11.2.0-1ubuntu1 cpp-10_10.3.0-6ubuntu1 cpp-11_11.2.0-1ubuntu2 dash_0.5.11+git20210120+802ebd4-1 debconf_1.5.77 debhelper_13.3.4ubuntu2 debianutils_4.11.2 debugedit_1:5.0-0ubuntu1 dh-autoreconf_20 dh-strip-nondeterminism_1.12.0-1 diffutils_1:3.7-5ubuntu1 dpkg_1.20.9ubuntu13 dpkg-dev_1.20.9ubuntu13 dwz_0.14-1 e2fsprogs_1.46.2-1ubuntu2 fakeroot_1.25.3-1.1ubuntu2 file_1:5.39-3 findutils_4.8.0-1ubuntu2 flex_2.6.4-8 g++_4:11.2.0-1ubuntu1 g++-10_10.3.0-6ubuntu1 g++-11_11.2.0-1ubuntu2 gcc_4:11.2.0-1ubuntu1 gcc-10_10.3.0-6ubuntu1 gcc-10-base_10.3.0-6ubuntu1 gcc-11_11.2.0-1ubuntu2 gcc-11-base_11.2.0-1ubuntu2 gettext_0.21-4ubuntu3 gettext-base_0.21-4ubuntu3 gpg_2.2.20-1ubuntu4 gpg-agent_2.2.20-1ubuntu4 gpgconf_2.2.20-1ubuntu4 gpgv_2.2.20-1ubuntu4 grep_3.6-1 groff-base_1.22.4-6 gzip_1.10-4ubuntu1 hostname_3.23 init_1.60 init-system-helpers_1.60 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-10ubuntu1 libapparmor1_3.0.3-0ubuntu1 libapt-pkg6.0_2.3.7 libarchive-zip-perl_1.68-1 libargon2-1_0~20171227-0.2build21.04.0 libasan6_11.2.0-1ubuntu2 libassuan0_2.5.5-1 libatomic1_11.2.0-1ubuntu2 libattr1_1:2.4.48-6build1 libaudit-common_1:3.0-2ubuntu2 libaudit1_1:3.0-2ubuntu2 libbinutils_2.37-1ubuntu1 libblkid1_2.36.1-8ubuntu1 libbz2-1.0_1.0.8-4ubuntu3 libc-bin_2.34-0ubuntu1~ppa5 libc-dev-bin_2.34-0ubuntu1~ppa5 libc6_2.34-0ubuntu1~ppa5 libc6-dev_2.34-0ubuntu1~ppa5 libcap-ng0_0.7.9-2.2build1 libcap2_1:2.44-1build1 libcc1-0_11.2.0-1ubuntu2 libcom-err2_1.46.2-1ubuntu2 libcrypt-dev_1:4.4.18-4ubuntu1 libcrypt1_1:4.4.18-4ubuntu1 libcryptsetup12_2:2.3.4-1ubuntu3 libctf-nobfd0_2.37-1ubuntu1 libctf0_2.37-1ubuntu1 libdb5.3_5.3.28+dfsg1-0.8ubuntu1 libdebconfclient0_0.256ubuntu3 libdebhelper-perl_13.3.4ubuntu2 libdevmapper1.02.1_2:1.02.175-2.1ubuntu1 libdpkg-perl_1.20.9ubuntu13 libdw1_0.185-1 libelf1_0.185-1 libesmtp-dev_1.1.0-2 libesmtp6_1.1.0-2 libexpat1_2.3.0-1 libext2fs2_1.46.2-1ubuntu2 libfakeroot_1.25.3-1.1ubuntu2 libffi8ubuntu1_3.4~20200819gead65ca871-0ubuntu5 libfile-stripnondeterminism-perl_1.12.0-1 libgcc-10-dev_10.3.0-6ubuntu1 libgcc-11-dev_11.2.0-1ubuntu2 libgcc-s1_11.2.0-1ubuntu2 libgcrypt20_1.8.7-5ubuntu1 libgdbm-compat4_1.19-2 libgdbm6_1.19-2 libgmp10_2:6.2.1+dfsg-1ubuntu2 libgnutls30_3.7.1-4ubuntu1 libgomp1_11.2.0-1ubuntu2 libgpg-error0_1.38-2build1 libgssapi-krb5-2_1.18.3-6 libhogweed6_3.7.3-1 libicu67_67.1-6ubuntu2 libidn2-0_2.3.1-1 libip4tc2_1.8.7-1ubuntu2 libisl23_0.24-1 libitm1_11.2.0-1ubuntu2 libjson-c5_0.15-2build2 libk5crypto3_1.18.3-6 libkeyutils1_1.6.1-2ubuntu1 libkmod2_28-1ubuntu4 libkrb5-3_1.18.3-6 libkrb5support0_1.18.3-6 liblockfile-bin_1.17-1 liblockfile1_1.17-1 liblsan0_11.2.0-1ubuntu2 liblz4-1_1.9.3-2 liblzma5_5.2.5-2 libmagic-mgc_1:5.39-3 libmagic1_1:5.39-3 libmount1_2.36.1-8ubuntu1 libmpc3_1.2.0-1build1 libmpdec3_2.5.1-2 libmpfr6_4.1.0-3build1 libncurses6_6.2+20201114-2build1 libncursesw6_6.2+20201114-2build1 libnettle8_3.7.3-1 libnpth0_1.6-3 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libp11-kit0_0.23.22-1 libpam-modules_1.3.1-5ubuntu8 libpam-modules-bin_1.3.1-5ubuntu8 libpam-runtime_1.3.1-5ubuntu8 libpam0g_1.3.1-5ubuntu8 libpcre2-8-0_10.36-2ubuntu5 libpcre3_2:8.39-13build3 libperl5.32_5.32.1-3ubuntu3 libpipeline1_1.5.3-1 libpng16-16_1.6.37-3build3 libprocps8_2:3.3.17-5ubuntu3 libpython3-stdlib_3.9.4-1 libpython3.9-minimal_3.9.6-1 libpython3.9-stdlib_3.9.6-1 libquadmath0_11.2.0-1ubuntu2 libreadline8_8.1-2 libseccomp2_2.5.1-1ubuntu1 libselinux1_3.1-3build1 libsemanage-common_3.1-1ubuntu1 libsemanage1_3.1-1ubuntu1 libsepol1_3.1-1ubuntu1 libsigsegv2_2.13-1ubuntu1 libsmartcols1_2.36.1-8ubuntu1 libsqlite3-0_3.35.5-1 libss2_1.46.2-1ubuntu2 libssl1.1_1.1.1j-1ubuntu5 libstdc++-10-dev_10.3.0-6ubuntu1 libstdc++-11-dev_11.2.0-1ubuntu2 libstdc++6_11.2.0-1ubuntu2 libsub-override-perl_0.09-2 libsystemd0_248.3-1ubuntu3 libtasn1-6_4.16.0-2 libtinfo6_6.2+20201114-2build1 libtirpc-common_1.3.1-1build1 libtirpc-dev_1.3.1-1build1 libtirpc3_1.3.1-1build1 libtool_2.4.6-15 libtsan0_11.2.0-1ubuntu2 libubsan1_11.2.0-1ubuntu2 libuchardet0_0.0.7-1 libudev1_248.3-1ubuntu3 libunistring2_0.9.10-4 libuuid1_2.36.1-8ubuntu1 libxml2_2.9.10+dfsg-6.7 libxxhash0_0.8.0-2 libzstd1_1.4.8+dfsg-2.1 linux-libc-dev_5.13.0-14.14 lockfile-progs_0.1.18 login_1:4.8.1-1ubuntu9 logsave_1.46.2-1ubuntu2 lsb-base_11.1.0ubuntu2 lto-disabled-list_16 m4_1.4.18-5 make_4.3-4ubuntu1 man-db_2.9.4-2 mawk_1.3.4.20200120-2 media-types_4.0.0 mount_2.36.1-8ubuntu1 ncurses-base_6.2+20201114-2build1 ncurses-bin_6.2+20201114-2build1 openssl_1.1.1j-1ubuntu5 optipng_0.7.7-1 passwd_1:4.8.1-1ubuntu9 patch_2.7.6-7 perl_5.32.1-3ubuntu3 perl-base_5.32.1-3ubuntu3 perl-modules-5.32_5.32.1-3ubuntu3 pinentry-curses_1.1.1-1 pkgbinarymangler_148 po-debconf_1.0.21+nmu1 policyrcd-script-zg2_0.1-3 procps_2:3.3.17-5ubuntu3 python3_3.9.4-1 python3-minimal_3.9.4-1 python3-psutil_5.8.0-1 python3.9_3.9.6-1 python3.9-minimal_3.9.6-1 readline-common_8.1-2 rpcsvc-proto_1.4.2-0ubuntu4 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-esmtp-dummy_0.invalid.0 sed_4.7-1ubuntu1 sensible-utils_0.0.14 systemd_248.3-1ubuntu3 systemd-sysv_248.3-1ubuntu3 systemd-timesyncd_248.3-1ubuntu3 sysvinit-utils_2.96-7ubuntu1 tar_1.34+dfsg-1build1 tzdata_2021a-1ubuntu1 ubuntu-keyring_2021.03.26 usrmerge_25ubuntu1 util-linux_2.36.1-8ubuntu1 xz-utils_5.2.5-2 zlib1g_1:1.2.11.dfsg-2ubuntu7 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Fri Dec 28 16:27:08 2018 UTC gpgv: using RSA key 4644409808C171E05531DDEE054CB8F31343CF44 gpgv: issuer "carnil@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./esmtp_1.2-17.dsc dpkg-source: info: extracting esmtp in /<> dpkg-source: info: unpacking esmtp_1.2.orig.tar.bz2 dpkg-source: info: unpacking esmtp_1.2-17.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix_esmtp_linking.patch dpkg-source: info: applying fix_vary_typo_in_esmtprc.5.patch dpkg-source: info: applying fix_hyphen-used-as-minus-sign.patch dpkg-source: info: applying fix-segfault-on-empty-to-in-headers.patch Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=noautodbgsym 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-21857289 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-21857289 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-21857289 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- dpkg-buildpackage.pl: info: source package esmtp dpkg-buildpackage.pl: info: source version 1.2-17 dpkg-buildpackage.pl: info: source distribution unstable dpkg-source --before-build . dpkg-buildpackage.pl: info: host architecture ppc64el debian/rules clean dh clean debian/rules override_dh_auto_clean make[1]: Entering directory '/<>' debconf-updatepo dh_auto_clean make[1]: Leaving directory '/<>' dh_clean debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a configure.ac:10: installing './compile' dh_auto_configure -a ./configure --build=powerpc64le-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/powerpc64le-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking whether ln -s works... yes checking for bison... bison -y checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking libesmtp.h usability... yes checking libesmtp.h presence... yes checking for libesmtp.h... yes checking for libESMTP... no configure: error: libESMTP library not found tail -v -n \+0 config.log ==> config.log <== This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by esmtp configure 1.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --build=powerpc64le-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=${prefix}/lib/powerpc64le-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking ## --------- ## ## Platform. ## ## --------- ## hostname = bos02-ppc64el-008 uname -m = ppc64le uname -r = 4.15.0-154-generic uname -s = Linux uname -v = #161-Ubuntu SMP Fri Jul 30 13:00:19 UTC 2021 /usr/bin/uname -p = ppc64le /bin/uname -X = unknown /bin/arch = ppc64le /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2226: checking for a BSD-compatible install configure:2294: result: /usr/bin/install -c configure:2305: checking whether build environment is sane configure:2360: result: yes configure:2506: checking for a thread-safe mkdir -p configure:2545: result: /usr/bin/mkdir -p configure:2552: checking for gawk configure:2582: result: no configure:2552: checking for mawk configure:2568: found /usr/bin/mawk configure:2579: result: mawk configure:2590: checking whether make sets $(MAKE) configure:2612: result: yes configure:2641: checking whether make supports nested variables configure:2658: result: yes configure:2799: checking whether to enable maintainer-specific portions of Makefiles configure:2808: result: no configure:2870: checking for gcc configure:2886: found /usr/bin/gcc configure:2897: result: gcc configure:3126: checking for C compiler version configure:3135: gcc --version >&5 gcc (Ubuntu 11.2.0-1ubuntu2) 11.2.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3146: $? = 0 configure:3135: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc64le-linux-gnu/11/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: powerpc64le-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.2.0-1ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=powerpc64le-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-secureplt --with-cpu=power8 --enable-targets=powerpcle-linux --disable-multilib --enable-multiarch --disable-werror --with-long-double-128 --enable-offload-targets=nvptx-none=/build/gcc-11-Gr50Cs/gcc-11-11.2.0/debian/tmp-nvptx/usr --without-cuda-driver --enable-checking=release --build=powerpc64le-linux-gnu --host=powerpc64le-linux-gnu --target=powerpc64le-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=1 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.2.0 (Ubuntu 11.2.0-1ubuntu2) ... rest of stderr output deleted ... configure:3146: $? = 0 configure:3135: gcc -V >&5 gcc: error: unrecognized command-line option '-V' gcc: fatal error: no input files compilation terminated. configure:3146: $? = 1 configure:3135: gcc -qversion >&5 gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:3146: $? = 1 configure:3166: checking whether the C compiler works configure:3188: gcc -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:3192: $? = 0 configure:3240: result: yes configure:3243: checking for C compiler default output file name configure:3245: result: a.out configure:3251: checking for suffix of executables configure:3258: gcc -o conftest -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:3262: $? = 0 configure:3284: result: configure:3306: checking whether we are cross compiling configure:3314: gcc -o conftest -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:3318: $? = 0 configure:3325: ./conftest configure:3329: $? = 0 configure:3344: result: no configure:3349: checking for suffix of object files configure:3371: gcc -c -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:3375: $? = 0 configure:3396: result: o configure:3400: checking whether we are using the GNU C compiler configure:3419: gcc -c -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:3419: $? = 0 configure:3428: result: yes configure:3437: checking whether gcc accepts -g configure:3457: gcc -c -g -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:3457: $? = 0 configure:3498: result: yes configure:3515: checking for gcc option to accept ISO C89 configure:3578: gcc -c -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:3578: $? = 0 configure:3591: result: none needed configure:3616: checking whether gcc understands -c and -o together configure:3638: gcc -c conftest.c -o conftest2.o configure:3641: $? = 0 configure:3638: gcc -c conftest.c -o conftest2.o configure:3641: $? = 0 configure:3653: result: yes configure:3673: checking whether make supports the include directive configure:3688: make -f confmf.GNU && cat confinc.out make[1]: Entering directory '/<>' make[1]: Leaving directory '/<>' this is the am__doit target configure:3691: $? = 0 configure:3710: result: yes (GNU style) configure:3735: checking dependency style of gcc configure:3846: result: none configure:3868: checking how to run the C preprocessor configure:3899: gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c configure:3899: $? = 0 configure:3913: gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:3913: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "esmtp" | #define PACKAGE_TARNAME "esmtp" | #define PACKAGE_VERSION "1.2" | #define PACKAGE_STRING "esmtp 1.2" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "esmtp" | #define VERSION "1.2" | /* end confdefs.h. */ | #include configure:3938: result: gcc -E configure:3958: gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c configure:3958: $? = 0 configure:3972: gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:3972: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "esmtp" | #define PACKAGE_TARNAME "esmtp" | #define PACKAGE_VERSION "1.2" | #define PACKAGE_STRING "esmtp 1.2" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "esmtp" | #define VERSION "1.2" | /* end confdefs.h. */ | #include configure:4001: checking for grep that handles long lines and -e configure:4059: result: /usr/bin/grep configure:4064: checking for egrep configure:4126: result: /usr/bin/grep -E configure:4131: checking for ANSI C header files configure:4151: gcc -c -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4151: $? = 0 configure:4224: gcc -o conftest -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -Wl,-z,now conftest.c >&5 configure:4224: $? = 0 configure:4224: ./conftest configure:4224: $? = 0 configure:4235: result: yes configure:4244: checking for an ANSI C-conforming const configure:4310: gcc -c -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5 configure:4310: $? = 0 configure:4317: result: yes configure:4330: checking for flex configure:4346: found /usr/bin/flex configure:4357: result: flex configure:4395: flex conftest.l configure:4399: $? = 0 configure:4401: checking lex output file root configure:4415: result: lex.yy configure:4420: checking lex library configure:4434: gcc -o conftest -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -Wl,-z,now conftest.c >&5 lex.yy.c: In function 'yy_scan_buffer': lex.yy.c:1490:24: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5 1490 | b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccmYrbbc.ltrans0.ltrans.o: in function `main': ./lex.yy.c:1180: undefined reference to `yywrap' /usr/bin/ld: /tmp/ccmYrbbc.ltrans0.ltrans.o: in function `main': ./conftest.l:17: undefined reference to `yywrap' /usr/bin/ld: /tmp/ccmYrbbc.ltrans0.ltrans.o: in function `main': ./lex.yy.c:871: undefined reference to `yywrap' collect2: error: ld returned 1 exit status configure:4434: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "esmtp" | #define PACKAGE_TARNAME "esmtp" | #define PACKAGE_VERSION "1.2" | #define PACKAGE_STRING "esmtp 1.2" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "esmtp" | #define VERSION "1.2" | #define STDC_HEADERS 1 | /* end confdefs.h. */ | | #line 3 "lex.yy.c" | | #define YY_INT_ALIGNED short int | | /* A lexical scanner generated by flex */ | | #define FLEX_SCANNER | #define YY_FLEX_MAJOR_VERSION 2 | #define YY_FLEX_MINOR_VERSION 6 | #define YY_FLEX_SUBMINOR_VERSION 4 | #if YY_FLEX_SUBMINOR_VERSION > 0 | #define FLEX_BETA | #endif | | /* First, we deal with platform-specific or compiler-specific issues. */ | | /* begin standard C headers. */ | #include | #include | #include | #include | | /* end standard C headers. */ | | /* flex integer type definitions */ | | #ifndef FLEXINT_H | #define FLEXINT_H | | /* C99 systems have . Non-C99 systems may or may not. */ | | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, | * if you want the limit (max/min) macros for int types. | */ | #ifndef __STDC_LIMIT_MACROS | #define __STDC_LIMIT_MACROS 1 | #endif | | #include | typedef int8_t flex_int8_t; | typedef uint8_t flex_uint8_t; | typedef int16_t flex_int16_t; | typedef uint16_t flex_uint16_t; | typedef int32_t flex_int32_t; | typedef uint32_t flex_uint32_t; | #else | typedef signed char flex_int8_t; | typedef short int flex_int16_t; | typedef int flex_int32_t; | typedef unsigned char flex_uint8_t; | typedef unsigned short int flex_uint16_t; | typedef unsigned int flex_uint32_t; | | /* Limits of integral types. */ | #ifndef INT8_MIN | #define INT8_MIN (-128) | #endif | #ifndef INT16_MIN | #define INT16_MIN (-32767-1) | #endif | #ifndef INT32_MIN | #define INT32_MIN (-2147483647-1) | #endif | #ifndef INT8_MAX | #define INT8_MAX (127) | #endif | #ifndef INT16_MAX | #define INT16_MAX (32767) | #endif | #ifndef INT32_MAX | #define INT32_MAX (2147483647) | #endif | #ifndef UINT8_MAX | #define UINT8_MAX (255U) | #endif | #ifndef UINT16_MAX | #define UINT16_MAX (65535U) | #endif | #ifndef UINT32_MAX | #define UINT32_MAX (4294967295U) | #endif | | #ifndef SIZE_MAX | #define SIZE_MAX (~(size_t)0) | #endif | | #endif /* ! C99 */ | | #endif /* ! FLEXINT_H */ | | /* begin standard C++ headers. */ | | /* TODO: this is always defined, so inline it */ | #define yyconst const | | #if defined(__GNUC__) && __GNUC__ >= 3 | #define yynoreturn __attribute__((__noreturn__)) | #else | #define yynoreturn | #endif | | /* Returned upon end-of-file. */ | #define YY_NULL 0 | | /* Promotes a possibly negative, possibly signed char to an | * integer in range [0..255] for use as an array index. | */ | #define YY_SC_TO_UI(c) ((YY_CHAR) (c)) | | /* Enter a start condition. This macro really ought to take a parameter, | * but we do it the disgusting crufty way forced on us by the ()-less | * definition of BEGIN. | */ | #define BEGIN (yy_start) = 1 + 2 * | /* Translate the current start state into a value that can be later handed | * to BEGIN to return to the state. The YYSTATE alias is for lex | * compatibility. | */ | #define YY_START (((yy_start) - 1) / 2) | #define YYSTATE YY_START | /* Action number for EOF rule of a given start state. */ | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) | /* Special action meaning "start processing a new file". */ | #define YY_NEW_FILE yyrestart( yyin ) | #define YY_END_OF_BUFFER_CHAR 0 | | /* Size of default input buffer. */ | #ifndef YY_BUF_SIZE | #ifdef __ia64__ | /* On IA-64, the buffer size is 16k, not 8k. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. | * Ditto for the __ia64__ case accordingly. | */ | #define YY_BUF_SIZE 32768 | #else | #define YY_BUF_SIZE 16384 | #endif /* __ia64__ */ | #endif | | /* The state buf must be large enough to hold one state per character in the main buffer. | */ | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) | | #ifndef YY_TYPEDEF_YY_BUFFER_STATE | #define YY_TYPEDEF_YY_BUFFER_STATE | typedef struct yy_buffer_state *YY_BUFFER_STATE; | #endif | | #ifndef YY_TYPEDEF_YY_SIZE_T | #define YY_TYPEDEF_YY_SIZE_T | typedef size_t yy_size_t; | #endif | | extern int yyleng; | | extern FILE *yyin, *yyout; | | #define EOB_ACT_CONTINUE_SCAN 0 | #define EOB_ACT_END_OF_FILE 1 | #define EOB_ACT_LAST_MATCH 2 | | #define YY_LESS_LINENO(n) | #define YY_LINENO_REWIND_TO(ptr) | | /* Return all but the first "n" matched characters back to the input stream. */ | #define yyless(n) \ | do \ | { \ | /* Undo effects of setting up yytext. */ \ | int yyless_macro_arg = (n); \ | YY_LESS_LINENO(yyless_macro_arg);\ | *yy_cp = (yy_hold_char); \ | YY_RESTORE_YY_MORE_OFFSET \ | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ | YY_DO_BEFORE_ACTION; /* set up yytext again */ \ | } \ | while ( 0 ) | #define unput(c) yyunput( c, (yytext_ptr) ) | | #ifndef YY_STRUCT_YY_BUFFER_STATE | #define YY_STRUCT_YY_BUFFER_STATE | struct yy_buffer_state | { | FILE *yy_input_file; | | char *yy_ch_buf; /* input buffer */ | char *yy_buf_pos; /* current position in input buffer */ | | /* Size of input buffer in bytes, not including room for EOB | * characters. | */ | int yy_buf_size; | | /* Number of characters read into yy_ch_buf, not including EOB | * characters. | */ | int yy_n_chars; | | /* Whether we "own" the buffer - i.e., we know we created it, | * and can realloc() it to grow it, and should free() it to | * delete it. | */ | int yy_is_our_buffer; | | /* Whether this is an "interactive" input source; if so, and | * if we're using stdio for input, then we want to use getc() | * instead of fread(), to make sure we stop fetching input after | * each newline. | */ | int yy_is_interactive; | | /* Whether we're considered to be at the beginning of a line. | * If so, '^' rules will be active on the next match, otherwise | * not. | */ | int yy_at_bol; | | int yy_bs_lineno; /**< The line count. */ | int yy_bs_column; /**< The column count. */ | | /* Whether to try to fill the input buffer when we reach the | * end of it. | */ | int yy_fill_buffer; | | int yy_buffer_status; | | #define YY_BUFFER_NEW 0 | #define YY_BUFFER_NORMAL 1 | /* When an EOF's been seen but there's still some text to process | * then we mark the buffer as YY_EOF_PENDING, to indicate that we | * shouldn't try reading from the input source any more. We might | * still have a bunch of tokens to match, though, because of | * possible backing-up. | * | * When we actually see the EOF, we change the status to "new" | * (via yyrestart()), so that the user can continue scanning by | * just pointing yyin at a new input file. | */ | #define YY_BUFFER_EOF_PENDING 2 | | }; | #endif /* !YY_STRUCT_YY_BUFFER_STATE */ | | /* Stack of input buffers. */ | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ | static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */ | | /* We provide macros for accessing buffer states in case in the | * future we want to put the buffer states in a more general | * "scanner state". | * | * Returns the top of the stack, or NULL. | */ | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ | : NULL) | /* Same as previous macro, but useful when we know that the buffer stack is not | * NULL or when we need an lvalue. For internal use only. | */ | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] | | /* yy_hold_char holds the character lost when yytext is formed. */ | static char yy_hold_char; | static int yy_n_chars; /* number of characters read into yy_ch_buf */ | int yyleng; | | /* Points to current character in buffer. */ | static char *yy_c_buf_p = NULL; | static int yy_init = 0; /* whether we need to initialize */ | static int yy_start = 0; /* start state number */ | | /* Flag which is used to allow yywrap()'s to do buffer switches | * instead of setting up a fresh yyin. A bit of a hack ... | */ | static int yy_did_buffer_switch_on_eof; | | void yyrestart ( FILE *input_file ); | void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer ); | YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size ); | void yy_delete_buffer ( YY_BUFFER_STATE b ); | void yy_flush_buffer ( YY_BUFFER_STATE b ); | void yypush_buffer_state ( YY_BUFFER_STATE new_buffer ); | void yypop_buffer_state ( void ); | | static void yyensure_buffer_stack ( void ); | static void yy_load_buffer_state ( void ); | static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file ); | #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) | | YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size ); | YY_BUFFER_STATE yy_scan_string ( const char *yy_str ); | YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len ); | | void *yyalloc ( yy_size_t ); | void *yyrealloc ( void *, yy_size_t ); | void yyfree ( void * ); | | #define yy_new_buffer yy_create_buffer | #define yy_set_interactive(is_interactive) \ | { \ | if ( ! YY_CURRENT_BUFFER ){ \ | yyensure_buffer_stack (); \ | YY_CURRENT_BUFFER_LVALUE = \ | yy_create_buffer( yyin, YY_BUF_SIZE ); \ | } \ | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ | } | #define yy_set_bol(at_bol) \ | { \ | if ( ! YY_CURRENT_BUFFER ){\ | yyensure_buffer_stack (); \ | YY_CURRENT_BUFFER_LVALUE = \ | yy_create_buffer( yyin, YY_BUF_SIZE ); \ | } \ | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ | } | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) | | /* Begin user sect3 */ | typedef flex_uint8_t YY_CHAR; | | FILE *yyin = NULL, *yyout = NULL; | | typedef int yy_state_type; | | extern int yylineno; | int yylineno = 1; | | extern char *yytext; | #ifdef yytext_ptr | #undef yytext_ptr | #endif | #define yytext_ptr yytext | | static yy_state_type yy_get_previous_state ( void ); | static yy_state_type yy_try_NUL_trans ( yy_state_type current_state ); | static int yy_get_next_buffer ( void ); | static void yynoreturn yy_fatal_error ( const char* msg ); | | /* Done after the current pattern has been matched and before the | * corresponding action - sets up yytext. | */ | #define YY_DO_BEFORE_ACTION \ | (yytext_ptr) = yy_bp; \ | (yytext_ptr) -= (yy_more_len); \ | yyleng = (int) (yy_cp - (yytext_ptr)); \ | (yy_hold_char) = *yy_cp; \ | *yy_cp = '\0'; \ | (yy_c_buf_p) = yy_cp; | #define YY_NUM_RULES 8 | #define YY_END_OF_BUFFER 9 | /* This struct is not used in this scanner, | but its presence is necessary. */ | struct yy_trans_info | { | flex_int32_t yy_verify; | flex_int32_t yy_nxt; | }; | static const flex_int16_t yy_acclist[23] = | { 0, | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8, | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6, | 7, 8 | } ; | | static const flex_int16_t yy_accept[14] = | { 0, | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17, | 20, 23, 23 | } ; | | static const YY_CHAR yy_ec[256] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6, | | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1 | } ; | | static const YY_CHAR yy_meta[9] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1 | } ; | | static const flex_int16_t yy_base[13] = | { 0, | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, | 10, 10 | } ; | | static const flex_int16_t yy_def[13] = | { 0, | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12, | 12, 0 | } ; | | static const flex_int16_t yy_nxt[19] = | { 0, | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, | 12, 12, 12, 12, 12, 12, 12, 12 | } ; | | static const flex_int16_t yy_chk[19] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12, | 12, 12, 12, 12, 12, 12, 12, 12 | } ; | | extern int yy_flex_debug; | int yy_flex_debug = 0; | | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; | static char *yy_full_match; | static int yy_lp; | #define REJECT \ | { \ | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ | ++(yy_lp); \ | goto find_rule; \ | } | | static int yy_more_flag = 0; | static int yy_more_len = 0; | #define yymore() ((yy_more_flag) = 1) | #define YY_MORE_ADJ (yy_more_len) | #define YY_RESTORE_YY_MORE_OFFSET | char *yytext; | #line 1 "conftest.l" | #line 460 "lex.yy.c" | | #define INITIAL 0 | | #ifndef YY_NO_UNISTD_H | /* Special case for "unistd.h", since it is non-ANSI. We include it way | * down here because we want the user's section 1 to have been scanned first. | * The user has a chance to override it with an option. | */ | #include | #endif | | #ifndef YY_EXTRA_TYPE | #define YY_EXTRA_TYPE void * | #endif | | static int yy_init_globals ( void ); | | /* Accessor methods to globals. | These are made visible to non-reentrant scanners for convenience. */ | | int yylex_destroy ( void ); | | int yyget_debug ( void ); | | void yyset_debug ( int debug_flag ); | | YY_EXTRA_TYPE yyget_extra ( void ); | | void yyset_extra ( YY_EXTRA_TYPE user_defined ); | | FILE *yyget_in ( void ); | | void yyset_in ( FILE * _in_str ); | | FILE *yyget_out ( void ); | | void yyset_out ( FILE * _out_str ); | | int yyget_leng ( void ); | | char *yyget_text ( void ); | | int yyget_lineno ( void ); | | void yyset_lineno ( int _line_number ); | | /* Macros after this point can all be overridden by user definitions in | * section 1. | */ | | #ifndef YY_SKIP_YYWRAP | #ifdef __cplusplus | extern "C" int yywrap ( void ); | #else | extern int yywrap ( void ); | #endif | #endif | | #ifndef YY_NO_UNPUT | | static void yyunput ( int c, char *buf_ptr ); | | #endif | | #ifndef yytext_ptr | static void yy_flex_strncpy ( char *, const char *, int ); | #endif | | #ifdef YY_NEED_STRLEN | static int yy_flex_strlen ( const char * ); | #endif | | #ifndef YY_NO_INPUT | #ifdef __cplusplus | static int yyinput ( void ); | #else | static int input ( void ); | #endif | | #endif | | /* Amount of stuff to slurp up with each read. */ | #ifndef YY_READ_BUF_SIZE | #ifdef __ia64__ | /* On IA-64, the buffer size is 16k, not 8k */ | #define YY_READ_BUF_SIZE 16384 | #else | #define YY_READ_BUF_SIZE 8192 | #endif /* __ia64__ */ | #endif | | /* Copy whatever the last rule matched to the standard output. */ | #ifndef ECHO | /* This used to be an fputs(), but since the string might contain NUL's, | * we now use fwrite(). | */ | #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) | #endif | | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, | * is returned in "result". | */ | #ifndef YY_INPUT | #define YY_INPUT(buf,result,max_size) \ | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ | { \ | int c = '*'; \ | int n; \ | for ( n = 0; n < max_size && \ | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ | buf[n] = (char) c; \ | if ( c == '\n' ) \ | buf[n++] = (char) c; \ | if ( c == EOF && ferror( yyin ) ) \ | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | result = n; \ | } \ | else \ | { \ | errno=0; \ | while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ | { \ | if( errno != EINTR) \ | { \ | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | break; \ | } \ | errno=0; \ | clearerr(yyin); \ | } \ | }\ | \ | | #endif | | /* No semi-colon after return; correct usage is to write "yyterminate();" - | * we don't want an extra ';' after the "return" because that will cause | * some compilers to complain about unreachable statements. | */ | #ifndef yyterminate | #define yyterminate() return YY_NULL | #endif | | /* Number of entries by which start-condition stack grows. */ | #ifndef YY_START_STACK_INCR | #define YY_START_STACK_INCR 25 | #endif | | /* Report a fatal error. */ | #ifndef YY_FATAL_ERROR | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) | #endif | | /* end tables serialization structures and prototypes */ | | /* Default declaration of generated scanner - a define so the user can | * easily add parameters. | */ | #ifndef YY_DECL | #define YY_DECL_IS_OURS 1 | | extern int yylex (void); | | #define YY_DECL int yylex (void) | #endif /* !YY_DECL */ | | /* Code executed at the beginning of each rule, after yytext and yyleng | * have been set up. | */ | #ifndef YY_USER_ACTION | #define YY_USER_ACTION | #endif | | /* Code executed at the end of each rule. */ | #ifndef YY_BREAK | #define YY_BREAK /*LINTED*/break; | #endif | | #define YY_RULE_SETUP \ | YY_USER_ACTION | | /** The main scanner function which does all the work. | */ | YY_DECL | { | yy_state_type yy_current_state; | char *yy_cp, *yy_bp; | int yy_act; | | if ( !(yy_init) ) | { | (yy_init) = 1; | | #ifdef YY_USER_INIT | YY_USER_INIT; | #endif | | /* Create the reject buffer large enough to save one state per allowed character. */ | if ( ! (yy_state_buf) ) | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE ); | if ( ! (yy_state_buf) ) | YY_FATAL_ERROR( "out of dynamic memory in yylex()" ); | | if ( ! (yy_start) ) | (yy_start) = 1; /* first start state */ | | if ( ! yyin ) | yyin = stdin; | | if ( ! yyout ) | yyout = stdout; | | if ( ! YY_CURRENT_BUFFER ) { | yyensure_buffer_stack (); | YY_CURRENT_BUFFER_LVALUE = | yy_create_buffer( yyin, YY_BUF_SIZE ); | } | | yy_load_buffer_state( ); | } | | { | #line 1 "conftest.l" | | #line 685 "lex.yy.c" | | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ | { | (yy_more_len) = 0; | if ( (yy_more_flag) ) | { | (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr)); | (yy_more_flag) = 0; | } | yy_cp = (yy_c_buf_p); | | /* Support of yytext. */ | *yy_cp = (yy_hold_char); | | /* yy_bp points to the position in yy_ch_buf of the start of | * the current run. | */ | yy_bp = yy_cp; | | yy_current_state = (yy_start); | | (yy_state_ptr) = (yy_state_buf); | *(yy_state_ptr)++ = yy_current_state; | | yy_match: | do | { | YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | *(yy_state_ptr)++ = yy_current_state; | ++yy_cp; | } | while ( yy_base[yy_current_state] != 10 ); | | yy_find_action: | yy_current_state = *--(yy_state_ptr); | (yy_lp) = yy_accept[yy_current_state]; | | find_rule: /* we branch to this label when backing up */ | | for ( ; ; ) /* until we find what rule we matched */ | { | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) | { | yy_act = yy_acclist[(yy_lp)]; | { | (yy_full_match) = yy_cp; | break; | } | } | --yy_cp; | yy_current_state = *--(yy_state_ptr); | (yy_lp) = yy_accept[yy_current_state]; | } | | YY_DO_BEFORE_ACTION; | | do_action: /* This label is used only to access EOF actions. */ | | switch ( yy_act ) | { /* beginning of action switch */ | case 1: | YY_RULE_SETUP | #line 2 "conftest.l" | { ECHO; } | YY_BREAK | case 2: | YY_RULE_SETUP | #line 3 "conftest.l" | { REJECT; } | YY_BREAK | case 3: | YY_RULE_SETUP | #line 4 "conftest.l" | { yymore (); } | YY_BREAK | case 4: | YY_RULE_SETUP | #line 5 "conftest.l" | { yyless (1); } | YY_BREAK | case 5: | YY_RULE_SETUP | #line 6 "conftest.l" | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ | yyless ((input () != 0)); } | YY_BREAK | case 6: | YY_RULE_SETUP | #line 8 "conftest.l" | { unput (yytext[0]); } | YY_BREAK | case 7: | YY_RULE_SETUP | #line 9 "conftest.l" | { BEGIN INITIAL; } | YY_BREAK | case 8: | YY_RULE_SETUP | #line 10 "conftest.l" | ECHO; | YY_BREAK | #line 794 "lex.yy.c" | case YY_STATE_EOF(INITIAL): | yyterminate(); | | case YY_END_OF_BUFFER: | { | /* Amount of text matched not including the EOB char. */ | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; | | /* Undo the effects of YY_DO_BEFORE_ACTION. */ | *yy_cp = (yy_hold_char); | YY_RESTORE_YY_MORE_OFFSET | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) | { | /* We're scanning a new file or input source. It's | * possible that this happened because the user | * just pointed yyin at a new source and called | * yylex(). If so, then we have to assure | * consistency between YY_CURRENT_BUFFER and our | * globals. Here is the right place to do so, because | * this is the first action (other than possibly a | * back-up) that will match for the new input source. | */ | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; | } | | /* Note that here we test for yy_c_buf_p "<=" to the position | * of the first EOB in the buffer, since yy_c_buf_p will | * already have been incremented past the NUL character | * (since all states make transitions on EOB to the | * end-of-buffer state). Contrast this with the test | * in input(). | */ | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | { /* This was really a NUL. */ | yy_state_type yy_next_state; | | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; | | yy_current_state = yy_get_previous_state( ); | | /* Okay, we're now positioned to make the NUL | * transition. We couldn't have | * yy_get_previous_state() go ahead and do it | * for us because it doesn't know how to deal | * with the possibility of jamming (and we don't | * want to build jamming into it because then it | * will run more slowly). | */ | | yy_next_state = yy_try_NUL_trans( yy_current_state ); | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | | if ( yy_next_state ) | { | /* Consume the NUL. */ | yy_cp = ++(yy_c_buf_p); | yy_current_state = yy_next_state; | goto yy_match; | } | | else | { | yy_cp = (yy_c_buf_p); | goto yy_find_action; | } | } | | else switch ( yy_get_next_buffer( ) ) | { | case EOB_ACT_END_OF_FILE: | { | (yy_did_buffer_switch_on_eof) = 0; | | if ( yywrap( ) ) | { | /* Note: because we've taken care in | * yy_get_next_buffer() to have set up | * yytext, we can now set up | * yy_c_buf_p so that if some total | * hoser (like flex itself) wants to | * call the scanner after we return the | * YY_NULL, it'll still work - another | * YY_NULL will get returned. | */ | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; | | yy_act = YY_STATE_EOF(YY_START); | goto do_action; | } | | else | { | if ( ! (yy_did_buffer_switch_on_eof) ) | YY_NEW_FILE; | } | break; | } | | case EOB_ACT_CONTINUE_SCAN: | (yy_c_buf_p) = | (yytext_ptr) + yy_amount_of_matched_text; | | yy_current_state = yy_get_previous_state( ); | | yy_cp = (yy_c_buf_p); | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | goto yy_match; | | case EOB_ACT_LAST_MATCH: | (yy_c_buf_p) = | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; | | yy_current_state = yy_get_previous_state( ); | | yy_cp = (yy_c_buf_p); | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | goto yy_find_action; | } | break; | } | | default: | YY_FATAL_ERROR( | "fatal flex scanner internal error--no action found" ); | } /* end of action switch */ | } /* end of scanning one token */ | } /* end of user's declarations */ | } /* end of yylex */ | | /* yy_get_next_buffer - try to read in a new buffer | * | * Returns a code representing an action: | * EOB_ACT_LAST_MATCH - | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position | * EOB_ACT_END_OF_FILE - end of file | */ | static int yy_get_next_buffer (void) | { | char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; | char *source = (yytext_ptr); | int number_to_move, i; | int ret_val; | | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) | YY_FATAL_ERROR( | "fatal flex scanner internal error--end of buffer missed" ); | | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) | { /* Don't try to fill the buffer, so this is an EOF. */ | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) | { | /* We matched a single character, the EOB, so | * treat this as a final EOF. | */ | return EOB_ACT_END_OF_FILE; | } | | else | { | /* We matched some text prior to the EOB, first | * process it. | */ | return EOB_ACT_LAST_MATCH; | } | } | | /* Try to read more data. */ | | /* First move last chars to start of buffer. */ | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1); | | for ( i = 0; i < number_to_move; ++i ) | *(dest++) = *(source++); | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) | /* don't do the read, it's not guaranteed to return an EOF, | * just force an EOF | */ | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; | | else | { | int num_to_read = | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; | | while ( num_to_read <= 0 ) | { /* Not enough room in the buffer - grow it. */ | | YY_FATAL_ERROR( | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); | | } | | if ( num_to_read > YY_READ_BUF_SIZE ) | num_to_read = YY_READ_BUF_SIZE; | | /* Read in more data. */ | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), | (yy_n_chars), num_to_read ); | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | if ( (yy_n_chars) == 0 ) | { | if ( number_to_move == YY_MORE_ADJ ) | { | ret_val = EOB_ACT_END_OF_FILE; | yyrestart( yyin ); | } | | else | { | ret_val = EOB_ACT_LAST_MATCH; | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = | YY_BUFFER_EOF_PENDING; | } | } | | else | ret_val = EOB_ACT_CONTINUE_SCAN; | | if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | /* Extend the array by 50%, plus the number we really need. */ | int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc( | (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size ); | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); | /* "- 2" to take care of EOB's */ | YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); | } | | (yy_n_chars) += number_to_move; | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; | | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; | | return ret_val; | } | | /* yy_get_previous_state - get the state just before the EOB char was reached */ | | static yy_state_type yy_get_previous_state (void) | { | yy_state_type yy_current_state; | char *yy_cp; | | yy_current_state = (yy_start); | | (yy_state_ptr) = (yy_state_buf); | *(yy_state_ptr)++ = yy_current_state; | | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) | { | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | *(yy_state_ptr)++ = yy_current_state; | } | | return yy_current_state; | } | | /* yy_try_NUL_trans - try to make a transition on the NUL character | * | * synopsis | * next_state = yy_try_NUL_trans( current_state ); | */ | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) | { | int yy_is_jam; | | YY_CHAR yy_c = 1; | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | yy_is_jam = (yy_current_state == 12); | if ( ! yy_is_jam ) | *(yy_state_ptr)++ = yy_current_state; | | return yy_is_jam ? 0 : yy_current_state; | } | | #ifndef YY_NO_UNPUT | | static void yyunput (int c, char * yy_bp ) | { | char *yy_cp; | | yy_cp = (yy_c_buf_p); | | /* undo effects of setting up yytext */ | *yy_cp = (yy_hold_char); | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | { /* need to shift things up to make room */ | /* +2 for EOB chars. */ | int number_to_move = (yy_n_chars) + 2; | char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; | char *source = | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; | | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | *--dest = *--source; | | yy_cp += (int) (dest - source); | yy_bp += (int) (dest - source); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = | (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size; | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | YY_FATAL_ERROR( "flex scanner push-back overflow" ); | } | | *--yy_cp = (char) c; | | (yytext_ptr) = yy_bp; | (yy_hold_char) = *yy_cp; | (yy_c_buf_p) = yy_cp; | } | | #endif | | #ifndef YY_NO_INPUT | #ifdef __cplusplus | static int yyinput (void) | #else | static int input (void) | #endif | | { | int c; | | *(yy_c_buf_p) = (yy_hold_char); | | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) | { | /* yy_c_buf_p now points to the character we want to return. | * If this occurs *before* the EOB characters, then it's a | * valid NUL; if not, then we've hit the end of the buffer. | */ | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | /* This was really a NUL. */ | *(yy_c_buf_p) = '\0'; | | else | { /* need more input */ | int offset = (int) ((yy_c_buf_p) - (yytext_ptr)); | ++(yy_c_buf_p); | | switch ( yy_get_next_buffer( ) ) | { | case EOB_ACT_LAST_MATCH: | /* This happens because yy_g_n_b() | * sees that we've accumulated a | * token and flags that we need to | * try matching the token before | * proceeding. But for input(), | * there's no matching to consider. | * So convert the EOB_ACT_LAST_MATCH | * to EOB_ACT_END_OF_FILE. | */ | | /* Reset buffer status. */ | yyrestart( yyin ); | | /*FALLTHROUGH*/ | | case EOB_ACT_END_OF_FILE: | { | if ( yywrap( ) ) | return 0; | | if ( ! (yy_did_buffer_switch_on_eof) ) | YY_NEW_FILE; | #ifdef __cplusplus | return yyinput(); | #else | return input(); | #endif | } | | case EOB_ACT_CONTINUE_SCAN: | (yy_c_buf_p) = (yytext_ptr) + offset; | break; | } | } | } | | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ | *(yy_c_buf_p) = '\0'; /* preserve yytext */ | (yy_hold_char) = *++(yy_c_buf_p); | | return c; | } | #endif /* ifndef YY_NO_INPUT */ | | /** Immediately switch to a different input stream. | * @param input_file A readable stream. | * | * @note This function does not reset the start condition to @c INITIAL . | */ | void yyrestart (FILE * input_file ) | { | | if ( ! YY_CURRENT_BUFFER ){ | yyensure_buffer_stack (); | YY_CURRENT_BUFFER_LVALUE = | yy_create_buffer( yyin, YY_BUF_SIZE ); | } | | yy_init_buffer( YY_CURRENT_BUFFER, input_file ); | yy_load_buffer_state( ); | } | | /** Switch to a different input buffer. | * @param new_buffer The new input buffer. | * | */ | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) | { | | /* TODO. We should be able to replace this entire function body | * with | * yypop_buffer_state(); | * yypush_buffer_state(new_buffer); | */ | yyensure_buffer_stack (); | if ( YY_CURRENT_BUFFER == new_buffer ) | return; | | if ( YY_CURRENT_BUFFER ) | { | /* Flush out information for old buffer. */ | *(yy_c_buf_p) = (yy_hold_char); | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | YY_CURRENT_BUFFER_LVALUE = new_buffer; | yy_load_buffer_state( ); | | /* We don't actually know whether we did this switch during | * EOF (yywrap()) processing, but the only time this flag | * is looked at is after yywrap() is called, so it's safe | * to go ahead and always set it. | */ | (yy_did_buffer_switch_on_eof) = 1; | } | | static void yy_load_buffer_state (void) | { | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; | (yy_hold_char) = *(yy_c_buf_p); | } | | /** Allocate and initialize an input buffer state. | * @param file A readable stream. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. | * | * @return the allocated buffer state. | */ | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) | { | YY_BUFFER_STATE b; | | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); | if ( ! b ) | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | b->yy_buf_size = size; | | /* yy_ch_buf has to be 2 characters longer than the size given because | * we need to put in 2 end-of-buffer characters. | */ | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) ); | if ( ! b->yy_ch_buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | b->yy_is_our_buffer = 1; | | yy_init_buffer( b, file ); | | return b; | } | | /** Destroy the buffer. | * @param b a buffer created with yy_create_buffer() | * | */ | void yy_delete_buffer (YY_BUFFER_STATE b ) | { | | if ( ! b ) | return; | | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; | | if ( b->yy_is_our_buffer ) | yyfree( (void *) b->yy_ch_buf ); | | yyfree( (void *) b ); | } | | /* Initializes or reinitializes a buffer. | * This function is sometimes called more than once on the same buffer, | * such as during a yyrestart() or at EOF. | */ | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) | | { | int oerrno = errno; | | yy_flush_buffer( b ); | | b->yy_input_file = file; | b->yy_fill_buffer = 1; | | /* If b is the current buffer, then yy_init_buffer was _probably_ | * called from yyrestart() or through yy_get_next_buffer. | * In that case, we don't want to reset the lineno or column. | */ | if (b != YY_CURRENT_BUFFER){ | b->yy_bs_lineno = 1; | b->yy_bs_column = 0; | } | | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; | | errno = oerrno; | } | | /** Discard all buffered characters. On the next scan, YY_INPUT will be called. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. | * | */ | void yy_flush_buffer (YY_BUFFER_STATE b ) | { | if ( ! b ) | return; | | b->yy_n_chars = 0; | | /* We always need two end-of-buffer characters. The first causes | * a transition to the end-of-buffer state. The second causes | * a jam in that state. | */ | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; | | b->yy_buf_pos = &b->yy_ch_buf[0]; | | b->yy_at_bol = 1; | b->yy_buffer_status = YY_BUFFER_NEW; | | if ( b == YY_CURRENT_BUFFER ) | yy_load_buffer_state( ); | } | | /** Pushes the new state onto the stack. The new state becomes | * the current state. This function will allocate the stack | * if necessary. | * @param new_buffer The new state. | * | */ | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) | { | if (new_buffer == NULL) | return; | | yyensure_buffer_stack(); | | /* This block is copied from yy_switch_to_buffer. */ | if ( YY_CURRENT_BUFFER ) | { | /* Flush out information for old buffer. */ | *(yy_c_buf_p) = (yy_hold_char); | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | /* Only push if top exists. Otherwise, replace top. */ | if (YY_CURRENT_BUFFER) | (yy_buffer_stack_top)++; | YY_CURRENT_BUFFER_LVALUE = new_buffer; | | /* copied from yy_switch_to_buffer. */ | yy_load_buffer_state( ); | (yy_did_buffer_switch_on_eof) = 1; | } | | /** Removes and deletes the top of the stack, if present. | * The next element becomes the new top. | * | */ | void yypop_buffer_state (void) | { | if (!YY_CURRENT_BUFFER) | return; | | yy_delete_buffer(YY_CURRENT_BUFFER ); | YY_CURRENT_BUFFER_LVALUE = NULL; | if ((yy_buffer_stack_top) > 0) | --(yy_buffer_stack_top); | | if (YY_CURRENT_BUFFER) { | yy_load_buffer_state( ); | (yy_did_buffer_switch_on_eof) = 1; | } | } | | /* Allocates the stack if it does not exist. | * Guarantees space for at least one push. | */ | static void yyensure_buffer_stack (void) | { | yy_size_t num_to_alloc; | | if (!(yy_buffer_stack)) { | | /* First allocation is just for 2 elements, since we don't know if this | * scanner will even need a stack. We use 2 instead of 1 to avoid an | * immediate realloc on the next call. | */ | num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc | (num_to_alloc * sizeof(struct yy_buffer_state*) | ); | if ( ! (yy_buffer_stack) ) | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); | | (yy_buffer_stack_max) = num_to_alloc; | (yy_buffer_stack_top) = 0; | return; | } | | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ | | /* Increase the buffer to prepare for a possible push. */ | yy_size_t grow_size = 8 /* arbitrary grow size */; | | num_to_alloc = (yy_buffer_stack_max) + grow_size; | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc | ((yy_buffer_stack), | num_to_alloc * sizeof(struct yy_buffer_state*) | ); | if ( ! (yy_buffer_stack) ) | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | /* zero only the new slots.*/ | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); | (yy_buffer_stack_max) = num_to_alloc; | } | } | | /** Setup the input buffer state to scan directly from a user-specified character buffer. | * @param base the character buffer | * @param size the size in bytes of the character buffer | * | * @return the newly allocated buffer state object. | */ | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) | { | YY_BUFFER_STATE b; | | if ( size < 2 || | base[size-2] != YY_END_OF_BUFFER_CHAR || | base[size-1] != YY_END_OF_BUFFER_CHAR ) | /* They forgot to leave room for the EOB's. */ | return NULL; | | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); | if ( ! b ) | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); | | b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ | b->yy_buf_pos = b->yy_ch_buf = base; | b->yy_is_our_buffer = 0; | b->yy_input_file = NULL; | b->yy_n_chars = b->yy_buf_size; | b->yy_is_interactive = 0; | b->yy_at_bol = 1; | b->yy_fill_buffer = 0; | b->yy_buffer_status = YY_BUFFER_NEW; | | yy_switch_to_buffer( b ); | | return b; | } | | /** Setup the input buffer state to scan a string. The next call to yylex() will | * scan from a @e copy of @a str. | * @param yystr a NUL-terminated string to scan | * | * @return the newly allocated buffer state object. | * @note If you want to scan bytes that may contain NUL values, then use | * yy_scan_bytes() instead. | */ | YY_BUFFER_STATE yy_scan_string (const char * yystr ) | { | | return yy_scan_bytes( yystr, (int) strlen(yystr) ); | } | | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will | * scan from a @e copy of @a bytes. | * @param yybytes the byte buffer to scan | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. | * | * @return the newly allocated buffer state object. | */ | YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len ) | { | YY_BUFFER_STATE b; | char *buf; | yy_size_t n; | int i; | | /* Get memory for full buffer, including space for trailing EOB's. */ | n = (yy_size_t) (_yybytes_len + 2); | buf = (char *) yyalloc( n ); | if ( ! buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); | | for ( i = 0; i < _yybytes_len; ++i ) | buf[i] = yybytes[i]; | | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; | | b = yy_scan_buffer( buf, n ); | if ( ! b ) | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); | | /* It's okay to grow etc. this buffer, and we should throw it | * away when we're done. | */ | b->yy_is_our_buffer = 1; | | return b; | } | | #ifndef YY_EXIT_FAILURE | #define YY_EXIT_FAILURE 2 | #endif | | static void yynoreturn yy_fatal_error (const char* msg ) | { | fprintf( stderr, "%s\n", msg ); | exit( YY_EXIT_FAILURE ); | } | | /* Redefine yyless() so it works in section 3 code. */ | | #undef yyless | #define yyless(n) \ | do \ | { \ | /* Undo effects of setting up yytext. */ \ | int yyless_macro_arg = (n); \ | YY_LESS_LINENO(yyless_macro_arg);\ | yytext[yyleng] = (yy_hold_char); \ | (yy_c_buf_p) = yytext + yyless_macro_arg; \ | (yy_hold_char) = *(yy_c_buf_p); \ | *(yy_c_buf_p) = '\0'; \ | yyleng = yyless_macro_arg; \ | } \ | while ( 0 ) | | /* Accessor methods (get/set functions) to struct members. */ | | /** Get the current line number. | * | */ | int yyget_lineno (void) | { | | return yylineno; | } | | /** Get the input stream. | * | */ | FILE *yyget_in (void) | { | return yyin; | } | | /** Get the output stream. | * | */ | FILE *yyget_out (void) | { | return yyout; | } | | /** Get the length of the current token. | * | */ | int yyget_leng (void) | { | return yyleng; | } | | /** Get the current token. | * | */ | | char *yyget_text (void) | { | return yytext; | } | | /** Set the current line number. | * @param _line_number line number | * | */ | void yyset_lineno (int _line_number ) | { | | yylineno = _line_number; | } | | /** Set the input stream. This does not discard the current | * input buffer. | * @param _in_str A readable stream. | * | * @see yy_switch_to_buffer | */ | void yyset_in (FILE * _in_str ) | { | yyin = _in_str ; | } | | void yyset_out (FILE * _out_str ) | { | yyout = _out_str ; | } | | int yyget_debug (void) | { | return yy_flex_debug; | } | | void yyset_debug (int _bdebug ) | { | yy_flex_debug = _bdebug ; | } | | static int yy_init_globals (void) | { | /* Initialization is the same as for the non-reentrant scanner. | * This function is called from yylex_destroy(), so don't allocate here. | */ | | (yy_buffer_stack) = NULL; | (yy_buffer_stack_top) = 0; | (yy_buffer_stack_max) = 0; | (yy_c_buf_p) = NULL; | (yy_init) = 0; | (yy_start) = 0; | | (yy_state_buf) = 0; | (yy_state_ptr) = 0; | (yy_full_match) = 0; | (yy_lp) = 0; | | /* Defined in main.c */ | #ifdef YY_STDINIT | yyin = stdin; | yyout = stdout; | #else | yyin = NULL; | yyout = NULL; | #endif | | /* For future reference: Set errno on error, since we are called by | * yylex_init() | */ | return 0; | } | | /* yylex_destroy is for both reentrant and non-reentrant scanners. */ | int yylex_destroy (void) | { | | /* Pop the buffer stack, destroying each element. */ | while(YY_CURRENT_BUFFER){ | yy_delete_buffer( YY_CURRENT_BUFFER ); | YY_CURRENT_BUFFER_LVALUE = NULL; | yypop_buffer_state(); | } | | /* Destroy the stack itself. */ | yyfree((yy_buffer_stack) ); | (yy_buffer_stack) = NULL; | | yyfree ( (yy_state_buf) ); | (yy_state_buf) = NULL; | | /* Reset the globals. This is important in a non-reentrant scanner so the next time | * yylex() is called, initialization will occur. */ | yy_init_globals( ); | | return 0; | } | | /* | * Internal utility routines. | */ | | #ifndef yytext_ptr | static void yy_flex_strncpy (char* s1, const char * s2, int n ) | { | | int i; | for ( i = 0; i < n; ++i ) | s1[i] = s2[i]; | } | #endif | | #ifdef YY_NEED_STRLEN | static int yy_flex_strlen (const char * s ) | { | int n; | for ( n = 0; s[n]; ++n ) | ; | | return n; | } | #endif | | void *yyalloc (yy_size_t size ) | { | return malloc(size); | } | | void *yyrealloc (void * ptr, yy_size_t size ) | { | | /* The cast to (char *) in the following accommodates both | * implementations that use char* generic pointers, and those | * that use void* generic pointers. It works with the latter | * because both ANSI C and C++ allow castless assignment from | * any pointer type to void*, and deal with argument conversions | * as though doing an assignment. | */ | return realloc(ptr, size); | } | | void yyfree (void * ptr ) | { | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ | } | | #define YYTABLES_NAME "yytables" | | #line 10 "conftest.l" | | #ifdef YYTEXT_POINTER | extern char *yytext; | #endif | int | main (void) | { | return ! yylex () + ! yywrap (); | } configure:4434: gcc -o conftest -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -Wl,-z,now conftest.c -lfl >&5 lex.yy.c: In function 'yy_scan_buffer': lex.yy.c:1490:24: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5 1490 | b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/bin/ld: cannot find -lfl collect2: error: ld returned 1 exit status configure:4434: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "esmtp" | #define PACKAGE_TARNAME "esmtp" | #define PACKAGE_VERSION "1.2" | #define PACKAGE_STRING "esmtp 1.2" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "esmtp" | #define VERSION "1.2" | #define STDC_HEADERS 1 | /* end confdefs.h. */ | | #line 3 "lex.yy.c" | | #define YY_INT_ALIGNED short int | | /* A lexical scanner generated by flex */ | | #define FLEX_SCANNER | #define YY_FLEX_MAJOR_VERSION 2 | #define YY_FLEX_MINOR_VERSION 6 | #define YY_FLEX_SUBMINOR_VERSION 4 | #if YY_FLEX_SUBMINOR_VERSION > 0 | #define FLEX_BETA | #endif | | /* First, we deal with platform-specific or compiler-specific issues. */ | | /* begin standard C headers. */ | #include | #include | #include | #include | | /* end standard C headers. */ | | /* flex integer type definitions */ | | #ifndef FLEXINT_H | #define FLEXINT_H | | /* C99 systems have . Non-C99 systems may or may not. */ | | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, | * if you want the limit (max/min) macros for int types. | */ | #ifndef __STDC_LIMIT_MACROS | #define __STDC_LIMIT_MACROS 1 | #endif | | #include | typedef int8_t flex_int8_t; | typedef uint8_t flex_uint8_t; | typedef int16_t flex_int16_t; | typedef uint16_t flex_uint16_t; | typedef int32_t flex_int32_t; | typedef uint32_t flex_uint32_t; | #else | typedef signed char flex_int8_t; | typedef short int flex_int16_t; | typedef int flex_int32_t; | typedef unsigned char flex_uint8_t; | typedef unsigned short int flex_uint16_t; | typedef unsigned int flex_uint32_t; | | /* Limits of integral types. */ | #ifndef INT8_MIN | #define INT8_MIN (-128) | #endif | #ifndef INT16_MIN | #define INT16_MIN (-32767-1) | #endif | #ifndef INT32_MIN | #define INT32_MIN (-2147483647-1) | #endif | #ifndef INT8_MAX | #define INT8_MAX (127) | #endif | #ifndef INT16_MAX | #define INT16_MAX (32767) | #endif | #ifndef INT32_MAX | #define INT32_MAX (2147483647) | #endif | #ifndef UINT8_MAX | #define UINT8_MAX (255U) | #endif | #ifndef UINT16_MAX | #define UINT16_MAX (65535U) | #endif | #ifndef UINT32_MAX | #define UINT32_MAX (4294967295U) | #endif | | #ifndef SIZE_MAX | #define SIZE_MAX (~(size_t)0) | #endif | | #endif /* ! C99 */ | | #endif /* ! FLEXINT_H */ | | /* begin standard C++ headers. */ | | /* TODO: this is always defined, so inline it */ | #define yyconst const | | #if defined(__GNUC__) && __GNUC__ >= 3 | #define yynoreturn __attribute__((__noreturn__)) | #else | #define yynoreturn | #endif | | /* Returned upon end-of-file. */ | #define YY_NULL 0 | | /* Promotes a possibly negative, possibly signed char to an | * integer in range [0..255] for use as an array index. | */ | #define YY_SC_TO_UI(c) ((YY_CHAR) (c)) | | /* Enter a start condition. This macro really ought to take a parameter, | * but we do it the disgusting crufty way forced on us by the ()-less | * definition of BEGIN. | */ | #define BEGIN (yy_start) = 1 + 2 * | /* Translate the current start state into a value that can be later handed | * to BEGIN to return to the state. The YYSTATE alias is for lex | * compatibility. | */ | #define YY_START (((yy_start) - 1) / 2) | #define YYSTATE YY_START | /* Action number for EOF rule of a given start state. */ | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) | /* Special action meaning "start processing a new file". */ | #define YY_NEW_FILE yyrestart( yyin ) | #define YY_END_OF_BUFFER_CHAR 0 | | /* Size of default input buffer. */ | #ifndef YY_BUF_SIZE | #ifdef __ia64__ | /* On IA-64, the buffer size is 16k, not 8k. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. | * Ditto for the __ia64__ case accordingly. | */ | #define YY_BUF_SIZE 32768 | #else | #define YY_BUF_SIZE 16384 | #endif /* __ia64__ */ | #endif | | /* The state buf must be large enough to hold one state per character in the main buffer. | */ | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) | | #ifndef YY_TYPEDEF_YY_BUFFER_STATE | #define YY_TYPEDEF_YY_BUFFER_STATE | typedef struct yy_buffer_state *YY_BUFFER_STATE; | #endif | | #ifndef YY_TYPEDEF_YY_SIZE_T | #define YY_TYPEDEF_YY_SIZE_T | typedef size_t yy_size_t; | #endif | | extern int yyleng; | | extern FILE *yyin, *yyout; | | #define EOB_ACT_CONTINUE_SCAN 0 | #define EOB_ACT_END_OF_FILE 1 | #define EOB_ACT_LAST_MATCH 2 | | #define YY_LESS_LINENO(n) | #define YY_LINENO_REWIND_TO(ptr) | | /* Return all but the first "n" matched characters back to the input stream. */ | #define yyless(n) \ | do \ | { \ | /* Undo effects of setting up yytext. */ \ | int yyless_macro_arg = (n); \ | YY_LESS_LINENO(yyless_macro_arg);\ | *yy_cp = (yy_hold_char); \ | YY_RESTORE_YY_MORE_OFFSET \ | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ | YY_DO_BEFORE_ACTION; /* set up yytext again */ \ | } \ | while ( 0 ) | #define unput(c) yyunput( c, (yytext_ptr) ) | | #ifndef YY_STRUCT_YY_BUFFER_STATE | #define YY_STRUCT_YY_BUFFER_STATE | struct yy_buffer_state | { | FILE *yy_input_file; | | char *yy_ch_buf; /* input buffer */ | char *yy_buf_pos; /* current position in input buffer */ | | /* Size of input buffer in bytes, not including room for EOB | * characters. | */ | int yy_buf_size; | | /* Number of characters read into yy_ch_buf, not including EOB | * characters. | */ | int yy_n_chars; | | /* Whether we "own" the buffer - i.e., we know we created it, | * and can realloc() it to grow it, and should free() it to | * delete it. | */ | int yy_is_our_buffer; | | /* Whether this is an "interactive" input source; if so, and | * if we're using stdio for input, then we want to use getc() | * instead of fread(), to make sure we stop fetching input after | * each newline. | */ | int yy_is_interactive; | | /* Whether we're considered to be at the beginning of a line. | * If so, '^' rules will be active on the next match, otherwise | * not. | */ | int yy_at_bol; | | int yy_bs_lineno; /**< The line count. */ | int yy_bs_column; /**< The column count. */ | | /* Whether to try to fill the input buffer when we reach the | * end of it. | */ | int yy_fill_buffer; | | int yy_buffer_status; | | #define YY_BUFFER_NEW 0 | #define YY_BUFFER_NORMAL 1 | /* When an EOF's been seen but there's still some text to process | * then we mark the buffer as YY_EOF_PENDING, to indicate that we | * shouldn't try reading from the input source any more. We might | * still have a bunch of tokens to match, though, because of | * possible backing-up. | * | * When we actually see the EOF, we change the status to "new" | * (via yyrestart()), so that the user can continue scanning by | * just pointing yyin at a new input file. | */ | #define YY_BUFFER_EOF_PENDING 2 | | }; | #endif /* !YY_STRUCT_YY_BUFFER_STATE */ | | /* Stack of input buffers. */ | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ | static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */ | | /* We provide macros for accessing buffer states in case in the | * future we want to put the buffer states in a more general | * "scanner state". | * | * Returns the top of the stack, or NULL. | */ | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ | : NULL) | /* Same as previous macro, but useful when we know that the buffer stack is not | * NULL or when we need an lvalue. For internal use only. | */ | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] | | /* yy_hold_char holds the character lost when yytext is formed. */ | static char yy_hold_char; | static int yy_n_chars; /* number of characters read into yy_ch_buf */ | int yyleng; | | /* Points to current character in buffer. */ | static char *yy_c_buf_p = NULL; | static int yy_init = 0; /* whether we need to initialize */ | static int yy_start = 0; /* start state number */ | | /* Flag which is used to allow yywrap()'s to do buffer switches | * instead of setting up a fresh yyin. A bit of a hack ... | */ | static int yy_did_buffer_switch_on_eof; | | void yyrestart ( FILE *input_file ); | void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer ); | YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size ); | void yy_delete_buffer ( YY_BUFFER_STATE b ); | void yy_flush_buffer ( YY_BUFFER_STATE b ); | void yypush_buffer_state ( YY_BUFFER_STATE new_buffer ); | void yypop_buffer_state ( void ); | | static void yyensure_buffer_stack ( void ); | static void yy_load_buffer_state ( void ); | static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file ); | #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) | | YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size ); | YY_BUFFER_STATE yy_scan_string ( const char *yy_str ); | YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len ); | | void *yyalloc ( yy_size_t ); | void *yyrealloc ( void *, yy_size_t ); | void yyfree ( void * ); | | #define yy_new_buffer yy_create_buffer | #define yy_set_interactive(is_interactive) \ | { \ | if ( ! YY_CURRENT_BUFFER ){ \ | yyensure_buffer_stack (); \ | YY_CURRENT_BUFFER_LVALUE = \ | yy_create_buffer( yyin, YY_BUF_SIZE ); \ | } \ | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ | } | #define yy_set_bol(at_bol) \ | { \ | if ( ! YY_CURRENT_BUFFER ){\ | yyensure_buffer_stack (); \ | YY_CURRENT_BUFFER_LVALUE = \ | yy_create_buffer( yyin, YY_BUF_SIZE ); \ | } \ | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ | } | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) | | /* Begin user sect3 */ | typedef flex_uint8_t YY_CHAR; | | FILE *yyin = NULL, *yyout = NULL; | | typedef int yy_state_type; | | extern int yylineno; | int yylineno = 1; | | extern char *yytext; | #ifdef yytext_ptr | #undef yytext_ptr | #endif | #define yytext_ptr yytext | | static yy_state_type yy_get_previous_state ( void ); | static yy_state_type yy_try_NUL_trans ( yy_state_type current_state ); | static int yy_get_next_buffer ( void ); | static void yynoreturn yy_fatal_error ( const char* msg ); | | /* Done after the current pattern has been matched and before the | * corresponding action - sets up yytext. | */ | #define YY_DO_BEFORE_ACTION \ | (yytext_ptr) = yy_bp; \ | (yytext_ptr) -= (yy_more_len); \ | yyleng = (int) (yy_cp - (yytext_ptr)); \ | (yy_hold_char) = *yy_cp; \ | *yy_cp = '\0'; \ | (yy_c_buf_p) = yy_cp; | #define YY_NUM_RULES 8 | #define YY_END_OF_BUFFER 9 | /* This struct is not used in this scanner, | but its presence is necessary. */ | struct yy_trans_info | { | flex_int32_t yy_verify; | flex_int32_t yy_nxt; | }; | static const flex_int16_t yy_acclist[23] = | { 0, | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8, | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6, | 7, 8 | } ; | | static const flex_int16_t yy_accept[14] = | { 0, | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17, | 20, 23, 23 | } ; | | static const YY_CHAR yy_ec[256] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6, | | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1 | } ; | | static const YY_CHAR yy_meta[9] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1 | } ; | | static const flex_int16_t yy_base[13] = | { 0, | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, | 10, 10 | } ; | | static const flex_int16_t yy_def[13] = | { 0, | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12, | 12, 0 | } ; | | static const flex_int16_t yy_nxt[19] = | { 0, | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, | 12, 12, 12, 12, 12, 12, 12, 12 | } ; | | static const flex_int16_t yy_chk[19] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12, | 12, 12, 12, 12, 12, 12, 12, 12 | } ; | | extern int yy_flex_debug; | int yy_flex_debug = 0; | | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; | static char *yy_full_match; | static int yy_lp; | #define REJECT \ | { \ | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ | ++(yy_lp); \ | goto find_rule; \ | } | | static int yy_more_flag = 0; | static int yy_more_len = 0; | #define yymore() ((yy_more_flag) = 1) | #define YY_MORE_ADJ (yy_more_len) | #define YY_RESTORE_YY_MORE_OFFSET | char *yytext; | #line 1 "conftest.l" | #line 460 "lex.yy.c" | | #define INITIAL 0 | | #ifndef YY_NO_UNISTD_H | /* Special case for "unistd.h", since it is non-ANSI. We include it way | * down here because we want the user's section 1 to have been scanned first. | * The user has a chance to override it with an option. | */ | #include | #endif | | #ifndef YY_EXTRA_TYPE | #define YY_EXTRA_TYPE void * | #endif | | static int yy_init_globals ( void ); | | /* Accessor methods to globals. | These are made visible to non-reentrant scanners for convenience. */ | | int yylex_destroy ( void ); | | int yyget_debug ( void ); | | void yyset_debug ( int debug_flag ); | | YY_EXTRA_TYPE yyget_extra ( void ); | | void yyset_extra ( YY_EXTRA_TYPE user_defined ); | | FILE *yyget_in ( void ); | | void yyset_in ( FILE * _in_str ); | | FILE *yyget_out ( void ); | | void yyset_out ( FILE * _out_str ); | | int yyget_leng ( void ); | | char *yyget_text ( void ); | | int yyget_lineno ( void ); | | void yyset_lineno ( int _line_number ); | | /* Macros after this point can all be overridden by user definitions in | * section 1. | */ | | #ifndef YY_SKIP_YYWRAP | #ifdef __cplusplus | extern "C" int yywrap ( void ); | #else | extern int yywrap ( void ); | #endif | #endif | | #ifndef YY_NO_UNPUT | | static void yyunput ( int c, char *buf_ptr ); | | #endif | | #ifndef yytext_ptr | static void yy_flex_strncpy ( char *, const char *, int ); | #endif | | #ifdef YY_NEED_STRLEN | static int yy_flex_strlen ( const char * ); | #endif | | #ifndef YY_NO_INPUT | #ifdef __cplusplus | static int yyinput ( void ); | #else | static int input ( void ); | #endif | | #endif | | /* Amount of stuff to slurp up with each read. */ | #ifndef YY_READ_BUF_SIZE | #ifdef __ia64__ | /* On IA-64, the buffer size is 16k, not 8k */ | #define YY_READ_BUF_SIZE 16384 | #else | #define YY_READ_BUF_SIZE 8192 | #endif /* __ia64__ */ | #endif | | /* Copy whatever the last rule matched to the standard output. */ | #ifndef ECHO | /* This used to be an fputs(), but since the string might contain NUL's, | * we now use fwrite(). | */ | #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) | #endif | | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, | * is returned in "result". | */ | #ifndef YY_INPUT | #define YY_INPUT(buf,result,max_size) \ | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ | { \ | int c = '*'; \ | int n; \ | for ( n = 0; n < max_size && \ | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ | buf[n] = (char) c; \ | if ( c == '\n' ) \ | buf[n++] = (char) c; \ | if ( c == EOF && ferror( yyin ) ) \ | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | result = n; \ | } \ | else \ | { \ | errno=0; \ | while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ | { \ | if( errno != EINTR) \ | { \ | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | break; \ | } \ | errno=0; \ | clearerr(yyin); \ | } \ | }\ | \ | | #endif | | /* No semi-colon after return; correct usage is to write "yyterminate();" - | * we don't want an extra ';' after the "return" because that will cause | * some compilers to complain about unreachable statements. | */ | #ifndef yyterminate | #define yyterminate() return YY_NULL | #endif | | /* Number of entries by which start-condition stack grows. */ | #ifndef YY_START_STACK_INCR | #define YY_START_STACK_INCR 25 | #endif | | /* Report a fatal error. */ | #ifndef YY_FATAL_ERROR | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) | #endif | | /* end tables serialization structures and prototypes */ | | /* Default declaration of generated scanner - a define so the user can | * easily add parameters. | */ | #ifndef YY_DECL | #define YY_DECL_IS_OURS 1 | | extern int yylex (void); | | #define YY_DECL int yylex (void) | #endif /* !YY_DECL */ | | /* Code executed at the beginning of each rule, after yytext and yyleng | * have been set up. | */ | #ifndef YY_USER_ACTION | #define YY_USER_ACTION | #endif | | /* Code executed at the end of each rule. */ | #ifndef YY_BREAK | #define YY_BREAK /*LINTED*/break; | #endif | | #define YY_RULE_SETUP \ | YY_USER_ACTION | | /** The main scanner function which does all the work. | */ | YY_DECL | { | yy_state_type yy_current_state; | char *yy_cp, *yy_bp; | int yy_act; | | if ( !(yy_init) ) | { | (yy_init) = 1; | | #ifdef YY_USER_INIT | YY_USER_INIT; | #endif | | /* Create the reject buffer large enough to save one state per allowed character. */ | if ( ! (yy_state_buf) ) | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE ); | if ( ! (yy_state_buf) ) | YY_FATAL_ERROR( "out of dynamic memory in yylex()" ); | | if ( ! (yy_start) ) | (yy_start) = 1; /* first start state */ | | if ( ! yyin ) | yyin = stdin; | | if ( ! yyout ) | yyout = stdout; | | if ( ! YY_CURRENT_BUFFER ) { | yyensure_buffer_stack (); | YY_CURRENT_BUFFER_LVALUE = | yy_create_buffer( yyin, YY_BUF_SIZE ); | } | | yy_load_buffer_state( ); | } | | { | #line 1 "conftest.l" | | #line 685 "lex.yy.c" | | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ | { | (yy_more_len) = 0; | if ( (yy_more_flag) ) | { | (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr)); | (yy_more_flag) = 0; | } | yy_cp = (yy_c_buf_p); | | /* Support of yytext. */ | *yy_cp = (yy_hold_char); | | /* yy_bp points to the position in yy_ch_buf of the start of | * the current run. | */ | yy_bp = yy_cp; | | yy_current_state = (yy_start); | | (yy_state_ptr) = (yy_state_buf); | *(yy_state_ptr)++ = yy_current_state; | | yy_match: | do | { | YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | *(yy_state_ptr)++ = yy_current_state; | ++yy_cp; | } | while ( yy_base[yy_current_state] != 10 ); | | yy_find_action: | yy_current_state = *--(yy_state_ptr); | (yy_lp) = yy_accept[yy_current_state]; | | find_rule: /* we branch to this label when backing up */ | | for ( ; ; ) /* until we find what rule we matched */ | { | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) | { | yy_act = yy_acclist[(yy_lp)]; | { | (yy_full_match) = yy_cp; | break; | } | } | --yy_cp; | yy_current_state = *--(yy_state_ptr); | (yy_lp) = yy_accept[yy_current_state]; | } | | YY_DO_BEFORE_ACTION; | | do_action: /* This label is used only to access EOF actions. */ | | switch ( yy_act ) | { /* beginning of action switch */ | case 1: | YY_RULE_SETUP | #line 2 "conftest.l" | { ECHO; } | YY_BREAK | case 2: | YY_RULE_SETUP | #line 3 "conftest.l" | { REJECT; } | YY_BREAK | case 3: | YY_RULE_SETUP | #line 4 "conftest.l" | { yymore (); } | YY_BREAK | case 4: | YY_RULE_SETUP | #line 5 "conftest.l" | { yyless (1); } | YY_BREAK | case 5: | YY_RULE_SETUP | #line 6 "conftest.l" | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ | yyless ((input () != 0)); } | YY_BREAK | case 6: | YY_RULE_SETUP | #line 8 "conftest.l" | { unput (yytext[0]); } | YY_BREAK | case 7: | YY_RULE_SETUP | #line 9 "conftest.l" | { BEGIN INITIAL; } | YY_BREAK | case 8: | YY_RULE_SETUP | #line 10 "conftest.l" | ECHO; | YY_BREAK | #line 794 "lex.yy.c" | case YY_STATE_EOF(INITIAL): | yyterminate(); | | case YY_END_OF_BUFFER: | { | /* Amount of text matched not including the EOB char. */ | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; | | /* Undo the effects of YY_DO_BEFORE_ACTION. */ | *yy_cp = (yy_hold_char); | YY_RESTORE_YY_MORE_OFFSET | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) | { | /* We're scanning a new file or input source. It's | * possible that this happened because the user | * just pointed yyin at a new source and called | * yylex(). If so, then we have to assure | * consistency between YY_CURRENT_BUFFER and our | * globals. Here is the right place to do so, because | * this is the first action (other than possibly a | * back-up) that will match for the new input source. | */ | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; | } | | /* Note that here we test for yy_c_buf_p "<=" to the position | * of the first EOB in the buffer, since yy_c_buf_p will | * already have been incremented past the NUL character | * (since all states make transitions on EOB to the | * end-of-buffer state). Contrast this with the test | * in input(). | */ | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | { /* This was really a NUL. */ | yy_state_type yy_next_state; | | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; | | yy_current_state = yy_get_previous_state( ); | | /* Okay, we're now positioned to make the NUL | * transition. We couldn't have | * yy_get_previous_state() go ahead and do it | * for us because it doesn't know how to deal | * with the possibility of jamming (and we don't | * want to build jamming into it because then it | * will run more slowly). | */ | | yy_next_state = yy_try_NUL_trans( yy_current_state ); | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | | if ( yy_next_state ) | { | /* Consume the NUL. */ | yy_cp = ++(yy_c_buf_p); | yy_current_state = yy_next_state; | goto yy_match; | } | | else | { | yy_cp = (yy_c_buf_p); | goto yy_find_action; | } | } | | else switch ( yy_get_next_buffer( ) ) | { | case EOB_ACT_END_OF_FILE: | { | (yy_did_buffer_switch_on_eof) = 0; | | if ( yywrap( ) ) | { | /* Note: because we've taken care in | * yy_get_next_buffer() to have set up | * yytext, we can now set up | * yy_c_buf_p so that if some total | * hoser (like flex itself) wants to | * call the scanner after we return the | * YY_NULL, it'll still work - another | * YY_NULL will get returned. | */ | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; | | yy_act = YY_STATE_EOF(YY_START); | goto do_action; | } | | else | { | if ( ! (yy_did_buffer_switch_on_eof) ) | YY_NEW_FILE; | } | break; | } | | case EOB_ACT_CONTINUE_SCAN: | (yy_c_buf_p) = | (yytext_ptr) + yy_amount_of_matched_text; | | yy_current_state = yy_get_previous_state( ); | | yy_cp = (yy_c_buf_p); | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | goto yy_match; | | case EOB_ACT_LAST_MATCH: | (yy_c_buf_p) = | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; | | yy_current_state = yy_get_previous_state( ); | | yy_cp = (yy_c_buf_p); | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | goto yy_find_action; | } | break; | } | | default: | YY_FATAL_ERROR( | "fatal flex scanner internal error--no action found" ); | } /* end of action switch */ | } /* end of scanning one token */ | } /* end of user's declarations */ | } /* end of yylex */ | | /* yy_get_next_buffer - try to read in a new buffer | * | * Returns a code representing an action: | * EOB_ACT_LAST_MATCH - | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position | * EOB_ACT_END_OF_FILE - end of file | */ | static int yy_get_next_buffer (void) | { | char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; | char *source = (yytext_ptr); | int number_to_move, i; | int ret_val; | | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) | YY_FATAL_ERROR( | "fatal flex scanner internal error--end of buffer missed" ); | | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) | { /* Don't try to fill the buffer, so this is an EOF. */ | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) | { | /* We matched a single character, the EOB, so | * treat this as a final EOF. | */ | return EOB_ACT_END_OF_FILE; | } | | else | { | /* We matched some text prior to the EOB, first | * process it. | */ | return EOB_ACT_LAST_MATCH; | } | } | | /* Try to read more data. */ | | /* First move last chars to start of buffer. */ | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1); | | for ( i = 0; i < number_to_move; ++i ) | *(dest++) = *(source++); | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) | /* don't do the read, it's not guaranteed to return an EOF, | * just force an EOF | */ | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; | | else | { | int num_to_read = | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; | | while ( num_to_read <= 0 ) | { /* Not enough room in the buffer - grow it. */ | | YY_FATAL_ERROR( | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); | | } | | if ( num_to_read > YY_READ_BUF_SIZE ) | num_to_read = YY_READ_BUF_SIZE; | | /* Read in more data. */ | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), | (yy_n_chars), num_to_read ); | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | if ( (yy_n_chars) == 0 ) | { | if ( number_to_move == YY_MORE_ADJ ) | { | ret_val = EOB_ACT_END_OF_FILE; | yyrestart( yyin ); | } | | else | { | ret_val = EOB_ACT_LAST_MATCH; | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = | YY_BUFFER_EOF_PENDING; | } | } | | else | ret_val = EOB_ACT_CONTINUE_SCAN; | | if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | /* Extend the array by 50%, plus the number we really need. */ | int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc( | (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size ); | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); | /* "- 2" to take care of EOB's */ | YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); | } | | (yy_n_chars) += number_to_move; | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; | | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; | | return ret_val; | } | | /* yy_get_previous_state - get the state just before the EOB char was reached */ | | static yy_state_type yy_get_previous_state (void) | { | yy_state_type yy_current_state; | char *yy_cp; | | yy_current_state = (yy_start); | | (yy_state_ptr) = (yy_state_buf); | *(yy_state_ptr)++ = yy_current_state; | | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) | { | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | *(yy_state_ptr)++ = yy_current_state; | } | | return yy_current_state; | } | | /* yy_try_NUL_trans - try to make a transition on the NUL character | * | * synopsis | * next_state = yy_try_NUL_trans( current_state ); | */ | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) | { | int yy_is_jam; | | YY_CHAR yy_c = 1; | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | yy_is_jam = (yy_current_state == 12); | if ( ! yy_is_jam ) | *(yy_state_ptr)++ = yy_current_state; | | return yy_is_jam ? 0 : yy_current_state; | } | | #ifndef YY_NO_UNPUT | | static void yyunput (int c, char * yy_bp ) | { | char *yy_cp; | | yy_cp = (yy_c_buf_p); | | /* undo effects of setting up yytext */ | *yy_cp = (yy_hold_char); | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | { /* need to shift things up to make room */ | /* +2 for EOB chars. */ | int number_to_move = (yy_n_chars) + 2; | char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; | char *source = | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; | | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | *--dest = *--source; | | yy_cp += (int) (dest - source); | yy_bp += (int) (dest - source); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = | (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size; | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | YY_FATAL_ERROR( "flex scanner push-back overflow" ); | } | | *--yy_cp = (char) c; | | (yytext_ptr) = yy_bp; | (yy_hold_char) = *yy_cp; | (yy_c_buf_p) = yy_cp; | } | | #endif | | #ifndef YY_NO_INPUT | #ifdef __cplusplus | static int yyinput (void) | #else | static int input (void) | #endif | | { | int c; | | *(yy_c_buf_p) = (yy_hold_char); | | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) | { | /* yy_c_buf_p now points to the character we want to return. | * If this occurs *before* the EOB characters, then it's a | * valid NUL; if not, then we've hit the end of the buffer. | */ | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | /* This was really a NUL. */ | *(yy_c_buf_p) = '\0'; | | else | { /* need more input */ | int offset = (int) ((yy_c_buf_p) - (yytext_ptr)); | ++(yy_c_buf_p); | | switch ( yy_get_next_buffer( ) ) | { | case EOB_ACT_LAST_MATCH: | /* This happens because yy_g_n_b() | * sees that we've accumulated a | * token and flags that we need to | * try matching the token before | * proceeding. But for input(), | * there's no matching to consider. | * So convert the EOB_ACT_LAST_MATCH | * to EOB_ACT_END_OF_FILE. | */ | | /* Reset buffer status. */ | yyrestart( yyin ); | | /*FALLTHROUGH*/ | | case EOB_ACT_END_OF_FILE: | { | if ( yywrap( ) ) | return 0; | | if ( ! (yy_did_buffer_switch_on_eof) ) | YY_NEW_FILE; | #ifdef __cplusplus | return yyinput(); | #else | return input(); | #endif | } | | case EOB_ACT_CONTINUE_SCAN: | (yy_c_buf_p) = (yytext_ptr) + offset; | break; | } | } | } | | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ | *(yy_c_buf_p) = '\0'; /* preserve yytext */ | (yy_hold_char) = *++(yy_c_buf_p); | | return c; | } | #endif /* ifndef YY_NO_INPUT */ | | /** Immediately switch to a different input stream. | * @param input_file A readable stream. | * | * @note This function does not reset the start condition to @c INITIAL . | */ | void yyrestart (FILE * input_file ) | { | | if ( ! YY_CURRENT_BUFFER ){ | yyensure_buffer_stack (); | YY_CURRENT_BUFFER_LVALUE = | yy_create_buffer( yyin, YY_BUF_SIZE ); | } | | yy_init_buffer( YY_CURRENT_BUFFER, input_file ); | yy_load_buffer_state( ); | } | | /** Switch to a different input buffer. | * @param new_buffer The new input buffer. | * | */ | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) | { | | /* TODO. We should be able to replace this entire function body | * with | * yypop_buffer_state(); | * yypush_buffer_state(new_buffer); | */ | yyensure_buffer_stack (); | if ( YY_CURRENT_BUFFER == new_buffer ) | return; | | if ( YY_CURRENT_BUFFER ) | { | /* Flush out information for old buffer. */ | *(yy_c_buf_p) = (yy_hold_char); | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | YY_CURRENT_BUFFER_LVALUE = new_buffer; | yy_load_buffer_state( ); | | /* We don't actually know whether we did this switch during | * EOF (yywrap()) processing, but the only time this flag | * is looked at is after yywrap() is called, so it's safe | * to go ahead and always set it. | */ | (yy_did_buffer_switch_on_eof) = 1; | } | | static void yy_load_buffer_state (void) | { | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; | (yy_hold_char) = *(yy_c_buf_p); | } | | /** Allocate and initialize an input buffer state. | * @param file A readable stream. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. | * | * @return the allocated buffer state. | */ | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) | { | YY_BUFFER_STATE b; | | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); | if ( ! b ) | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | b->yy_buf_size = size; | | /* yy_ch_buf has to be 2 characters longer than the size given because | * we need to put in 2 end-of-buffer characters. | */ | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) ); | if ( ! b->yy_ch_buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | b->yy_is_our_buffer = 1; | | yy_init_buffer( b, file ); | | return b; | } | | /** Destroy the buffer. | * @param b a buffer created with yy_create_buffer() | * | */ | void yy_delete_buffer (YY_BUFFER_STATE b ) | { | | if ( ! b ) | return; | | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; | | if ( b->yy_is_our_buffer ) | yyfree( (void *) b->yy_ch_buf ); | | yyfree( (void *) b ); | } | | /* Initializes or reinitializes a buffer. | * This function is sometimes called more than once on the same buffer, | * such as during a yyrestart() or at EOF. | */ | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) | | { | int oerrno = errno; | | yy_flush_buffer( b ); | | b->yy_input_file = file; | b->yy_fill_buffer = 1; | | /* If b is the current buffer, then yy_init_buffer was _probably_ | * called from yyrestart() or through yy_get_next_buffer. | * In that case, we don't want to reset the lineno or column. | */ | if (b != YY_CURRENT_BUFFER){ | b->yy_bs_lineno = 1; | b->yy_bs_column = 0; | } | | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; | | errno = oerrno; | } | | /** Discard all buffered characters. On the next scan, YY_INPUT will be called. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. | * | */ | void yy_flush_buffer (YY_BUFFER_STATE b ) | { | if ( ! b ) | return; | | b->yy_n_chars = 0; | | /* We always need two end-of-buffer characters. The first causes | * a transition to the end-of-buffer state. The second causes | * a jam in that state. | */ | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; | | b->yy_buf_pos = &b->yy_ch_buf[0]; | | b->yy_at_bol = 1; | b->yy_buffer_status = YY_BUFFER_NEW; | | if ( b == YY_CURRENT_BUFFER ) | yy_load_buffer_state( ); | } | | /** Pushes the new state onto the stack. The new state becomes | * the current state. This function will allocate the stack | * if necessary. | * @param new_buffer The new state. | * | */ | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) | { | if (new_buffer == NULL) | return; | | yyensure_buffer_stack(); | | /* This block is copied from yy_switch_to_buffer. */ | if ( YY_CURRENT_BUFFER ) | { | /* Flush out information for old buffer. */ | *(yy_c_buf_p) = (yy_hold_char); | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | /* Only push if top exists. Otherwise, replace top. */ | if (YY_CURRENT_BUFFER) | (yy_buffer_stack_top)++; | YY_CURRENT_BUFFER_LVALUE = new_buffer; | | /* copied from yy_switch_to_buffer. */ | yy_load_buffer_state( ); | (yy_did_buffer_switch_on_eof) = 1; | } | | /** Removes and deletes the top of the stack, if present. | * The next element becomes the new top. | * | */ | void yypop_buffer_state (void) | { | if (!YY_CURRENT_BUFFER) | return; | | yy_delete_buffer(YY_CURRENT_BUFFER ); | YY_CURRENT_BUFFER_LVALUE = NULL; | if ((yy_buffer_stack_top) > 0) | --(yy_buffer_stack_top); | | if (YY_CURRENT_BUFFER) { | yy_load_buffer_state( ); | (yy_did_buffer_switch_on_eof) = 1; | } | } | | /* Allocates the stack if it does not exist. | * Guarantees space for at least one push. | */ | static void yyensure_buffer_stack (void) | { | yy_size_t num_to_alloc; | | if (!(yy_buffer_stack)) { | | /* First allocation is just for 2 elements, since we don't know if this | * scanner will even need a stack. We use 2 instead of 1 to avoid an | * immediate realloc on the next call. | */ | num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc | (num_to_alloc * sizeof(struct yy_buffer_state*) | ); | if ( ! (yy_buffer_stack) ) | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); | | (yy_buffer_stack_max) = num_to_alloc; | (yy_buffer_stack_top) = 0; | return; | } | | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ | | /* Increase the buffer to prepare for a possible push. */ | yy_size_t grow_size = 8 /* arbitrary grow size */; | | num_to_alloc = (yy_buffer_stack_max) + grow_size; | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc | ((yy_buffer_stack), | num_to_alloc * sizeof(struct yy_buffer_state*) | ); | if ( ! (yy_buffer_stack) ) | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | /* zero only the new slots.*/ | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); | (yy_buffer_stack_max) = num_to_alloc; | } | } | | /** Setup the input buffer state to scan directly from a user-specified character buffer. | * @param base the character buffer | * @param size the size in bytes of the character buffer | * | * @return the newly allocated buffer state object. | */ | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) | { | YY_BUFFER_STATE b; | | if ( size < 2 || | base[size-2] != YY_END_OF_BUFFER_CHAR || | base[size-1] != YY_END_OF_BUFFER_CHAR ) | /* They forgot to leave room for the EOB's. */ | return NULL; | | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); | if ( ! b ) | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); | | b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ | b->yy_buf_pos = b->yy_ch_buf = base; | b->yy_is_our_buffer = 0; | b->yy_input_file = NULL; | b->yy_n_chars = b->yy_buf_size; | b->yy_is_interactive = 0; | b->yy_at_bol = 1; | b->yy_fill_buffer = 0; | b->yy_buffer_status = YY_BUFFER_NEW; | | yy_switch_to_buffer( b ); | | return b; | } | | /** Setup the input buffer state to scan a string. The next call to yylex() will | * scan from a @e copy of @a str. | * @param yystr a NUL-terminated string to scan | * | * @return the newly allocated buffer state object. | * @note If you want to scan bytes that may contain NUL values, then use | * yy_scan_bytes() instead. | */ | YY_BUFFER_STATE yy_scan_string (const char * yystr ) | { | | return yy_scan_bytes( yystr, (int) strlen(yystr) ); | } | | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will | * scan from a @e copy of @a bytes. | * @param yybytes the byte buffer to scan | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. | * | * @return the newly allocated buffer state object. | */ | YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len ) | { | YY_BUFFER_STATE b; | char *buf; | yy_size_t n; | int i; | | /* Get memory for full buffer, including space for trailing EOB's. */ | n = (yy_size_t) (_yybytes_len + 2); | buf = (char *) yyalloc( n ); | if ( ! buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); | | for ( i = 0; i < _yybytes_len; ++i ) | buf[i] = yybytes[i]; | | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; | | b = yy_scan_buffer( buf, n ); | if ( ! b ) | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); | | /* It's okay to grow etc. this buffer, and we should throw it | * away when we're done. | */ | b->yy_is_our_buffer = 1; | | return b; | } | | #ifndef YY_EXIT_FAILURE | #define YY_EXIT_FAILURE 2 | #endif | | static void yynoreturn yy_fatal_error (const char* msg ) | { | fprintf( stderr, "%s\n", msg ); | exit( YY_EXIT_FAILURE ); | } | | /* Redefine yyless() so it works in section 3 code. */ | | #undef yyless | #define yyless(n) \ | do \ | { \ | /* Undo effects of setting up yytext. */ \ | int yyless_macro_arg = (n); \ | YY_LESS_LINENO(yyless_macro_arg);\ | yytext[yyleng] = (yy_hold_char); \ | (yy_c_buf_p) = yytext + yyless_macro_arg; \ | (yy_hold_char) = *(yy_c_buf_p); \ | *(yy_c_buf_p) = '\0'; \ | yyleng = yyless_macro_arg; \ | } \ | while ( 0 ) | | /* Accessor methods (get/set functions) to struct members. */ | | /** Get the current line number. | * | */ | int yyget_lineno (void) | { | | return yylineno; | } | | /** Get the input stream. | * | */ | FILE *yyget_in (void) | { | return yyin; | } | | /** Get the output stream. | * | */ | FILE *yyget_out (void) | { | return yyout; | } | | /** Get the length of the current token. | * | */ | int yyget_leng (void) | { | return yyleng; | } | | /** Get the current token. | * | */ | | char *yyget_text (void) | { | return yytext; | } | | /** Set the current line number. | * @param _line_number line number | * | */ | void yyset_lineno (int _line_number ) | { | | yylineno = _line_number; | } | | /** Set the input stream. This does not discard the current | * input buffer. | * @param _in_str A readable stream. | * | * @see yy_switch_to_buffer | */ | void yyset_in (FILE * _in_str ) | { | yyin = _in_str ; | } | | void yyset_out (FILE * _out_str ) | { | yyout = _out_str ; | } | | int yyget_debug (void) | { | return yy_flex_debug; | } | | void yyset_debug (int _bdebug ) | { | yy_flex_debug = _bdebug ; | } | | static int yy_init_globals (void) | { | /* Initialization is the same as for the non-reentrant scanner. | * This function is called from yylex_destroy(), so don't allocate here. | */ | | (yy_buffer_stack) = NULL; | (yy_buffer_stack_top) = 0; | (yy_buffer_stack_max) = 0; | (yy_c_buf_p) = NULL; | (yy_init) = 0; | (yy_start) = 0; | | (yy_state_buf) = 0; | (yy_state_ptr) = 0; | (yy_full_match) = 0; | (yy_lp) = 0; | | /* Defined in main.c */ | #ifdef YY_STDINIT | yyin = stdin; | yyout = stdout; | #else | yyin = NULL; | yyout = NULL; | #endif | | /* For future reference: Set errno on error, since we are called by | * yylex_init() | */ | return 0; | } | | /* yylex_destroy is for both reentrant and non-reentrant scanners. */ | int yylex_destroy (void) | { | | /* Pop the buffer stack, destroying each element. */ | while(YY_CURRENT_BUFFER){ | yy_delete_buffer( YY_CURRENT_BUFFER ); | YY_CURRENT_BUFFER_LVALUE = NULL; | yypop_buffer_state(); | } | | /* Destroy the stack itself. */ | yyfree((yy_buffer_stack) ); | (yy_buffer_stack) = NULL; | | yyfree ( (yy_state_buf) ); | (yy_state_buf) = NULL; | | /* Reset the globals. This is important in a non-reentrant scanner so the next time | * yylex() is called, initialization will occur. */ | yy_init_globals( ); | | return 0; | } | | /* | * Internal utility routines. | */ | | #ifndef yytext_ptr | static void yy_flex_strncpy (char* s1, const char * s2, int n ) | { | | int i; | for ( i = 0; i < n; ++i ) | s1[i] = s2[i]; | } | #endif | | #ifdef YY_NEED_STRLEN | static int yy_flex_strlen (const char * s ) | { | int n; | for ( n = 0; s[n]; ++n ) | ; | | return n; | } | #endif | | void *yyalloc (yy_size_t size ) | { | return malloc(size); | } | | void *yyrealloc (void * ptr, yy_size_t size ) | { | | /* The cast to (char *) in the following accommodates both | * implementations that use char* generic pointers, and those | * that use void* generic pointers. It works with the latter | * because both ANSI C and C++ allow castless assignment from | * any pointer type to void*, and deal with argument conversions | * as though doing an assignment. | */ | return realloc(ptr, size); | } | | void yyfree (void * ptr ) | { | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ | } | | #define YYTABLES_NAME "yytables" | | #line 10 "conftest.l" | | #ifdef YYTEXT_POINTER | extern char *yytext; | #endif | int | main (void) | { | return ! yylex () + ! yywrap (); | } configure:4434: gcc -o conftest -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -Wl,-z,now conftest.c -ll >&5 lex.yy.c: In function 'yy_scan_buffer': lex.yy.c:1490:24: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5 1490 | b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/bin/ld: cannot find -ll collect2: error: ld returned 1 exit status configure:4434: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "esmtp" | #define PACKAGE_TARNAME "esmtp" | #define PACKAGE_VERSION "1.2" | #define PACKAGE_STRING "esmtp 1.2" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "esmtp" | #define VERSION "1.2" | #define STDC_HEADERS 1 | /* end confdefs.h. */ | | #line 3 "lex.yy.c" | | #define YY_INT_ALIGNED short int | | /* A lexical scanner generated by flex */ | | #define FLEX_SCANNER | #define YY_FLEX_MAJOR_VERSION 2 | #define YY_FLEX_MINOR_VERSION 6 | #define YY_FLEX_SUBMINOR_VERSION 4 | #if YY_FLEX_SUBMINOR_VERSION > 0 | #define FLEX_BETA | #endif | | /* First, we deal with platform-specific or compiler-specific issues. */ | | /* begin standard C headers. */ | #include | #include | #include | #include | | /* end standard C headers. */ | | /* flex integer type definitions */ | | #ifndef FLEXINT_H | #define FLEXINT_H | | /* C99 systems have . Non-C99 systems may or may not. */ | | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, | * if you want the limit (max/min) macros for int types. | */ | #ifndef __STDC_LIMIT_MACROS | #define __STDC_LIMIT_MACROS 1 | #endif | | #include | typedef int8_t flex_int8_t; | typedef uint8_t flex_uint8_t; | typedef int16_t flex_int16_t; | typedef uint16_t flex_uint16_t; | typedef int32_t flex_int32_t; | typedef uint32_t flex_uint32_t; | #else | typedef signed char flex_int8_t; | typedef short int flex_int16_t; | typedef int flex_int32_t; | typedef unsigned char flex_uint8_t; | typedef unsigned short int flex_uint16_t; | typedef unsigned int flex_uint32_t; | | /* Limits of integral types. */ | #ifndef INT8_MIN | #define INT8_MIN (-128) | #endif | #ifndef INT16_MIN | #define INT16_MIN (-32767-1) | #endif | #ifndef INT32_MIN | #define INT32_MIN (-2147483647-1) | #endif | #ifndef INT8_MAX | #define INT8_MAX (127) | #endif | #ifndef INT16_MAX | #define INT16_MAX (32767) | #endif | #ifndef INT32_MAX | #define INT32_MAX (2147483647) | #endif | #ifndef UINT8_MAX | #define UINT8_MAX (255U) | #endif | #ifndef UINT16_MAX | #define UINT16_MAX (65535U) | #endif | #ifndef UINT32_MAX | #define UINT32_MAX (4294967295U) | #endif | | #ifndef SIZE_MAX | #define SIZE_MAX (~(size_t)0) | #endif | | #endif /* ! C99 */ | | #endif /* ! FLEXINT_H */ | | /* begin standard C++ headers. */ | | /* TODO: this is always defined, so inline it */ | #define yyconst const | | #if defined(__GNUC__) && __GNUC__ >= 3 | #define yynoreturn __attribute__((__noreturn__)) | #else | #define yynoreturn | #endif | | /* Returned upon end-of-file. */ | #define YY_NULL 0 | | /* Promotes a possibly negative, possibly signed char to an | * integer in range [0..255] for use as an array index. | */ | #define YY_SC_TO_UI(c) ((YY_CHAR) (c)) | | /* Enter a start condition. This macro really ought to take a parameter, | * but we do it the disgusting crufty way forced on us by the ()-less | * definition of BEGIN. | */ | #define BEGIN (yy_start) = 1 + 2 * | /* Translate the current start state into a value that can be later handed | * to BEGIN to return to the state. The YYSTATE alias is for lex | * compatibility. | */ | #define YY_START (((yy_start) - 1) / 2) | #define YYSTATE YY_START | /* Action number for EOF rule of a given start state. */ | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) | /* Special action meaning "start processing a new file". */ | #define YY_NEW_FILE yyrestart( yyin ) | #define YY_END_OF_BUFFER_CHAR 0 | | /* Size of default input buffer. */ | #ifndef YY_BUF_SIZE | #ifdef __ia64__ | /* On IA-64, the buffer size is 16k, not 8k. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. | * Ditto for the __ia64__ case accordingly. | */ | #define YY_BUF_SIZE 32768 | #else | #define YY_BUF_SIZE 16384 | #endif /* __ia64__ */ | #endif | | /* The state buf must be large enough to hold one state per character in the main buffer. | */ | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) | | #ifndef YY_TYPEDEF_YY_BUFFER_STATE | #define YY_TYPEDEF_YY_BUFFER_STATE | typedef struct yy_buffer_state *YY_BUFFER_STATE; | #endif | | #ifndef YY_TYPEDEF_YY_SIZE_T | #define YY_TYPEDEF_YY_SIZE_T | typedef size_t yy_size_t; | #endif | | extern int yyleng; | | extern FILE *yyin, *yyout; | | #define EOB_ACT_CONTINUE_SCAN 0 | #define EOB_ACT_END_OF_FILE 1 | #define EOB_ACT_LAST_MATCH 2 | | #define YY_LESS_LINENO(n) | #define YY_LINENO_REWIND_TO(ptr) | | /* Return all but the first "n" matched characters back to the input stream. */ | #define yyless(n) \ | do \ | { \ | /* Undo effects of setting up yytext. */ \ | int yyless_macro_arg = (n); \ | YY_LESS_LINENO(yyless_macro_arg);\ | *yy_cp = (yy_hold_char); \ | YY_RESTORE_YY_MORE_OFFSET \ | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ | YY_DO_BEFORE_ACTION; /* set up yytext again */ \ | } \ | while ( 0 ) | #define unput(c) yyunput( c, (yytext_ptr) ) | | #ifndef YY_STRUCT_YY_BUFFER_STATE | #define YY_STRUCT_YY_BUFFER_STATE | struct yy_buffer_state | { | FILE *yy_input_file; | | char *yy_ch_buf; /* input buffer */ | char *yy_buf_pos; /* current position in input buffer */ | | /* Size of input buffer in bytes, not including room for EOB | * characters. | */ | int yy_buf_size; | | /* Number of characters read into yy_ch_buf, not including EOB | * characters. | */ | int yy_n_chars; | | /* Whether we "own" the buffer - i.e., we know we created it, | * and can realloc() it to grow it, and should free() it to | * delete it. | */ | int yy_is_our_buffer; | | /* Whether this is an "interactive" input source; if so, and | * if we're using stdio for input, then we want to use getc() | * instead of fread(), to make sure we stop fetching input after | * each newline. | */ | int yy_is_interactive; | | /* Whether we're considered to be at the beginning of a line. | * If so, '^' rules will be active on the next match, otherwise | * not. | */ | int yy_at_bol; | | int yy_bs_lineno; /**< The line count. */ | int yy_bs_column; /**< The column count. */ | | /* Whether to try to fill the input buffer when we reach the | * end of it. | */ | int yy_fill_buffer; | | int yy_buffer_status; | | #define YY_BUFFER_NEW 0 | #define YY_BUFFER_NORMAL 1 | /* When an EOF's been seen but there's still some text to process | * then we mark the buffer as YY_EOF_PENDING, to indicate that we | * shouldn't try reading from the input source any more. We might | * still have a bunch of tokens to match, though, because of | * possible backing-up. | * | * When we actually see the EOF, we change the status to "new" | * (via yyrestart()), so that the user can continue scanning by | * just pointing yyin at a new input file. | */ | #define YY_BUFFER_EOF_PENDING 2 | | }; | #endif /* !YY_STRUCT_YY_BUFFER_STATE */ | | /* Stack of input buffers. */ | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ | static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */ | | /* We provide macros for accessing buffer states in case in the | * future we want to put the buffer states in a more general | * "scanner state". | * | * Returns the top of the stack, or NULL. | */ | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ | : NULL) | /* Same as previous macro, but useful when we know that the buffer stack is not | * NULL or when we need an lvalue. For internal use only. | */ | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] | | /* yy_hold_char holds the character lost when yytext is formed. */ | static char yy_hold_char; | static int yy_n_chars; /* number of characters read into yy_ch_buf */ | int yyleng; | | /* Points to current character in buffer. */ | static char *yy_c_buf_p = NULL; | static int yy_init = 0; /* whether we need to initialize */ | static int yy_start = 0; /* start state number */ | | /* Flag which is used to allow yywrap()'s to do buffer switches | * instead of setting up a fresh yyin. A bit of a hack ... | */ | static int yy_did_buffer_switch_on_eof; | | void yyrestart ( FILE *input_file ); | void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer ); | YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size ); | void yy_delete_buffer ( YY_BUFFER_STATE b ); | void yy_flush_buffer ( YY_BUFFER_STATE b ); | void yypush_buffer_state ( YY_BUFFER_STATE new_buffer ); | void yypop_buffer_state ( void ); | | static void yyensure_buffer_stack ( void ); | static void yy_load_buffer_state ( void ); | static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file ); | #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) | | YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size ); | YY_BUFFER_STATE yy_scan_string ( const char *yy_str ); | YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len ); | | void *yyalloc ( yy_size_t ); | void *yyrealloc ( void *, yy_size_t ); | void yyfree ( void * ); | | #define yy_new_buffer yy_create_buffer | #define yy_set_interactive(is_interactive) \ | { \ | if ( ! YY_CURRENT_BUFFER ){ \ | yyensure_buffer_stack (); \ | YY_CURRENT_BUFFER_LVALUE = \ | yy_create_buffer( yyin, YY_BUF_SIZE ); \ | } \ | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ | } | #define yy_set_bol(at_bol) \ | { \ | if ( ! YY_CURRENT_BUFFER ){\ | yyensure_buffer_stack (); \ | YY_CURRENT_BUFFER_LVALUE = \ | yy_create_buffer( yyin, YY_BUF_SIZE ); \ | } \ | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ | } | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) | | /* Begin user sect3 */ | typedef flex_uint8_t YY_CHAR; | | FILE *yyin = NULL, *yyout = NULL; | | typedef int yy_state_type; | | extern int yylineno; | int yylineno = 1; | | extern char *yytext; | #ifdef yytext_ptr | #undef yytext_ptr | #endif | #define yytext_ptr yytext | | static yy_state_type yy_get_previous_state ( void ); | static yy_state_type yy_try_NUL_trans ( yy_state_type current_state ); | static int yy_get_next_buffer ( void ); | static void yynoreturn yy_fatal_error ( const char* msg ); | | /* Done after the current pattern has been matched and before the | * corresponding action - sets up yytext. | */ | #define YY_DO_BEFORE_ACTION \ | (yytext_ptr) = yy_bp; \ | (yytext_ptr) -= (yy_more_len); \ | yyleng = (int) (yy_cp - (yytext_ptr)); \ | (yy_hold_char) = *yy_cp; \ | *yy_cp = '\0'; \ | (yy_c_buf_p) = yy_cp; | #define YY_NUM_RULES 8 | #define YY_END_OF_BUFFER 9 | /* This struct is not used in this scanner, | but its presence is necessary. */ | struct yy_trans_info | { | flex_int32_t yy_verify; | flex_int32_t yy_nxt; | }; | static const flex_int16_t yy_acclist[23] = | { 0, | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8, | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6, | 7, 8 | } ; | | static const flex_int16_t yy_accept[14] = | { 0, | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17, | 20, 23, 23 | } ; | | static const YY_CHAR yy_ec[256] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6, | | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1 | } ; | | static const YY_CHAR yy_meta[9] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1 | } ; | | static const flex_int16_t yy_base[13] = | { 0, | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, | 10, 10 | } ; | | static const flex_int16_t yy_def[13] = | { 0, | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12, | 12, 0 | } ; | | static const flex_int16_t yy_nxt[19] = | { 0, | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, | 12, 12, 12, 12, 12, 12, 12, 12 | } ; | | static const flex_int16_t yy_chk[19] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12, | 12, 12, 12, 12, 12, 12, 12, 12 | } ; | | extern int yy_flex_debug; | int yy_flex_debug = 0; | | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; | static char *yy_full_match; | static int yy_lp; | #define REJECT \ | { \ | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ | ++(yy_lp); \ | goto find_rule; \ | } | | static int yy_more_flag = 0; | static int yy_more_len = 0; | #define yymore() ((yy_more_flag) = 1) | #define YY_MORE_ADJ (yy_more_len) | #define YY_RESTORE_YY_MORE_OFFSET | char *yytext; | #line 1 "conftest.l" | #line 460 "lex.yy.c" | | #define INITIAL 0 | | #ifndef YY_NO_UNISTD_H | /* Special case for "unistd.h", since it is non-ANSI. We include it way | * down here because we want the user's section 1 to have been scanned first. | * The user has a chance to override it with an option. | */ | #include | #endif | | #ifndef YY_EXTRA_TYPE | #define YY_EXTRA_TYPE void * | #endif | | static int yy_init_globals ( void ); | | /* Accessor methods to globals. | These are made visible to non-reentrant scanners for convenience. */ | | int yylex_destroy ( void ); | | int yyget_debug ( void ); | | void yyset_debug ( int debug_flag ); | | YY_EXTRA_TYPE yyget_extra ( void ); | | void yyset_extra ( YY_EXTRA_TYPE user_defined ); | | FILE *yyget_in ( void ); | | void yyset_in ( FILE * _in_str ); | | FILE *yyget_out ( void ); | | void yyset_out ( FILE * _out_str ); | | int yyget_leng ( void ); | | char *yyget_text ( void ); | | int yyget_lineno ( void ); | | void yyset_lineno ( int _line_number ); | | /* Macros after this point can all be overridden by user definitions in | * section 1. | */ | | #ifndef YY_SKIP_YYWRAP | #ifdef __cplusplus | extern "C" int yywrap ( void ); | #else | extern int yywrap ( void ); | #endif | #endif | | #ifndef YY_NO_UNPUT | | static void yyunput ( int c, char *buf_ptr ); | | #endif | | #ifndef yytext_ptr | static void yy_flex_strncpy ( char *, const char *, int ); | #endif | | #ifdef YY_NEED_STRLEN | static int yy_flex_strlen ( const char * ); | #endif | | #ifndef YY_NO_INPUT | #ifdef __cplusplus | static int yyinput ( void ); | #else | static int input ( void ); | #endif | | #endif | | /* Amount of stuff to slurp up with each read. */ | #ifndef YY_READ_BUF_SIZE | #ifdef __ia64__ | /* On IA-64, the buffer size is 16k, not 8k */ | #define YY_READ_BUF_SIZE 16384 | #else | #define YY_READ_BUF_SIZE 8192 | #endif /* __ia64__ */ | #endif | | /* Copy whatever the last rule matched to the standard output. */ | #ifndef ECHO | /* This used to be an fputs(), but since the string might contain NUL's, | * we now use fwrite(). | */ | #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) | #endif | | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, | * is returned in "result". | */ | #ifndef YY_INPUT | #define YY_INPUT(buf,result,max_size) \ | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ | { \ | int c = '*'; \ | int n; \ | for ( n = 0; n < max_size && \ | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ | buf[n] = (char) c; \ | if ( c == '\n' ) \ | buf[n++] = (char) c; \ | if ( c == EOF && ferror( yyin ) ) \ | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | result = n; \ | } \ | else \ | { \ | errno=0; \ | while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ | { \ | if( errno != EINTR) \ | { \ | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | break; \ | } \ | errno=0; \ | clearerr(yyin); \ | } \ | }\ | \ | | #endif | | /* No semi-colon after return; correct usage is to write "yyterminate();" - | * we don't want an extra ';' after the "return" because that will cause | * some compilers to complain about unreachable statements. | */ | #ifndef yyterminate | #define yyterminate() return YY_NULL | #endif | | /* Number of entries by which start-condition stack grows. */ | #ifndef YY_START_STACK_INCR | #define YY_START_STACK_INCR 25 | #endif | | /* Report a fatal error. */ | #ifndef YY_FATAL_ERROR | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) | #endif | | /* end tables serialization structures and prototypes */ | | /* Default declaration of generated scanner - a define so the user can | * easily add parameters. | */ | #ifndef YY_DECL | #define YY_DECL_IS_OURS 1 | | extern int yylex (void); | | #define YY_DECL int yylex (void) | #endif /* !YY_DECL */ | | /* Code executed at the beginning of each rule, after yytext and yyleng | * have been set up. | */ | #ifndef YY_USER_ACTION | #define YY_USER_ACTION | #endif | | /* Code executed at the end of each rule. */ | #ifndef YY_BREAK | #define YY_BREAK /*LINTED*/break; | #endif | | #define YY_RULE_SETUP \ | YY_USER_ACTION | | /** The main scanner function which does all the work. | */ | YY_DECL | { | yy_state_type yy_current_state; | char *yy_cp, *yy_bp; | int yy_act; | | if ( !(yy_init) ) | { | (yy_init) = 1; | | #ifdef YY_USER_INIT | YY_USER_INIT; | #endif | | /* Create the reject buffer large enough to save one state per allowed character. */ | if ( ! (yy_state_buf) ) | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE ); | if ( ! (yy_state_buf) ) | YY_FATAL_ERROR( "out of dynamic memory in yylex()" ); | | if ( ! (yy_start) ) | (yy_start) = 1; /* first start state */ | | if ( ! yyin ) | yyin = stdin; | | if ( ! yyout ) | yyout = stdout; | | if ( ! YY_CURRENT_BUFFER ) { | yyensure_buffer_stack (); | YY_CURRENT_BUFFER_LVALUE = | yy_create_buffer( yyin, YY_BUF_SIZE ); | } | | yy_load_buffer_state( ); | } | | { | #line 1 "conftest.l" | | #line 685 "lex.yy.c" | | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ | { | (yy_more_len) = 0; | if ( (yy_more_flag) ) | { | (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr)); | (yy_more_flag) = 0; | } | yy_cp = (yy_c_buf_p); | | /* Support of yytext. */ | *yy_cp = (yy_hold_char); | | /* yy_bp points to the position in yy_ch_buf of the start of | * the current run. | */ | yy_bp = yy_cp; | | yy_current_state = (yy_start); | | (yy_state_ptr) = (yy_state_buf); | *(yy_state_ptr)++ = yy_current_state; | | yy_match: | do | { | YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | *(yy_state_ptr)++ = yy_current_state; | ++yy_cp; | } | while ( yy_base[yy_current_state] != 10 ); | | yy_find_action: | yy_current_state = *--(yy_state_ptr); | (yy_lp) = yy_accept[yy_current_state]; | | find_rule: /* we branch to this label when backing up */ | | for ( ; ; ) /* until we find what rule we matched */ | { | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) | { | yy_act = yy_acclist[(yy_lp)]; | { | (yy_full_match) = yy_cp; | break; | } | } | --yy_cp; | yy_current_state = *--(yy_state_ptr); | (yy_lp) = yy_accept[yy_current_state]; | } | | YY_DO_BEFORE_ACTION; | | do_action: /* This label is used only to access EOF actions. */ | | switch ( yy_act ) | { /* beginning of action switch */ | case 1: | YY_RULE_SETUP | #line 2 "conftest.l" | { ECHO; } | YY_BREAK | case 2: | YY_RULE_SETUP | #line 3 "conftest.l" | { REJECT; } | YY_BREAK | case 3: | YY_RULE_SETUP | #line 4 "conftest.l" | { yymore (); } | YY_BREAK | case 4: | YY_RULE_SETUP | #line 5 "conftest.l" | { yyless (1); } | YY_BREAK | case 5: | YY_RULE_SETUP | #line 6 "conftest.l" | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ | yyless ((input () != 0)); } | YY_BREAK | case 6: | YY_RULE_SETUP | #line 8 "conftest.l" | { unput (yytext[0]); } | YY_BREAK | case 7: | YY_RULE_SETUP | #line 9 "conftest.l" | { BEGIN INITIAL; } | YY_BREAK | case 8: | YY_RULE_SETUP | #line 10 "conftest.l" | ECHO; | YY_BREAK | #line 794 "lex.yy.c" | case YY_STATE_EOF(INITIAL): | yyterminate(); | | case YY_END_OF_BUFFER: | { | /* Amount of text matched not including the EOB char. */ | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; | | /* Undo the effects of YY_DO_BEFORE_ACTION. */ | *yy_cp = (yy_hold_char); | YY_RESTORE_YY_MORE_OFFSET | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) | { | /* We're scanning a new file or input source. It's | * possible that this happened because the user | * just pointed yyin at a new source and called | * yylex(). If so, then we have to assure | * consistency between YY_CURRENT_BUFFER and our | * globals. Here is the right place to do so, because | * this is the first action (other than possibly a | * back-up) that will match for the new input source. | */ | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; | } | | /* Note that here we test for yy_c_buf_p "<=" to the position | * of the first EOB in the buffer, since yy_c_buf_p will | * already have been incremented past the NUL character | * (since all states make transitions on EOB to the | * end-of-buffer state). Contrast this with the test | * in input(). | */ | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | { /* This was really a NUL. */ | yy_state_type yy_next_state; | | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; | | yy_current_state = yy_get_previous_state( ); | | /* Okay, we're now positioned to make the NUL | * transition. We couldn't have | * yy_get_previous_state() go ahead and do it | * for us because it doesn't know how to deal | * with the possibility of jamming (and we don't | * want to build jamming into it because then it | * will run more slowly). | */ | | yy_next_state = yy_try_NUL_trans( yy_current_state ); | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | | if ( yy_next_state ) | { | /* Consume the NUL. */ | yy_cp = ++(yy_c_buf_p); | yy_current_state = yy_next_state; | goto yy_match; | } | | else | { | yy_cp = (yy_c_buf_p); | goto yy_find_action; | } | } | | else switch ( yy_get_next_buffer( ) ) | { | case EOB_ACT_END_OF_FILE: | { | (yy_did_buffer_switch_on_eof) = 0; | | if ( yywrap( ) ) | { | /* Note: because we've taken care in | * yy_get_next_buffer() to have set up | * yytext, we can now set up | * yy_c_buf_p so that if some total | * hoser (like flex itself) wants to | * call the scanner after we return the | * YY_NULL, it'll still work - another | * YY_NULL will get returned. | */ | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; | | yy_act = YY_STATE_EOF(YY_START); | goto do_action; | } | | else | { | if ( ! (yy_did_buffer_switch_on_eof) ) | YY_NEW_FILE; | } | break; | } | | case EOB_ACT_CONTINUE_SCAN: | (yy_c_buf_p) = | (yytext_ptr) + yy_amount_of_matched_text; | | yy_current_state = yy_get_previous_state( ); | | yy_cp = (yy_c_buf_p); | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | goto yy_match; | | case EOB_ACT_LAST_MATCH: | (yy_c_buf_p) = | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; | | yy_current_state = yy_get_previous_state( ); | | yy_cp = (yy_c_buf_p); | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | goto yy_find_action; | } | break; | } | | default: | YY_FATAL_ERROR( | "fatal flex scanner internal error--no action found" ); | } /* end of action switch */ | } /* end of scanning one token */ | } /* end of user's declarations */ | } /* end of yylex */ | | /* yy_get_next_buffer - try to read in a new buffer | * | * Returns a code representing an action: | * EOB_ACT_LAST_MATCH - | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position | * EOB_ACT_END_OF_FILE - end of file | */ | static int yy_get_next_buffer (void) | { | char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; | char *source = (yytext_ptr); | int number_to_move, i; | int ret_val; | | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) | YY_FATAL_ERROR( | "fatal flex scanner internal error--end of buffer missed" ); | | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) | { /* Don't try to fill the buffer, so this is an EOF. */ | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) | { | /* We matched a single character, the EOB, so | * treat this as a final EOF. | */ | return EOB_ACT_END_OF_FILE; | } | | else | { | /* We matched some text prior to the EOB, first | * process it. | */ | return EOB_ACT_LAST_MATCH; | } | } | | /* Try to read more data. */ | | /* First move last chars to start of buffer. */ | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1); | | for ( i = 0; i < number_to_move; ++i ) | *(dest++) = *(source++); | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) | /* don't do the read, it's not guaranteed to return an EOF, | * just force an EOF | */ | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; | | else | { | int num_to_read = | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; | | while ( num_to_read <= 0 ) | { /* Not enough room in the buffer - grow it. */ | | YY_FATAL_ERROR( | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); | | } | | if ( num_to_read > YY_READ_BUF_SIZE ) | num_to_read = YY_READ_BUF_SIZE; | | /* Read in more data. */ | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), | (yy_n_chars), num_to_read ); | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | if ( (yy_n_chars) == 0 ) | { | if ( number_to_move == YY_MORE_ADJ ) | { | ret_val = EOB_ACT_END_OF_FILE; | yyrestart( yyin ); | } | | else | { | ret_val = EOB_ACT_LAST_MATCH; | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = | YY_BUFFER_EOF_PENDING; | } | } | | else | ret_val = EOB_ACT_CONTINUE_SCAN; | | if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | /* Extend the array by 50%, plus the number we really need. */ | int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc( | (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size ); | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); | /* "- 2" to take care of EOB's */ | YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); | } | | (yy_n_chars) += number_to_move; | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; | | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; | | return ret_val; | } | | /* yy_get_previous_state - get the state just before the EOB char was reached */ | | static yy_state_type yy_get_previous_state (void) | { | yy_state_type yy_current_state; | char *yy_cp; | | yy_current_state = (yy_start); | | (yy_state_ptr) = (yy_state_buf); | *(yy_state_ptr)++ = yy_current_state; | | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) | { | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | *(yy_state_ptr)++ = yy_current_state; | } | | return yy_current_state; | } | | /* yy_try_NUL_trans - try to make a transition on the NUL character | * | * synopsis | * next_state = yy_try_NUL_trans( current_state ); | */ | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) | { | int yy_is_jam; | | YY_CHAR yy_c = 1; | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | yy_is_jam = (yy_current_state == 12); | if ( ! yy_is_jam ) | *(yy_state_ptr)++ = yy_current_state; | | return yy_is_jam ? 0 : yy_current_state; | } | | #ifndef YY_NO_UNPUT | | static void yyunput (int c, char * yy_bp ) | { | char *yy_cp; | | yy_cp = (yy_c_buf_p); | | /* undo effects of setting up yytext */ | *yy_cp = (yy_hold_char); | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | { /* need to shift things up to make room */ | /* +2 for EOB chars. */ | int number_to_move = (yy_n_chars) + 2; | char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; | char *source = | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; | | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | *--dest = *--source; | | yy_cp += (int) (dest - source); | yy_bp += (int) (dest - source); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = | (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size; | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | YY_FATAL_ERROR( "flex scanner push-back overflow" ); | } | | *--yy_cp = (char) c; | | (yytext_ptr) = yy_bp; | (yy_hold_char) = *yy_cp; | (yy_c_buf_p) = yy_cp; | } | | #endif | | #ifndef YY_NO_INPUT | #ifdef __cplusplus | static int yyinput (void) | #else | static int input (void) | #endif | | { | int c; | | *(yy_c_buf_p) = (yy_hold_char); | | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) | { | /* yy_c_buf_p now points to the character we want to return. | * If this occurs *before* the EOB characters, then it's a | * valid NUL; if not, then we've hit the end of the buffer. | */ | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | /* This was really a NUL. */ | *(yy_c_buf_p) = '\0'; | | else | { /* need more input */ | int offset = (int) ((yy_c_buf_p) - (yytext_ptr)); | ++(yy_c_buf_p); | | switch ( yy_get_next_buffer( ) ) | { | case EOB_ACT_LAST_MATCH: | /* This happens because yy_g_n_b() | * sees that we've accumulated a | * token and flags that we need to | * try matching the token before | * proceeding. But for input(), | * there's no matching to consider. | * So convert the EOB_ACT_LAST_MATCH | * to EOB_ACT_END_OF_FILE. | */ | | /* Reset buffer status. */ | yyrestart( yyin ); | | /*FALLTHROUGH*/ | | case EOB_ACT_END_OF_FILE: | { | if ( yywrap( ) ) | return 0; | | if ( ! (yy_did_buffer_switch_on_eof) ) | YY_NEW_FILE; | #ifdef __cplusplus | return yyinput(); | #else | return input(); | #endif | } | | case EOB_ACT_CONTINUE_SCAN: | (yy_c_buf_p) = (yytext_ptr) + offset; | break; | } | } | } | | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ | *(yy_c_buf_p) = '\0'; /* preserve yytext */ | (yy_hold_char) = *++(yy_c_buf_p); | | return c; | } | #endif /* ifndef YY_NO_INPUT */ | | /** Immediately switch to a different input stream. | * @param input_file A readable stream. | * | * @note This function does not reset the start condition to @c INITIAL . | */ | void yyrestart (FILE * input_file ) | { | | if ( ! YY_CURRENT_BUFFER ){ | yyensure_buffer_stack (); | YY_CURRENT_BUFFER_LVALUE = | yy_create_buffer( yyin, YY_BUF_SIZE ); | } | | yy_init_buffer( YY_CURRENT_BUFFER, input_file ); | yy_load_buffer_state( ); | } | | /** Switch to a different input buffer. | * @param new_buffer The new input buffer. | * | */ | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) | { | | /* TODO. We should be able to replace this entire function body | * with | * yypop_buffer_state(); | * yypush_buffer_state(new_buffer); | */ | yyensure_buffer_stack (); | if ( YY_CURRENT_BUFFER == new_buffer ) | return; | | if ( YY_CURRENT_BUFFER ) | { | /* Flush out information for old buffer. */ | *(yy_c_buf_p) = (yy_hold_char); | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | YY_CURRENT_BUFFER_LVALUE = new_buffer; | yy_load_buffer_state( ); | | /* We don't actually know whether we did this switch during | * EOF (yywrap()) processing, but the only time this flag | * is looked at is after yywrap() is called, so it's safe | * to go ahead and always set it. | */ | (yy_did_buffer_switch_on_eof) = 1; | } | | static void yy_load_buffer_state (void) | { | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; | (yy_hold_char) = *(yy_c_buf_p); | } | | /** Allocate and initialize an input buffer state. | * @param file A readable stream. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. | * | * @return the allocated buffer state. | */ | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) | { | YY_BUFFER_STATE b; | | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); | if ( ! b ) | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | b->yy_buf_size = size; | | /* yy_ch_buf has to be 2 characters longer than the size given because | * we need to put in 2 end-of-buffer characters. | */ | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) ); | if ( ! b->yy_ch_buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | b->yy_is_our_buffer = 1; | | yy_init_buffer( b, file ); | | return b; | } | | /** Destroy the buffer. | * @param b a buffer created with yy_create_buffer() | * | */ | void yy_delete_buffer (YY_BUFFER_STATE b ) | { | | if ( ! b ) | return; | | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; | | if ( b->yy_is_our_buffer ) | yyfree( (void *) b->yy_ch_buf ); | | yyfree( (void *) b ); | } | | /* Initializes or reinitializes a buffer. | * This function is sometimes called more than once on the same buffer, | * such as during a yyrestart() or at EOF. | */ | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) | | { | int oerrno = errno; | | yy_flush_buffer( b ); | | b->yy_input_file = file; | b->yy_fill_buffer = 1; | | /* If b is the current buffer, then yy_init_buffer was _probably_ | * called from yyrestart() or through yy_get_next_buffer. | * In that case, we don't want to reset the lineno or column. | */ | if (b != YY_CURRENT_BUFFER){ | b->yy_bs_lineno = 1; | b->yy_bs_column = 0; | } | | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; | | errno = oerrno; | } | | /** Discard all buffered characters. On the next scan, YY_INPUT will be called. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. | * | */ | void yy_flush_buffer (YY_BUFFER_STATE b ) | { | if ( ! b ) | return; | | b->yy_n_chars = 0; | | /* We always need two end-of-buffer characters. The first causes | * a transition to the end-of-buffer state. The second causes | * a jam in that state. | */ | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; | | b->yy_buf_pos = &b->yy_ch_buf[0]; | | b->yy_at_bol = 1; | b->yy_buffer_status = YY_BUFFER_NEW; | | if ( b == YY_CURRENT_BUFFER ) | yy_load_buffer_state( ); | } | | /** Pushes the new state onto the stack. The new state becomes | * the current state. This function will allocate the stack | * if necessary. | * @param new_buffer The new state. | * | */ | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) | { | if (new_buffer == NULL) | return; | | yyensure_buffer_stack(); | | /* This block is copied from yy_switch_to_buffer. */ | if ( YY_CURRENT_BUFFER ) | { | /* Flush out information for old buffer. */ | *(yy_c_buf_p) = (yy_hold_char); | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | /* Only push if top exists. Otherwise, replace top. */ | if (YY_CURRENT_BUFFER) | (yy_buffer_stack_top)++; | YY_CURRENT_BUFFER_LVALUE = new_buffer; | | /* copied from yy_switch_to_buffer. */ | yy_load_buffer_state( ); | (yy_did_buffer_switch_on_eof) = 1; | } | | /** Removes and deletes the top of the stack, if present. | * The next element becomes the new top. | * | */ | void yypop_buffer_state (void) | { | if (!YY_CURRENT_BUFFER) | return; | | yy_delete_buffer(YY_CURRENT_BUFFER ); | YY_CURRENT_BUFFER_LVALUE = NULL; | if ((yy_buffer_stack_top) > 0) | --(yy_buffer_stack_top); | | if (YY_CURRENT_BUFFER) { | yy_load_buffer_state( ); | (yy_did_buffer_switch_on_eof) = 1; | } | } | | /* Allocates the stack if it does not exist. | * Guarantees space for at least one push. | */ | static void yyensure_buffer_stack (void) | { | yy_size_t num_to_alloc; | | if (!(yy_buffer_stack)) { | | /* First allocation is just for 2 elements, since we don't know if this | * scanner will even need a stack. We use 2 instead of 1 to avoid an | * immediate realloc on the next call. | */ | num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc | (num_to_alloc * sizeof(struct yy_buffer_state*) | ); | if ( ! (yy_buffer_stack) ) | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); | | (yy_buffer_stack_max) = num_to_alloc; | (yy_buffer_stack_top) = 0; | return; | } | | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ | | /* Increase the buffer to prepare for a possible push. */ | yy_size_t grow_size = 8 /* arbitrary grow size */; | | num_to_alloc = (yy_buffer_stack_max) + grow_size; | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc | ((yy_buffer_stack), | num_to_alloc * sizeof(struct yy_buffer_state*) | ); | if ( ! (yy_buffer_stack) ) | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | /* zero only the new slots.*/ | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); | (yy_buffer_stack_max) = num_to_alloc; | } | } | | /** Setup the input buffer state to scan directly from a user-specified character buffer. | * @param base the character buffer | * @param size the size in bytes of the character buffer | * | * @return the newly allocated buffer state object. | */ | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) | { | YY_BUFFER_STATE b; | | if ( size < 2 || | base[size-2] != YY_END_OF_BUFFER_CHAR || | base[size-1] != YY_END_OF_BUFFER_CHAR ) | /* They forgot to leave room for the EOB's. */ | return NULL; | | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); | if ( ! b ) | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); | | b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ | b->yy_buf_pos = b->yy_ch_buf = base; | b->yy_is_our_buffer = 0; | b->yy_input_file = NULL; | b->yy_n_chars = b->yy_buf_size; | b->yy_is_interactive = 0; | b->yy_at_bol = 1; | b->yy_fill_buffer = 0; | b->yy_buffer_status = YY_BUFFER_NEW; | | yy_switch_to_buffer( b ); | | return b; | } | | /** Setup the input buffer state to scan a string. The next call to yylex() will | * scan from a @e copy of @a str. | * @param yystr a NUL-terminated string to scan | * | * @return the newly allocated buffer state object. | * @note If you want to scan bytes that may contain NUL values, then use | * yy_scan_bytes() instead. | */ | YY_BUFFER_STATE yy_scan_string (const char * yystr ) | { | | return yy_scan_bytes( yystr, (int) strlen(yystr) ); | } | | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will | * scan from a @e copy of @a bytes. | * @param yybytes the byte buffer to scan | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. | * | * @return the newly allocated buffer state object. | */ | YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len ) | { | YY_BUFFER_STATE b; | char *buf; | yy_size_t n; | int i; | | /* Get memory for full buffer, including space for trailing EOB's. */ | n = (yy_size_t) (_yybytes_len + 2); | buf = (char *) yyalloc( n ); | if ( ! buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); | | for ( i = 0; i < _yybytes_len; ++i ) | buf[i] = yybytes[i]; | | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; | | b = yy_scan_buffer( buf, n ); | if ( ! b ) | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); | | /* It's okay to grow etc. this buffer, and we should throw it | * away when we're done. | */ | b->yy_is_our_buffer = 1; | | return b; | } | | #ifndef YY_EXIT_FAILURE | #define YY_EXIT_FAILURE 2 | #endif | | static void yynoreturn yy_fatal_error (const char* msg ) | { | fprintf( stderr, "%s\n", msg ); | exit( YY_EXIT_FAILURE ); | } | | /* Redefine yyless() so it works in section 3 code. */ | | #undef yyless | #define yyless(n) \ | do \ | { \ | /* Undo effects of setting up yytext. */ \ | int yyless_macro_arg = (n); \ | YY_LESS_LINENO(yyless_macro_arg);\ | yytext[yyleng] = (yy_hold_char); \ | (yy_c_buf_p) = yytext + yyless_macro_arg; \ | (yy_hold_char) = *(yy_c_buf_p); \ | *(yy_c_buf_p) = '\0'; \ | yyleng = yyless_macro_arg; \ | } \ | while ( 0 ) | | /* Accessor methods (get/set functions) to struct members. */ | | /** Get the current line number. | * | */ | int yyget_lineno (void) | { | | return yylineno; | } | | /** Get the input stream. | * | */ | FILE *yyget_in (void) | { | return yyin; | } | | /** Get the output stream. | * | */ | FILE *yyget_out (void) | { | return yyout; | } | | /** Get the length of the current token. | * | */ | int yyget_leng (void) | { | return yyleng; | } | | /** Get the current token. | * | */ | | char *yyget_text (void) | { | return yytext; | } | | /** Set the current line number. | * @param _line_number line number | * | */ | void yyset_lineno (int _line_number ) | { | | yylineno = _line_number; | } | | /** Set the input stream. This does not discard the current | * input buffer. | * @param _in_str A readable stream. | * | * @see yy_switch_to_buffer | */ | void yyset_in (FILE * _in_str ) | { | yyin = _in_str ; | } | | void yyset_out (FILE * _out_str ) | { | yyout = _out_str ; | } | | int yyget_debug (void) | { | return yy_flex_debug; | } | | void yyset_debug (int _bdebug ) | { | yy_flex_debug = _bdebug ; | } | | static int yy_init_globals (void) | { | /* Initialization is the same as for the non-reentrant scanner. | * This function is called from yylex_destroy(), so don't allocate here. | */ | | (yy_buffer_stack) = NULL; | (yy_buffer_stack_top) = 0; | (yy_buffer_stack_max) = 0; | (yy_c_buf_p) = NULL; | (yy_init) = 0; | (yy_start) = 0; | | (yy_state_buf) = 0; | (yy_state_ptr) = 0; | (yy_full_match) = 0; | (yy_lp) = 0; | | /* Defined in main.c */ | #ifdef YY_STDINIT | yyin = stdin; | yyout = stdout; | #else | yyin = NULL; | yyout = NULL; | #endif | | /* For future reference: Set errno on error, since we are called by | * yylex_init() | */ | return 0; | } | | /* yylex_destroy is for both reentrant and non-reentrant scanners. */ | int yylex_destroy (void) | { | | /* Pop the buffer stack, destroying each element. */ | while(YY_CURRENT_BUFFER){ | yy_delete_buffer( YY_CURRENT_BUFFER ); | YY_CURRENT_BUFFER_LVALUE = NULL; | yypop_buffer_state(); | } | | /* Destroy the stack itself. */ | yyfree((yy_buffer_stack) ); | (yy_buffer_stack) = NULL; | | yyfree ( (yy_state_buf) ); | (yy_state_buf) = NULL; | | /* Reset the globals. This is important in a non-reentrant scanner so the next time | * yylex() is called, initialization will occur. */ | yy_init_globals( ); | | return 0; | } | | /* | * Internal utility routines. | */ | | #ifndef yytext_ptr | static void yy_flex_strncpy (char* s1, const char * s2, int n ) | { | | int i; | for ( i = 0; i < n; ++i ) | s1[i] = s2[i]; | } | #endif | | #ifdef YY_NEED_STRLEN | static int yy_flex_strlen (const char * s ) | { | int n; | for ( n = 0; s[n]; ++n ) | ; | | return n; | } | #endif | | void *yyalloc (yy_size_t size ) | { | return malloc(size); | } | | void *yyrealloc (void * ptr, yy_size_t size ) | { | | /* The cast to (char *) in the following accommodates both | * implementations that use char* generic pointers, and those | * that use void* generic pointers. It works with the latter | * because both ANSI C and C++ allow castless assignment from | * any pointer type to void*, and deal with argument conversions | * as though doing an assignment. | */ | return realloc(ptr, size); | } | | void yyfree (void * ptr ) | { | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ | } | | #define YYTABLES_NAME "yytables" | | #line 10 "conftest.l" | | #ifdef YYTEXT_POINTER | extern char *yytext; | #endif | int | main (void) | { | return ! yylex () + ! yywrap (); | } configure:4444: result: none needed configure:4450: checking whether yytext is a pointer configure:4467: gcc -o conftest -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -Wl,-z,now conftest.c >&5 lex.yy.c: In function 'yy_scan_buffer': lex.yy.c:1490:24: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5 1490 | b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccJQXOGB.ltrans0.ltrans.o: in function `main': ./lex.yy.c:1180: undefined reference to `yywrap' /usr/bin/ld: /tmp/ccJQXOGB.ltrans0.ltrans.o: in function `main': ./conftest.l:17: undefined reference to `yywrap' /usr/bin/ld: /tmp/ccJQXOGB.ltrans0.ltrans.o: in function `main': ./lex.yy.c:871: undefined reference to `yywrap' collect2: error: ld returned 1 exit status configure:4467: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "esmtp" | #define PACKAGE_TARNAME "esmtp" | #define PACKAGE_VERSION "1.2" | #define PACKAGE_STRING "esmtp 1.2" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "esmtp" | #define VERSION "1.2" | #define STDC_HEADERS 1 | /* end confdefs.h. */ | | #define YYTEXT_POINTER 1 | | #line 3 "lex.yy.c" | | #define YY_INT_ALIGNED short int | | /* A lexical scanner generated by flex */ | | #define FLEX_SCANNER | #define YY_FLEX_MAJOR_VERSION 2 | #define YY_FLEX_MINOR_VERSION 6 | #define YY_FLEX_SUBMINOR_VERSION 4 | #if YY_FLEX_SUBMINOR_VERSION > 0 | #define FLEX_BETA | #endif | | /* First, we deal with platform-specific or compiler-specific issues. */ | | /* begin standard C headers. */ | #include | #include | #include | #include | | /* end standard C headers. */ | | /* flex integer type definitions */ | | #ifndef FLEXINT_H | #define FLEXINT_H | | /* C99 systems have . Non-C99 systems may or may not. */ | | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, | * if you want the limit (max/min) macros for int types. | */ | #ifndef __STDC_LIMIT_MACROS | #define __STDC_LIMIT_MACROS 1 | #endif | | #include | typedef int8_t flex_int8_t; | typedef uint8_t flex_uint8_t; | typedef int16_t flex_int16_t; | typedef uint16_t flex_uint16_t; | typedef int32_t flex_int32_t; | typedef uint32_t flex_uint32_t; | #else | typedef signed char flex_int8_t; | typedef short int flex_int16_t; | typedef int flex_int32_t; | typedef unsigned char flex_uint8_t; | typedef unsigned short int flex_uint16_t; | typedef unsigned int flex_uint32_t; | | /* Limits of integral types. */ | #ifndef INT8_MIN | #define INT8_MIN (-128) | #endif | #ifndef INT16_MIN | #define INT16_MIN (-32767-1) | #endif | #ifndef INT32_MIN | #define INT32_MIN (-2147483647-1) | #endif | #ifndef INT8_MAX | #define INT8_MAX (127) | #endif | #ifndef INT16_MAX | #define INT16_MAX (32767) | #endif | #ifndef INT32_MAX | #define INT32_MAX (2147483647) | #endif | #ifndef UINT8_MAX | #define UINT8_MAX (255U) | #endif | #ifndef UINT16_MAX | #define UINT16_MAX (65535U) | #endif | #ifndef UINT32_MAX | #define UINT32_MAX (4294967295U) | #endif | | #ifndef SIZE_MAX | #define SIZE_MAX (~(size_t)0) | #endif | | #endif /* ! C99 */ | | #endif /* ! FLEXINT_H */ | | /* begin standard C++ headers. */ | | /* TODO: this is always defined, so inline it */ | #define yyconst const | | #if defined(__GNUC__) && __GNUC__ >= 3 | #define yynoreturn __attribute__((__noreturn__)) | #else | #define yynoreturn | #endif | | /* Returned upon end-of-file. */ | #define YY_NULL 0 | | /* Promotes a possibly negative, possibly signed char to an | * integer in range [0..255] for use as an array index. | */ | #define YY_SC_TO_UI(c) ((YY_CHAR) (c)) | | /* Enter a start condition. This macro really ought to take a parameter, | * but we do it the disgusting crufty way forced on us by the ()-less | * definition of BEGIN. | */ | #define BEGIN (yy_start) = 1 + 2 * | /* Translate the current start state into a value that can be later handed | * to BEGIN to return to the state. The YYSTATE alias is for lex | * compatibility. | */ | #define YY_START (((yy_start) - 1) / 2) | #define YYSTATE YY_START | /* Action number for EOF rule of a given start state. */ | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) | /* Special action meaning "start processing a new file". */ | #define YY_NEW_FILE yyrestart( yyin ) | #define YY_END_OF_BUFFER_CHAR 0 | | /* Size of default input buffer. */ | #ifndef YY_BUF_SIZE | #ifdef __ia64__ | /* On IA-64, the buffer size is 16k, not 8k. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. | * Ditto for the __ia64__ case accordingly. | */ | #define YY_BUF_SIZE 32768 | #else | #define YY_BUF_SIZE 16384 | #endif /* __ia64__ */ | #endif | | /* The state buf must be large enough to hold one state per character in the main buffer. | */ | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) | | #ifndef YY_TYPEDEF_YY_BUFFER_STATE | #define YY_TYPEDEF_YY_BUFFER_STATE | typedef struct yy_buffer_state *YY_BUFFER_STATE; | #endif | | #ifndef YY_TYPEDEF_YY_SIZE_T | #define YY_TYPEDEF_YY_SIZE_T | typedef size_t yy_size_t; | #endif | | extern int yyleng; | | extern FILE *yyin, *yyout; | | #define EOB_ACT_CONTINUE_SCAN 0 | #define EOB_ACT_END_OF_FILE 1 | #define EOB_ACT_LAST_MATCH 2 | | #define YY_LESS_LINENO(n) | #define YY_LINENO_REWIND_TO(ptr) | | /* Return all but the first "n" matched characters back to the input stream. */ | #define yyless(n) \ | do \ | { \ | /* Undo effects of setting up yytext. */ \ | int yyless_macro_arg = (n); \ | YY_LESS_LINENO(yyless_macro_arg);\ | *yy_cp = (yy_hold_char); \ | YY_RESTORE_YY_MORE_OFFSET \ | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ | YY_DO_BEFORE_ACTION; /* set up yytext again */ \ | } \ | while ( 0 ) | #define unput(c) yyunput( c, (yytext_ptr) ) | | #ifndef YY_STRUCT_YY_BUFFER_STATE | #define YY_STRUCT_YY_BUFFER_STATE | struct yy_buffer_state | { | FILE *yy_input_file; | | char *yy_ch_buf; /* input buffer */ | char *yy_buf_pos; /* current position in input buffer */ | | /* Size of input buffer in bytes, not including room for EOB | * characters. | */ | int yy_buf_size; | | /* Number of characters read into yy_ch_buf, not including EOB | * characters. | */ | int yy_n_chars; | | /* Whether we "own" the buffer - i.e., we know we created it, | * and can realloc() it to grow it, and should free() it to | * delete it. | */ | int yy_is_our_buffer; | | /* Whether this is an "interactive" input source; if so, and | * if we're using stdio for input, then we want to use getc() | * instead of fread(), to make sure we stop fetching input after | * each newline. | */ | int yy_is_interactive; | | /* Whether we're considered to be at the beginning of a line. | * If so, '^' rules will be active on the next match, otherwise | * not. | */ | int yy_at_bol; | | int yy_bs_lineno; /**< The line count. */ | int yy_bs_column; /**< The column count. */ | | /* Whether to try to fill the input buffer when we reach the | * end of it. | */ | int yy_fill_buffer; | | int yy_buffer_status; | | #define YY_BUFFER_NEW 0 | #define YY_BUFFER_NORMAL 1 | /* When an EOF's been seen but there's still some text to process | * then we mark the buffer as YY_EOF_PENDING, to indicate that we | * shouldn't try reading from the input source any more. We might | * still have a bunch of tokens to match, though, because of | * possible backing-up. | * | * When we actually see the EOF, we change the status to "new" | * (via yyrestart()), so that the user can continue scanning by | * just pointing yyin at a new input file. | */ | #define YY_BUFFER_EOF_PENDING 2 | | }; | #endif /* !YY_STRUCT_YY_BUFFER_STATE */ | | /* Stack of input buffers. */ | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ | static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */ | | /* We provide macros for accessing buffer states in case in the | * future we want to put the buffer states in a more general | * "scanner state". | * | * Returns the top of the stack, or NULL. | */ | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ | : NULL) | /* Same as previous macro, but useful when we know that the buffer stack is not | * NULL or when we need an lvalue. For internal use only. | */ | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] | | /* yy_hold_char holds the character lost when yytext is formed. */ | static char yy_hold_char; | static int yy_n_chars; /* number of characters read into yy_ch_buf */ | int yyleng; | | /* Points to current character in buffer. */ | static char *yy_c_buf_p = NULL; | static int yy_init = 0; /* whether we need to initialize */ | static int yy_start = 0; /* start state number */ | | /* Flag which is used to allow yywrap()'s to do buffer switches | * instead of setting up a fresh yyin. A bit of a hack ... | */ | static int yy_did_buffer_switch_on_eof; | | void yyrestart ( FILE *input_file ); | void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer ); | YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size ); | void yy_delete_buffer ( YY_BUFFER_STATE b ); | void yy_flush_buffer ( YY_BUFFER_STATE b ); | void yypush_buffer_state ( YY_BUFFER_STATE new_buffer ); | void yypop_buffer_state ( void ); | | static void yyensure_buffer_stack ( void ); | static void yy_load_buffer_state ( void ); | static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file ); | #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) | | YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size ); | YY_BUFFER_STATE yy_scan_string ( const char *yy_str ); | YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len ); | | void *yyalloc ( yy_size_t ); | void *yyrealloc ( void *, yy_size_t ); | void yyfree ( void * ); | | #define yy_new_buffer yy_create_buffer | #define yy_set_interactive(is_interactive) \ | { \ | if ( ! YY_CURRENT_BUFFER ){ \ | yyensure_buffer_stack (); \ | YY_CURRENT_BUFFER_LVALUE = \ | yy_create_buffer( yyin, YY_BUF_SIZE ); \ | } \ | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ | } | #define yy_set_bol(at_bol) \ | { \ | if ( ! YY_CURRENT_BUFFER ){\ | yyensure_buffer_stack (); \ | YY_CURRENT_BUFFER_LVALUE = \ | yy_create_buffer( yyin, YY_BUF_SIZE ); \ | } \ | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ | } | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) | | /* Begin user sect3 */ | typedef flex_uint8_t YY_CHAR; | | FILE *yyin = NULL, *yyout = NULL; | | typedef int yy_state_type; | | extern int yylineno; | int yylineno = 1; | | extern char *yytext; | #ifdef yytext_ptr | #undef yytext_ptr | #endif | #define yytext_ptr yytext | | static yy_state_type yy_get_previous_state ( void ); | static yy_state_type yy_try_NUL_trans ( yy_state_type current_state ); | static int yy_get_next_buffer ( void ); | static void yynoreturn yy_fatal_error ( const char* msg ); | | /* Done after the current pattern has been matched and before the | * corresponding action - sets up yytext. | */ | #define YY_DO_BEFORE_ACTION \ | (yytext_ptr) = yy_bp; \ | (yytext_ptr) -= (yy_more_len); \ | yyleng = (int) (yy_cp - (yytext_ptr)); \ | (yy_hold_char) = *yy_cp; \ | *yy_cp = '\0'; \ | (yy_c_buf_p) = yy_cp; | #define YY_NUM_RULES 8 | #define YY_END_OF_BUFFER 9 | /* This struct is not used in this scanner, | but its presence is necessary. */ | struct yy_trans_info | { | flex_int32_t yy_verify; | flex_int32_t yy_nxt; | }; | static const flex_int16_t yy_acclist[23] = | { 0, | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8, | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6, | 7, 8 | } ; | | static const flex_int16_t yy_accept[14] = | { 0, | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17, | 20, 23, 23 | } ; | | static const YY_CHAR yy_ec[256] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6, | | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | 1, 1, 1, 1, 1 | } ; | | static const YY_CHAR yy_meta[9] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1 | } ; | | static const flex_int16_t yy_base[13] = | { 0, | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, | 10, 10 | } ; | | static const flex_int16_t yy_def[13] = | { 0, | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12, | 12, 0 | } ; | | static const flex_int16_t yy_nxt[19] = | { 0, | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, | 12, 12, 12, 12, 12, 12, 12, 12 | } ; | | static const flex_int16_t yy_chk[19] = | { 0, | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12, | 12, 12, 12, 12, 12, 12, 12, 12 | } ; | | extern int yy_flex_debug; | int yy_flex_debug = 0; | | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; | static char *yy_full_match; | static int yy_lp; | #define REJECT \ | { \ | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ | ++(yy_lp); \ | goto find_rule; \ | } | | static int yy_more_flag = 0; | static int yy_more_len = 0; | #define yymore() ((yy_more_flag) = 1) | #define YY_MORE_ADJ (yy_more_len) | #define YY_RESTORE_YY_MORE_OFFSET | char *yytext; | #line 1 "conftest.l" | #line 460 "lex.yy.c" | | #define INITIAL 0 | | #ifndef YY_NO_UNISTD_H | /* Special case for "unistd.h", since it is non-ANSI. We include it way | * down here because we want the user's section 1 to have been scanned first. | * The user has a chance to override it with an option. | */ | #include | #endif | | #ifndef YY_EXTRA_TYPE | #define YY_EXTRA_TYPE void * | #endif | | static int yy_init_globals ( void ); | | /* Accessor methods to globals. | These are made visible to non-reentrant scanners for convenience. */ | | int yylex_destroy ( void ); | | int yyget_debug ( void ); | | void yyset_debug ( int debug_flag ); | | YY_EXTRA_TYPE yyget_extra ( void ); | | void yyset_extra ( YY_EXTRA_TYPE user_defined ); | | FILE *yyget_in ( void ); | | void yyset_in ( FILE * _in_str ); | | FILE *yyget_out ( void ); | | void yyset_out ( FILE * _out_str ); | | int yyget_leng ( void ); | | char *yyget_text ( void ); | | int yyget_lineno ( void ); | | void yyset_lineno ( int _line_number ); | | /* Macros after this point can all be overridden by user definitions in | * section 1. | */ | | #ifndef YY_SKIP_YYWRAP | #ifdef __cplusplus | extern "C" int yywrap ( void ); | #else | extern int yywrap ( void ); | #endif | #endif | | #ifndef YY_NO_UNPUT | | static void yyunput ( int c, char *buf_ptr ); | | #endif | | #ifndef yytext_ptr | static void yy_flex_strncpy ( char *, const char *, int ); | #endif | | #ifdef YY_NEED_STRLEN | static int yy_flex_strlen ( const char * ); | #endif | | #ifndef YY_NO_INPUT | #ifdef __cplusplus | static int yyinput ( void ); | #else | static int input ( void ); | #endif | | #endif | | /* Amount of stuff to slurp up with each read. */ | #ifndef YY_READ_BUF_SIZE | #ifdef __ia64__ | /* On IA-64, the buffer size is 16k, not 8k */ | #define YY_READ_BUF_SIZE 16384 | #else | #define YY_READ_BUF_SIZE 8192 | #endif /* __ia64__ */ | #endif | | /* Copy whatever the last rule matched to the standard output. */ | #ifndef ECHO | /* This used to be an fputs(), but since the string might contain NUL's, | * we now use fwrite(). | */ | #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) | #endif | | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, | * is returned in "result". | */ | #ifndef YY_INPUT | #define YY_INPUT(buf,result,max_size) \ | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ | { \ | int c = '*'; \ | int n; \ | for ( n = 0; n < max_size && \ | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ | buf[n] = (char) c; \ | if ( c == '\n' ) \ | buf[n++] = (char) c; \ | if ( c == EOF && ferror( yyin ) ) \ | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | result = n; \ | } \ | else \ | { \ | errno=0; \ | while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ | { \ | if( errno != EINTR) \ | { \ | YY_FATAL_ERROR( "input in flex scanner failed" ); \ | break; \ | } \ | errno=0; \ | clearerr(yyin); \ | } \ | }\ | \ | | #endif | | /* No semi-colon after return; correct usage is to write "yyterminate();" - | * we don't want an extra ';' after the "return" because that will cause | * some compilers to complain about unreachable statements. | */ | #ifndef yyterminate | #define yyterminate() return YY_NULL | #endif | | /* Number of entries by which start-condition stack grows. */ | #ifndef YY_START_STACK_INCR | #define YY_START_STACK_INCR 25 | #endif | | /* Report a fatal error. */ | #ifndef YY_FATAL_ERROR | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) | #endif | | /* end tables serialization structures and prototypes */ | | /* Default declaration of generated scanner - a define so the user can | * easily add parameters. | */ | #ifndef YY_DECL | #define YY_DECL_IS_OURS 1 | | extern int yylex (void); | | #define YY_DECL int yylex (void) | #endif /* !YY_DECL */ | | /* Code executed at the beginning of each rule, after yytext and yyleng | * have been set up. | */ | #ifndef YY_USER_ACTION | #define YY_USER_ACTION | #endif | | /* Code executed at the end of each rule. */ | #ifndef YY_BREAK | #define YY_BREAK /*LINTED*/break; | #endif | | #define YY_RULE_SETUP \ | YY_USER_ACTION | | /** The main scanner function which does all the work. | */ | YY_DECL | { | yy_state_type yy_current_state; | char *yy_cp, *yy_bp; | int yy_act; | | if ( !(yy_init) ) | { | (yy_init) = 1; | | #ifdef YY_USER_INIT | YY_USER_INIT; | #endif | | /* Create the reject buffer large enough to save one state per allowed character. */ | if ( ! (yy_state_buf) ) | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE ); | if ( ! (yy_state_buf) ) | YY_FATAL_ERROR( "out of dynamic memory in yylex()" ); | | if ( ! (yy_start) ) | (yy_start) = 1; /* first start state */ | | if ( ! yyin ) | yyin = stdin; | | if ( ! yyout ) | yyout = stdout; | | if ( ! YY_CURRENT_BUFFER ) { | yyensure_buffer_stack (); | YY_CURRENT_BUFFER_LVALUE = | yy_create_buffer( yyin, YY_BUF_SIZE ); | } | | yy_load_buffer_state( ); | } | | { | #line 1 "conftest.l" | | #line 685 "lex.yy.c" | | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ | { | (yy_more_len) = 0; | if ( (yy_more_flag) ) | { | (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr)); | (yy_more_flag) = 0; | } | yy_cp = (yy_c_buf_p); | | /* Support of yytext. */ | *yy_cp = (yy_hold_char); | | /* yy_bp points to the position in yy_ch_buf of the start of | * the current run. | */ | yy_bp = yy_cp; | | yy_current_state = (yy_start); | | (yy_state_ptr) = (yy_state_buf); | *(yy_state_ptr)++ = yy_current_state; | | yy_match: | do | { | YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | *(yy_state_ptr)++ = yy_current_state; | ++yy_cp; | } | while ( yy_base[yy_current_state] != 10 ); | | yy_find_action: | yy_current_state = *--(yy_state_ptr); | (yy_lp) = yy_accept[yy_current_state]; | | find_rule: /* we branch to this label when backing up */ | | for ( ; ; ) /* until we find what rule we matched */ | { | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) | { | yy_act = yy_acclist[(yy_lp)]; | { | (yy_full_match) = yy_cp; | break; | } | } | --yy_cp; | yy_current_state = *--(yy_state_ptr); | (yy_lp) = yy_accept[yy_current_state]; | } | | YY_DO_BEFORE_ACTION; | | do_action: /* This label is used only to access EOF actions. */ | | switch ( yy_act ) | { /* beginning of action switch */ | case 1: | YY_RULE_SETUP | #line 2 "conftest.l" | { ECHO; } | YY_BREAK | case 2: | YY_RULE_SETUP | #line 3 "conftest.l" | { REJECT; } | YY_BREAK | case 3: | YY_RULE_SETUP | #line 4 "conftest.l" | { yymore (); } | YY_BREAK | case 4: | YY_RULE_SETUP | #line 5 "conftest.l" | { yyless (1); } | YY_BREAK | case 5: | YY_RULE_SETUP | #line 6 "conftest.l" | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ | yyless ((input () != 0)); } | YY_BREAK | case 6: | YY_RULE_SETUP | #line 8 "conftest.l" | { unput (yytext[0]); } | YY_BREAK | case 7: | YY_RULE_SETUP | #line 9 "conftest.l" | { BEGIN INITIAL; } | YY_BREAK | case 8: | YY_RULE_SETUP | #line 10 "conftest.l" | ECHO; | YY_BREAK | #line 794 "lex.yy.c" | case YY_STATE_EOF(INITIAL): | yyterminate(); | | case YY_END_OF_BUFFER: | { | /* Amount of text matched not including the EOB char. */ | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; | | /* Undo the effects of YY_DO_BEFORE_ACTION. */ | *yy_cp = (yy_hold_char); | YY_RESTORE_YY_MORE_OFFSET | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) | { | /* We're scanning a new file or input source. It's | * possible that this happened because the user | * just pointed yyin at a new source and called | * yylex(). If so, then we have to assure | * consistency between YY_CURRENT_BUFFER and our | * globals. Here is the right place to do so, because | * this is the first action (other than possibly a | * back-up) that will match for the new input source. | */ | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; | } | | /* Note that here we test for yy_c_buf_p "<=" to the position | * of the first EOB in the buffer, since yy_c_buf_p will | * already have been incremented past the NUL character | * (since all states make transitions on EOB to the | * end-of-buffer state). Contrast this with the test | * in input(). | */ | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | { /* This was really a NUL. */ | yy_state_type yy_next_state; | | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; | | yy_current_state = yy_get_previous_state( ); | | /* Okay, we're now positioned to make the NUL | * transition. We couldn't have | * yy_get_previous_state() go ahead and do it | * for us because it doesn't know how to deal | * with the possibility of jamming (and we don't | * want to build jamming into it because then it | * will run more slowly). | */ | | yy_next_state = yy_try_NUL_trans( yy_current_state ); | | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | | if ( yy_next_state ) | { | /* Consume the NUL. */ | yy_cp = ++(yy_c_buf_p); | yy_current_state = yy_next_state; | goto yy_match; | } | | else | { | yy_cp = (yy_c_buf_p); | goto yy_find_action; | } | } | | else switch ( yy_get_next_buffer( ) ) | { | case EOB_ACT_END_OF_FILE: | { | (yy_did_buffer_switch_on_eof) = 0; | | if ( yywrap( ) ) | { | /* Note: because we've taken care in | * yy_get_next_buffer() to have set up | * yytext, we can now set up | * yy_c_buf_p so that if some total | * hoser (like flex itself) wants to | * call the scanner after we return the | * YY_NULL, it'll still work - another | * YY_NULL will get returned. | */ | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; | | yy_act = YY_STATE_EOF(YY_START); | goto do_action; | } | | else | { | if ( ! (yy_did_buffer_switch_on_eof) ) | YY_NEW_FILE; | } | break; | } | | case EOB_ACT_CONTINUE_SCAN: | (yy_c_buf_p) = | (yytext_ptr) + yy_amount_of_matched_text; | | yy_current_state = yy_get_previous_state( ); | | yy_cp = (yy_c_buf_p); | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | goto yy_match; | | case EOB_ACT_LAST_MATCH: | (yy_c_buf_p) = | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; | | yy_current_state = yy_get_previous_state( ); | | yy_cp = (yy_c_buf_p); | yy_bp = (yytext_ptr) + YY_MORE_ADJ; | goto yy_find_action; | } | break; | } | | default: | YY_FATAL_ERROR( | "fatal flex scanner internal error--no action found" ); | } /* end of action switch */ | } /* end of scanning one token */ | } /* end of user's declarations */ | } /* end of yylex */ | | /* yy_get_next_buffer - try to read in a new buffer | * | * Returns a code representing an action: | * EOB_ACT_LAST_MATCH - | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position | * EOB_ACT_END_OF_FILE - end of file | */ | static int yy_get_next_buffer (void) | { | char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; | char *source = (yytext_ptr); | int number_to_move, i; | int ret_val; | | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) | YY_FATAL_ERROR( | "fatal flex scanner internal error--end of buffer missed" ); | | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) | { /* Don't try to fill the buffer, so this is an EOF. */ | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) | { | /* We matched a single character, the EOB, so | * treat this as a final EOF. | */ | return EOB_ACT_END_OF_FILE; | } | | else | { | /* We matched some text prior to the EOB, first | * process it. | */ | return EOB_ACT_LAST_MATCH; | } | } | | /* Try to read more data. */ | | /* First move last chars to start of buffer. */ | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1); | | for ( i = 0; i < number_to_move; ++i ) | *(dest++) = *(source++); | | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) | /* don't do the read, it's not guaranteed to return an EOF, | * just force an EOF | */ | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; | | else | { | int num_to_read = | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; | | while ( num_to_read <= 0 ) | { /* Not enough room in the buffer - grow it. */ | | YY_FATAL_ERROR( | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); | | } | | if ( num_to_read > YY_READ_BUF_SIZE ) | num_to_read = YY_READ_BUF_SIZE; | | /* Read in more data. */ | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), | (yy_n_chars), num_to_read ); | | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | if ( (yy_n_chars) == 0 ) | { | if ( number_to_move == YY_MORE_ADJ ) | { | ret_val = EOB_ACT_END_OF_FILE; | yyrestart( yyin ); | } | | else | { | ret_val = EOB_ACT_LAST_MATCH; | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = | YY_BUFFER_EOF_PENDING; | } | } | | else | ret_val = EOB_ACT_CONTINUE_SCAN; | | if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | /* Extend the array by 50%, plus the number we really need. */ | int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc( | (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size ); | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); | /* "- 2" to take care of EOB's */ | YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); | } | | (yy_n_chars) += number_to_move; | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; | | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; | | return ret_val; | } | | /* yy_get_previous_state - get the state just before the EOB char was reached */ | | static yy_state_type yy_get_previous_state (void) | { | yy_state_type yy_current_state; | char *yy_cp; | | yy_current_state = (yy_start); | | (yy_state_ptr) = (yy_state_buf); | *(yy_state_ptr)++ = yy_current_state; | | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) | { | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | *(yy_state_ptr)++ = yy_current_state; | } | | return yy_current_state; | } | | /* yy_try_NUL_trans - try to make a transition on the NUL character | * | * synopsis | * next_state = yy_try_NUL_trans( current_state ); | */ | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) | { | int yy_is_jam; | | YY_CHAR yy_c = 1; | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | { | yy_current_state = (int) yy_def[yy_current_state]; | if ( yy_current_state >= 13 ) | yy_c = yy_meta[yy_c]; | } | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | yy_is_jam = (yy_current_state == 12); | if ( ! yy_is_jam ) | *(yy_state_ptr)++ = yy_current_state; | | return yy_is_jam ? 0 : yy_current_state; | } | | #ifndef YY_NO_UNPUT | | static void yyunput (int c, char * yy_bp ) | { | char *yy_cp; | | yy_cp = (yy_c_buf_p); | | /* undo effects of setting up yytext */ | *yy_cp = (yy_hold_char); | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | { /* need to shift things up to make room */ | /* +2 for EOB chars. */ | int number_to_move = (yy_n_chars) + 2; | char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; | char *source = | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; | | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | *--dest = *--source; | | yy_cp += (int) (dest - source); | yy_bp += (int) (dest - source); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = | (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size; | | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | YY_FATAL_ERROR( "flex scanner push-back overflow" ); | } | | *--yy_cp = (char) c; | | (yytext_ptr) = yy_bp; | (yy_hold_char) = *yy_cp; | (yy_c_buf_p) = yy_cp; | } | | #endif | | #ifndef YY_NO_INPUT | #ifdef __cplusplus | static int yyinput (void) | #else | static int input (void) | #endif | | { | int c; | | *(yy_c_buf_p) = (yy_hold_char); | | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) | { | /* yy_c_buf_p now points to the character we want to return. | * If this occurs *before* the EOB characters, then it's a | * valid NUL; if not, then we've hit the end of the buffer. | */ | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) | /* This was really a NUL. */ | *(yy_c_buf_p) = '\0'; | | else | { /* need more input */ | int offset = (int) ((yy_c_buf_p) - (yytext_ptr)); | ++(yy_c_buf_p); | | switch ( yy_get_next_buffer( ) ) | { | case EOB_ACT_LAST_MATCH: | /* This happens because yy_g_n_b() | * sees that we've accumulated a | * token and flags that we need to | * try matching the token before | * proceeding. But for input(), | * there's no matching to consider. | * So convert the EOB_ACT_LAST_MATCH | * to EOB_ACT_END_OF_FILE. | */ | | /* Reset buffer status. */ | yyrestart( yyin ); | | /*FALLTHROUGH*/ | | case EOB_ACT_END_OF_FILE: | { | if ( yywrap( ) ) | return 0; | | if ( ! (yy_did_buffer_switch_on_eof) ) | YY_NEW_FILE; | #ifdef __cplusplus | return yyinput(); | #else | return input(); | #endif | } | | case EOB_ACT_CONTINUE_SCAN: | (yy_c_buf_p) = (yytext_ptr) + offset; | break; | } | } | } | | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ | *(yy_c_buf_p) = '\0'; /* preserve yytext */ | (yy_hold_char) = *++(yy_c_buf_p); | | return c; | } | #endif /* ifndef YY_NO_INPUT */ | | /** Immediately switch to a different input stream. | * @param input_file A readable stream. | * | * @note This function does not reset the start condition to @c INITIAL . | */ | void yyrestart (FILE * input_file ) | { | | if ( ! YY_CURRENT_BUFFER ){ | yyensure_buffer_stack (); | YY_CURRENT_BUFFER_LVALUE = | yy_create_buffer( yyin, YY_BUF_SIZE ); | } | | yy_init_buffer( YY_CURRENT_BUFFER, input_file ); | yy_load_buffer_state( ); | } | | /** Switch to a different input buffer. | * @param new_buffer The new input buffer. | * | */ | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) | { | | /* TODO. We should be able to replace this entire function body | * with | * yypop_buffer_state(); | * yypush_buffer_state(new_buffer); | */ | yyensure_buffer_stack (); | if ( YY_CURRENT_BUFFER == new_buffer ) | return; | | if ( YY_CURRENT_BUFFER ) | { | /* Flush out information for old buffer. */ | *(yy_c_buf_p) = (yy_hold_char); | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | YY_CURRENT_BUFFER_LVALUE = new_buffer; | yy_load_buffer_state( ); | | /* We don't actually know whether we did this switch during | * EOF (yywrap()) processing, but the only time this flag | * is looked at is after yywrap() is called, so it's safe | * to go ahead and always set it. | */ | (yy_did_buffer_switch_on_eof) = 1; | } | | static void yy_load_buffer_state (void) | { | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; | (yy_hold_char) = *(yy_c_buf_p); | } | | /** Allocate and initialize an input buffer state. | * @param file A readable stream. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. | * | * @return the allocated buffer state. | */ | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) | { | YY_BUFFER_STATE b; | | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); | if ( ! b ) | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | b->yy_buf_size = size; | | /* yy_ch_buf has to be 2 characters longer than the size given because | * we need to put in 2 end-of-buffer characters. | */ | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) ); | if ( ! b->yy_ch_buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | | b->yy_is_our_buffer = 1; | | yy_init_buffer( b, file ); | | return b; | } | | /** Destroy the buffer. | * @param b a buffer created with yy_create_buffer() | * | */ | void yy_delete_buffer (YY_BUFFER_STATE b ) | { | | if ( ! b ) | return; | | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; | | if ( b->yy_is_our_buffer ) | yyfree( (void *) b->yy_ch_buf ); | | yyfree( (void *) b ); | } | | /* Initializes or reinitializes a buffer. | * This function is sometimes called more than once on the same buffer, | * such as during a yyrestart() or at EOF. | */ | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) | | { | int oerrno = errno; | | yy_flush_buffer( b ); | | b->yy_input_file = file; | b->yy_fill_buffer = 1; | | /* If b is the current buffer, then yy_init_buffer was _probably_ | * called from yyrestart() or through yy_get_next_buffer. | * In that case, we don't want to reset the lineno or column. | */ | if (b != YY_CURRENT_BUFFER){ | b->yy_bs_lineno = 1; | b->yy_bs_column = 0; | } | | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; | | errno = oerrno; | } | | /** Discard all buffered characters. On the next scan, YY_INPUT will be called. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. | * | */ | void yy_flush_buffer (YY_BUFFER_STATE b ) | { | if ( ! b ) | return; | | b->yy_n_chars = 0; | | /* We always need two end-of-buffer characters. The first causes | * a transition to the end-of-buffer state. The second causes | * a jam in that state. | */ | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; | | b->yy_buf_pos = &b->yy_ch_buf[0]; | | b->yy_at_bol = 1; | b->yy_buffer_status = YY_BUFFER_NEW; | | if ( b == YY_CURRENT_BUFFER ) | yy_load_buffer_state( ); | } | | /** Pushes the new state onto the stack. The new state becomes | * the current state. This function will allocate the stack | * if necessary. | * @param new_buffer The new state. | * | */ | void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) | { | if (new_buffer == NULL) | return; | | yyensure_buffer_stack(); | | /* This block is copied from yy_switch_to_buffer. */ | if ( YY_CURRENT_BUFFER ) | { | /* Flush out information for old buffer. */ | *(yy_c_buf_p) = (yy_hold_char); | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); | } | | /* Only push if top exists. Otherwise, replace top. */ | if (YY_CURRENT_BUFFER) | (yy_buffer_stack_top)++; | YY_CURRENT_BUFFER_LVALUE = new_buffer; | | /* copied from yy_switch_to_buffer. */ | yy_load_buffer_state( ); | (yy_did_buffer_switch_on_eof) = 1; | } | | /** Removes and deletes the top of the stack, if present. | * The next element becomes the new top. | * | */ | void yypop_buffer_state (void) | { | if (!YY_CURRENT_BUFFER) | return; | | yy_delete_buffer(YY_CURRENT_BUFFER ); | YY_CURRENT_BUFFER_LVALUE = NULL; | if ((yy_buffer_stack_top) > 0) | --(yy_buffer_stack_top); | | if (YY_CURRENT_BUFFER) { | yy_load_buffer_state( ); | (yy_did_buffer_switch_on_eof) = 1; | } | } | | /* Allocates the stack if it does not exist. | * Guarantees space for at least one push. | */ | static void yyensure_buffer_stack (void) | { | yy_size_t num_to_alloc; | | if (!(yy_buffer_stack)) { | | /* First allocation is just for 2 elements, since we don't know if this | * scanner will even need a stack. We use 2 instead of 1 to avoid an | * immediate realloc on the next call. | */ | num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc | (num_to_alloc * sizeof(struct yy_buffer_state*) | ); | if ( ! (yy_buffer_stack) ) | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); | | (yy_buffer_stack_max) = num_to_alloc; | (yy_buffer_stack_top) = 0; | return; | } | | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ | | /* Increase the buffer to prepare for a possible push. */ | yy_size_t grow_size = 8 /* arbitrary grow size */; | | num_to_alloc = (yy_buffer_stack_max) + grow_size; | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc | ((yy_buffer_stack), | num_to_alloc * sizeof(struct yy_buffer_state*) | ); | if ( ! (yy_buffer_stack) ) | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | | /* zero only the new slots.*/ | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); | (yy_buffer_stack_max) = num_to_alloc; | } | } | | /** Setup the input buffer state to scan directly from a user-specified character buffer. | * @param base the character buffer | * @param size the size in bytes of the character buffer | * | * @return the newly allocated buffer state object. | */ | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) | { | YY_BUFFER_STATE b; | | if ( size < 2 || | base[size-2] != YY_END_OF_BUFFER_CHAR || | base[size-1] != YY_END_OF_BUFFER_CHAR ) | /* They forgot to leave room for the EOB's. */ | return NULL; | | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); | if ( ! b ) | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); | | b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ | b->yy_buf_pos = b->yy_ch_buf = base; | b->yy_is_our_buffer = 0; | b->yy_input_file = NULL; | b->yy_n_chars = b->yy_buf_size; | b->yy_is_interactive = 0; | b->yy_at_bol = 1; | b->yy_fill_buffer = 0; | b->yy_buffer_status = YY_BUFFER_NEW; | | yy_switch_to_buffer( b ); | | return b; | } | | /** Setup the input buffer state to scan a string. The next call to yylex() will | * scan from a @e copy of @a str. | * @param yystr a NUL-terminated string to scan | * | * @return the newly allocated buffer state object. | * @note If you want to scan bytes that may contain NUL values, then use | * yy_scan_bytes() instead. | */ | YY_BUFFER_STATE yy_scan_string (const char * yystr ) | { | | return yy_scan_bytes( yystr, (int) strlen(yystr) ); | } | | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will | * scan from a @e copy of @a bytes. | * @param yybytes the byte buffer to scan | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. | * | * @return the newly allocated buffer state object. | */ | YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len ) | { | YY_BUFFER_STATE b; | char *buf; | yy_size_t n; | int i; | | /* Get memory for full buffer, including space for trailing EOB's. */ | n = (yy_size_t) (_yybytes_len + 2); | buf = (char *) yyalloc( n ); | if ( ! buf ) | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); | | for ( i = 0; i < _yybytes_len; ++i ) | buf[i] = yybytes[i]; | | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; | | b = yy_scan_buffer( buf, n ); | if ( ! b ) | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); | | /* It's okay to grow etc. this buffer, and we should throw it | * away when we're done. | */ | b->yy_is_our_buffer = 1; | | return b; | } | | #ifndef YY_EXIT_FAILURE | #define YY_EXIT_FAILURE 2 | #endif | | static void yynoreturn yy_fatal_error (const char* msg ) | { | fprintf( stderr, "%s\n", msg ); | exit( YY_EXIT_FAILURE ); | } | | /* Redefine yyless() so it works in section 3 code. */ | | #undef yyless | #define yyless(n) \ | do \ | { \ | /* Undo effects of setting up yytext. */ \ | int yyless_macro_arg = (n); \ | YY_LESS_LINENO(yyless_macro_arg);\ | yytext[yyleng] = (yy_hold_char); \ | (yy_c_buf_p) = yytext + yyless_macro_arg; \ | (yy_hold_char) = *(yy_c_buf_p); \ | *(yy_c_buf_p) = '\0'; \ | yyleng = yyless_macro_arg; \ | } \ | while ( 0 ) | | /* Accessor methods (get/set functions) to struct members. */ | | /** Get the current line number. | * | */ | int yyget_lineno (void) | { | | return yylineno; | } | | /** Get the input stream. | * | */ | FILE *yyget_in (void) | { | return yyin; | } | | /** Get the output stream. | * | */ | FILE *yyget_out (void) | { | return yyout; | } | | /** Get the length of the current token. | * | */ | int yyget_leng (void) | { | return yyleng; | } | | /** Get the current token. | * | */ | | char *yyget_text (void) | { | return yytext; | } | | /** Set the current line number. | * @param _line_number line number | * | */ | void yyset_lineno (int _line_number ) | { | | yylineno = _line_number; | } | | /** Set the input stream. This does not discard the current | * input buffer. | * @param _in_str A readable stream. | * | * @see yy_switch_to_buffer | */ | void yyset_in (FILE * _in_str ) | { | yyin = _in_str ; | } | | void yyset_out (FILE * _out_str ) | { | yyout = _out_str ; | } | | int yyget_debug (void) | { | return yy_flex_debug; | } | | void yyset_debug (int _bdebug ) | { | yy_flex_debug = _bdebug ; | } | | static int yy_init_globals (void) | { | /* Initialization is the same as for the non-reentrant scanner. | * This function is called from yylex_destroy(), so don't allocate here. | */ | | (yy_buffer_stack) = NULL; | (yy_buffer_stack_top) = 0; | (yy_buffer_stack_max) = 0; | (yy_c_buf_p) = NULL; | (yy_init) = 0; | (yy_start) = 0; | | (yy_state_buf) = 0; | (yy_state_ptr) = 0; | (yy_full_match) = 0; | (yy_lp) = 0; | | /* Defined in main.c */ | #ifdef YY_STDINIT | yyin = stdin; | yyout = stdout; | #else | yyin = NULL; | yyout = NULL; | #endif | | /* For future reference: Set errno on error, since we are called by | * yylex_init() | */ | return 0; | } | | /* yylex_destroy is for both reentrant and non-reentrant scanners. */ | int yylex_destroy (void) | { | | /* Pop the buffer stack, destroying each element. */ | while(YY_CURRENT_BUFFER){ | yy_delete_buffer( YY_CURRENT_BUFFER ); | YY_CURRENT_BUFFER_LVALUE = NULL; | yypop_buffer_state(); | } | | /* Destroy the stack itself. */ | yyfree((yy_buffer_stack) ); | (yy_buffer_stack) = NULL; | | yyfree ( (yy_state_buf) ); | (yy_state_buf) = NULL; | | /* Reset the globals. This is important in a non-reentrant scanner so the next time | * yylex() is called, initialization will occur. */ | yy_init_globals( ); | | return 0; | } | | /* | * Internal utility routines. | */ | | #ifndef yytext_ptr | static void yy_flex_strncpy (char* s1, const char * s2, int n ) | { | | int i; | for ( i = 0; i < n; ++i ) | s1[i] = s2[i]; | } | #endif | | #ifdef YY_NEED_STRLEN | static int yy_flex_strlen (const char * s ) | { | int n; | for ( n = 0; s[n]; ++n ) | ; | | return n; | } | #endif | | void *yyalloc (yy_size_t size ) | { | return malloc(size); | } | | void *yyrealloc (void * ptr, yy_size_t size ) | { | | /* The cast to (char *) in the following accommodates both | * implementations that use char* generic pointers, and those | * that use void* generic pointers. It works with the latter | * because both ANSI C and C++ allow castless assignment from | * any pointer type to void*, and deal with argument conversions | * as though doing an assignment. | */ | return realloc(ptr, size); | } | | void yyfree (void * ptr ) | { | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ | } | | #define YYTABLES_NAME "yytables" | | #line 10 "conftest.l" | | #ifdef YYTEXT_POINTER | extern char *yytext; | #endif | int | main (void) | { | return ! yylex () + ! yywrap (); | } configure:4475: result: no configure:4485: checking whether ln -s works configure:4489: result: yes configure:4500: checking for bison configure:4516: found /usr/bin/bison configure:4527: result: bison -y configure:4555: checking for sys/types.h configure:4555: gcc -c -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/include conftest.c >&5 configure:4555: $? = 0 configure:4555: result: yes configure:4555: checking for sys/stat.h configure:4555: gcc -c -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/include conftest.c >&5 configure:4555: $? = 0 configure:4555: result: yes configure:4555: checking for stdlib.h configure:4555: gcc -c -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/include conftest.c >&5 configure:4555: $? = 0 configure:4555: result: yes configure:4555: checking for string.h configure:4555: gcc -c -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/include conftest.c >&5 configure:4555: $? = 0 configure:4555: result: yes configure:4555: checking for memory.h configure:4555: gcc -c -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/include conftest.c >&5 configure:4555: $? = 0 configure:4555: result: yes configure:4555: checking for strings.h configure:4555: gcc -c -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/include conftest.c >&5 configure:4555: $? = 0 configure:4555: result: yes configure:4555: checking for inttypes.h configure:4555: gcc -c -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/include conftest.c >&5 configure:4555: $? = 0 configure:4555: result: yes configure:4555: checking for stdint.h configure:4555: gcc -c -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/include conftest.c >&5 configure:4555: $? = 0 configure:4555: result: yes configure:4555: checking for unistd.h configure:4555: gcc -c -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/include conftest.c >&5 configure:4555: $? = 0 configure:4555: result: yes configure:4567: checking libesmtp.h usability configure:4567: gcc -c -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/include conftest.c >&5 configure:4567: $? = 0 configure:4567: result: yes configure:4567: checking libesmtp.h presence configure:4567: gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 -I/include conftest.c configure:4567: $? = 0 configure:4567: result: yes configure:4567: checking for libesmtp.h configure:4567: result: yes configure:4576: checking for libESMTP configure:4585: result: no configure:4587: error: libESMTP library not found ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-Wdate-time -D_FORTIFY_SOURCE=2' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -Wl,-z,now' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_YACC_set= ac_cv_env_YACC_value= ac_cv_env_YFLAGS_set= ac_cv_env_YFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=powerpc64le-linux-gnu ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_header_inttypes_h=yes ac_cv_header_libesmtp_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_lib_lex='none needed' ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=mawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_LEX=flex ac_cv_prog_YACC='bison -y' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_lex_root=lex.yy ac_cv_prog_lex_yytext_pointer=no ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=none am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} '\''/<>/missing'\'' aclocal-1.16' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AUTOCONF='${SHELL} '\''/<>/missing'\'' autoconf' AUTOHEADER='${SHELL} '\''/<>/missing'\'' autoheader' AUTOMAKE='${SHELL} '\''/<>/missing'\'' automake-1.16' AWK='mawk' CC='gcc' CCDEPMODE='depmode=none' CFLAGS='-g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security' CPP='gcc -E' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -I/include' CSCOPE='cscope' CTAGS='ctags' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' ETAGS='etags' EXEEXT='' GREP='/usr/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LDFLAGS='-Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -Wl,-z,now -L/lib' LEX='flex' LEXLIB='' LEX_OUTPUT_ROOT='lex.yy' LIBOBJS='' LIBS='' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} '\''/<>/missing'\'' makeinfo' MKDIR_P='/usr/bin/mkdir -p' OBJEXT='o' PACKAGE='esmtp' PACKAGE_BUGREPORT='' PACKAGE_NAME='esmtp' PACKAGE_STRING='esmtp 1.2' PACKAGE_TARNAME='esmtp' PACKAGE_URL='' PACKAGE_VERSION='1.2' PATH_SEPARATOR=':' SET_MAKE='' SHELL='/bin/bash' STRIP='' VERSION='1.2' YACC='bison -y' YFLAGS='' ac_ct_CC='gcc' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build_alias='powerpc64le-linux-gnu' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host_alias='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${prefix}/share/info' install_sh='${SHELL} /<>/install-sh' libdir='${prefix}/lib/powerpc64le-linux-gnu' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${prefix}/share/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "esmtp" #define PACKAGE_TARNAME "esmtp" #define PACKAGE_VERSION "1.2" #define PACKAGE_STRING "esmtp 1.2" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "esmtp" #define VERSION "1.2" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 configure: exit 1 dh_auto_configure: error: ./configure --build=powerpc64le-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/powerpc64le-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking returned exit code 1 make: *** [debian/rules:6: binary-arch] Error 25 dpkg-buildpackage.pl: error: debian/rules binary-arch subprocess returned exit status 2 === USAGE-SUMMARY BEGIN === SUMMARY: host: bos02-ppc64el-008; CPUs: 4/4; CPU avg: 22%; CPU max: 40%; base memory: 0.5 GB; peak memory: 0.5 GB; total memory: 8.0 GB SUMMARY: swap peak/total: 0.0/0.0 GB; disk start/end/total: 3.2/3.2/58.1 GB; disk delta: 0.0 GB === USAGE-SUMMARY END === -------------------------------------------------------------------------------- Build finished at 2021-09-02T14:01:24Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: ppc64el Build Type: any Build-Space: n/a Build-Time: 10 Distribution: impish Fail-Stage: build Host Architecture: ppc64el Install-Time: 10 Job: esmtp_1.2-17.dsc Machine Architecture: ppc64el Package: esmtp Package-Time: 20 Source-Version: 1.2-17 Space: n/a Status: attempted Version: 1.2-17 -------------------------------------------------------------------------------- Finished at 2021-09-02T14:01:24Z Build needed 00:00:20, no disk space E: Build failure (dpkg-buildpackage died) Adding user buildd to group lxd RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=impish --arch=ppc64el PACKAGEBUILD-21857289 Scanning for processes to kill in build PACKAGEBUILD-21857289